controlTransferIn method
Future<USBInTransferResult>
controlTransferIn(
- dynamic device,
- SetupParam setup, {
- int? length,
override
Waits for a specified control transfer from the device. Returns a Future resolved with the transfer data and status.
Implementation
@override
Future<USBInTransferResult> controlTransferIn(
dynamic device, SetupParam setup,
{int? length}) {
return methodChannel.invokeMethod<bool>('controlTransferIn', [
device,
setup,
length
]).then<USBInTransferResult>((dynamic result) => result);
}