setHintText

open fun setHintText(@Nullable hintText: CharSequence)(source)

Sets the hint text of this node. Only applies to nodes where text can be entered.

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

hintText

The hint text for this mode.

Throws

If called from an AccessibilityService.