public interface

Snapshot

implements Freezable<Snapshot> Parcelable
com.google.android.gms.games.snapshot.Snapshot
Known Indirect Subclasses

Class Overview

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

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
abstract SnapshotMetadata getMetadata()
Retrieves the metadata for this snapshot.
abstract SnapshotContents getSnapshotContents()
Retrieve the SnapshotContents associated with this snapshot.
[Expand]
Inherited Methods
From interface com.google.android.gms.common.data.Freezable
From interface android.os.Parcelable

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