mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 09:22:53 +00:00
modify api jsdoc
Signed-off-by: zhaolinglan <zhaolinglan@huawei.com>
This commit is contained in:
parent
bebd66f22f
commit
deeaf8be85
12
api/@ohos.inputMethodEngine.d.ts
vendored
12
api/@ohos.inputMethodEngine.d.ts
vendored
@ -242,9 +242,10 @@ declare namespace inputMethodEngine {
|
||||
const WINDOW_TYPE_INPUT_METHOD_FLOAT: number;
|
||||
|
||||
/**
|
||||
* @since 9
|
||||
* get InputMethodAbility object
|
||||
* @returns { InputMethodAbility } the object of the InputMethodAbility.
|
||||
* @syscap SystemCapability.MiscServices.InputMethodFramework
|
||||
* @since 9
|
||||
*/
|
||||
function getInputMethodAbility(): InputMethodAbility;
|
||||
|
||||
@ -256,9 +257,10 @@ declare namespace inputMethodEngine {
|
||||
function getInputMethodEngine(): InputMethodEngine;
|
||||
|
||||
/**
|
||||
* @since 9
|
||||
* get KeyboardDelegate object
|
||||
* @returns { KeyboardDelegate } the object of KeyboardDelegate.
|
||||
* @syscap SystemCapability.MiscServices.InputMethodFramework
|
||||
* @since 9
|
||||
*/
|
||||
function getKeyboardDelegate(): KeyboardDelegate;
|
||||
|
||||
@ -274,16 +276,18 @@ declare namespace inputMethodEngine {
|
||||
*/
|
||||
interface KeyboardController {
|
||||
/**
|
||||
* @since 9
|
||||
* hide soft keybaord
|
||||
* @throws {BusinessError} 12800003 - input method client error.
|
||||
* @syscap SystemCapability.MiscServices.InputMethodFramework
|
||||
* @since 9
|
||||
*/
|
||||
hide(callback: AsyncCallback<void>): void;
|
||||
|
||||
/**
|
||||
* @since 9
|
||||
* hide soft keybaord
|
||||
* @throws {BusinessError} 12800003 - input method client error.
|
||||
* @syscap SystemCapability.MiscServices.InputMethodFramework
|
||||
* @since 9
|
||||
*/
|
||||
hide(): Promise<void>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user