Leaderboards.LoadScoresResult

  • This interface, which is deprecated, represents the result when leaderboard scores have been loaded.

  • Instead, LeaderboardsClient.LeaderboardScores is now returned directly in the LeaderboardsClient.

  • Possible status codes indicate the outcome of the score loading process, including success, network errors, client reconnection needs, license issues, or internal errors.

  • The interface includes methods to retrieve the associated leaderboard and the loaded scores.

public static interface Leaderboards.LoadScoresResult implements Result Releasable

This interface is deprecated.
LeaderboardsClient.LeaderboardScores is returned directly in the LeaderboardsClient.

Result delivered when leaderboard scores have been loaded.

Possible status codes include:

Public Method Summary

abstract Leaderboard
getLeaderboard()
Returns the leaderboard that the requested scores belong to.
abstract LeaderboardScoreBuffer
getScores()
Returns the leaderboard scores that were requested.

Inherited Method Summary

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.