IsochronousTransferInfo constructor

IsochronousTransferInfo({
  1. required GenericTransferInfo transferInfo,
  2. required int packets,
  3. required int packetLength,
})

Implementation

IsochronousTransferInfo({
  /// Transfer parameters. The transfer length or data buffer specified in
  /// this
  /// parameter block is split along `packetLength` boundaries to
  /// form the individual packets of the transfer.
  required GenericTransferInfo transferInfo,

  /// The total number of packets in this transfer.
  required int packets,

  /// The length of each of the packets in this transfer.
  required int packetLength,
}) : _wrapped = $js.IsochronousTransferInfo(
        transferInfo: transferInfo.toJS,
        packets: packets,
        packetLength: packetLength,
      );