Instance Property

isActive

A Boolean value that states whether the channel is sampling the microphone.

Declaration

var isActive: Bool { get set }

Discussion

When active is true, the voice chat samples the microphone and transmits the voice data to other players connected to the channel. Default value is false.

Only one GKVoiceChat object is allowed to sample the microphone at any given time. When your game sets the active property to true on a voice chat object, the previous voice chat object that owned the microphone (if there was one) sets its active property to false.