Langue

PackagePolicy.PackagePolicyAllowlist Champ

Définition

Attention

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

Indicateur de type PackagePolicy pour 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

Valeur de champ

Value = 3

Implémente

Attributs

Remarques

Indicateur de type PackagePolicy pour PackagePolicy

Cette constante indique que tous les packages sont refusés, à l’exception des packages retournés par PackagePolicy#getPackageNames(), qui joue le rôle de liste verte.

Java documentation pour android.app.admin.PackagePolicy.PACKAGE_POLICY_ALLOWLIST.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à