Class ChannelListEventHandler

  • All Implemented Interfaces:

    
    public class ChannelListEventHandler
    extends MultiDataHandler
                        

    Channel list event listener handler

    Registers all event listeners that trigger channel list refresh, and notifies the ViewModel via DataKey.

    Monitored event types:

    • Channel events (draft, clear, unread, delete, status changes)
    • Message events (send, download, delete, recall, refresh, insert, clear)
    • Message reception (distinguishes online/offline batch mode)
    • Message recall
    • Cancel send
    • Channel status changes
    Since:

    5.10.4

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      boolean isInBatchMode() Whether currently in batch message reception mode (online or offline)
      boolean isInBatchOfflineMode() Whether currently in offline message batch reception mode
      void stop() Stops the handler.
      • Methods inherited from class ai.nexconn.chatui.base.BaseHandler

        isAlive
      • Methods inherited from class ai.nexconn.chatui.base.MultiDataHandler

        addDataChangeListener, notifyDataChange, notifyDataError, notifyDataError, replaceDataChangeListener
      • Methods inherited from class java.lang.Object

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

      • ChannelListEventHandler

        ChannelListEventHandler()
    • Method Detail

      • isInBatchMode

         boolean isInBatchMode()

        Whether currently in batch message reception mode (online or offline)

      • isInBatchOfflineMode

         boolean isInBatchOfflineMode()

        Whether currently in offline message batch reception mode

      • stop

         void stop()

        Stops the handler.