Språk

HideSoftInputFlags Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
None 0

No soft input hiding flags are set.

ImplicitOnly 1

This constant was deprecated in API level 37. On Android 16, the flag can be ignored when the platform uses refactored insets handling. On Android 17 and later, it has no effect.

Requests that HideSoftInputFromWindow(IBinder, HideSoftInputFlags) or RequestHideSelf(HideSoftInputFlags) hide the soft input window only if the user did not explicitly show it.

Android reference for android.view.inputmethod.InputMethodManager.HIDE_IMPLICIT_ONLY.

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.

NotAlways 2

This constant was deprecated in API level 37. On Android 16, the flag can be ignored when the platform uses refactored insets handling. On Android 17 and later, it has no effect.

Requests that HideSoftInputFromWindow(IBinder, HideSoftInputFlags) or RequestHideSelf(HideSoftInputFlags) hide the soft input window unless it was originally shown with Forced.

Android reference for android.view.inputmethod.InputMethodManager.HIDE_NOT_ALWAYS.

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