|
GWT 2.7.0 | |||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Geolocation.PositionOptions | |
---|---|
com.google.gwt.geolocation.client | Support for the HTML5 Geolocation API. |
Uses of Geolocation.PositionOptions in com.google.gwt.geolocation.client |
---|
Methods in com.google.gwt.geolocation.client that return Geolocation.PositionOptions | |
---|---|
Geolocation.PositionOptions |
Geolocation.PositionOptions.setHighAccuracyEnabled(boolean enabled)
Sets whether or not the application will request a more accurate position from the browser. |
Geolocation.PositionOptions |
Geolocation.PositionOptions.setMaximumAge(int maximumAge)
Allows the browser to return a position immediately with a cached position. |
Geolocation.PositionOptions |
Geolocation.PositionOptions.setTimeout(int timeout)
Sets the amount of time (in milliseconds) that the application is willing to wait before getting the user's position. |
Methods in com.google.gwt.geolocation.client with parameters of type Geolocation.PositionOptions | |
---|---|
void |
Geolocation.getCurrentPosition(Callback<Position,PositionError> callback,
Geolocation.PositionOptions options)
Calls the callback with the user's current position, with additional options. |
int |
Geolocation.watchPosition(Callback<Position,PositionError> callback,
Geolocation.PositionOptions options)
Repeatedly calls the given callback with the user's position, as it changes, with additional options. |
|
GWT 2.7.0 | |||||||
PREV NEXT | FRAMES NO FRAMES |