This class is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
This method is deprecated. The Awareness API is deprecated and will be
turned down in a future Google Play services release, as early as January 2027.
There is no direct replacement.
Inherited Method Summary
From class com.google.android.gms.common.api.Response
This method is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
Returns the current lat/lng location of the device.
[[["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 2026-03-12 UTC."],[],["`LocationResponse`, an extension of `Response`, provides results from `getLocation()`. It offers `getLocation()` to retrieve the device's current latitude and longitude. It inherits `getResult()` and `setResult()` for managing `LocationResult`. Additionally, it inherits standard Java object methods like `equals()`, `hashCode()`, `toString()`, and `wait()`. The core functionality revolves around fetching the device's geographical location and managing the associated response object.\n"]]