HarmonyOS 键盘开启和关闭?

使用什么api可以控制键盘的开启和关闭?

import inputMethod from ‘@ohos.inputMethod’;

的hideSoftKeyboard和showSoftKeyboard是系统方法,普通应用该怎么控制?

阅读 530