Android.Hardware.Usb.UsbRequest.Queue Method
Queues the request to send or receive data on its endpoint.

Syntax

[Android.Runtime.Register("queue", "(Ljava/nio/ByteBuffer;I)Z", "GetQueue_Ljava_nio_ByteBuffer_IHandler")]
public virtual bool Queue (Java.Nio.ByteBuffer buffer, int length)

Parameters

buffer
the buffer containing the bytes to write, or location to store the results of a read
length
number of bytes to read or write

Returns

Documentation for this section has not yet been entered.

Remarks

Queues the request to send or receive data on its endpoint. For OUT endpoints, the given buffer data will be sent on the endpoint. For IN endpoints, the endpoint will attempt to read the given number of bytes into the specified buffer. If the queueing operation is successful, we return true and the result will be returned via UsbDeviceConnection.RequestWait

[Android Documentation]

Requirements

Namespace: Android.Hardware.Usb
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12