語言

PackagePolicy.PackagePolicyAllowlistAndSystem 欄位

定義

警告

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

PackagePolicy 類型指示器 PackagePolicy

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

欄位值

Value = 2

實作

屬性

備註

PackagePolicy 類型指示器 PackagePolicy

這個常數表示系統套件除了由 返回 PackagePolicy#getPackageNames()的套件外,還被允許,而 則作為允許清單。

接受 PackagePolicy 函數將進一步說明此政策的解釋方式。

Java 文件 android.app.admin.PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM。

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

適用於