Instance Method

player(_:receivedExchangeCancellation:for:)

Called when the exchange is cancelled by the sender.

Declaration

optional func player(_ player: GKPlayer, receivedExchangeCancellation exchange: GKTurnBasedExchange, for match: GKTurnBasedMatch)

Parameters

player

The GKPlayer object containing the current player’s information.

exchange

A GKTurnBasedExchange object containing the exchange that is cancelled.

match

The GKTurnBasedMatch object containing the current match information.