Android.Hardware.Usb.UsbManager: Method Members

The methods of Android.Hardware.Usb.UsbManager are listed below. For a list of all members, see the UsbManager Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

GetAccessoryList() : UsbAccessory[]
Returns a list of currently attached USB accessories. (in the current implementation there can be at most one)
HasPermission(UsbAccessory) : bool
Returns true if the caller has permission to access the accessory.
HasPermission(UsbDevice) : bool
Returns true if the caller has permission to access the device.
OpenAccessory(UsbAccessory) : Android.OS.ParcelFileDescriptor
Opens a file descriptor for reading and writing data to the USB accessory.
OpenDevice(UsbDevice) : UsbDeviceConnection
Opens the device so it can be used to send and receive data using Android.Hardware.Usb.UsbRequest.
RequestPermission(UsbAccessory, Android.App.PendingIntent)
Requests temporary permission for the given package to access the accessory.
RequestPermission(UsbDevice, Android.App.PendingIntent)
Requests temporary permission for the given package to access the device.