WatchLocationRequestInfo class
Parameter of watchLocation call.
class WatchLocationRequestInfo extends ChromeObject { WatchLocationRequestInfo({num minDistanceInMeters, num minTimeInMilliseconds, int maximumAge}) { if (minDistanceInMeters != null) this.minDistanceInMeters = minDistanceInMeters; if (minTimeInMilliseconds != null) this.minTimeInMilliseconds = minTimeInMilliseconds; if (maximumAge != null) this.maximumAge = maximumAge; } WatchLocationRequestInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); num get minDistanceInMeters => jsProxy['minDistanceInMeters']; set minDistanceInMeters(num value) => jsProxy['minDistanceInMeters'] = jsify(value); num get minTimeInMilliseconds => jsProxy['minTimeInMilliseconds']; set minTimeInMilliseconds(num value) => jsProxy['minTimeInMilliseconds'] = jsify(value); int get maximumAge => jsProxy['maximumAge']; set maximumAge(int value) => jsProxy['maximumAge'] = value; }
Extends
ChromeObject > WatchLocationRequestInfo
Constructors
new WatchLocationRequestInfo({num minDistanceInMeters, num minTimeInMilliseconds, int maximumAge}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
WatchLocationRequestInfo({num minDistanceInMeters, num minTimeInMilliseconds, int maximumAge}) { if (minDistanceInMeters != null) this.minDistanceInMeters = minDistanceInMeters; if (minTimeInMilliseconds != null) this.minTimeInMilliseconds = minTimeInMilliseconds; if (maximumAge != null) this.maximumAge = maximumAge; }
new WatchLocationRequestInfo.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
WatchLocationRequestInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
int maximumAge #
int get maximumAge => jsProxy['maximumAge'];
set maximumAge(int value) => jsProxy['maximumAge'] = value;
num minDistanceInMeters #
num get minDistanceInMeters => jsProxy['minDistanceInMeters'];
set minDistanceInMeters(num value) => jsProxy['minDistanceInMeters'] = jsify(value);
num minTimeInMilliseconds #
num get minTimeInMilliseconds => jsProxy['minTimeInMilliseconds'];
set minTimeInMilliseconds(num value) => jsProxy['minTimeInMilliseconds'] = jsify(value);
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();