setScreenReaderFocusable

open fun setScreenReaderFocusable(screenReaderFocusable: Boolean)(source)

Sets whether the node should be considered a focusable unit by a screen reader.

This method has no effect below API 19

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

Parameters

screenReaderFocusable

true if the node is a focusable unit for screen readers, false otherwise.