Page Summary
-
FenceStateMap is a map of fence states keyed off of the fence keys resulting from a FenceQueryRequest.
-
The getFenceKeys method returns the Set of fence keys contained in the FenceStateMap.
-
The getFenceState method returns a FenceState for a given fence key, returning null if no FenceState is found.
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.
A map of fence states keyed off of the fence keys resulting from a FenceQueryRequest
.
Public Method Summary
| abstract Set < String > | getFenceKeys
()
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.
|
| abstract FenceState | getFenceState
( String
fenceKey)
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 Set < String > getFenceKeys ()
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 Set
of fence keys that are contained in this FenceStateMap
.
public abstract FenceState getFenceState ( String fenceKey)
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 a FenceState
for the given fence key. If no FenceState
is found null is returned.

