Android Guides | Samples

Android.Hardware.Usb.UsbDeviceConnection.RequestWait Method

Waits for the result of a UsbRequest.Queue(ByteBuffer,Int32) operation Note that this may return requests queued on multiple UsbEndpoints.

Syntax

[Android.Runtime.Register("requestWait", "()Landroid/hardware/usb/UsbRequest;", "GetRequestWaitHandler")]
public virtual UsbRequest RequestWait ()

Remarks

Waits for the result of a UsbRequest.Queue(ByteBuffer,Int32) operation Note that this may return requests queued on multiple UsbEndpoints. When multiple endpoints are in use, UsbRequest.Endpoint and UsbRequest.ClientData can be useful in determining how to process the result of this function.

[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