setMute(_:forPlayer:)
Mutes a player in a voice chat.
Declaration
func setMute(_ isMuted: Bool, forPlayer playerID: String)Parameters
- isMuted:
Determines whether to mute or unmute the player.
- playerID:
The player identifier string for a player in the match.
Discussion
If you mute a player, the local player doesn’t hear voice data transmitted by that player.