Dela via


TextView.ExtractText(ExtractedTextRequest, ExtractedText) Method

Definition

If this TextView contains editable content, extract a portion of it based on the information in <var>request</var> in to <var>outText</var>.

[Android.Runtime.Register("extractText", "(Landroid/view/inputmethod/ExtractedTextRequest;Landroid/view/inputmethod/ExtractedText;)Z", "GetExtractText_Landroid_view_inputmethod_ExtractedTextRequest_Landroid_view_inputmethod_ExtractedText_Handler")]
public virtual bool ExtractText (Android.Views.InputMethods.ExtractedTextRequest? request, Android.Views.InputMethods.ExtractedText? outText);
[<Android.Runtime.Register("extractText", "(Landroid/view/inputmethod/ExtractedTextRequest;Landroid/view/inputmethod/ExtractedText;)Z", "GetExtractText_Landroid_view_inputmethod_ExtractedTextRequest_Landroid_view_inputmethod_ExtractedText_Handler")>]
abstract member ExtractText : Android.Views.InputMethods.ExtractedTextRequest * Android.Views.InputMethods.ExtractedText -> bool
override this.ExtractText : Android.Views.InputMethods.ExtractedTextRequest * Android.Views.InputMethods.ExtractedText -> bool

Parameters

outText
ExtractedText

Returns

Returns true if the text was successfully extracted, else false.

Attributes

Remarks

If this TextView contains editable content, extract a portion of it based on the information in <var>request</var> in to <var>outText</var>.

Java documentation for android.widget.TextView.extractText(android.view.inputmethod.ExtractedTextRequest, android.view.inputmethod.ExtractedText).

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