SystemMessageServicePlatform class Null safety

Inheritance
  • Object
  • PlatformInterface
  • SystemMessageServicePlatform

Constructors

SystemMessageServicePlatform()

Properties

hashCode int
The hash code for this object.
read-only, inherited
onCustomNotification StreamController<CustomNotification>
final
onReceiveSystemMessage StreamController<SystemMessage>
final
onUnreadCountChange StreamController<int>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
serviceName String
read-only, inherited

Methods

clearSystemMessages() Future<NIMResult<void>>
clearSystemMessagesByType(List<SystemMessageType> types) Future<NIMResult<void>>
deleteSystemMessage(int messageId) Future<NIMResult<void>>
handleMethodCall(String method, dynamic arguments) Future
inherited
invokeMethod(String method, {Map<String, dynamic>? arguments}) Future<Map<String, dynamic>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
onEvent(String method, dynamic arguments) Future
inherited
querySystemMessageByTypeAndroid(List<SystemMessageType> types, int offset, int limit) Future<NIMResult<List<SystemMessage>>>
querySystemMessageByTypeIOSAndDesktop(SystemMessage? systemMessage, List<SystemMessageType> types, int limit) Future<NIMResult<List<SystemMessage>>>
querySystemMessagesAndroid(int offset, int limit) Future<NIMResult<List<SystemMessage>>>
querySystemMessagesIOSAndDesktop(SystemMessage? systemMessage, int limit) Future<NIMResult<List<SystemMessage>>>
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

Static Properties

instance SystemMessageServicePlatform
read / write