SearchResult.TextMatchInfo.ExactMatchRange Property

Definition

Gets the MatchRange of the exact term of the given entry that matched the query.

public Android.App.AppSearch.SearchResult.MatchRange ExactMatchRange { [Android.Runtime.Register("getExactMatchRange", "()Landroid/app/appsearch/SearchResult$MatchRange;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getExactMatchRange", "()Landroid/app/appsearch/SearchResult$MatchRange;", "", ApiSince=36)>]
member this.ExactMatchRange : Android.App.AppSearch.SearchResult.MatchRange

Property Value

Attributes

Remarks

Gets the MatchRange of the exact term of the given entry that matched the query. Class example 1: this returns [29, 32]. Class example 2: for the first TextMatchInfo, this returns [0, 4] and, for the second TextMatchInfo, this returns [0, 7].

Android reference for android.app.appsearch.SearchResult.TextMatchInfo.getExactMatchRange.

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