BeaconStateStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
BeaconState represents the state of nearby beacon devices.
It includes nested classes for beacon information and type filtering.
ThegetBeaconInfo()method returns a list of all nearby beacons.
public interfaceBeaconState
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.
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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-12 UTC."],[],["`BeaconState` provides information about nearby beacon devices. It offers a method, `getBeaconInfo()`, which retrieves a list of `BeaconInfo` objects, each representing data from a single beacon. `BeaconState.TypeFilter` is a nested class used to specify the types of beacons to be matched. The core functionality is centered on accessing the list of nearby beacons and their respective information through `getBeaconInfo()`.\n"]]