setExpandedState

open fun setExpandedState(state: Int)

Sets the expanded state of the node.

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

Parameters

state

new expanded state of this node.

Throws