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
ImplicitOnly 1

This constant was deprecated in API level 37. Starting in Android B, this flag has no effect anymore.

Flag for hideSoftInputFromWindow(IBinder, int) and InputMethodService.requestHideSelf(int) to indicate that the soft input window should only be hidden if it was not explicitly shown by the user.

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. Starting in Android B, this flag has no effect anymore.

Flag for hideSoftInputFromWindow(IBinder, int) and InputMethodService.requestShowSelf(int) to indicate that the soft input window should normally be hidden, unless it was originally shown with SHOW_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