DevicePolicyManager.PasswordComplexityHigh 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).

[Android.Runtime.Register("PASSWORD_COMPLEXITY_HIGH", 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 PasswordComplexityHigh = 327680;
[<Android.Runtime.Register("PASSWORD_COMPLEXITY_HIGH", 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 PasswordComplexityHigh : Android.App.Admin.PasswordComplexity

Field Value

Value = 327680
Attributes

Remarks

Constant for #getPasswordComplexity() and #setRequiredPasswordComplexity(int). Define the high password complexity band as: <ul> <li>PIN with <b>no</b> repeating (4444) or ordered (1234, 4321, 2468) sequences, length at least 8 <li>alphabetic, length at least 6 <li>alphanumeric, length at least 6 </ul>

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.

@see #PASSWORD_QUALITY_NUMERIC_COMPLEX @see #PASSWORD_QUALITY_ALPHABETIC @see #PASSWORD_QUALITY_ALPHANUMERIC

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

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