DevicePolicyManager.ResetPasswordDoNotAskCredentialsOnBoot 字段

定义

注意

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

标记和#resetPasswordWithToken#resetPassword:在设备启动时不要求用户凭据。

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

字段值

Value = 2
属性

注解

标记和#resetPasswordWithToken#resetPassword:在设备启动时不要求用户凭据。 如果设置了标志,则无需请求用户密码即可启动设备。 缺少此标志不会更改当前的启动要求。 此标志只能由设备所有者设置。 如果应用不是设备所有者,则忽略该标志。 设置标志后,如果不将设备重置为出厂默认设置,则无法将其恢复。

适用于 . 的 android.app.admin.DevicePolicyManager.RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOTJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于