Skip to main content
CometChatSoundManager is a helper class for managing and playing audio cues in the UI Kit — incoming/outgoing calls and messages.

Sound Events


Methods

play

Plays the default or custom audio resource for a given sound event.

pause

Pauses the currently playing sound and resets playback position.

Usage

Here is how to use CometChatSoundManager:
By using the CometChatSoundManager, you can enhance the user experience in your chat application by integrating audible cues for chat interactions.

Next Steps

Localize

Add multi-language support with automatic device language detection

Introduction to Theming

Learn how CometChatThemeProvider manages light and dark modes

Components Overview

Explore all available UI Kit components

Getting Started

Set up CometChat UI Kit in your React Native app