openharmony 鸿蒙 js-apidiff-IMEKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
Deleted error codeClass 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 codeClass name: InputMethodExtensionAbility;
API declaration: onDestroy(): void;
Differences: 401
Class name: InputMethodExtensionAbility;
API declaration: onDestroy(): void;
Differences: NA
api/@ohos.InputMethodExtensionAbility.d.ts
New APINAClass name: EnterKeyType;
API declaration: NEWLINE
Differences: NEWLINE
api/@ohos.inputMethod.d.ts
New APINAClass name: inputMethodEngine;
API declaration: const ENTER_KEY_TYPE_NEWLINE: 8;
Differences: const ENTER_KEY_TYPE_NEWLINE: 8;
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: inputMethodEngine;
API declaration: type CommandDataType = number |string |boolean;
Differences: type CommandDataType = number |string |boolean;
api/@ohos.inputMethodEngine.d.ts
New APINAClass 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 APINAClass 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 APINAClass 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 APINAClass name: InputClient;
API declaration: getCallingWindowInfo(): Promise<WindowInfo>;
Differences: getCallingWindowInfo(): Promise<WindowInfo>;
api/@ohos.inputMethodEngine.d.ts
New APINAClass 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 APINAClass name: InputClient;
API declaration: setPreviewTextSync(text: string, range: Range): void;
Differences: setPreviewTextSync(text: string, range: Range): void;
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: InputClient;
API declaration: finishTextPreview(): Promise<void>;
Differences: finishTextPreview(): Promise<void>;
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: InputClient;
API declaration: finishTextPreviewSync(): void;
Differences: finishTextPreviewSync(): void;
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: Panel;
API declaration: adjustPanelRect(flag: PanelFlag, rect: PanelRect): void;
Differences: adjustPanelRect(flag: PanelFlag, rect: PanelRect): void;
api/@ohos.inputMethodEngine.d.ts
New APINAClass 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 APINAClass 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 APINAClass name: EditorAttribute;
API declaration: isTextPreviewSupported: boolean;
Differences: isTextPreviewSupported: boolean;
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: inputMethodEngine;
API declaration: export interface WindowInfo
Differences: export interface WindowInfo
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: WindowInfo;
API declaration: rect: window.Rect;
Differences: rect: window.Rect;
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: WindowInfo;
API declaration: status: window.WindowStatusType;
Differences: status: window.WindowStatusType;
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: inputMethodEngine;
API declaration: export interface PanelRect
Differences: export interface PanelRect
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: PanelRect;
API declaration: landscapeRect: window.Rect;
Differences: landscapeRect: window.Rect;
api/@ohos.inputMethodEngine.d.ts
New APINAClass name: PanelRect;
API declaration: portraitRect: window.Rect;
Differences: portraitRect: window.Rect;
api/@ohos.inputMethodEngine.d.ts
New APINAClass 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

openharmony 鸿蒙 js-apidiff-ArkData

openharmony 鸿蒙 js-apidiff-NA

openharmony 鸿蒙 js-apidiff-IPCKit

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