Contents

isActive

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

Declaration

var isActive: Bool { get set }

Mentioned in

Discussion

If you set this property to true, the voice chat object transmits the voice data from the microphone to other players in the channel. If another voice chat object is using the microphone, GameKit switches the microphone to this channel and sets that voice chat object’s isActive property to false.

The default value for this property is false.

See Also

Starting and Stopping Voice Chat