Language

InputMethodService.OnUpdateExtractedText(Int32, ExtractedText) Method

Definition

Called when the application has reported new extracted text to be shown due to changes in its current text state.

[Android.Runtime.Register("onUpdateExtractedText", "(ILandroid/view/inputmethod/ExtractedText;)V", "GetOnUpdateExtractedText_ILandroid_view_inputmethod_ExtractedText_Handler")]
public virtual void OnUpdateExtractedText(int token, Android.Views.InputMethods.ExtractedText? text);
[<Android.Runtime.Register("onUpdateExtractedText", "(ILandroid/view/inputmethod/ExtractedText;)V", "GetOnUpdateExtractedText_ILandroid_view_inputmethod_ExtractedText_Handler")>]
abstract member OnUpdateExtractedText : int * Android.Views.InputMethods.ExtractedText -> unit
override this.OnUpdateExtractedText : int * Android.Views.InputMethods.ExtractedText -> unit

Parameters

token
Int32

The extraction-request token; the base implementation ignores updates that do not match its stored token.

text
ExtractedText

The extracted text; the base implementation ignores null and applies non-null text only when the token matches and an extract editor exists.

Attributes

Remarks

Called when the application has reported new extracted text to be shown due to changes in its current text state. The default implementation here places the new text in the extract edit text, when the input method is running in fullscreen mode.

Java documentation for android.inputmethodservice.InputMethodService.onUpdateExtractedText(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