com.google.android.gms.awareness.fence

  • FenceQueryResult and FenceStateMap are interfaces for querying and representing fence states.

  • FenceUpdateRequest is an interface for adding and removing multiple fences.

  • AwarenessFence is a class that combines context conditions to trigger callbacks.

  • Specific classes like BeaconFence, DetectedActivityFence, HeadphoneFence, LocationFence, and TimeFence are used to create different types of fences.

  • FenceQueryRequest and FenceQueryResponse are classes for querying fence states, and FenceState encapsulates the state of a fence.

Interfaces

FenceQueryResult 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.  
FenceStateMap 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.  
FenceUpdateRequest 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.  

Classes

AwarenessFence 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.  
BeaconFence 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.  
DetectedActivityFence 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.  
FenceQueryRequest 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.  
FenceQueryResponse 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.  
FenceState 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.  
FenceUpdateRequest.Builder 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.  
HeadphoneFence 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.  
LocationFence 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.  
TimeFence 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.