Package | Description |
---|---|
com.google.gwt.core.client |
Fundamental classes used in client-side GWT code.
|
com.google.gwt.geolocation.client |
Support for the HTML5 Geolocation API.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncProvider.get(Callback<? super T,? super F> callback) |
ScriptInjector.FromUrl |
ScriptInjector.FromUrl.setCallback(Callback<Void,Exception> callback)
Specify a callback to be invoked when the script is loaded or loading
encounters an error.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Copyright © 2018. All rights reserved.