| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| Deleted error code | Class name: InputMethodExtensionAbility; API declaration: onCreate(want: Want): void; Differences: 401 | Class name: InputMethodExtensionAbility; API declaration: onCreate(want: Want): void; Differences: NA | api/@ohos.InputMethodExtensionAbility.d.ts |
| Deleted error code | Class name: InputMethodExtensionAbility; API declaration: onDestroy(): void; Differences: 401 | Class name: InputMethodExtensionAbility; API declaration: onDestroy(): void; Differences: NA | api/@ohos.InputMethodExtensionAbility.d.ts |
| New API | NA | Class name: EnterKeyType; API declaration: NEWLINE Differences: NEWLINE | api/@ohos.inputMethod.d.ts |
| New API | NA | Class name: inputMethodEngine; API declaration: const ENTER_KEY_TYPE_NEWLINE: 8; Differences: const ENTER_KEY_TYPE_NEWLINE: 8; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: inputMethodEngine; API declaration: type CommandDataType = number |string |boolean; Differences: type CommandDataType = number |string |boolean; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputMethodAbility; API declaration: on(type: 'privateCommand', callback: Callback<Record<string, CommandDataType>>): void; Differences: on(type: 'privateCommand', callback: Callback<Record<string, CommandDataType>>): void; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputMethodAbility; API declaration: off(type: 'privateCommand', callback?: Callback<Record<string, CommandDataType>>): void; Differences: off(type: 'privateCommand', callback?: Callback<Record<string, CommandDataType>>): void; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputClient; API declaration: sendPrivateCommand(commandData: Record<string, CommandDataType>): Promise<void>; Differences: sendPrivateCommand(commandData: Record<string, CommandDataType>): Promise<void>; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputClient; API declaration: getCallingWindowInfo(): Promise<WindowInfo>; Differences: getCallingWindowInfo(): Promise<WindowInfo>; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputClient; API declaration: setPreviewText(text: string, range: Range): Promise<void>; Differences: setPreviewText(text: string, range: Range): Promise<void>; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputClient; API declaration: setPreviewTextSync(text: string, range: Range): void; Differences: setPreviewTextSync(text: string, range: Range): void; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputClient; API declaration: finishTextPreview(): Promise<void>; Differences: finishTextPreview(): Promise<void>; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputClient; API declaration: finishTextPreviewSync(): void; Differences: finishTextPreviewSync(): void; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: Panel; API declaration: adjustPanelRect(flag: PanelFlag, rect: PanelRect): void; Differences: adjustPanelRect(flag: PanelFlag, rect: PanelRect): void; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: Panel; API declaration: on(type: 'sizeChange', callback: Callback<window.Size>): void; Differences: on(type: 'sizeChange', callback: Callback<window.Size>): void; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: Panel; API declaration: off(type: 'sizeChange', callback?: Callback<window.Size>): void; Differences: off(type: 'sizeChange', callback?: Callback<window.Size>): void; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: EditorAttribute; API declaration: isTextPreviewSupported: boolean; Differences: isTextPreviewSupported: boolean; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: inputMethodEngine; API declaration: export interface WindowInfo Differences: export interface WindowInfo | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: WindowInfo; API declaration: rect: window.Rect; Differences: rect: window.Rect; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: WindowInfo; API declaration: status: window.WindowStatusType; Differences: status: window.WindowStatusType; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: inputMethodEngine; API declaration: export interface PanelRect Differences: export interface PanelRect | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: PanelRect; API declaration: landscapeRect: window.Rect; Differences: landscapeRect: window.Rect; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: PanelRect; API declaration: portraitRect: window.Rect; Differences: portraitRect: window.Rect; | api/@ohos.inputMethodEngine.d.ts |
| New API | NA | Class name: InputMethodExtensionContext; API declaration: startAbility(want: Want): Promise<void>; Differences: startAbility(want: Want): Promise<void>; | api/@ohos.InputMethodExtensionContext.d.ts |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apidiff-ArkGraphics2D
openharmony 鸿蒙 js-apidiff-ArkGraphics3D
openharmony 鸿蒙 js-apidiff-MediaKit
openharmony 鸿蒙 js-apidiff-InputKit
openharmony 鸿蒙 js-apidiff-BasicServicesKit
openharmony 鸿蒙 js-apidiff-ConnectivityKit
openharmony 鸿蒙 js-apidiff-ArkWeb