Package io.rong.imlib

Interface IRongCoreListener.MessageExpansionListener

    • 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
      abstract void onMessageExpansionUpdate(Map<String, String> expansion, Message message) Callback for message extension information changes The `expansion` parameter only contains the updated key-value pairs, not the complete data.
      abstract void onMessageExpansionRemove(List<String> keyArray, Message message) Callback triggered when message extension information is deleted.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onMessageExpansionUpdate

         abstract void onMessageExpansionUpdate(Map<String, String> expansion, Message message)

        Callback for message extension information changes

        The `expansion` parameter only contains the updated key-value pairs, not the complete data. To retrieve all key-value pairs, use the `expansion` property of the `message` object.

        Parameters:
        expansion - Updated key-value pairs in the message extension information
        message - The message object
      • onMessageExpansionRemove

         abstract void onMessageExpansionRemove(List<String> keyArray, Message message)

        Callback triggered when message extension information is deleted.

        Parameters:
        keyArray - List of keys removed from the message extension information
        message - The message object