IInputMethod.SetSessionEnabled(IInputMethodSession, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.