Instance Property

activeExchanges

Returns the exchanges that are active for the local player.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
@property(readonly, retain, nonatomic) NSArray<GKTurnBasedExchange *> *activeExchanges;
macOS
@property(readonly, retain, atomic) NSArray<GKTurnBasedExchange *> *activeExchanges;

See Also

Transferring Information with Exchanges

- saveMergedMatchData:withResolvedExchanges:completionHandler:

Saves the merged data for the current turn without ending the turn.

GKExchangeTimeoutDefault

The exchange will timeout after one day if no reply is received.

GKExchangeTimeoutNone

The exchange will not timeout.

completedExchanges

The exchanges that have been completed and need to be merged by the local participant.

exchangeDataMaximumSize

The maximum amount of data allowed for an exchange.

exchangeMaxInitiatedExchangesPerPlayer

Limits the number of exchanges the player can have initiated at once.

exchanges

The current exchanges that are in progress for the match.