SearchResult.TextMatchInfo Constructor

Definition

Creates a new immutable TextMatchInfo.

[Android.Runtime.Register(".ctor", "(Landroid/app/appsearch/SearchResult$MatchRange;Landroid/app/appsearch/SearchResult$MatchRange;Landroid/app/appsearch/SearchResult$MatchRange;)V", "", ApiSince=36)]
public TextMatchInfo(Android.App.AppSearch.SearchResult.MatchRange exactMatchRange, Android.App.AppSearch.SearchResult.MatchRange submatchRange, Android.App.AppSearch.SearchResult.MatchRange snippetRange);
[<Android.Runtime.Register(".ctor", "(Landroid/app/appsearch/SearchResult$MatchRange;Landroid/app/appsearch/SearchResult$MatchRange;Landroid/app/appsearch/SearchResult$MatchRange;)V", "", ApiSince=36)>]
new Android.App.AppSearch.SearchResult.TextMatchInfo : Android.App.AppSearch.SearchResult.MatchRange * Android.App.AppSearch.SearchResult.MatchRange * Android.App.AppSearch.SearchResult.MatchRange -> Android.App.AppSearch.SearchResult.TextMatchInfo

Parameters

exactMatchRange
SearchResult.MatchRange

the exact MatchRange for the entry. This value cannot be null.

submatchRange
SearchResult.MatchRange

the sub-match MatchRange for the entry. This value cannot be null.

snippetRange
SearchResult.MatchRange

the snippet MatchRange for the entry. This value cannot be null.

Attributes

Remarks

Creates a new immutable TextMatchInfo.

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

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