setStateDescription

open fun setStateDescription(@Nullable stateDescription: CharSequence)(source)

Sets the state description of this node.

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

Parameters

stateDescription

the state description of this node.

Throws

If called from an AccessibilityService.