Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
df7e3177
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
df7e3177
编写于
10月 25, 2022
作者:
O
openharmony_ci
提交者:
Gitee
10月 25, 2022
浏览文件
操作
浏览文件
下载
差异文件
!10906 [翻译完成】#I5TF2Q
Merge pull request !10906 from Annie_wang/PR10014
上级
91e70915
8d3bc8dc
变更
2
展开全部
隐藏空白更改
内联
并排
Showing
2 changed file
with
271 addition
and
270 deletion
+271
-270
en/application-dev/reference/apis/js-apis-osAccount.md
en/application-dev/reference/apis/js-apis-osAccount.md
+266
-265
en/release-notes/api-change/v3.2-beta2/js-apidiff-distributed-data.md
...otes/api-change/v3.2-beta2/js-apidiff-distributed-data.md
+5
-5
未找到文件。
en/application-dev/reference/apis/js-apis-osAccount.md
浏览文件 @
df7e3177
此差异已折叠。
点击以展开。
en/release-notes/api-change/v3.2-beta2/js-apidiff-distributed-data.md
浏览文件 @
df7e3177
...
...
@@ -9,7 +9,7 @@ The table below lists the APIs changes of the distributed data management subsys
| ohos.data.dataShare | DataShareHelper | notifyChange(uri: string, callback: AsyncCallback
\<
void>): void;
<br>
notifyChange(uri: string): Promise
\<
void>; | Added|
| ohos.data.dataShare | DataShareHelper | denormalizeUri(uri: string, callback: AsyncCallback
\<
string>): void;
<br>
denormalizeUri(uri: string): Promise
\<
string>; | Added|
| ohos.data.dataShare | DataShareHelper | normalizeUri(uri: string, callback: AsyncCallback
\<
string>): void;
<br>
normalizeUri(uri: string): Promise
\<
string>; | Added|
| ohos.data.dataShare | DataShareHelper | getFileTypes(uri: string, mimeTypeFilter:string, callback: AsyncCallback
\<
Array
\<
string>>): void;
<br>
getFileTypes(uri: string, mimeTypeFilter: string): Promise
\<
Array
\<
string>>; | Added|
| ohos.data.dataShare | DataShareHelper | getFileTypes(uri: string, mimeTypeFilter:
string, callback: AsyncCallback
\<
Array
\<
string>>): void;
<br>
getFileTypes(uri: string, mimeTypeFilter: string): Promise
\<
Array
\<
string>>; | Added|
| ohos.data.dataShare | DataShareHelper | getType(uri: string, callback: AsyncCallback
\<
string>): void;
<br>
getType(uri: string): Promise
\<
string>; | Added|
| ohos.data.dataShare | DataShareHelper | batchInsert(uri: string, values: Array
\<
ValuesBucket>, callback: AsyncCallback
\<
number>): void;
<br>
batchInsert(uri: string, values: Array
\<
ValuesBucket>): Promise
\<
number>; | Added|
| ohos.data.dataShare | DataShareHelper | update(uri: string, predicates: dataSharePredicates.DataSharePredicates, value: ValuesBucket, callback: AsyncCallback
\<
number>): void;
<br>
update(uri: string, predicates: dataSharePredicates.DataSharePredicates, value: ValuesBucket): Promise
\<
number>; | Added|
...
...
@@ -73,9 +73,9 @@ The table below lists the APIs changes of the distributed data management subsys
| ohos.data.DataShareResultSet | DataType | TYPE_DOUBLE = 2 | Added|
| ohos.data.DataShareResultSet | DataType | TYPE_LONG = 1 | Added|
| ohos.data.DataShareResultSet | DataType | TYPE_NULL = 0 | Added|
| ohos.data.distributedData | DeviceKVStore | off(event:'dataChange', listener?: Callback
\<
ChangeNotification>): void; | Added|
| ohos.data.distributedData | DeviceKVStore | off(event:'
dataChange', listener?: Callback
\<
ChangeNotification>): void; | Added|
| ohos.data.distributedData | DeviceKVStore | on(event: 'dataChange', type: SubscribeType, listener: Callback
\<
ChangeNotification>): void; | Added|
| ohos.data.distributedData | SingleKVStore | off(event:'dataChange', listener?: Callback
\<
ChangeNotification>): void; | Added|
| ohos.data.distributedData | SingleKVStore | off(event:
'dataChange', listener?: Callback
\<
ChangeNotification>): void; | Added|
| ohos.data.distributedData | SingleKVStore | on(event: 'dataChange', type: SubscribeType, listener: Callback
\<
ChangeNotification>): void; | Added|
| ohos.data.distributedData | KVStore | off(event: 'syncComplete', syncCallback?: Callback
\<
Array
\<
[string, number]>>): void; | Added|
| ohos.data.distributedData | KVManagerConfig | context: Context; | Added|
...
...
@@ -85,5 +85,5 @@ The table below lists the APIs changes of the distributed data management subsys
| ohos.data.distributedDataObject | SaveSuccessResponse | deviceId: string; | Added|
| ohos.data.distributedDataObject | SaveSuccessResponse | version: number; | Added|
| ohos.data.distributedDataObject | SaveSuccessResponse | sessionId: string; | Added|
| ohos.data.rdb | RdbStore | restore(srcName:string, callback: AsyncCallback
\<
void>):void;
<br>
restore(srcName:string): Promise
\<
void>; | Added|
| ohos.data.rdb | RdbStore | backup(destName:string, callback: AsyncCallback
\<
void>):void;
<br>
backup(destName:string): Promise
\<
void>; | Added|
| ohos.data.rdb | RdbStore | restore(srcName:
string, callback: AsyncCallback
\<
void>):void;
<br>
restore(srcName:string): Promise
\<
void>; | Added|
| ohos.data.rdb | RdbStore | backup(destName:
string, callback: AsyncCallback
\<
void>):void;
<br>
backup(destName:string): Promise
\<
void>; | Added|
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录