Language

InputMethodService.InputMethodSessionImpl.UpdateExtractedText Method

Definition

Call InputMethodService#onUpdateExtractedText InputMethodService.onUpdateExtractedText().

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

Parameters

token
Int32

The extraction-request token passed to the service; the base service ignores an update when this token does not match.

text
ExtractedText

The extracted text passed to the service; the base service ignores a null value.

Attributes

Remarks

Call InputMethodService#onUpdateExtractedText InputMethodService.onUpdateExtractedText().

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