Contents

start()

Starts communication with other players in a channel.

Declaration

func start()

Mentioned in

Discussion

You must provide a reason, by adding the NSMicrophoneUsageDescription key to the Information Property List, to start voice chat with other players.

If the player grants permission to use the microphone and this method successfully connects to the channel, GameKit plays voice data from the other players automatically. Use the isActive property to begin sending the local player’s microphone data to the channel.

A player can only start voice chat if their device has a microphone and they connect to Wi-Fi.

See Also

Starting and Stopping Voice Chat