object.write()

Type Function
Return value Boolean
Revision Release 2024.3703
Keywords Google Play Games Services, game network, gpgs, SnapshotContents, write
See also SnapshotContents
gpgs.snapshots
gpgs.*

Overview

Writes the specified data into the snapshot and returns true upon success. The data will persist on disk but it's not uploaded to the server until the snapshot is saved.

Syntax

object.write( payload )
payload (required)

String. The data to replace the snapshot content with.