GamesMetadataClient

public interface GamesMetadataClient

This interface is deprecated.
Consider migrating to the games v2. Refer to the migration 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 the migration guide.

Returns a Task which asynchronously loads the Game metadata for the current game from the local cache.

The Task returned will not be null, but the Game returned from the Task may be null if the metadata is not available locally.

public abstract Task<AnnotatedData<Game>> loadGame ()

This method is deprecated.
Consider migrating to the games v2. Refer to the migration guide.

Returns a Task which asynchronously loads an annotated Game metadata for the current game.