語言

PackagePolicy.PackagePolicyAllowlist 欄位

定義

警告

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", 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 PackagePolicyAllowlist = 3;
[<Android.Runtime.Register("PACKAGE_POLICY_ALLOWLIST", 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 PackagePolicyAllowlist : Android.App.Admin.PackagePolicyMode

欄位值

Value = 3

實作

屬性

備註

PackagePolicy 類型指示器 PackagePolicy

此常數表示除 所回 PackagePolicy#getPackageNames()傳的套件外,所有套件皆被拒絕,該套件作為允許清單。

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

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

適用於