sendData(toAllPlayers:with:)
Transmits data to all players connected to the match.
Declaration
func sendData(toAllPlayers data: Data, with mode: GKMatch.SendDataMode) throwsParameters
- data:
The bytes to send.
- mode:
The mechanism used to send the data.
Mentioned in
Discussion
The match queues the data and transmits it when the network becomes available.