Language

TextSelection.Request.Text Property

Definition

Returns the text providing context for the selected text (which is specified by the sub sequence starting at startIndex and ending at endIndex).

public string? Text { get; }
member this.Text : string

Property Value

The full context text converted to a string; the request's start and end indices identify the initial selection.

Remarks

Returns the text providing context for the selected text (which is specified by the sub sequence starting at startIndex and ending at endIndex).

Android reference for android.view.textclassifier.TextSelection.Request.getText.

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