BeaconState

  • BeaconState represents the state of nearby beacon devices.

  • It includes nested classes for beacon information and type filtering.

  • The getBeaconInfo() method returns a list of all nearby beacons.

public interface BeaconState

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.

State of nearby beacon devices.

Nested Class Summary

interface BeaconState.BeaconInfo 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.  
class BeaconState.TypeFilter 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.  

Public Method Summary

abstract List<BeaconState.BeaconInfo>
getBeaconInfo()
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.

Public Methods

public abstract List<BeaconState.BeaconInfo> getBeaconInfo ()

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.

Get the list of all beacons that are nearby.

Returns