KnownLocation
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
Properties
Link copied to clipboard
the estimated horizontal accuracy radius in meters of this location
Link copied to clipboard
Gets the Location.KnownLocation from a Location if it exists. Otherwise null
is returned
Link copied to clipboard
The DMSCoordinate associated with the latitude of this location
Link copied to clipboard
The DMSCoordinate associated with the latitude of this longitude
Link copied to clipboard
Converts a Nullable Location.KnownLocation into a Location, where Location.UnknownLocation.WithoutLastLocation is returned if the location was null
.
Link copied to clipboard
the KalugaDate at which the location was detected
Link copied to clipboard
the estimated altitude accuracy in meters of this location
Functions
Link copied to clipboard
Converts a Location into a Location.UnknownLocation given a Location.UnknownLocation.Reason