Freigeben über


AccessibilityRecord.Password Property

Definition

Gets if the source is a password field. -or- Sets if the source is a password field.

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 view is a password field, false otherwise.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets if the source is a password field.

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

Property setter documentation:

Sets if the source is a password field.

Java documentation for android.view.accessibility.AccessibilityRecord.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