Result delivered when leaderboard scores have been loaded.
Possible status codes include:
STATUS_OKif data was successfully loaded and is up-to-date.
STATUS_NETWORK_ERROR_NO_DATAif the device was unable to retrieve any data from the network and has no data cached locally.
STATUS_NETWORK_ERROR_STALE_DATAif the device was unable to retrieve the latest data from the network, but has some data cached locally.
STATUS_CLIENT_RECONNECT_REQUIREDif the client needs to reconnect to the service to access this data.
STATUS_LICENSE_CHECK_FAILEDif the game is not licensed to the user.
STATUS_INTERNAL_ERRORif an unexpected error occurred in the service.
Public Method Summary
public abstract Leaderboard getLeaderboard ()
- The leaderboard that the requested scores belong to. This may be null if the leaderboard metadata could not be found.
public abstract LeaderboardScoreBuffer getScores ()
- 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.