mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-12-03 13:12:09 +00:00
commit
b45f574966
34
api/@ohos.inputmethod.d.ts
vendored
34
api/@ohos.inputmethod.d.ts
vendored
@ -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>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user