Partager via


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
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