diff --git a/zh-cn/application-dev/ability/fa-brief.md b/zh-cn/application-dev/ability/fa-brief.md
index 6d658d0655c9c33b58d9f096aebc8e038b97cf28..d017561c9f02c1a94a7abd1016ea157acd30e0ad 100644
--- a/zh-cn/application-dev/ability/fa-brief.md
+++ b/zh-cn/application-dev/ability/fa-brief.md
@@ -29,9 +29,9 @@ Ability框架在API 8及更早版本使用FA模型。FA模型中Ability分为Pag
## 相关实例
针对Ability开发,有以下相关实例可供参考:
-- [`DistributeCalc`:分布式计算器(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Preset/DistributeCalc)
-- [`DistributeGraffiti`:分布式涂鸦(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/ability/DistributedGraffiti)
-
+- [`DistributedCalc`:分布式计算器(JS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/common/DistributeCalc)
+- [`DistributedCalc`:分布式计算器(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/Preset/DistributeCalc)
+- [`DistributeGraffiti`:分布式涂鸦(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/DistributedGraffiti)
- [分布式调度启动远程FA(JS)(API8)](https://gitee.com/openharmony/codelabs/tree/master/Distributed/RemoteStartFA)
- [分布式新闻客户端(JS)(API8)](https://gitee.com/openharmony/codelabs/tree/master/Distributed/NewsDemo)
- [分布式手写板(eTS)(API8)](https://gitee.com/openharmony/codelabs/tree/master/Distributed/DistributeDatabaseDrawEts)
diff --git a/zh-cn/application-dev/ability/fa-dataability.md b/zh-cn/application-dev/ability/fa-dataability.md
index 86447ebe432cdcbf09577a00a309bd6de6a39151..bd66df25aa9f2b56c6bdfda61bbf68e0c10f1be1 100644
--- a/zh-cn/application-dev/ability/fa-dataability.md
+++ b/zh-cn/application-dev/ability/fa-dataability.md
@@ -311,4 +311,4 @@ URI示例:
针对DataAbility开发,有以下相关实例可供参考:
-- [`DataAbility`:DataAbility的创建与访问(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/ability/DataAbility)
+- [`DataAbility`:DataAbility的创建与访问(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/DataAbility)
diff --git a/zh-cn/application-dev/ability/fa-formability.md b/zh-cn/application-dev/ability/fa-formability.md
index 1d37606f11ff5a4195685b7e045feac0caa2f0b2..77287afbc078064cf9ca260efd355eaa2e67a5f6 100644
--- a/zh-cn/application-dev/ability/fa-formability.md
+++ b/zh-cn/application-dev/ability/fa-formability.md
@@ -404,5 +404,5 @@ onUpdate(formId) {
## 相关实例
针对FA模型卡片提供方的开发,有以下相关实例可供参考:
-- [`FormAbility`:FA模型卡片(JS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/ability/FormAbility)
-- [`FormLauncher`:卡片使用方(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/ability/FormLauncher)
\ No newline at end of file
+- [`FormAbility`:FA模型卡片(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/FormAbility)
+- [`FormLauncher`:卡片使用方(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/FormLauncher)
\ No newline at end of file
diff --git a/zh-cn/application-dev/ability/fa-pageability.md b/zh-cn/application-dev/ability/fa-pageability.md
index 9293f3c13cb83d6a33981facddf82de6dade61a7..c854269adc4054c88b3f3d1a61c89bf6db1d6129 100644
--- a/zh-cn/application-dev/ability/fa-pageability.md
+++ b/zh-cn/application-dev/ability/fa-pageability.md
@@ -227,4 +227,4 @@ export default {
针对PageAbility开发,有以下相关实例可供参考:
-- [`DMS`:分布式Demo(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/ability/DMS)
\ No newline at end of file
+- [`DMS`:分布式Demo(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/DMS)
\ No newline at end of file
diff --git a/zh-cn/application-dev/ability/fa-serviceability.md b/zh-cn/application-dev/ability/fa-serviceability.md
index 58991ec7147c2789774dff1892c68f8a34d72653..d00801955385bee15b008864cb96537879272cb3 100644
--- a/zh-cn/application-dev/ability/fa-serviceability.md
+++ b/zh-cn/application-dev/ability/fa-serviceability.md
@@ -128,7 +128,7 @@ let promise = featureAbility.startAbility(
使用OpenHarmony IDL(OpenHarmony Interface Definition Language)来自动生成对应客户端服务端及IRemoteObject代码,具体示例代码和说明请参考:
- - [`OpenHarmony IDL`:TS开发步骤](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/IDL/idl-guidelines.md#32-ts开发步骤)
+ - [`OpenHarmony IDL`:TS开发步骤](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/IDL/idl-guidelines.md#ts开发步骤)
2. 在对应文件编写代码
@@ -220,7 +220,7 @@ let promise = featureAbility.startAbility(
}
```
-### 连接远程Service(当前仅对系统应用开放)
+### 连接远程Service(当前仅对系统应用开放)
>说明:由于DeviceManager的getTrustedDeviceListSync接口仅对系统应用开放,当前连接远程Service仅支持系统应用。
@@ -406,5 +406,5 @@ export default {
## 相关实例
针对ServiceAbility开发,有以下相关实例可供参考:
-- [`ServiceAbility`:ServiceAbility的创建与使用(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/ability/ServiceAbility)
-- [`DMS`:分布式Demo(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/ability/DMS)
+- [`ServiceAbility`:ServiceAbility的创建与使用(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/ServiceAbility)
+- [`DMS`:分布式Demo(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/DMS)
diff --git a/zh-cn/application-dev/ability/stage-ability.md b/zh-cn/application-dev/ability/stage-ability.md
index c03b9eeccdb77712709d7612f192b2738212833b..e7ecd3e14e89967b12395ee60fb0146440687fcc 100644
--- a/zh-cn/application-dev/ability/stage-ability.md
+++ b/zh-cn/application-dev/ability/stage-ability.md
@@ -324,4 +324,4 @@ struct Index {
## 相关实例
针对Stage模型Ability开发,有以下相关示例可供参考:
-- [`StageCallAbility`:StageCallAbility的创建与使用(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/ability/StageCallAbility)
+- [`StageCallAbility`:StageCallAbility的创建与使用(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/StageCallAbility)
diff --git a/zh-cn/application-dev/ability/stage-brief.md b/zh-cn/application-dev/ability/stage-brief.md
index 9099e1e557bbd9abd7f3a8fae0eee7de15764a49..0183b259a263c277b1b27b74d6cb2c1378549238 100644
--- a/zh-cn/application-dev/ability/stage-brief.md
+++ b/zh-cn/application-dev/ability/stage-brief.md
@@ -97,4 +97,5 @@

## 相关实例
针对Stage模型下的Ability开发,有以下相关实例可供参考:
-- [`MissionManager`:系统任务管理(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/ability/MissionManager)
+- [`MissionManager`:系统任务管理(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/MissionManager)
+- [`Launcher`:仿桌面应用(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/Launcher)
diff --git a/zh-cn/application-dev/ability/stage-call.md b/zh-cn/application-dev/ability/stage-call.md
index 65f12149bf2c142269eb697baa39962cc65f79c1..fb49d6a030feaaa8a9978f3827c7ae7b1accf960 100644
--- a/zh-cn/application-dev/ability/stage-call.md
+++ b/zh-cn/application-dev/ability/stage-call.md
@@ -284,4 +284,4 @@ releaseCall() {
## 相关实例
针对Stage模型本地Call功能开发,有以下相关实例可供参考:
-- [`StageCallAbility`:StageCallAbility的创建与使用(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/ability/StageCallAbility)
+- [`StageCallAbility`:StageCallAbility的创建与使用(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/StageCallAbility)
diff --git a/zh-cn/application-dev/ability/stage-formextension.md b/zh-cn/application-dev/ability/stage-formextension.md
index 87f32400698c5e7b2f1023b61d6600ed423cfd25..25a2b232b88c27a1d68f9b52520d67dbdc4a7cef 100644
--- a/zh-cn/application-dev/ability/stage-formextension.md
+++ b/zh-cn/application-dev/ability/stage-formextension.md
@@ -415,4 +415,5 @@ onUpdate(formId) {
## 相关实例
针对Stage模型卡片提供方的开发,有以下相关实例可供参考:
-- [`FormExtAbility`:Stage模型卡片(eTS JS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/ability/FormExtAbility)
\ No newline at end of file
+- [`FormExtAbility`:Stage模型卡片(eTS)(API9)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/FormExtAbility)
+- [`GalleryForm`:图库卡片(eTS)(API9)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/GalleryForm)
\ No newline at end of file
diff --git a/zh-cn/application-dev/ability/stage-serviceextension.md b/zh-cn/application-dev/ability/stage-serviceextension.md
index e427bbc7f859eff7dd486f32474ddf98a4c4428d..2540855d34ba71c4c44a7be4581caca2aad166aa 100644
--- a/zh-cn/application-dev/ability/stage-serviceextension.md
+++ b/zh-cn/application-dev/ability/stage-serviceextension.md
@@ -75,4 +75,4 @@ OpenHarmony当前不支持三方应用创建ServiceExtensionAbility。
## 相关实例
针对ServiceExtensionAbility开发,有以下相关实例可供参考:
-- [`ServiceExtAbility`:StageExtAbility的创建与使用(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/ability/ServiceExtAbility)
+- [`ServiceExtAbility`:StageExtAbility的创建与使用(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/ServiceExtAbility)
diff --git a/zh-cn/application-dev/connectivity/http-request.md b/zh-cn/application-dev/connectivity/http-request.md
index d71280393c8c3afc28b8d81bd26f11f7e84af841..2778c2a1bfe14e6db49c9ad666165d8f084a6673 100644
--- a/zh-cn/application-dev/connectivity/http-request.md
+++ b/zh-cn/application-dev/connectivity/http-request.md
@@ -74,5 +74,5 @@ httpRequest.request(
## 相关实例
针对HTTP数据请求,有以下相关实例可供参考:
-- [`Http`:数据请求(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Network/Http)
+- [`Http:`数据请求(eTS)(API9))](https://gitee.com/openharmony/applications_app_samples/tree/master/Network/Http)
- [使用HTTP实现与服务端通信(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/NetworkManagement/SmartChatEtsOH)
\ No newline at end of file
diff --git a/zh-cn/application-dev/connectivity/socket-connection.md b/zh-cn/application-dev/connectivity/socket-connection.md
index 653ed9a40ace72b56f0013ae515e3172cb54d07c..a538d2134dee0e74e6510d81ddab7b2663535d73 100644
--- a/zh-cn/application-dev/connectivity/socket-connection.md
+++ b/zh-cn/application-dev/connectivity/socket-connection.md
@@ -125,6 +125,6 @@ UDP与TCP流程大体类似,下面以TCP为例:
## 相关实例
针对Socket连接开发,有以下相关实例可供参考:
-- [`Socket`:Socket 连接(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Network/Socket)
+- [`Socket`:Socket 连接(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/Network/Socket)
- [使用UDP实现与服务端通信(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/NetworkManagement/UdpDemoOH)
- [使用TCP实现与服务端通信(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/NetworkManagement/TcpSocketDemo)
\ No newline at end of file
diff --git a/zh-cn/application-dev/connectivity/websocket-connection.md b/zh-cn/application-dev/connectivity/websocket-connection.md
index 53598fc5031da880ebf59edba43fb29bcc8b626b..41ddfa0a73707b4d5cf0db3c3b30d735dbb775f3 100644
--- a/zh-cn/application-dev/connectivity/websocket-connection.md
+++ b/zh-cn/application-dev/connectivity/websocket-connection.md
@@ -87,4 +87,4 @@ WebSocket连接功能主要由webSocket模块提供。使用该功能需要申
## 相关实例
针对WebSocket连接的开发,有以下相关实例可供参考:
-- [`WebSocket`:WebSocket(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Network/WebSocket)
\ No newline at end of file
+- [`WebSocket`:WebSocket(eTS)(API9)](https://gitee.com/openharmony/applications_app_samples/tree/master/Network/WebSocket)
\ No newline at end of file
diff --git a/zh-cn/application-dev/database/database-distributedobject-guidelines.md b/zh-cn/application-dev/database/database-distributedobject-guidelines.md
index 61db857faf49b8f9f3d1adbdd14e1737c63712bc..1e7407689042269d673a13b4ca973dac0d330503 100644
--- a/zh-cn/application-dev/database/database-distributedobject-guidelines.md
+++ b/zh-cn/application-dev/database/database-distributedobject-guidelines.md
@@ -256,11 +256,7 @@
```
## 相关实例
-针对分布式数据对象,有以下开发实例可供参考:
-- [`DistributedNote`:分布式备忘录(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/data/DistributedNote)
-
-- [备忘录应用](https://gitee.com/openharmony/distributeddatamgr_objectstore/tree/master/samples/distributedNotepad)
-
- 在备忘录应用中,当某一个设备上的备忘录事件发生变更时,通过分布式数据对象将事件变更同步在可信组网内的其他设备上,比如新增备忘录事件、编辑事件标题和内容、清空事件列表
- 等。
+针对分布式数据对象,有以下相关实例可供参考:
+- [`DistributedNote`:分布式备忘录(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/data/DistributedNote)
+- [`DistributedObjectDms`:分布式跑马灯(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/data/DistributedObjectDms)
diff --git a/zh-cn/application-dev/database/database-mdds-guidelines.md b/zh-cn/application-dev/database/database-mdds-guidelines.md
index 60a6256d8b2288f38058c660acc105fdb6017b7b..ccaedffd12c071d0cd64630fbded0be686c5e491 100644
--- a/zh-cn/application-dev/database/database-mdds-guidelines.md
+++ b/zh-cn/application-dev/database/database-mdds-guidelines.md
@@ -29,11 +29,13 @@
以单版本分布式数据库为例,说明开发步骤。
1. 导入模块。
+
```js
import distributedData from '@ohos.data.distributedData';
```
2. 根据配置构造分布式数据库管理类实例。
+
1. 根据应用上下文创建`kvManagerConfig`对象。
2. 创建分布式数据库管理器实例。
@@ -62,6 +64,7 @@
```
3. 获取/创建分布式数据库。
+
1. 声明需要创建的分布式数据库ID描述。
2. 创建分布式数据库,建议关闭自动同步功能(`autoSync:false`),需要同步时主动调用`sync`接口。
@@ -95,6 +98,7 @@
> 组网设备间同步数据的场景,建议在应用启动时打开分布式数据库,获取数据库的句柄。在该句柄(如示例中的`kvStore`)的生命周期内无需重复创建数据库,可直接使用句柄对数据库进行数据的插入等操作。
4. 订阅分布式数据变化。
+
以下为订阅单版本分布式数据库数据变化通知的代码示例:
```js
kvStore.on('dataChange', distributedData.SubscribeType.SUBSCRIBE_TYPE_ALL, function (data) {
@@ -103,6 +107,7 @@
```
5. 将数据写入分布式数据库。
+
1. 构造需要写入分布式数据库的`Key`(键)和`Value`(值)。
2. 将键值数据写入分布式数据库。
@@ -125,6 +130,7 @@
```
6. 查询分布式数据库数据。
+
1. 构造需要从单版本分布式数据库中查询的`Key`(键)。
2. 从单版本分布式数据库中获取数据。
@@ -149,6 +155,7 @@
```
7. 同步数据到其他设备。
+
选择同一组网环境下的设备以及同步模式,进行数据同步。
> **说明**:
@@ -182,8 +189,12 @@
});
```
## 相关实例
+
针对分布式数据开发,有以下相关实例可供参考:
-- [`DistributedDataGobang`:分布式五子棋(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/data/DistributedDataGobang)
-- [`DDMQuery`:结果集与谓词(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/data/DDMQuery)
-- [`KvStore`:分布式数据库(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/data/Kvstore)
+
+- [`DistributedCalc`:分布式计算器(JS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/common/DistributeCalc)
+- [`DistributedCalc`:分布式计算器(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/Preset/DistributeCalc)
+- [`DistributedDataGobang`:分布式五子棋(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/data/DistributedDataGobang)
+- [`DDMQuery`:结果集与谓词(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/data/DDMQuery)
+- [`KvStore`:分布式数据库(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/data/Kvstore)
- [分布式数据库(JS)(API8)](https://gitee.com/openharmony/codelabs/tree/master/Data/JsDistributedData)
\ No newline at end of file
diff --git a/zh-cn/application-dev/database/database-preference-guidelines.md b/zh-cn/application-dev/database/database-preference-guidelines.md
index 55e258e3650726dd0ef39d3bf367118ca6496759..4c559a507fb4177846ddaec955470ba98a8a0167 100644
--- a/zh-cn/application-dev/database/database-preference-guidelines.md
+++ b/zh-cn/application-dev/database/database-preference-guidelines.md
@@ -173,4 +173,4 @@
## 相关实例
针对首选项开发,有以下相关实例可供参考:
-- [`Preferences`:首选项(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/data/Preferences)
\ No newline at end of file
+- [`Preferences`:首选项(eTS)(API9)](https://gitee.com/openharmony/applications_app_samples/tree/master/data/Preferences)
\ No newline at end of file
diff --git a/zh-cn/application-dev/database/database-relational-guidelines.md b/zh-cn/application-dev/database/database-relational-guidelines.md
index 5d5f32cb857f74f88682ef11febaf3f8c46e12b1..c5d04b88f627557c58bfa29b858321b4a81678e9 100644
--- a/zh-cn/application-dev/database/database-relational-guidelines.md
+++ b/zh-cn/application-dev/database/database-relational-guidelines.md
@@ -387,5 +387,5 @@
## 相关实例
针对关系型数据库开发,有以下相关实例可供参考:
-- [`DistributedRdb`:分布式关系型数据库(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/data/DistributedRdb)
+- [`DistributedRdb`:分布式关系型数据库(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/data/DistributedRdb)
- [关系型数据库(JS)(API8)](https://gitee.com/openharmony/codelabs/tree/master/Data/JSRelationshipData)
\ No newline at end of file
diff --git a/zh-cn/application-dev/device-usage-statistics/device-usage-statistics-dev-guide.md b/zh-cn/application-dev/device-usage-statistics/device-usage-statistics-dev-guide.md
index 098873dec1929a1887c51a64c8f10ce329914236..494508ffcb752fea7c16cea172c09476393c7c79 100644
--- a/zh-cn/application-dev/device-usage-statistics/device-usage-statistics-dev-guide.md
+++ b/zh-cn/application-dev/device-usage-statistics/device-usage-statistics-dev-guide.md
@@ -438,5 +438,5 @@ import stats from '@ohos.bundleState';
```
## 相关实例
针对设备使用信息统计,有以下相关实例可供参考:
-- [`DeviceUsageStatistics`:设备使用信息统计(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/device/DeviceUsageStatistics)
+- [`DeviceUsageStatistics`:设备使用信息统计(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/device/DeviceUsageStatistics)
diff --git a/zh-cn/application-dev/device/sensor-guidelines.md b/zh-cn/application-dev/device/sensor-guidelines.md
index 8ffc74e20dea5ce602b497d67405ed87312ccf87..77d54dd0f32360733fed9892cd48fa3bff03d7fd 100644
--- a/zh-cn/application-dev/device/sensor-guidelines.md
+++ b/zh-cn/application-dev/device/sensor-guidelines.md
@@ -139,4 +139,4 @@
针对传感器开发,有以下相关实例可供参考:
-- [`Sensor`:传感器(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/device/Sensor)
\ No newline at end of file
+- [`Sensor`:传感器(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/device/Sensor)
\ No newline at end of file
diff --git a/zh-cn/application-dev/device/usb-guidelines.md b/zh-cn/application-dev/device/usb-guidelines.md
index 938786fd4b316a19c78b20867a4ee57e560f4e6e..9e7f54954a973f8a9a18ec812afb7a09a808b271 100644
--- a/zh-cn/application-dev/device/usb-guidelines.md
+++ b/zh-cn/application-dev/device/usb-guidelines.md
@@ -155,4 +155,4 @@ USB设备可作为Host设备连接Device设备进行数据传输。开发示例
```
## 相关实例
针对USB管理开发,有以下相关实例可供参考:
-- [`USBManager`:USB管理(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/device/USBManager)
+- [`USBManager`:USB管理(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/device/USBManager)
diff --git a/zh-cn/application-dev/device/vibrator-guidelines.md b/zh-cn/application-dev/device/vibrator-guidelines.md
index e97b83874daab0ad9059f64f089dd6bb7f2bf34c..2da1934e2307d7fcdaea029b30b8482e3a73925d 100644
--- a/zh-cn/application-dev/device/vibrator-guidelines.md
+++ b/zh-cn/application-dev/device/vibrator-guidelines.md
@@ -89,4 +89,4 @@
针对振动开发,有以下相关实例可供参考:
-- [`Vibrator`:振动(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/device/Vibrator)
\ No newline at end of file
+- [`Vibrator`:振动(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/device/Vibrator)
\ No newline at end of file
diff --git a/zh-cn/application-dev/dfx/hiappevent-guidelines.md b/zh-cn/application-dev/dfx/hiappevent-guidelines.md
index 23de727ff9f4c9e2fc857a68bcbc1c49163e1f73..da87158885033a25942fb4da2a9ed02253f7d5f3 100644
--- a/zh-cn/application-dev/dfx/hiappevent-guidelines.md
+++ b/zh-cn/application-dev/dfx/hiappevent-guidelines.md
@@ -162,4 +162,4 @@
针对应用事件开发,有以下相关实例可供参考:
-- [`JsDotTest`:测试打点(JS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/DFX/JsDotTest)
\ No newline at end of file
+- [`JsDotTest`:测试打点(JS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/DFX/JsDotTest)
\ No newline at end of file
diff --git a/zh-cn/application-dev/media/audio-playback.md b/zh-cn/application-dev/media/audio-playback.md
index 6313ac85397e94b8e26c955ff647fc2d5c6208f3..e18389ad794b830d59038d6372e90573503f53b9 100644
--- a/zh-cn/application-dev/media/audio-playback.md
+++ b/zh-cn/application-dev/media/audio-playback.md
@@ -256,7 +256,7 @@ export class AudioDemo {
针对音频播放开发,有以下相关实例可供参考:
-- [`JsDistributedMusicPlayer`:分布式音乐播放(JS)(API7)](https://gitee.com/openharmony/app_samples/tree/master/ability/JsDistributedMusicPlayer)
-- [`JsAudioPlayer`:音频播放和管理(JS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/media/JsAudioPlayer)
-- [`eTsAudioPlayer`: 音频播放器(eTS)(API8)](https://gitee.com/openharmony/app_samples/blob/master/media/Recorder/entry/src/main/ets/MainAbility/pages/Play.ets)
+- [`JsDistributedMusicPlayer:`分布式音乐播放(JS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/JsDistributedMusicPlayer)
+- [`JsAudioPlayer`:音频播放和管理(JS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/media/JsAudioPlayer)
+- [`eTsAudioPlayer`: 音频播放器(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/blob/master/media/Recorder/entry/src/main/ets/MainAbility/pages/Play.ets)
- [音频播放器(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/Media/Audio_OH_ETS)
\ No newline at end of file
diff --git a/zh-cn/application-dev/media/audio-recorder.md b/zh-cn/application-dev/media/audio-recorder.md
index 4fad7945ff6db32a2746751839a35427f5825674..85b07eaef0a61cf7e161c3c37a70928b2d1aa031 100644
--- a/zh-cn/application-dev/media/audio-recorder.md
+++ b/zh-cn/application-dev/media/audio-recorder.md
@@ -190,7 +190,7 @@ export class AudioRecorderDemo {
针对音频录制开发,有以下相关实例可供参考:
-- [`Recorder`:录音机(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/media/Recorder)
-- [`JsRecorder`:录音机(JS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/media/JSRecorder)
-- [`eTsAudioPlayer`: 音频播放器(eTS)(API8)](https://gitee.com/openharmony/app_samples/blob/master/media/Recorder/entry/src/main/ets/MainAbility/pages/Play.ets)
+- [`Recorder:`录音机(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/media/Recorder)
+- [`JsRecorder`:录音机(JS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/media/JSRecorder)
+- [`eTsAudioPlayer`: 音频播放器(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/blob/master/media/Recorder/entry/src/main/ets/MainAbility/pages/Play.ets)
- [音频播放器(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/Media/Audio_OH_ETS)
diff --git a/zh-cn/application-dev/media/image.md b/zh-cn/application-dev/media/image.md
index 1042fc7e915a9fd9e719c3e443b0f77d1cb32f56..a7f8983c8029357e34eb085731b28050fd4ebf89 100644
--- a/zh-cn/application-dev/media/image.md
+++ b/zh-cn/application-dev/media/image.md
@@ -302,5 +302,5 @@ public async init(surfaceId: any) {
针对图片开发,有以下相关实例可供参考:
-- [`Image`:图片处理(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/media/Image)
-- [`GamePuzzle`:拼图(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/media/GamePuzzle)
\ No newline at end of file
+- [`Image`:图片处理(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/media/Image)
+- [`GamePuzzle`:拼图(eTS)(API9)](https://gitee.com/openharmony/applications_app_samples/tree/master/media/GamePuzzle)
\ No newline at end of file
diff --git a/zh-cn/application-dev/media/video-playback.md b/zh-cn/application-dev/media/video-playback.md
index bb8a935684e397beef11c5ce4476b81a0a04fa1d..27279fb3b887efe6f0d62faffbf384e45196ffaf 100644
--- a/zh-cn/application-dev/media/video-playback.md
+++ b/zh-cn/application-dev/media/video-playback.md
@@ -445,5 +445,5 @@ export class VideoPlayerDemo {
## 相关实例
针对视频播放开发,有以下相关实例可供参考:
-- [`VideoPlayer`:视频播放(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/media/VideoPlayer)
+- [`VideoPlayer:`视频播放(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/media/VideoPlayer)
- [视频播放器(eTS)(API 9)](https://gitee.com/openharmony/codelabs/tree/master/Media/VideoPlayerStage)
\ No newline at end of file
diff --git a/zh-cn/application-dev/media/video-recorder.md b/zh-cn/application-dev/media/video-recorder.md
index 2e722caf3ab5de17c8872687b5faa9f3dcf56052..888767e721ad99e71565a1eb5d1607ecc0b303ba 100644
--- a/zh-cn/application-dev/media/video-recorder.md
+++ b/zh-cn/application-dev/media/video-recorder.md
@@ -86,7 +86,7 @@ export class VideoRecorderDemo {
profile : videoProfile,
url : this.testFdNumber, // testFdNumber由getFd生成
orientationHint : 0,
- location : { latitude : 30, longitude : 130 },
+ location : { latitude : 30, longitude : 130 }
}
// 创建videoRecorder对象
await media.createVideoRecorder().then((recorder) => {
diff --git a/zh-cn/application-dev/napi/napi-guidelines.md b/zh-cn/application-dev/napi/napi-guidelines.md
index 95c03925de5ba06ea0eb08e22ab390dc51a946e2..a7a57350b909eb196231103364b05ae7c630bc76 100644
--- a/zh-cn/application-dev/napi/napi-guidelines.md
+++ b/zh-cn/application-dev/napi/napi-guidelines.md
@@ -643,6 +643,6 @@ export default {
```
## 相关实例
针对Native API的开发,有以下相关实例可供参考:
-- [`NativeAPI`:NativeAPI(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Native/NativeAPI)
+- [`NativeAPI`:NativeAPI(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/Native/NativeAPI)
- [第一个Native C++应用(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/NativeAPI/NativeTemplateDemo)
- [Native Component(eTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/NativeAPI/XComponent)
\ No newline at end of file
diff --git a/zh-cn/application-dev/notification/common-event.md b/zh-cn/application-dev/notification/common-event.md
index fd6f6a31e73ae42d5ed52c2f2196d22801ffb5f6..42319fb13e2dc2ca39e02b9e6789b6515f60223a 100644
--- a/zh-cn/application-dev/notification/common-event.md
+++ b/zh-cn/application-dev/notification/common-event.md
@@ -174,6 +174,6 @@ if (this.subscriber != null) {
针对公共事件开发,有以下相关实例可供参考:
-- [`CommonEvent`:订阅公共事件(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Notification/CommonEvent)
+- [`CommonEvent`:订阅公共事件(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/Notification/CommonEvent)
diff --git a/zh-cn/application-dev/notification/notification-guidelines.md b/zh-cn/application-dev/notification/notification-guidelines.md
index 063b0e3cc75e5e092c3f6e79ebddde3ca33e8646..6d54d97629004bf22fa25f01b278d98df010644b 100644
--- a/zh-cn/application-dev/notification/notification-guidelines.md
+++ b/zh-cn/application-dev/notification/notification-guidelines.md
@@ -262,6 +262,6 @@ Notification.cancel(1, "label", cancelCallback)
针对通知开发,有以下相关可供参考:
-- [`Notification`:订阅、发送通知(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/Notification/Notification)
+- [`Notification:`订阅、发送通知(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/Notification/Notification)
-- [`Notification`:通知(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/common/Notification)
+- [`Notification`:通知(eTS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/common/Notification)
diff --git a/zh-cn/application-dev/quick-start/start-with-js-fa.md b/zh-cn/application-dev/quick-start/start-with-js-fa.md
index 96ca0d33edaaae296dcfd6bf59325cecca3b5693..142a657f437f81e42b6724f4daa11a14db5632bb 100644
--- a/zh-cn/application-dev/quick-start/start-with-js-fa.md
+++ b/zh-cn/application-dev/quick-start/start-with-js-fa.md
@@ -233,3 +233,8 @@

恭喜您已经使用JS语言开发(FA模型)完成了第一个OpenHarmony应用,快来[探索更多的OpenHarmony功能](../application-dev-guide.md)吧。
+
+## 相关实例
+
+针对使用JS语言开发(FA模型),有以下相关实例可供参考:
+- [`JsHelloWorld`:你好世界(JS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/common/JsHelloWorld)
diff --git a/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md b/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md
index a31cffc7171162325c1f7f6a420b4993bf6ce29a..b6002b56a15734dad120e99f9d414735f8749f12 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md
@@ -1191,6 +1191,8 @@ update(table: string, values: ValuesBucket, predicates: dataSharePredicates.Data
根据DataSharePredicates的指定实例对象更新数据库中的数据,使用callback异步回调。
+**系统接口:** 此接口为系统接口。
+
**系统能力:** SystemCapability.DistributedDataManager.RelationalStore.Core。
**参数:**
@@ -1226,6 +1228,8 @@ update(table: string, values: ValuesBucket, predicates: dataSharePredicates.Data
根据DataSharePredicates的指定实例对象更新数据库中的数据,使用Promise异步回调。
+**系统接口:** 此接口为系统接口。
+
**系统能力:** SystemCapability.DistributedDataManager.RelationalStore.Core。
**参数:**
@@ -1325,6 +1329,8 @@ delete(table: string, predicates: dataSharePredicates.DataSharePredicates, callb
根据DataSharePredicates的指定实例对象从数据库中删除数据,使用callback异步回调。
+**系统接口:** 此接口为系统接口。
+
**系统能力:** SystemCapability.DistributedDataManager.RelationalStore.Core。
**参数:**
@@ -1353,6 +1359,8 @@ delete(table: string, predicates: dataSharePredicates.DataSharePredicates):Promi
根据DataSharePredicates的指定实例对象从数据库中删除数据,使用Promise异步回调。
+**系统接口:** 此接口为系统接口。
+
**系统能力:** SystemCapability.DistributedDataManager.RelationalStore.Core。
**参数:**
@@ -1447,6 +1455,8 @@ query(table: string, predicates: dataSharePredicates.DataSharePredicates, column
根据指定条件查询数据库中的数据,使用callback异步回调。
+**系统接口:** 此接口为系统接口。
+
**系统能力:** SystemCapability.DistributedDataManager.RelationalStore.Core。
**参数:**
@@ -1479,6 +1489,8 @@ query(table: string, predicates: dataSharePredicates.DataSharePredicates, column
根据指定条件查询数据库中的数据,使用Promise异步回调。
+**系统接口:** 此接口为系统接口。
+
**系统能力:** SystemCapability.DistributedDataManager.RelationalStore.Core。
**参数:**
diff --git a/zh-cn/application-dev/reference/apis/js-apis-display.md b/zh-cn/application-dev/reference/apis/js-apis-display.md
index e5f24774261a410950a268820464f21b8095ab05..3f46b80ffc3b1427292a2d4dde1fa44f3b5a6d7f 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-display.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-display.md
@@ -62,7 +62,7 @@ import display from '@ohos.display';
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
| --------------------------- | ------------- | ---- | ---- | ------------------ |
-| boudingRects | Array\<[Rect](#rect9)> | 是 | 否 | 挖孔、刘海等区域的边界矩形。 |
+| boundingRects | Array\<[Rect](#rect9)> | 是 | 否 | 挖孔、刘海等区域的边界矩形。 |
| waterfallDisplayAreaRects | [WaterfallDisplayAreaRects](#waterfalldisplayarearects9) | 是 | 否 | 瀑布屏曲面部分显示区域。 |
## display.getDefaultDisplay
diff --git a/zh-cn/application-dev/reference/apis/js-apis-distributed-data.md b/zh-cn/application-dev/reference/apis/js-apis-distributed-data.md
index 14dddcfe07e417163dafd9e9f4e35a83bbec21c2..a973ac6094fb549f606f2aace984f01349931428 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-distributed-data.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-distributed-data.md
@@ -304,7 +304,7 @@ try {
}
```
-### closeKVStore8+ ###
+### closeKVStore8+
closeKVStore(appId: string, storeId: string, kvStore: KVStore, callback: AsyncCallback<void>): void
@@ -350,7 +350,7 @@ const options = {
```
-### closeKVStore8+ ###
+### closeKVStore8+
closeKVStore(appId: string, storeId: string, kvStore: KVStore): Promise<void>
@@ -404,7 +404,7 @@ const options = {
```
-### deleteKVStore8+ ###
+### deleteKVStore8+
deleteKVStore(appId: string, storeId: string, callback: AsyncCallback<void>): void
@@ -447,7 +447,7 @@ try {
}
```
-### deleteKVStore8+ ###
+### deleteKVStore8+
deleteKVStore(appId: string, storeId: string): Promise<void>
@@ -501,7 +501,7 @@ try {
```
-### getAllKVStoreId8+ ###
+### getAllKVStoreId8+
getAllKVStoreId(appId: string, callback: AsyncCallback<string[]>): void
@@ -531,7 +531,7 @@ try {
```
-### getAllKVStoreId8+ ###
+### getAllKVStoreId8+
getAllKVStoreId(appId: string): Promise<string[]>
@@ -570,7 +570,7 @@ try {
```
-### on('distributedDataServiceDie')8+ ###
+### on('distributedDataServiceDie')8+
on(event: 'distributedDataServiceDie', deathCallback: Callback<void>): void
@@ -602,7 +602,7 @@ try {
```
-### off('distributedDataServiceDie')8+ ###
+### off('distributedDataServiceDie')8+
off(event: 'distributedDataServiceDie', deathCallback?: Callback<void>): void
@@ -706,7 +706,7 @@ KVStore常量。
| mode8+ | number | 表示Schema的模式。 |
| skip8+ | number | Schema的跳跃大小。 |
-### constructor8+ ###
+### constructor8+
constructor()
@@ -726,7 +726,7 @@ constructor()
| default8+ | string | 表示Fieldnode的默认值。 |
| type8+ | number | 表示指定节点对应数据类型的值。 |
-### constructor8+ ###
+### constructor8+
constructor(name: string)
@@ -740,7 +740,7 @@ constructor(name: string)
| ------ | -------- | ---- | --------------- |
| name | string | 是 | FieldNode的值。 |
-### appendChild8+ ###
+### appendChild8+
appendChild(child: FieldNode): boolean
@@ -790,7 +790,7 @@ try {
在调用KvStoreResultSet的方法前,需要先通过[getKVStore](#getkvstore)构建一个KVStore实例。
-### getCount8+ ###
+### getCount8+
getCount(): number
@@ -823,7 +823,7 @@ try {
}
```
-### getPosition8+ ###
+### getPosition8+
getPosition(): number
@@ -857,7 +857,7 @@ try {
```
-### moveToFirst8+ ###
+### moveToFirst8+
moveToFirst(): boolean
@@ -891,7 +891,7 @@ try {
```
-### moveToLast8+ ###
+### moveToLast8+
moveToLast(): boolean
@@ -925,7 +925,7 @@ try {
```
-### moveToNext8+ ###
+### moveToNext8+
moveToNext(): boolean
@@ -959,7 +959,7 @@ try {
```
-### moveToPrevious8+ ###
+### moveToPrevious8+
moveToPrevious(): boolean
@@ -993,7 +993,7 @@ try {
```
-### move8+ ###
+### move8+
move(offset: number): boolean
@@ -1033,7 +1033,7 @@ try {
```
-### moveToPosition8+ ###
+### moveToPosition8+
moveToPosition(position: number): boolean
@@ -1073,7 +1073,7 @@ try {
```
-### isFirst8+ ###
+### isFirst8+
isFirst(): boolean
@@ -1107,7 +1107,7 @@ try {
```
-### isLast8+ ###
+### isLast8+
isLast(): boolean
@@ -1140,7 +1140,7 @@ try {
}
```
-### isBeforeFirst8+ ###
+### isBeforeFirst8+
isBeforeFirst(): boolean
@@ -1174,7 +1174,7 @@ try {
```
-### isAfterLast8+ ###
+### isAfterLast8+
isAfterLast(): boolean
@@ -1208,7 +1208,7 @@ try {
```
-### getEntry8+ ###
+### getEntry8+
getEntry(): Entry
@@ -1248,7 +1248,7 @@ try {
**系统能力:** SystemCapability.DistributedDataManager.KVStore.Core
-### constructor8+ ###
+### constructor8+
constructor()
@@ -1257,7 +1257,7 @@ constructor()
**系统能力:** SystemCapability.DistributedDataManager.KVStore.Core
-### reset8+ ###
+### reset8+
reset(): Query
@@ -1288,7 +1288,7 @@ try {
```
-### equalTo8+ ###
+### equalTo8+
equalTo(field: string, value: number|string|boolean): Query
@@ -1323,7 +1323,7 @@ try {
```
-### notEqualTo8+ ###
+### notEqualTo8+
notEqualTo(field: string, value: number|string|boolean): Query
@@ -1358,7 +1358,7 @@ try {
```
-### greaterThan8+ ###
+### greaterThan8+
greaterThan(field: string, value: number|string|boolean): Query
@@ -1393,7 +1393,7 @@ try {
```
-### lessThan8+ ###
+### lessThan8+
lessThan(field: string, value: number|string): Query
@@ -1428,7 +1428,7 @@ try {
```
-### greaterThanOrEqualTo8+ ###
+### greaterThanOrEqualTo8+
greaterThanOrEqualTo(field: string, value: number|string): Query
@@ -1463,7 +1463,7 @@ try {
```
-### lessThanOrEqualTo8+ ###
+### lessThanOrEqualTo8+
lessThanOrEqualTo(field: string, value: number|string): Query
@@ -1498,7 +1498,7 @@ try {
```
-### isNull8+ ###
+### isNull8+
isNull(field: string): Query
@@ -1532,7 +1532,7 @@ try {
```
-### inNumber8+ ###
+### inNumber8+
inNumber(field: string, valueList: number[]): Query
@@ -1568,7 +1568,7 @@ try {
```
-### inString8+ ###
+### inString8+
inString(field: string, valueList: string[]): Query
@@ -1603,7 +1603,7 @@ try {
```
-### notInNumber8+ ###
+### notInNumber8+
notInNumber(field: string, valueList: number[]): Query
@@ -1638,7 +1638,7 @@ try {
```
-### notInString8+ ###
+### notInString8+
notInString(field: string, valueList: string[]): Query
@@ -1673,7 +1673,7 @@ try {
```
-### like8+ ###
+### like8+
like(field: string, value: string): Query
@@ -1708,7 +1708,7 @@ try {
```
-### unlike8+ ###
+### unlike8+
unlike(field: string, value: string): Query
@@ -1743,7 +1743,7 @@ try {
```
-### and8+ ###
+### and8+
and(): Query
@@ -1773,7 +1773,7 @@ try {
```
-### or8+ ###
+### or8+
or(): Query
@@ -1803,7 +1803,7 @@ try {
```
-### orderByAsc8+ ###
+### orderByAsc8+
orderByAsc(field: string): Query
@@ -1838,7 +1838,7 @@ try {
```
-### orderByDesc8+ ###
+### orderByDesc8+
orderByDesc(field: string): Query
@@ -1873,7 +1873,7 @@ try {
```
-### limit8+ ###
+### limit8+
limit(total: number, offset: number): Query
@@ -1911,7 +1911,7 @@ try {
```
-### isNotNull8+ ###
+### isNotNull8+
isNotNull(field: string): Query
@@ -1945,7 +1945,7 @@ try {
```
-### beginGroup8+ ###
+### beginGroup8+
beginGroup(): Query
@@ -1975,7 +1975,7 @@ try {
```
-### endGroup8+ ###
+### endGroup8+
endGroup(): Query
@@ -2005,7 +2005,7 @@ try {
```
-### prefixKey8+ ###
+### prefixKey8+
prefixKey(prefix: string): Query
@@ -2040,7 +2040,7 @@ try {
```
-### setSuggestIndex8+ ###
+### setSuggestIndex8+
setSuggestIndex(index: string): Query
@@ -2075,7 +2075,7 @@ try {
```
-### deviceId8+ ###
+### deviceId8+
deviceId(deviceId:string):Query
@@ -2109,7 +2109,7 @@ try {
```
-### getSqlLike8+ ###
+### getSqlLike8+
getSqlLike():string
@@ -2303,7 +2303,9 @@ try {
delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<void>)
-从数据库中删除符合predicates条件的键值对,并通过callback方式返回,此方法为异步方法。
+从数据库中删除符合predicates条件的键值对,使用callback异步回调。
+
+**系统接口:** 此接口为系统接口。
**系统能力:** SystemCapability.DistributedDataManager.KVStore.Core
@@ -2337,7 +2339,9 @@ try {
delete(predicates: dataSharePredicates.DataSharePredicates): Promise<void>
-从数据库中删除符合predicates条件的键值对,并通过Promise方式返回,此方法为异步方法。
+从数据库中删除符合predicates条件的键值对,使用Promise异步回调。
+
+**系统接口:** 此接口为系统接口。
**系统能力:** SystemCapability.DistributedDataManager.KVStore.Core
@@ -2352,7 +2356,7 @@ delete(predicates: dataSharePredicates.DataSharePredicates): Promise<void>
| 类型 | 说明 |
| ------ | ------- |
-| Promise<void> |Promise实例,用于异步处理。|
+| Promise<void> |无返回结果的Promise对象。|
**示例:**
@@ -2820,7 +2824,9 @@ try {
putBatch(value: Array<ValuesBucket>, callback: AsyncCallback<void>): void
-将值写入KvStore数据库,并通过callback方式返回,此方法为异步方法。
+将值写入KvStore数据库,使用callback异步回调。
+
+**系统接口:** 此接口为系统接口。
**系统能力:** SystemCapability.DistributedDataManager.KVStore.Core
@@ -2859,7 +2865,9 @@ try {
putBatch(value: Array<ValuesBucket>): Promise<void>
-将valuesbucket类型的值写入KvStore数据库,并通过Promise方式返回,此方法为异步方法。
+将valuesbucket类型的值写入KvStore数据库,使用Promise异步回调。
+
+**系统接口:** 此接口为系统接口。
**系统能力:** SystemCapability.DistributedDataManager.KVStore.Core
@@ -2873,7 +2881,7 @@ putBatch(value: Array<ValuesBucket>): Promise<void>
| 类型 | 说明 |
| ------ | ------- |
-| Promise<void> |Promise实例,用于异步处理。|
+| Promise<void> |五返回结果的Promise对象。|
**示例:**
@@ -2947,7 +2955,7 @@ try {
```
-### deleteBatch8+ ###
+### deleteBatch8+
deleteBatch(keys: string[]): Promise<void>
@@ -3003,7 +3011,7 @@ try {
```
-### startTransaction8+ ###
+### startTransaction8+
startTransaction(callback: AsyncCallback<void>): void
@@ -3055,7 +3063,7 @@ try {
```
-### startTransaction8+ ###
+### startTransaction8+
startTransaction(): Promise<void>
@@ -3090,7 +3098,7 @@ try {
```
-### commit8+ ###
+### commit8+
commit(callback: AsyncCallback<void>): void
@@ -3122,7 +3130,7 @@ try {
```
-### commit8+ ###
+### commit8+
commit(): Promise<void>
@@ -3152,7 +3160,7 @@ try {
```
-### rollback8+ ###
+### rollback8+
rollback(callback: AsyncCallback<void>): void
@@ -3184,7 +3192,7 @@ try {
```
-### rollback8+ ###
+### rollback8+
rollback(): Promise<void>
@@ -3214,7 +3222,7 @@ try {
```
-### enableSync8+ ###
+### enableSync8+
enableSync(enabled: boolean, callback: AsyncCallback<void>): void
@@ -3247,7 +3255,7 @@ try {
```
-### enableSync8+ ###
+### enableSync8+
enableSync(enabled: boolean): Promise<void>
@@ -3283,7 +3291,7 @@ try {
```
-### setSyncRange8+ ###
+### setSyncRange8+
setSyncRange(localLabels: string[], remoteSupportLabels: string[], callback: AsyncCallback<void>): void
@@ -3315,7 +3323,7 @@ try {
```
-### setSyncRange8+ ###
+### setSyncRange8+
setSyncRange(localLabels: string[], remoteSupportLabels: string[]): Promise<void>
@@ -3507,7 +3515,7 @@ try {
}
```
-### getEntries8+ ###
+### getEntries8+
getEntries(keyPrefix: string, callback: AsyncCallback<Entry[]>): void
@@ -3553,7 +3561,7 @@ try {
```
-### getEntries8+ ###
+### getEntries8+
getEntries(keyPrefix: string): Promise<Entry[]>
@@ -3611,7 +3619,7 @@ try {
```
-### getEntries8+ ###
+### getEntries8+
getEntries(query: Query, callback: AsyncCallback<Entry[]>): void
@@ -3662,7 +3670,7 @@ try {
```
-### getEntries8+ ###
+### getEntries8+
getEntries(query: Query): Promise<Entry[]>
@@ -3720,7 +3728,7 @@ try {
```
-### getResultSet8+ ###
+### getResultSet8+
getResultSet(keyPrefix: string, callback: AsyncCallback<KvStoreResultSet>): void
@@ -3769,7 +3777,7 @@ try {
```
-### getResultSet8+ ###
+### getResultSet8+
getResultSet(keyPrefix: string): Promise<KvStoreResultSet>
@@ -3829,7 +3837,7 @@ try {
```
-### getResultSet8+ ###
+### getResultSet8+
getResultSet(query: Query, callback: AsyncCallback<KvStoreResultSet>): void
@@ -3877,7 +3885,7 @@ try {
```
-### getResultSet8+ ###
+### getResultSet8+
getResultSet(query: Query): Promise<KvStoreResultSet>
@@ -3933,11 +3941,13 @@ try {
}
```
-### getResultSet9+ ###
+### getResultSet9+
getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<KvStoreResultSet>): void
-获取与指定Predicate对象匹配的KvStoreResultSet对象,并通过callback方式返回,此方法为异步方法。
+获取与指定Predicate对象匹配的KvStoreResultSet对象,使用callback异步回调。
+
+**系统接口:** 此接口为系统接口。
**系统能力:** SystemCapability.DistributedDataManager.KVStore.Core
@@ -3968,11 +3978,13 @@ try {
console.log('An unexpected error occurred. Error:' + e);
}
```
-### getResultSet9+ ###
+### getResultSet9+
getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise<KvStoreResultSet>
-获取与指定Predicate对象匹配的KvStoreResultSet对象,并通过Promise方式返回,此方法为异步方法。
+获取与指定Predicate对象匹配的KvStoreResultSet对象,使用Promise异步回调。
+
+**系统接口:** 此接口为系统接口。
**系统能力:** SystemCapability.DistributedDataManager.KVStore.Core
@@ -3986,7 +3998,7 @@ getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise<Kv
| 类型 | 说明 |
| ------ | ------- |
-|Promise<[KvStoreResultSet](#kvstoreresultset8)> |Promise实例,用于获取异步返回结果。|
+|Promise<[KvStoreResultSet](#kvstoreresultset8)> |无返回结果的Promise对象。|
**示例:**
@@ -4008,7 +4020,7 @@ try {
console.log('An unexpected error occurred. Error:' + e);
}
```
-### closeResultSet8+ ###
+### closeResultSet8+
closeResultSet(resultSet: KvStoreResultSet, callback: AsyncCallback<void>): void
@@ -4042,7 +4054,7 @@ try {
```
-### closeResultSet8+ ###
+### closeResultSet8+
closeResultSet(resultSet: KvStoreResultSet): Promise<void>
@@ -4079,7 +4091,7 @@ try {
```
-### getResultSize8+ ###
+### getResultSize8+
getResultSize(query: Query, callback: AsyncCallback<number>): void
@@ -4125,7 +4137,7 @@ try {
```
-### getResultSize8+ ###
+### getResultSize8+
getResultSize(query: Query): Promise<number>
@@ -4180,7 +4192,7 @@ try {
```
-### removeDeviceData8+ ###
+### removeDeviceData8+
removeDeviceData(deviceId: string, callback: AsyncCallback<void>): void
@@ -4222,7 +4234,7 @@ try {
```
-### removeDeviceData8+ ###
+### removeDeviceData8+
removeDeviceData(deviceId: string): Promise<void>
@@ -4271,7 +4283,7 @@ try {
```
-### on('syncComplete')8+ ###
+### on('syncComplete')8+
on(event: 'syncComplete', syncCallback: Callback<Array<[string, number]>>): void
@@ -4307,7 +4319,7 @@ try {
```
-### off('syncComplete')8+ ###
+### off('syncComplete')8+
off(event: 'syncComplete', syncCallback?: Callback<Array<[string, number]>>): void
@@ -4343,7 +4355,7 @@ class KvstoreModel {
}
```
-### on('dataChange')9+ ###
+### on('dataChange')9+
on(event: 'dataChange', type: SubscribeType, listener: Callback<ChangeNotification>): void
@@ -4369,7 +4381,7 @@ kvStore.on('dataChange', distributedData.SubscribeType.SUBSCRIBE_TYPE_LOCAL, fun
```
-### off('dataChange')9+ ###
+### off('dataChange')9+
off(event:'dataChange', listener?: Callback<ChangeNotification>): void
@@ -4472,7 +4484,7 @@ try {
}
```
-### setSyncParam8+ ###
+### setSyncParam8+
setSyncParam(defaultAllowedDelayMs: number, callback: AsyncCallback<void>): void
@@ -4502,7 +4514,7 @@ try {
```
-### setSyncParam8+ ###
+### setSyncParam8+
setSyncParam(defaultAllowedDelayMs: number): Promise<void>
@@ -4540,7 +4552,7 @@ try {
```
-### getSecurityLevel8+ ###
+### getSecurityLevel8+
getSecurityLevel(callback: AsyncCallback<SecurityLevel>): void
@@ -4568,7 +4580,7 @@ try {
```
-### getSecurityLevel8+ ###
+### getSecurityLevel8+
getSecurityLevel(): Promise<SecurityLevel>
@@ -4608,7 +4620,7 @@ try {
在调用DeviceKVStore的方法前,需要先通过[getKVStore](#getkvstore)构建一个DeviceKVStore实例。
-### get8+ ###
+### get8+
get(deviceId: string, key: string, callback: AsyncCallback<boolean|string|number|Uint8Array>): void
@@ -4643,7 +4655,7 @@ try{
```
-### get8+ ###
+### get8+
get(deviceId: string, key: string): Promise<boolean|string|number|Uint8Array>
@@ -4687,7 +4699,7 @@ try {
```
-### getEntries8+ ###
+### getEntries8+
getEntries(deviceId: string, keyPrefix: string, callback: AsyncCallback<Entry[]>): void
@@ -4735,7 +4747,7 @@ try {
```
-### getEntries8+ ###
+### getEntries8+
getEntries(deviceId: string, keyPrefix: string): Promise<Entry[]>
@@ -4794,7 +4806,7 @@ try {
```
-### getEntries8+ ###
+### getEntries8+
getEntries(query: Query, callback: AsyncCallback<Entry[]>): void
@@ -4846,7 +4858,7 @@ try {
```
-### getEntries8+ ###
+### getEntries8+
getEntries(query: Query): Promise<Entry[]>
@@ -4904,7 +4916,7 @@ try {
```
-### getEntries8+ ###
+### getEntries8+
getEntries(deviceId: string, query: Query, callback: AsyncCallback<Entry[]>): void
@@ -4957,7 +4969,7 @@ try {
```
-### getEntries8+ ###
+### getEntries8+
getEntries(deviceId: string, query: Query): Promise<Entry[]>
@@ -5017,7 +5029,7 @@ try {
```
-### getResultSet8+ ###
+### getResultSet8+
getResultSet(deviceId: string, keyPrefix: string, callback: AsyncCallback<KvStoreResultSet>): void
@@ -5052,7 +5064,7 @@ try {
```
-### getResultSet8+ ###
+### getResultSet8+
getResultSet(deviceId: string, keyPrefix: string): Promise<KvStoreResultSet>
@@ -5096,7 +5108,7 @@ try {
```
-### getResultSet8+ ###
+### getResultSet8+
getResultSet(query: Query, callback: AsyncCallback<KvStoreResultSet>): void
@@ -5148,7 +5160,7 @@ try {
```
-### getResultSet8+ ###
+### getResultSet8+
getResultSet(query: Query): Promise<KvStoreResultSet>
@@ -5212,7 +5224,7 @@ try {
```
-### getResultSet8+ ###
+### getResultSet8+
getResultSet(deviceId: string, query: Query, callback: AsyncCallback<KvStoreResultSet>): void
@@ -5264,7 +5276,7 @@ try {
```
-### getResultSet8+ ###
+### getResultSet8+
getResultSet(deviceId: string, query: Query): Promise<KvStoreResultSet>
@@ -5330,7 +5342,7 @@ try {
```
-### closeResultSet8+ ###
+### closeResultSet8+
closeResultSet(resultSet: KvStoreResultSet, callback: AsyncCallback<void>): void
@@ -5365,7 +5377,7 @@ try {
```
-### closeResultSet8+ ###
+### closeResultSet8+
closeResultSet(resultSet: KvStoreResultSet): Promise<void>
@@ -5403,7 +5415,7 @@ try {
```
-### getResultSize8+ ###
+### getResultSize8+
getResultSize(query: Query, callback: AsyncCallback<number>): void
@@ -5450,7 +5462,7 @@ try {
```
-### getResultSize8+ ###
+### getResultSize8+
getResultSize(query: Query): Promise<number>
@@ -5506,7 +5518,7 @@ try {
```
-### getResultSize8+ ###
+### getResultSize8+
getResultSize(deviceId: string, query: Query, callback: AsyncCallback<number>): void;
@@ -5553,7 +5565,7 @@ try {
```
-### getResultSize8+ ###
+### getResultSize8+
getResultSize(deviceId: string, query: Query): Promise<number>
@@ -5609,7 +5621,7 @@ try {
```
-### removeDeviceData8+ ###
+### removeDeviceData8+
removeDeviceData(deviceId: string, callback: AsyncCallback<void>): void
@@ -5651,7 +5663,7 @@ try {
```
-### removeDeviceData8+ ###
+### removeDeviceData8+
removeDeviceData(deviceId: string): Promise<void>
@@ -5700,7 +5712,7 @@ try {
```
-### sync8+ ###
+### sync8+
sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void
@@ -5739,7 +5751,7 @@ try {
}
```
-### sync9+ ###
+### sync9+
sync(deviceIds: string[], query: Query, mode: SyncMode, delayMs?: number): void
@@ -5781,7 +5793,7 @@ try {
}
```
-### on('syncComplete')8+ ###
+### on('syncComplete')8+
on(event: 'syncComplete', syncCallback: Callback<Array<[string, number]>>): void
@@ -5817,7 +5829,7 @@ try {
```
-### off('syncComplete')8+ ###
+### off('syncComplete')8+
off(event: 'syncComplete', syncCallback?: Callback<Array<[string, number]>>): void
@@ -5853,7 +5865,7 @@ class KvstoreModel {
}
```
-### on('dataChange')9+ ###
+### on('dataChange')9+
on(event: 'dataChange', type: SubscribeType, listener: Callback<ChangeNotification>): void
@@ -5879,7 +5891,7 @@ kvStore.on('dataChange', distributedData.SubscribeType.SUBSCRIBE_TYPE_LOCAL, fun
```
-### off('dataChange')9+ ###
+### off('dataChange')9+
off(event:'dataChange', listener?: Callback<ChangeNotification>): void
diff --git a/zh-cn/application-dev/reference/apis/js-apis-media.md b/zh-cn/application-dev/reference/apis/js-apis-media.md
index 6ed3b45b7285643185fcc865c386d07c59cc2c3c..42dc22c97430167f38c6fa6331793895beef28f2 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-media.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-media.md
@@ -2004,7 +2004,7 @@ eventEmitter.on('prepare', () => {
});
media.createVideoRecorder((err, recorder) => {
- if (err == null && recorder) != null) {
+ if (err == null && recorder != null) {
videoRecorder = recorder;
console.info('createVideoRecorder success');
eventEmitter.emit('prepare'); // prepare事件触发
diff --git a/zh-cn/application-dev/security/accesstoken-guidelines.md b/zh-cn/application-dev/security/accesstoken-guidelines.md
index 83c6cb1f68d6ef7d1ca1db66d229d1dfa321f36b..34e19100ed0fd8ba1e5378ae5a801cfabef74611 100644
--- a/zh-cn/application-dev/security/accesstoken-guidelines.md
+++ b/zh-cn/application-dev/security/accesstoken-guidelines.md
@@ -171,5 +171,5 @@
针对访问控制,有以下相关实例可供参考:
-- [`AbilityAccessCtrl`:访问权限控制(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Safety/AbilityAccessCtrl)
+- [`AbilityAccessCtrl`:访问权限控制(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/Safety/AbilityAccessCtrl)
- [为应用添加运行时权限(eTS)(API 9)](https://gitee.com/openharmony/codelabs/tree/master/Ability/AccessPermission)
\ No newline at end of file
diff --git a/zh-cn/application-dev/telephony/cellular-network-signal-info.md b/zh-cn/application-dev/telephony/cellular-network-signal-info.md
index 90d9087aae3b0995ccb86a35149449217f2a7854..8c308e38578da07e19b7fe129fa0af7f47db0ca4 100644
--- a/zh-cn/application-dev/telephony/cellular-network-signal-info.md
+++ b/zh-cn/application-dev/telephony/cellular-network-signal-info.md
@@ -53,4 +53,4 @@ radio模块提供了获取当前网络信号信息的方法。observer模块为
## 相关实例
针对蜂窝网络数据开发,有以下相关实例可供参考:
-- [`MobileNetwork`:蜂窝数据(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/Telephony/MobileNetwork)
\ No newline at end of file
+- [`MobileNetwork`:蜂窝数据(eTS)(API9)](https://gitee.com/openharmony/applications_app_samples/tree/master/Telephony/MobileNetwork)
\ No newline at end of file
diff --git a/zh-cn/application-dev/webgl/webgl-guidelines.md b/zh-cn/application-dev/webgl/webgl-guidelines.md
index 972237b3ea2fd222b9cd1b9e1ed8c43ca48488cd..69ae4645ce51af1eb43bc6c90caad7c7ff264ee7 100644
--- a/zh-cn/application-dev/webgl/webgl-guidelines.md
+++ b/zh-cn/application-dev/webgl/webgl-guidelines.md
@@ -64,7 +64,7 @@ WebGL主要帮助开发者在前端开发中完成图形图像的相关处理,
3. 编辑JavaScript代码文件,增加2D绘制逻辑代码。index.js示例如下:
```
- //index.js
+ // index.js
export default {//NAPI交互代码
data: {
title: "DEMO BY TEAMOL",
@@ -80,7 +80,7 @@ WebGL主要帮助开发者在前端开发中完成图形图像的相关处理,
// 获取2D上下文
const ctx = canvas.getContext('2d');
- //执行CPU绘制函数
+ // 执行CPU绘制函数
// Set line width
ctx.lineWidth = 10;
// Wall
@@ -135,9 +135,9 @@ WebGL主要帮助开发者在前端开发中完成图形图像的相关处理,
3. 编辑JavaScript代码文件,增加彩色三角形绘制逻辑代码。index.js示例如下:
```
- //index.js
+ // index.js
- //WebGL相关预定义
+ // WebGL相关预定义
var gl = {
DEPTH_BUFFER_BIT: 0x00000100,
STENCIL_BUFFER_BIT: 0x00000400,
@@ -515,7 +515,7 @@ WebGL主要帮助开发者在前端开发中完成图形图像的相关处理,
// 向缓冲区对象写入数据
gl.bufferData(gl.ARRAY_BUFFER, verticesColors.buffer, gl.STATIC_DRAW);
- //获取着色器中attribute变量a_Position的地址
+ // 获取着色器中attribute变量a_Position的地址
var a_Position = gl.getAttribLocation(gl.program, 'a_Position');
if (a_Position < 0) {
console.log('Failed to get the storage location of a_Position');
@@ -527,7 +527,7 @@ WebGL主要帮助开发者在前端开发中完成图形图像的相关处理,
// 连接a_Position变量与分配给它的缓冲区对象
gl.enableVertexAttribArray(a_Position);
- //获取着色器中attribute变量a_Color的地址
+ // 获取着色器中attribute变量a_Color的地址
var a_Color = gl.getAttribLocation(gl.program, 'a_Color');
if (a_Color < 0) {
console.log('Failed to get the storage location of a_Color');
@@ -704,4 +704,4 @@ WebGL主要帮助开发者在前端开发中完成图形图像的相关处理,
针对WebGL开发,有以下相关实例可供参考:
-- [`JsWbgGL`:WebGL(JS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Graphics/JsWebGL)
+- [`JsWbgGL`:WebGL(JS)(API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/Graphics/JsWebGL)
\ No newline at end of file
diff --git a/zh-cn/application-dev/windowmanager/application-window-stage.md b/zh-cn/application-dev/windowmanager/application-window-stage.md
index 71cd0a18ee0e082b3136cda549be1c9feb89cd36..3fb2397711d5b0fe3e26c6e02241b31af37b6923 100644
--- a/zh-cn/application-dev/windowmanager/application-window-stage.md
+++ b/zh-cn/application-dev/windowmanager/application-window-stage.md
@@ -404,3 +404,7 @@ class MainAbility extends Ability {
}
};
```
+## 相关实例
+
+针对window开发(Stage模型),有以下相关实例可供参考:
+- [`Window`:窗口(eTS)(API9)](https://gitee.com/openharmony/applications_app_samples/tree/master/Graphics/Window)
\ No newline at end of file
diff --git a/zh-cn/application-dev/windowmanager/display-guidelines.md b/zh-cn/application-dev/windowmanager/display-guidelines.md
index b6bfaa63d306396da1d91d16048d4277de21c6ff..98ff63601358f7894896925295df2a90600c6663 100644
--- a/zh-cn/application-dev/windowmanager/display-guidelines.md
+++ b/zh-cn/application-dev/windowmanager/display-guidelines.md
@@ -23,5 +23,5 @@ display.getDefaultDisplay().then((disp) => {
```
## 相关实例
针对屏幕属性开发,有以下相关实例可供参考:
-- [`Screen`:屏幕属性(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/device/Screen)
+- [`Screen`:屏幕属性(eTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/device/Screen)
diff --git a/zh-cn/application-dev/windowmanager/screenshot-guidelines.md b/zh-cn/application-dev/windowmanager/screenshot-guidelines.md
index 443921c936adaefc3d9b4252d6e73c1b5600c559..cc27b62c6536f274e3657d65e140cfdc6aa224d7 100644
--- a/zh-cn/application-dev/windowmanager/screenshot-guidelines.md
+++ b/zh-cn/application-dev/windowmanager/screenshot-guidelines.md
@@ -37,5 +37,5 @@ screenshot.save(ScreenshotOptions).then((image) => {
```
## 相关实例
针对屏幕截图开发,有以下相关实例可供参考:
-- [`Screenshot`:屏幕截图(eTS)(API9)](https://gitee.com/openharmony/app_samples/tree/master/Basic/Screenshot)
+- [`Screenshot`:屏幕截图(eTS)(API9)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/Basic/Screenshot)
diff --git a/zh-cn/device-dev/subsystems/subsys-build-syscap.md b/zh-cn/device-dev/subsystems/subsys-build-syscap.md
index 1e1cc9e41e601781a1c604246a80ccb958391894..ab7228fef270becca644264ed1c5f4eae356b489 100644
--- a/zh-cn/device-dev/subsystems/subsys-build-syscap.md
+++ b/zh-cn/device-dev/subsystems/subsys-build-syscap.md
@@ -1,5 +1,5 @@
# 如何按需配置部件的系统能力
-系统能力即SystemCapability,又称syscap,是部件向开发者提供的接口的集合。
+SysCap(SystemCapability,系统能力)是部件向开发者提供的接口的集合。
## 部件配置系统能力
部件配置系统能力是为了方便某个特定部件是否要打开或关闭特定的系统能力。
@@ -20,11 +20,11 @@
}
```
-在component下加入syscap这一关键字,内部配置相应的系统能力,系统能力若无赋值,则默认为true,若有赋值,则按实际值为准。若值为true,则表示该部件默认开启此系统能力,若值为false,则表明该部件默认关闭此系统能力。
+在component下加入关键字syscap,对内部配置相应的系统能力。系统能力若无赋值,则默认为true,若有赋值,则按实际值为准。若值为true,则表示该部件默认开启此系统能力,若值为false,则表明该部件默认关闭此系统能力。
以上配置表明,WIFI的STA、AP、和HotspotExt三个系统能力是打开的,而P2P和Core是关闭的。
## 产品配置系统能力
-产品配置系统能力是为了方便某个特定产品是否要打开或关闭特定的系统能力,若无配置,则以部件侧的配置为准,产品配置系统能力的位置在vender/{company}/{product}/config.json。
+产品配置系统能力是为了方便某个特定产品是否要打开或关闭特定的系统能力,若无配置,则以部件侧的配置为准,产品配置系统能力的位置在vender/{company}/{product}/config.json。
如果要对产品的系统能力进行精细化配置,可在产品配置中加入syscap关键字,并对要配置的系统能力赋值。产品侧的配置优先级大于部件系统能力默认配置,若某一个系统能力在部件侧默认配置为false,在产品侧配置为true,则这个系统能力的最终配置为true。示例如下:
```json