-
- All Implemented Interfaces:
-
androidx.compose.foundation.gestures.ScrollableState
public final class VolumeScrollableState implements ScrollableStateScrollableState integration for VolumeControl to scroll events via RSB/Bezel to trigger volume changes.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisScrollInProgress
-
Constructor Summary
Constructors Constructor Description VolumeScrollableState(VolumeRepository volumeRepository, Vibrator vibrator)
-
Method Summary
Modifier and Type Method Description BooleangetIsScrollInProgress()FloatdispatchRawDelta(Float delta)Unitscroll(MutatePriority scrollPriority, SuspendFunction1<ScrollScope, Unit> block)-
-
Constructor Detail
-
VolumeScrollableState
VolumeScrollableState(VolumeRepository volumeRepository, Vibrator vibrator)
-
-
Method Detail
-
getIsScrollInProgress
Boolean getIsScrollInProgress()
-
dispatchRawDelta
Float dispatchRawDelta(Float delta)
-
scroll
Unit scroll(MutatePriority scrollPriority, SuspendFunction1<ScrollScope, Unit> block)
-
-
-
-