ReplayEventLocation

data class ReplayEventLocation(    val lon: Double,     val lat: Double,     val provider: String?,     val time: Double?,     val altitude: Double?,     val accuracyHorizontal: Double?,     val bearing: Double?,     val speed: Double?)

Location data for replaying position.

Parameters

lon

longitude coordinate used for positioning

lat

latitude coordinate used for positioning

provider

String? represents the source of the data for analytical purposes

time

Double? the time the location was measured in seconds and can be used to calculate freshness of the data

altitude

Double? estimated altitude in meters

accuracyHorizontal

Double? estimated accuracy of the coordinates as a radius in meters

bearing

Double? estimated direction of movement in degrees, 0 is North and 180 is South

speed

Double? estimated speed of the location update in meters per second

Constructors

Link copied to clipboard
fun ReplayEventLocation(    lon: Double,     lat: Double,     provider: String?,     time: Double?,     altitude: Double?,     accuracyHorizontal: Double?,     bearing: Double?,     speed: Double?)

Properties

Link copied to clipboard
@SerializedName(value = "accuracyHorizontal")
val accuracyHorizontal: Double?
Link copied to clipboard
@SerializedName(value = "altitude")
val altitude: Double?
Link copied to clipboard
@SerializedName(value = "bearing")
val bearing: Double?
Link copied to clipboard
@SerializedName(value = "lat")
val lat: Double
Link copied to clipboard
@SerializedName(value = "lon")
val lon: Double
Link copied to clipboard
@SerializedName(value = "provider")
val provider: String?
Link copied to clipboard
@SerializedName(value = "speed")
val speed: Double?
Link copied to clipboard
@SerializedName(value = "time")
val time: Double?