Hide

Snapshot

public interface Snapshot implements Freezable<Snapshot> Parcelable
com.google.android.gms.games.snapshot.Snapshot
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
abstract SnapshotContents

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