java.lang.Object | |
↳ | com.google.android.gms.games.PlayerLevelInfo |
Data object representing the current level information of a player in the metagame.
APlayerLevelInfo
has four components: the player's current XP, the timestamp of the
player's last level-up, the player's current level, and the player's next level.
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Getter for the player's current level object.
| |||||||||||
Getter for the player's next level object.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||||||||
![]() |
Getter for the player's current level object. This object will be the same as the one
returned from getNextLevel()
if the player reached the maximum level.
Getter for the player's next level object. This object will be the same as the one returned
from getCurrentLevel()
if the player reached the maximum level.
getCurrentLevel()
is the same
as getNextLevel()
.