Condividi tramite


IInputMethod.HideSoftInput(Int32, ResultReceiver) Method

Definition

Request that any soft input part of the input method be hidden from the user.

[Android.Runtime.Register("hideSoftInput", "(ILandroid/os/ResultReceiver;)V", "GetHideSoftInput_ILandroid_os_ResultReceiver_Handler:Android.Views.InputMethods.IInputMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void HideSoftInput (int flags, Android.OS.ResultReceiver? resultReceiver);
[<Android.Runtime.Register("hideSoftInput", "(ILandroid/os/ResultReceiver;)V", "GetHideSoftInput_ILandroid_os_ResultReceiver_Handler:Android.Views.InputMethods.IInputMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member HideSoftInput : int * Android.OS.ResultReceiver -> unit

Parameters

flags
Int32

Provides additional information about the show request. Currently always 0.

resultReceiver
ResultReceiver

The client requesting the show may wish to be told the impact of their request, which should be supplied here. The result code should be InputMethodManager#RESULT_UNCHANGED_SHOWN InputMethodManager.RESULT_UNCHANGED_SHOWN, InputMethodManager#RESULT_UNCHANGED_HIDDEN InputMethodManager.RESULT_UNCHANGED_HIDDEN, InputMethodManager#RESULT_SHOWN InputMethodManager.RESULT_SHOWN, or InputMethodManager#RESULT_HIDDEN InputMethodManager.RESULT_HIDDEN.

Attributes

Remarks

Request that any soft input part of the input method be hidden from the user.

Java documentation for android.view.inputmethod.InputMethod.hideSoftInput(int, android.os.ResultReceiver).

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