| java.lang.Object | |
| ↳ | com.smaato.sdk.core.LatLng |
Represents a pair of latitude and longitude coordinates.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LatLng(double latitude, double longitude, float accuracy, long timestamp) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| double |
getLatitude()
Latitude from -90.0 to +90.0, where negative is south.
| ||||||||||
| float |
getLocationAccuracy()
Returns accuracy.
| ||||||||||
| long |
getLocationTimestamp()
Returns accuracy.
| ||||||||||
| double |
getLongitude()
Longitude from -180.0 to +180.0, where negative is west.
| ||||||||||
| float |
getTimeSinceLastLocationUpdate()
Returns time since last location update.
| ||||||||||
| int | hashCode() | ||||||||||
| boolean | isValid() | ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Latitude from -90.0 to +90.0, where negative is south.
Returns accuracy.
Returns accuracy.
Longitude from -180.0 to +180.0, where negative is west.
Returns time since last location update.