Instance Property

volume

The volume level for the voice channel.

Declaration

var volume: Float { get set }

Discussion

All voice data received from other participants is mixed and then scaled by the volume property. The volume property has a range between 0.0 and 1.0, inclusive. A volume level of 0.0 means the entire channel is muted; a value of 1.0 plays voice samples at full volume. The default value is 1.0.

See Also

Controlling Chat Volume

func setPlayer(GKPlayer, muted: Bool)

Mutes a participant in the chat.