DeviceAdminInfo.UsesPolicyWatchLogin 字段

定义

注意

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

此设备管理员可以使用的策略类型:能够通过和查看用户DeviceAdminReceiver#ACTION_PASSWORD_FAILEDDeviceAdminReceiver#ACTION_PASSWORD_SUCCEEDEDDevicePolicyManager#getCurrentFailedPasswordAttempts登录尝试。

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

字段值

Value = 1

实现

属性

注解

此设备管理员可以使用的策略类型:能够通过和查看用户DeviceAdminReceiver#ACTION_PASSWORD_FAILEDDeviceAdminReceiver#ACTION_PASSWORD_SUCCEEDEDDevicePolicyManager#getCurrentFailedPasswordAttempts登录尝试。

若要控制此策略,设备管理员必须在其元数据的“uses-policies”部分中具有“watch-login”标记。

适用于 . 的 android.app.admin.DeviceAdminInfo.USES_POLICY_WATCH_LOGINJava 文档

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

适用于