public static interface

Leaderboards.LoadScoresResult

implements Result Releasable
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.Result
From interface com.google.android.gms.common.api.Releasable

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.