com.google.android.gms.games.achievement.Achievements.UpdateAchievementResult |
Result delivered when achievement data has been updated (revealed, unlocked or incremented).
Possible status codes include:
STATUS_OK
if data was successfully loaded and is up-to-date.
STATUS_NETWORK_ERROR_NO_DATA
if the device was unable to
retrieve any data from the network and has no data cached locally.STATUS_NETWORK_ERROR_STALE_DATA
if the device was unable to
retrieve the latest data from the network, but has some data cached locally.STATUS_NETWORK_ERROR_OPERATION_DEFERRED
if the device is offline
or was otherwise unable to post the achievement update to the server. The achievement
update was stored locally and will be posted to the server the next time the device is
online and is able to perform a sync (no further action is required from the client).STATUS_CLIENT_RECONNECT_REQUIRED
if the client needs to
reconnect to the service to access this data.STATUS_LICENSE_CHECK_FAILED
if the game is not licensed to the
user.STATUS_ACHIEVEMENT_UNLOCKED
if the state of the achievement is
STATE_UNLOCKED
after an increment operation. Continuing to increment
an already unlocked achievement will always return this status.STATUS_ACHIEVEMENT_UNKNOWN
if the achievement failed to update
because could not find the achievement to update.STATUS_ACHIEVEMENT_NOT_INCREMENTAL
if achievement failed to
increment since it is not an incremental achievement.STATUS_ACHIEVEMENT_UNLOCK_FAILURE
if the call to unlock
achievement failed.STATUS_INTERNAL_ERROR
if an unexpected error occurred in the
service.Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |