Share via


AbstractInputMethodService.AbstractInputMethodSessionImpl.UpdateExtractedText Method

Definition

Called by a text editor to report its new extracted text when its contents change.

[Android.Runtime.Register("updateExtractedText", "(ILandroid/view/inputmethod/ExtractedText;)V", "GetUpdateExtractedText_ILandroid_view_inputmethod_ExtractedText_Handler")]
public abstract void UpdateExtractedText (int token, Android.Views.InputMethods.ExtractedText text);
[<Android.Runtime.Register("updateExtractedText", "(ILandroid/view/inputmethod/ExtractedText;)V", "GetUpdateExtractedText_ILandroid_view_inputmethod_ExtractedText_Handler")>]
abstract member UpdateExtractedText : int * Android.Views.InputMethods.ExtractedText -> unit

Parameters

token
Int32

The input method supplied token for identifying its request.

text
ExtractedText

The new extracted text.

Implements

Attributes

Remarks

Called by a text editor to report its new extracted text when its contents change. This will only be called if the input method calls InputConnection#getExtractedText(ExtractedTextRequest, int) InputConnection.getExtractedText() with the option to report updates.

Java documentation for android.view.inputmethod.InputMethodSession.updateExtractedText(int, 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