Package 

Class VolumeScreenKt

    • Method Summary

      Modifier and Type Method Description
      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.
      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)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.

        See VolumeViewModel See AudioManager.STREAM_MUSIC

      • 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)