Package io.rong.imlib

## Interface RongIMClient.KVStatusListener

- All Implemented Interfaces:

      public interface RongIMClient.KVStatusListener

  聊天室 KV 状态变化的监听

- - ### 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` | `onChatRoomKVSync(String roomId)` | 加入聊天室成功后 KV 与服务端同步完成
    `abstract void` | `onChatRoomKVUpdate(String roomId, Map<String, String> chatRoomKvMap)` | KV 被增加、修改（包含加入聊天室成功后，同步完成回调全部 KV）
    `abstract void` | `onChatRoomKVRemove(String roomId, Map<String, String> chatRoomKvMap)` | KV 被删除

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### onChatRoomKVSync

           abstract void onChatRoomKVSync(String roomId)

      加入聊天室成功后 KV 与服务端同步完成

      Parameters:
        `roomId` - 聊天室 id

    - #### onChatRoomKVUpdate

           abstract void onChatRoomKVUpdate(String roomId, Map<String, String> chatRoomKvMap)

      KV 被增加、修改（包含加入聊天室成功后，同步完成回调全部 KV）

      Parameters:
        `roomId` - 聊天室 id
        `chatRoomKvMap` - 发生变化的 KV

    - #### onChatRoomKVRemove

           abstract void onChatRoomKVRemove(String roomId, Map<String, String> chatRoomKvMap)

      KV 被删除

      Parameters:
        `roomId` - 聊天室 id
        `chatRoomKvMap` - 被删除的 KV