Compose Unstyled 2.0 is out! Check the official announcement blog ->
Compose Component

ContainedVoiceInputIndicator

A voice input indicator with a background container that displays sound activity to the user.

ContainedVoiceInputIndicator

Source set: Android
@Composable
public fun ContainedVoiceInputIndicator(
    level: () -> Float,
    modifier: Modifier = Modifier,
    backgroundColor: Color = GlimmerTheme.colors.primary,
)

Parameters

level The level of the voice input, ranging from 0.0 (silence) to 1.0 (loudest).
modifier The modifier to be applied to the indicator.
backgroundColor The color of the background container.

Last updated: