EnumerateDevicesAndRequestAccessOptions class
Describes the properties of devices which are found via findDevices
.
class EnumerateDevicesAndRequestAccessOptions extends ChromeObject { EnumerateDevicesAndRequestAccessOptions({int vendorId, int productId, int interfaceId}) { if (vendorId != null) this.vendorId = vendorId; if (productId != null) this.productId = productId; if (interfaceId != null) this.interfaceId = interfaceId; } EnumerateDevicesAndRequestAccessOptions.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; int get interfaceId => jsProxy['interfaceId']; set interfaceId(int value) => jsProxy['interfaceId'] = value; }
Extends
ChromeObject > EnumerateDevicesAndRequestAccessOptions
Constructors
new EnumerateDevicesAndRequestAccessOptions({int vendorId, int productId, int interfaceId}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
EnumerateDevicesAndRequestAccessOptions({int vendorId, int productId, int interfaceId}) { if (vendorId != null) this.vendorId = vendorId; if (productId != null) this.productId = productId; if (interfaceId != null) this.interfaceId = interfaceId; }
new EnumerateDevicesAndRequestAccessOptions.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
EnumerateDevicesAndRequestAccessOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
int interfaceId #
int get interfaceId => jsProxy['interfaceId'];
set interfaceId(int value) => jsProxy['interfaceId'] = value;
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();