gpgs.snapshots.resolveConflict()

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

Overview

Resolve a conflict using the data from the provided snapshot. This will replace the data on the server with the specified snapshot. Note that it is possible for this operation to result in a conflict itself, in which case resolution should be repeated.

Syntax

gpgs.snapshots.resolveConflict(params)
params (required)

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

Parameter Reference

conflictId (required)

String. Conflict to resolve.

snapshotId (required)

String. Snapshot to delete.

listener (optional)

Listener. Receives resolveConflict event.