Skip to main content
CometChatSoundManager provides functionalities for managing audio playback for incoming / outgoing messages in 1:1 or group chat.

Audio resources

Methods

play

CometChatSoundManager.play method plays the in-built sounds audio resources for the above mentioned enum cases. It also allows for customisation of the audio resources. You can pass a mp3 file asset path of your choice.

pause

CometChatSoundManager.pause method pauses the ongoing audio resource for calls or messages

Usage