Condividi tramite


AppInstallFilters.PackageNames Property

Definition

Gets the list of package names this ad is filtered on.

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

Property Value

Attributes

Remarks

Gets the list of package names this ad is filtered on.

The ad containing this filter will be removed from the ad auction if any of the package names are present on the device and have called setAppInstallAdvertisers.

Java documentation for android.adservices.common.AppInstallFilters.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