Język

SearchResult.MatchInfo.Builder.SetSubmatchRange Method

Definition

Sets the submatch MatchRange corresponding to the given entry.

[Android.Runtime.Register("setSubmatchRange", "(Landroid/app/appsearch/SearchResult$MatchRange;)Landroid/app/appsearch/SearchResult$MatchInfo$Builder;", "", ApiSince=33)]
public Android.App.AppSearch.SearchResult.MatchInfo.Builder SetSubmatchRange(Android.App.AppSearch.SearchResult.MatchRange matchRange);
[<Android.Runtime.Register("setSubmatchRange", "(Landroid/app/appsearch/SearchResult$MatchRange;)Landroid/app/appsearch/SearchResult$MatchInfo$Builder;", "", ApiSince=33)>]
member this.SetSubmatchRange : Android.App.AppSearch.SearchResult.MatchRange -> Android.App.AppSearch.SearchResult.MatchInfo.Builder

Parameters

matchRange
SearchResult.MatchRange

The text range to store as the submatch range.

Returns

This builder instance.

Attributes

Remarks

Sets the submatch MatchRange corresponding to the given entry.

Android reference for android.app.appsearch.SearchResult.MatchInfo.Builder.setSubmatchRange.

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