Partager via


AbstractInputMethodService.AbstractInputMethodImpl.CreateSession Method

Definition

Instantiate a new client session for the input method, by calling back to 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

Parameters

callback
IInputMethodSessionCallback

Interface that is called with the newly created session.

Implements

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to