AbstractInputMethodService.AbstractInputMethodImpl.CreateSession 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過回調到 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。