NIMCustomUserStatusParams class

Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

NIMCustomUserStatusParams({int? statusType, int? duration, String? extension, bool? onlineOnly, bool? multiSync})
NIMCustomUserStatusParams.fromJson(Map<String, dynamic> map)
factory

Properties

duration int?
状态的有效期,单位秒,范围为 60s 到 7days,默认值为60s
getter/setter pair
extension String?
用户发布状态时设置的扩展字段
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
multiSync bool?
用户发布状态时是否需要多端同步,默认值为FALSE
getter/setter pair
onlineOnly bool?
用户发布状态时是否只广播给在线的订阅者,默认值为TRUE
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusType int?
自定义设置值: 10000以上,包括一万, 一万以内为预定义值 小于1万,返回参数错误 大于int上限,返回参数错误
getter/setter pair

Methods

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

Operators

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