Interface ChannelEventListener

  • All Implemented Interfaces:

    
    public interface ChannelEventListener
    
                        

    Listener for channel-level events dispatched by NCChatUI.

    All methods have default empty implementations; override only the callbacks you need.

    Callback sources:

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void onSaveDraft(ChannelIdentifier channelIdentifier, String content) Called when a draft is saved for a channel.
      void onClearedUnreadStatus(ChannelIdentifier channelIdentifier) Called when the unread status of a channel is cleared.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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 saved
        content - 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