public interface

Stats

com.google.android.gms.games.stats.Stats

Class Overview

Entry point for stats functionality.

Summary

Nested Classes
interface Stats.LoadPlayerStatsResult Result delivered when player stats data has been loaded. 
Public Methods
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: 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.