Skip to main content
Events provide decoupled communication between UI Kit components. Components emit events in response to user interactions or state changes, allowing other parts of the application to react without direct component references. Both Components and Composite Components have the ability to emit events. By emitting events, these components allow other parts of the application to react to changes or interactions, enabling dynamic and interactive behavior within the application.

CometChatConversationEventListener

CometChatConversationEventListener emits events when the logged-in user executes some action on a conversation object.

CometChatUserEventListener

CometChatUserEventListener emits events when the logged-in user executes some action on an user object. It consists of the following events:

CometChatGroupEventListener

CometChatGroupEventListener emits events when the logged-in user executes some action on a group object. It consists of the following events:

CometChatMessageEvents

CometChatMessageEvents emits events when the logged-in user executes some action on a message object. It consists of the following events:

CometChatCallEvents

CometChatCallEvents emits events when the logged-in user executes some action on a call object. It consists of the following events:

CometChatUIEventListener

UI events refer to actions or interactions performed by a user within the CometChat UI Kit. These events are triggered when a user interacts with various UI elements, such as buttons, menus, checkboxes, input fields, or any other interactive components. It consists of the following events:

Next Steps

Methods

Initialize and authenticate with CometChatUIKit

Components Overview

Explore all available UI components

Conversations

Display and manage conversation lists

Message List

Display messages in a conversation