GamesMetadataClient

  • The GamesMetadataClient interface 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() and loadGame() , 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.

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.

Create a Mobile Website
View Site in Mobile | Classic
Share by: