Snapshot

public interface Snapshot implements Freezable<Snapshot> Parcelable
Known Indirect Subclasses

Data interface for a representation of a saved game. This includes both the metadata and the actual game content.

Inherited Constant Summary

Public Method Summary

abstract SnapshotMetadata
getMetadata()
Retrieves the metadata for this snapshot.
abstract SnapshotContents
getSnapshotContents()
Retrieve the SnapshotContents associated with this snapshot.

Inherited Method Summary

Public Methods

public abstract SnapshotMetadata getMetadata ()

Retrieves the metadata for this snapshot.

Returns

public abstract SnapshotContents getSnapshotContents ()

Retrieve the SnapshotContents associated with this snapshot. This object can be used to update the data of a snapshot. Note that this will return null if this snapshot was not obtained via open(GoogleApiClient, SnapshotMetadata).

Returns
  • The SnapshotContents for this snapshot, or null if the snapshot is not opened.