NIMSDK-AOS  10.5.0
QChatServiceObserver.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat;
2 
3 import com.netease.nimlib.apt.annotation.NIMService;
4 import com.netease.nimlib.invocation.ObserverInterface;
20 import java.util.List;
21 
22 @NIMService("圈组观察者")
23 @ObserverInterface
24 public interface QChatServiceObserver {
31  void observeStatusChange(Observer<QChatStatusChangeEvent> observer, boolean register);
32 
40  void observeMultiSpotLogin(Observer<QChatMultiSpotLoginEvent> observer, boolean register);
41 
48  void observeKickedOut(Observer<QChatKickedOutEvent> observer, boolean register);
49 
56  void observeReceiveMessage(Observer<List<QChatMessage>> observer, boolean register);
57 
64  void observeMessageUpdate(Observer<QChatMessageUpdateEvent> observer, boolean register);
65 
72  void observeMessageRevoke(Observer<QChatMessageRevokeEvent> observer, boolean register);
73 
80  void observeMessageDelete(Observer<QChatMessageDeleteEvent> observer, boolean register);
81 
90  void observeUnreadInfoChanged(Observer<QChatUnreadInfoChangedEvent> observer, boolean register);
91 
101 
108  void observeMessageStatusChange(Observer<QChatMessage> observer, boolean register);
109 
116  void observeAttachmentProgress(Observer<AttachmentProgress> observer, boolean register);
117 
123  void observeReceiveSystemNotification(Observer<List<QChatSystemNotification>> observer, boolean register);
124 
132 
138  void observePushNoDisturbConfigUpdate(Observer<QChatPushConfig> observer, boolean register);
139 
145  void observeReceiveTypingEvent(Observer<QChatTypingEvent> observer, boolean register);
146 }
void observeAttachmentProgress(Observer< AttachmentProgress > observer, boolean register)
注册/注销消息附件上传/下载进度观察者,以message id作为key
void observeMessageDelete(Observer< QChatMessageDeleteEvent > observer, boolean register)
注册/注销消息删除观察者
void observeMessageStatusChange(Observer< QChatMessage > observer, boolean register)
注册/注销消息状态变化观察者
void observeReceiveSystemNotification(Observer< List< QChatSystemNotification >> observer, boolean register)
注册/注销系统通知接收事件观察者
void observeMultiSpotLogin(Observer< QChatMultiSpotLoginEvent > observer, boolean register)
注册/注销多端登录状态观察者。当有其他端登录或者注销时,会通过此接口通知到UI。 登录成功后,如果有其他...
void observeMessageRevoke(Observer< QChatMessageRevokeEvent > observer, boolean register)
注册/注销消息撤回观察者
void observePushNoDisturbConfigUpdate(Observer< QChatPushConfig > observer, boolean register)
注册/注销推送免打扰配置更新观察者
void observeReceiveMessage(Observer< List< QChatMessage >> observer, boolean register)
注册/注销消息接收观察者。
void observeServerUnreadInfoChanged(Observer< QChatServerUnreadInfoChangedEvent > observer, boolean register)
注册/注销服务器未读通知接收观察者。 订阅、标记消息已读、收到新消息或新消息通知会触发该通知 如果服务器...
void observeStatusChange(Observer< QChatStatusChangeEvent > observer, boolean register)
注册/注销圈组在线状态/登录状态观察者
void observeReceiveTypingEvent(Observer< QChatTypingEvent > observer, boolean register)
注册/注销正在输入事件观察者
void observeUnreadInfoChanged(Observer< QChatUnreadInfoChangedEvent > observer, boolean register)
注册/注销新的未读通知接收观察者。 订阅、标记消息已读、收到新消息或新消息通知会触发该通知 通知事件内的...
void observeSystemNotificationUpdate(Observer< QChatSystemNotificationUpdateEvent > observer, boolean register)
注册/注销系统通知更新观察者
void observeMessageUpdate(Observer< QChatMessageUpdateEvent > observer, boolean register)
注册/注销消息更新观察者
void observeKickedOut(Observer< QChatKickedOutEvent > observer, boolean register)
注册/注销被踢出圈组观察者。