CoHostModalOptions

data class CoHostModalOptions(val isCoHostModalVisible: Boolean = false, val onCoHostClose: () -> Unit, val onModifyCoHostSettings: (ModifyCoHostSettingsOptions) -> Unit = { /* default implementation */ }, val currentCohost: String = "No coHost", val participants: List<Participant> = emptyList(), val coHostResponsibility: List<CoHostResponsibility> = emptyList(), val position: String = "topRight", val backgroundColor: Int = 0xFFB3D6ED.toInt(), val roomName: String, val showAlert: ShowAlert? = null, val updateCoHostResponsibility: (List<CoHostResponsibility>) -> Unit, val updateCoHost: (String) -> Unit, val updateIsCoHostModalVisible: (Boolean) -> Unit, val socket: SocketManager?)

Constructors

Link copied to clipboard
constructor(isCoHostModalVisible: Boolean = false, onCoHostClose: () -> Unit, onModifyCoHostSettings: (ModifyCoHostSettingsOptions) -> Unit = { /* default implementation */ }, currentCohost: String = "No coHost", participants: List<Participant> = emptyList(), coHostResponsibility: List<CoHostResponsibility> = emptyList(), position: String = "topRight", backgroundColor: Int = 0xFFB3D6ED.toInt(), roomName: String, showAlert: ShowAlert? = null, updateCoHostResponsibility: (List<CoHostResponsibility>) -> Unit, updateCoHost: (String) -> Unit, updateIsCoHostModalVisible: (Boolean) -> Unit, socket: SocketManager?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onCoHostClose: () -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val showAlert: ShowAlert? = null
Link copied to clipboard
Link copied to clipboard