FenceQueryResult
Stay organized with collections
Save and categorize content based on your preferences.
Result for query fence states Api
Public Methods
public abstract FenceStateMap
getFenceStateMap ()
Provides FenceStateMap
that can be used by clients to obtain all the fence keys that are returned in response
or the FenceState
for the given fence key.
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.
[[["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 2024-10-31 UTC."],[[["`SnapshotApi` is deprecated; use `getSnapshotClient(Activity)` instead for accessing the Awareness Snapshot API."],["This API provided methods for getting snapshots of user context, such as location, activity, headphone state, nearby beacons, and time intervals."],["All methods within `SnapshotApi` are deprecated and have corresponding replacements in `SnapshotClient`."],["`SnapshotApi` required the use of a `GoogleApiClient` instance, which is no longer needed with `SnapshotClient`."]]],["`FenceQueryResult` provides the result of querying fence states. It allows clients to access a `FenceStateMap` using `getFenceStateMap()`. This map contains all fence keys returned in response and their corresponding `FenceState`. Additionally, `getStatus()` from the `Result` interface returns the operation's status. This allows for retrieving both the state of individual fences and the overall outcome of the fence state query.\n"]]