com.google.android.gms.awareness.fence
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["The Awareness API provides interfaces and classes for managing fences, which are conditions that trigger callbacks when met."],["Interfaces like `FenceQueryResult` and `FenceStateMap` handle fence query results and states."],["Classes such as `AwarenessFence`, `LocationFence`, and `TimeFence` enable the creation of various types of fences based on context like location, time, and activities."],["`FenceUpdateRequest` and its builder facilitate adding and removing fences, while `FenceQueryRequest` and `FenceQueryResponse` are used for querying existing fences."],["Fence states are encapsulated in the `FenceState` class, providing information about the status of a specific fence."]]],[]]