Share via


AbstractInputMethodService.AbstractInputMethodImpl.RestartInput Method

Definition

This method is called when the state of this input method needs to be reset.

[Android.Runtime.Register("restartInput", "(Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;)V", "GetRestartInput_Landroid_view_inputmethod_InputConnection_Landroid_view_inputmethod_EditorInfo_Handler")]
public abstract void RestartInput (Android.Views.InputMethods.IInputConnection inputConnection, Android.Views.InputMethods.EditorInfo editorInfo);
[<Android.Runtime.Register("restartInput", "(Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;)V", "GetRestartInput_Landroid_view_inputmethod_InputConnection_Landroid_view_inputmethod_EditorInfo_Handler")>]
abstract member RestartInput : Android.Views.InputMethods.IInputConnection * Android.Views.InputMethods.EditorInfo -> unit

Parameters

inputConnection
IInputConnection

Optional specific input connection for communicating with the text box; if null, you should use the generic bound input connection.

editorInfo
EditorInfo

The attribute of the text box (typically, a EditText) that requests input.

Implements

Attributes

Remarks

This method is called when the state of this input method needs to be reset.

Typically, this method is called when the input focus is moved from one text box to another.

Java documentation for android.view.inputmethod.InputMethod.restartInput(android.view.inputmethod.InputConnection, android.view.inputmethod.EditorInfo).

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