AbstractInputMethodService.AbstractInputMethodImpl.CreateSession 方法

定義

透過回調到 OnCreateInputMethodSessionInterface(),實例化輸入方法的新客戶端會話。

[Android.Runtime.Register("createSession", "(Landroid/view/inputmethod/InputMethod$SessionCallback;)V", "GetCreateSession_Landroid_view_inputmethod_InputMethod_SessionCallback_Handler")]
public virtual void CreateSession(Android.Views.InputMethods.IInputMethodSessionCallback callback);
[<Android.Runtime.Register("createSession", "(Landroid/view/inputmethod/InputMethod$SessionCallback;)V", "GetCreateSession_Landroid_view_inputmethod_InputMethod_SessionCallback_Handler")>]
abstract member CreateSession : Android.Views.InputMethods.IInputMethodSessionCallback -> unit
override this.CreateSession : Android.Views.InputMethods.IInputMethodSessionCallback -> unit

參數

callback
IInputMethodSessionCallback

與新建立的會話一起呼叫的介面。

實作

屬性

備註

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

適用於