public final class StatsResponse
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 |
|---|
StatsResponse() |
| Modifier and Type | Method and Description |
|---|---|
StatsResponse |
clone() |
Float |
getAvgSessionLengthMinutes()
Average session length in minutes of the player.
|
Float |
getChurnProbability()
The probability of the player not returning to play the game in the next day.
|
Integer |
getDaysSinceLastPlayed()
Number of days since the player last played this game.
|
Float |
getHighSpenderProbability()
The probability of the player going to spend beyond a threshold amount of money.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Integer |
getNumPurchases()
Number of in-app purchases made by the player in this game.
|
Integer |
getNumSessions()
The approximate number of sessions of the player within the last 28 days, where a session
begins when the player is connected to Play Games Services and ends when they are disconnected.
|
Float |
getNumSessionsPercentile()
The approximation of the sessions percentile of the player within the last 30 days, where a
session begins when the player is connected to Play Games Services and ends when they are
disconnected.
|
Float |
getSpendPercentile()
The approximate spend percentile of the player in this game.
|
Float |
getSpendProbability()
The probability of the player going to spend the game in the next seven days.
|
Float |
getTotalSpendNext28Days()
The predicted amount of money that the player going to spend in the next 28 days.
|
StatsResponse |
set(String fieldName,
Object value) |
StatsResponse |
setAvgSessionLengthMinutes(Float avgSessionLengthMinutes)
Average session length in minutes of the player.
|
StatsResponse |
setChurnProbability(Float churnProbability)
The probability of the player not returning to play the game in the next day.
|
StatsResponse |
setDaysSinceLastPlayed(Integer daysSinceLastPlayed)
Number of days since the player last played this game.
|
StatsResponse |
setHighSpenderProbability(Float highSpenderProbability)
The probability of the player going to spend beyond a threshold amount of money.
|
StatsResponse |
setKind(String kind)
Uniquely identifies the type of this resource.
|
StatsResponse |
setNumPurchases(Integer numPurchases)
Number of in-app purchases made by the player in this game.
|
StatsResponse |
setNumSessions(Integer numSessions)
The approximate number of sessions of the player within the last 28 days, where a session
begins when the player is connected to Play Games Services and ends when they are disconnected.
|
StatsResponse |
setNumSessionsPercentile(Float numSessionsPercentile)
The approximation of the sessions percentile of the player within the last 30 days, where a
session begins when the player is connected to Play Games Services and ends when they are
disconnected.
|
StatsResponse |
setSpendPercentile(Float spendPercentile)
The approximate spend percentile of the player in this game.
|
StatsResponse |
setSpendProbability(Float spendProbability)
The probability of the player going to spend the game in the next seven days.
|
StatsResponse |
setTotalSpendNext28Days(Float totalSpendNext28Days)
The predicted amount of money that the player going to spend in the next 28 days.
|
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 Float getAvgSessionLengthMinutes()
null for nonepublic StatsResponse setAvgSessionLengthMinutes(Float avgSessionLengthMinutes)
avgSessionLengthMinutes - avgSessionLengthMinutes or null for nonepublic Float getChurnProbability()
null for nonepublic StatsResponse setChurnProbability(Float churnProbability)
churnProbability - churnProbability or null for nonepublic Integer getDaysSinceLastPlayed()
null for nonepublic StatsResponse setDaysSinceLastPlayed(Integer daysSinceLastPlayed)
daysSinceLastPlayed - daysSinceLastPlayed or null for nonepublic Float getHighSpenderProbability()
null for nonepublic StatsResponse setHighSpenderProbability(Float highSpenderProbability)
highSpenderProbability - highSpenderProbability or null for nonepublic String getKind()
null for nonepublic StatsResponse setKind(String kind)
kind - kind or null for nonepublic Integer getNumPurchases()
null for nonepublic StatsResponse setNumPurchases(Integer numPurchases)
numPurchases - numPurchases or null for nonepublic Integer getNumSessions()
null for nonepublic StatsResponse setNumSessions(Integer numSessions)
numSessions - numSessions or null for nonepublic Float getNumSessionsPercentile()
null for nonepublic StatsResponse setNumSessionsPercentile(Float numSessionsPercentile)
numSessionsPercentile - numSessionsPercentile or null for nonepublic Float getSpendPercentile()
null for nonepublic StatsResponse setSpendPercentile(Float spendPercentile)
spendPercentile - spendPercentile or null for nonepublic Float getSpendProbability()
null for nonepublic StatsResponse setSpendProbability(Float spendProbability)
spendProbability - spendProbability or null for nonepublic Float getTotalSpendNext28Days()
null for nonepublic StatsResponse setTotalSpendNext28Days(Float totalSpendNext28Days)
totalSpendNext28Days - totalSpendNext28Days or null for nonepublic StatsResponse set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic StatsResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.