com.google.android.gms.games.leaderboard | Android Developers

Quicknav Quicknav
Links

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

Android Sites

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

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## 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).

## 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.