语言

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。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于