InputMethodManager.HideSoftInputFromInputMethod(IBinder, HideSoftInputFlags) Method

Definition

Caution

deprecated

Close/hide the input method's soft input area, so the user no longer sees it or can interact with it.

[Android.Runtime.Register("hideSoftInputFromInputMethod", "(Landroid/os/IBinder;I)V", "")]
[System.Obsolete("deprecated")]
public void HideSoftInputFromInputMethod (Android.OS.IBinder? token, Android.Views.InputMethods.HideSoftInputFlags flags);
[<Android.Runtime.Register("hideSoftInputFromInputMethod", "(Landroid/os/IBinder;I)V", "")>]
[<System.Obsolete("deprecated")>]
member this.HideSoftInputFromInputMethod : Android.OS.IBinder * Android.Views.InputMethods.HideSoftInputFlags -> unit

Parameters

token
IBinder

Supplies the identifying token given to an input method when it was started, which allows it to perform this operation on itself.

flags
HideSoftInputFlags

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

Attributes

Remarks

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