com.google.android.gms.games.stats.Stats |
This interface is deprecated.
Use PlayerStatsClient
instead
Entry point for stats functionality.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Stats.LoadPlayerStatsResult |
This interface is deprecated.
PlayerStats is returned directly in the PlayerStatsClient .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Asynchronously load the player stats data for the currently signed-in player and game into a
single result.
|
Asynchronously load the player stats data for the currently signed-in player and game into a single result.
Required API: API
Required Scopes: SCOPE_GAMES
Parameters | |
---|---|
apiClient |
GoogleApiClient : The GoogleApiClient to service the
call. |
forceReload |
boolean : If true , this call will clear any locally cached data and attempt to
fetch the latest data from the server. This would commonly be used for something like a
user-initiated refresh. Normally, this should be set to false to gain advantages of
data caching. |
Returns | |
---|---|
PendingResult<Stats.LoadPlayerStatsResult> |
PendingResult to access the data when
available.
|