ShowSoftInputFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.Flags]
public enum ShowSoftInputFlags
[<System.Flags>]
type ShowSoftInputFlags =
- Inheritance
-
ShowSoftInputFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | |
| Explicit | 1 | This constant was deprecated in API level 37. InputMethodManager.SHOW_IMPLICIT is deprecated therefore this flag becomes the default. There is no need to pass it anymore. Flag for showSoftInput(int, ResultReceiver): this show has been explicitly requested by the user. If not set, the system has decided it may be a good idea to show the input method based on a navigation operation in the UI. Android reference for 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. Starting in Android B, InputMethodManager.SHOW_IMPLICIT is deprecated and has no effect, therefore all requests will have this flag set. IMEs should no longer react to this flag. Flag for showSoftInput(int, ResultReceiver): this show has been forced to happen by the user. If set, the input method should remain visible until deliberately dismissed by the user in its UI. Android reference for 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.