Unity logo Unity Documentation
  • Unity Docs Home
  • Unity Editor Manual
  • Unity Gaming Services Docs
  • Unity Gaming Services REST API Docs
Learning
  • Blog
  • Forums
  • Answers
  • Customer Service
  • Knowledge Base
  • Technical Support
  • Consulting Services
  • Asset Store
  • Connect
  • Dashboard
  • Distribute
  • Forum
  • Learn
Overview
Accounts
Authentication
Content Management
Cloud CodeCloud Content DeliveryCloud SaveRemote Config
DevOps
Build AutomationVersion Control
Multiplayer
Multiplay HostingLobbyMatchmakerRelay
Analytics & Player Engagement
AnalyticsGame OverridesPush Notifications
Communications & Safety
ModerationSafe TextVivox
Community
FriendsLeaderboards
Crash Reporting
Cloud Diagnostics
Game economy
EconomyIn-App Purchasing
Reference
Solutions
  • Overview
  • Get started
  • Pricing and billing
  • Concepts
  • Accounts
  • Analytics and Player Engagement
  • Community
  • Content Management
  • Crash Reporting
  • DevOps
  • In-Game Economy
  • Multiplayer
  • Secret Manager
  • Vivox Voice & Text
    • Introduction to Vivox Communications & Safety
    • Vivox Unity SDK
      • Overview
      • Get started
      • Release notes
      • Developer guide
        • Set up your project
        • Create voice and text channels
        • Messaging
        • Player management
          • Automatic connection recovery
          • Muting
          • Block functions
        • Device management
        • Audio management
        • Mobile development
        • Text-to-speech
        • Speech-to-text
        • Server-side-recording
        • Troubleshooting
      • Tutorials
      • Reference
      • Legacy Vivox Unity SDK (v15)
    • Vivox Unreal SDK
    • Vivox Core SDK
    • Vivox Safe Text
    • Vivox SDK privacy and consent
  • Release Notes
  1. Vivox Voice & Text
  2. Vivox Unity SDK
  3. Developer guide
  4. Player management
  5. Block functions

Block functions#

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 VivoxService.Instance.BlockPlayerAsync(string PlayerId) and VivoxService.Instance.UnblockPlayerAsync(string PlayerId) functions. PlayerId's are found in the VivoxParticipant construct representing each player in each channel.

  • Block functions
Unity logo Documentation
Copyright © 2025 Unity Technologies
  • Legal
  • Privacy Policy
  • Terms Of Use
  • Cookies
  • Do Not Sell or Share My Personal Information
  • Your Privacy Choices (Cookie Settings)
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.