Share via


IInputMethod.StartInput(IInputConnection, EditorInfo) Method

Definition

This method is called when the application starts to receive text and it is ready for this input method to process received events and send result text back to the application.

[Android.Runtime.Register("startInput", "(Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;)V", "GetStartInput_Landroid_view_inputmethod_InputConnection_Landroid_view_inputmethod_EditorInfo_Handler:Android.Views.InputMethods.IInputMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void StartInput (Android.Views.InputMethods.IInputConnection? inputConnection, Android.Views.InputMethods.EditorInfo? editorInfo);
[<Android.Runtime.Register("startInput", "(Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;)V", "GetStartInput_Landroid_view_inputmethod_InputConnection_Landroid_view_inputmethod_EditorInfo_Handler:Android.Views.InputMethods.IInputMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member StartInput : 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

Information about the text box (typically, an EditText) that requests input.

Attributes

Remarks

This method is called when the application starts to receive text and it is ready for this input method to process received events and send result text back to the application.

Java documentation for android.view.inputmethod.InputMethod.startInput(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

See also