getTotalUnreadCount

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

Get the total count of unread messages across all conversations.

Note: This does not include chatrooms; chatroom messages are not counted.

Since

5.0.0

Parameters

callback

Callback for the unread message count.


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

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

Note: Chatroom messages are not included in the count.

Since

5.0.0

Parameters

callback

Callback to retrieve the total unread count for specified conversations.

conversations

Specified conversations.