AI-generated Key Takeaways
-
The GamesMetadata interface is deprecated and you should use GamesMetadataClient instead.
-
This interface provides entry points for game metadata functionality.
-
The interface includes a deprecated nested interface, GamesMetadata.LoadGamesResult.
-
There are two public methods: getCurrentGame to get current game metadata and loadGame to load current game details.
-
Both public methods require a GoogleApiClient to service the call.
This interface is deprecated.
Use GamesMetadataClient
instead
Entry point for game metadata functionality.
Nested Class Summary
Public Method Summary
| abstract Game | |
| abstract PendingResult < GamesMetadata.LoadGamesResult > |
Public Methods
public abstract Game getCurrentGame ( GoogleApiClient apiClient)
Gets the metadata for the current game, if available.
Required API: Games.API
Required Scopes: Games.SCOPE_GAMES
Parameters
Returns
-
Gamemetadata 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: Games.API
Required Scopes: Games.SCOPE_GAMES
Parameters
Returns
-
PendingResultto access the data when available.

