This interface is deprecated.
Is not used in the AchievementsClient
.
Result delivered when achievement data has been updated (revealed, unlocked or incremented).
Possible status codes include:
GamesStatusCodes.STATUS_OK
if data was successfully loaded and is up-to-date.GamesStatusCodes.STATUS_NETWORK_ERROR_NO_DATA
if the device was unable to retrieve any data from the network and has no data cached locally.GamesStatusCodes.STATUS_NETWORK_ERROR_STALE_DATA
if the device was unable to retrieve the latest data from the network, but has some data cached locally.GamesStatusCodes.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).GamesStatusCodes.STATUS_CLIENT_RECONNECT_REQUIRED
if the client needs to reconnect to the service to access this data.GamesStatusCodes.STATUS_LICENSE_CHECK_FAILED
if the game is not licensed to the user.GamesStatusCodes.STATUS_ACHIEVEMENT_UNLOCKED
if the state of the achievement isAchievement.STATE_UNLOCKED
after an increment operation. Continuing to increment an already unlocked achievement will always return this status.GamesStatusCodes.STATUS_ACHIEVEMENT_UNKNOWN
if the achievement failed to update because could not find the achievement to update.GamesStatusCodes.STATUS_ACHIEVEMENT_NOT_INCREMENTAL
if achievement failed to increment since it is not an incremental achievement.GamesStatusCodes.STATUS_ACHIEVEMENT_UNLOCK_FAILURE
if the call to unlock achievement failed.GamesStatusCodes.STATUS_INTERNAL_ERROR
if an unexpected error occurred in the service.
Public Method Summary
abstract String |
Inherited Method Summary
Public Methods
public abstract String getAchievementId ()
Returns
- The ID of the achievement that was updated.