Main entry point for the Awareness Fence API.
| Task<FenceQueryResponse> |
queryFences(FenceQueryRequest
fenceQueryRequest)
Queries the state of a registered fence in the Awareness API.
|
| Task<Void> |
updateFences(FenceUpdateRequest
fenceUpdateRequest)
Adds or removes a set of fences that are registered with the Awareness API.
|
Queries the state of a registered fence in the Awareness API.
| fenceQueryRequest | A request encapsulating the query criteria parameters. |
|---|
Task with a
FenceQueryResponse.Adds or removes a set of fences that are registered with the Awareness API.
| fenceUpdateRequest | A request indicating a batch of fences to add and/or remove. |
|---|
Task. Use
isSuccessful()
to determine success or failure.