Dart Documentationchrome.usbIsochronousTransferInfo

IsochronousTransferInfo class

IsochronousTransferInfo describes a single multi-packet isochronous transfer.

class IsochronousTransferInfo extends ChromeObject {
 IsochronousTransferInfo({GenericTransferInfo transferInfo, int packets, int packetLength}) {
   if (transferInfo != null) this.transferInfo = transferInfo;
   if (packets != null) this.packets = packets;
   if (packetLength != null) this.packetLength = packetLength;
 }
 IsochronousTransferInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 GenericTransferInfo get transferInfo => _createGenericTransferInfo(jsProxy['transferInfo']);
 set transferInfo(GenericTransferInfo value) => jsProxy['transferInfo'] = jsify(value);

 int get packets => jsProxy['packets'];
 set packets(int value) => jsProxy['packets'] = value;

 int get packetLength => jsProxy['packetLength'];
 set packetLength(int value) => jsProxy['packetLength'] = value;
}

Extends

ChromeObject > IsochronousTransferInfo

Constructors

new IsochronousTransferInfo({GenericTransferInfo transferInfo, int packets, int packetLength}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
IsochronousTransferInfo({GenericTransferInfo transferInfo, int packets, int packetLength}) {
 if (transferInfo != null) this.transferInfo = transferInfo;
 if (packets != null) this.packets = packets;
 if (packetLength != null) this.packetLength = packetLength;
}

new IsochronousTransferInfo.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
IsochronousTransferInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int packetLength #

int get packetLength => jsProxy['packetLength'];
set packetLength(int value) => jsProxy['packetLength'] = value;

int packets #

int get packets => jsProxy['packets'];
set packets(int value) => jsProxy['packets'] = value;

GenericTransferInfo transferInfo #

GenericTransferInfo get transferInfo => _createGenericTransferInfo(jsProxy['transferInfo']);
set transferInfo(GenericTransferInfo value) => jsProxy['transferInfo'] = jsify(value);

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();