Share via


TextView.GetSearchResultHighlights Method

Definition

Gets the current search result ranges.

[Android.Runtime.Register("getSearchResultHighlights", "()[I", "GetGetSearchResultHighlightsHandler", ApiSince=34)]
public virtual int[]? GetSearchResultHighlights ();
[<Android.Runtime.Register("getSearchResultHighlights", "()[I", "GetGetSearchResultHighlightsHandler", ApiSince=34)>]
abstract member GetSearchResultHighlights : unit -> int[]
override this.GetSearchResultHighlights : unit -> int[]

Returns

Int32[]

a flatten search result ranges. null if not available.

Attributes

Remarks

Gets the current search result ranges.

Java documentation for android.widget.TextView.getSearchResultHighlights().

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