AbstractInputMethodService.AbstractInputMethodImpl.SetSessionEnabled 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.
Take care of enabling or disabling an existing session by calling its
AbstractInputMethodSessionImpl#revokeSelf()
AbstractInputMethodSessionImpl.setEnabled()
method.
[Android.Runtime.Register("setSessionEnabled", "(Landroid/view/inputmethod/InputMethodSession;Z)V", "GetSetSessionEnabled_Landroid_view_inputmethod_InputMethodSession_ZHandler")]
public virtual 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")>]
abstract member SetSessionEnabled : Android.Views.InputMethods.IInputMethodSession * bool -> unit
override this.SetSessionEnabled : Android.Views.InputMethods.IInputMethodSession * bool -> unit
Parameters
- session
- IInputMethodSession
The IInputMethodSession previously provided through SessionCallback.sessionCreated() that is to be changed.
- enabled
- Boolean
Implements
- Attributes
Remarks
Take care of enabling or disabling an existing session by calling its AbstractInputMethodSessionImpl#revokeSelf() AbstractInputMethodSessionImpl.setEnabled()
method.
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.