setGranularScrollingSupported

open fun setGranularScrollingSupported(granularScrollingSupported: Boolean)(source)

Sets if the node supports granular scrolling. This should be set to true if all scroll actions which could support ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT have done so.

Note: Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Compatibility:

  • Api <19: No-op.

Parameters

granularScrollingSupported

True if the node supports granular scrolling, false otherwise.

Throws

If called from an AccessibilityService.