This interface is deprecated.
use
getFenceClient(Activity).
Deprecated entry point for the Awareness Fence API using GoogleApiClient.
The methods must be used in conjunction with a GoogleApiClient
instance. For example:
new GoogleApiClient.Builder(context)
.addApi(Awareness.API)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build()
| abstract PendingResult<FenceQueryResult> |
queryFences(GoogleApiClient
client,
FenceQueryRequest fenceQueryRequest)
This method is deprecated. use
queryFences(FenceQueryRequest)
|
| abstract PendingResult<Status> |
updateFences(GoogleApiClient
client,
FenceUpdateRequest fenceUpdateRequest)
This method is deprecated. use
updateFences(FenceUpdateRequest)
|
This method is deprecated.
use
queryFences(FenceQueryRequest)
Query the state of a registered fence in the Awareness API.
| client | A GoogleApiClient
instance. |
|---|---|
| fenceQueryRequest | A request encapsulating the query criteria parameters. |
PendingResult
with a FenceQueryResult.This method is deprecated.
use
updateFences(FenceUpdateRequest)
Add or remove a set of fences that are registered with the Awareness API.
| client | A GoogleApiClient
instance. |
|---|---|
| fenceUpdateRequest | A request indicating a batch of fences to add and/or remove. |
PendingResult
with Status
indicating success or failure.