Taal

ShowSoftInputFlags Enum

Definition

Enumerates values returned by the Explicit, Forced, and None members and taken as a parameter of several types.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ShowSoftInputFlags
[<System.Flags>]
type ShowSoftInputFlags = 
Inheritance
ShowSoftInputFlags
Attributes

Fields

Name Value Description
None 0

No soft input showing flags are set.

Explicit 1

This constant was deprecated in API level 37. System show requests on Android 17 and later use this flag by default.

For ShowSoftInput(ShowSoftInputFlags, ResultReceiver), indicates that the user explicitly requested the input method. If not set, the system may have decided to show it based on a navigation operation.

Android reference for android.view.inputmethod.InputMethod.SHOW_EXPLICIT.

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.

Forced 2

This constant was deprecated in API level 35. Input methods should no longer react to it. On Android 17 and later, system show requests use Explicit instead.

For ShowSoftInput(ShowSoftInputFlags, ResultReceiver), indicates that the user forced the input method to show. If set, the input method should remain visible until the user deliberately dismisses it.

Android reference for android.view.inputmethod.InputMethod.SHOW_FORCED.

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.

Remarks

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