Hide

ScoreSubmissionData.Result

public static final class ScoreSubmissionData.Result extends Object
java.lang.Object
   ↳ com.google.android.gms.games.leaderboard.ScoreSubmissionData.Result

Simple data class containing the result data for a particular time span.

Field Summary

public final String formattedScore String containing the score data in a display-appropriate format.
public final boolean newBest Boolean indicating whether or not this score was the player's new best score for this time span.
public final long rawScore The raw score value of this score result.
public final String scoreTag The score tag associated with this result, if any.

Public Constructor Summary

ScoreSubmissionData.Result(long rawScore, String formattedScore, String scoreTag, boolean newBest)

Public Method Summary

String

Fields

public final String formattedScore

String containing the score data in a display-appropriate format.

public final boolean newBest

Boolean indicating whether or not this score was the player's new best score for this time span.

public final long rawScore

The raw score value of this score result.

public final String scoreTag

The score tag associated with this result, if any.

Public Constructors

public ScoreSubmissionData.Result (long rawScore, String formattedScore, String scoreTag, boolean newBest)

Public Methods

public String toString ()