FenceClient
Stay organized with collections
Save and categorize content based on your preferences.
Main entry point for the Awareness Fence API.
Inherited Field Summary
From class com.google.android.gms mon.api.GoogleApi
protected final GoogleApiManager |
zabo |
|
Inherited Method Summary
From class com.google.android.gms mon.api.GoogleApi
GoogleApiClient
|
asGoogleApiClient()
|
ClientSettings.Builder |
createClientSettingsBuilder()
|
Task<Boolean>
|
disconnectService()
|
<A extends Api.AnyClient, T extends ApiMethodImpl<? extendsResult,A>>
T
|
doBestEffortWrite(T arg0)
|
<TResult, A extends Api.AnyClient>
Task<TResult> |
doBestEffortWrite(TaskApiCall<A, TResult> arg0)
|
<A extends Api.AnyClient, T extends ApiMethodImpl<? extendsResult,A>>
T
|
doRead(T arg0)
|
<TResult, A extends Api.AnyClient>
Task<TResult> |
doRead(TaskApiCall<A, TResult> arg0)
|
<A extends Api.AnyClient> Task<Void>
|
doRegisterEventListener(RegistrationMethods<A,?>
arg0)
|
<A extends Api.AnyClient, T extends RegisterListenerMethod<A,?>, U extends UnregisterListenerMethod<A,?>>
Task<Void>
|
doRegisterEventListener(T arg0, U arg1)
|
Task<Boolean>
|
doUnregisterEventListener(ListenerKey<?>
arg0)
|
<TResult, A extends Api.AnyClient>
Task<TResult> |
doWrite(TaskApiCall<A, TResult>
arg0)
|
<A extends Api.AnyClient, T extends ApiMethodImpl<? extendsResult,A>>
T
|
doWrite(T arg0)
|
finalApi<AwarenessOptions>
|
getApi()
|
ApiKey<AwarenessOptions>
|
getApiKey()
|
AwarenessOptions
|
getApiOptions()
|
Context
|
getApplicationContext()
|
final int |
getInstanceId()
|
Looper
|
getLooper()
|
<L> ListenerHolder<L> |
registerListener(L arg0, Stringarg1)
|
zace |
|
Api.Client |
|
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
finalClass<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
From interface
com.google.android.gms mon.api.HasApiKey
abstract ApiKey<O> |
getApiKey()
|
Public Methods
Queries the state of a registered fence in the Awareness API.
Parameters
fenceQueryRequest |
A request encapsulating the query criteria parameters. |
Adds or removes a set of fences that are registered with the Awareness API.
Parameters
fenceUpdateRequest |
A request indicating a batch of fences to add and/or remove. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License,and code samples are licensed under theApache 2.0 License.For details, see theGoogle Developers Site Policies.Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-08-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label": "Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label": "Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label": "Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label": "Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label": "Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label": "Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label": "Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label": "Other"
}]