Dela via


SearchSpec.Builder.AddFilterPackageNames Method

Definition

Overloads

AddFilterPackageNames(ICollection<String>)
AddFilterPackageNames(String[])

AddFilterPackageNames(ICollection<String>)

[Android.Runtime.Register("addFilterPackageNames", "(Ljava/util/Collection;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.SearchSpec.Builder AddFilterPackageNames (System.Collections.Generic.ICollection<string> packageNames);
[<Android.Runtime.Register("addFilterPackageNames", "(Ljava/util/Collection;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=31)>]
member this.AddFilterPackageNames : System.Collections.Generic.ICollection<string> -> Android.App.AppSearch.SearchSpec.Builder

Parameters

packageNames
ICollection<String>

Returns

Attributes

Applies to

AddFilterPackageNames(String[])

[Android.Runtime.Register("addFilterPackageNames", "([Ljava/lang/String;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.SearchSpec.Builder AddFilterPackageNames (params string[] packageNames);
[<Android.Runtime.Register("addFilterPackageNames", "([Ljava/lang/String;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=31)>]
member this.AddFilterPackageNames : string[] -> Android.App.AppSearch.SearchSpec.Builder

Parameters

packageNames
String[]

Returns

Attributes

Applies to