Stay organized with collections
Save and categorize content based on your preferences.
android.location
Interfaces
GeocodeListener |
A listener for asynchronous geocoding results.
|
Listener |
Used for receiving GNSS antenna info from the GNSS engine.
|
Listener |
Used for receiving notifications when GPS status has changed.
|
NmeaListener |
Used for receiving NMEA sentences from the GPS.
|
LocationListener |
Used for receiving notifications when the device location has changed.
|
OnNmeaMessageListener |
Used for receiving NMEA sentences from the GNSS.
|
Classes
Address |
A class representing an Address, that is, a set of Strings describing a location.
|
Criteria |
A class indicating the application criteria for selecting a location provider.
|
Geocoder |
A class for handling geocoding and reverse geocoding.
|
GnssAntennaInfo |
A class that contains information about a GNSS antenna.
|
GnssAutomaticGainControl |
A class that contains GNSS Automatic Gain Control (AGC) information.
|
GnssCapabilities |
GNSS chipset capabilities.
|
GnssClock |
A class containing a GNSS clock timestamp.
|
GnssMeasurement |
A class representing a GNSS satellite measurement, containing raw and computed information.
|
GnssMeasurementRequest |
This class contains extra parameters to pass in a GNSS measurement request.
|
GnssMeasurementsEvent |
A class implementing a container for data associated with a measurement event.
|
GnssNavigationMessage |
A class containing a GNSS satellite Navigation Message.
|
GnssSignalType |
This class represents a GNSS signal type.
|
GnssStatus |
This class represents the current state of the GNSS engine and is used in conjunction with GnssStatus.Callback .
|
GpsSatellite |
This class represents the current state of a GPS satellite.
|
GpsStatus |
This class represents the current state of the GPS engine and is used in conjunction with GpsStatus.Listener .
|
Location |
A data class representing a geographic location.
|
LocationManager |
This class provides access to the system location services.
|
LocationProvider |
Information about the properties of a location provider.
|
LocationRequest |
An encapsulation of various parameters for requesting location via LocationManager .
|
SettingInjectorService |
Dynamically specifies the summary (subtitle) and enabled status of a preference injected into the list of app settings displayed by the system settings app
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.location\n================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/location/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------|------------------------------------------------------------------------|\n| [GeocodeListener](/reference/kotlin/android/location/Geocoder.GeocodeListener) | A listener for asynchronous geocoding results. |\n| [Listener](/reference/kotlin/android/location/GnssAntennaInfo.Listener) | Used for receiving GNSS antenna info from the GNSS engine. |\n| [Listener](/reference/kotlin/android/location/GpsStatus.Listener) | Used for receiving notifications when GPS status has changed. |\n| [NmeaListener](/reference/kotlin/android/location/GpsStatus.NmeaListener) | Used for receiving NMEA sentences from the GPS. |\n| [LocationListener](/reference/kotlin/android/location/LocationListener) | Used for receiving notifications when the device location has changed. |\n| [OnNmeaMessageListener](/reference/kotlin/android/location/OnNmeaMessageListener) | Used for receiving NMEA sentences from the GNSS. |\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Address](/reference/kotlin/android/location/Address) | A class representing an Address, that is, a set of Strings describing a location. |\n| [Criteria](/reference/kotlin/android/location/Criteria) | A class indicating the application criteria for selecting a location provider. |\n| [Geocoder](/reference/kotlin/android/location/Geocoder) | A class for handling geocoding and reverse geocoding. |\n| [GnssAntennaInfo](/reference/kotlin/android/location/GnssAntennaInfo) | A class that contains information about a GNSS antenna. |\n| [GnssAutomaticGainControl](/reference/kotlin/android/location/GnssAutomaticGainControl) | A class that contains GNSS Automatic Gain Control (AGC) information. |\n| [GnssCapabilities](/reference/kotlin/android/location/GnssCapabilities) | GNSS chipset capabilities. |\n| [GnssClock](/reference/kotlin/android/location/GnssClock) | A class containing a GNSS clock timestamp. |\n| [GnssMeasurement](/reference/kotlin/android/location/GnssMeasurement) | A class representing a GNSS satellite measurement, containing raw and computed information. |\n| [GnssMeasurementRequest](/reference/kotlin/android/location/GnssMeasurementRequest) | This class contains extra parameters to pass in a GNSS measurement request. |\n| [GnssMeasurementsEvent](/reference/kotlin/android/location/GnssMeasurementsEvent) | A class implementing a container for data associated with a measurement event. |\n| [GnssNavigationMessage](/reference/kotlin/android/location/GnssNavigationMessage) | A class containing a GNSS satellite Navigation Message. |\n| [GnssSignalType](/reference/kotlin/android/location/GnssSignalType) | This class represents a GNSS signal type. |\n| [GnssStatus](/reference/kotlin/android/location/GnssStatus) | This class represents the current state of the GNSS engine and is used in conjunction with [GnssStatus.Callback](/reference/kotlin/android/location/GnssStatus.Callback). |\n| [GpsSatellite](/reference/kotlin/android/location/GpsSatellite) | This class represents the current state of a GPS satellite. |\n| [GpsStatus](/reference/kotlin/android/location/GpsStatus) | This class represents the current state of the GPS engine and is used in conjunction with [GpsStatus.Listener](/reference/kotlin/android/location/GpsStatus.Listener). |\n| [Location](/reference/kotlin/android/location/Location) | A data class representing a geographic location. |\n| [LocationManager](/reference/kotlin/android/location/LocationManager) | This class provides access to the system location services. |\n| [LocationProvider](/reference/kotlin/android/location/LocationProvider) | Information about the properties of a location provider. |\n| [LocationRequest](/reference/kotlin/android/location/LocationRequest) | An encapsulation of various parameters for requesting location via [LocationManager](/reference/kotlin/android/location/LocationManager). |\n| [SettingInjectorService](/reference/kotlin/android/location/SettingInjectorService) | Dynamically specifies the summary (subtitle) and enabled status of a preference injected into the list of app settings displayed by the system settings app |"]]