Package io.rong.imlib
Interface IRongCoreListener.MessageExpansionListener
-
- All Implemented Interfaces:
public interface IRongCoreListener.MessageExpansionListener
-
-
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. -
-
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 informationmessage
- 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 informationmessage
- The message object
-
-
-
-