Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## Results

Loading...
package

# com.google.android.gms.games.leaderboard

Contains data classes for leaderboards.

## Interfaces

Leaderboard | Data interface for leaderboard metadata.
Leaderboards | Entry point for leaderboard functionality.
Leaderboards.LeaderboardMetadataResult | Result delivered when leaderboard metadata has been loaded.
Leaderboards.LoadPlayerScoreResult | Result delivered when a player's leaderboard score has been loaded.
Leaderboards.LoadScoresResult | Result delivered when leaderboard scores have been loaded.
Leaderboards.SubmitScoreResult | Result delivered when a leaderboard score has been submitted.
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 social) and time span (daily, weekly, or all-time).
OnLeaderboardMetadataLoadedListener | This interface is deprecated. See `Leaderboards.LeaderboardMetadataResult`.
OnLeaderboardScoresLoadedListener | This interface is deprecated. See `Leaderboards.LoadScoresResult`.
OnPlayerLeaderboardScoreLoadedListener | This interface is deprecated. See `Leaderboards.LoadPlayerScoreResult`.
OnScoreSubmittedListener | This interface is deprecated. See `SubmitScoreResult`.

## Classes

LeaderboardBuffer | `DataBuffer` containing Leaderboard data.
LeaderboardScoreBuffer | `DataBuffer` 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.
SubmitScoreResult | This class is deprecated. See `ScoreSubmissionData`.
SubmitScoreResult.Result | Simple data class containing the result data for a particular time span.