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
字段说明:房间签名,可选。如果您希望仅允许指定 userIds 的用户进入房间,则需要使用 privateMapKey 来限制权限。
getter/setter pair
roomId int
字段说明:房间 ID,必填项。同一房间的用户(userId)可以看到彼此并进行视频通话。
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strRoomId String
字段说明:字符串类型的房间 ID,可选。同一房间的用户可以看到彼此并进行视频通话。
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>
将当前对象转换为 JSON 格式。
toString() String
A string representation of this object.
inherited

Operators

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