setContentDescription

open fun setContentDescription(contentDescription: CharSequence)(source)

Sets the content 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

contentDescription

The content description.

Throws

If called from an AccessibilityService.