This interface is deprecated.
LeaderboardsClient.LeaderboardScores
is returned directly in the LeaderboardsClient
.
Result delivered when leaderboard scores have been loaded.
Possible status codes include:
GamesStatusCodes.STATUS_OK
if data was successfully loaded and is up-to-date.GamesStatusCodes.STATUS_NETWORK_ERROR_NO_DATA
if the device was unable to retrieve any data from the network and has no data cached locally.GamesStatusCodes.STATUS_NETWORK_ERROR_STALE_DATA
if the device was unable to retrieve the latest data from the network, but has some data cached locally.GamesStatusCodes.STATUS_CLIENT_RECONNECT_REQUIRED
if the client needs to reconnect to the service to access this data.GamesStatusCodes.STATUS_LICENSE_CHECK_FAILED
if the game is not licensed to the user.GamesStatusCodes.STATUS_INTERNAL_ERROR
if an unexpected error occurred in the service.
Public Method Summary
abstract Leaderboard | |
abstract LeaderboardScoreBuffer |
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.