Location
@Serializable
Describes a user's location.
Constructors
Link copied to clipboard
constructor(position: PositionWithAccuracy, altitudeAccuracy: Length? = null, speed: SpeedWithAccuracy? = null, course: BearingWithAccuracy? = null, timestamp: TimeMark)
Properties
Link copied to clipboard
the accuracy of PositionWithAccuracy.value's altitude, or null if the source does not report it.
Link copied to clipboard
the direction in which the user is travelling and its accuracy.
Link copied to clipboard
the geographic position and its horizontal accuracy.
Link copied to clipboard
the current speed of the user and its accuracy.
Link copied to clipboard
the point in time when this location was acquired. This uses TimeMark instead of e.g. kotlin.time.Instant, to allow calculating how old a location is, even if the system clock changes.