Uses of Class
com.google.gwt.geolocation.client.Geolocation.PositionOptions
-
Packages that use Geolocation.PositionOptions Package Description 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 Modifier and Type Method Description Geolocation.PositionOptionsGeolocation.PositionOptions. setHighAccuracyEnabled(boolean enabled)Sets whether or not the application will request a more accurate position from the browser.Geolocation.PositionOptionsGeolocation.PositionOptions. setMaximumAge(int maximumAge)Allows the browser to return a position immediately with a cached position.Geolocation.PositionOptionsGeolocation.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 Modifier and Type Method Description voidGeolocation. getCurrentPosition(Callback<Position,PositionError> callback, Geolocation.PositionOptions options)Calls the callback with the user's current position, with additional options.intGeolocation. watchPosition(Callback<Position,PositionError> callback, Geolocation.PositionOptions options)Repeatedly calls the given callback with the user's position, as it changes, with additional options.
-