TRTCSwitchRoomConfig class
切换房间参数
Constructors
- TRTCSwitchRoomConfig({required String userSig, int roomId = 0, String privateMapKey = "", String strRoomId = ""})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- privateMapKey ↔ String
-
【字段含义】房间签名
非必填
,当您希望某个房间只能让特定的 userId 进入时,需要使用 privateMapKey 进行权限保护。getter/setter pair - roomId ↔ int
-
【字段含义】房间号码
必填
,在同一个房间里的用户(userId)可以彼此看到对方并进行视频通话getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strRoomId ↔ String
-
【字段含义】字符串房间号码
选填
,在同一个房间内的用户可以看到彼此并进行视频通话。getter/setter pair - userSig ↔ String
-
【字段含义】用户签名
必填
,当前 userId 对应的验证签名,相当于使用云服务的登录密码。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