public static interface Snapshots.CommitSnapshotResult implements Result
This interface is deprecated.
SnapshotMetadata
is returned directly in the SnapshotsClient
.
Result delivered when a snapshot has been committed. At this point, the snapshot's data may no longer be modified without being re-opened first.
Possible status codes include:
GamesStatusCodes.STATUS_OK
if data was successfully committed. Note that a conflict may still occur later if the data uploads at a later time.GamesStatusCodes.STATUS_SNAPSHOT_NOT_FOUND
if the snapshot could not be found on the server.GamesStatusCodes.STATUS_SNAPSHOT_COMMIT_FAILED
if the commit attempt failed.GamesStatusCodes.STATUS_SNAPSHOT_CONFLICT
if a conflict occurred while committing the update.GamesStatusCodes.STATUS_CLIENT_RECONNECT_REQUIRED
if the client needs to reconnect to the service to perform this operation.GamesStatusCodes.STATUS_LICENSE_CHECK_FAILED
if the game is not licensed to the user.GamesStatusCodes.STATUS_INTERNAL_ERROR
if an unexpected error occurred in the service.
Public Method Summary
abstract SnapshotMetadata |
Inherited Method Summary
Public Methods
public abstract SnapshotMetadata getSnapshotMetadata ()
Returns
- The metadata for the snapshot that was committed. Note that the original
Snapshot
may no longer be used to write data.