| 操作 | 旧版本 | 新版本 | d.ts文件 | | ---- | ------ | ------ | -------- | |删除|类名:InputMethodSetting;
方法or属性:on(type: 'imeShow' \| 'imeHide', callback: (info: Array\) => void): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodSetting;
方法or属性:off(type: 'imeShow' \| 'imeHide', callback?: (info: Array\) => void): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodController;
方法or属性:on(type: 'deleteLeft' \| 'deleteRight', callback: (length: number) => void): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodController;
方法or属性:on(type: 'sendKeyboardStatus', callback: (keyBoardStatus: KeyboardStatus) => void): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodController;
方法or属性:off(type: 'selectByRange'): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodController;
方法or属性:off(type: 'selectByMovement'): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodController;
方法or属性:off(type: 'insertText'): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodController;
方法or属性:off(type: 'deleteLeft' \| 'deleteRight'): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodController;
方法or属性:off(type: 'sendKeyboardStatus'): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodController;
方法or属性:off(type: 'sendFunctionKey'): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodController;
方法or属性:off(type: 'moveCursor'): void;|NA|@ohos.inputMethod.d.ts| |删除|类名:InputMethodController;
方法or属性:off(type: 'handleExtendAction'): void;|NA|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodSetting;
方法or属性:on(type: 'imeShow', callback: (info: Array\) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodSetting;
方法or属性:on(type: 'imeHide', callback: (info: Array\) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodSetting;
方法or属性:off(type: 'imeShow', callback?: (info: Array\) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodSetting;
方法or属性:off(type: 'imeHide', callback?: (info: Array\) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:on(type: 'deleteLeft', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:on(type: 'deleteRight', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:on(type: 'sendKeyboardStatus', callback: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:on(type: 'getLeftTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:on(type: 'getRightTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:on(type: 'getTextIndexAtCursor', callback: () => number): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'selectByRange', callback?: Callback\): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'selectByMovement', callback?: Callback\): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'insertText', callback?: (text: string) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'deleteLeft', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'deleteRight', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'sendKeyboardStatus', callback?: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'sendFunctionKey', callback?: (functionKey: FunctionKey) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'moveCursor', callback?: (direction: Direction) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'handleExtendAction', callback?: (action: ExtendAction) => void): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'getLeftTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'getRightTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:InputMethodController;
方法or属性:off(type: 'getTextIndexAtCursor', callback?: () => number): void;|@ohos.inputMethod.d.ts| |新增|NA|类名:TextConfig;
方法or属性:cursorInfo?: CursorInfo;|@ohos.inputMethod.d.ts| |新增|NA|类名:TextConfig;
方法or属性:selection?: Range;|@ohos.inputMethod.d.ts| |新增|NA|类名:TextConfig;
方法or属性:windowId?: number;|@ohos.inputMethod.d.ts| |新增|NA|类名:KeyboardDelegate;
方法or属性:on(type: 'keyEvent', callback: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts| |新增|NA|类名:KeyboardDelegate;
方法or属性:on(type: 'editorAttributeChanged', callback: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts| |新增|NA|类名:KeyboardDelegate;
方法or属性:off(type: 'keyEvent', callback?: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts| |新增|NA|类名:KeyboardDelegate;
方法or属性:off(type: 'editorAttributeChanged', callback?: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts| |新增|NA|类名:wallpaper;
方法or属性:function setCustomWallpaper(source: string, wallpaperType: WallpaperType, callback: AsyncCallback\): void;|@ohos.wallpaper.d.ts| |新增|NA|类名:wallpaper;
方法or属性:function setCustomWallpaper(source: string, wallpaperType: WallpaperType): Promise\;|@ohos.wallpaper.d.ts| |新增|NA|类名:WallpaperExtensionAbility;
方法or属性:onCreate(want: object): void;|@ohos.WallpaperExtensionAbility.d.ts| |新增|NA|类名:WallpaperExtensionAbility;
方法or属性:onWallpaperChange(wallpaperType: number): void;|@ohos.WallpaperExtensionAbility.d.ts| |新增|NA|类名:WallpaperExtensionAbility;
方法or属性:onDestroy(): void;|@ohos.WallpaperExtensionAbility.d.ts| |错误码有变化|类名:wallpaper;
方法or属性:function off(

type: 'wallpaperChange',

callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void

): void;
旧版本信息:202|类名:wallpaper;
方法or属性:function off(

type: 'wallpaperChange',

callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void

): void;
新版本信息:401,202|@ohos.wallpaper.d.ts| |type有变化|类名:InputMethodProperty;
方法or属性:readonly labelId?: number;
旧版本信息:|类名:InputMethodProperty;
方法or属性:readonly labelId?: number;
新版本信息:?number|@ohos.inputMethod.d.ts| |type有变化|类名:InputMethodProperty;
方法or属性:readonly iconId?: number;
旧版本信息:|类名:InputMethodProperty;
方法or属性:readonly iconId?: number;
新版本信息:?number|@ohos.inputMethod.d.ts| |type有变化|类名:Movement;
方法or属性:direction: Direction;
旧版本信息:number|类名:Movement;
方法or属性:direction: Direction;
新版本信息:Direction|@ohos.inputMethod.d.ts| |type有变化|类名:TextConfig;
方法or属性:inputAttribute: InputAttribute;
旧版本信息:|类名:TextConfig;
方法or属性:inputAttribute: InputAttribute;
新版本信息:InputAttribute|@ohos.inputMethod.d.ts| |type有变化|类名:Movement;
方法or属性:direction: Direction;
旧版本信息:number|类名:Movement;
方法or属性:direction: Direction;
新版本信息:Direction|@ohos.inputMethodEngine.d.ts| |type有变化|类名:InputMethodSubtype;
方法or属性:readonly labelId?: number;
旧版本信息:|类名:InputMethodSubtype;
方法or属性:readonly labelId?: number;
新版本信息:?number|@ohos.InputMethodSubtype.d.ts| |函数有变化|类名:Panel;
方法or属性:on(type: 'show' \| 'hide', callback: () => void): void;|类名:Panel;
方法or属性:on(type: 'show', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| |函数有变化|类名:Panel;
方法or属性:on(type: 'show' \| 'hide', callback: () => void): void;|类名:Panel;
方法or属性:on(type: 'hide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| |函数有变化|类名:Panel;
方法or属性:off(type: 'show' \| 'hide', callback?: () => void): void;|类名:Panel;
方法or属性:off(type: 'show', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts| |函数有变化|类名:Panel;
方法or属性:off(type: 'show' \| 'hide', callback?: () => void): void;|类名:Panel;
方法or属性:off(type: 'hide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts| |函数有变化|类名:wallpaper;
方法or属性:function on(

type: 'wallpaperChange',

callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void

): void;|类名:wallpaper;
方法or属性:function on(

type: 'wallpaperChange',

callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void

): void;|@ohos.wallpaper.d.ts| |函数有变化|类名:wallpaper;
方法or属性:function off(

type: 'wallpaperChange',

callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void

): void;|类名:wallpaper;
方法or属性:function off(

type: 'wallpaperChange',

callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void

): void;|@ohos.wallpaper.d.ts|