語言

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_SUCCEEDED、 DevicePolicyManager#getCurrentFailedPasswordAttempts和 監控使用者DeviceAdminReceiver#ACTION_PASSWORD_FAILED的登入嘗試。

[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_SUCCEEDED、 DevicePolicyManager#getCurrentFailedPasswordAttempts和 監控使用者DeviceAdminReceiver#ACTION_PASSWORD_FAILED的登入嘗試。

為了控制此政策,裝置管理員必須在其元資料的「uses-policies」區塊中設置「watch-login」標籤。

Java 文件 android.app.admin.DeviceAdminInfo.USES_POLICY_WATCH_LOGIN。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於