setFocusable

open fun setFocusable(focusable: Boolean)(source)

Sets whether this node is focusable.

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

Parameters

focusable

True if the node is focusable.

Throws

If called from an AccessibilityService.