See Also: UsbAccessory
public class UsbAccessory : Object, IParcelable, IDisposable
A class representing a USB accessory, which is an external hardware component that communicates with an android application over USB. The accessory is the USB host and android the device side of the USB connection.
When the accessory connects, it reports its manufacturer and model names, the version of the accessory, and a user visible description of the accessory to the device. The manufacturer, model and version strings are used by the USB Manager to choose an appropriate application for the accessory. The accessory may optionally provide a unique serial number and a URL to for the accessory's website to the device as well.
An instance of this class is sent to the application via the UsbManager.ActionUsbAccessoryAttached Intent. The application can then call UsbManager.OpenAccessory(UsbAccessory) to open a file descriptor for reading and writing data to and from the accessory.
For more information about communicating with USB hardware, read the USB developer guide.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12
The members of Android.Hardware.Usb.UsbAccessory are listed below.
See Also: Object
|[read-only]||Description||String. Returns a user visible description of the accessory.|
|[read-only]||Manufacturer||String. Returns the manufacturer name of the accessory.|
|[read-only]||Model||String. Returns the model name of the accessory.|
|[read-only]||Serial||String. Returns the unique serial number for the accessory.|
|[read-only]||Uri||String. Returns the URI for the accessory.|
|[read-only]||Version||String. Returns the version of the accessory.|