Hide

Leaderboards.LoadScoresResult

public static interface Leaderboards.LoadScoresResult implements Result Releasable
com.google.android.gms.games.leaderboard.Leaderboards.LoadScoresResult

Result delivered when leaderboard scores have been loaded.

Possible status codes include:

Public Method Summary

abstract Leaderboard
abstract LeaderboardScoreBuffer

Public Methods

public abstract Leaderboard getLeaderboard ()

Returns
  • The leaderboard that the requested scores belong to. This may be null if the leaderboard metadata could not be found.

public abstract LeaderboardScoreBuffer getScores ()

Returns
  • The leaderboard scores that were requested. This is guaranteed to be non-null, though it may be empty. The listener must close this object when finished.