TRTCSwitchRoomConfig class Null safety

切换房间参数

Constructors

TRTCSwitchRoomConfig({required String userSig, int roomId = 0, String privateMapKey = "", String strRoomId = ""})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
privateMapKey String
【字段含义】房间签名 非必填,当您希望某个房间只能让特定的 userId 进入时,需要使用 privateMapKey 进行权限保护。 [...]
read / write
roomId int
【字段含义】房间号码 必填 ,在同一个房间里的用户(userId)可以彼此看到对方并进行视频通话 [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
strRoomId String
【字段含义】字符串房间号码 选填,在同一个房间内的用户可以看到彼此并进行视频通话。 [...]
read / write
userSig String
【字段含义】用户签名 必填,当前 userId 对应的验证签名,相当于使用云服务的登录密码。 [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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