AbstractInputMethodService.AbstractInputMethodImpl.StartInput 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當應用程式開始接收文字,並準備好讓輸入法處理接收事件並將結果文字回傳給應用程式時,就會呼叫此方法。
[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
關於請求輸入的文字框(通常是編輯文本)的資訊。
實作
- 屬性
備註
當應用程式開始接收文字,並準備好讓輸入法處理接收事件並將結果文字回傳給應用程式時,就會呼叫此方法。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。