Share via


IInputMethod.CreateSession(IInputMethodSessionCallback) Method

Definition

Create a new InputMethodSession that can be handed to client applications for interacting with the input method.

[Android.Runtime.Register("createSession", "(Landroid/view/inputmethod/InputMethod$SessionCallback;)V", "GetCreateSession_Landroid_view_inputmethod_InputMethod_SessionCallback_Handler:Android.Views.InputMethods.IInputMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void CreateSession (Android.Views.InputMethods.IInputMethodSessionCallback? callback);
[<Android.Runtime.Register("createSession", "(Landroid/view/inputmethod/InputMethod$SessionCallback;)V", "GetCreateSession_Landroid_view_inputmethod_InputMethod_SessionCallback_Handler:Android.Views.InputMethods.IInputMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CreateSession : Android.Views.InputMethods.IInputMethodSessionCallback -> unit

Parameters

callback
IInputMethodSessionCallback

Interface that is called with the newly created session.

Attributes

Remarks

Java documentation for android.view.inputmethod.InputMethod.createSession(android.view.inputmethod.SessionCallback).

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