IInputMethod.SetSessionEnabled(IInputMethodSession, Boolean) Method

Definition

Control whether a particular input method session is active.

[Android.Runtime.Register("setSessionEnabled", "(Landroid/view/inputmethod/InputMethodSession;Z)V", "GetSetSessionEnabled_Landroid_view_inputmethod_InputMethodSession_ZHandler:Android.Views.InputMethods.IInputMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetSessionEnabled (Android.Views.InputMethods.IInputMethodSession? session, bool enabled);
[<Android.Runtime.Register("setSessionEnabled", "(Landroid/view/inputmethod/InputMethodSession;Z)V", "GetSetSessionEnabled_Landroid_view_inputmethod_InputMethodSession_ZHandler:Android.Views.InputMethods.IInputMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetSessionEnabled : Android.Views.InputMethods.IInputMethodSession * bool -> unit

Parameters

session
IInputMethodSession

The InputMethodSession previously provided through SessionCallback.sessionCreated() that is to be changed.

enabled
Boolean
Attributes

Remarks

Control whether a particular input method session is active.

Java documentation for android.view.inputmethod.InputMethod.setSessionEnabled(android.view.inputmethod.InputMethodSession, boolean).

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