The members of Android.Hardware.Usb.UsbManager are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | ActionUsbAccessoryAttached | string. Broadcast Action: A broadcast for USB accessory attached event. |
const | ActionUsbAccessoryDetached | string. Broadcast Action: A broadcast for USB accessory detached event. |
const | ActionUsbDeviceAttached | string. Broadcast Action: A broadcast for USB device attached event. |
const | ActionUsbDeviceDetached | string. Broadcast Action: A broadcast for USB device detached event. |
const | ExtraAccessory | string. Name of extra for UsbManager.ActionUsbAccessoryAttached and UsbManager.ActionUsbAccessoryDetached broadcasts containing the UsbAccessory object for the accessory. |
const | ExtraDevice | string. Name of extra for UsbManager.ActionUsbDeviceAttached and UsbManager.ActionUsbDeviceDetached broadcasts containing the UsbDevice object for the device. |
const | ExtraPermissionGranted | string. Name of extra added to the Android.App.PendingIntent passed into UsbManager.RequestPermission(UsbDevice, Android.App.PendingIntent) or UsbManager.RequestPermission(UsbAccessory, Android.App.PendingIntent) containing a boolean value indicating whether the user granted permission or not. |
[read-only] | DeviceList | IDictionary<string, UsbDevice>. Returns a HashMap containing all USB devices currently attached. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
GetAccessoryList()Returns a list of currently attached USB accessories. (in the current implementation there can be at most one) | ||
HasPermission(UsbAccessory)Returns true if the caller has permission to access the accessory. | ||
HasPermission(UsbDevice)Returns true if the caller has permission to access the device. | ||
OpenAccessory(UsbAccessory)Opens a file descriptor for reading and writing data to the USB accessory. | ||
OpenDevice(UsbDevice)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. |