public class Geolocation extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier | Constructor and Description |
---|---|
protected |
Geolocation(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static Geolocation |
$as(Object obj) |
void |
clearWatch(double watchId) |
void |
getCurrentPosition(PositionCallback successCallback) |
void |
getCurrentPosition(PositionCallback successCallback,
PositionErrorCallback errorCallback) |
void |
getCurrentPosition(PositionCallback successCallback,
PositionErrorCallback errorCallback,
PositionOptions options) |
double |
watchPosition(PositionCallback successCallback) |
double |
watchPosition(PositionCallback successCallback,
PositionErrorCallback errorCallback) |
double |
watchPosition(PositionCallback successCallback,
PositionErrorCallback errorCallback,
PositionOptions options) |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
protected Geolocation(Objs.Constructor<?> c, Object js)
public static Geolocation $as(Object obj)
public void clearWatch(double watchId)
public void getCurrentPosition(PositionCallback successCallback, PositionErrorCallback errorCallback, PositionOptions options)
public void getCurrentPosition(PositionCallback successCallback)
public void getCurrentPosition(PositionCallback successCallback, PositionErrorCallback errorCallback)
public double watchPosition(PositionCallback successCallback, PositionErrorCallback errorCallback, PositionOptions options)
public double watchPosition(PositionCallback successCallback)
public double watchPosition(PositionCallback successCallback, PositionErrorCallback errorCallback)
Copyright © 2018. All rights reserved.