Location
Types
Link copied to clipboard
data class KnownLocation(val latitude: Double, val longitude: Double, val altitude: Double? = null, val horizontalAccuracy: Double? = null, val verticalAccuracy: Double? = null, val speed: Double? = null, val course: Double? = null, val time: KalugaDate) : Location
A Location where the current coordinates are known
Link copied to clipboard
An location where the current coordinates are unknown.
Properties
Link copied to clipboard
Gets the Location.KnownLocation from a Location if it exists. Otherwise null
is returned
Functions
Link copied to clipboard
Converts a Location into a Location.UnknownLocation given a Location.UnknownLocation.Reason