Méthode | Description | |
---|---|---|
Dispose ( ) : void | ||
Fill ( |
Fills the transfer with the data to UsbTransfer.Submit.
|
|
Fill ( |
Fills the transfer with the data to UsbTransfer.Submit an isochronous transfer.
|
|
MonoUsbTransferContext ( |
||
Submit ( ) : ErrorCode |
Submits the transfer. This functions submits the USB transfer and return immediately. |
|
Wait ( int &transferredCount, bool cancel ) : ErrorCode |
Wait for the transfer to complete, timeout, or get cancelled.
|
Méthode | Description | |
---|---|---|
TransferCallback ( |
||
allocTransfer ( |
||
freeTransfer ( ) : void |
public Fill ( |
||
buffer | The buffer. | |
offset | int | The offset on the buffer where the transfer should read/write. |
count | int | The number of bytes to transfer. |
timeout | int | Time (milliseconds) to wait before the transfer times out. |
Résultat | void |
public Fill ( |
||
buffer | The buffer. | |
offset | int | The offset on the buffer where the transfer should read/write. |
count | int | The number of bytes to transfer. |
timeout | int | Time (milliseconds) to wait before the transfer times out. |
isoPacketSize | int | Size of each isochronous packet. |
Résultat | void |
public MonoUsbTransferContext ( |
||
endpointBase | ||
Résultat | System |
public Wait ( int &transferredCount, bool cancel ) : ErrorCode | ||
transferredCount | int | The number of bytes transferred on |
cancel | bool | Not used for libusb-1.0. Transfers are always cancelled on timeout or error. |
Résultat | ErrorCode |