!2432 输入法框架新增显示隐藏键盘接口

Merge pull request !2432 from mashaoyin/master
This commit is contained in:
openharmony_ci 2022-08-16 04:12:41 +00:00 committed by Gitee
commit b45f574966
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -84,6 +84,40 @@ declare namespace inputMethod {
stopInput(callback: AsyncCallback<boolean>): void;
stopInput(): Promise<boolean>;
/**
* Show soft keyboard
* @since 9
* @param callback
* @return :-
* @syscap SystemCapability.MiscServices.InputMethodFramework
*/
showSoftKeyboard(callback: AsyncCallback<void>): void;
/**
* Show soft keyboard
* @since 9
* @return :-
* @syscap SystemCapability.MiscServices.InputMethodFramework
*/
showSoftKeyboard():Promise<void>;
/**
* Hide soft keyboard
* @since 9
* @param callback
* @return :-
* @syscap SystemCapability.MiscServices.InputMethodFramework
*/
hideSoftKeyboard(callback: AsyncCallback<void>): void;
/**
* Hide soft keyboard
* @since 9
* @return :-
* @syscap SystemCapability.MiscServices.InputMethodFramework
*/
hideSoftKeyboard():Promise<void>;
}
/**