Skip to main content
CometChatSoundManager handles audio playback for calls and messages. It lives in chatuikit-core and is shared by both the Kotlin XML Views and Jetpack Compose modules.

Sound Events


Usage

The API is identical for both Kotlin XML Views and Jetpack Compose since CometChatSoundManager is a plain Kotlin class from chatuikit-core.

Disable Sounds on Components

Both UI Kit modules let you disable sounds on individual components. For calls, setDisableSoundForCalls and setCustomSoundForCalls apply to the outgoing ringback tone; the incoming ringtone belongs to the Push Notifications SDK and is changed through the notification channel, not here.

API Reference