Package io.rong.imlib.model
Class ChatRoomConfig
-
- All Implemented Interfaces:
public class ChatRoomConfig
-
-
Constructor Summary
Constructors Constructor Description ChatRoomConfig()
-
Method Summary
Modifier and Type Method Description voidclearMessagesAndKVWhenJoinChatRoom(boolean clear)加入聊天室时,是否清除该聊天室本地历史消息和 KV。 默认清除历史消息和 KV。 booleanshouldClearMessagesAndKVWhenJoin()-
-
Method Detail
-
clearMessagesAndKVWhenJoinChatRoom
void clearMessagesAndKVWhenJoinChatRoom(boolean clear)
加入聊天室时,是否清除该聊天室本地历史消息和 KV。 默认清除历史消息和 KV。
- Parameters:
clear- 是否清除历史消息和 KV。true 清除,false 不清除。
-
shouldClearMessagesAndKVWhenJoin
boolean shouldClearMessagesAndKVWhenJoin()
-
-
-
-