EventSubscribeServicePlatform class Null safety

Inheritance
  • Object
  • PlatformInterface
  • EventSubscribeServicePlatform

Constructors

EventSubscribeServicePlatform()

Properties

eventSubscribeStream StreamController<List<Event>>
Listener for all subscribed events
final
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
serviceName String
read-only, inherited

Methods

batchUnSubscribeEvent(EventSubscribeRequest request) Future<NIMResult<void>>
Unsubscribe to all specific events. Only enter the event type
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
publishEvent(Event event) Future<NIMResult<void>>
Publish an event
querySubscribeEvent(EventSubscribeRequest request) Future<NIMResult<List<EventSubscribeResult>>>
Query event subscription, used to query the subscription relationship of a certain event
registerEventSubscribe(EventSubscribeRequest request) Future<NIMResult<List<String>>>
Subscribe online status events of specified accounts
toString() String
A string representation of this object.
inherited
unregisterEventSubscribe(EventSubscribeRequest request) Future<NIMResult<void>>
Unsubscribe from online status events of specified accounts. Only event type and the collection of publisher accounts are required.

Operators

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

Static Properties

instance EventSubscribeServicePlatform
read / write