VolumeLevelIndicator
fun VolumeLevelIndicator(volumeUiState: () -> VolumeUiState, modifier: Modifier = Modifier, displayIndicatorEvents: Flow<Unit>? = null, colorScheme: ColorScheme = MaterialTheme.colorScheme)
A LevelIndicator that is tied to the system audio volume.
Shows on the left side to match Bezel behaviour. If displayIndicatorEvents is non-null, the indicator is initially hidden and only displays when that flow emits, then auto-hides after two seconds.
Parameters
volumeUiState
The current volume state.
modifier
The Modifier to apply to the indicator.
displayIndicatorEvents
If non-null, the indicator is initially hidden and only displays when this flow emits, then auto-hides after two seconds.
colorScheme
The ColorScheme to use for the LevelIndicator.