The states returned to your game about other players in a voice chat.
On This Page
enum PlayerState : Int
The player connected to the channel.
The player left the channel.
The player began speaking.
The player stopped speaking.
The player is connecting to the channel, but is not yet connected.
var playerVoiceChatStateDidChangeHandler: (GKPlayer, GKVoiceChat.PlayerState) -> Void
A block that is called when a participant changes state.