setTextSelectable

open fun setTextSelectable(selectableText: Boolean)(source)

Sets if the node has selectable text.

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

Compatibility:

  • Api <19: Does not operate.

Parameters

selectableText

True if the node has selectable text, false otherwise.

Throws

If called from an AccessibilityService.