| 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> ): void; | @ohos.data.cloudData.d.ts |
| Added | NA | Class name: Config; Method or attribute name: static clear(accountId: string, appActions: { [bundleName: string]: ClearAction }): Promise<void>; | @ohos.data.cloudData.d.ts |
| Added | NA | Class name: preferences; Method or attribute name: function getPreferences(context: Context, options: Options, callback: AsyncCallback<Preferences>): void; | @ohos.data.preferences.d.ts |
| Added | NA | Class name: preferences; Method or attribute name: function getPreferences(context: Context, options: Options): Promise<Preferences>; | @ohos.data.preferences.d.ts |
| Added | NA | Class name: preferences; Method or attribute name: function deletePreferences(context: Context, options: Options, callback: AsyncCallback<void>): void; | @ohos.data.preferences.d.ts |
| Added | NA | Class name: preferences; Method or attribute name: function deletePreferences(context: Context, options: Options): Promise<void>; | @ohos.data.preferences.d.ts |
| Added | NA | Class name: preferences; Method or attribute name: function removePreferencesFromCache(context: Context, options: Options, callback: AsyncCallback<void>): void; | @ohos.data.preferences.d.ts |
| Added | NA | Class name: preferences; Method or attribute name: function removePreferencesFromCache(context: Context, options: Options): Promise<void>; | @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<PRIKeyType, UTCTime>; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: relationalStore; Method or attribute name: function deleteRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback<void>): void; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: relationalStore; Method or attribute name: function deleteRdbStore(context: Context, config: StoreConfig): Promise<void>; | @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<string> |Array<number>; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: ChangeInfo; Method or attribute name: updated: Array<string> |Array<number>; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: ChangeInfo; Method or attribute name: deleted: Array<string> |Array<number>; | @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<ModifyTime>; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: getModifyTime( table: string, columnName: string, primaryKeys: PRIKeyType[], callback: AsyncCallback<ModifyTime> ): void; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: setDistributedTables(tables: Array<string>, type: DistributedType, callback: AsyncCallback<void>): void; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: setDistributedTables( tables: Array<string>, type: DistributedType, config: DistributedConfig, callback: AsyncCallback<void> ): void; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: setDistributedTables(tables: Array<string>, type?: DistributedType, config?: DistributedConfig): Promise<void>; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: cloudSync(mode: SyncMode, progress: Callback<ProgressDetails>, callback: AsyncCallback<void>): void; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: cloudSync(mode: SyncMode, progress: Callback<ProgressDetails>): Promise<void>; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: cloudSync( mode: SyncMode, tables: string[], progress: Callback<ProgressDetails>, callback: AsyncCallback<void> ): void; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: cloudSync(mode: SyncMode, tables: string[], progress: Callback<ProgressDetails>): Promise<void>; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: on(event: 'dataChange', type: SubscribeType, observer: Callback<Array<string>> |Callback<Array<ChangeInfo>>): void; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: on(event: string, interProcess: boolean, observer: Callback<void>): void; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: off( event: 'dataChange', type: SubscribeType, observer?: Callback<Array<string>> |Callback<Array<ChangeInfo>> ): void; | @ohos.data.relationalStore.d.ts |
| Added | NA | Class name: RdbStore; Method or attribute name: off(event: string, interProcess: boolean, observer?: Callback<void>): 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<string>): void; | @ohos.data.UDMF.d.ts |
| Added | NA | Class name: UDMF; Method or attribute name: function insertData(options: Options, data: UnifiedData): Promise<string>; | @ohos.data.UDMF.d.ts |
| Added | NA | Class name: UDMF; Method or attribute name: function updateData(options: Options, data: UnifiedData, callback: AsyncCallback<void>): void; | @ohos.data.UDMF.d.ts |
| Added | NA | Class name: UDMF; Method or attribute name: function updateData(options: Options, data: UnifiedData): Promise<void>; | @ohos.data.UDMF.d.ts |
| Added | NA | Class name: UDMF; Method or attribute name: function queryData(options: Options, callback: AsyncCallback<Array<UnifiedData>>): void; | @ohos.data.UDMF.d.ts |
| Added | NA | Class name: UDMF; Method or attribute name: function queryData(options: Options): Promise<Array<UnifiedData>>; | @ohos.data.UDMF.d.ts |
| Added | NA | Class name: UDMF; Method or attribute name: function deleteData(options: Options, callback: AsyncCallback<Array<UnifiedData>>): void; | @ohos.data.UDMF.d.ts |
| Added | NA | Class name: UDMF; Method or attribute name: function deleteData(options: Options): Promise<Array<UnifiedData>>; | @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<RdbStore>): void; Old version information: 401,14800000,14800010,14800011 | Class name: relationalStore; Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback<RdbStore>): 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<RdbStore>; Old version information: 401,14800000,14800010,14800011 | Class name: relationalStore; Method or attribute name: function getRdbStore(context: Context, config: StoreConfig): Promise<RdbStore>; 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<ValueType>): DataSharePredicates; Old version information: systemapi | Class name: DataSharePredicates; Method or attribute name: in(field: string, value: Array<ValueType>): 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 |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-application