Language

PackagePolicy.PackageNames Property

Definition

Returns the list of packages to use as an allow/deny list based on policy type

public System.Collections.Generic.ICollection<string> PackageNames { [Android.Runtime.Register("getPackageNames", "()Ljava/util/Set;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getPackageNames", "()Ljava/util/Set;", "", ApiSince=34)>]
member this.PackageNames : System.Collections.Generic.ICollection<string>

Property Value

The package names to use as an allowlist or a blocklist, based on the policy type. The value is never null.

Attributes

Remarks

Returns the list of packages to use as an allow/deny list based on policy type

Java documentation for android.app.admin.PackagePolicy.getPackageNames().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to