Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
31bddd59
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
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看板
提交
31bddd59
编写于
5月 30, 2022
作者:
A
Annie_wang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update docs
Signed-off-by:
N
Annie_wang
<
annie.wangli@huawei.com
>
上级
f16dfa24
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
16 addition
and
13 deletion
+16
-13
en/application-dev/reference/apis/js-apis-data-preferences.md
...pplication-dev/reference/apis/js-apis-data-preferences.md
+8
-8
en/device-dev/driver/Readme-EN.md
en/device-dev/driver/Readme-EN.md
+8
-5
未找到文件。
en/application-dev/reference/apis/js-apis-data-preferences.md
浏览文件 @
31bddd59
...
@@ -266,14 +266,14 @@ promise.then((value) => {
...
@@ -266,14 +266,14 @@ promise.then((value) => {
getAll(callback: AsyncCallback
<
Object
>
): void;
getAll(callback: AsyncCallback
<
Object
>
): void;
Obtains the
**Object**
instance that contains all
value
s.
Obtains the
**Object**
instance that contains all
KV pair
s.
**System capability**
: SystemCapability.DistributedDataManager.Preferences.Core
**System capability**
: SystemCapability.DistributedDataManager.Preferences.Core
Parameters
Parameters
| Name| Type| Mandatory| Description|
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| -------- | -------- | -------- | -------- |
| callback | AsyncCallback
<
Object
>
| Yes| Callback used to return the
**Object**
instance that contains all values.
|
| callback | AsyncCallback
<
Object
>
| Yes| Callback used to return the
**Object**
instance that contains all KV pairs.
|
**Example**
**Example**
```
ts
```
ts
...
@@ -292,14 +292,14 @@ preferences.get.getAll(function (err, value) {
...
@@ -292,14 +292,14 @@ preferences.get.getAll(function (err, value) {
getAll(): Promise
<
Object
>
getAll(): Promise
<
Object
>
Obtains the
**Object**
instance that contains all
value
s.
Obtains the
**Object**
instance that contains all
KV pair
s.
**System capability**
: SystemCapability.DistributedDataManager.Preferences.Core
**System capability**
: SystemCapability.DistributedDataManager.Preferences.Core
**Return value**
**Return value**
| Type| Description|
| Type| Description|
| -------- | -------- |
| -------- | -------- |
| Promise
<
Object
>
| Promise used to return the
**Object**
instance that contains all values.
|
| Promise
<
Object
>
| Promise used to return the
**Object**
instance that contains all KV pairs.
|
**Example**
**Example**
```
ts
```
ts
...
...
en/device-dev/driver/Readme-EN.md
浏览文件 @
31bddd59
...
@@ -43,12 +43,15 @@
...
@@ -43,12 +43,15 @@
-
[
UART
](
driver-platform-uart-des.md
)
-
[
UART
](
driver-platform-uart-des.md
)
-
[
Watchdog
](
driver-platform-watchdog-des.md
)
-
[
Watchdog
](
driver-platform-watchdog-des.md
)
-
Peripheral Driver Usage
-
Peripheral Driver Usage
-
[
Audio
](
driver-peripherals-audio-des.md
)
-
[
Camera
](
driver-peripherals-camera-des.md
)
-
[
Face_auth
](
driver-peripherals-face_auth-des.md
)
-
[
LCD
](
driver-peripherals-lcd-des.md
)
-
[
LCD
](
driver-peripherals-lcd-des.md
)
-
[
Touchscreen
](
driver-peripherals-touch-des.md
)
-
[
Light
](
driver-peripherals-light-des.md
)
-
[
Pin_auth
](
driver-peripherals-pinauth-des.md
)
-
[
Sensor
](
driver-peripherals-sensor-des.md
)
-
[
Sensor
](
driver-peripherals-sensor-des.md
)
-
[
WLAN
](
driver-peripherals-external-des.md
)
-
[
Touchscreen
](
driver-peripherals-touch-des.md
)
-
[
Audio
](
driver-peripherals-audio-des.md
)
-
[
USB
](
driver-peripherals-usb-des.md
)
-
[
USB
](
driver-peripherals-usb-des.md
)
-
[
Camera
](
driver-peripherals-camera
-des.md
)
-
[
User_auth
](
driver-peripherals-user-auth
-des.md
)
-
[
Vibrator
](
driver-peripherals-vibrator-des.md
)
-
[
Vibrator
](
driver-peripherals-vibrator-des.md
)
-
[
Light
](
driver-peripherals-light
-des.md
)
-
[
WLAN
](
driver-peripherals-external
-des.md
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录