SeatUserInfo

data class SeatUserInfo(val userID: String = "", val userName: String = "", val avatarURL: String = "", val role: Role = Role.GENERAL_USER, val liveID: String = "", val microphoneStatus: DeviceStatus = DeviceStatus.OFF, val allowOpenMicrophone: Boolean = true, val cameraStatus: DeviceStatus = DeviceStatus.OFF, val allowOpenCamera: Boolean = true, val userSuspendStatus: SuspendStatus = SuspendStatus.NONE)

Seat user information

Overview

Contains basic information of the seat user, such as user ID, user name, avatar URL, role, device status, etc.

Constructors

Link copied to clipboard
constructor(userID: String = "", userName: String = "", avatarURL: String = "", role: Role = Role.GENERAL_USER, liveID: String = "", microphoneStatus: DeviceStatus = DeviceStatus.OFF, allowOpenMicrophone: Boolean = true, cameraStatus: DeviceStatus = DeviceStatus.OFF, allowOpenCamera: Boolean = true, userSuspendStatus: SuspendStatus = SuspendStatus.NONE)

Properties

Link copied to clipboard

Whether camera can be opened.

Link copied to clipboard

Whether microphone can be opened.

Link copied to clipboard

Avatar URL.

Link copied to clipboard

Camera status.

Link copied to clipboard

Live room ID.

Link copied to clipboard

Microphone status.

Link copied to clipboard
val role: Role

User role.

Link copied to clipboard

User ID.

Link copied to clipboard

User name.

Link copied to clipboard

User suspend status.