-
public final class VolumeScreenKt
-
-
Method Summary
Modifier and Type Method Description final static UnitVolumeScreen(Modifier modifier, VolumeViewModel volumeViewModel, Boolean showVolumeIndicator, FocusRequester focusRequester, Function0<Unit> increaseIcon, Function0<Unit> decreaseIcon)Volume Screen with an InlineSlider and Increase/Decrease buttons for the Audio Stream Volume. final static UnitVolumeScreen(Function0<VolumeState> volume, AudioOutput audioOutput, Function0<Unit> increaseVolume, Function0<Unit> decreaseVolume, Function0<Unit> onAudioOutputClick, Modifier modifier, Function0<Unit> increaseIcon, Function0<Unit> decreaseIcon, Boolean showVolumeIndicator, FocusRequester focusRequester, ScrollableState scrollableState)-
-
Method Detail
-
VolumeScreen
final static Unit VolumeScreen(Modifier modifier, VolumeViewModel volumeViewModel, Boolean showVolumeIndicator, FocusRequester focusRequester, Function0<Unit> increaseIcon, Function0<Unit> decreaseIcon)
Volume Screen with an InlineSlider and Increase/Decrease buttons for the Audio Stream Volume.
Contains a Stepper with Up and Down buttons, plus a button to show the current AudioOutput and prompt to select a new one.
The volume and audio output come indirectly from the AudioManager and accessed via VolumeViewModel.
-
VolumeScreen
final static Unit VolumeScreen(Function0<VolumeState> volume, AudioOutput audioOutput, Function0<Unit> increaseVolume, Function0<Unit> decreaseVolume, Function0<Unit> onAudioOutputClick, Modifier modifier, Function0<Unit> increaseIcon, Function0<Unit> decreaseIcon, Boolean showVolumeIndicator, FocusRequester focusRequester, ScrollableState scrollableState)
-
-
-
-