public final class PlayerScore
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play Games Services API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PlayerScore() |
| Modifier and Type | Method and Description |
|---|---|
PlayerScore |
clone() |
String |
getFormattedScore()
The formatted score for this player score.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Long |
getScore()
The numerical value for this player score.
|
String |
getScoreTag()
Additional information about this score.
|
String |
getTimeSpan()
The time span for this player score.
|
PlayerScore |
set(String fieldName,
Object value) |
PlayerScore |
setFormattedScore(String formattedScore)
The formatted score for this player score.
|
PlayerScore |
setKind(String kind)
Uniquely identifies the type of this resource.
|
PlayerScore |
setScore(Long score)
The numerical value for this player score.
|
PlayerScore |
setScoreTag(String scoreTag)
Additional information about this score.
|
PlayerScore |
setTimeSpan(String timeSpan)
The time span for this player score.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getFormattedScore()
null for nonepublic PlayerScore setFormattedScore(String formattedScore)
formattedScore - formattedScore or null for nonepublic String getKind()
null for nonepublic PlayerScore setKind(String kind)
kind - kind or null for nonepublic Long getScore()
null for nonepublic PlayerScore setScore(Long score)
score - score or null for nonepublic String getScoreTag()
null for nonepublic PlayerScore setScoreTag(String scoreTag)
scoreTag - scoreTag or null for nonepublic String getTimeSpan()
null for nonepublic PlayerScore setTimeSpan(String timeSpan)
timeSpan - timeSpan or null for nonepublic PlayerScore set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PlayerScore clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.