Contents

player(_:receivedExchangeCancellation:for:)

Handles when the sender cancels an exchange request they intiated.

Declaration

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

Parameters

  • player:

    The player who receives this turn-based event.

  • exchange:

    The exchange request that the sender cancels.

  • match:

    The match related to this turn-based event.

Mentioned in

See Also

Handling Data Exchanges