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