InputMethodService.OnShowInputRequested(ShowFlags, Boolean) Method

Definition

The system has decided that it may be time to show your input method.

[Android.Runtime.Register("onShowInputRequested", "(IZ)Z", "GetOnShowInputRequested_IZHandler")]
public virtual bool OnShowInputRequested (Android.Views.InputMethods.ShowFlags flags, bool configChange);
[<Android.Runtime.Register("onShowInputRequested", "(IZ)Z", "GetOnShowInputRequested_IZHandler")>]
abstract member OnShowInputRequested : Android.Views.InputMethods.ShowFlags * bool -> bool
override this.OnShowInputRequested : Android.Views.InputMethods.ShowFlags * bool -> bool

Parameters

flags
ShowFlags

Provides additional information about the show request, as per InputMethod#showSoftInput InputMethod.showSoftInput().

configChange
Boolean

This is true if we are re-showing due to a configuration change.

Returns

Returns true to indicate that the window should be shown.

Attributes

Remarks

The system has decided that it may be time to show your input method. This is called due to a corresponding call to your InputMethod#showSoftInput InputMethod.showSoftInput() method. The default implementation uses #onEvaluateInputViewShown(), #onEvaluateFullscreenMode(), and the current configuration to decide whether the input view should be shown at this point.

Java documentation for android.inputmethodservice.InputMethodService.onShowInputRequested(int, boolean).

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