Page Summary
-
BeaconStateResult is a result interface obtained from calling
getBeaconState(GoogleApiClient, Collection). -
The
getBeaconState()method within BeaconStateResult returns the current states of nearby beacons. -
The
getStatus()method, inherited from the Result interface, indicates the success or failure of the result.
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.getBeaconState(GoogleApiClient, Collection).
Public Method Summary
| abstract 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 abstract 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 if
Result.getStatus()is successful, otherwise null.