Class Veery
getCurrentLocation()
Get the last known Location collected by Veery.
This function is fully synchronous, meaning the answer is returned very quickly.
Parameters
none
Returns
Location object
If null : no Location were collected until now
Usage / Example
Location loc = veery.getCurrentLocation(); if (loc!=null) { // do whatever you need with the Location object }
User interaction
none
See also
For realtime refresh of the current location, use requestLocationUpdate.
You can use the function getCurrentLocationAge to know if the location is recent.