DefaultBreakoutRoomsModal

Default implementation of BreakoutRoomsModal

Constructors

Link copied to clipboard
constructor(options: BreakoutRoomsModalOptions)

Properties

Link copied to clipboard
open override val id: String

Unique identifier for this UI component.

Link copied to clipboard
open override val isEnabled: Boolean

Whether this component is currently enabled.

Link copied to clipboard
open override val isVisible: Boolean

Whether this component is currently visible.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun disable()

Disable this component.

Link copied to clipboard
open override fun dispose()

Dispose of this component and release resources.

Link copied to clipboard
open override fun enable()

Enable this component.

Link copied to clipboard

Returns participants eligible for assignment (excludes host).

Link copied to clipboard

Returns participants not yet assigned to any breakout room.

Link copied to clipboard
open fun handleAddParticipant(roomIndex: Int, participant: BreakoutParticipant)

Adds participant to room if capacity allows.

Link copied to clipboard
open fun handleAddRoom()

Adds an empty breakout room (max 10).

Link copied to clipboard
open fun handleDeleteRoom(roomIndex: Int)

Removes room at roomIndex and revalidates.

Link copied to clipboard
open fun handleEditRoom(roomIndex: Int)

Handles editing a room at the given index.

Link copied to clipboard
open fun handleManualAssign(roomCount: Int)

Creates empty rooms for manual assignment.

Link copied to clipboard

Stores the preferred action for newly joining participants.

Link copied to clipboard
open fun handleRandomAssign(roomCount: Int)

Creates random assignments across roomCount rooms.

Link copied to clipboard
open fun handleRemoveParticipant(roomIndex: Int, participant: BreakoutParticipant)

Removes participant from room.

Link copied to clipboard
open fun handleSaveRooms()

Persists rooms after running validation.

Link copied to clipboard

Starts or updates breakout rooms after validation.

Link copied to clipboard

Stops breakout rooms and restores meeting layout.

Link copied to clipboard
open override fun hide()

Hide this component.

Link copied to clipboard
fun render(): Map<String, Any>
Link copied to clipboard
open override fun show()

Show this component.