Share via


AccessibilityNodeInfo.Password Property

Definition

Gets whether this node is a password. -or- Sets whether this node is a password.

public virtual bool Password { [Android.Runtime.Register("isPassword", "()Z", "GetIsPasswordHandler")] get; [Android.Runtime.Register("setPassword", "(Z)V", "GetSetPassword_ZHandler")] set; }
[<get: Android.Runtime.Register("isPassword", "()Z", "GetIsPasswordHandler")>]
[<set: Android.Runtime.Register("setPassword", "(Z)V", "GetSetPassword_ZHandler")>]
member this.Password : bool with get, set

Property Value

True if the node is a password.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets whether this node is a password.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.isPassword().

Property setter documentation:

Sets whether this node is a password.

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

Java documentation for android.view.accessibility.AccessibilityNodeInfo.setPassword(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to