Android.Hardware.Usb.UsbDeviceConnection Members

The members of Android.Hardware.Usb.UsbDeviceConnection are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
FileDescriptorint. Returns the native file descriptor for the device, or -1 if the device is not opened.
[read-only]
Serialstring. Returns the serial number for the device.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

BulkTransfer(UsbEndpoint, byte[], int, int) : int
Performs a bulk transaction on the given endpoint.
BulkTransfer(UsbEndpoint, byte[], int, int, int) : int
Performs a bulk transaction on the given endpoint.
BulkTransferAsync(UsbEndpoint, byte[], int, int) : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
BulkTransferAsync(UsbEndpoint, byte[], int, int, int) : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
ClaimInterface(UsbInterface, bool) : bool
Claims exclusive access to a Android.Hardware.Usb.UsbInterface.
Close()
Releases all system resources related to the device.
ControlTransfer(UsbAddressing, int, int, int, byte[], int, int) : int
Performs a control transaction on endpoint zero for this device.
ControlTransfer(UsbAddressing, int, int, int, byte[], int, int, int) : int
Performs a control transaction on endpoint zero for this device.
ControlTransferAsync(UsbAddressing, int, int, int, byte[], int, int) : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
ControlTransferAsync(UsbAddressing, int, int, int, byte[], int, int, int) : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
GetRawDescriptors() : byte[]
Returns the raw USB descriptors for the device.
ReleaseInterface(UsbInterface) : bool
Releases exclusive access to a Android.Hardware.Usb.UsbInterface.
RequestWait() : UsbRequest
Waits for the result of a UsbRequest.Queue(Java.Nio.ByteBuffer, System.Int32) operation Note that this may return requests queued on multiple Android.Hardware.Usb.UsbEndpoints.
RequestWaitAsync() : System.Threading.Tasks.Task<UsbRequest>
Documentation for this section has not yet been entered.
SetConfiguration(UsbConfiguration) : bool
Sets the device's current Android.Hardware.Usb.UsbConfiguration.
SetInterface(UsbInterface) : bool
Sets the current Android.Hardware.Usb.UsbInterface.