Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun highResVolumeRotaryBehavior(volumeUiStateProvider: () -> VolumeUiState, onRotaryVolumeInput: (Int) -> Unit): RotaryScrollableBehavior
Link copied to clipboard
fun lowResVolumeRotaryBehavior(volumeUiStateProvider: () -> VolumeUiState, onRotaryVolumeInput: (Int) -> Unit): RotaryScrollableBehavior
Link copied to clipboard
fun VolumePositionIndicator(volumeUiState: () -> VolumeUiState, modifier: Modifier = Modifier, displayIndicatorEvents: Flow<Unit>? = null, color: Color = MaterialTheme.colors.secondary)

A PositionIndicator that is tied to the system audio volume.

Link copied to clipboard
fun volumeRotaryBehavior(volumeUiStateProvider: () -> VolumeUiState, onRotaryVolumeInput: (Int) -> Unit): RotaryScrollableBehavior
Link copied to clipboard
fun VolumeScreen(modifier: Modifier = Modifier, volumeViewModel: VolumeViewModel = viewModel(factory = VolumeViewModel.Factory), showVolumeIndicator: Boolean = true, increaseIcon: @Composable () -> Unit = { VolumeScreenDefaults.IncreaseIcon() }, decreaseIcon: @Composable () -> Unit = { VolumeScreenDefaults.DecreaseIcon() })

Volume Screen with an InlineSlider and Increase/Decrease buttons for the Audio Stream Volume.

fun VolumeScreen(volume: () -> VolumeUiState, audioOutputUi: AudioOutputUi, increaseVolume: () -> Unit, decreaseVolume: () -> Unit, onAudioOutputClick: () -> Unit, modifier: Modifier = Modifier, increaseIcon: @Composable () -> Unit = { VolumeScreenDefaults.IncreaseIcon() }, decreaseIcon: @Composable () -> Unit = { VolumeScreenDefaults.DecreaseIcon() }, showVolumeIndicator: Boolean = true)

Volume Screen with a Output Device chip.

Link copied to clipboard
fun VolumeWithLabelScreen(volume: () -> VolumeUiState, increaseVolume: () -> Unit, decreaseVolume: () -> Unit, modifier: Modifier = Modifier, increaseIcon: @Composable () -> Unit = { VolumeScreenDefaults.IncreaseIcon() }, decreaseIcon: @Composable () -> Unit = { VolumeScreenDefaults.DecreaseIcon() }, showVolumeIndicator: Boolean = true, volumeColor: Color = MaterialTheme.colors.secondary)

Volume Screen with a simple "Volume" label.