DefaultAudioCard

Default implementation of AudioCard

Constructors

Link copied to clipboard
constructor(options: AudioCardOptions)

Properties

Link copied to clipboard
open override val id: String

Unique identifier for this UI component.

Link copied to clipboard
open override val isEnabled: Boolean

Whether this component is currently enabled.

Link copied to clipboard
open override val isVisible: Boolean

Whether this component is currently visible.

Link copied to clipboard
open override val options: AudioCardOptions

Functions

Link copied to clipboard
open override fun disable()

Disable this component.

Link copied to clipboard
open override fun dispose()

Dispose of this component and release resources.

Link copied to clipboard
open override fun enable()

Enable this component.

Link copied to clipboard
open fun getAudioLevel(): Double

Gets current audio level for the participant

Link copied to clipboard
open fun getInitials(): String

Gets initials from participant name for avatar

Link copied to clipboard
open override fun hide()

Hide this component.

Link copied to clipboard
fun render(): Any
Link copied to clipboard
fun AudioCard.renderCompose(modifier: Modifier = Modifier)

Composable render function for AudioCard.

Link copied to clipboard

Checks if waveform should be animated based on audio level

Link copied to clipboard
open override fun show()

Show this component.