LocationResponse

public class LocationResponse extends Response<LocationResult>

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.