diff --git a/api/@ohos.inputmethod.d.ts b/api/@ohos.inputmethod.d.ts index 2ec69c2eeb4b37a92c26744b2e753eb227fa02a3..44114b10f16b3386a8a409acc10bcc5d3362039f 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 0f11096d63625ec99043161ed79b591e983e3ef9..19b7beac09676a0fbd5cbecd3a9499c641069399 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; @@ -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; }