Page Summary
-
The
Snapshots.LoadSnapshotsResultinterface is deprecated. -
SnapshotMetadataBufferis now returned directly in theSnapshotsClient. -
This interface represents the result delivered after snapshot data has been loaded, with various possible status codes indicating success or different error conditions.
-
The
getSnapshots()method returns the requested snapshot data as aSnapshotMetadataBuffer, which must be closed by the listener.
This interface is deprecated.
SnapshotMetadataBuffer is returned directly in the SnapshotsClient.
Result delivered when snapshot data has been loaded.
Possible status codes include:
GamesStatusCodes.STATUS_OKif data was successfully loaded and is up-to-date.GamesStatusCodes.STATUS_NETWORK_ERROR_NO_DATAif the device was unable to retrieve any data from the network and has no data cached locally.GamesStatusCodes.STATUS_NETWORK_ERROR_STALE_DATAif the device was unable to retrieve the latest data from the network, but has some data cached locally.GamesStatusCodes.STATUS_CLIENT_RECONNECT_REQUIREDif the client needs to reconnect to the service to access this data.GamesStatusCodes.STATUS_LICENSE_CHECK_FAILEDif the game is not licensed to the user.GamesStatusCodes.STATUS_INTERNAL_ERRORif an unexpected error occurred in the service.
Public Method Summary
| abstract SnapshotMetadataBuffer |
getSnapshots()
Returns the snapshot data that was requested.
|
Inherited Method Summary
Public Methods
public abstract SnapshotMetadataBuffer getSnapshots ()
Returns the snapshot data that was requested. This is guaranteed to be non-null, though it may be empty. The listener must close this object when finished.