Control Button
data class ControlButton(val icon: String, val active: Boolean = false, val onPress: () -> Unit, val activeColor: Int = 0xFF4CAF50.toInt(), val inactiveColor: Int = 0xFFFFFFFF.toInt(), val disabled: Boolean = false, val customComponent: MediaSfuUIComponent? = null, val iconComponent: MediaSfuUIComponent? = null, val alternateIconComponent: MediaSfuUIComponent? = null, val name: String = "")
Constructors
Link copied to clipboard
constructor(icon: String, active: Boolean = false, onPress: () -> Unit, activeColor: Int = 0xFF4CAF50.toInt(), inactiveColor: Int = 0xFFFFFFFF.toInt(), disabled: Boolean = false, customComponent: MediaSfuUIComponent? = null, iconComponent: MediaSfuUIComponent? = null, alternateIconComponent: MediaSfuUIComponent? = null, name: String = "")