getTotalUnreadCount

public abstract void getTotalUnreadCount(RongIMClient.ResultCallback<Integer> callback)

Retrieves the total count of unread messages across all conversations.

Note: Excludes chatrooms; chatroom messages are not counted.

Parameters

callback

Callback for the unread message count.


public abstract void getTotalUnreadCount(RongIMClient.ResultCallback<Integer> callback, Array<Conversation> conversations)

Retrieves the total count of unread messages for all specified conversations.

Note: Chatrooms are excluded, and chatroom messages are not counted.

Parameters

callback

Callback for retrieving the total count of unread messages for specified conversations.

conversations

Specified conversations.