gpgs.multiplayer.turnbased.cancel()

Type Function
Return value none
Revision Release 2024.3703
Keywords Google Play Games Services, game network, gpgs, multiplayer, turn-based, cancel
See also gpgs.multiplayer.turnbased
gpgs.multiplayer
gpgs.*

Overview

Cancels a match.

Syntax

gpgs.multiplayer.turnbased.cancel( matchId )
params (required)

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

Parameter Reference

The params table contains parameters for the call.

matchId (required)

String. The match to cancel.

listener (optional)

Listener. Listener function which receives a cancel event.