Status codes for Games Clients methods result Task failures.
| int | ACHIEVEMENT_NOT_INCREMENTAL | Indicates that the call to increment achievement failed since the achievement is not an incremental achievement. |
| int | ACHIEVEMENT_UNKNOWN | Could not find the achievement, so the operation to update the achievement failed. |
| int | ACHIEVEMENT_UNLOCKED | Indicates that the incremental achievement was also unlocked when the call was made to increment the achievement. |
| int | ACHIEVEMENT_UNLOCK_FAILURE | An incremental achievement cannot be unlocked directly, so the call to unlock achievement failed. |
| int | APP_MISCONFIGURED | The developer has misconfigured their application in some way. |
| int | CONSENT_REQUIRED | The player needs to provide consent to allow the request. |
| int | GAME_NOT_FOUND | The specified game ID was not recognized by the server. |
| int | LICENSE_CHECK_FAILED | The game is not licensed to the user. |
| int | NETWORK_ERROR_NO_DATA | A network error occurred while attempting to retrieve fresh data, and no data was available locally. |
| int | NETWORK_ERROR_OPERATION_FAILED | A network error occurred while attempting to perform an operation that requires network access. |
| int | OPERATION_IN_FLIGHT | Trying to start a join/create operation while another is already in flight. |
| int | SNAPSHOT_COMMIT_FAILED | The attempt to commit the snapshot change failed. |
| int | SNAPSHOT_CONFLICT_MISSING | The conflict that was being resolved doesn't exist. |
| int | SNAPSHOT_CONTENTS_UNAVAILABLE | An error occurred while attempting to open the contents of the snapshot. |
| int | SNAPSHOT_CREATION_FAILED | The attempt to create a snapshot failed. |
| int | SNAPSHOT_FOLDER_UNAVAILABLE | The root folder for snapshots could not be found or created. |
| int | SNAPSHOT_NOT_FOUND | The specified snapshot does not exist on the server. |
| int | VIDEO_ALREADY_CAPTURING | Request could not complete because we were already capturing. |
| int | VIDEO_NOT_ACTIVE | Request could not complete because there is no active screencast capture session. |
| int | VIDEO_OUT_OF_DISK_SPACE | Request could not complete because the device is out of disk space. |
| int | VIDEO_PERMISSION_ERROR | Request could not complete due to permission problems. |
| int | VIDEO_STORAGE_ERROR | Request could not complete due to a storage I/O error. |
| int | VIDEO_UNEXPECTED_CAPTURE_ERROR | Request could not complete because something unrecoverable happened in the capture service. |
| int | VIDEO_UNSUPPORTED | Request could not complete because the request or its options are not supported. |
| static String |
getStatusCodeString(int statusCode)
Get the string associated with the status code.
|
Indicates that the call to increment achievement failed since the achievement is not an incremental achievement.
Could not find the achievement, so the operation to update the achievement failed.
Indicates that the incremental achievement was also unlocked when the call was made to increment the achievement.
An incremental achievement cannot be unlocked directly, so the call to unlock achievement failed.
The developer has misconfigured their application in some way. The logs will contain more data about the error and the appropriate resolution.
The player needs to provide consent to allow the request.
The specified game ID was not recognized by the server.
The game is not licensed to the user. Further calls will return the same code.
A network error occurred while attempting to retrieve fresh data, and no data was available locally.
A network error occurred while attempting to perform an operation that requires network access. The operation may be retried later.
Trying to start a join/create operation while another is already in flight.
The attempt to commit the snapshot change failed. See the device logs for more details.
The conflict that was being resolved doesn't exist. This could occur if another
device resolved this conflict first, or if an inappropriate conflict ID was provided to
SnapshotsClient.resolveConflict(String, Snapshot).
An error occurred while attempting to open the contents of the snapshot. See the device logs for more details.
The attempt to create a snapshot failed. See the device logs for more details.
The root folder for snapshots could not be found or created. See the device logs for more details on the failure.
The specified snapshot does not exist on the server.
Request could not complete because we were already capturing.
Request could not complete because there is no active screencast capture session.
Request could not complete because the device is out of disk space.
Request could not complete due to permission problems.
Request could not complete due to a storage I/O error.
Request could not complete because something unrecoverable happened in the capture service.
Request could not complete because the request or its options are not supported.
Get the string associated with the status code. This can be used for clearer logging messages to avoid having to look up error codes.
| statusCode | The status code to get the message string for. |
|---|