LocationData
class LocationData
Data representing one location point with direction.
Summary
Public constructors |
|---|
LocationData( |
Public properties |
|
|---|---|
Double |
Altitude of location in meters or |
Double |
Bearing in degrees within the range of 0.0 (inclusive), 360.0(exclusive) or |
Double |
Latitude of location. |
Double |
Longitude of location. |
Public constructors
LocationData
Added in 1.0.0
LocationData(
latitude: @FloatRange(from = -90.0, to = 90.0) Double,
longitude: @FloatRange(from = -180.0, to = 180.0) Double,
altitude: Double = ALTITUDE_UNAVAILABLE,
bearing: Double = BEARING_UNAVAILABLE
)
Public functions
Public properties
altitude
Added in 1.0.0
val altitude: Double
Altitude of location in meters or ALTITUDE_UNAVAILABLE if not available.
bearing
Added in 1.0.0
val bearing: Double
Bearing in degrees within the range of 0.0 (inclusive), 360.0(exclusive) or BEARING_UNAVAILABLE if not available.