SnapshotEntity
Stay organized with collections
Save and categorize content based on your preferences.
Data object representing the data for a saved game. This is immutable, and therefore safe
to cache or store. Note, however, that the data it represents may grow stale.
This class exists solely to support parceling these objects and should not be used
directly.
Inherited Constant Summary
From interface android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
Inherited Method Summary
From class java.lang.Object
From interface android.os.Parcelable
abstract int |
describeContents
()
|
abstract void |
writeToParcel
( Parcel
arg0,
int arg1)
|
From interface
com.google.android.gms.common.data.Freezable
Public Methods
public boolean
equals
( Object
obj)
Retrieves the metadata for this snapshot.
public boolean
isDataValid
()
public void
writeToParcel
( Parcel
out, int
flags)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eSnapshotEntity\u003c/code\u003e is an immutable data object representing saved game data, suitable for caching or storage.\u003c/p\u003e\n"],["\u003cp\u003eIt implements \u003ccode\u003eParcelable\u003c/code\u003e and \u003ccode\u003eSnapshot\u003c/code\u003e interfaces, primarily for supporting data parceling.\u003c/p\u003e\n"],["\u003cp\u003eThis class is not intended for direct use and may contain stale data over time.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSnapshotEntity\u003c/code\u003e provides access to the snapshot's metadata and contents for retrieval and potential updates.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should utilize \u003ccode\u003eSnapshotsClient.open()\u003c/code\u003e to obtain a \u003ccode\u003eSnapshotEntity\u003c/code\u003e with accessible content.\u003c/p\u003e\n"]]],[],null,[]]