GamesMetadata

public interface GamesMetadata

This interface was deprecated.
Use GamesMetadataClient instead

Entry point for game metadata functionality.

Nested Class Summary

interface GamesMetadata.LoadGamesResult This interface was deprecated. GameBuffer is returned directly in the GamesMetadataClient.  

Public Method Summary

abstract Game
getCurrentGame(GoogleApiClient apiClient)
Gets the metadata for the current game, if available.
abstract PendingResult<GamesMetadata.LoadGamesResult>
loadGame(GoogleApiClient apiClient)
Loads the details for the current game.

Public Methods

public abstract Game getCurrentGame (GoogleApiClient apiClient)

Gets the metadata for the current game, if available.

Required API: API
Required Scopes: SCOPE_GAMES

Parameters
apiClient The GoogleApiClient to service the call.
Returns
  • Game metadata for the current game. May be null if the metadata is not available locally.

public abstract PendingResult<GamesMetadata.LoadGamesResult> loadGame (GoogleApiClient apiClient)

Loads the details for the current game.

Required API: API
Required Scopes: SCOPE_GAMES

Parameters
apiClient The GoogleApiClient to service the call.
Returns