Media Settings Modal Options
data class MediaSettingsModalOptions(val isVisible: Boolean, val onClose: () -> Unit, val switchCameraOnPress: (SwitchVideoAltOptions) -> Unit = {}, val switchVideoOnPress: (SwitchVideoOptions) -> Unit = {}, val switchAudioOnPress: (SwitchAudioOptions) -> Unit = {}, val switchAudioOutputOnPress: (SwitchAudioOutputOptions) -> Unit = {}, val onVirtualBackgroundPress: () -> Unit = {}, val parameters: MediaSettingsModalParameters, val position: String = "topRight", val backgroundColor: String = "#2196F3")
Configuration options for the MediaSettingsModal component
Constructors
Link copied to clipboard
constructor(isVisible: Boolean, onClose: () -> Unit, switchCameraOnPress: (SwitchVideoAltOptions) -> Unit = {}, switchVideoOnPress: (SwitchVideoOptions) -> Unit = {}, switchAudioOnPress: (SwitchAudioOptions) -> Unit = {}, switchAudioOutputOnPress: (SwitchAudioOutputOptions) -> Unit = {}, onVirtualBackgroundPress: () -> Unit = {}, parameters: MediaSettingsModalParameters, position: String = "topRight", backgroundColor: String = "#2196F3")
Properties
Link copied to clipboard
Background color for the modal (hex string)
Link copied to clipboard
Link copied to clipboard
Current media settings parameters
Link copied to clipboard
Callback for switching audio device
Link copied to clipboard
Link copied to clipboard
Callback for switching camera (front/back)
Link copied to clipboard
Callback for switching video device