Package 

Class WaveformSliderKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit StaticWaveformSlider(List<Float> waveformData, Float progress, Boolean isPlaying, Modifier modifier, Integer visibleBarLimit, Boolean adjustBarWidthToLimit, Boolean isThumbVisible, Function1<Float, Unit> onDragStart, Function1<Float, Unit> onDrag, Function1<Float, Unit> onDragStop) A slider that displays a waveform.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • StaticWaveformSlider

        @Composable() final static Unit StaticWaveformSlider(List<Float> waveformData, Float progress, Boolean isPlaying, Modifier modifier, Integer visibleBarLimit, Boolean adjustBarWidthToLimit, Boolean isThumbVisible, Function1<Float, Unit> onDragStart, Function1<Float, Unit> onDrag, Function1<Float, Unit> onDragStop)

        A slider that displays a waveform.

        Parameters:
        waveformData - The waveform data to display.
        progress - The current progress of the waveform.
        modifier - Modifier for styling.
        visibleBarLimit - The number of bars to display at once.
        adjustBarWidthToLimit - Whether to adjust the bar width to fit the visible bar limit.
        isThumbVisible - Whether to display the thumb.
        onDragStart - Callback when the user starts dragging the thumb.
        onDrag - Callback when the user drags the thumb.
        onDragStop - Callback when the user stops dragging the thumb.