EnumerateDevicesOptions class
Describes the properties of devices which are found via getDevices
.
class EnumerateDevicesOptions extends ChromeObject { EnumerateDevicesOptions({int vendorId, int productId}) { if (vendorId != null) this.vendorId = vendorId; if (productId != null) this.productId = productId; } EnumerateDevicesOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); int get vendorId => jsProxy['vendorId']; set vendorId(int value) => jsProxy['vendorId'] = value; int get productId => jsProxy['productId']; set productId(int value) => jsProxy['productId'] = value; }
Extends
ChromeObject > EnumerateDevicesOptions
Constructors
new EnumerateDevicesOptions({int vendorId, int productId}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
EnumerateDevicesOptions({int vendorId, int productId}) { if (vendorId != null) this.vendorId = vendorId; if (productId != null) this.productId = productId; }
new EnumerateDevicesOptions.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
EnumerateDevicesOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
int productId #
int get productId => jsProxy['productId'];
set productId(int value) => jsProxy['productId'] = value;
int vendorId #
int get vendorId => jsProxy['vendorId'];
set vendorId(int value) => jsProxy['vendorId'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();