controlTransferOut method
Future<USBOutTransferResult>
controlTransferOut(
- dynamic device,
- SetupParam setup, {
- dynamic data,
override
Sends a specified control transfer to the device. Returns the Future resolved with the transfer status and the number of bytes written
Implementation
@override
Future<USBOutTransferResult> controlTransferOut(
dynamic device, SetupParam setup,
{dynamic data}) {
return methodChannel.invokeMethod<bool>('controlTransferOut', [
device,
setup,
data
]).then<USBOutTransferResult>((dynamic result) => result);
}