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

使用新创建的会话调用的接口。

实现

属性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于