Page Summary
-
LocationResponse is a class that extends Response and is the result of calling getLocation().
-
The getLocation() method in LocationResponse returns the current lat/lng location of the device as a Location object.
-
LocationResponse inherits methods such as getResult() and setResult() from the Response class.
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.
Result from SnapshotClient.getLocation().
Public Method Summary
| Location |
getLocation()
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
Public Methods
public Location getLocation ()
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.
Returns
- Location.