java.lang.Object | |
↳ | com.google.android.gms.games.leaderboard.ScoreSubmissionData |
Data object representing the result of submitting a score to a leaderboard.
Nested Classes | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ScoreSubmissionData.Result | Simple data class containing the result data for a particular time span. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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. | |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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
TIME_SPAN_DAILY ,
TIME_SPAN_WEEKLY , or
TIME_SPAN_ALL_TIME . |
---|
ScoreSubmissionData.Result
or null
if no result was returned for the
given time span.