com.google.android.gms.games.snapshot.Snapshots.CommitSnapshotResult |
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:
STATUS_OK
if data was successfully
committed. Note that a conflict may still occur later if the data uploads at a later
time.
STATUS_SNAPSHOT_NOT_FOUND
if the
snapshot could not be found on the server.
STATUS_SNAPSHOT_COMMIT_FAILED
if
the commit attempt failed.
STATUS_SNAPSHOT_CONFLICT
if a
conflict occurred while committing the update.
STATUS_CLIENT_RECONNECT_REQUIRED
if
the client needs to reconnect to the service to perform this operation.
STATUS_LICENSE_CHECK_FAILED
if the
game is not licensed to the user.
STATUS_INTERNAL_ERROR
if an
unexpected error occurred in the service.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns | |
---|---|
SnapshotMetadata |
The metadata for the snapshot that was committed. Note that the original Snapshot may no longer be used to write data.
|