SearchSpec.Builder.SetNumericSearchEnabled(Boolean) 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 NUMERIC_SEARCH feature as enabled/disabled according to the enabled parameter.
[Android.Runtime.Register("setNumericSearchEnabled", "(Z)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=34)]
public Android.App.AppSearch.SearchSpec.Builder SetNumericSearchEnabled(bool enabled);
[<Android.Runtime.Register("setNumericSearchEnabled", "(Z)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=34)>]
member this.SetNumericSearchEnabled : bool -> Android.App.AppSearch.SearchSpec.Builder
Parameters
- enabled
- Boolean
Enables the feature if true, otherwise disables it. If disabled, disallows use of AppSearchSchema.LongPropertyConfig.INDEXING_TYPE_RANGE and all other numeric querying features.
Returns
- Attributes
Remarks
Sets the NUMERIC_SEARCH feature as enabled/disabled according to the enabled parameter.
Android reference for android.app.appsearch.SearchSpec.Builder.setNumericSearchEnabled.
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.