BeaconStateResponse

  • BeaconStateResponse is a class that extends Response and provides the result from getBeaconState(Collection).

  • The getBeaconState() method within BeaconStateResponse returns the current states of nearby beacons.

  • BeaconStateResponse inherits methods like getResult() and setResult() from the Response class.

public class BeaconStateResponse extends Response<BeaconStateResult>

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.getBeaconState(Collection).

Public Method Summary

BeaconState
getBeaconState()
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 BeaconState getBeaconState ()

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 nearby beacon states.

Returns
  • States of nearby beacons.