com.google.android.gms.games.stats.PlayerStats |
The PlayerStats API allows you to retrieve information about the player's activity in your application. Your app can then use this data to provide a different experience for each type of player (eg. players with a high probably of quitting).
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
float | UNSET_VALUE | The default value for each field when there isn't enough data to calculate. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The average session length of the player in minutes.
| |||||||||||
The approximate probability of the player not returning to play the game.
| |||||||||||
The approximate number of days since the player last played.
| |||||||||||
The approximate number of in-app purchases for the player.
| |||||||||||
The approximate number of sessions of the player.
| |||||||||||
The approximation of sessions percentile for the player.
| |||||||||||
The approximate spend percentile of the player.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
The default value for each field when there isn't enough data to calculate. Please check the value against this before using it.
The average session length of the player in minutes. Session length is determined by the time that a player is signed in to Google Play Games services.
UNSET_VALUE
.
The approximate probability of the player not returning to play the game. Higher values indicate that a player is less likely to return.
UNSET_VALUE
.
The approximate number of days since the player last played.
UNSET_VALUE
.
The approximate number of in-app purchases for the player.
UNSET_VALUE
.
The approximate number of sessions of the player. Sessions are determined by the number of times that a player signs in to Google Play Games services.
UNSET_VALUE
.
The approximation of sessions percentile for the player. This value indicates how many sessions the current player has played in comparison to the rest of this game's player base. Higher numbers indicate that this player has played more sessions.
UNSET_VALUE
.
The approximate spend percentile of the player. This value indicates how much the current player has spent in comparison to the rest of this game's player base. Higher numbers indicate that this player has spent more.
UNSET_VALUE
.