com.google.android.gms.games.leaderboard

  • Provides data classes and interfaces for interacting with leaderboards in Android games.

  • Includes interfaces for accessing leaderboard metadata, individual scores, and leaderboard variants.

  • Offers data buffers for efficient handling of leaderboard and score data.

  • Contains classes for managing score submission and retrieving submission results.

Contains data classes for leaderboards.

Annotations

LeaderboardVariant.Collection A leaderboard collection. 
LeaderboardVariant.TimeSpan A leaderboard time span. 

Interfaces

Leaderboard Data interface for leaderboard metadata. 
LeaderboardScore Data interface representing a single score on a leaderboard. 
LeaderboardVariant Data interface for a specific variant of a leaderboard; a variant is defined by the combination of the leaderboard's collection (public or friends) and time span (daily, weekly, or all-time). 

Classes

LeaderboardBuffer AbstractDataBuffer implementation containing Leaderboard data. 
LeaderboardScoreBuffer AbstractDataBuffer containing LeaderboardScore data. 
ScoreSubmissionData Data object representing the result of submitting a score to a leaderboard. 
ScoreSubmissionData.Result Simple data class containing the result data for a particular time span.