From 3765190d15938b127df37a9daccaadd97f14f111 Mon Sep 17 00:00:00 2001 From: zhouyongfei Date: Tue, 22 Mar 2022 01:30:27 +0000 Subject: [PATCH 1/2] refresh interface Signed-off-by: zhouyongfei --- api/@ohos.inputmethod.d.ts | 2 +- api/@ohos.inputmethodengine.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.inputmethod.d.ts b/api/@ohos.inputmethod.d.ts index 2ec69c2eeb..44114b10f1 100644 --- a/api/@ohos.inputmethod.d.ts +++ b/api/@ohos.inputmethod.d.ts @@ -19,7 +19,7 @@ import {AsyncCallback} from './basic'; * inputmethod * * @since 6 - * @syscap SystemCapability.MiscServices.InputMethodFramework + * @syscap SystemCapability.Miscservices.InputMethodFramework */ declare namespace inputMethod { const MAX_TYPE_NUM: number diff --git a/api/@ohos.inputmethodengine.d.ts b/api/@ohos.inputmethodengine.d.ts index 0f11096d63..47ab89878e 100644 --- a/api/@ohos.inputmethodengine.d.ts +++ b/api/@ohos.inputmethodengine.d.ts @@ -19,7 +19,7 @@ import {AsyncCallback} from './basic'; * inputmethodengine * * @since 8 - * @syscap SystemCapability.MiscServices.InputMethodFramework + * @syscap SystemCapability.Miscservices.InputMethodFramework */ declare namespace inputMethodEngine { const ENTER_KEY_TYPE_UNSPECIFIED: number; -- Gitee From 7c7a14c8ebb82e3c5d2c085d5d06d1a11f3cb20b Mon Sep 17 00:00:00 2001 From: zhouyongfei Date: Tue, 22 Mar 2022 02:41:09 +0000 Subject: [PATCH 2/2] refresh Signed-off-by: zhouyongfei --- api/@ohos.inputmethodengine.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.inputmethodengine.d.ts b/api/@ohos.inputmethodengine.d.ts index 47ab89878e..19b7beac09 100644 --- a/api/@ohos.inputmethodengine.d.ts +++ b/api/@ohos.inputmethodengine.d.ts @@ -58,7 +58,7 @@ declare namespace inputMethodEngine { function createKeyboardDelegate(): KeyboardDelegate; interface KeyboardController { - hideKeyboard(callbakc: AsyncCallback): void; + hideKeyboard(callback: AsyncCallback): void; hideKeyboard(): Promise; } @@ -86,15 +86,15 @@ declare namespace inputMethodEngine { deleteBackward(length: number): Promise; - InsertText(text: string, callback: AsyncCallback): void; + insertText(text: string, callback: AsyncCallback): void; - InsertText(text: string): Promise; + insertText(text: string): Promise; getForward(length: number, callback: AsyncCallback): void; getForward(length: number): Promise; - getEditorAttribute(lcallback: AsyncCallback): void; + getEditorAttribute(callback: AsyncCallback): void; getEditorAttribute(): Promise; } -- Gitee