Uses of Interface
com.google.gwt.core.client.Callback
Package
Description
Fundamental classes used in client-side GWT code.
Support for the HTML5 Geolocation API.
-
Uses of Callback in com.google.gwt.core.client
Modifier and TypeMethodDescriptionvoid
ScriptInjector.FromUrl.setCallback
(Callback<Void, Exception> callback) Specify a callback to be invoked when the script is loaded or loading encounters an error. -
Uses of Callback in com.google.gwt.geolocation.client
Modifier and TypeMethodDescriptionvoid
Geolocation.getCurrentPosition
(Callback<Position, PositionError> callback) Calls the callback with the user's current position.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) Repeatedly calls the given callback with the user's position, as it changes.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.