Type Function
Return value none
Revision Current Public Release (2018.3326)
Keywords Google Play Games Services, game network, gpgs, snapshots, save
See also gpgs.snapshots


Commits any modifications made to the snapshot. This will cause the changes to be synced to the server in the background.

Syntax params )
params (required)

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table contains parameters for the call.

snapshot (required)

Snapshot. The snapshot to save.

description (optional)

String. The description of this snapshot to be displayed to the player.

playedTime (optional)

Number. The number of milliseconds played by the player.

progress (optional)

Number. The progress value.

image (optional)

Table. Image object to upload and use as a snapshot cover image.

listener (optional)

Listener. Listener function which receives a save event.