| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| API deprecated version change | Class name: InputMethodSetting; API declaration: showOptionalInputMethods(callback: AsyncCallback<boolean>): void; DIfferences: NA |
Class name: InputMethodSetting; API declaration: showOptionalInputMethods(callback: AsyncCallback<boolean>): void; DIfferences: 18 |
api/@ohos.inputMethod.d.ts |
| API deprecated version change | Class name: InputMethodSetting; API declaration: showOptionalInputMethods(): Promise<boolean>; DIfferences: NA |
Class name: InputMethodSetting; API declaration: showOptionalInputMethods(): Promise<boolean>; DIfferences: 18 |
api/@ohos.inputMethod.d.ts |
| New error code | Class name: Panel; API declaration: startMoving(): void; DIfferences: NA |
Class name: Panel; API declaration: startMoving(): void; DIfferences: 801 |
api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputMethodController; API declaration: on(type: 'setPreviewText', callback: SetPreviewTextCallback): void; DIfferences: on(type: 'setPreviewText', callback: SetPreviewTextCallback): void; |
api/@ohos.inputMethod.d.ts |
| New API | NA | Class name: InputMethodController; API declaration: off(type: 'setPreviewText', callback?: SetPreviewTextCallback): void; DIfferences: off(type: 'setPreviewText', callback?: SetPreviewTextCallback): void; |
api/@ohos.inputMethod.d.ts |
| New API | NA | Class name: InputMethodController; API declaration: on(type: 'finishTextPreview', callback: Callback<void>): void; DIfferences: on(type: 'finishTextPreview', callback: Callback<void>): void; |
api/@ohos.inputMethod.d.ts |
| New API | NA | Class name: InputMethodController; API declaration: off(type: 'finishTextPreview', callback?: Callback<void>): void; DIfferences: off(type: 'finishTextPreview', callback?: Callback<void>): void; |
api/@ohos.inputMethod.d.ts |
| New API | NA | Class name: inputMethod; API declaration: export type SetPreviewTextCallback = (text: string, range: Range) => void; DIfferences: export type SetPreviewTextCallback = (text: string, range: Range) => void; |
api/@ohos.inputMethod.d.ts |
| New API | NA | Class name: InputMethodAbility; API declaration: on(type: 'callingDisplayDidChange', callback: Callback<number>): void; DIfferences: on(type: 'callingDisplayDidChange', callback: Callback<number>): void; |
api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputMethodAbility; API declaration: off(type: 'callingDisplayDidChange', callback?: Callback<number>): void; DIfferences: off(type: 'callingDisplayDidChange', callback?: Callback<number>): void; |
api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: EditorAttribute; API declaration: readonly windowId?: number; DIfferences: readonly windowId?: number; |
api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: EditorAttribute; API declaration: readonly displayId?: number; DIfferences: readonly displayId?: number; |
api/@ohos.inputMethodEngine.d.ts |