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
使用新创建的会话调用的接口。
实现
- 属性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。