EndpointDescriptor class
class EndpointDescriptor extends ChromeObject { EndpointDescriptor({int address, TransferType type, Direction direction, int maximumPacketSize, SynchronizationType synchronization, UsageType usage, int pollingInterval}) { if (address != null) this.address = address; if (type != null) this.type = type; if (direction != null) this.direction = direction; if (maximumPacketSize != null) this.maximumPacketSize = maximumPacketSize; if (synchronization != null) this.synchronization = synchronization; if (usage != null) this.usage = usage; if (pollingInterval != null) this.pollingInterval = pollingInterval; } EndpointDescriptor.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); int get address => jsProxy['address']; set address(int value) => jsProxy['address'] = value; TransferType get type => _createTransferType(jsProxy['type']); set type(TransferType value) => jsProxy['type'] = jsify(value); Direction get direction => _createDirection(jsProxy['direction']); set direction(Direction value) => jsProxy['direction'] = jsify(value); int get maximumPacketSize => jsProxy['maximumPacketSize']; set maximumPacketSize(int value) => jsProxy['maximumPacketSize'] = value; SynchronizationType get synchronization => _createSynchronizationType(jsProxy['synchronization']); set synchronization(SynchronizationType value) => jsProxy['synchronization'] = jsify(value); UsageType get usage => _createUsageType(jsProxy['usage']); set usage(UsageType value) => jsProxy['usage'] = jsify(value); int get pollingInterval => jsProxy['pollingInterval']; set pollingInterval(int value) => jsProxy['pollingInterval'] = value; }
Extends
ChromeObject > EndpointDescriptor
Constructors
new EndpointDescriptor({int address, TransferType type, Direction direction, int maximumPacketSize, SynchronizationType synchronization, UsageType usage, int pollingInterval}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
EndpointDescriptor({int address, TransferType type, Direction direction, int maximumPacketSize, SynchronizationType synchronization, UsageType usage, int pollingInterval}) { if (address != null) this.address = address; if (type != null) this.type = type; if (direction != null) this.direction = direction; if (maximumPacketSize != null) this.maximumPacketSize = maximumPacketSize; if (synchronization != null) this.synchronization = synchronization; if (usage != null) this.usage = usage; if (pollingInterval != null) this.pollingInterval = pollingInterval; }
new EndpointDescriptor.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
EndpointDescriptor.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
int address #
int get address => jsProxy['address'];
set address(int value) => jsProxy['address'] = value;
Direction direction #
Direction get direction => _createDirection(jsProxy['direction']);
set direction(Direction value) => jsProxy['direction'] = jsify(value);
int maximumPacketSize #
int get maximumPacketSize => jsProxy['maximumPacketSize'];
set maximumPacketSize(int value) => jsProxy['maximumPacketSize'] = value;
int pollingInterval #
int get pollingInterval => jsProxy['pollingInterval'];
set pollingInterval(int value) => jsProxy['pollingInterval'] = value;
SynchronizationType synchronization #
SynchronizationType get synchronization => _createSynchronizationType(jsProxy['synchronization']);
set synchronization(SynchronizationType value) => jsProxy['synchronization'] = jsify(value);
TransferType type #
TransferType get type => _createTransferType(jsProxy['type']);
set type(TransferType value) => jsProxy['type'] = jsify(value);
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();