Page Summary
-
The
Leaderboards.SubmitScoreResultinterface is deprecated andScoreSubmissionDatais now returned directly in theLeaderboardsClient. -
This interface represents the result of submitting a leaderboard score, indicating success or failure via a status code.
-
Possible status codes include
STATUS_OKfor success,STATUS_NETWORK_ERROR_OPERATION_DEFERREDfor offline submission, and other codes for various errors. -
The
getScoreData()method returns information about the submitted score and the server's response. -
The interface inherits methods like
getStatus()fromResultandrelease()fromReleasable.
This interface is deprecated.
ScoreSubmissionData is returned directly in the LeaderboardsClient.
Result delivered when a leaderboard score has been submitted. The statusCode indicates whether or not the score was successfully submitted to the servers.
Possible status codes include:
GamesStatusCodes.STATUS_OKif the score was successfully submitted to the server.GamesStatusCodes.STATUS_NETWORK_ERROR_OPERATION_DEFERREDif the device is offline or was otherwise unable to post the score to the server. The score was stored locally and will be posted to the server the next time the device is online and is able to perform a sync (no further action is required from the client).GamesStatusCodes.STATUS_CLIENT_RECONNECT_REQUIREDif the client needs to reconnect to the service to access this data.GamesStatusCodes.STATUS_LICENSE_CHECK_FAILEDif the game is not licensed to the user.GamesStatusCodes.STATUS_INTERNAL_ERRORif an unexpected error occurred in the service.
Public Method Summary
| abstract ScoreSubmissionData |
getScoreData()
Returns data about the score that was submitted and the response from the
server.
|
Inherited Method Summary
Public Methods
public abstract ScoreSubmissionData getScoreData ()
Returns data about the score that was submitted and the response from the server.