| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: InputClient;
Method or attribute name: deleteForwardSync(length: number): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: InputClient;
Method or attribute name: deleteBackwardSync(length: number): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: InputClient;
Method or attribute name: insertTextSync(text: string): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: InputClient;
Method or attribute name: getForwardSync(length: number): string;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: InputClient;
Method or attribute name: getBackwardSync(length: number): string;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: InputClient;
Method or attribute name: getEditorAttributeSync(): EditorAttribute;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: InputClient;
Method or attribute name: moveCursorSync(direction: number): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: InputClient;
Method or attribute name: selectByRangeSync(range: Range): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: InputClient;
Method or attribute name: selectByMovementSync(movement: Movement): void;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: InputClient;
Method or attribute name: getTextIndexAtCursorSync(): number;|@ohos.inputMethodEngine.d.ts|
|Added|NA|Class name: systemDateTime;
Method or attribute name: function getTime(isNanoseconds?: boolean): number;|@ohos.systemDateTime.d.ts|
|Added|NA|Class name: systemDateTime;
Method or attribute name: function getUptime(timeType: TimeType, isNanoseconds?: boolean): number;|@ohos.systemDateTime.d.ts|
|Added|NA|Class name: systemDateTime;
Method or attribute name: function getTimezoneSync(): string;|@ohos.systemDateTime.d.ts|
|Added|NA|Class name: TimeType;
Method or attribute name: STARTUP|@ohos.systemDateTime.d.ts|
|Added|NA|Class name: TimeType;
Method or attribute name: ACTIVE|@ohos.systemDateTime.d.ts|
|Deprecated version changed|Class name: PasteDataRecord;
Method or attribute name: convertToText(): Promise\;
Old version information: |Class name: PasteDataRecord;
Method or attribute name: convertToText(): Promise\;
New version information: 9
Substitute API: ohos.pasteboard.pasteboard#convertToTextV9|@ohos.pasteboard.d.ts|
|Deprecated version changed|Class name: SystemPasteboard;
Method or attribute name: clear(): Promise\;
Old version information: |Class name: SystemPasteboard;
Method or attribute name: clear(): Promise\;
New version information: 9
Substitute API: ohos.pasteboard.pasteboard#clearData|@ohos.pasteboard.d.ts|
|Deprecated version changed|Class name: SystemPasteboard;
Method or attribute name: getPasteData(): Promise\;
Old version information: |Class name: SystemPasteboard;
Method or attribute name: getPasteData(): Promise\;
New version information: 9
Substitute API: ohos.pasteboard.pasteboard#getData|@ohos.pasteboard.d.ts|
|Deprecated version changed|Class name: SystemPasteboard;
Method or attribute name: hasPasteData(): Promise\;
Old version information: |Class name: SystemPasteboard;
Method or attribute name: hasPasteData(): Promise\;
New version information: 9
Substitute API: ohos.pasteboard.pasteboard#hasData|@ohos.pasteboard.d.ts|
|Deprecated version changed|Class name: SystemPasteboard;
Method or attribute name: setPasteData(data: PasteData): Promise\;
Old version information: |Class name: SystemPasteboard;
Method or attribute name: setPasteData(data: PasteData): Promise\;
New version information: 9
Substitute API: ohos.pasteboard.pasteboard#setData|@ohos.pasteboard.d.ts|
|Deprecated version changed|Class name: systemDateTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback\): void;
Old version information: |Class name: systemDateTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback\): void;
New version information: 10
Substitute API: systemDateTime.setTime|@ohos.systemDateTime.d.ts|
|Deprecated version changed|Class name: systemDateTime;
Method or attribute name: function setDate(date: Date): Promise\;
Old version information: |Class name: systemDateTime;
Method or attribute name: function setDate(date: Date): Promise\;
New version information: 10
Substitute API: systemDateTime.setTime|@ohos.systemDateTime.d.ts|
|Deprecated version changed|Class name: systemDateTime;
Method or attribute name: function getDate(callback: AsyncCallback\): void;
Old version information: |Class name: systemDateTime;
Method or attribute name: function getDate(callback: AsyncCallback\): void;
New version information: 10
Substitute API: new|@ohos.systemDateTime.d.ts|
|Deprecated version changed|Class name: systemDateTime;
Method or attribute name: function getDate(): Promise\;
Old version information: |Class name: systemDateTime;
Method or attribute name: function getDate(): Promise\;
New version information: 10
Substitute API: new|@ohos.systemDateTime.d.ts|
|Error code changed|Class name: PasteData;
Method or attribute name: addRecord(mimeType: string, value: ValueType): void;
Old version information: 401, 12900002|Class name: PasteData;
Method or attribute name: addRecord(mimeType: string, value: ValueType): void;
New version information: 401|@ohos.pasteboard.d.ts|
|Type changed|Class name: pasteboard;
Method or attribute name: type ValueType = string \| image.PixelMap \| Want \| ArrayBuffer;
Old version information: |Class name: pasteboard;
Method or attribute name: type ValueType = string \| image.PixelMap \| Want \| ArrayBuffer;
New version information: string \| image.PixelMap \| Want \| ArrayBuffer|@ohos.pasteboard.d.ts|
|Type changed|Class name: PasteDataProperty;
Method or attribute name: additions: {
[key: string]: object
}
Old version information: |Class name: PasteDataProperty;
Method or attribute name: additions: {
[key: string]: object
}
New version information: [key: string]: object|@ohos.pasteboard.d.ts|
|Type changed|Class name: PasteDataProperty;
Method or attribute name: readonly mimeTypes: Array\;
Old version information: |Class name: PasteDataProperty;
Method or attribute name: readonly mimeTypes: Array\;
New version information: Array\|@ohos.pasteboard.d.ts|
|Type changed|Class name: PasteDataProperty;
Method or attribute name: tag: string;
Old version information: |Class name: PasteDataProperty;
Method or attribute name: tag: string;
New version information: string|@ohos.pasteboard.d.ts|
|Type changed|Class name: PasteDataProperty;
Method or attribute name: readonly timestamp: number;
Old version information: |Class name: PasteDataProperty;
Method or attribute name: readonly timestamp: number;
New version information: number|@ohos.pasteboard.d.ts|
|Type changed|Class name: PasteDataProperty;
Method or attribute name: localOnly: boolean;
Old version information: |Class name: PasteDataProperty;
Method or attribute name: localOnly: boolean;
New version information: boolean|@ohos.pasteboard.d.ts|
|Type changed|Class name: PasteDataRecord;
Method or attribute name: htmlText: string;
Old version information: |Class name: PasteDataRecord;
Method or attribute name: htmlText: string;
New version information: string|@ohos.pasteboard.d.ts|
|Type changed|Class name: PasteDataRecord;
Method or attribute name: want: Want;
Old version information: |Class name: PasteDataRecord;
Method or attribute name: want: Want;
New version information: Want|@ohos.pasteboard.d.ts|
|Type changed|Class name: PasteDataRecord;
Method or attribute name: mimeType: string;
Old version information: |Class name: PasteDataRecord;
Method or attribute name: mimeType: string;
New version information: string|@ohos.pasteboard.d.ts|
|Type changed|Class name: PasteDataRecord;
Method or attribute name: plainText: string;
Old version information: |Class name: PasteDataRecord;
Method or attribute name: plainText: string;
New version information: string|@ohos.pasteboard.d.ts|
|Type changed|Class name: PasteDataRecord;
Method or attribute name: uri: string;
Old version information: |Class name: PasteDataRecord;
Method or attribute name: uri: string;
New version information: string|@ohos.pasteboard.d.ts|