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 ConfigUser Generated Content
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
    • Introduction to Vivox Communications & Safety
    • Vivox Voice & Text
      • Overview
      • Get started
      • Release notes
      • Concepts
        • 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
      • Privacy and consent
      • Legacy Vivox Unity SDK (v15)
    • Vivox Unreal
    • Vivox Safe Text
  • Release Notes
  1. Vivox
  2. Vivox Voice & Text
  3. Concepts
  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.