This interface 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
SnapshotApi.getLocation(GoogleApiClient).
Public Method Summary
| abstract 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 abstract 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 if
Result.getStatus()is successful, otherwise null.