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 |
@FloatRange(from = -90.0, to = 90.0) Double |
Latitude of location. |
@FloatRange(from = -180.0, to = 180.0) Double |
Longitude of location. |
Public constructors
LocationData
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
val altitude: Double
Altitude of location in meters or ALTITUDE_UNAVAILABLE if not available.
bearing
val bearing: Double
Bearing in degrees within the range of 0.0 (inclusive), 360.0(exclusive) or BEARING_UNAVAILABLE if not available.
latitude
val latitude: @FloatRange(from = -90.0, to = 90.0) Double
Latitude of location. Range from -90.0 to = 90.0.
longitude
val longitude: @FloatRange(from = -180.0, to = 180.0) Double
Longitude of location. Range from -180.0 to = 180.0.