AbstractInputMethodService.AbstractInputMethodImpl.SetSessionEnabled Metode

Definisi

Berhati-hatilah untuk mengaktifkan atau menonaktifkan sesi yang ada dengan memanggil metodenya 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

Parameter

session
IInputMethodSession

Yang IInputMethodSession sebelumnya disediakan melalui SessionCallback.sessionCreated() yang akan diubah.

enabled
Boolean

Penerapan

Atribut

Keterangan

Berhati-hatilah untuk mengaktifkan atau menonaktifkan sesi yang ada dengan memanggil metodenya AbstractInputMethodSessionImpl#revokeSelf() AbstractInputMethodSessionImpl.setEnabled() .

Java dokumentasi untuk android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl.setSessionEnabled(android.view.inputmethod.InputMethodSession, boolean).

Bagian dari halaman ini adalah modifikasi berdasarkan pekerjaan yang dibuat dan dibagikan oleh Android Open Source Project dan digunakan sesuai dengan istilah yang dijelaskan dalam Lisensi Creative Commons 2.5 Lisensi Atribusi.

Berlaku untuk