AI-generated Key Takeaways
-
This interface is deprecated; use PlayerStatsClient instead.
-
This interface provides an entry point for stats functionality.
-
The loadPlayerStats method asynchronously loads player stats data for the currently signed-in player and game.
This interface is deprecated.
Use PlayerStatsClient
instead
Entry point for stats functionality.
Nested Class Summary
| interface | Stats.LoadPlayerStatsResult | This interface is deprecated. PlayerStats
is returned directly in the PlayerStatsClient.
|
|
Public Method Summary
| abstract PendingResult<Stats.LoadPlayerStatsResult> |
loadPlayerStats(GoogleApiClient
apiClient, boolean forceReload)
Asynchronously load the player stats data for the currently signed-in player
and game into a single result.
|
Public Methods
public abstract PendingResult<Stats.LoadPlayerStatsResult> loadPlayerStats (GoogleApiClient apiClient, boolean forceReload)
Asynchronously load the player stats data for the currently signed-in player and game into a single result.
Required API: Games.API
Required Scopes: Games.SCOPE_GAMES
Parameters
| apiClient | The GoogleApiClient
to service the call. |
|---|---|
| forceReload | 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
PendingResultto access the data when available.