Instance Method

setPlayer(_:muted:)

Mutes a participant in the chat.

Declaration

func setPlayer(_ player: GKPlayer, muted isMuted: Bool)

Parameters

player

The GKPlayer object identifying the player to be muted.

isMuted

Determines whether the player is to be muted or not.

Discussion

When a player is muted, the local player does not hear voice data transmitted by that player.

See Also

Controlling Chat Volume

var volume: Float

The volume level for the voice channel.