public class UnReadMessageManager
extends RongIMClient.OnReceiveMessageWrapperListener
Modifier and Type | Class and Description |
---|---|
static interface |
UnReadMessageManager.IUnReadMessageObserver |
Modifier and Type | Method and Description |
---|---|
void |
addObserver(Conversation.ConversationType[] conversationTypes,
UnReadMessageManager.IUnReadMessageObserver observer) |
void |
clearObserver() |
static UnReadMessageManager |
getInstance() |
boolean |
onReceived(Message message,
int left,
boolean hasPackage,
boolean offline) |
void |
onSyncConversationReadStatus(Conversation.ConversationType type,
java.lang.String targetId) |
void |
removeObserver(UnReadMessageManager.IUnReadMessageObserver observer) |
public void onSyncConversationReadStatus(Conversation.ConversationType type, java.lang.String targetId)
public static UnReadMessageManager getInstance()
public boolean onReceived(Message message, int left, boolean hasPackage, boolean offline)
public void addObserver(Conversation.ConversationType[] conversationTypes, UnReadMessageManager.IUnReadMessageObserver observer)
public void removeObserver(UnReadMessageManager.IUnReadMessageObserver observer)
public void clearObserver()