Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

androidx.core.location

Classes

GnssStatusCompat

GnssStatus representation that works across all Android versions.

LocationManagerCompat

Helper for accessing features in LocationManager.

Extension functions summary

For android.location.Location
operator Double

Returns the latitude of this Location.

operator Double

Returns the longitude of this Location.

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