EventSubscribeServicePlatform class abstract

Inheritance

Properties

eventSubscribeStream StreamController<List<Event>>
监听所订阅的事件
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceName String
no setterinherited

Methods

batchUnSubscribeEvent(EventSubscribeRequest request) 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 nonexistent method or property is accessed.
inherited
onEvent(String method, dynamic arguments) Future
inherited
publishEvent(Event event) Future<NIMResult<void>>
向订阅者发布事件
querySubscribeEvent(EventSubscribeRequest request) Future<NIMResult<List<EventSubscribeResult>>>
查询事件订阅,用于查询某种事件的订阅关系
registerEventSubscribe(EventSubscribeRequest request) Future<NIMResult<List<String>>>
订阅指定账号的在线状态事件
toString() String
A string representation of this object.
inherited
unregisterEventSubscribe(EventSubscribeRequest request) Future<NIMResult<void>>
取消订阅指定账号的在线状态事件,只需填写事件类型和事件发布者账号集合

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance EventSubscribeServicePlatform
getter/setter pair