diff --git a/zh-cn/release-notes/api-change/v3.2-beta2/js-apidiff-distributed-data.md b/zh-cn/release-notes/api-change/v3.2-beta2/js-apidiff-distributed-data.md index 344e734bf53cb75dd71c978d32b7a9aa2937dbec..b1f5ffd07fc3ba0d5e6e5969b1f77d8e69af7e93 100644 --- a/zh-cn/release-notes/api-change/v3.2-beta2/js-apidiff-distributed-data.md +++ b/zh-cn/release-notes/api-change/v3.2-beta2/js-apidiff-distributed-data.md @@ -9,7 +9,7 @@ OpenHarmony 3.2 Beta2版本相较于OpenHarmony 3.2 Beta1版本,分布式数 | ohos.data.dataShare | DataShareHelper | notifyChange(uri: string, callback: AsyncCallback\): void;
notifyChange(uri: string): Promise\; | 新增 | | ohos.data.dataShare | DataShareHelper | denormalizeUri(uri: string, callback: AsyncCallback\): void;
denormalizeUri(uri: string): Promise\; | 新增 | | ohos.data.dataShare | DataShareHelper | normalizeUri(uri: string, callback: AsyncCallback\): void;
normalizeUri(uri: string): Promise\; | 新增 | -| ohos.data.dataShare | DataShareHelper | getFileTypes(uri: string, mimeTypeFilter:string, callback: AsyncCallback\>): void;
getFileTypes(uri: string, mimeTypeFilter: string): Promise\>; | 新增 | +| ohos.data.dataShare | DataShareHelper | getFileTypes(uri: string, mimeTypeFilter: string, callback: AsyncCallback\>): void;
getFileTypes(uri: string, mimeTypeFilter: string): Promise\>; | 新增 | | ohos.data.dataShare | DataShareHelper | getType(uri: string, callback: AsyncCallback\): void;
getType(uri: string): Promise\; | 新增 | | ohos.data.dataShare | DataShareHelper | batchInsert(uri: string, values: Array\, callback: AsyncCallback\): void;
batchInsert(uri: string, values: Array\): Promise\; | 新增 | | ohos.data.dataShare | DataShareHelper | update(uri: string, predicates: dataSharePredicates.DataSharePredicates, value: ValuesBucket, callback: AsyncCallback\): void;
update(uri: string, predicates: dataSharePredicates.DataSharePredicates, value: ValuesBucket): Promise\; | 新增 | @@ -75,7 +75,7 @@ OpenHarmony 3.2 Beta2版本相较于OpenHarmony 3.2 Beta1版本,分布式数 | ohos.data.DataShareResultSet | DataType | TYPE_NULL = 0 | 新增 | | ohos.data.distributedData | DeviceKVStore | off(event:'dataChange', listener?: Callback\): void; | 新增 | | ohos.data.distributedData | DeviceKVStore | on(event: 'dataChange', type: SubscribeType, listener: Callback\): void; | 新增 | -| ohos.data.distributedData | SingleKVStore | off(event:'dataChange', listener?: Callback\): void; | 新增 | +| ohos.data.distributedData | SingleKVStore | off(event: 'dataChange', listener?: Callback\): void; | 新增 | | ohos.data.distributedData | SingleKVStore | on(event: 'dataChange', type: SubscribeType, listener: Callback\): void; | 新增 | | ohos.data.distributedData | KVStore | off(event: 'syncComplete', syncCallback?: Callback\>): void; | 新增 | | ohos.data.distributedData | KVManagerConfig | context: Context; | 新增 | @@ -85,7 +85,7 @@ OpenHarmony 3.2 Beta2版本相较于OpenHarmony 3.2 Beta1版本,分布式数 | ohos.data.distributedDataObject | SaveSuccessResponse | deviceId: string; | 新增 | | ohos.data.distributedDataObject | SaveSuccessResponse | version: number; | 新增 | | ohos.data.distributedDataObject | SaveSuccessResponse | sessionId: string; | 新增 | -| ohos.data.rdb | RdbStore | restore(srcName:string, callback: AsyncCallback\):void;
restore(srcName:string): Promise\; | 新增 | -| ohos.data.rdb | RdbStore | backup(destName:string, callback: AsyncCallback\):void;
backup(destName:string): Promise\; | 新增 | +| ohos.data.rdb | RdbStore | restore(srcName: string, callback: AsyncCallback\): void;
restore(srcName: string): Promise\; | 新增 | +| ohos.data.rdb | RdbStore | backup(destName: string, callback: AsyncCallback\): void;
backup(destName: string): Promise\; | 新增 |