isochronousTransfer method
Future<TransferResultInfo>
isochronousTransfer(
- ConnectionHandle handle,
- 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);
}