AbstractInputMethodService.AbstractInputMethodImpl.StartInput 方法

定義

當應用程式開始接收文字,並準備好讓輸入法處理接收事件並將結果文字回傳給應用程式時,就會呼叫此方法。

[Android.Runtime.Register("startInput", "(Landroid/view/inputmethod/InputConnection;Landroid/view/inputmethod/EditorInfo;)V", "GetStartInput_Landroid_view_inputmethod_InputConnection_Landroid_view_inputmethod_EditorInfo_Handler")]
public abstract 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")>]
abstract member StartInput : Android.Views.InputMethods.IInputConnection * Android.Views.InputMethods.EditorInfo -> unit

參數

inputConnection
IInputConnection

可選的專用輸入連接,用於與文字框通訊;如果是 null,你應該使用通用的 bound 輸入連線。

editorInfo
EditorInfo

關於請求輸入的文字框(通常是編輯文本)的資訊。

實作

屬性

備註

當應用程式開始接收文字,並準備好讓輸入法處理接收事件並將結果文字回傳給應用程式時,就會呼叫此方法。

Java 文件 android.view.inputmethod.InputMethod.startInput(android.view.inputmethod.InputConnection, android.view.inputmethod.EditorInfo)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於