Interface Veery.LocationUpdate

onLocationUpdate(Location loc, long age)

Interface Callback triggered when the user has moved.

Received parameters

Param name Type Usage
loc Location Last known location or null if the geolocation service has become unavailable due to user request
age long Age of the given location in seconds (or -1 if the Location is null)

Returns

void

Usage / Example

Full example : requestLocationUpdate

User interaction

none

See also

requestLocationUpdate(LocationUpdate callback)

Start receiving events (callback) when the location has changed.

stopLocationUpdate()

Stop receiving events (callback) requested by requestLocationUpdate.