Package io.rong.imlib
Interface RongIMClient.KVStatusListener
-
- All Implemented Interfaces:
public interface RongIMClient.KVStatusListenerListens for changes in chatroom KV status
-
-
Method Summary
Modifier and Type Method Description abstract voidonChatRoomKVSync(String roomId)KV synchronization with the server is completed after successfully joining the chatroom. abstract voidonChatRoomKVUpdate(String roomId, Map<String, String> chatRoomKvMap)KV is added or modified (including the completion of all KV callbacks after successfully joining the chatroom) abstract voidonChatRoomKVRemove(String roomId, Map<String, String> chatRoomKvMap)KV deleted -
-
Method Detail
-
onChatRoomKVSync
abstract void onChatRoomKVSync(String roomId)
KV synchronization with the server is completed after successfully joining the chatroom.
- Parameters:
roomId- The ID of the chatroom.
-
onChatRoomKVUpdate
abstract void onChatRoomKVUpdate(String roomId, Map<String, String> chatRoomKvMap)
KV is added or modified (including the completion of all KV callbacks after successfully joining the chatroom)
- Parameters:
roomId- The ID of the chatroomchatRoomKvMap- The KV that has changed
-
onChatRoomKVRemove
abstract void onChatRoomKVRemove(String roomId, Map<String, String> chatRoomKvMap)
KV deleted
- Parameters:
roomId- Chatroom IDchatRoomKvMap- The deleted KV
-
-
-
-