object.write()

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

Overview

Write the specified data into the snapshot. The data will be persisted on disk, but is not uploaded to the server until the snapshot is saved.

Returns Boolean - true on success.

Syntax

object.write(payload)
payload (optional)

String. The data replace the snapshot content with.