Enumeration

GKTransportType

The mechanism used to send messages to other players in a game session.

Declaration

enum GKTransportType : Int

Topics

Constants

case reliable

The data is sent continuously until it is successfully received by the intended recipients or the connection times out.

case unreliable

The data is sent once and is not sent again if a transmission error occurs.

See Also

Connecting Players for Real-Time Communication

func players(with: GKConnectionState) -> [GKCloudPlayer]

Retrieves a list of players with the specified connection state.

Deprecated
func send(Data, with: GKTransportType, completionHandler: (Error?) -> Void)

Sends the indicated data to all connected players.

Deprecated