InputMethodManager.ToggleSoftInputFromWindow(IBinder, ShowSoftInputFlags, HideSoftInputFlags) Method

Definition

Caution

deprecated

This method toggles the input method window display.

[Android.Runtime.Register("toggleSoftInputFromWindow", "(Landroid/os/IBinder;II)V", "")]
[System.Obsolete("deprecated")]
public void ToggleSoftInputFromWindow (Android.OS.IBinder? windowToken, Android.Views.InputMethods.ShowSoftInputFlags showFlags, Android.Views.InputMethods.HideSoftInputFlags hideFlags);
[<Android.Runtime.Register("toggleSoftInputFromWindow", "(Landroid/os/IBinder;II)V", "")>]
[<System.Obsolete("deprecated")>]
member this.ToggleSoftInputFromWindow : Android.OS.IBinder * Android.Views.InputMethods.ShowSoftInputFlags * Android.Views.InputMethods.HideSoftInputFlags -> unit

Parameters

windowToken
IBinder

The token of the window that is making the request, as returned by View#getWindowToken() View.getWindowToken().

showFlags
ShowSoftInputFlags

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

hideFlags
HideSoftInputFlags

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

Attributes

Remarks

Java documentation for android.view.inputmethod.InputMethodManager.toggleSoftInputFromWindow(android.os.IBinder, 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