Package-level declarations

Types

Link copied to clipboard
data class ClickAudioOptions(val parameters: ClickAudioParameters)

Options for ClickAudio function.

Link copied to clipboard
typealias ClickAudioType = suspend (ClickAudioOptions) -> Unit

Type definition for ClickAudio function.

Link copied to clipboard
data class ClickChatOptions(val isMessagesModalVisible: Boolean, val updateIsMessagesModalVisible: UpdateIsMessagesModalVisible, val chatSetting: String, val islevel: String, val showAlert: ShowAlert? = null)

Options for the clickChat function.

Link copied to clipboard

Type definition for ClickChat function.

Link copied to clipboard

Options for handling screen share actions.

Link copied to clipboard

Parameters for ClickScreenShare function.

Link copied to clipboard

Type definition for the clickScreenShare function.

Link copied to clipboard
data class ClickVideoOptions(val parameters: ClickVideoParameters)

Options for ClickVideo function.

Link copied to clipboard
typealias ClickVideoType = suspend (ClickVideoOptions) -> Unit

Type definition for ClickVideo function.

Link copied to clipboard
data class SwitchAudioOptions(val audioPreference: String, val parameters: SwitchAudioParameters)

Options for switching the audio input device.

Link copied to clipboard
data class SwitchAudioOutputOptions(val audioOutputPreference: String, val parameters: SwitchAudioOutputParameters)

Options for switching audio output

Link copied to clipboard

Parameters required for switching audio output device

Link copied to clipboard

Type alias for the switch audio output function

Link copied to clipboard

Parameters for SwitchAudio function.

Link copied to clipboard
typealias SwitchAudioType = suspend (SwitchAudioOptions) -> Unit

Type definition for SwitchAudio function.

Link copied to clipboard

Options for switching the user's video with alternate logic.

Link copied to clipboard

Parameters for SwitchVideoAlt function.

Link copied to clipboard

Type definition for SwitchVideoAlt function.

Link copied to clipboard
data class SwitchVideoOptions(val videoPreference: String, val parameters: SwitchVideoParameters)

Options for switching the user's video device.

Link copied to clipboard

Parameters for switching the user's video device.

Link copied to clipboard
typealias SwitchVideoType = suspend (SwitchVideoOptions) -> Unit

Type definition for the switchVideo function.

Link copied to clipboard

Type definition for updating the chat modal's visibility.

Functions

Link copied to clipboard
suspend fun clickAudio(options: ClickAudioOptions)

Toggles audio for a user, either enabling or disabling the microphone.

Link copied to clipboard

Toggles the visibility of the chat modal based on the current state and event settings.

Link copied to clipboard

Handles the action for the screen button, including starting and stopping screen sharing.

Link copied to clipboard
suspend fun clickVideo(options: ClickVideoOptions)

Toggles the video stream on or off based on the user's input and checks required permissions and constraints.

Link copied to clipboard
suspend fun switchAudio(options: SwitchAudioOptions)

Switches the audio input device based on user preference.

Link copied to clipboard

Switches the audio output device (speaker, Bluetooth, headphones).

Link copied to clipboard
suspend fun switchVideo(options: SwitchVideoOptions)

Switches the user's video device based on the provided video preference.

Link copied to clipboard

Switches the user's video device with alternate logic, taking into account recording state and camera access permissions.