1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Deleted|Class name: InputMethodSetting;<br>Method or attribute name: on(type: 'imeShow' \| 'imeHide', callback: (info: Array\<InputWindowInfo>) => void): void;|NA|@ohos.inputMethod.d.ts|
4|Deleted|Class name: InputMethodSetting;<br>Method or attribute name: off(type: 'imeShow' \| 'imeHide', callback?: (info: Array\<InputWindowInfo>) => void): void;|NA|@ohos.inputMethod.d.ts|
5|Deleted|Class name: InputMethodController;<br>Method or attribute name: on(type: 'deleteLeft' \| 'deleteRight', callback: (length: number) => void): void;|NA|@ohos.inputMethod.d.ts|
6|Deleted|Class name: InputMethodController;<br>Method or attribute name: on(type: 'sendKeyboardStatus', callback: (keyBoardStatus: KeyboardStatus) => void): void;|NA|@ohos.inputMethod.d.ts|
7|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'selectByRange'): void;|NA|@ohos.inputMethod.d.ts|
8|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'selectByMovement'): void;|NA|@ohos.inputMethod.d.ts|
9|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'insertText'): void;|NA|@ohos.inputMethod.d.ts|
10|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'deleteLeft' \| 'deleteRight'): void;|NA|@ohos.inputMethod.d.ts|
11|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'sendKeyboardStatus'): void;|NA|@ohos.inputMethod.d.ts|
12|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'sendFunctionKey'): void;|NA|@ohos.inputMethod.d.ts|
13|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'moveCursor'): void;|NA|@ohos.inputMethod.d.ts|
14|Deleted|Class name: InputMethodController;<br>Method or attribute name: off(type: 'handleExtendAction'): void;|NA|@ohos.inputMethod.d.ts|
15|Added|NA|Class name: InputMethodSetting;<br>Method or attribute name: on(type: 'imeShow', callback: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
16|Added|NA|Class name: InputMethodSetting;<br>Method or attribute name: on(type: 'imeHide', callback: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
17|Added|NA|Class name: InputMethodSetting;<br>Method or attribute name: off(type: 'imeShow', callback?: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
18|Added|NA|Class name: InputMethodSetting;<br>Method or attribute name: off(type: 'imeHide', callback?: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
19|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'deleteLeft', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts|
20|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'deleteRight', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts|
21|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'sendKeyboardStatus', callback: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts|
22|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'getLeftTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts|
23|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'getRightTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts|
24|Added|NA|Class name: InputMethodController;<br>Method or attribute name: on(type: 'getTextIndexAtCursor', callback: () => number): void;|@ohos.inputMethod.d.ts|
25|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'selectByRange', callback?: Callback\<Range>): void;|@ohos.inputMethod.d.ts|
26|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'selectByMovement', callback?: Callback\<Movement>): void;|@ohos.inputMethod.d.ts|
27|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'insertText', callback?: (text: string) => void): void;|@ohos.inputMethod.d.ts|
28|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'deleteLeft', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts|
29|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'deleteRight', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts|
30|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'sendKeyboardStatus', callback?: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts|
31|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'sendFunctionKey', callback?: (functionKey: FunctionKey) => void): void;|@ohos.inputMethod.d.ts|
32|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'moveCursor', callback?: (direction: Direction) => void): void;|@ohos.inputMethod.d.ts|
33|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'handleExtendAction', callback?: (action: ExtendAction) => void): void;|@ohos.inputMethod.d.ts|
34|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'getLeftTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts|
35|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'getRightTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts|
36|Added|NA|Class name: InputMethodController;<br>Method or attribute name: off(type: 'getTextIndexAtCursor', callback?: () => number): void;|@ohos.inputMethod.d.ts|
37|Added|NA|Class name: TextConfig;<br>Method or attribute name: cursorInfo?: CursorInfo;|@ohos.inputMethod.d.ts|
38|Added|NA|Class name: TextConfig;<br>Method or attribute name: selection?: Range;|@ohos.inputMethod.d.ts|
39|Added|NA|Class name: TextConfig;<br>Method or attribute name: windowId?: number;|@ohos.inputMethod.d.ts|
40|Added|NA|Class name: KeyboardDelegate;<br>Method or attribute name: on(type: 'keyEvent', callback: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts|
41|Added|NA|Class name: KeyboardDelegate;<br>Method or attribute name: on(type: 'editorAttributeChanged', callback: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts|
42|Added|NA|Class name: KeyboardDelegate;<br>Method or attribute name: off(type: 'keyEvent', callback?: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts|
43|Added|NA|Class name: KeyboardDelegate;<br>Method or attribute name: off(type: 'editorAttributeChanged', callback?: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts|
44|Added|NA|Class name: wallpaper;<br>Method or attribute name: function setCustomWallpaper(source: string, wallpaperType: WallpaperType, callback: AsyncCallback\<void>): void;|@ohos.wallpaper.d.ts|
45|Added|NA|Class name: wallpaper;<br>Method or attribute name: function setCustomWallpaper(source: string, wallpaperType: WallpaperType): Promise\<void>;|@ohos.wallpaper.d.ts|
46|Added|NA|Class name: WallpaperExtensionAbility;<br>Method or attribute name: onCreate(want: object): void;|@ohos.WallpaperExtensionAbility.d.ts|
47|Added|NA|Class name: WallpaperExtensionAbility;<br>Method or attribute name: onWallpaperChange(wallpaperType: number): void;|@ohos.WallpaperExtensionAbility.d.ts|
48|Added|NA|Class name: WallpaperExtensionAbility;<br>Method or attribute name: onDestroy(): void;|@ohos.WallpaperExtensionAbility.d.ts|
49|Error code changed|Class name: wallpaper;<br>Method or attribute name: function off(<br><br>    type: 'wallpaperChange',<br><br>    callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br>  ): void;<br>Old version information: 202|Class name: wallpaper;<br>Method or attribute name: function off(<br><br>    type: 'wallpaperChange',<br><br>    callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br>  ): void;<br>New version information: 401,202|@ohos.wallpaper.d.ts|
50|Type changed|Class name: InputMethodProperty;<br>Method or attribute name: readonly labelId?: number;<br>Old version information: |Class name: InputMethodProperty;<br>Method or attribute name: readonly labelId?: number;<br>New version information: ?number|@ohos.inputMethod.d.ts|
51|Type changed|Class name: InputMethodProperty;<br>Method or attribute name: readonly iconId?: number;<br>Old version information: |Class name: InputMethodProperty;<br>Method or attribute name: readonly iconId?: number;<br>New version information: ?number|@ohos.inputMethod.d.ts|
52|Type changed|Class name: Movement;<br>Method or attribute name: direction: Direction;<br>Old version information: number|Class name: Movement;<br>Method or attribute name: direction: Direction;<br>New version information: Direction|@ohos.inputMethod.d.ts|
53|Type changed|Class name: TextConfig;<br>Method or attribute name: inputAttribute: InputAttribute;<br>Old version information: |Class name: TextConfig;<br>Method or attribute name: inputAttribute: InputAttribute;<br>New version information: InputAttribute|@ohos.inputMethod.d.ts|
54|Type changed|Class name: Movement;<br>Method or attribute name: direction: Direction;<br>Old version information: number|Class name: Movement;<br>Method or attribute name: direction: Direction;<br>New version information: Direction|@ohos.inputMethodEngine.d.ts|
55|Type changed|Class name: InputMethodSubtype;<br>Method or attribute name: readonly labelId?: number;<br>Old version information: |Class name: InputMethodSubtype;<br>Method or attribute name: readonly labelId?: number;<br>New version information: ?number|@ohos.InputMethodSubtype.d.ts|
56|Function changed|Class name: Panel;<br>Method or attribute name: on(type: 'show' \| 'hide', callback: () => void): void;|Class name: Panel;<br>Method or attribute name: on(type: 'show', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
57|Function changed|Class name: Panel;<br>Method or attribute name: on(type: 'show' \| 'hide', callback: () => void): void;|Class name: Panel;<br>Method or attribute name: on(type: 'hide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
58|Function changed|Class name: Panel;<br>Method or attribute name: off(type: 'show' \| 'hide', callback?: () => void): void;|Class name: Panel;<br>Method or attribute name: off(type: 'show', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts|
59|Function changed|Class name: Panel;<br>Method or attribute name: off(type: 'show' \| 'hide', callback?: () => void): void;|Class name: Panel;<br>Method or attribute name: off(type: 'hide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts|
60|Function changed|Class name: wallpaper;<br>Method or attribute name: function on(<br><br>    type: 'wallpaperChange',<br><br>    callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void<br><br>  ): void;|Class name: wallpaper;<br>Method or attribute name: function on(<br><br>    type: 'wallpaperChange',<br><br>    callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br>  ): void;|@ohos.wallpaper.d.ts|
61|Function changed|Class name: wallpaper;<br>Method or attribute name: function off(<br><br>    type: 'wallpaperChange',<br><br>    callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void<br><br>  ): void;|Class name: wallpaper;<br>Method or attribute name: function off(<br><br>    type: 'wallpaperChange',<br><br>    callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br>  ): void;|@ohos.wallpaper.d.ts|
62