isochronousTransfer method

Future<TransferResultInfo> isochronousTransfer(
  1. ConnectionHandle handle,
  2. IsochronousTransferInfo transferInfo
)

Performs an isochronous transfer on the specific device. |handle|: An open connection to the device.

Implementation

Future<TransferResultInfo> isochronousTransfer(
  ConnectionHandle handle,
  IsochronousTransferInfo transferInfo,
) async {
  var $res = await promiseToFuture<$js.TransferResultInfo>(
      $js.chrome.usb.isochronousTransfer(
    handle.toJS,
    transferInfo.toJS,
  ));
  return TransferResultInfo.fromJS($res);
}