NEJoinRoomParams class

加入房间参数

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

NEJoinRoomParams({required String roomUuid, required String userName, String? avatar, required String role, String? password, bool agentMode = false, NEInjectedAuthorization? injectedAuthorization, Map<String, String>? initialMyProperties})
NEJoinRoomParams.fromJson(Map map)
factory

Properties

agentMode bool
开启/关闭代理模式。需要配合 injectedAuthorization 使用,否则无效。 在代理模式下,代理人以自己的身份加入房间, 但在房间内发起的会控操作会以 injectedAuthorization 指定的被代理人的身份执行。
final
avatar String?
用户头像 URL 地址
final
hashCode int
The hash code for this object.
no setterinherited
initialMyProperties Map<String, String>?
初始化属性
final
injectedAuthorization NEInjectedAuthorization?
房间所需的鉴权信息
final
password String?
密码
final
role String
角色
final
roomUuid String
房间id
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userName String
用户名
final

Methods

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

Operators

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