| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Deleted|Class name: Action;
Method or attribute name: CLEAR_CLOUD_INFO|NA|@ohos.data.cloudData.d.ts|
|Deleted|Class name: Action;
Method or attribute name: CLEAR_CLOUD_DATA_AND_INFO|NA|@ohos.data.cloudData.d.ts|
|Added|NA|Class name: ClearAction;
Method or attribute name: CLEAR_CLOUD_INFO|@ohos.data.cloudData.d.ts|
|Added|NA|Class name: ClearAction;
Method or attribute name: CLEAR_CLOUD_DATA_AND_INFO|@ohos.data.cloudData.d.ts|
|Added|NA|Class name: Config;
Method or attribute name: static clear(
accountId: string,
appActions: { [bundleName: string]: ClearAction },
callback: AsyncCallback\
): void;|@ohos.data.cloudData.d.ts|
|Added|NA|Class name: Config;
Method or attribute name: static clear(accountId: string, appActions: { [bundleName: string]: ClearAction }): Promise\;|@ohos.data.cloudData.d.ts|
|Added|NA|Class name: preferences;
Method or attribute name: function getPreferences(context: Context, options: Options, callback: AsyncCallback\): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: preferences;
Method or attribute name: function getPreferences(context: Context, options: Options): Promise\;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: preferences;
Method or attribute name: function deletePreferences(context: Context, options: Options, callback: AsyncCallback\): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: preferences;
Method or attribute name: function deletePreferences(context: Context, options: Options): Promise\;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: preferences;
Method or attribute name: function removePreferencesFromCache(context: Context, options: Options, callback: AsyncCallback\): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: preferences;
Method or attribute name: function removePreferencesFromCache(context: Context, options: Options): Promise\;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: preferences;
Method or attribute name: function removePreferencesFromCacheSync(context: Context, name: string): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Options;
Method or attribute name: name: string;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Options;
Method or attribute name: dataGroupId?: string;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: getSync(key: string, defValue: ValueType): ValueType;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: getAllSync(): Object;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: hasSync(key: string): boolean;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: putSync(key: string, value: ValueType): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: deleteSync(key: string): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: clearSync(): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: on(type: 'multiProcessChange', callback: Callback\<{ key: string }>): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: Preferences;
Method or attribute name: off(type: 'multiProcessChange', callback?: Callback\<{ key: string }>): void;|@ohos.data.preferences.d.ts|
|Added|NA|Class name: relationalStore;
Method or attribute name: type Assets = Asset[];|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: relationalStore;
Method or attribute name: type PRIKeyType = number \| string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: relationalStore;
Method or attribute name: type UTCTime = Date;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: relationalStore;
Method or attribute name: type ModifyTime = Map\;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: relationalStore;
Method or attribute name: function deleteRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: relationalStore;
Method or attribute name: function deleteRdbStore(context: Context, config: StoreConfig): Promise\;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_NORMAL|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_INSERT|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_UPDATE|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_DELETE|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_ABNORMAL|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_DOWNLOADING|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Asset;
Method or attribute name: name: string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Asset;
Method or attribute name: uri: string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Asset;
Method or attribute name: path: string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Asset;
Method or attribute name: createTime: string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Asset;
Method or attribute name: modifyTime: string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Asset;
Method or attribute name: size: string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Asset;
Method or attribute name: status?: AssetStatus;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: StoreConfig;
Method or attribute name: dataGroupId?: string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Progress;
Method or attribute name: SYNC_BEGIN|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Progress;
Method or attribute name: SYNC_IN_PROGRESS|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Progress;
Method or attribute name: SYNC_FINISH|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Statistic;
Method or attribute name: total: number;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Statistic;
Method or attribute name: successful: number;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Statistic;
Method or attribute name: failed: number;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: Statistic;
Method or attribute name: remained: number;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: TableDetails;
Method or attribute name: upload: Statistic;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: TableDetails;
Method or attribute name: download: Statistic;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ProgressCode;
Method or attribute name: SUCCESS|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ProgressCode;
Method or attribute name: UNKNOWN_ERROR|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ProgressCode;
Method or attribute name: NETWORK_ERROR|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ProgressCode;
Method or attribute name: CLOUD_DISABLED|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ProgressCode;
Method or attribute name: LOCKED_BY_OTHERS|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ProgressCode;
Method or attribute name: RECORD_LIMIT_EXCEEDED|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ProgressCode;
Method or attribute name: NO_SPACE_FOR_ASSET|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ProgressDetails;
Method or attribute name: schedule: Progress;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ProgressDetails;
Method or attribute name: code: ProgressCode;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ProgressDetails;
Method or attribute name: details: {
[table: string]: TableDetails;
};|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: SyncMode;
Method or attribute name: SYNC_MODE_TIME_FIRST|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: SyncMode;
Method or attribute name: SYNC_MODE_NATIVE_FIRST|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: SyncMode;
Method or attribute name: SYNC_MODE_CLOUD_FIRST|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_CLOUD_DETAILS|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ChangeType;
Method or attribute name: DATA_CHANGE|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ChangeType;
Method or attribute name: ASSET_CHANGE|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ChangeInfo;
Method or attribute name: table: string;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ChangeInfo;
Method or attribute name: type: ChangeType;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ChangeInfo;
Method or attribute name: inserted: Array\ \| Array\;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ChangeInfo;
Method or attribute name: updated: Array\ \| Array\;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ChangeInfo;
Method or attribute name: deleted: Array\ \| Array\;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: DistributedType;
Method or attribute name: DISTRIBUTED_DEVICE|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: DistributedType;
Method or attribute name: DISTRIBUTED_CLOUD|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: DistributedConfig;
Method or attribute name: autoSync: boolean;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ResultSet;
Method or attribute name: getAsset(columnIndex: number): Asset;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: ResultSet;
Method or attribute name: getAssets(columnIndex: number): Assets;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise\;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: getModifyTime(
table: string,
columnName: string,
primaryKeys: PRIKeyType[],
callback: AsyncCallback\
): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array\, type: DistributedType, callback: AsyncCallback\): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: setDistributedTables(
tables: Array\,
type: DistributedType,
config: DistributedConfig,
callback: AsyncCallback\
): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array\, type?: DistributedType, config?: DistributedConfig): Promise\;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: cloudSync(mode: SyncMode, progress: Callback\, callback: AsyncCallback\): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: cloudSync(mode: SyncMode, progress: Callback\): Promise\;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: cloudSync(
mode: SyncMode,
tables: string[],
progress: Callback\,
callback: AsyncCallback\
): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: cloudSync(mode: SyncMode, tables: string[], progress: Callback\): Promise\;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: on(event: 'dataChange', type: SubscribeType, observer: Callback\> \| Callback\>): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: on(event: string, interProcess: boolean, observer: Callback\): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: off(
event: 'dataChange',
type: SubscribeType,
observer?: Callback\> \| Callback\>
): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: off(event: string, interProcess: boolean, observer?: Callback\): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|Class name: RdbStore;
Method or attribute name: emit(event: string): void;|@ohos.data.relationalStore.d.ts|
|Added|NA|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;
};|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: UDMF;
Method or attribute name: function insertData(options: Options, data: UnifiedData, callback: AsyncCallback\): void;|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: UDMF;
Method or attribute name: function insertData(options: Options, data: UnifiedData): Promise\;|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: UDMF;
Method or attribute name: function updateData(options: Options, data: UnifiedData, callback: AsyncCallback\): void;|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: UDMF;
Method or attribute name: function updateData(options: Options, data: UnifiedData): Promise\;|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: UDMF;
Method or attribute name: function queryData(options: Options, callback: AsyncCallback\>): void;|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: UDMF;
Method or attribute name: function queryData(options: Options): Promise\>;|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: UDMF;
Method or attribute name: function deleteData(options: Options, callback: AsyncCallback\>): void;|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: UDMF;
Method or attribute name: function deleteData(options: Options): Promise\>;|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: UnifiedDataType;
Method or attribute name: AUDIO = 'File.Media.Audio'|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: Audio;
Method or attribute name: audioUri: string;|@ohos.data.UDMF.d.ts|
|Added|NA|Class name: Intention;
Method or attribute name: DATA_HUB = 'DataHub'|@ohos.data.UDMF.d.ts|
|Error code changed|Class name: DataAbilityPredicates;
Method or attribute name: limitAs(value: number): DataAbilityPredicates;
Old version information: IllegalPredicateException|Class name: DataAbilityPredicates;
Method or attribute name: limitAs(value: number): DataAbilityPredicates;
New version information: |@ohos.data.dataAbility.d.ts|
|Error code changed|Class name: relationalStore;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\): void;
Old version information: 401,14800000,14800010,14800011|Class name: relationalStore;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\): void;
New version information: 401,14800000,14800010,14800011,14801001,14801002|@ohos.data.relationalStore.d.ts|
|Error code changed|Class name: relationalStore;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig): Promise\;
Old version information: 401,14800000,14800010,14800011|Class name: relationalStore;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig): Promise\;
New version information: 401,14800000,14800010,14800011,14801001,14801002|@ohos.data.relationalStore.d.ts|
|Access level changed|Class name: dataSharePredicates;
Method or attribute name: declare dataSharePredicates
Old version information: systemapi|Class name: dataSharePredicates;
Method or attribute name: declare dataSharePredicates
New version information: |@ohos.data.dataSharePredicates.d.ts|
|Access level changed|Class name: DataSharePredicates;
Method or attribute name: class DataSharePredicates
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: class DataSharePredicates
New version information: |@ohos.data.dataSharePredicates.d.ts|
|Access level changed|Class name: DataSharePredicates;
Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts|
|Access level changed|Class name: DataSharePredicates;
Method or attribute name: and(): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: and(): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts|
|Access level changed|Class name: DataSharePredicates;
Method or attribute name: orderByAsc(field: string): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: orderByAsc(field: string): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts|
|Access level changed|Class name: DataSharePredicates;
Method or attribute name: orderByDesc(field: string): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: orderByDesc(field: string): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts|
|Access level changed|Class name: DataSharePredicates;
Method or attribute name: limit(total: number, offset: number): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: limit(total: number, offset: number): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts|
|Access level changed|Class name: DataSharePredicates;
Method or attribute name: in(field: string, value: Array\): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: in(field: string, value: Array\): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts|
|Access level changed|Class name: sourcefile;
Method or attribute name: export type ValueType = number \| string \| boolean;
Old version information: systemapi|Class name: sourcefile;
Method or attribute name: export type ValueType = number \| string \| boolean;
New version information: |@ohos.data.ValuesBucket.d.ts|
|Access level changed|Class name: sourcefile;
Method or attribute name: export type ValuesBucket = {
[key: string]: ValueType \| Uint8Array \| null;
};
Old version information: systemapi|Class name: sourcefile;
Method or attribute name: export type ValuesBucket = {
[key: string]: ValueType \| Uint8Array \| null;
};
New version information: |@ohos.data.ValuesBucket.d.ts|
|Type changed|Class name: DataShareExtensionAbility;
Method or attribute name: context: ExtensionContext;
Old version information: |Class name: DataShareExtensionAbility;
Method or attribute name: context: ExtensionContext;
New version information: ExtensionContext|@ohos.application.DataShareExtensionAbility.d.ts|
|Function changed|Class name: DataShareExtensionAbility;
Method or attribute name: context?: ExtensionContext;|Class name: DataShareExtensionAbility;
Method or attribute name: context: ExtensionContext;|@ohos.application.DataShareExtensionAbility.d.ts|
|Function changed|Class name: PublishedItem;
Method or attribute name: data: string \| Ashmem;|Class name: PublishedItem;
Method or attribute name: data: string \| ArrayBuffer;|@ohos.data.dataShare.d.ts|
|Function changed|Class name: relationalStore;
Method or attribute name: type ValueType = null \| number \| string \| boolean \| Uint8Array;|Class name: relationalStore;
Method or attribute name: type ValueType = null \| number \| string \| boolean \| Uint8Array \| Asset \| Assets;|@ohos.data.relationalStore.d.ts|