SearchSuggestionSpec.Builder.AddFilterSchemas 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.
Overloads
| Name | Description |
|---|---|
| AddFilterSchemas(ICollection<String>) |
Adds a schema filter to SearchSuggestionSpec Entry. |
| AddFilterSchemas(String[]) |
Adds a schema filter to SearchSuggestionSpec Entry. |
AddFilterSchemas(ICollection<String>)
Adds a schema filter to SearchSuggestionSpec Entry.
[Android.Runtime.Register("addFilterSchemas", "(Ljava/util/Collection;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=34)]
public Android.App.AppSearch.SearchSuggestionSpec.Builder AddFilterSchemas(System.Collections.Generic.ICollection<string> schemaTypes);
[<Android.Runtime.Register("addFilterSchemas", "(Ljava/util/Collection;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=34)>]
member this.AddFilterSchemas : System.Collections.Generic.ICollection<string> -> Android.App.AppSearch.SearchSuggestionSpec.Builder
Parameters
- schemaTypes
- ICollection<String>
Returns
- Attributes
Remarks
Adds a schema filter to SearchSuggestionSpec Entry. Only search for suggestions that has documents under the specified schema. If unset, the query will search over all schema.
Android reference for android.app.appsearch.SearchSuggestionSpec.Builder.addFilterSchemas.
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
AddFilterSchemas(String[])
Adds a schema filter to SearchSuggestionSpec Entry.
[Android.Runtime.Register("addFilterSchemas", "([Ljava/lang/String;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=34)]
public Android.App.AppSearch.SearchSuggestionSpec.Builder AddFilterSchemas(params string[] schemaTypes);
[<Android.Runtime.Register("addFilterSchemas", "([Ljava/lang/String;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=34)>]
member this.AddFilterSchemas : string[] -> Android.App.AppSearch.SearchSuggestionSpec.Builder
Parameters
- schemaTypes
- String[]
Returns
- Attributes
Remarks
Adds a schema filter to SearchSuggestionSpec Entry. Only search for suggestions that has documents under the specified schema. If unset, the query will search over all schema.
Android reference for android.app.appsearch.SearchSuggestionSpec.Builder.addFilterSchemas.
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.