UsbDeviceConnection.BulkTransferAsync Method

Definition

Overloads

BulkTransferAsync(UsbEndpoint, Byte[], Int32, Int32)
BulkTransferAsync(UsbEndpoint, Byte[], Int32, Int32, Int32)

BulkTransferAsync(UsbEndpoint, Byte[], Int32, Int32)

public System.Threading.Tasks.Task<int> BulkTransferAsync (Android.Hardware.Usb.UsbEndpoint? endpoint, byte[]? buffer, int length, int timeout);
member this.BulkTransferAsync : Android.Hardware.Usb.UsbEndpoint * byte[] * int * int -> System.Threading.Tasks.Task<int>

Parameters

endpoint
UsbEndpoint
buffer
Byte[]
length
Int32
timeout
Int32

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

BulkTransferAsync(UsbEndpoint, Byte[], Int32, Int32, Int32)

public System.Threading.Tasks.Task<int> BulkTransferAsync (Android.Hardware.Usb.UsbEndpoint? endpoint, byte[]? buffer, int offset, int length, int timeout);
member this.BulkTransferAsync : Android.Hardware.Usb.UsbEndpoint * byte[] * int * int * int -> System.Threading.Tasks.Task<int>

Parameters

endpoint
UsbEndpoint
buffer
Byte[]
offset
Int32
length
Int32
timeout
Int32

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to