# 屏蔽功能

> How to block users to prevent communication with specific players.

Vivox SDK 提供屏蔽功能，允许用户在其所属的任何频道中阻止自己被特定用户听到或听到特定用户。

屏蔽功能由 [`VivoxService.Instance.BlockPlayerAsync(string PlayerId)`](https://docs.unity3d.com/Packages/com.unity.services.vivox@latest/index.html?subfolder=/api/Unity.Services.Vivox.IVivoxService.html#Unity_Services_Vivox_IVivoxService_BlockPlayerAsync_System_String_) 和 [`VivoxService.Instance.UnblockPlayerAsync(string PlayerId)`](https://docs.unity3d.com/Packages/com.unity.services.vivox@latest/index.html?subfolder=/api/Unity.Services.Vivox.IVivoxService.html#Unity_Services_Vivox_IVivoxService_UnblockPlayerAsync_System_String_) 函数进行管理。PlayerId 位于表示每个频道中的每个玩家的 `VivoxParticipant` 构造内。
