isochronousTransferIn method

  1. @override
Future<USBIsochronousInTransferResult> isochronousTransferIn(
  1. dynamic device,
  2. int endpointNumber,
  3. List<int> packetLengths
)
override

Returns a Future that resolves when time sensitive information has been transmitted to the USB device.

Implementation

@override
Future<USBIsochronousInTransferResult> isochronousTransferIn(
    dynamic device, int endpointNumber, List<int> packetLengths) {
  return methodChannel.invokeMethod<bool>('isochronousTransferIn', [
    device,
    endpointNumber,
    packetLengths
  ]).then<USBIsochronousInTransferResult>((dynamic result) => result);
}