ZegoRoomConfig class

房间进阶配置

配置房间的最大用户数量、鉴权 token 等

Constructors

ZegoRoomConfig(int maxMemberCount, bool isUserStatusNotify, String token)
ZegoRoomConfig.defaultConfig()
创建默认房间配置

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
isUserStatusNotify ↔ bool
是否开启用户进出房间回调通知 onRoomUserUpdate,默认关闭。若开发者需要使用 ZEGO 房间用户广播通知,请确保每个登录的用户都将此标记设置为true
read / write
maxMemberCount ↔ int
房间最大用户数量,传 0 视为不限制,默认无限制
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
token ↔ String
由开发者业务服务器下发的 token,用以保证安全性,生成规则请参考 使用 Token 鉴权,默认为空字符串,即不鉴权。2.17.0 及以上版本如果调用 createEngine 接口创建引擎时未传入appSign,或者appSign为空,则登录房间时必须设置此参数用于鉴权。
read / write

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