Modifier and Type | Method and Description |
---|---|
void |
AppLib.addLocationUpdateCallback(LocationUpdateCallback callback)
Adds a callback to be invoked when the API server updates the
(geographic) location of the node.
|
void |
AppLib.removeLocationUpdateCallback(LocationUpdateCallback callback)
Removes a previously added callback.
|
void |
AppLib.startLocationUpdates(LocationUpdateCallback callback)
Equivalent to calling
AppLib.addLocationUpdateCallback(
LocationUpdateCallback) followed by AppLib.startLocationUpdates() . |