DevicePolicyManager.ExtraPasswordComplexity Field

Definition

An integer indicating the complexity level of the new password an app would like the user to set when launching the action #ACTION_SET_NEW_PASSWORD.

[Android.Runtime.Register("EXTRA_PASSWORD_COMPLEXITY", ApiSince=29)]
[Android.Runtime.RequiresPermission("android.permission.REQUEST_PASSWORD_COMPLEXITY")]
public const string ExtraPasswordComplexity;
[<Android.Runtime.Register("EXTRA_PASSWORD_COMPLEXITY", ApiSince=29)>]
[<Android.Runtime.RequiresPermission("android.permission.REQUEST_PASSWORD_COMPLEXITY")>]
val mutable ExtraPasswordComplexity : string

Field Value

Attributes

Remarks

An integer indicating the complexity level of the new password an app would like the user to set when launching the action #ACTION_SET_NEW_PASSWORD.

Must be one of <ul> <li>#PASSWORD_COMPLEXITY_HIGH<li>#PASSWORD_COMPLEXITY_MEDIUM<li>#PASSWORD_COMPLEXITY_LOW<li>#PASSWORD_COMPLEXITY_NONE</ul>

If an invalid value is used, it will be treated as #PASSWORD_COMPLEXITY_NONE.

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

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