AI-generated Key Takeaways
-
The Snapshots.CommitSnapshotResult interface is deprecated.
-
After a snapshot is committed, its data can no longer be modified without being re-opened.
-
Possible status codes indicate the outcome of the commit attempt.
-
The getSnapshotMetadata method returns the metadata for the committed snapshot.
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_OKif data was successfully committed. Note that a conflict may still occur later if the data uploads at a later time.GamesStatusCodes.STATUS_SNAPSHOT_NOT_FOUNDif the snapshot could not be found on the server.GamesStatusCodes.STATUS_SNAPSHOT_COMMIT_FAILEDif the commit attempt failed.GamesStatusCodes.STATUS_SNAPSHOT_CONFLICTif a conflict occurred while committing the update.GamesStatusCodes.STATUS_CLIENT_RECONNECT_REQUIREDif the client needs to reconnect to the service to perform this operation.GamesStatusCodes.STATUS_LICENSE_CHECK_FAILEDif the game is not licensed to the user.GamesStatusCodes.STATUS_INTERNAL_ERRORif an unexpected error occurred in the service.
Public Method Summary
| abstract SnapshotMetadata |
getSnapshotMetadata()
Returns the metadata for the snapshot that was committed.
|
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.