EventSubscribeRequest class

Constructors

EventSubscribeRequest({required int eventType, required int expiry, bool? syncCurrentValue, required List<String> publishers})
EventSubscribeRequest.createEventSubscribe({required int expiry, bool? syncCurrentValue, required List<String> publishers})
factory

Properties

eventType int
事件类型,1-99999 为云信保留类型,自定义的订阅事件请选择此范围意外的值
final
expiry int
订阅的有效期,范围为 60s 到 30days,数值单位为秒
final
hashCode int
The hash code for this object.
no setterinherited
publishers List<String>
事件发布者的账号集合
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
syncCurrentValue bool?
订阅后是否立刻同步事件状态值,默认为 false,如果填 true,则会收到事件状态回调
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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