public static interface

Leaderboards.LoadScoresResult

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

Class Overview

Result delivered when leaderboard scores have been loaded.

Possible status codes include:

Summary

Public Methods
abstract Leaderboard getLeaderboard()
abstract LeaderboardScoreBuffer getScores()
[Expand]
Inherited Methods
From interface com.google.android.gms.common.api.Releasable
From interface com.google.android.gms.common.api.Result

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.