Language

AppSearchSchema.StringPropertyConfig.Builder.SetIndexingType(Int32) Method

Definition

Configures how a property should be indexed so that it can be retrieved by queries.

[Android.Runtime.Register("setIndexingType", "(I)Landroid/app/appsearch/AppSearchSchema$StringPropertyConfig$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.AppSearchSchema.StringPropertyConfig.Builder SetIndexingType(int indexingType);
[<Android.Runtime.Register("setIndexingType", "(I)Landroid/app/appsearch/AppSearchSchema$StringPropertyConfig$Builder;", "", ApiSince=31)>]
member this.SetIndexingType : int -> Android.App.AppSearch.AppSearchSchema.StringPropertyConfig.Builder

Parameters

indexingType
Int32

Value is one of the following: AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_NONE AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS AppSearchSchema.StringPropertyConfig.INDEXING_TYPE_PREFIXES

Returns

Attributes

Remarks

Configures how a property should be indexed so that it can be retrieved by queries. If this method is not called, the default indexing type is StringPropertyConfig.INDEXING_TYPE_NONE, so that it cannot be matched by queries.

Android reference for android.app.appsearch.AppSearchSchema.StringPropertyConfig.Builder.setIndexingType.

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