EventSubscribeService class

Constructors

EventSubscribeService()
factory

Properties

eventSubscribeStream Stream<List<Event>>
事件状态变更
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

batchUnSubscribeEvent(EventSubscribeRequest request) Future<NIMResult<void>>
取消指定事件的全部订阅关系,只需填写事件类型
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publishEvent(Event event) Future<NIMResult<void>>
向订阅者发布事件
querySubscribeEvent(EventSubscribeRequest request) Future<NIMResult<List<EventSubscribeResult>>>
查询事件订阅,用于查询某种事件的订阅关系
registerEventSubscribe(EventSubscribeRequest request) Future<NIMResult<List<String>>>
订阅指定账号的在线状态事件 返回订阅失败的账号集合,如果数组长度为0则全部成功。如果出错,会有具体的错误代码。
toString() String
A string representation of this object.
inherited
unregisterEventSubscribe(EventSubscribeRequest request) Future<NIMResult<void>>
取消订阅指定账号的在线状态事件,只需填写事件类型和事件发布者账号集合

Operators

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