CoHostModal

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
Link copied to clipboard
Link copied to clipboard
abstract var selectedCohost: String

State management for selected co-host

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

Filters participants eligible to be co-host (excludes host)

Link copied to clipboard
open fun handleSaveCoHost()

Handles saving co-host settings

Link copied to clipboard
open fun handleToggleSwitch(key: String)

Handles toggling of switches for responsibilities

Link copied to clipboard
open override fun hide()

Hide this component.

Link copied to clipboard

Initializes the responsibilities map based on the list of responsibilities

Link copied to clipboard
open fun setCoHostResponsibilityValue(name: String, value: Boolean? = null, dedicated: Boolean? = null)

Updates the co-host responsibility list based on changes

Link copied to clipboard
open override fun show()

Show this component.

Link copied to clipboard

Updates the co-host responsibility list based on the toggled key