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."],[[["\u003cp\u003e\u003ccode\u003eSnapshotApi\u003c/code\u003e is deprecated; use \u003ccode\u003egetSnapshotClient(Activity)\u003c/code\u003e instead for accessing the Awareness Snapshot API.\u003c/p\u003e\n"],["\u003cp\u003eThis API provided methods for getting snapshots of user context, such as location, activity, headphone state, nearby beacons, and time intervals.\u003c/p\u003e\n"],["\u003cp\u003eAll methods within \u003ccode\u003eSnapshotApi\u003c/code\u003e are deprecated and have corresponding replacements in \u003ccode\u003eSnapshotClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSnapshotApi\u003c/code\u003e required the use of a \u003ccode\u003eGoogleApiClient\u003c/code\u003e instance, which is no longer needed with \u003ccode\u003eSnapshotClient\u003c/code\u003e.\u003c/p\u003e\n"]]],["`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"],null,[]]