setText

open fun setText(text: CharSequence)(source)

Sets the text of this node.

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

Parameters

text

The text.

Throws

If called from an AccessibilityService.