SearchSuggestionSpec.Builder.AddFilterProperties 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 property paths for the specified type to the suggestion property filter.
[Android.Runtime.Register("addFilterProperties", "(Ljava/lang/String;Ljava/util/Collection;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=35)]
public Android.App.AppSearch.SearchSuggestionSpec.Builder AddFilterProperties(string schema, System.Collections.Generic.ICollection<string> propertyPaths);
[<Android.Runtime.Register("addFilterProperties", "(Ljava/lang/String;Ljava/util/Collection;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=35)>]
member this.AddFilterProperties : string * System.Collections.Generic.ICollection<string> -> Android.App.AppSearch.SearchSuggestionSpec.Builder
Parameters
- schema
- String
The name of the schema type containing the target properties. This value cannot be null.
- propertyPaths
- ICollection<String>
The String version of PropertyPath. A dot-delimited sequence of property names identifying a property to search. This value cannot be null.
Returns
This builder instance.
- Attributes
Remarks
Adds property paths for the specified type to the suggestion property filter. Only search for suggestions from the specified properties. Property paths cannot be null. A later call for the same schema replaces its previous property paths. Example properties: 'body', 'sender.name', 'sender.emailaddress', etc.
Android reference for android.app.appsearch.SearchSuggestionSpec.Builder.addFilterProperties.
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.