Language

SearchSpec.TermMatch Property

Definition

Returns how the query terms should match terms in the index.

public int TermMatch { [Android.Runtime.Register("getTermMatch", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getTermMatch", "()I", "", ApiSince=31)>]
member this.TermMatch : int

Property Value

Value is one of the following: TERM_MATCH_EXACT_ONLY TERM_MATCH_PREFIX

Attributes

Remarks

Returns how the query terms should match terms in the index.

Java documentation for android.app.appsearch.SearchSpec.getTermMatch().

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