GeoLocation
Represents a geographic location.
GeoLocation API
int | |
double | getLatitude () |
double | getLongitude () |
boolean | hasAccuracy () |
getAccuracyInMeters()
getAccuracyInMeters()
Returns the accuracy in meters.
If this location does not have an accuracy, then -1 is returned.
getLatitude()
getLatitude()
Returns the latitude in degrees.
getLongitude()
getLongitude()
Returns the longitude in degrees.
hasAccuracy()
()
Returns
true
if this location has a horizontal accuracy,false
otherwise.
Last updated