Block functions
How to block users to prevent communication with specific players.
Read time 1 minuteLast updated 7 months ago
The Vivox SDK offers blocking functionality, allowing a user to prevent themselves from being heard by or hearing a specific user, in any channel that they are a part of.
Blocking is managed by the and functions. PlayerId's are found in the construct representing each player in each channel.
VivoxService.Instance.BlockPlayerAsync(string PlayerId)VivoxService.Instance.UnblockPlayerAsync(string PlayerId)VivoxParticipant