See Also: UsbRequest
public class UsbRequest : Object
A class representing USB request packet. This can be used for both reading and writing data to or from a UsbDeviceConnection. UsbRequests can be used to transfer data on bulk and interrupt endpoints. Requests on bulk endpoints can be sent synchronously via UsbDeviceConnection.BulkTransfer(UsbEndpoint,Byte,Byte,Byte) or asynchronously via UsbRequest.Queue(ByteBuffer,Int32) and UsbDeviceConnection.RequestWait. Requests on interrupt endpoints are only send and received asynchronously.
Requests on endpoint zero are not supported by this class; use UsbDeviceConnection.ControlTransfer(UsbAddressing,Int32,Int32,Int32,Int32,Int32,Int32) for endpoint zero requests instead.
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.UsbRequest are listed below.
See Also: Object
Cancels a pending queue operation.
Releases all resources related to this request.
Initializes the request so it can read or write data on the given endpoint.
Queues the request to send or receive data on its endpoint.