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