Flexible Grid Options
data class FlexibleGridOptions(val customWidth: Int, val customHeight: Int, val rows: Int, val columns: Int, val componentsToRender: List<MediaSfuUIComponent>, val backgroundColor: Int = 0xFF2C678F.toInt(), val participants: List<Participant> = emptyList(), val showAspect: Boolean = true, val cardWidthOverride: Int? = null, val cardHeightOverride: Int? = null, val horizontalSpacingDp: Int = 0, val verticalSpacingDp: Int = 0)
FlexibleGrid - Displays a flexible grid of video/audio participants.
Automatically calculates optimal grid layout based on number of participants and available screen space.
Constructors
Link copied to clipboard
constructor(customWidth: Int, customHeight: Int, rows: Int, columns: Int, componentsToRender: List<MediaSfuUIComponent>, backgroundColor: Int = 0xFF2C678F.toInt(), participants: List<Participant> = emptyList(), showAspect: Boolean = true, cardWidthOverride: Int? = null, cardHeightOverride: Int? = null, horizontalSpacingDp: Int = 0, verticalSpacingDp: Int = 0)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Height of EACH CELL (not total grid height) - matches React
Link copied to clipboard
Width of EACH CELL (not total grid width) - matches React
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard