語言

DevicePolicyManager.PolicyScopeDevice 欄位

定義

警告

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

標記 用於 #setPolicy 套用政策到整個裝置。

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

欄位值

Value = 2
屬性

備註

setPolicy(PolicyIdentifier, int, T) 用於將政策套用於整個裝置的標誌。

Android 參考資料。android.app.admin.DevicePolicyManager.POLICY_SCOPE_DEVICE

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

適用於