androidx.core.location
Interfaces
LocationListenerCompat |
A version of |
Classes
GnssStatusCompat |
GnssStatus representation that works across all Android versions. |
GnssStatusCompat.Callback |
See |
LocationCompat |
Helper for accessing features in |
LocationManagerCompat |
Helper for accessing features in |
LocationRequestCompat |
Compatibility version of |
LocationRequestCompat.Builder |
A builder class for |
Extension functions summary
inline operator Double |
Returns the latitude of this |
inline operator Double |
Returns the longitude of this |
Extension functions
component1
inline operator fun Location.component1(): Double
Returns the latitude of this Location
.
This method allows to use destructuring declarations when working with Location
, for example:
val (lat, lon) = myLocation
component2
inline operator fun Location.component2(): Double
Returns the longitude of this Location
.
This method allows to use destructuring declarations when working with Location
, for example:
val (lat, lon) = myLocation