Share via


IInputMethod.ShowSoftInput(ShowSoftInputFlags, ResultReceiver) Method

Definition

Request that any soft input part of the input method be shown to the user.

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

Parameters

flags
ShowSoftInputFlags

Provides additional information about the show request. Currently may be 0 or have the bit #SHOW_EXPLICIT set.

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 shown to the user.

Java documentation for android.view.inputmethod.InputMethod.showSoftInput(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