getConversationListByPage

public abstract void getConversationListByPage(RongIMClient.ResultCallback<List<Conversation>> callback, long timeStamp, int count, Array<ConversationType> conversationTypes)

Paginates to get the conversation list.

Parameters

callback

The callback for retrieving the conversation list.

timeStamp

The timestamp in milliseconds. Conversations before this timestamp will be retrieved. Passing 0 indicates starting from the latest conversation. Refer to getSentTime.

count

The number of conversations to retrieve. If the actual number of retrieved conversations is less than the specified count, it indicates that all data has been fetched. It is recommended not to exceed 10, as fetching too many conversations at once may cause cross-process communication to crash, leading to failure in retrieving the conversation list and interruption of the communication connection.

conversationTypes

The types of conversations to retrieve.