Compartilhar via


DevicePolicyManager.PasswordComplexityNone Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.PasswordComplexity enum directly instead of this field.

Constant for #getPasswordComplexity() and #setRequiredPasswordComplexity(int): no password.

[Android.Runtime.Register("PASSWORD_COMPLEXITY_NONE", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.PasswordComplexity enum directly instead of this field.", true)]
public const Android.App.Admin.PasswordComplexity PasswordComplexityNone = 0;
[<Android.Runtime.Register("PASSWORD_COMPLEXITY_NONE", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.PasswordComplexity enum directly instead of this field.", true)>]
val mutable PasswordComplexityNone : Android.App.Admin.PasswordComplexity

Field Value

Value = 0
Attributes

Remarks

Constant for #getPasswordComplexity() and #setRequiredPasswordComplexity(int): no password.

When returned from #getPasswordComplexity(), the constant represents the exact complexity band the password is in. When passed to #setRequiredPasswordComplexity(int), it sets the minimum complexity band which the password must meet.

Java documentation for android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_NONE.

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