Language

AppInstallFilters.Builder.SetPackageNames(ICollection<String>) Method

Definition

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

[Android.Runtime.Register("setPackageNames", "(Ljava/util/Set;)Landroid/adservices/common/AppInstallFilters$Builder;", "", ApiSince=35)]
public Android.AdServices.Common.AppInstallFilters.Builder SetPackageNames(System.Collections.Generic.ICollection<string> packageNames);
[<Android.Runtime.Register("setPackageNames", "(Ljava/util/Set;)Landroid/adservices/common/AppInstallFilters$Builder;", "", ApiSince=35)>]
member this.SetPackageNames : System.Collections.Generic.ICollection<string> -> Android.AdServices.Common.AppInstallFilters.Builder

Parameters

packageNames
ICollection<String>

Returns

Attributes

Remarks

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

See AppInstallFilters.getPackageNames() for more information.

Android reference for android.adservices.common.AppInstallFilters.Builder.setPackageNames.

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