onRotaryInputAccumulatedWithFocus

fun Modifier.onRotaryInputAccumulatedWithFocus(focusRequester: FocusRequester? = null, isLowRes: Boolean = false, onValueChange: (Float) -> Unit): Modifier

A focusable modifier that accumulates the scroll distances from RotaryScrollEvent and notifies changes with onValueChange once accumulated value is over the thresholds.

Parameters

focusRequester

requests for focus for the rotary

onValueChange

callback invoked once accumulated value is over the thresholds.