A client to receive GamesMetadata.
Inherited Field Summary
From class com.google.android.gms.common.api.GoogleApi
Inherited Method Summary
From class com.google.android.gms.common.api.GoogleApi
GoogleApiClient
|
asGoogleApiClient()
|
ClientSettings.Builder |
createClientSettingsBuilder()
|
Task<Boolean>
|
disconnectService()
|
<A extends Api.AnyClient, T extends ApiMethodImpl<? extends Result, A>>
T
|
doBestEffortWrite(T arg0)
|
<TResult, A extends Api.AnyClient>
Task<TResult>
|
|
<A extends Api.AnyClient, T extends ApiMethodImpl<? extends Result, A>>
T
|
doRead(T arg0)
|
<TResult, A extends Api.AnyClient>
Task<TResult>
|
|
<A extends Api.AnyClient>
Task<Void>
|
|
<A extends Api.AnyClient, T extends RegisterListenerMethod<A, ?>, U extends UnregisterListenerMethod<A, ?>>
Task<Void>
|
doRegisterEventListener(T arg0, U arg1)
|
Task<Boolean>
|
|
<TResult, A extends Api.AnyClient>
Task<TResult>
|
|
<A extends Api.AnyClient, T extends ApiMethodImpl<? extends Result, A>>
T
|
doWrite(T arg0)
|
final Api<Games.GamesOptions>
|
getApi()
|
ApiKey<Games.GamesOptions>
|
getApiKey()
|
Games.GamesOptions
|
getApiOptions()
|
Context
|
getApplicationContext()
|
final int |
getInstanceId()
|
Looper
|
getLooper()
|
<L>
ListenerHolder<L>
|
registerListener(L arg0, String arg1)
|
zace
|
|
Api.Client
|
|
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
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.common.api.HasApiKey
Public Methods
public Task<Game>
getCurrentGame ()
Returns a Task
which
asynchronously loads the Game
metadata
for the current game from the local cache.
The Task
returned will not be null, but the Game
returned
from the Task
may be null if the metadata is not available locally.
Required Scopes: SCOPE_GAMES_LITE
Returns a Task
which
asynchronously loads an annotated Game
metadata
for the current game.
Required Scopes: SCOPE_GAMES_LITE