Package io.rong.imlib.chatroom.base
Interface RongChatRoomClient.KVFilter
-
- All Implemented Interfaces:
public interface RongChatRoomClient.KVFilter聊天室 KV 回调过滤器
-
-
Method Summary
Modifier and Type Method Description abstract voidonKVSync(String roomId)加入聊天室成功后 KV 与服务端同步完成 abstract Map<String, String>filterKVUpdateMap(String roomId, Map<String, String> chatRoomKvMap)过滤 KV 被增加、修改时的数据 abstract Map<String, String>filterKVRemoveMap(String roomId, Map<String, String> chatRoomKvMap)过滤 KV 被删除时的数据 abstract Map<String, String>filterKVGetAllMap(String roomId, Map<String, String> chatRoomKvMap)过滤获取所有 kv 时的数据 -
-
Method Detail
-
filterKVUpdateMap
abstract Map<String, String> filterKVUpdateMap(String roomId, Map<String, String> chatRoomKvMap)
过滤 KV 被增加、修改时的数据
- Parameters:
roomId- 聊天室 idchatRoomKvMap- 发生变化的 KV- Returns:
过滤后的 KV 集合
-
filterKVRemoveMap
abstract Map<String, String> filterKVRemoveMap(String roomId, Map<String, String> chatRoomKvMap)
过滤 KV 被删除时的数据
- Parameters:
roomId- 聊天室 idchatRoomKvMap- 被删除的 KV- Returns:
过滤后的 KV 集合
-
-
-
-