AppFunctionSearchSpec.Builder.SetPackageNames Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the list of package names to filter by, or null to skip this filter.
[Android.Runtime.Register("setPackageNames", "(Ljava/util/Set;)Landroid/app/appfunctions/AppFunctionSearchSpec$Builder;", "", ApiSince=37)]
public Android.App.AppFunctions.AppFunctionSearchSpec.Builder SetPackageNames(System.Collections.Generic.ICollection<string>? packageNames);
[<Android.Runtime.Register("setPackageNames", "(Ljava/util/Set;)Landroid/app/appfunctions/AppFunctionSearchSpec$Builder;", "", ApiSince=37)>]
member this.SetPackageNames : System.Collections.Generic.ICollection<string> -> Android.App.AppFunctions.AppFunctionSearchSpec.Builder
Parameters
- packageNames
- ICollection<String>
the list of package names to filter by. This value may be null.
Returns
- Attributes
Remarks
Sets the list of package names to filter by, or null to skip this filter.
Android reference for android.app.appfunctions.AppFunctionSearchSpec.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.