Freigeben über


UsbDeviceConnection.ControlTransferAsync Method

Definition

Overloads

ControlTransferAsync(UsbAddressing, Int32, Int32, Int32, Byte[], Int32, Int32)
ControlTransferAsync(UsbAddressing, Int32, Int32, Int32, Byte[], Int32, Int32, Int32)

ControlTransferAsync(UsbAddressing, Int32, Int32, Int32, Byte[], Int32, Int32)

public System.Threading.Tasks.Task<int> ControlTransferAsync (Android.Hardware.Usb.UsbAddressing requestType, int request, int value, int index, byte[]? buffer, int length, int timeout);
member this.ControlTransferAsync : Android.Hardware.Usb.UsbAddressing * int * int * int * byte[] * int * int -> System.Threading.Tasks.Task<int>

Parameters

requestType
UsbAddressing
request
Int32
value
Int32
index
Int32
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

ControlTransferAsync(UsbAddressing, Int32, Int32, Int32, Byte[], Int32, Int32, Int32)

public System.Threading.Tasks.Task<int> ControlTransferAsync (Android.Hardware.Usb.UsbAddressing requestType, int request, int value, int index, byte[]? buffer, int offset, int length, int timeout);
member this.ControlTransferAsync : Android.Hardware.Usb.UsbAddressing * int * int * int * byte[] * int * int * int -> System.Threading.Tasks.Task<int>

Parameters

requestType
UsbAddressing
request
Int32
value
Int32
index
Int32
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