Class ChannelListReadReceiptHandler

  • All Implemented Interfaces:

    
    public class ChannelListReadReceiptHandler
    extends MultiDataHandler
                        

    Channel list read receipt handler

    Handles V5 read receipts, multi-device read status synchronization, and message editing.

    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
      void collectAndQueryReadReceiptInfo(List<BaseUiChannel> uiConversationList) Collects messages in the channel list that require V5 read receipt queries and initiates the query
      static boolean isIdentifierMatched(ChannelIdentifier id1, ChannelIdentifier id2) Checks whether two ChannelIdentifiers match
      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

      • ChannelListReadReceiptHandler

        ChannelListReadReceiptHandler()
    • Method Detail

      • collectAndQueryReadReceiptInfo

         void collectAndQueryReadReceiptInfo(List<BaseUiChannel> uiConversationList)

        Collects messages in the channel list that require V5 read receipt queries and initiates the query

        Parameters:
        uiConversationList - the current channel list
      • isIdentifierMatched

         static boolean isIdentifierMatched(ChannelIdentifier id1, ChannelIdentifier id2)

        Checks whether two ChannelIdentifiers match

      • stop

         void stop()

        Stops the handler.