StartDiscoveryOptions class
Options for the startDiscovery function.
class StartDiscoveryOptions extends ChromeObject { StartDiscoveryOptions({DeviceCallback deviceCallback}) { if (deviceCallback != null) this.deviceCallback = deviceCallback; } StartDiscoveryOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); DeviceCallback get deviceCallback => _createDeviceCallback(jsProxy['deviceCallback']); set deviceCallback(DeviceCallback value) => jsProxy['deviceCallback'] = jsify(value); }
Extends
ChromeObject > StartDiscoveryOptions
Constructors
new StartDiscoveryOptions({DeviceCallback deviceCallback}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
StartDiscoveryOptions({DeviceCallback deviceCallback}) { if (deviceCallback != null) this.deviceCallback = deviceCallback; }
new StartDiscoveryOptions.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
StartDiscoveryOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
DeviceCallback deviceCallback #
DeviceCallback get deviceCallback => _createDeviceCallback(jsProxy['deviceCallback']);
set deviceCallback(DeviceCallback value) => jsProxy['deviceCallback'] = jsify(value);
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();