QChatObserver class
圈组回调 目前仅支持iOS和Android平台
- Annotations
Constructors
- QChatObserver()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onAttachmentProgress
→ Stream<
AttachmentProgress> -
消息附件上传/下载进度观察者,以message id作为key
no setter
-
onKickedOut
→ Stream<
QChatKickedOutEvent> -
被踢出的事件
no setter
-
onMessageDelete
→ Stream<
QChatMessageDeleteEvent> -
删除的消息事件
no setter
-
onMessageRevoke
→ Stream<
QChatMessageRevokeEvent> -
消息撤回事件
no setter
-
onMessageStatusChange
→ Stream<
QChatMessage> -
消息状态变化事件
更改的状态可能包含status和attachStatus
no setter
-
onMessageUpdate
→ Stream<
QChatMessageUpdateEvent> -
消息更新事件
no setter
-
onMultiSpotLogin
→ Stream<
QChatMultiSpotLoginEvent> -
多端登录状态观察,当有其他端登录或者注销时,会通过此接口通知到UI。
登录成功后,如果有其他端登录着,也会发出通知。
no setter
-
onReceiveMessage
→ Stream<
List< QChatMessage> > -
收到的消息集合
no setter
-
onReceiveSystemNotification
→ Stream<
List< QChatSystemNotification> > -
系统通知接收事件
no setter
-
onReceiveTypingEvent
→ Stream<
QChatTypingEvent> -
接收到的消息正在输入事件
no setter
-
onStatusChange
→ Stream<
QChatStatusChangeEvent> -
圈组在线状态/登录状态观察者
no setter
-
onSystemNotificationUpdate
→ Stream<
QChatSystemNotificationUpdateEvent> -
系统通知更新观事件
no setter
-
onUnreadInfoChanged
→ Stream<
QChatUnreadInfoChangedEvent> -
新的未读通知事件
订阅、标记消息已读、收到新消息或新消息通知会触发该通知
通知事件内的新未读状态可能没有实际变更,比如重复调用订阅接口触发的变更事件
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serverUnreadInfoChanged
→ Stream<
QChatServerUnreadInfoChangedEvent> -
未读通知接收
订阅、标记消息已读、收到新消息或新消息通知会触发该通知
如果服务器前后未读数没有发生变化将不会触发
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited