MainAspectComponentOptions

data class MainAspectComponentOptions(val backgroundColor: Int = 0xFF2C678F.toInt(), val defaultFraction: Double = 1.0, val showControls: Boolean = true, val children: List<MediaSfuUIComponent> = emptyList(), val updateIsWideScreen: (Boolean) -> Unit? = null, val updateIsMediumScreen: (Boolean) -> Unit? = null, val updateIsSmallScreen: (Boolean) -> Unit? = null)

MainAspectComponent - Main aspect ratio container for primary video display.

Maintains proper aspect ratio for the main video view area.

Constructors

Link copied to clipboard
constructor(backgroundColor: Int = 0xFF2C678F.toInt(), defaultFraction: Double = 1.0, showControls: Boolean = true, children: List<MediaSfuUIComponent> = emptyList(), updateIsWideScreen: (Boolean) -> Unit? = null, updateIsMediumScreen: (Boolean) -> Unit? = null, updateIsSmallScreen: (Boolean) -> Unit? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val showControls: Boolean = true
Link copied to clipboard
Link copied to clipboard
val updateIsSmallScreen: (Boolean) -> Unit? = null
Link copied to clipboard
val updateIsWideScreen: (Boolean) -> Unit? = null