SearchResult.TextMatchInfo.SubmatchRange Property
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.
Gets the MatchRange of the exact term subsequence of the given entry that matched the query.
public Android.App.AppSearch.SearchResult.MatchRange SubmatchRange { [Android.Runtime.Register("getSubmatchRange", "()Landroid/app/appsearch/SearchResult$MatchRange;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getSubmatchRange", "()Landroid/app/appsearch/SearchResult$MatchRange;", "", ApiSince=36)>]
member this.SubmatchRange : Android.App.AppSearch.SearchResult.MatchRange
Property Value
- Attributes
Remarks
Gets the MatchRange of the exact term subsequence 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, 4].
Android reference for android.app.appsearch.SearchResult.TextMatchInfo.getSubmatchRange.
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.