InputMethodService.OnFinishInput Method

Definition

Called to inform the input method that text input has finished in the last editor.

[Android.Runtime.Register("onFinishInput", "()V", "GetOnFinishInputHandler")]
public virtual void OnFinishInput ();
[<Android.Runtime.Register("onFinishInput", "()V", "GetOnFinishInputHandler")>]
abstract member OnFinishInput : unit -> unit
override this.OnFinishInput : unit -> unit
Attributes

Remarks

Called to inform the input method that text input has finished in the last editor. At this point there may be a call to #onStartInput(EditorInfo, boolean) to perform input in a new editor, or the input method may be left idle. This method is <em>not</em> called when input restarts in the same editor.

The default implementation uses the InputConnection to clear any active composing text; you can override this (not calling the base class implementation) to perform whatever behavior you would like.

Java documentation for android.inputmethodservice.InputMethodService.onFinishInput().

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