setPassword

open fun setPassword(password: Boolean)(source)

Sets whether this node is a password.

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

Parameters

password

True if the node is a password.

Throws

If called from an AccessibilityService.