RongChatRoomClient

public abstract class RongChatRoomClient

Constructors

Link copied to clipboard
public void RongChatRoomClient()

Types

Link copied to clipboard
public interface ChatRoomActionListener
Chatroom Operation Listener
Link copied to clipboard
Chatroom Operation Listener
Link copied to clipboard
Callback for User Entering and Exiting Chatroom
Link copied to clipboard
Link copied to clipboard
public enum JoinMode
Chatroom join mode.
Link copied to clipboard
public interface KVFilter
Chatroom KV Callback Filter
Link copied to clipboard
public interface KVStatusListener
Chatroom KV State Change Listener

Functions

Link copied to clipboard
Adds a chatroom event notification listener.
Link copied to clipboard
public abstract boolean addKVStatusListener(RongChatRoomClient.KVStatusListener listener)
Add a listener for chatroom KV status changes
Link copied to clipboard
public abstract void bindChatRoomWithRTCRoom(String chatRoomId, String RTCRoomId, OperationCallback callback)
Binds a chatRoom and RTCRoom.
Link copied to clipboard
public static ChatRoomConfig chatRoomConfig()
Retrieves the default configuration for chatrooms.
Link copied to clipboard
public abstract void deleteChatRoomEntries(String roomId, List<String> chatRoomEntryList, boolean force, SetChatRoomKVCallback callback)
Batch delete chatroom custom attributes
Link copied to clipboard
public abstract void forceRemoveChatRoomEntry(String chatRoomId, String key, boolean sendNotification, String notificationExtra, OperationCallback callback)
Forcefully deletes custom attributes of a chatroom.
Link copied to clipboard
public abstract void forceSetChatRoomEntry(String chatRoomId, String key, String value, boolean sendNotification, boolean autoDelete, String notificationExtra, OperationCallback callback)
Forces the setting of custom attributes for a chatroom.
Link copied to clipboard
public abstract void getAllChatRoomEntries(String chatRoomId, ResultCallback<Map<String, String>> callback)
Retrieves all attributes of a chatroom.
Link copied to clipboard
public abstract void getChatRoomEntry(String chatRoomId, String key, ResultCallback<Map<String, String>> callback)
Retrieve a single chatroom attribute.
Link copied to clipboard
public abstract void getChatroomHistoryMessages(String targetId, long recordTime, int count, TimestampOrder order, IChatRoomHistoryMessageCallback callback)
Retrieve chatroom historical messages.
Link copied to clipboard
public abstract void getChatRoomInfo(String chatRoomId, int defMemberCount, ChatRoomMemberOrder order, ResultCallback<ChatRoomInfo> callback)
Retrieves chatroom information (including partial member information and the total number of members in the chatroom).
Link copied to clipboard
Link copied to clipboard
@Deprecated()
public abstract void joinChatRoom(String chatRoomId, int defMessageCount, OperationCallback callback)
Joins a chatroom.
@Deprecated()
public abstract void joinChatRoom(String chatRoomId, int defMessageCount, String extra, OperationCallback callback)
Join a chatroom.
Link copied to clipboard
@Deprecated()
public abstract void joinExistChatRoom(String chatRoomId, int defMessageCount, OperationCallback callback)
Joins an existing chatroom.
public abstract void joinExistChatRoom(String chatRoomId, int defMessageCount, ResultCallback<JoinChatRoomResponse> callback)
public abstract void joinExistChatRoom(String chatRoomId, int defMessageCount, String extra, ResultCallback<JoinChatRoomResponse> callback)
Join an existing chatroom.
Link copied to clipboard
public abstract void quitChatRoom(String chatRoomId, OperationCallback callback)
Exits the chatroom.
Link copied to clipboard
public abstract void removeChatRoomEntry(String chatRoomId, String key, boolean sendNotification, String notificationExtra, OperationCallback callback)
Deletes custom attributes of a chatroom.
Link copied to clipboard
Remove the chatroom event notification listener.
Link copied to clipboard
Removes the listener for KV status changes in the chatroom
Link copied to clipboard
Sets the chatroom operation listener.
Link copied to clipboard
Sets the chatroom operation extension listener.
Link copied to clipboard
public abstract void setChatRoomEntries(String chatRoomId, Map<String, String> chatRoomEntryMap, boolean autoDelete, boolean overWrite, SetChatRoomKVCallback callback)
Batch set custom attributes for a chatroom
Link copied to clipboard
public abstract void setChatRoomEntry(String chatRoomId, String key, String value, boolean sendNotification, boolean autoDelete, String notificationExtra, OperationCallback callback)
Sets custom attributes for a chatroom.
Link copied to clipboard
Set chat room members to join and exit listener.
Link copied to clipboard
public abstract void setCheckChatRoomDuplicateMessage(boolean enableCheck)
Sets whether to check for duplicate messages in the chatroom.
Link copied to clipboard
@Deprecated()
public abstract void setKVStatusListener(RongChatRoomClient.KVStatusListener listener)
Sets a listener for chatroom KV status changes