SeatUserInfo class
Seat user information
Contains basic information of the seat user, such as user ID, user name, avatar URL, role, device status, etc.
Constructors
- SeatUserInfo({String userID = '', String userName = '', String avatarURL = '', Role role = Role.generalUser, String liveID = '', DeviceStatus microphoneStatus = DeviceStatus.off, bool allowOpenMicrophone = true, DeviceStatus cameraStatus = DeviceStatus.off, bool allowOpenCamera = true, SuspendStatus userSuspendStatus = SuspendStatus.none})
Properties
- allowOpenCamera → bool
-
Whether camera can be opened.
final
- allowOpenMicrophone → bool
-
Whether microphone can be opened.
final
- avatarURL → String
-
Avatar URL.
final
- cameraStatus → DeviceStatus
-
Camera status.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- liveID → String
-
Live room ID.
final
- microphoneStatus → DeviceStatus
-
Microphone status.
final
- role → Role
-
User role.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userID → String
-
User ID.
final
- userName → String
-
User name.
final
- userSuspendStatus → SuspendStatus
-
User suspend status.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited