AbstractInputMethodService.AbstractInputMethodImpl.SetSessionEnabled メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
既存のセッションを有効または無効にするには、その AbstractInputMethodSessionImpl#revokeSelf()
AbstractInputMethodSessionImpl.setEnabled() メソッドを呼び出します。
[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
パラメーター
- session
- IInputMethodSession
変更する SessionCallback.sessionCreated() を通じて以前に提供された IInputMethodSession 。
- enabled
- Boolean
実装
- 属性
注釈
既存のセッションを有効または無効にするには、その AbstractInputMethodSessionImpl#revokeSelf() AbstractInputMethodSessionImpl.setEnabled() メソッドを呼び出します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。