Data object representing the result of submitting a score to a leaderboard.
| class | ScoreSubmissionData.Result | Simple data class containing the result data for a particular time span. | |
| String |
getLeaderboardId()
Retrieves the ID of the leaderboard the score was submitted to.
|
| String |
getPlayerId()
Retrieves the ID of the player the score was submitted for.
|
| ScoreSubmissionData.Result |
getScoreResult(int timeSpan)
Retrieves the
ScoreSubmissionData.Result object for the given time span, if any.
|
| String |
toString()
|
Retrieves the ID of the leaderboard the score was submitted to.
Retrieves the ID of the player the score was submitted for.
Retrieves the
ScoreSubmissionData.Result object for the given time span, if any.
| timeSpan | Time span to retrieve result for. Valid values are
LeaderboardVariant.TIME_SPAN_DAILY,
LeaderboardVariant.TIME_SPAN_WEEKLY, or
LeaderboardVariant.TIME_SPAN_ALL_TIME. |
|---|
ScoreSubmissionData.Result or null if no result was returned
for the given time span.