WithLastLocation
data class WithLastLocation(val lastKnownLocation: Location.KnownLocation, val reason: Location.UnknownLocation.Reason) : Location.UnknownLocation
A UnknownLocation, but there is a last known location
Parameters
reason
The Reason the location is unknown.
Properties
Link copied to clipboard
Gets the Location.KnownLocation from a Location if it exists. Otherwise null
is returned
Link copied to clipboard
The KnownLocation last received before the location became unknown.
Link copied to clipboard
Functions
Link copied to clipboard
Converts a Location into a Location.UnknownLocation given a Location.UnknownLocation.Reason