AccessibilityNodeInfo.Password Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.