| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Deleted|Class name: DistributedObject;
Method or attribute name: on(type: 'change', callback: Callback\<{ sessionId: string, fields: Array\ }>): void;|NA|@ohos.data.distributedDataObject.d.ts|
|Deleted|Class name: DataObject;
Method or attribute name: on(type: 'change', callback: Callback\<{ sessionId: string, fields: Array\ }>): void;|NA|@ohos.data.distributedDataObject.d.ts|
|Deleted|Class name: DistributedObject;
Method or attribute name: on(
type: 'status',
callback: Callback\<{ sessionId: string, networkId: string, status: 'online' \| 'offline' }>
): void;|NA|@ohos.data.distributedDataObject.d.ts|
|Deleted|Class name: DataObject;
Method or attribute name: on(
type: 'status',
callback: Callback\<{ sessionId: string, networkId: string, status: 'online' \| 'offline' }>
): void;|NA|@ohos.data.distributedDataObject.d.ts|
|Deleted|Class name: DistributedObject;
Method or attribute name: off(type: 'change', callback?: Callback\<{ sessionId: string, fields: Array\ }>): void;|NA|@ohos.data.distributedDataObject.d.ts|
|Deleted|Class name: DataObject;
Method or attribute name: off(type: 'change', callback?: Callback\<{ sessionId: string, fields: Array\ }>): void;|NA|@ohos.data.distributedDataObject.d.ts|
|Deleted|Class name: DistributedObject;
Method or attribute name: off(
type: 'status',
callback?: Callback\<{ sessionId: string, deviceId: string, status: 'online' \| 'offline' }>
): void;|NA|@ohos.data.distributedDataObject.d.ts|
|Deleted|Class name: DataObject;
Method or attribute name: off(
type: 'status',
callback?: Callback\<{ sessionId: string, deviceId: string, status: 'online' \| 'offline' }>
): void;|NA|@ohos.data.distributedDataObject.d.ts|
|Deleted|Class name: Preferences;
Method or attribute name: on(type: 'change', callback: Callback\<{ key: string }>): void;|NA|@ohos.data.preferences.d.ts|
|Deleted|Class name: Preferences;
Method or attribute name: on(type: 'multiProcessChange', callback: Callback\<{ key: string }>): void;|NA|@ohos.data.preferences.d.ts|
|Deleted|Class name: Preferences;
Method or attribute name: off(type: 'change', callback?: Callback\<{ key: string }>): void;|NA|@ohos.data.preferences.d.ts|
|Deleted|Class name: Preferences;
Method or attribute name: off(type: 'multiProcessChange', callback?: Callback\<{ key: string }>): void;|NA|@ohos.data.preferences.d.ts|
|Deleted|Class name: UDMF;
Method or attribute name: type Options = {
/**
* indicates the target Intention
*
* @syscap SystemCapability.DistributedDataManager.UDMF.Core
* @since 10
*/
intention?: Intention;
/**
* indicates the unique identifier of target UnifiedData
*
* @syscap SystemCapability.DistributedDataManager.UDMF.Core
* @since 10
*/
key?: string;
};|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UDMF;
Method or attribute name: function insertData(options: Options, data: UnifiedData, callback: AsyncCallback\): void;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UDMF;
Method or attribute name: function insertData(options: Options, data: UnifiedData): Promise\;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UDMF;
Method or attribute name: function updateData(options: Options, data: UnifiedData, callback: AsyncCallback\): void;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UDMF;
Method or attribute name: function updateData(options: Options, data: UnifiedData): Promise\;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UDMF;
Method or attribute name: function queryData(options: Options, callback: AsyncCallback\>): void;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UDMF;
Method or attribute name: function queryData(options: Options): Promise\>;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UDMF;
Method or attribute name: function deleteData(options: Options, callback: AsyncCallback\>): void;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UDMF;
Method or attribute name: function deleteData(options: Options): Promise\>;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: TEXT = 'Text'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: PLAIN_TEXT = 'Text.PlainText'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: HYPERLINK = 'Text.Hyperlink'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: HTML = 'Text.HTML'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: FILE = 'File'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: IMAGE = 'File.Media.Image'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: VIDEO = 'File.Media.Video'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: AUDIO = 'File.Media.Audio'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: FOLDER = 'File.Folder'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: SYSTEM_DEFINED_RECORD = 'SystemDefinedType'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: SYSTEM_DEFINED_FORM = 'SystemDefinedType.Form'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: SYSTEM_DEFINED_APP_ITEM = 'SystemDefinedType.AppItem'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: SYSTEM_DEFINED_PIXEL_MAP = 'SystemDefinedType.PixelMap'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedDataType;
Method or attribute name: APPLICATION_DEFINED_RECORD = 'ApplicationDefinedType'|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedData;
Method or attribute name: constructor(record: UnifiedRecord);|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedData;
Method or attribute name: addRecord(record: UnifiedRecord): void;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedData;
Method or attribute name: getRecords(): Array\;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: Summary;
Method or attribute name: summary: { [key: string]: number };|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: Summary;
Method or attribute name: totalSize: number;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: UnifiedRecord;
Method or attribute name: getType(): string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: Text;
Method or attribute name: details?: { [key: string]: string };|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: File;
Method or attribute name: details?: { [key: string]: string };|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: PlainText;
Method or attribute name: textContent: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: PlainText;
Method or attribute name: abstract?: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: Hyperlink;
Method or attribute name: url: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: Hyperlink;
Method or attribute name: description?: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: HTML;
Method or attribute name: htmlContent: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: HTML;
Method or attribute name: plainContent?: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: File;
Method or attribute name: uri: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: Image;
Method or attribute name: imageUri: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: Video;
Method or attribute name: videoUri: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: Audio;
Method or attribute name: audioUri: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: Folder;
Method or attribute name: folderUri: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedRecord;
Method or attribute name: details?: { [key: string]: number \| string \| Uint8Array };|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedForm;
Method or attribute name: formId: number;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedForm;
Method or attribute name: formName: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedForm;
Method or attribute name: bundleName: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedAppItem;
Method or attribute name: bundleName: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedForm;
Method or attribute name: abilityName: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedAppItem;
Method or attribute name: abilityName: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedForm;
Method or attribute name: module: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedAppItem;
Method or attribute name: appId: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedAppItem;
Method or attribute name: appName: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedAppItem;
Method or attribute name: appIconId: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedAppItem;
Method or attribute name: appLabelId: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: SystemDefinedPixelMap;
Method or attribute name: rawData: Uint8Array;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: ApplicationDefinedRecord;
Method or attribute name: rawData: Uint8Array;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: ApplicationDefinedRecord;
Method or attribute name: applicationDefinedType: string;|NA|@ohos.data.UDMF.d.ts|
|Deleted|Class name: Intention;
Method or attribute name: DATA_HUB = 'DataHub'|NA|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: DistributedObject;
Method or attribute name: on(type: 'change', callback: (sessionId: string, fields: Array\) => void): void;|@ohos.data.distributedDataObject.d.ts|
|Added|NA|Class name: DataObject;
Method or attribute name: on(type: 'change', callback: (sessionId: string, fields: Array\) => void ): void;|@ohos.data.distributedDataObject.d.ts|
|Added|NA|Class name: DistributedObject;
Method or attribute name: on(
type: 'status',
callback: (sessionId: string, networkId: string, status: 'online' \| 'offline' ) => void
): void;|@ohos.data.distributedDataObject.d.ts|
|Added|NA|Class name: DataObject;
Method or attribute name: on(
type: 'status',
callback: (sessionId: string, networkId: string, status: 'online' \| 'offline' ) => void
): void;|@ohos.data.distributedDataObject.d.ts|
|Added|NA|Class name: DistributedObject;
Method or attribute name: off(type: 'change', callback?: (sessionId: string, fields: Array\) => void): void;|@ohos.data.distributedDataObject.d.ts|
|Added|NA|Class name: DataObject;
Method or attribute name: off(type: 'change', callback?: (sessionId: string, fields: Array\) => void ): void;|@ohos.data.distributedDataObject.d.ts|
|Added|NA|Class name: DistributedObject;
Method or attribute name: off(
type: 'status',
callback?: (sessionId: string, networkId: string, status: 'online' \| 'offline' ) => void
): void;|@ohos.data.distributedDataObject.d.ts|
|Added|NA|Class name: DataObject;
Method or attribute name: off(
type: 'status',
callback?: (sessionId: string, networkId: string, status: 'online' \| 'offline' ) => void
): void;|@ohos.data.distributedDataObject.d.ts|
|Added|NA|Class name: preferences;
Method or attribute name: function getPreferencesSync(context: Context, options: Options): Preferences;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: preferences;
Method or attribute name: function removePreferencesFromCacheSync(context: Context, options: Options): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: on(type: 'change', callback: (key: string) => void): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: on(type: 'multiProcessChange', callback: (key: string) => void): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: off(type: 'change', callback?: (key: string) => void): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: off(type: 'multiProcessChange', callback?: (key: string) => void): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: unifiedDataChannel;
Method or attribute name: type Options = {
/**
* Indicates the target Intention
*
* @syscap SystemCapability.DistributedDataManager.UDMF.Core
* @since 10
*/
intention?: Intention;
/**
* Indicates the unique identifier of target UnifiedData
*
* @syscap SystemCapability.DistributedDataManager.UDMF.Core
* @since 10
*/
key?: string;
};|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: unifiedDataChannel;
Method or attribute name: function insertData(options: Options, data: UnifiedData, callback: AsyncCallback\): void;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: unifiedDataChannel;
Method or attribute name: function insertData(options: Options, data: UnifiedData): Promise\;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: unifiedDataChannel;
Method or attribute name: function updateData(options: Options, data: UnifiedData, callback: AsyncCallback\): void;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: unifiedDataChannel;
Method or attribute name: function updateData(options: Options, data: UnifiedData): Promise\;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: unifiedDataChannel;
Method or attribute name: function queryData(options: Options, callback: AsyncCallback\>): void;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: unifiedDataChannel;
Method or attribute name: function queryData(options: Options): Promise\>;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: unifiedDataChannel;
Method or attribute name: function deleteData(options: Options, callback: AsyncCallback\>): void;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: unifiedDataChannel;
Method or attribute name: function deleteData(options: Options): Promise\>;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: UnifiedData;
Method or attribute name: constructor(record: UnifiedRecord);|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: UnifiedData;
Method or attribute name: addRecord(record: UnifiedRecord): void;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: UnifiedData;
Method or attribute name: getRecords(): Array\;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: Summary;
Method or attribute name: summary: { [key: string]: number };|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: Summary;
Method or attribute name: totalSize: number;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: UnifiedRecord;
Method or attribute name: getType(): string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: Text;
Method or attribute name: details?: { [key: string]: string };|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: File;
Method or attribute name: details?: { [key: string]: string };|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: PlainText;
Method or attribute name: textContent: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: PlainText;
Method or attribute name: abstract?: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: Hyperlink;
Method or attribute name: url: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: Hyperlink;
Method or attribute name: description?: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: HTML;
Method or attribute name: htmlContent: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: HTML;
Method or attribute name: plainContent?: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: File;
Method or attribute name: uri: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: Image;
Method or attribute name: imageUri: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: Video;
Method or attribute name: videoUri: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: Audio;
Method or attribute name: audioUri: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: Folder;
Method or attribute name: folderUri: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedRecord;
Method or attribute name: details?: { [key: string]: number \| string \| Uint8Array };|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedForm;
Method or attribute name: formId: number;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedForm;
Method or attribute name: formName: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedForm;
Method or attribute name: bundleName: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedAppItem;
Method or attribute name: bundleName: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedForm;
Method or attribute name: abilityName: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedAppItem;
Method or attribute name: abilityName: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedForm;
Method or attribute name: module: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedAppItem;
Method or attribute name: appId: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedAppItem;
Method or attribute name: appName: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedAppItem;
Method or attribute name: appIconId: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedAppItem;
Method or attribute name: appLabelId: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: SystemDefinedPixelMap;
Method or attribute name: rawData: Uint8Array;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: ApplicationDefinedRecord;
Method or attribute name: rawData: Uint8Array;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: ApplicationDefinedRecord;
Method or attribute name: applicationDefinedType: string;|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: Intention;
Method or attribute name: DATA_HUB = 'DataHub'|@ohos.data.unifiedDataChannel.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: TEXT = 'general.text'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: PLAIN_TEXT = 'general.plain-text'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: HYPERLINK = 'general.hyperlink'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: HTML = 'general.html'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: FILE = 'general.file'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: IMAGE = 'general.image'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: VIDEO = 'general.video'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: AUDIO = 'general.audio'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: FOLDER = 'general.folder'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: OPENHARMONY_FORM = 'openharmony.form'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: OPENHARMONY_APP_ITEM = 'openharmony.app-item'|@ohos.data.uniformTypeDescriptor.d.ts|
|Added|NA|Class name: UniformDataType;
Method or attribute name: OPENHARMONY_PIXEL_MAP = 'openharmony.pixel-map'|@ohos.data.uniformTypeDescriptor.d.ts|