SystemMessageService class
Constructors
- SystemMessageService()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onCustomNotification
→ Stream<
CustomNotification> -
自定义通知接收
no setter
-
onReceiveSystemMsg
→ Stream<
SystemMessage> -
系统消息接收
no setter
-
onUnreadCountChange
→ Stream<
int> -
系统消息未读数变化
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearSystemMessages(
) → Future< NIMResult< void> > - 删除所有系统通知
-
clearSystemMessagesByType(
List< SystemMessageType> types) → Future<NIMResult< void> > - 删除指定类型系统通知
-
deleteSystemMessage(
int messageId) → Future< NIMResult< void> > - 删除单条系统通知
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
querySystemMessageByTypeAndroid(
List< SystemMessageType> types, int offset, int limit) → Future<NIMResult< List< >SystemMessage> > - 根据类型查询系统通知列表 Android
-
querySystemMessageByTypeIOSAndDesktop(
SystemMessage? systemMessage, List< SystemMessageType> types, int limit) → Future<NIMResult< List< >SystemMessage> > - 根据类型查询系统通知列表 ios 和 PC
-
querySystemMessagesAndroid(
int offset, int limit) → Future< NIMResult< List< >SystemMessage> > - 查询系统通知消息列表 Android
-
querySystemMessagesIOSAndDesktop(
SystemMessage? systemMessage, int limit) → Future< NIMResult< List< >SystemMessage> > - 查询系统通知消息列表 IOS 和 PC
-
querySystemMessageUnread(
) → Future< NIMResult< List< >SystemMessage> > - 获取未读系统通知
-
querySystemMessageUnreadCount(
) → Future< NIMResult< int> > - 查询未读数总和
-
querySystemMessageUnreadCountByType(
List< SystemMessageType> types) → Future<NIMResult< int> > - 指定类型的未读数总和
-
resetSystemMessageUnreadCount(
) → Future< NIMResult< void> > - 标记所有通知为已读
-
resetSystemMessageUnreadCountByType(
List< SystemMessageType> types) → Future<NIMResult< void> > - 标记指定类型通知为已读
-
sendCustomNotification(
CustomNotification notification) → Future< NIMResult< void> > - 发送自定义系统通知
-
setSystemMessageRead(
int messageId) → Future< NIMResult< void> > - 标记单条通知为已读
-
setSystemMessageStatus(
int messageId, SystemMessageStatus status) → Future< NIMResult< void> > - 更改通知处理状态
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited