TRTCSwitchRoomConfig class
Room switch parameters
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
-
Field description: room signature, which is optional. If you want only users with the specified
userIds
to enter a room, you need to useprivateMapKey
to restrict the permission.getter/setter pair - roomId ↔ int
-
Field description: room ID, which is required. Users (userId) in the same room can see one another and make video calls.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strRoomId ↔ String
-
Field description: string-type room ID, which is optional. Users in the same room can see one another and make video calls.
getter/setter pair
- userSig ↔ String
-
Field description: user signature, which is required. It is the authentication signature corresponding to the current
userId
and acts as the login password for Tencent Cloud services.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert the current object to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited