The status of an exchange or reply.


enum GKTurnBasedExchangeStatus : Int8



case unknown

The state of the exchange or reply is not currently known.

case active

The exchange or reply is currently active.

case complete

The exchange or reply has been completed.

case resolved

The exchange or reply has been resolved.

case canceled

The exchange or reply has been cancelled.

See Also

Responding to an Exchange

var completionDate: Date?

The date when the exchange was completed.

var data: Data?

Data that is sent with the exchange.

var exchangeID: String

A persistent identifier that is used when referring to this exchange.

var message: String?

The localized message that is pushed to all of the recipients of the exchange.

var recipients: [GKTurnBasedParticipant]

The players to receive the exchange.

var sendDate: Date

The date that the exchange was sent out.

var sender: GKTurnBasedParticipant

The participant who sent the exchange.

var status: GKTurnBasedExchangeStatus

The current status of the exchange.

var timeoutDate: Date?

The amount of time the exchange is to stay active before timing out.