Enumeration

GKMatchSendDataMode

The mechanism used to transmit data to other players.

Declaration

typedef enum GKMatchSendDataMode : NSInteger {
    ...
} GKMatchSendDataMode;

Topics

Constants

GKMatchSendDataReliable

The data is sent continuously until it is successfully received by the intended recipients or the connection times out. Use this when you need to guarantee delivery and speed is not critical.

GKMatchSendDataUnreliable

The data is sent once and is not sent again if a transmission error occurs. Use this for small packets of data that must arrive quickly to be useful to the recipient.

See Also

Sending Data to Other Players

- chooseBestHostingPlayerWithCompletionHandler:

Determines the best player in the game to act as the server for a client-server match.

- sendData:toPlayers:dataMode:error:

Transmits data to a list of connected players.

- sendDataToAllPlayers:withDataMode:error:

Transmits data to all players connected to the match.