public interfaceGamesMetadata
This interface is deprecated.
UseGamesMetadataClient
instead
Entry point for game metadata functionality.
Nested Class Summary
interface | GamesMetadata.LoadGamesResult | This interface is deprecated.GameBuffer
is returned directly in theGamesMetadataClient .
|
Public Method Summary
abstractGame | |
abstractPendingResult<GamesMetadata.LoadGamesResult> |
Public Methods
public abstractGame getCurrentGame(GoogleApiClient apiClient)
Gets the metadata for the current game, if available.
Required API:Games.API
Required Scopes:Games.SCOPE_GAMES
Parameters
apiClient | TheGoogleApiClient
to service the call. |
---|
Returns
Game
metadata for the current game. May be null if the metadata is not available locally.
public abstractPendingResult<GamesMetadata.LoadGamesResult> loadGame(GoogleApiClient apiClient)
Loads the details for the current game.
Required API:Games.API
Required Scopes:Games.SCOPE_GAMES
Parameters
apiClient | TheGoogleApiClient
to service the call. |
---|
Returns
PendingResult
to access the data when available.