The inputMethod.Panel module provides APIs for managing the attributes of the input method panel.
The initial APIs of this module are supported since API version 11. Newly added APIs will be marked with a superscript to indicate their earliest API version.
Defines the attributes of the input method panel.
System capability: SystemCapability.MiscServices.InputMethodFramework
Enumerates the types of the input method panel.
System capability: SystemCapability.MiscServices.InputMethodFramework
| Name | Value | Description |
|---|---|---|
| SOFT_KEYBOARD | 0 | Soft keyboard. |
| STATUS_BAR | 1 | Status bar. |
Enumerates the state types of the input method panel.
System capability: SystemCapability.MiscServices.InputMethodFramework
| Name | Value | Description |
|---|---|---|
| FLAG_FIXED | 0 | Fixed state type. |
| FLAG_FLOATING | 1 | Floating state type. |
| FLAG_CANDIDATE | 2 | Candidate state type. - When in the candidate state type, the input method panel is a window displaying candidates based on user input. - The input method service does not proactively control the visibility of the candidate panel. You need to control the visibility on your own. |