setHeading

open fun setHeading(isHeading: Boolean)(source)

Sets whether the node represents a heading.

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

isHeading

true if the node is a heading, false otherwise.