AbstractInputMethodService.AbstractInputMethodSessionImpl.ToggleSoftInput(ShowFlags, HideSoftInputFlags) Method

Definition

Toggle the soft input window.

[Android.Runtime.Register("toggleSoftInput", "(II)V", "GetToggleSoftInput_IIHandler")]
public abstract void ToggleSoftInput (Android.Views.InputMethods.ShowFlags showFlags, Android.Views.InputMethods.HideSoftInputFlags hideFlags);
[<Android.Runtime.Register("toggleSoftInput", "(II)V", "GetToggleSoftInput_IIHandler")>]
abstract member ToggleSoftInput : Android.Views.InputMethods.ShowFlags * Android.Views.InputMethods.HideSoftInputFlags -> unit

Parameters

showFlags
ShowFlags

Provides additional operating flags. May be 0 or have the InputMethodManager#SHOW_IMPLICIT, InputMethodManager#SHOW_FORCED bit set.

hideFlags
HideSoftInputFlags

Provides additional operating flags. May be 0 or have the InputMethodManager#HIDE_IMPLICIT_ONLY, InputMethodManager#HIDE_NOT_ALWAYS bit set.

Implements

Attributes

Remarks

Java documentation for android.view.inputmethod.InputMethodSession.toggleSoftInput(int, int).

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.

Applies to