AbstractInputMethodService.AbstractInputMethodImpl.SetSessionEnabled Méthode

Définition

Veillez à activer ou désactiver une session existante en appelant sa AbstractInputMethodSessionImpl#revokeSelf() AbstractInputMethodSessionImpl.setEnabled() méthode.

[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

Paramètres

session
IInputMethodSession

Précédemment IInputMethodSession fourni via SessionCallback.sessionCreated() à modifier.

enabled
Boolean

Implémente

Attributs

Remarques

Veillez à activer ou désactiver une session existante en appelant sa AbstractInputMethodSessionImpl#revokeSelf() AbstractInputMethodSessionImpl.setEnabled() méthode.

Java documentation pour android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl.setSessionEnabled(android.view.inputmethod.InputMethodSession, boolean).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à