| Modifier and Type | Class and Description |
|---|---|
class |
Games.Achievements.Increment |
class |
Games.Achievements.List |
class |
Games.Achievements.Reveal |
class |
Games.Achievements.Unlock |
| Constructor and Description |
|---|
Games.Achievements() |
| Modifier and Type | Method and Description |
|---|---|
Games.Achievements.Increment |
increment(String achievementId,
Integer stepsToIncrement)
Increments the steps of the achievement with the given ID for the currently authenticated player.
|
Games.Achievements.List |
list(String playerId)
Lists the progress for all your application's achievements for the currently authenticated
player.
|
Games.Achievements.Reveal |
reveal(String achievementId)
Sets the state of the achievement with the given ID to REVEALED for the currently authenticated
player.
|
Games.Achievements.Unlock |
unlock(String achievementId)
Unlocks this achievement for the currently authenticated player.
|
public Games.Achievements.Increment increment(String achievementId, Integer stepsToIncrement) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.achievementId - The ID of the achievement used by this method.stepsToIncrement - The number of steps to increment.
[minimum: 1]IOExceptionpublic Games.Achievements.List list(String playerId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.playerId - A player ID. A value of me may be used in place of the authenticated player's ID.IOExceptionpublic Games.Achievements.Reveal reveal(String achievementId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.achievementId - The ID of the achievement used by this method.IOExceptionpublic Games.Achievements.Unlock unlock(String achievementId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.achievementId - The ID of the achievement used by this method.IOException