public interface SoftKeyBoardListener
SystemCapability.Accessibility#ABILITY| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onSoftKeyBoardShowModeChanged(SoftKeyBoardController controller,
int showMode) |
Called when the show/hide mode of the soft keyboard changes.
|
void onSoftKeyBoardShowModeChanged(SoftKeyBoardController controller, int showMode)
AccessibleAbility#SHOW_MODE_AUTO and the soft key board is shown properly. In this case, you can use
AccessibleAbility to set the show/hide mode of the soft keyboard to
AccessibleAbility#SHOW_MODE_HIDE. Then, the soft keyboard will be hidden.controller - Indicates the soft keyboard controller.showMode - Indicates the show/hide mode of the soft keyboard.