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

VoiceInputIndicator

A voice input indicator that displays sound activity to the user.

VoiceInputIndicator

Source set: Android
@Composable
public fun VoiceInputIndicator(
    level: () -> Float,
    modifier: Modifier = Modifier,
    indicatorColor: 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.
indicatorColor The color of the indicator bars.

Last updated: