openharmony 鸿蒙 js-apidiff-IMEKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
API deprecated version changeClass 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 changeClass 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 codeClass name: Panel;
API declaration: startMoving(): void;
DIfferences: NA
Class name: Panel;
API declaration: startMoving(): void;
DIfferences: 801
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: InputMethodController;
API declaration: on(type: 'setPreviewText', callback: SetPreviewTextCallback): void;
DIfferences: on(type: 'setPreviewText', callback: SetPreviewTextCallback): void;
api/@ohos.inputMethod.d.ts
New APINAClass name: InputMethodController;
API declaration: off(type: 'setPreviewText', callback?: SetPreviewTextCallback): void;
DIfferences: off(type: 'setPreviewText', callback?: SetPreviewTextCallback): void;
api/@ohos.inputMethod.d.ts
New APINAClass 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 APINAClass 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 APINAClass 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 APINAClass 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 APINAClass 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 APINAClass name: EditorAttribute;
API declaration: readonly windowId?: number;
DIfferences: readonly windowId?: number;
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: EditorAttribute;
API declaration: readonly displayId?: number;
DIfferences: readonly displayId?: number;
api/@ohos.inputMethodEngine.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

openharmony 鸿蒙 js-apidiff-MultimodalAwarenessKit

openharmony 鸿蒙 js-apidiff-ArkData

openharmony 鸿蒙 js-apidiff-IPCKit

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/L0SAON6X