GamesMetadataClient Stay organized with collections Save and categorize content based on your preferences.
Page Summary
The
GamesMetadataClientinterface is deprecated and developers should migrate to games v2.Migration guidance is available in the migration guide linked within the content.
Both public methods,
getCurrentGame()andloadGame(), are also deprecated.getCurrentGame()loads current game metadata from the local cache, returning null if not available.loadGame()asynchronously loads annotated game metadata for the current game.
This interface is deprecated.
Consider migrating to the games v2. Refer to themigration guide.
A client to receive GamesMetadata.
Public Method Summary
| abstract Task<Game> | getCurrentGame() This method is deprecated. Consider migrating to the games v2. Refer to the migration guide. |
| abstract Task<AnnotatedData<Game>> | loadGame() This method is deprecated. Consider migrating to the games v2. Refer to the migration guide. |
Public Methods
public abstract Task<Game>getCurrentGame()
This method is deprecated.
Consider migrating to the games v2. Refer to themigration guide.
public abstract Task<AnnotatedData<Game>>loadGame()
This method is deprecated.
Consider migrating to the games v2. Refer to themigration guide.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-23 UTC.