ControlMediaOptions

data class ControlMediaOptions(val participantId: String, val participantName: String, val type: String, val socket: SocketManager?, val coHostResponsibility: List<CoHostResponsibility>, val participants: List<Participant>, val member: String, val islevel: String, val showAlert: ShowAlert? = null, val coHost: String, val roomName: String)

Options for controlling media in a room.

Constructors

Link copied to clipboard
constructor(participantId: String, participantName: String, type: String, socket: SocketManager?, coHostResponsibility: List<CoHostResponsibility>, participants: List<Participant>, member: String, islevel: String, showAlert: ShowAlert? = null, coHost: String, roomName: String)

Properties

Link copied to clipboard

ID of the co-host

Link copied to clipboard

Responsibilities assigned to the co-host

Link copied to clipboard

Level of control for the current user (e.g., admin level)

Link copied to clipboard

Current user's ID

Link copied to clipboard

The unique ID of the participant whose media is being controlled

Link copied to clipboard

The name of the participant

Link copied to clipboard

List of participants in the room

Link copied to clipboard

Name of the room where the control action is being performed

Link copied to clipboard
val showAlert: ShowAlert? = null

Optional function for showing alerts to the user

Link copied to clipboard

The socket connection for communication

Link copied to clipboard

Type of media to control ('audio', 'video', 'screenshare', or 'all')