Uses of Class
com.google.gwt.geolocation.client.Geolocation.PositionOptions
Packages that use Geolocation.PositionOptions
-
Uses of Geolocation.PositionOptions in com.google.gwt.geolocation.client
Methods in com.google.gwt.geolocation.client that return Geolocation.PositionOptionsModifier and TypeMethodDescriptionGeolocation.PositionOptions.setHighAccuracyEnabled(boolean enabled) Sets whether or not the application will request a more accurate position from the browser.Geolocation.PositionOptions.setMaximumAge(int maximumAge) Allows the browser to return a position immediately with a cached position.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.PositionOptionsModifier and TypeMethodDescriptionvoidGeolocation.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.