Android.Hardware.Usb.UsbDeviceConnection.BulkTransfer Method
Performs a bulk transaction on the given endpoint.

Syntax

[Android.Runtime.Register("bulkTransfer", "(Landroid/hardware/usb/UsbEndpoint;[BIII)I", "GetBulkTransfer_Landroid_hardware_usb_UsbEndpoint_arrayBIIIHandler")]
public virtual int BulkTransfer (UsbEndpoint endpoint, byte[] buffer, int offset, int length, int timeout)

Parameters

endpoint
the endpoint for this transaction
buffer
buffer for data to send or receive
offset
the index of the first byte in the buffer to send or receive
length
the length of the data to send or receive
timeout
in milliseconds

Returns

Documentation for this section has not yet been entered.

Remarks

Performs a bulk transaction on the given endpoint. The direction of the transfer is determined by the direction of the endpoint.

[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 18