Summary: Methods | Inherited Methods | [Expand All]
public static interface

# Snapshots.CommitSnapshotResult

implements Result

com.google.android.gms.games.snapshot.Snapshots.CommitSnapshotResult

## Class Overview

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.

## Summary

Public Methods
abstract SnapshotMetadata | getSnapshotMetadata()

[Expand] Inherited Methods
From interface com.google.android.gms.common.api.Result
abstract Status | getStatus() Returns the status of this result.

## 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.