public interface QChatServiceObserver
限定符和类型 | 方法和说明 |
---|---|
void |
observeAttachmentProgress(Observer<AttachmentProgress> observer,
boolean register)
注册/注销消息附件上传/下载进度观察者,以message id作为key
|
void |
observeKickedOut(Observer<QChatKickedOutEvent> observer,
boolean register)
注册/注销被踢出圈组观察者。
|
void |
observeMessageDelete(Observer<QChatMessageDeleteEvent> observer,
boolean register)
注册/注销消息删除观察者
|
void |
observeMessageRevoke(Observer<QChatMessageRevokeEvent> observer,
boolean register)
注册/注销消息撤回观察者
|
void |
observeMessageStatusChange(Observer<QChatMessage> observer,
boolean register)
注册/注销消息状态变化观察者
|
void |
observeMessageUpdate(Observer<QChatMessageUpdateEvent> observer,
boolean register)
注册/注销消息更新观察者
|
void |
observeMultiSpotLogin(Observer<QChatMultiSpotLoginEvent> observer,
boolean register)
注册/注销多端登录状态观察者。
|
void |
observePushNoDisturbConfigUpdate(Observer<QChatPushConfig> observer,
boolean register)
注册/注销推送免打扰配置更新观察者
|
void |
observeReceiveMessage(Observer<java.util.List<QChatMessage>> observer,
boolean register)
注册/注销消息接收观察者。
|
void |
observeReceiveSystemNotification(Observer<java.util.List<QChatSystemNotification>> observer,
boolean register)
注册/注销系统通知接收事件观察者
|
void |
observeReceiveTypingEvent(Observer<QChatTypingEvent> observer,
boolean register)
注册/注销正在输入事件观察者
|
void |
observeServerUnreadInfoChanged(Observer<QChatServerUnreadInfoChangedEvent> observer,
boolean register)
注册/注销服务器未读通知接收观察者。
|
void |
observeStatusChange(Observer<QChatStatusChangeEvent> observer,
boolean register)
注册/注销圈组在线状态/登录状态观察者
|
void |
observeSystemNotificationUpdate(Observer<QChatSystemNotificationUpdateEvent> observer,
boolean register)
注册/注销系统通知更新观察者
|
void |
observeUnreadInfoChanged(Observer<QChatUnreadInfoChangedEvent> observer,
boolean register)
注册/注销新的未读通知接收观察者。
|
void observeStatusChange(Observer<QChatStatusChangeEvent> observer, boolean register)
observer
- 观察者, 参数为圈组当前状态register
- true为注册,false为注销void observeMultiSpotLogin(Observer<QChatMultiSpotLoginEvent> observer, boolean register)
observer
- 观察者,参数为登录或者登出的其他端信息。register
- true为注册,false为注销void observeKickedOut(Observer<QChatKickedOutEvent> observer, boolean register)
observer
- 观察者, 参数为被踢出的事件register
- true为注册,false为注销void observeReceiveMessage(Observer<java.util.List<QChatMessage>> observer, boolean register)
observer
- 观察者,参数为收到的消息集合register
- true为注册,false为注销void observeMessageUpdate(Observer<QChatMessageUpdateEvent> observer, boolean register)
observer
- 观察者,参数为改变的消息事件register
- true为注册,false为注销void observeMessageRevoke(Observer<QChatMessageRevokeEvent> observer, boolean register)
observer
- 观察者,参数为撤回的消息事件register
- true为注册,false为注销void observeMessageDelete(Observer<QChatMessageDeleteEvent> observer, boolean register)
observer
- 观察者,参数为删除的消息事件register
- true为注册,false为注销void observeUnreadInfoChanged(Observer<QChatUnreadInfoChangedEvent> observer, boolean register)
observer
- 观察者,参数为收到的消息集合register
- true为注册,false为注销void observeServerUnreadInfoChanged(Observer<QChatServerUnreadInfoChangedEvent> observer, boolean register)
observer
- 观察者,参数为收到的消息集合register
- true为注册,false为注销void observeMessageStatusChange(Observer<QChatMessage> observer, boolean register)
observer
- 观察者,参数为改变的消息体,更改的状态可能包含status和attachStatusregister
- true为注册,false为注销void observeAttachmentProgress(Observer<AttachmentProgress> observer, boolean register)
observer
- 观察者, 参数为附件的传输进度register
- true为注册,false为注销void observeReceiveSystemNotification(Observer<java.util.List<QChatSystemNotification>> observer, boolean register)
observer
- 观察者, 参数为接收到的系统消息register
- true为注册,false为注销void observeSystemNotificationUpdate(Observer<QChatSystemNotificationUpdateEvent> observer, boolean register)
observer
- 观察者,参数为改变的系统通知事件register
- true为注册,false为注销void observePushNoDisturbConfigUpdate(Observer<QChatPushConfig> observer, boolean register)
observer
- 观察者,参数为推送免打扰配置更新的通知事件register
- true为注册,false为注销void observeReceiveTypingEvent(Observer<QChatTypingEvent> observer, boolean register)
observer
- 观察者, 参数为接收到的消息正在输入事件register
- true为注册,false为注销