Class ChannelListReadReceiptHandler

  • All Implemented Interfaces:

    
    public class ChannelListReadReceiptHandler
    
                        

    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()
      • 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