Package ai.nexconn.chatui.handler
Interface ChannelEventListener
-
- All Implemented Interfaces:
public interface ChannelEventListenerListener for channel-level events dispatched by NCChatUI.
All methods have default empty implementations; override only the callbacks you need.
Callback sources:
- saveDraft → onSaveDraft
- syncConversationReadStatus → onClearedUnreadStatus
-
-
Method Summary
Modifier and Type Method Description voidonSaveDraft(ChannelIdentifier channelIdentifier, String content)Called when a draft is saved for a channel. voidonClearedUnreadStatus(ChannelIdentifier channelIdentifier)Called when the unread status of a channel is cleared. -
-
Method Detail
-
onSaveDraft
void onSaveDraft(ChannelIdentifier channelIdentifier, String content)
Called when a draft is saved for a channel.
Triggered by saveDraft.
- Parameters:
channelIdentifier- the channel for which the draft was savedcontent- the draft content
-
onClearedUnreadStatus
void onClearedUnreadStatus(ChannelIdentifier channelIdentifier)
Called when the unread status of a channel is cleared.
Triggered by syncConversationReadStatus.
- Parameters:
channelIdentifier- the channel whose unread status was cleared
-
-
-
-