setVisibleToUser

open fun setVisibleToUser(visibleToUser: Boolean)(source)

Sets whether this node is visible to the user.

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

Parameters

visibleToUser

Whether the node is visible to the user.

Throws

If called from an AccessibilityService.