gpgs.snapshots.resolveConflict()

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

Overview

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

Syntax

gpgs.snapshots.resolveConflict( 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.

conflictId (required)

String. The conflict to resolve.

snapshot (required)

Snapshot. The snapshot to use to resolve the conflict.

listener (optional)

Listener. Listener function which receives a resolveConflict event.