语言

DevicePolicyManager.PasswordComplexityMedium 字段

定义

注意

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

常量和 #getPasswordComplexity()#setRequiredPasswordComplexity(int)。

[Android.Runtime.Register("PASSWORD_COMPLEXITY_MEDIUM", 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 PasswordComplexityMedium = 196608;
[<Android.Runtime.Register("PASSWORD_COMPLEXITY_MEDIUM", 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 PasswordComplexityMedium : Android.App.Admin.PasswordComplexity

字段值

Value = 196608
特性

注解

常量和 #getPasswordComplexity()#setRequiredPasswordComplexity(int)。 将中等密码复杂性带定义为:ul>li PIN 且<>不<>重复 (4444) 或有序 (1234, 4321, 2468) 序列,长度至少为 4 li>字母,长度至少为 4 <li 字母数字,长度至少为 4 li>字母数字,长度至少为 4 <</ul><<>

从中返回 #getPasswordComplexity()时,常量表示密码所输入的确切复杂性带。 传递给 #setRequiredPasswordComplexity(int)时,它将设置密码必须满足的最低复杂性带。

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

Java文档android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_MEDIUM。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于