LocationSimulationData

data class LocationSimulationData(    val latitude: Angle,     val longitude: Angle,     val altitude: Distance? = null,     val speed: Speed? = null,     val bearing: Angle? = null,     val horizontalAccuracy: Distance? = null,     val verticalAccuracy: Distance? = null,     val speedAccuracy: Speed? = null,     val bearingAccuracy: Angle? = null) : Parcelable

The data required by the LocationSimulationService to simulate a position.

Parameters

latitude

The latitude.

longitude

The longitude.

altitude

Optional the altitude above the WGS 84 reference ellipsoid.

speed

Optional the speed.

bearing

Optional the bearing.

horizontalAccuracy

Optional the estimated horizontal accuracy of this location, radial.

verticalAccuracy

Optional the estimated vertical accuracy of this location.

speedAccuracy

Optional the estimated speed accuracy of this location.

bearingAccuracy

Optional the estimated bearing accuracy of this location.

Constructors

Link copied to clipboard
fun LocationSimulationData(    latitude: Angle,     longitude: Angle,     altitude: Distance? = null,     speed: Speed? = null,     bearing: Angle? = null,     horizontalAccuracy: Distance? = null,     verticalAccuracy: Distance? = null,     speedAccuracy: Speed? = null,     bearingAccuracy: Angle? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val altitude: Distance? = null
Link copied to clipboard
val bearing: Angle? = null
Link copied to clipboard
val bearingAccuracy: Angle? = null
Link copied to clipboard
val horizontalAccuracy: Distance? = null
Link copied to clipboard
val latitude: Angle
Link copied to clipboard
val longitude: Angle
Link copied to clipboard
val speed: Speed? = null
Link copied to clipboard
val speedAccuracy: Speed? = null
Link copied to clipboard
val verticalAccuracy: Distance? = null

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)