HintFilter.Builder.AddPackage(String, HintFilterType) 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.
Adds a package-name criterion to the filter.
[Android.Runtime.Register("addPackage", "(Ljava/lang/String;I)Landroid/app/personalcontext/hint/HintFilter$Builder;", "", ApiSince=37)]
public Android.App.PersonalContext.Hint.HintFilter.Builder AddPackage(string packageName, Android.App.PersonalContext.Hint.HintFilterType filterType);
[<Android.Runtime.Register("addPackage", "(Ljava/lang/String;I)Landroid/app/personalcontext/hint/HintFilter$Builder;", "", ApiSince=37)>]
member this.AddPackage : string * Android.App.PersonalContext.Hint.HintFilterType -> Android.App.PersonalContext.Hint.HintFilter.Builder
Parameters
- packageName
- String
The package-name string to add as a criterion.
- filterType
- HintFilterType
The filtering flags to associate with this package criterion.
Returns
The builder after the package criterion is added.
- Attributes
Remarks
The entry is added with the selected flags. A required entry also receives the allowed bit.