Package io.rong.imlib
Interface RongIMClient.MessageExpansionListener
-
- All Implemented Interfaces:
public interface RongIMClient.MessageExpansionListener
-
-
Method Summary
Modifier and Type Method Description abstract voidonMessageExpansionUpdate(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 voidonMessageExpansionRemove(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
-
-
-
-