diff --git a/CODEOWNERS b/CODEOWNERS
index 1ed8df9c84d62c2b07825d96890731c095ed11a7..2cc43b65e4e8ed2079838a54d1f7a375d9daec51 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -407,7 +407,7 @@ zh-cn/application-dev/reference/apis/js-apis-prompt.md @huaweimaxuchu @HelloCrea
zh-cn/application-dev/reference/apis/js-apis-queue.md @gongjunsong @ge-yafang @flyingwolf @BlackStone
zh-cn/application-dev/reference/apis/js-apis-radio.md @zhang-hai-feng @zengyawen @jyh926 @gaoxi785
zh-cn/application-dev/reference/apis/js-apis-reminderAgent.md @jayleehw @RayShih @li-weifeng2 @currydavids
-zh-cn/application-dev/reference/apis/js-apis-request.md @feng-aiwen @zengyawen @nagexiucai @murphy1984
+zh-cn/application-dev/reference/apis/js-apis-request.md @feng-aiwen @ningningW @nagexiucai @murphy1984
zh-cn/application-dev/reference/apis/js-apis-resource-manager.md @Buda-Liu @ningningW @budda-wang @yangqing3
zh-cn/application-dev/reference/apis/js-apis-router.md @huaweimaxuchu @HelloCrease @niulihua @tomatodevboy
zh-cn/application-dev/reference/apis/js-apis-rpc.md @xuepianpian @RayShih @zhaopeng_gitee @vagrant_world
@@ -589,7 +589,7 @@ zh-cn/application-dev/reference/errorcodes/errorcode-power.md @zengyawen
zh-cn/application-dev/reference/errorcodes/errorcode-preferences.md @ge-yafang
zh-cn/application-dev/reference/errorcodes/errorcode-promptAction.md @HelloCrease
zh-cn/application-dev/reference/errorcodes/errorcode-reminderAgentManager.md @ningningW
-zh-cn/application-dev/reference/errorcodes/errorcode-request.md @zengyawen
+zh-cn/application-dev/reference/errorcodes/errorcode-request.md @ningningW
zh-cn/application-dev/reference/errorcodes/errorcode-resource-manager.md @ningningW
zh-cn/application-dev/reference/errorcodes/errorcode-router.md @HelloCrease
zh-cn/application-dev/reference/errorcodes/errorcode-rpc.md @RayShih
diff --git a/en/application-dev/application-test/Readme.md b/en/application-dev/application-test/Readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..7d465c149d73288be0687b15269152b743509432
--- /dev/null
+++ b/en/application-dev/application-test/Readme.md
@@ -0,0 +1,6 @@
+# Application Test
+
+- [arkXtest User Guide](arkxtest-guidelines.md)
+- [SmartPerf User Guide](smartperf-guidelines.md)
+- [wukong User Guide](wukong-guidelines.md)
+
diff --git a/en/application-dev/application-test/arkxtest-guidelines.md b/en/application-dev/application-test/arkxtest-guidelines.md
new file mode 100644
index 0000000000000000000000000000000000000000..ce7a28154635b724d127a50af801c74f84607402
--- /dev/null
+++ b/en/application-dev/application-test/arkxtest-guidelines.md
@@ -0,0 +1,270 @@
+# arkXtest User Guide
+
+
+## Overview
+
+To accelerate test automation of OpenHarmony, arkXtest — an automated test framework that supports both the JavaScript (JS) and TypeScript (TS) programming languages — is provided.
+
+In this document you will learn about the key functions of arkXtest and how to use it to perform unit testing on application or system APIs and to write UI automated test scripts.
+
+
+### Introduction
+
+arkXtest is part of the OpenHarmony toolkit and provides basic capabilities of writing and running OpenHarmony automated test scripts. In terms of test script writing, arkXtest offers a wide range of APIs, including basic process APIs, assertion APIs, and APIs related to UI operations. In terms of test script running, arkXtest offers such features as identifying, scheduling, and executing test scripts, as well as summarizing test script execution results.
+
+
+### Principles
+
+arkXtest is divided into two parts: unit test framework and UI test framework.
+
+- Unit Test Framework
+
+ As the backbone of arkXtest, the unit test framework offers such features as identifying, scheduling, and executing test scripts, as well as summarizing test script execution results. The figure below shows the main functions of the unit test framework.
+
+ 
+
+ The following figure shows the basic unit test process. To start the unit test framework, run the **aa test** command.
+
+ 
+
+- UI Testing Framework
+
+ The UI test framework provides [UiTest APIs](../reference/apis/js-apis-uitest.md) for you to call in different test scenarios. The test scripts are executed on top of the unit test framework mentioned above.
+
+ The figure below shows the main functions of the UI test framework.
+
+ 
+
+
+### Limitations and Constraints
+
+- The features of the UI test framework are available only in OpenHarmony 3.1 and later versions.
+- The feature availability of the unit test framework varies by version. For details about the mappings between the features and versions, see [arkXtest](https://gitee.com/openharmony/testfwk_arkxtest/blob/master/README_en.md).
+
+
+## Environment preparations
+
+### Environment Requirements
+
+Software for writing test scripts: DevEco Studio 3.0 or later
+
+Hardware for running test scripts: PC connected to a OpenHarmony device, such as the RK3568 development board
+
+### Setting Up the Environment
+
+[Download DevEco Studio](https://developer.harmonyos.com/cn/develop/deveco-studio#download) and set it up as instructed on the official website.
+
+
+## Creating a Test Script
+
+1. Open DevEco Studio and create a project, where the **ohos** directory is where the test script is located.
+2. Open the .ets file of the module to be tested in the project directory. Move the cursor to any position in the code, and then right-click and choose **Show Context Actions** > **Create Ohos Test** or press **Alt+Enter** and choose **Create Ohos Test** to create a test class.
+
+## Writing a Unit Test Script
+
+```TS
+import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
+import abilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
+
+const delegator = abilityDelegatorRegistry.getAbilityDelegator()
+export default function abilityTest() {
+ describe('ActsAbilityTest', function () {
+ it('testUiExample',0, async function (done) {
+ console.info("uitest: TestUiExample begin");
+ //start tested ability
+ await delegator.executeShellCommand('aa start -b com.ohos.uitest -a MainAbility').then(result =>{
+ console.info('Uitest, start ability finished:' + result)
+ }).catch(err => {
+ console.info('Uitest, start ability failed: ' + err)
+ })
+ await sleep(1000);
+ //check top display ability
+ await delegator.getCurrentTopAbility().then((Ability)=>{
+ console.info("get top ability");
+ expect(Ability.context.abilityInfo.name).assertEqual('MainAbility');
+ })
+ done();
+ })
+
+ function sleep(time) {
+ return new Promise((resolve) => setTimeout(resolve, time));
+ }
+ })
+}
+```
+
+The unit test script must contain the following basic elements:
+
+1. Import of the dependency package so that the dependent test APIs can be used.
+
+2. Test code, mainly about the related logic, such as API invoking.
+
+3. Invoking of the assertion APIs and setting of checkpoints. If there is no checkpoint, the test script is considered as incomplete.
+
+## Writing a UI Test Script
+
+You write a UI test script based on the unit test framework, adding the invoking of APIs provided by the UI test framework to implement the corresponding test logic.
+
+In this example, the UI test script is written based on the preceding unit test script. First, add the dependency package, as shown below:
+
+```js
+import {UiDriver,BY,UiComponent,MatchPattern} from '@ohos.uitest'
+```
+
+Then, write specific test code. Specifically, implement the click action on the started application page and add checkpoint check cases.
+
+```js
+export default function abilityTest() {
+ describe('ActsAbilityTest', function () {
+ it('testUiExample',0, async function (done) {
+ console.info("uitest: TestUiExample begin");
+ //start tested ability
+ await delegator.executeShellCommand('aa start -b com.ohos.uitest -a MainAbility').then(result =>{
+ console.info('Uitest, start ability finished:' + result)
+ }).catch(err => {
+ console.info('Uitest, start ability failed: ' + err)
+ })
+ await sleep(1000);
+ //check top display ability
+ await delegator.getCurrentTopAbility().then((Ability)=>{
+ console.info("get top ability");
+ expect(Ability.context.abilityInfo.name).assertEqual('MainAbility');
+ })
+ //ui test code
+ //init uidriver
+ var driver = await UiDriver.create();
+ await driver.delayMs(1000);
+ //find button by text 'Next'
+ var button = await driver.findComponent(BY.text('Next'));
+ //click button
+ await button.click();
+ await driver.delayMs(1000);
+ //check text
+ await driver.assertComponentExist(BY.text('after click'));
+ await driver.pressBack();
+ done();
+ })
+
+ function sleep(time) {
+ return new Promise((resolve) => setTimeout(resolve, time));
+ }
+ })
+}
+```
+
+## Running the Test Script
+
+You can run a test script in DevEco Studio in any of the following modes:
+
+- Test package level: All test cases in the test package are executed.
+- Test suite level: All test cases defined in the **describe** method are executed.
+- Test method level: The specified **it** method, that is, a single test case, is executed.
+
+
+
+## Viewing the Test Result
+
+After the test is complete, you can view the test result in DevEco Studio, as shown in the following figure.
+
+
+
+## FAQs
+
+### FAQs About Unit Test Cases
+
+#### The logs in the test case are printed after the test case result
+
+**Problem**
+
+The logs added to the test case are displayed after the test case execution, rather than during the test case execution.
+
+**Possible Causes**
+
+More than one asynchronous interface is called in the test case. In principle, logs in the test case are printed before the test case execution is complete.
+
+ **Solution**
+
+If more than one asynchronous interface is called, you are advised to encapsulate the interface invoking into the promise mode
+
+#### Error "fail to start ability" is reported during test case execution
+
+**Problem**
+
+When a test case is executed, the console returns the error message "fail to start ability".
+
+**Possible Causes**
+
+An error occurs during the packaging of the test package, and the test framework dependency file is not included in the test package.
+
+**Solution**
+
+Check whether the test package contains the **OpenHarmonyTestRunner.abc** file. If the file does not exist, rebuild and pack the file and perform the test again.
+
+#### Test case execution timeout
+
+**Problem**
+
+After the test case execution is complete, the console displays the error message "execute time XXms", indicating that the case execution times out.
+
+**Possible Causes**
+
+1. The test case is executed through an asynchronous interface, but the **done** function is not executed during the execution. As a result, the test case execution does not end until it times out.
+2. The time taken for API invocation is longer than the timeout interval set for test case execution.
+
+**Solution**
+
+1. Check the code logic of the test case to ensure that the **done** function is executed even if the assertion fails.
+
+2. Modify the case execution timeout settings under **Run/Debug Configurations** in DevEco Studio.
+
+### FAQs About UI Test Cases
+
+#### The failure log contains "Get windows failed/GetRootByWindow failed"
+
+**Problem**
+
+The UI test case fails to be executed. The HiLog file contains the error message "Get windows failed/GetRootByWindow failed".
+
+**Possible Causes**
+
+The ArkUI feature is disabled. As a result, the control tree information on the test page is not generated.
+
+**Solution**
+
+Run the following command, restart the device, and execute the test case again:
+
+```shell
+hdc shell param set persist.ace.testmode.enabled 1
+```
+
+#### The failure log contains "uitest-api dose not allow calling concurrently"
+
+**Problem**
+
+The UI test case fails to be executed. The HiLog file contains the error message "uitest-api dose not allow calling concurrently".
+
+**Possible Causes**
+
+1. In the test case, the **await** operator is not added to the asynchronous interface provided by the UI test framework.
+
+2. The UI test case is executed in multiple processes. As a result, multiple UI test processes are started. The framework does not support multi-process invoking.
+
+**Solution**
+
+1. Check the case implementation and add the **await** operator to the asynchronous interface invoking.
+
+2. Do not execute UI test cases in multiple processes.
+
+#### The failure log contains "dose not exist on current UI! Check if the UI has changed after you got the widget object"
+
+**Problem**
+
+The UI test case fails to be executed. The HiLog file contains the error message "dose not exist on current UI! Check if the UI has changed after you got the widget object".
+
+**Possible Causes**
+
+After the target component is found in the code of the test case, the device UI changes. As a result, the found component is lost and the emulation operation cannot be performed.
+
+**Solution**
+
+Run the UI test case again.
diff --git a/en/application-dev/application-test/figures/Execute.PNG b/en/application-dev/application-test/figures/Execute.PNG
new file mode 100644
index 0000000000000000000000000000000000000000..90dcb55338ad473d29557e4c761801b16c770d45
Binary files /dev/null and b/en/application-dev/application-test/figures/Execute.PNG differ
diff --git a/en/application-dev/application-test/figures/SmartPerfStru.png b/en/application-dev/application-test/figures/SmartPerfStru.png
new file mode 100644
index 0000000000000000000000000000000000000000..24d203f938891e5a2b73c066776c62b1065fd064
Binary files /dev/null and b/en/application-dev/application-test/figures/SmartPerfStru.png differ
diff --git a/en/application-dev/application-test/figures/TestFlow.PNG b/en/application-dev/application-test/figures/TestFlow.PNG
new file mode 100644
index 0000000000000000000000000000000000000000..0b79c7e8c34e78397f1c442208de5dbff9c2e91e
Binary files /dev/null and b/en/application-dev/application-test/figures/TestFlow.PNG differ
diff --git a/en/application-dev/application-test/figures/TestResult.PNG b/en/application-dev/application-test/figures/TestResult.PNG
new file mode 100644
index 0000000000000000000000000000000000000000..300266842efab6da7a4f7469ab8c9e890f238b89
Binary files /dev/null and b/en/application-dev/application-test/figures/TestResult.PNG differ
diff --git a/en/application-dev/application-test/figures/Uitest.PNG b/en/application-dev/application-test/figures/Uitest.PNG
new file mode 100644
index 0000000000000000000000000000000000000000..a9ff5b9d831b4abe1767219dfa8e2fffc5c2e3f8
Binary files /dev/null and b/en/application-dev/application-test/figures/Uitest.PNG differ
diff --git a/en/application-dev/application-test/figures/UnitTest.PNG b/en/application-dev/application-test/figures/UnitTest.PNG
new file mode 100644
index 0000000000000000000000000000000000000000..d55de62d830df9cfdf345552c54dbf4196564ef6
Binary files /dev/null and b/en/application-dev/application-test/figures/UnitTest.PNG differ
diff --git a/en/application-dev/application-test/figures/wukongRandomTest.png b/en/application-dev/application-test/figures/wukongRandomTest.png
new file mode 100644
index 0000000000000000000000000000000000000000..a8164620f94f8d4ec61e22e53eb655888ce15050
Binary files /dev/null and b/en/application-dev/application-test/figures/wukongRandomTest.png differ
diff --git a/en/application-dev/application-test/figures/wukongRandomTestFlow.png b/en/application-dev/application-test/figures/wukongRandomTestFlow.png
new file mode 100644
index 0000000000000000000000000000000000000000..d2355d66557b2b3ce4066691adbe7cce7eb1a5f2
Binary files /dev/null and b/en/application-dev/application-test/figures/wukongRandomTestFlow.png differ
diff --git a/en/application-dev/application-test/figures/wukongSpecialTest.png b/en/application-dev/application-test/figures/wukongSpecialTest.png
new file mode 100644
index 0000000000000000000000000000000000000000..0f4362da3f8c8cd7b40582acdb443a72434efebf
Binary files /dev/null and b/en/application-dev/application-test/figures/wukongSpecialTest.png differ
diff --git a/en/application-dev/application-test/smartperf-guidelines.md b/en/application-dev/application-test/smartperf-guidelines.md
new file mode 100644
index 0000000000000000000000000000000000000000..91b6cf44ef419487de7b435e42d26199c3b088d0
--- /dev/null
+++ b/en/application-dev/application-test/smartperf-guidelines.md
@@ -0,0 +1,75 @@
+# SmartPerf User Guide
+
+## Overview
+
+Performance testing helps developers detect the performance bottlenecks and deliver quality applications that meet user expectations. For this reason, SmartPerf, a performance testing tool specially designed for OpenHarmony developers, is provided.
+
+## Introduction
+
+SmartPerf is a reliable, easy-to-use performance and power consumption test tool built for the OpenHarmony system. It provides KPIs with test value details that help you measure the performance and power consumption of your application, such as FPS, CPU, GPU, and Ftrace.
+
+You can use SmartPerf in two modes: visualized operation mode (SmartPerf-Device) and command-line shell mode (SmartPerf-Daemon). SmartPerf-Device supports visualized operations and floating window based operations (such as data collection control and real-time data display). SmartPerf-Daemon is applicable to devices without screens and devices with high tolerance regarding performance, for example, Hi3568.
+
+## Principles
+
+SmartPerf come with SmartPerf-Device and SmartPerf-Daemon. SmartPerf-Device sends data requests for KPIs (such as FPS, RAM, and Trace) through messages to SmartPerf-Daemon, which then collects and sends back data as requested, and displays the received data. SmartPerf-Daemon also allows on-demand data collection through hell commands. The figure below demonstrates the main functions of SmartPerf.
+
+
+
+## Constraints
+
+- SmartPerf-Device and SmartPerf-Daemon are pre-installed in version 3.2 and later versions.
+- SmartPerf-Device requires a screen to work correctly.
+
+## Environment Preparations
+
+To run SmartPerf-Daemon, you must connect the PC to an OpenHarmony device, such as the RK3568 development board.
+
+## Performing Performance Testing
+
+**Using SmartPerf-Device**
+
+In the screenshots below, the RK3568 development board is used as an example.
+
+1. Set the application for which you want to collect data.
+
+ Start SmartPerf-Device. On the home screen, select the test application and test indicators, and touch **Start Test**.
+
+2. Control the data collection process from the floating window.
+
+ To start collection, touch **Start** in the floating window. To pause, touch the timer in the floating window to pause data collection. To resume, touch the timer again. To view the collected data in real time, double-touch the timer. To stop, touch and hold the timer. You can drag the floating window to anywhere you like.
+
+
+3. View the report.
+
+ Touch **Report** to view the test report list. Touch **Report List** to view details about test indicators.
+
+**Using SmartPerf-Daemon**
+
+1. Access the shell and run the following command to view the help information:
+```
+:# SP_daemon --help
+```
+2. Run the collection commands.
+```
+:# SP_daemon -N 2 -PKG com.ohos.contacts -c -g -t -p -r
+```
+
+**Collection Commands**
+
+| Command | Function |Mandatory|
+| :-----| :--------------------- |:-----|
+| -N | Set the number of collection times. |Yes|
+| -PKG | Set the package name. | No|
+| -PID | Sets the PID of a process (applicable to RAM).|No|
+| -c | Set whether to collect CPU data. | No|
+| -g | Set whether to collect GPU data. |No|
+| -f | Set whether to collect FPS data. |No|
+| -t | Set whether to collect temperature data. |No|
+| -p | Set whether to collect current data. |No|
+| -r | Set whether to collect memory data. |No|
+
+The default output path of the test result is as follows:
+```
+/data/local/tmp/data.csv
+```
diff --git a/en/application-dev/application-test/wukong-guidelines.md b/en/application-dev/application-test/wukong-guidelines.md
new file mode 100644
index 0000000000000000000000000000000000000000..e10cb9fa1badd83bd244e70a1f4445afd7f085b7
--- /dev/null
+++ b/en/application-dev/application-test/wukong-guidelines.md
@@ -0,0 +1,113 @@
+# wukong User Guide
+
+
+## Overview
+
+Stability testing is important in that it demonstrates how an application performs under stress. For this reason, wukong, a stability testing tool specially designed for OpenHarmony developers, is provided.
+
+In this document you will learn about the key functions of wukong and how to use it to perform stability testing.
+
+## Introduction
+
+wukong is part of the OpenHarmony toolkit and implements basic application stability test capabilities such as random event injection, component injection, exception capture, report generation, and data traversal of abilities.
+
+## Principles
+
+wukong mainly provides two types of tests: random test and special test.
+
+- Random test
+
+ The random test is the staple service of wukong. It provides the basic startup, running, and result summary features, as shown below.
+
+ 
+
+ The following figure shows the basic running process of the random test, which depends on the **hdc** command.
+
+ 
+
+- Special test
+
+ The special test provides a wide range of features: traversing the components of an application in sequence, recording and playback, and sleeping and waking up.
+
+ The following figure shows the main features of the special test.
+
+ 
+
+For details about the test commands, see [wukong](https://gitee.com/openharmony/ostest_wukong/blob/master/README.md).
+
+## Constraints
+
+1. wukong is pre-installed in version 3.2 and later versions.
+
+2. In versions earlier than 3.2, you must build wukong separately and push it to the tested OpenHarmony device. The procedure is as follows:
+ How to build:
+ ```
+ ./build.sh --product-name rk3568 --build-target wukong
+ ```
+ How to push:
+ ```
+ hdc_std shell mount -o rw,remount /
+ hdc_std file send wukong /
+ hdc_std shell chmod a+x /wukong
+ hdc_std shell mv /wukong /bin/
+ ```
+
+## Environment Preparations
+
+To run commands, connect the PC to an OpenHarmony device, such as the RK3568 development board.
+
+## Performing Stability Testing
+
+**Using wukong exec for Random Test**
+
+Access the shell and run the following random test command:
+```
+# wukong exec -s 10 -i 1000 -a 0.28 -t 0.72 -c 100
+```
+Random test commands
+| Command | Value | Description |
+| -------------- | -------------- | ---------------------------------------------- |
+| wukong exec | - | Works as the main command. |
+| -s | 10 | Sets the random seed. The value 10 is the seed value. |
+| -i | 1000 | Sets the application startup interval to 1000 ms.|
+| -a | 0.28 | Sets the proportion of the random application startup test to 28%. |
+| -t | 0.72 | Sets the proportion of the random touch test to 72%. |
+| -c | 100 | Sets the number of execution times to 100. |
+
+**Using wukong special for Special Test**
+
+Access the shell and run the following commands to perform the sequential traversal test:
+```bash
+# wukong special -C [bundlename] -p
+```
+Special test commands
+| Command | Value | Description |
+| -------------- |-------------- | ---------------------------------------------- |
+| wukong special | - | Works as the main command. |
+| -C [bundlename] |[bundlename] | Sets the bundle name of the application for the sequential traversal test. |
+| -p | - | Indicates a screenshot. |
+
+## Viewing the Test Result
+
+After the test commands are executed, the test result is automatically generated.
+
+You can obtain the test result in the following directory:
+```
+Before 2022/9/22: /data/local/wukong/report/xxxxxxxx_xxxxxx/
+Since 2022/9/22: /data/local/tmp/wukong/report/xxxxxxxx_xxxxxx/
+```
+>**NOTE**
+>
+>The folder for test reports is automatically generated.
+
+Content of the folder is described in the table below.
+| Folder/File | Description |
+| ------------------------------------ | ------------------ |
+| exception/ | Stores exception files generated during the test.|
+| screenshot/ | Stores screenshots of the sequential traversal test. |
+| wukong_report.csv | Stores the test report summary. |
+
+You can view the wukong execution log in the path below:
+```
+reports/xxxxxxxx_xxxxxx/wukong.log
+```
diff --git a/en/application-dev/device/Readme-EN.md b/en/application-dev/device/Readme-EN.md
index c006438a34418139129e23f475d059e274ca914d..3c9f32cc174afcf03d5c35497dc56b24d79acc92 100644
--- a/en/application-dev/device/Readme-EN.md
+++ b/en/application-dev/device/Readme-EN.md
@@ -13,6 +13,9 @@
- Vibrator
- [Vibrator Overview](vibrator-overview.md)
- [Vibrator Development](vibrator-guidelines.md)
+- Multimodal Input
+ - [Input Device Development](inputdevice-guidelines.md)
+ - [Mouse Pointer Development](pointerstyle-guidelines.md)
- Update Service
- [Sample Server Overview](sample-server-overview.md)
- [Sample Server Development](sample-server-guidelines.md)
diff --git a/en/application-dev/device/figures/171e6f30-a8d9-414c-bafa-b430340305fb.png b/en/application-dev/device/figures/171e6f30-a8d9-414c-bafa-b430340305fb.png
new file mode 100644
index 0000000000000000000000000000000000000000..69f6ef8876372f96ca0e75b286e300e39926956e
Binary files /dev/null and b/en/application-dev/device/figures/171e6f30-a8d9-414c-bafa-b430340305fb.png differ
diff --git a/en/application-dev/device/figures/65d69983-29f6-4381-80a3-f9ef2ec19e53.png b/en/application-dev/device/figures/65d69983-29f6-4381-80a3-f9ef2ec19e53.png
new file mode 100644
index 0000000000000000000000000000000000000000..9ca04f490e6d0458cac72285945642d29efe6663
Binary files /dev/null and b/en/application-dev/device/figures/65d69983-29f6-4381-80a3-f9ef2ec19e53.png differ
diff --git a/en/application-dev/device/figures/db5d017d-6c1c-4a71-a2dd-f74b7f23239e.png b/en/application-dev/device/figures/db5d017d-6c1c-4a71-a2dd-f74b7f23239e.png
new file mode 100644
index 0000000000000000000000000000000000000000..2b55e6c8bf6456717b584c972e291f915b1c8ba1
Binary files /dev/null and b/en/application-dev/device/figures/db5d017d-6c1c-4a71-a2dd-f74b7f23239e.png differ
diff --git a/en/application-dev/device/inputdevice-guidelines.md b/en/application-dev/device/inputdevice-guidelines.md
new file mode 100644
index 0000000000000000000000000000000000000000..1037520e553246d42d2da80f572637af310b4adc
--- /dev/null
+++ b/en/application-dev/device/inputdevice-guidelines.md
@@ -0,0 +1,70 @@
+# Input Device Development
+
+## When to Use
+
+Input device management provides functions such as listening for device hot swap events and querying the keyboard type of a specified device. For example, as a user enters text, the input method determines whether to launch the virtual keyboard based on whether a physical keyboard is currently inserted. Your application can determine whether a physical keyboard is inserted by listening to device hot swap events.
+
+## Modules to Import
+
+```js
+import inputDevice from '@ohos.multimodalInput.inputDevice';
+```
+
+## Available APIs
+
+The following table lists the common APIs for input device management. For details about the APIs, see [ohos.multimodalInput.inputDevice](../reference/apis/js-apis-inputdevice.md).
+
+| Instance| API | Description|
+| ----------- | ------------------------------------------------------------ | -------------------------- |
+| inputDevice | function getDeviceList(callback: AsyncCallback\>): void; | Obtains the list of input devices.|
+| inputDevice | function getKeyboardType(deviceId: number, callback: AsyncCallback\): void; | Obtains the keyboard type of the input device.|
+| inputDevice | function on(type: "change", listener: Callback\): void; | Enables listening for device hot swap events.|
+| inputDevice | function off(type: "change", listener?: Callback\): void; | Disables listening for device hot swap events.|
+
+## Virtual Keyboard Detection
+
+When a user enters text, the input method determines whether to launch the virtual keyboard based on whether a physical keyboard is currently inserted. Your application can determine whether a physical keyboard is inserted by listening to device hot swap events.
+
+## How to Develop
+
+1. Call the **getDeviceList** API to obtain the list of connected input devices. Call the **getKeyboardType** API to traverse all connected devices to check whether a physical keyboard exists. If a physical keyboard exists, mark the physical keyboard as connected. This step ensures that your application detects all inserted input devices before listening for device hot swap events.
+2. Call the **on** API to listen for device hot swap events. If a physical keyboard is inserted, mark the physical keyboard as connected. If a physical keyboard is removed, mark the physical keyboard as disconnected.
+3. When a user enters text, check whether a physical keyboard is connected. If a physical keyboard is not connected, launch the virtual keyboard.
+
+
+```js
+import inputDevice from '@ohos.multimodalInput.inputDevice';
+
+let isPhysicalKeyboardExist = true;
+try {
+ // 1. Obtain the list of input devices and check whether a physical keyboard is connected.
+ inputDevice.getDeviceList().then(data => {
+ for (let i = 0; i < data.length; ++i) {
+ inputDevice.getKeyboardType(data[i]).then(res => {
+ if (type == inputDevice.KeyboardType.ALPHABETIC_KEYBOARD) {
+ // The physical keyboard is connected.
+ isPhysicalKeyboardExist = true;
+ }
+ });
+ }
+ });
+ // 2. Listen for device hot swap events.
+ inputDevice.on("change", (data) => {
+ console.log(`Device event info: ${JSON.stringify(data)}`);
+ inputDevice.getKeyboardType(data.deviceId, (error, type) => {
+ console.log("The keyboard type is: " + type);
+ if (type == inputDevice.KeyboardType.ALPHABETIC_KEYBOARD && data.type == 'add') {
+ // The physical keyboard is inserted.
+ isPhysicalKeyboardExist = true;
+ } else if (type == inputDevice.KeyboardType.ALPHABETIC_KEYBOARD && data.type == 'remove') {
+ // The physical keyboard is removed.
+ isPhysicalKeyboardExist = false;
+ }
+ });
+ });
+} catch (error) {
+ console.log(`Execute failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
+}
+ // 3. Determine whether to launch the virtual keyboard based on the value of isPhysicalKeyboardExist.
+ // TODO
+```
diff --git a/en/application-dev/device/pointerstyle-guidelines.md b/en/application-dev/device/pointerstyle-guidelines.md
new file mode 100644
index 0000000000000000000000000000000000000000..d8ceab11829f1d5e717a61ec53ecfec19261226d
--- /dev/null
+++ b/en/application-dev/device/pointerstyle-guidelines.md
@@ -0,0 +1,119 @@
+# Mouse Pointer Development
+
+## When to Use
+
+Mouse pointer management provides the functions such as displaying or hiding the mouse pointer as well as querying and setting the pointer style. For example, you can determine whether to display or hide the mouse pointer when a user watches a video in full screen, and can switch the mouse pointer to a color picker when a user attempts color pickup.
+
+## Modules to Import
+
+```js
+import inputDevice from '@ohos.multimodalInput.pointer';
+```
+
+## Available APIs
+
+The following table lists the common APIs for mouse pointer management. For details about the APIs, see [ohos.multimodalInput.pointer](../reference/apis/js-apis-pointer.md).
+
+| Instance | API | Description |
+| ------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| pointer | function isPointerVisible(callback: AsyncCallback\): void; | Checks the visible status of the mouse pointer. |
+| pointer | function setPointerVisible(visible: boolean, callback: AsyncCallback\): void; | Sets the visible status of the mouse pointer. This setting takes effect for the mouse pointer globally.|
+| pointer | function setPointerStyle(windowId: number, pointerStyle: PointerStyle, callback: AsyncCallback\): void; | Sets the mouse pointer style. This setting takes effect for the mouse pointer style of a specified window. |
+| pointer | function getPointerStyle(windowId: number, callback: AsyncCallback\): void; | Obtains the mouse pointer style. |
+
+## Hiding the Mouse Pointer
+
+When watching a video in full-screen mode, a user can hide the mouse pointer for an improved user experience.
+
+## How to Develop
+
+1. Switch to the full-screen playback mode.
+2. Hide the mouse pointer.
+3. Exit the full-screen playback mode.
+4. Display the mouse pointer.
+
+```js
+import pointer from '@ohos.multimodalInput.pointer';
+
+// 1. Switch to the full-screen playback mode.
+// 2. Hide the mouse pointer.
+try {
+ pointer.setPointerVisible(false, (error) => {
+ if (error) {
+ console.log(`Set pointer visible failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
+ return;
+ }
+ console.log(`Set pointer visible success.`);
+ });
+} catch (error) {
+ console.log(`The mouse pointer hide attributes is failed. ${JSON.stringify(error, [`code`, `message`])}`);
+}
+
+// 3. Exit the full-screen playback mode.
+// 4. Display the mouse pointer.
+try {
+ pointer.setPointerVisible(true, (error) => {
+ if (error) {
+ console.log(`Set pointer visible failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
+ return;
+ }
+ console.log(`Set pointer visible success.`);
+ });
+} catch (error) {
+ console.log(`Set pointer visible failed, ${JSON.stringify(error, [`code`, `message`])}`);
+}
+```
+
+## Setting the Mouse Pointer Style
+
+When designing a color picker, you can have the mouse pointer switched to the color picker style during color pickup and then switched to the default style on completion of color pickup. This setting takes effect for the pointer style of a specified window in the current application. A total of 39 pointer styles can be set. For details, see [Pointer Style](../reference/apis/js-apis-pointer.md#pointerstyle9).
+
+### How to Develop
+
+1. Enable the color pickup function.
+2. Obtain the window ID.
+3. Set the mouse pointer to the color picker style.
+4. End color pickup.
+5. Set the mouse pointer to the default style.
+
+```js
+import window from '@ohos.window';
+
+// 1. Enable the color pickup function.
+// 2. Obtain the window ID.
+window.getTopWindow((error, windowClass) => {
+ windowClass.getProperties((error, data) => {
+ var windowId = data.id;
+ if (windowId < 0) {
+ console.log(`Invalid windowId`);
+ return;
+ }
+ try {
+ // 3. Set the mouse pointer to the color picker style.
+ pointer.setPointerStyle(windowId, pointer.PointerStyle.COLOR_SUCKER).then(() => {
+ console.log(`Successfully set mouse pointer style`);
+ });
+ } catch (error) {
+ console.log(`Failed to set the pointer style, error=${JSON.stringify(error)}, msg=${JSON.stringify(message)}`);
+ }
+ });
+});
+// 4. End color pickup.
+window.getTopWindow((error, windowClass) => {
+ windowClass.getProperties((error, data) => {
+ var windowId = data.id;
+ if (windowId < 0) {
+ console.log(`Invalid windowId`);
+ return;
+ }
+ try {
+ // 5. Set the mouse pointer to the default style.
+ pointer.setPointerStyle(windowId, pointer.PointerStyle.DEFAULT).then(() => {
+ console.log(`Successfully set mouse pointer style`);
+ });
+ } catch (error) {
+ console.log(`Failed to set the pointer style, error=${JSON.stringify(error)}, msg=${JSON.stringify(message)}`);
+ }
+ });
+});
+```
diff --git a/en/application-dev/device/sensor-guidelines.md b/en/application-dev/device/sensor-guidelines.md
index 50ebd3428f89eba4f968dd98e5fe2edee91bee34..d3bb893bbbdf1c23192f3397e54d745cf920043c 100644
--- a/en/application-dev/device/sensor-guidelines.md
+++ b/en/application-dev/device/sensor-guidelines.md
@@ -3,30 +3,18 @@
## When to Use
-- Data provided by the compass sensor denotes the current orientation of the user device, which helps your application accurately navigate for the user.
+With the sensor module, a device can obtain sensor data. For example, the device can subscribe to data of the orientation sensor to detect its own orientation, and data of the pedometer sensor to learn the number of steps the user walks every day.
-- Data provided by the proximity sensor denotes the distance between the device and a visible object, which enables the device to automatically turn on or off its screen accordingly to prevent accidental touch on the screen.
-
-- Data provided by the barometer sensor helps your application accurately determine the altitude of the device.
-
-- Data provided by the ambient light sensor helps your device automatically adjust its backlight.
-
-- Data provided by the Hall effect sensor implements the smart cover mode of your device.
-
-- Data provided by the heart rate sensor helps your application track the heart health of a user.
-
-- Data provided by the pedometer sensor helps your application obtain the number of steps a user has walked.
-
-- Data provided by the wear detection sensor helps your application detect whether a user is wearing a wearable device.
+For details about the APIs, see [Sensor](../reference/apis/js-apis-sensor.md).
## Available APIs
| Module| API| Description|
| -------- | -------- | -------- |
-| ohos.sensor | sensor.on(sensorType, callback:AsyncCallback<Response>): void | Subscribes to data changes of a type of sensor.|
-| ohos.sensor | sensor.once(sensorType, callback:AsyncCallback<Response>): void | Subscribes to only one data change of a type of sensor.|
-| ohos.sensor | sensor.off(sensorType, callback?:AsyncCallback<void>): void | Unsubscribes from sensor data changes.|
+| ohos.sensor | sensor.on(sensorId, callback:AsyncCallback<Response>): void | Subscribes to data changes of a type of sensor.|
+| ohos.sensor | sensor.once(sensorId, callback:AsyncCallback<Response>): void | Subscribes to only one data change of a type of sensor.|
+| ohos.sensor | sensor.off(sensorId, callback?:AsyncCallback<void>): void | Unsubscribes from sensor data changes.|
## How to Develop
@@ -43,52 +31,46 @@
For details about how to configure a permission, see [Declaring Permissions](../security/accesstoken-guidelines.md).
-2. Subscribe to data changes of a type of sensor.
+2. Subscribe to data changes of a type of sensor. The following uses the acceleration sensor as an example.
- ```
+ ```js
import sensor from "@ohos.sensor";
- sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, function(data){
+ sensor.on(sensor.SensorId.ACCELEROMETER, function(data){
console.info("Data obtained successfully. x: " + data.x + "y: " + data.y + "z: " + data.z); // Data is obtained.
});
```
- The following figure shows the successful call result when **SensorType** is **SENSOR_TYPE_ID_ACCELEROMETER**.
-
- 
+ 
3. Unsubscribe from sensor data changes.
- ```
+ ```js
import sensor from "@ohos.sensor";
- sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER);
+ sensor.off(sensor.SensorId.ACCELEROMETER);
```
- The following figure shows the successful call result when **SensorType** is **SENSOR_TYPE_ID_ACCELEROMETER**.
-
- 
+ 
4. Subscribe to only one data change of a type of sensor.
- ```
+ ```js
import sensor from "@ohos.sensor";
- sensor.once(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, function(data) {
+ sensor.once(sensor.SensorId.ACCELEROMETER, function(data) {
console.info("Data obtained successfully. x: " + data.x + "y: " + data.y + "z: " + data.z); // Data is obtained.
});
```
- The following figure shows the successful call result when **SensorType** is **SENSOR_TYPE_ID_ACCELEROMETER**.
-
- 
+ 
If the API fails to be called, you are advised to use the **try/catch** statement to capture error information that may occur in the code. Example:
- ```
+ ```js
import sensor from "@ohos.sensor";
try {
- sensor.once(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, function(data) {
+ sensor.once(sensor.SensorId.ACCELEROMETER, function(data) {
console.info("Data obtained successfully. x: " + data.x + "y: " + data.y + "z: " + data.z); // Data is obtained.
});
} catch (error) {
- console.error("Failed to get sensor data");
+ console.error("Get sensor data error. data:" + error.data, " msg:", error.message);
}
- ```
\ No newline at end of file
+ ```
diff --git a/en/application-dev/device/sensor-overview.md b/en/application-dev/device/sensor-overview.md
index cb6129928d3796779075bcfc28da7f606bd130d9..766cc71c2aa466903a27a6b2bcb2d065bab74f54 100644
--- a/en/application-dev/device/sensor-overview.md
+++ b/en/application-dev/device/sensor-overview.md
@@ -3,32 +3,29 @@
Sensors in OpenHarmony are an abstraction of underlying sensor hardware. Your application can access the underlying sensor hardware via the sensors. Using the [Sensor](../reference/apis/js-apis-sensor.md) APIs, you can query sensors on your device, subscribe to sensor data, customize algorithms based on sensor data, and develop various sensor-based applications, such as compass, motion-controlled games, and fitness and health applications.
-
-A sensor is a device to detect events or changes in an environment and send messages about the events or changes to another device (for example, a CPU). Generally, a sensor is composed of sensitive components and conversion components. Sensors are the cornerstone of the IoT. A unified sensor management framework is required to achieve data sensing at a low latency and low power consumption, thereby keeping up with requirements of "1+8+N" products or business in the Seamless AI Life Strategy. The sensor list is as follows:
-
-| Type | Name | Description | Usage |
-| --------------------------------------- | --------- | ---------------------------------------- | -------------------- |
-| SENSOR_TYPE_ACCELEROMETER | Acceleration sensor | Measures the acceleration (including the gravity acceleration) applied to a device on three physical axes (X, Y, and Z), in the unit of m/s2.| Detecting the motion status |
-| SENSOR_TYPE_ACCELEROMETER_UNCALIBRATED | Uncalibrated acceleration sensor| Measures the uncalibrated acceleration (including the gravity acceleration) applied to a device on three physical axes (X, Y, and Z), in the unit of m/s2.| Measuring the acceleration bias estimation |
-| SENSOR_TYPE_LINEAR_ACCELERATION | Linear acceleration sensor | Measures the linear acceleration (excluding the gravity acceleration) applied to a device on three physical axes (X, Y, and Z), in the unit of m/s2.| Detecting the linear acceleration in each axis |
-| SENSOR_TYPE_GRAVITY | Gravity sensor | Measures the gravity acceleration applied to a device on three physical axes (X, Y, and Z), in the unit of m/s2.| Measuring the gravity |
-| SENSOR_TYPE_GYROSCOPE | Gyroscope sensor | Measures the rotation angular velocity of a device on three physical axes (X, Y, and Z), in the unit of rad/s.| Measuring the rotation angular velocity |
-| SENSOR_TYPE_GYROSCOPE_UNCALIBRATED | Uncalibrated gyroscope sensor| Measures the uncalibrated rotation angular velocity of a device on three physical axes (X, Y, and Z), in the unit of rad/s.| Measuring the bias estimation of the rotation angular velocity |
-| SENSOR_TYPE_SIGNIFICANT_MOTION | Significant motion sensor | Checks whether a device has a significant motion on three physical axes (X, Y, and Z). The value **0** means that the device does not have a significant motion, and **1** means the opposite.| Detecting significant motions of a device |
-| SENSOR_TYPE_PEDOMETER_DETECTION | Pedometer detection sensor | Detects whether a user takes a step. The value can be **0** (the user does not take a step) or **1** (the user takes a step).| Detecting whether a user takes a step |
-| SENSOR_TYPE_PEDOMETER | Pedometer sensor | Records the number of steps a user has walked. | Providing the number of steps a user has walked |
-| SENSOR_TYPE_AMBIENT_TEMPERATURE | Ambient temperature sensor | Measures the ambient temperature, in the unit of degree Celsius (°C). | Measuring the ambient temperature |
-| SENSOR_TYPE_MAGNETIC_FIELD | Magnetic field sensor | Measures the magnetic field on three physical axes (X, Y, and Z), in the unit of μT.| Creating a compass |
-| SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED | Uncalibrated magnetic field sensor | Measures the uncalibrated magnetic field on three physical axes (X, Y, and Z), in the unit of μT.| Measuring the magnetic field bias estimation |
-| SENSOR_TYPE_HUMIDITY | Humidity sensor | Measures the ambient relative humidity, in a percentage (%). | Monitoring the dew point, absolute humidity, and relative humidity |
-| SENSOR_TYPE_BAROMETER | Barometer sensor | Measures the barometric pressure, in the unit of hPa or mbar.| Measuring the barometric pressure |
-| SENSOR_TYPE_ORIENTATION | Orientation sensor | Measures the rotation angles of a device on three physical axes (X, Y, and Z), in the unit of rad. | Providing the three orientation angles of the screen |
-| SENSOR_TYPE_ROTATION_VECTOR | Rotation vector sensor | Measures the rotation vector of a device. It is a composite sensor that generates data from the acceleration sensor, magnetic field sensor, and gyroscope sensor. | Detecting the orientation of a device in the East, North, Up (ENU) Cartesian coordinate system |
-| SENSOR_TYPE_PROXIMITY | Proximity sensor | Measures the distance between a visible object and the device screen. | Measuring the distance between a person and the device during a call |
-| SENSOR_TYPE_AMBIENT_LIGHT | Ambient light sensor | Measures the ambient light intensity of a device, in the unit of lux. | Automatically adjusting the screen brightness and checking whether the screen is covered on the top|
-| SENSOR_TYPE_HEART_RATE | Heart rate sensor | Measures the heart rate of a user. | Providing users' heart rate data |
-| SENSOR_TYPE_WEAR_DETECTION | Wear detection sensor | Checks whether a user is wearing a wearable device. | Detecting wearables |
-| SENSOR_TYPE_HALL | Hall effect sensor | Detects a magnetic field around a device. | Smart cover mode of the device |
+| Type | Name | Description | Usage |
+| --------------------------- | ------------------ | ------------------------------------------------------------ | ---------------------------------------- |
+| ACCELEROMETER | Acceleration sensor | Measures the acceleration (including the gravity acceleration) applied to a device on three physical axes (X, Y, and Z), in the unit of m/s2.| Detecting the motion status |
+| ACCELEROMETER_UNCALIBRATED | Uncalibrated acceleration sensor| Measures the uncalibrated acceleration (including the gravity acceleration) applied to a device on three physical axes (X, Y, and Z), in the unit of m/s2.| Measuring the acceleration bias estimation |
+| LINEAR_ACCELERATION | Linear acceleration sensor | Measures the linear acceleration (excluding the gravity acceleration) applied to a device on three physical axes (X, Y, and Z), in the unit of m/s2.| Detecting the linear acceleration in each axis |
+| GRAVITY | Gravity sensor | Measures the gravity acceleration applied to a device on three physical axes (X, Y, and Z), in the unit of m/s2.| Measuring the gravity |
+| GYROSCOPE | Gyroscope sensor | Measures the rotation angular velocity of a device on three physical axes (X, Y, and Z), in the unit of rad/s.| Measuring the rotation angular velocity |
+| GYROSCOPE_UNCALIBRATED | Uncalibrated gyroscope sensor| Measures the uncalibrated rotation angular velocity of a device on three physical axes (X, Y, and Z), in the unit of rad/s.| Measuring the bias estimation of the rotation angular velocity |
+| SIGNIFICANT_MOTION | Significant motion sensor | Checks whether a device has a significant motion on three physical axes (X, Y, and Z). The value **0** means that the device does not have a significant motion, and **1** means the opposite.| Detecting significant motions of a device |
+| PEDOMETER_DETECTION | Pedometer detection sensor | Detects whether a user takes a step. The value can be **0** (the user does not take a step) or **1** (the user takes a step).| Detecting whether a user takes a step |
+| PEDOMETER | Pedometer sensor | Records the number of steps a user has walked. | Providing the number of steps a user has walked |
+| AMBIENT_TEMPERATURE | Ambient temperature sensor | Measures the ambient temperature, in the unit of degree Celsius (°C). | Measuring the ambient temperature |
+| MAGNETIC_FIELD | Magnetic field sensor | Measures the magnetic field on three physical axes (X, Y, and Z), in the unit of μT.| Creating a compass |
+| MAGNETIC_FIELD_UNCALIBRATED | Uncalibrated magnetic field sensor | Measures the uncalibrated magnetic field on three physical axes (X, Y, and Z), in the unit of μT.| Measuring the magnetic field bias estimation |
+| HUMIDITY | Humidity sensor | Measures the ambient relative humidity, in a percentage (%). | Monitoring the dew point, absolute humidity, and relative humidity |
+| BAROMETER | Barometer sensor | Measures the barometric pressure, in the unit of hPa or mbar. | Measuring the barometric pressure |
+| ORIENTATION | Orientation sensor | Measures the rotation angles of a device on three physical axes (X, Y, and Z), in the unit of rad.| Providing the three orientation angles of the screen |
+| ROTATION_VECTOR | Rotation vector sensor | Measures the rotation vector of a device. It is a composite sensor that generates data from the acceleration sensor, magnetic field sensor, and gyroscope sensor.| Detecting the orientation of a device in the East, North, Up (ENU) Cartesian coordinate system |
+| PROXIMITY | Proximity sensor | Measures the distance between a visible object and the device screen. | Measuring the distance between a person and the device during a call |
+| AMBIENT_LIGHT | Ambient light sensor | Measures the ambient light intensity of a device, in the unit of lux. | Automatically adjusting the screen brightness and checking whether the screen is covered on the top|
+| HEART_RATE | Heart rate sensor | Measures the heart rate of a user. | Providing users' heart rate data |
+| WEAR_DETECTION | Wear detection sensor | Checks whether a user is wearing a wearable device. | Detecting wearables |
+| HALL | Hall effect sensor | Detects a magnetic field around a device. | Smart cover mode of the device |
## Working Principles
@@ -60,4 +57,3 @@ The following modules work cooperatively to implement OpenHarmony sensors: Senso
| Heart rate sensor | ohos.permission.READ_HEALTH_DATA | user_grant | Allows an application to read health data. |
2. The APIs for subscribing to and unsubscribing from sensor data work in pairs. If you do not need sensor data, call the unsubscription API to stop sensor data reporting.
-
diff --git a/en/application-dev/device/vibrator-guidelines.md b/en/application-dev/device/vibrator-guidelines.md
index 0dfc8344e5bb27a7ab6b6cd11943595c9f7855a6..36b08b2acd96e2d65fc14a936f1c3e9c9dd31a88 100644
--- a/en/application-dev/device/vibrator-guidelines.md
+++ b/en/application-dev/device/vibrator-guidelines.md
@@ -10,42 +10,55 @@ For details about the APIs, see [Vibrator](../reference/apis/js-apis-vibrator.md
## Available APIs
-| Module | API | Description |
-| ------------- | ---------------------------------------- | ------------------------------- |
-| ohos.vibrator | vibrate(duration: number): Promise<void> | Triggers vibration with the specified duration. This API uses a promise to return the result. |
-| ohos.vibrator | vibrate(duration: number, callback?: AsyncCallback<void>): void | Triggers vibration with the specified duration. This API uses a callback to return the result. |
-| ohos.vibrator | vibrate(effectId: EffectId): Promise<void> | Triggers vibration with the specified effect. This API uses a promise to return the result. |
-| ohos.vibrator | vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void | Triggers vibration with the specified effect. This API uses a callback to return the result.|
-| ohos.vibrator | stop(stopMode: VibratorStopMode): Promise<void>| Stops vibration. This API uses a promise to return the result. |
-| ohos.vibrator | stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void | Stops vibration. This API uses a callback to return the result. |
+| Module | API | Description |
+| ------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| ohos.vibrator | startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise<void> | Starts vibration with the specified effect and attribute. This API uses a promise to return the result.|
+| ohos.vibrator | startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback<void>): void | Starts vibration with the specified effect and attribute. This API uses an asynchronous callback to return the result.|
+| ohos.vibrator | stopVibration(stopMode: VibratorStopMode): Promise<void> | Stops vibration in the specified mode. This API uses a promise to return the result. |
+| ohos.vibrator | stopVibration(stopMode: VibratorStopMode, callback: AsyncCallback<void>): void | Stops vibration in the specified mode. This API uses an asynchronous callback to return the result. |
## How to Develop
1. Before using the vibrator on a device, you must declare the **ohos.permission.VIBRATE** permission. For details about how to configure a permission, see [Declaring Permissions](../security/accesstoken-guidelines.md).
-2. Trigger the device to vibrate.
+2. Start vibration with the specified effect and attribute.
- ```
- import vibrator from "@ohos.vibrator"
- vibrator.vibrate(1000).then((error) => {
- if (error) { // The call fails, and error.code and error.message are printed.
- console.log("Promise return failed.error.code " + error.code + "error.message " + error.message);
- } else { // The call is successful, and the device starts to vibrate.
- console.log("Promise returned to indicate a successful vibration.")
- }
- })
+ ```js
+ import vibrator from '@ohos.vibrator';
+ try {
+ vibrator.startVibration({
+ type: 'time',
+ duration: 1000,
+ }, {
+ id: 0,
+ usage: 'alarm'
+ }, (error) => {
+ if (error) {
+ console.error('vibrate fail, error.code: ' + error.code + 'error.message: ', + error.message);
+ return;
+ }
+ console.log('Callback returned to indicate a successful vibration.');
+ });
+ } catch (err) {
+ console.error('errCode: ' + err.code + ' ,msg: ' + err.message);
+ }
```
-3. Stop the vibration.
+3. Stop vibration in the specified mode.
- ```
- import vibrator from "@ohos.vibrator"
- vibrator.stop(vibrator.VibratorStopMode.VIBRATOR_STOP_MODE_PRESET).then((error) => {
- if (error) { // The call fails, and error.code and error.message are printed.
- console.log("Promise return failed.error.code " + error.code + "error.message " + error.message);
- } else { // The call is successful, and the device stops vibrating.
- console.log("Promise returned to indicate successful.");
- }
- })
+ ```js
+ import vibrator from '@ohos.vibrator';
+ try {
+ // Stop vibration in VIBRATOR_STOP_MODE_TIME mode.
+ vibrator.stopVibration(vibrator.VibratorStopMode.VIBRATOR_STOP_MODE_TIME, function (error) {
+ if (error) {
+ console.log('error.code' + error.code + 'error.message' + error.message);
+ return;
+ }
+ console.log('Callback returned to indicate successful.');
+ })
+ } catch (err) {
+ console.info('errCode: ' + err.code + ' ,msg: ' + err.message);
+ }
```
diff --git a/en/application-dev/faqs/Readme-EN.md b/en/application-dev/faqs/Readme-EN.md
index 9606b7f526c00870a7ce76e2183d4fdb3d8ce45a..0f2738b7160dcc599c54ecbe1875d279d6f3661c 100644
--- a/en/application-dev/faqs/Readme-EN.md
+++ b/en/application-dev/faqs/Readme-EN.md
@@ -1,20 +1,19 @@
# FAQs
- [Ability Framework Development](faqs-ability.md)
+- [Bundle Management Development](faqs-bundle.md)
- [ArkUI (eTS) Development](faqs-ui-ets.md)
- [ArkUI (JavaScript) Development](faqs-ui-js.md)
-- [Bundle Management Development](faqs-bundle.md)
-- [Data Management Development](faqs-data-management.md)
-- [Development Board](faqs-development-board.md)
-- [Device Management Development](faqs-device-management.md)
-- [DFX Development](faqs-dfx.md)
- [Graphics and Image Development](faqs-graphics.md)
-- [hdc_std Command Usage](faqs-ide.md)
-- [IDE Usage](faqs-hdc-std.md)
-- [Intl Development](faqs-international.md)
- [File Management Development](faqs-file-management.md)
- [Media Development](faqs-media.md)
- [Network and Connection Development](faqs-connectivity.md)
+- [Data Management Development](faqs-data-management.md)
+- [Device Management Development](faqs-device-management.md)
+- [DFX Development](faqs-dfx.md)
+- [Intl Development](faqs-international.md)
- [Native API Usage](faqs-native.md)
- [Usage of Third- and Fourth-Party Libraries](faqs-third-party-library.md)
-
+- [IDE Usage](faqs-ide.md)
+- [hdc_std Command Usage](faqs-hdc-std.md)
+- [Development Board](faqs-development-board.md)
\ No newline at end of file
diff --git a/en/application-dev/faqs/faqs-connectivity.md b/en/application-dev/faqs/faqs-connectivity.md
index e3b02269e2de947fb4ab4069f1d7ba4812825ddc..31e1db2e15e82875427d52a92dd26bcfeb69c34e 100644
--- a/en/application-dev/faqs/faqs-connectivity.md
+++ b/en/application-dev/faqs/faqs-connectivity.md
@@ -21,7 +21,7 @@ Applicable to: OpenHarmony SDK 3.2.2.5, stage model of API version 9
Error code 28 refers to **CURLE_OPERATION_TIMEDOUT**, which means a cURL operation timeout. For details, see any HTTP status code description available.
-Reference: [Development Guide](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-http.md#httpresponse) and [Curl Error Codes](https://curl.se/libcurl/c/libcurl-errors.html)
+Reference: [Response Codes](../reference/apis/js-apis-http.md#responsecode) and [Curl Error Codes](https://curl.se/libcurl/c/libcurl-errors.html)
## What does error code 6 mean for the response of \@ohos.net.http.d.ts?
@@ -30,4 +30,4 @@ Applicable to: OpenHarmony SDK 3.2.3.5
Error code 6 indicates a failure to resolve the host in the address. You can ping the URL carried in the request to check whether the host is accessible.
-Reference: [Development Guide](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-http.md#httpresponse) and [Curl Error Codes](https://curl.se/libcurl/c/libcurl-errors.html)
+Reference: [Response Codes](../reference/apis/js-apis-http.md#responsecode) and [Curl Error Codes](https://curl.se/libcurl/c/libcurl-errors.html)
diff --git a/en/application-dev/faqs/faqs-data-management.md b/en/application-dev/faqs/faqs-data-management.md
index a35f335d1db6f89033e4deb839cf9b7af0f544a2..47f0b7ce20cd54a1cee4eb521801d4e7ca94e04b 100644
--- a/en/application-dev/faqs/faqs-data-management.md
+++ b/en/application-dev/faqs/faqs-data-management.md
@@ -1,12 +1,10 @@
# Data Management Development
-
-
-## How Do I Save PixelMap data to a database?
+## How Do I Save PixelMap Data to a Database?
Applicable to: OpenHarmony SDK 3.2.3.5
-You can convert a **PixelMap** into a **ArrayBuffer** and save the **ArrayBuffer** to your database.
+You can convert a **PixelMap** into an **ArrayBuffer** and save the **ArrayBuffer** to your database.
Reference: [readPixelsToBuffer](../reference/apis/js-apis-image.md#readpixelstobuffer7-1)
@@ -14,11 +12,65 @@ Reference: [readPixelsToBuffer](../reference/apis/js-apis-image.md#readpixelstob
Applicable to: OpenHarmony SDK 3.2.3.5, stage model of API version 9
-Run the hdc_std command to copy the .db, .db-shm, and .db-wal files from **/data/app/el2/100/database/Bundle name/entry/db/**, and then use the SQLite tool to open the files.
+Run the hdc_std command to copy the .db, .db-shm, and .db-wal files in **/data/app/el2/100/database/*bundleName*/entry/db/**, and then use the SQLite tool to open the files.
Example:
-
```
hdc_std file recv /data/app/el2/100/database/com.xxxx.xxxx/entry/db/test.db ./test.db
```
+
+## Does the Database Has a Lock Mechanism?
+
+Applicable to: OpenHarmony SDK 3.2.5.5, stage model of API version 9
+
+The distributed data service (DDS), relational database (RDB) store, and preferences provided OpenHarmony have a lock mechanism. You do not need to bother with the lock mechanism during the development.
+
+## What Is a Transaction in an RDB Store?
+
+Applicable to: all versions
+
+When a large number of operations are performed in an RDB store, an unexpected exception may cause a failure of some data operations and loss of certain data. As a result, the application may become abnormal or even crash.
+
+A transaction is a group of tasks serving as a single logical unit. It eliminates the failure of some of the operations and loss of associated data.
+
+## What Data Types Does an RDB Store Support?
+
+Applicable to: OpenHarmony SDK 3.0 or later, stage model of API version 9
+
+An RDB store supports data of the number, string, and Boolean types. The number array supports data of the Double, Long, Float, Int, or Int64 type, with a maximum precision of 17 decimal digits.
+
+## How Do I View Database db Files?
+
+Applicable to: OpenHarmony SDK 3.2.6.5, stage model of API version 9
+
+1. Run the **hdc_std shell** command.
+
+2. Obtain the absolute path or sandbox path of the database.
+
+The absolute path is **/data/app/el2//database/**. The default **** is **100**.
+
+To obtain the sandbox path, run the **ps -ef | grep hapName** command to obtain the process ID of the application.
+
+The database sandbox path is **/proc//root/data/storage/el2/database/**.
+
+3. Run the **find ./ -name "\*.db"** command in the absolute path or sandbox path of the database.
+
+## How Do I Store Long Text Data?
+
+Applicable to: OpenHarmony SDK 3.2.5.5, API version 9
+
+- Preferences support a string of up to 8192 bytes.
+
+- The KV store supports a value of up to 4 MB.
+
+Reference: [Preference Overview](../database/database-preference-overview.md) and [Distributed Data Service Overview](../database/database-mdds-overview.md)
+
+## How Do I Develop DataShare on the Stage Model
+
+Applicable to: OpenHarmony SDK 3.2.5.5, API version 9
+
+The DataShare on the stage model cannot be used with the **DataAbility** for the FA model. The connected server application must be implemented by using **DataShareExtensionAbility**.
+
+Reference: [DataShare Development](../database/database-datashare-guidelines.md)
+
diff --git a/en/application-dev/faqs/faqs-dfx.md b/en/application-dev/faqs/faqs-dfx.md
index 6ab2948af18a4344fb8decc157e4ac1cb346f3ee..ec1c8dbfedd5fa3c087c96d54c9c2aab73d75e8a 100644
--- a/en/application-dev/faqs/faqs-dfx.md
+++ b/en/application-dev/faqs/faqs-dfx.md
@@ -19,7 +19,7 @@ Run **hdc\_std shell param get persist.ace.testmode.enabled**.
If the value is **0**, run the **hdc\_std shell param set persist.ace.testmode.enabled 1** to enable the test mode.
-## Why Is Private Displayed in Logs When the Format Parameter Type of hilog in C++ Code Is %d or %s?
+## Why is private displayed in logs when the format parameter type of HiLog in C++ code is %d or %s?
When format parameters such as **%d** and **%s** are directly used, the standard system uses **private** to replace the actual data for printing by default to prevent data leakage. To print the actual data, replace **%d** with **%{public}d** or replace **%s** with **%{public}s**.
@@ -35,7 +35,7 @@ Applicable to: OpenHarmony SDK 3.2.2.5
You are advised to use the [HiLog](../reference/apis/js-apis-hilog.md) for log printing. For details about how to set the **domain** parameter, see the [Development Guide](../reference/apis/js-apis-hilog.md#hilogisloggable).
-## What is the maximum length of a log record when HiLog Is used? Is it configurable?
+## What is the maximum length of a log record when HiLog is used? Is it configurable?
Applicable to: OpenHarmony SDK 3.2.2.5
diff --git a/en/application-dev/faqs/faqs-file-management.md b/en/application-dev/faqs/faqs-file-management.md
index 1e3740047768d5d5fefa1420659c64da403ad587..adac2f5a6739a85c04005ef8068369776e90581c 100644
--- a/en/application-dev/faqs/faqs-file-management.md
+++ b/en/application-dev/faqs/faqs-file-management.md
@@ -1,15 +1,65 @@
# File Management Development
+## Does fileio.rmdir Delete Files Recursively?
+Applicable to: OpenHarmony SDK 3.2.6.3, stage model of API version 9
-## What If There is No Return Value or Error Captured After getAlbums Is Called?
+Yes. **fileio.rmdir** deletes files recursively.
+
+## How Do I Create a File That Does Not Exist?
+
+Applicable to: OpenHarmony SDK 3.2.6.3, stage model of API version 9
+
+You can use **fileio.open(filePath, 0o100, 0o666)**. The second parameter **0o100** means to create a file if it does not exist. The third parameter **mode** must also be specified.
+
+## What If "call fail callback fail, code: 202, data: json arguments illegal" Is Displayed?
+
+Applicable to: OpenHarmony SDK 3.2.6.3, stage model of API version 9
+
+When the **fileio** module is used to copy files, the file path cannot start with "file:///".
+
+## How Do I Read Files Outside the App Sandbox?
+
+Applicable to: OpenHarmony SDK 3.2.6.5, stage model of API version 9
+
+If the input parameter of the **fileio** API is **path**, only the sandbox directory of the current app obtained from the context can be accessed. To access data in other directories such as the user data, images, and videos, open the file as the data owner and operate with the file descriptor (FD) returned.
+
+For example, to read or write a file in Media Library, perform the following steps:
+
+1. Use **getFileAssets()** to obtain the **fileAsset** object.
+
+2. Use **fileAsset.open()** to obtain the FD.
+
+3. Use the obtained FD as the **fileIo** API parameter to read and write the file.
+
+## What If the File Contains Garbled Characters?
+
+Applicable to: OpenHarmony SDK 3.2.5.5, stage model of API version 9
+
+Read the file content from the buffer, and decode the file content using **util.TextDecoder**.
+
+Example:
+
+```
+import util from '@ohos.util'
+async function readFile(path) {
+ let stream = fileio.createStreamSync(path, "r+");
+ let readOut = await stream.read(new ArrayBuffer(4096));
+ let textDecoder = new util.TextDecoder("utf-8", { ignoreBOM: true });
+ let buffer = new Uint8Array(readOut.buffer)
+ let readString = textDecoder.decode(buffer, { stream: false });
+ console.log ("[Demo] File content read: "+ readString);
+}
+```
+
+## What Should I Do If There Is No Return Value or Error Captured After getAlbums Is Called?
Applicable to: OpenHarmony SDK 3.2.5.3, stage model of API version 9
-The **ohos.permission.READ_MEDIA** permission is required for calling **getAlbums**, and this permission needs user authorization. For details, see OpenHarmony [Application Permission List](../security/permission-list.md).
+The **ohos.permission.READ_MEDIA** is required for using **getAlbums()**. In addition, this permission needs user authorization. For details, see [OpenHarmony Permission List](../security/permission-list.md).
1. Configure the required permission in the **module.json5** file.
-
+
```
"requestPermissions": [
{
@@ -19,7 +69,7 @@ The **ohos.permission.READ_MEDIA** permission is required for calling **getAlbum
```
2. Add the code for user authorization before the **MainAbility.ts -> onWindowStageCreate** page is loaded.
-
+
```
private requestPermissions() {
let permissionList: Array = [
@@ -34,3 +84,21 @@ The **ohos.permission.READ_MEDIA** permission is required for calling **getAlbum
})
}
```
+
+## What Do I Do If the App Crashes When FetchFileResult() Is Called Multiple Times?
+
+Applicable to: OpenHarmony SDK 3.2.5.5, stage model of API version 9
+
+Each time after the **FetchFileResult** object is called, call **FetchFileResult.close()** to release and invalidate the **FetchFileResult** object .
+
+## What If An Error Is Reported by IDE When mediaLibrary.getMediaLibrary() Is Called in the Stage Model?
+
+Applicable to: OpenHarmony SDK 3.2.5.5, stage model of API version 9
+
+In the stage model, use **mediaLibrary.getMediaLibrary(context: Context)** to obtain the media library instance.
+
+## How Do I Sort the Data Returned by mediaLibrary.getFileAssets()?
+
+Applicable to: OpenHarmony SDK 3.2.5.5, stage model of API version 9
+
+Use the **order** attribute in **[MediaFetchOptions](../reference/apis/js-apis-medialibrary.md#mediafetchoptions7)** to sort the data returned.
diff --git a/en/application-dev/internationalization/intl-guidelines.md b/en/application-dev/internationalization/intl-guidelines.md
index 540e8dbf89029df9daa4825c5883eb7d41271412..f123a0b29a64a10b683f9fb90d163790e4f0524e 100644
--- a/en/application-dev/internationalization/intl-guidelines.md
+++ b/en/application-dev/internationalization/intl-guidelines.md
@@ -45,7 +45,7 @@ Use [Locale](../reference/apis/js-apis-intl.md#locale) APIs to maximize or minim
```js
var locale = "zh-CN";
- var options = {caseFirst: false, calendar: "chinese", collation: "pinyin"};
+ var options = {caseFirst: "false", calendar: "chinese", collation: "pinyin"};
var localeObj = new intl.Locale(locale, options);
```
@@ -347,4 +347,4 @@ The following sample is provided to help you better understand how to develop in
-[`International`: Internationalization (JS) (API8)](https://gitee.com/openharmony/applications_app_samples/tree/master/UI/International)
--[`International`: Internationalization (eTS) (API8) (Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/common/International)
+-[`International`: Internationalization (ArkTS) (API8) (Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/common/International)
diff --git a/en/application-dev/napi/Readme-EN.md b/en/application-dev/napi/Readme-EN.md
index 0030d1d3cceb059a7f0d4d8308b3ae223e8de990..b7e5367f1697800cafe3094c5a5a8f2cdb56677e 100644
--- a/en/application-dev/napi/Readme-EN.md
+++ b/en/application-dev/napi/Readme-EN.md
@@ -5,3 +5,4 @@
- [Raw File Development](rawfile-guidelines.md)
- [Native Window Development](native-window-guidelines.md)
- [Using MindSpore Lite for Model Inference](mindspore-lite-guidelines.md)
+- [Connecting the Neural Network Runtime to an AI Inference Framework](neural-network-runtime-guidelines.md)
diff --git a/en/application-dev/napi/figures/neural_network_runtime.png b/en/application-dev/napi/figures/neural_network_runtime.png
new file mode 100644
index 0000000000000000000000000000000000000000..6aafbdab8c2ed989f667acb4068b11b12cba58be
Binary files /dev/null and b/en/application-dev/napi/figures/neural_network_runtime.png differ
diff --git a/en/application-dev/napi/mindspore-lite-guidelines.md b/en/application-dev/napi/mindspore-lite-guidelines.md
index 47ede475575484d60317e9ed7e2afe586fb12524..420d09121f86b7a4612c2e7ad6fe5f29831be80b 100644
--- a/en/application-dev/napi/mindspore-lite-guidelines.md
+++ b/en/application-dev/napi/mindspore-lite-guidelines.md
@@ -24,7 +24,7 @@ APIs involved in MindSpore Lite model inference are categorized into context API
| ------------------ | ----------------- |
|OH_AI_ContextHandle OH_AI_ContextCreate()|Creates a context object.|
|void OH_AI_ContextSetThreadNum(OH_AI_ContextHandle context, int32_t thread_num)|Sets the number of runtime threads.|
-| void OH_AI_ContextSetThreadAffinityMode(OH_AI_ContextHandle context, int mode)|Sets the affinity mode for binding runtime threads to CPU cores, which are categorized into little cores and big cores depending on the CPU frequency.|
+| void OH_AI_ContextSetThreadAffinityMode(OH_AI_ContextHandle context, int mode)|Sets the affinity mode for binding runtime threads to CPU cores, which are classified into large, medium, and small cores based on the CPU frequency. You only need to bind the large or medium cores, but not small cores.|
|OH_AI_DeviceInfoHandle OH_AI_DeviceInfoCreate(OH_AI_DeviceType device_type)|Creates a runtime device information object.|
|void OH_AI_ContextDestroy(OH_AI_ContextHandle *context)|Destroys a context object.|
|void OH_AI_DeviceInfoSetEnableFP16(OH_AI_DeviceInfoHandle device_info, bool is_fp16)|Sets whether to enable float16 inference. This function is available only for CPU and GPU devices.|
diff --git a/en/application-dev/napi/neural-network-runtime-guidelines.md b/en/application-dev/napi/neural-network-runtime-guidelines.md
new file mode 100644
index 0000000000000000000000000000000000000000..9ae694fc12449634a75fae260050188b68e97804
--- /dev/null
+++ b/en/application-dev/napi/neural-network-runtime-guidelines.md
@@ -0,0 +1,491 @@
+# Connecting the Neural Network Runtime to an AI Inference Framework
+
+## When to Use
+
+As a bridge between the AI inference engine and acceleration chip, the Neural Network Runtime provides simplified Native APIs for the AI inference engine to perform end-to-end inference through the acceleration chip.
+
+This document uses the `Add` single-operator model shown in Figure 1 as an example to describe the development process of Neural Network Runtime. The `Add` operator involves two inputs, one parameter, and one output. Wherein, the `activation` parameter is used to specify the type of the activation function in the `Add` operator.
+
+**Figure 1** Add single-operator model
+
+
+## Preparing the Environment
+
+### Environment Requirements
+
+The environment requirements for the Neural Network Runtime are as follows:
+
+- System version: OpenHarmony master branch.
+- Development environment: Ubuntu 18.04 or later.
+- Access device: a standard device running OpenHarmony. The built-in hardware accelerator driver has been connected to the Neural Network Runtime through an HDI API.
+
+The Neural Network Runtime is opened to external systems through OpenHarmony Native APIs. Therefore, you need to use the Native development suite of the OpenHarmony to compile Neural Network Runtime applications. You can download the **ohos-sdk** package of the corresponding version from [Daily Build](http://ci.openharmony.cn/dailys/dailybuilds) in the OpenHarmony community and then decompress the package to obtain the Native development suite of the corresponding platform. Take Linux as an example. The package of the Native development suite is named `native-linux-{version number}.zip`.
+
+### Environment Setup
+
+1. Start the Ubuntu server.
+2. Copy the downloaded package of the Native development suite to the root directory of the current user.
+3. Decompress the package of the Native development suite.
+```shell
+unzip native-linux-{version number}.zip
+```
+
+The directory structure after decompression is as follows. The content in the directory may vary depending on version iteration. Use the Native APIs of the latest version.
+```text
+native/
+─ ─ build // Cross-compilation toolchain
+─ ─ build-tools // Compilation and build tools
+├── docs
+├── llvm
+├── nativeapi_syscap_config.json
+├── ndk_system_capability.json
+├── NOTICE.txt
+├── oh-uni-package.json
+── sysroot // Native API header files and libraries
+```
+## Available APIs
+
+This section describes the common APIs used in the development process of the Neural Network Runtime.
+
+### Structure
+
+| Name| Description|
+| --------- | ---- |
+| typedef struct OH_NNModel OH_NNModel | Model handle of the Neural Network Runtime. It is used to construct a model.|
+| typedef struct OH_NNCompilation OH_NNCompilation | Compiler handle of the Neural Network Runtime. It is used to compile an AI model.|
+| typedef struct OH_NNExecutor OH_NNExecutor | Executor handle of the Neural Network Runtime. It is used to perform inference computing on a specified device.|
+
+### Model Construction APIs
+
+| Name| Description|
+| ------- | --- |
+| OH_NNModel_Construct() | Creates a model instance of the OH_NNModel type.|
+| OH_NN_ReturnCode OH_NNModel_AddTensor(OH_NNModel *model, const OH_NN_Tensor *tensor) | Adds a tensor to a model instance.|
+| OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, uint32_t index, const void *dataBuffer, size_t length) | Sets the tensor value.|
+| OH_NN_ReturnCode OH_NNModel_AddOperation(OH_NNModel *model, OH_NN_OperationType op, const OH_NN_UInt32Array *paramIndices, const OH_NN_UInt32Array *inputIndices, const OH_NN_UInt32Array *outputIndices) | Adds an operator to a model instance.|
+| OH_NN_ReturnCode OH_NNModel_SpecifyInputsAndOutputs(OH_NNModel *model, const OH_NN_UInt32Array *inputIndices, const OH_NN_UInt32Array *outputIndices) | Specifies the model input and output.|
+| OH_NN_ReturnCode OH_NNModel_Finish(OH_NNModel *model) | Completes model composition.|
+| void OH_NNModel_Destroy(OH_NNModel **model) | Destroys a model instance.|
+
+### Model Compilation APIs
+
+| Name| Description|
+| ------- | --- |
+| OH_NNCompilation *OH_NNCompilation_Construct(const OH_NNModel *model) | Creates a compilation instance of the OH_NNCompilation type.|
+| OH_NN_ReturnCode OH_NNCompilation_SetDevice(OH_NNCompilation *compilation, size_t deviceID) | Specifies the device for model compilation and computing.|
+| OH_NN_ReturnCode OH_NNCompilation_SetCache(OH_NNCompilation *compilation, const char *cachePath, uint32_t version) | Sets the cache directory and version of the compiled model.|
+| OH_NN_ReturnCode OH_NNCompilation_Build(OH_NNCompilation *compilation) | Performs model compilation.|
+| void OH_NNCompilation_Destroy(OH_NNCompilation **compilation) | Destroys the OH_NNCompilation instance.|
+
+### Inference Execution APIs
+
+| Name| Description|
+| ------- | --- |
+| OH_NNExecutor *OH_NNExecutor_Construct(OH_NNCompilation *compilation) | Creates an executor instance of the OH_NNExecutor type.|
+| OH_NN_ReturnCode OH_NNExecutor_SetInput(OH_NNExecutor *executor, uint32_t inputIndex, const OH_NN_Tensor *tensor, const void *dataBuffer, size_t length) | Sets the single input data for a model.|
+| OH_NN_ReturnCode OH_NNExecutor_SetOutput(OH_NNExecutor *executor, uint32_t outputIndex, void *dataBuffer, size_t length) | Sets the buffer for a single output of a model.|
+| OH_NN_ReturnCode OH_NNExecutor_Run(OH_NNExecutor *executor) | Executes model inference.|
+| void OH_NNExecutor_Destroy(OH_NNExecutor **executor) | Destroys the OH_NNExecutor instance to release the memory occupied by the instance.|
+
+### Device Management APIs
+
+| Name| Description|
+| ------- | --- |
+| OH_NN_ReturnCode OH_NNDevice_GetAllDevicesID(const size_t **allDevicesID, uint32_t *deviceCount) | Obtains the ID of the device connected to the Neural Network Runtime.|
+
+
+## How to Develop
+
+The development process of the Neural Network Runtime consists of three phases: model construction, model compilation, and inference execution. The following uses the `Add` single-operator model as an example to describe how to call Neural Network Runtime APIs during application development.
+
+1. Create an application sample file.
+
+ Create the source file of the Neural Network Runtime application sample. Run the following commands in the project directory to create the `nnrt_example/` directory and create the `nnrt_example.cpp` source file in the directory:
+
+ ```shell
+ mkdir ~/nnrt_example && cd ~/nnrt_example
+ touch nnrt_example.cpp
+ ```
+
+2. Import the Neural Network Runtime module.
+
+ Add the following code at the beginning of the `nnrt_example.cpp` file to import the Neural Network Runtime module:
+
+ ```cpp
+ #include
+ #include
+ #include
+
+ #include "neural_network_runtime/neural_network_runtime.h"
+
+ // Constant, used to specify the byte length of the input and output data.
+ const size_t DATA_LENGTH = 4 * 12;
+ ```
+
+3. Construct a model.
+
+ Use Neural Network Runtime APIs to construct an `Add` single-operator sample model.
+
+ ```cpp
+ OH_NN_ReturnCode BuildModel(OH_NNModel** pModel)
+ {
+ // Create a model instance and construct a model.
+ OH_NNModel* model = OH_NNModel_Construct();
+ if (model == nullptr) {
+ std::cout << "Create model failed." << std::endl;
+ return OH_NN_MEMORY_ERROR;
+ }
+
+ // Add the first input tensor of the float32 type for the Add operator. The tensor shape is [1, 2, 2, 3].
+ int32_t inputDims[4] = {1, 2, 2, 3};
+ OH_NN_Tensor input1 = {OH_NN_FLOAT32, 4, inputDims, nullptr, OH_NN_TENSOR};
+ OH_NN_ReturnCode ret = OH_NNModel_AddTensor(model, &input1);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "BuildModel failed, add Tensor of first input failed." << std::endl;
+ return ret;
+ }
+
+ // Add the second input tensor of the float32 type for the Add operator. The tensor shape is [1, 2, 2, 3].
+ OH_NN_Tensor input2 = {OH_NN_FLOAT32, 4, inputDims, nullptr, OH_NN_TENSOR};
+ ret = OH_NNModel_AddTensor(model, &input2);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "BuildModel failed, add Tensor of second input failed." << std::endl;
+ return ret;
+ }
+
+ // Add the Tensor parameter of the Add operator. This parameter is used to specify the type of the activation function. The data type of the Tensor parameter is int8.
+ int32_t activationDims = 1;
+ int8_t activationValue = OH_NN_FUSED_NONE;
+ OH_NN_Tensor activation = {OH_NN_INT8, 1, &activationDims, nullptr, OH_NN_ADD_ACTIVATIONTYPE};
+ ret = OH_NNModel_AddTensor(model, &activation);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "BuildModel failed, add Tensor of activation failed." << std::endl;
+ return ret;
+ }
+
+ // Set the type of the activation function to OH_NN_FUSED_NONE, indicating that no activation function is added to the operator.
+ ret = OH_NNModel_SetTensorData(model, 2, &activationValue, sizeof(int8_t));
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "BuildModel failed, set value of activation failed." << std::endl;
+ return ret;
+ }
+
+ // Set the output of the Add operator. The data type is float32 and the tensor shape is [1, 2, 2, 3].
+ OH_NN_Tensor output = {OH_NN_FLOAT32, 4, inputDims, nullptr, OH_NN_TENSOR};
+ ret = OH_NNModel_AddTensor(model, &output);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "BuildModel failed, add Tensor of output failed." << std::endl;
+ return ret;
+ }
+
+ // Specify the input, parameter, and output indexes of the Add operator.
+ uint32_t inputIndicesValues[2] = {0, 1};
+ uint32_t paramIndicesValues = 2;
+ uint32_t outputIndicesValues = 3;
+ OH_NN_UInt32Array paramIndices = {¶mIndicesValues, 1};
+ OH_NN_UInt32Array inputIndices = {inputIndicesValues, 2};
+ OH_NN_UInt32Array outputIndices = {&outputIndicesValues, 1};
+
+ // Add the Add operator to the model instance.
+ ret = OH_NNModel_AddOperation(model, OH_NN_OPS_ADD, ¶mIndices, &inputIndices, &outputIndices);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "BuildModel failed, add operation failed." << std::endl;
+ return ret;
+ }
+
+ // Set the input and output indexes of the model instance.
+ ret = OH_NNModel_SpecifyInputsAndOutputs(model, &inputIndices, &outputIndices);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "BuildModel failed, specify inputs and outputs failed." << std::endl;
+ return ret;
+ }
+
+ // Complete the model instance construction.
+ ret = OH_NNModel_Finish(model);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "BuildModel failed, error happened when finishing model construction." << std::endl;
+ return ret;
+ }
+
+ *pModel = model;
+ return OH_NN_SUCCESS;
+ }
+ ```
+
+4. Query the acceleration chip connected to the Neural Network Runtime.
+
+ The Neural Network Runtime can connect to multiple acceleration chips through HDI APIs. Before model compilation, you need to query the acceleration chips connected to the Neural Network Runtime on the current device. Each acceleration chip has a unique ID. In the compilation phase, you need to specify the chip for model compilation based on the device ID.
+ ```cpp
+ void GetAvailableDevices(std::vector& availableDevice)
+ {
+ availableDevice.clear();
+
+ // Obtain the available hardware ID.
+ const size_t* devices = nullptr;
+ uint32_t deviceCount = 0;
+ OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(&devices, &deviceCount);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "GetAllDevicesID failed, get no available device." << std::endl;
+ return;
+ }
+
+ for (uint32_t i = 0; i < deviceCount; i++) {
+ availableDevice.emplace_back(devices[i]);
+ }
+ }
+ ```
+
+5. Compile a model on the specified device.
+
+ The Neural Network Runtime uses abstract model expressions to describe the topology structure of an AI model. Before inference execution on an acceleration chip, the compilation module provided by Neural Network Runtime needs to deliver the abstract model expression to the chip driver layer and convert the abstract model expression into a format that supports inference and computing.
+ ```cpp
+ OH_NN_ReturnCode CreateCompilation(OH_NNModel* model, const std::vector& availableDevice, OH_NNCompilation** pCompilation)
+ {
+ // Create a compilation instance to pass the model to the underlying hardware for compilation.
+ OH_NNCompilation* compilation = OH_NNCompilation_Construct(model);
+ if (compilation == nullptr) {
+ std::cout << "CreateCompilation failed, error happended when creating compilation." << std::endl;
+ return OH_NN_MEMORY_ERROR;
+ }
+
+ // Set compilation options, such as the compilation hardware, cache path, performance mode, computing priority, and whether to enable float16 low-precision computing.
+
+ // Choose to perform model compilation on the first device.
+ OH_NN_ReturnCode ret = OH_NNCompilation_SetDevice(compilation, availableDevice[0]);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "CreateCompilation failed, error happened when setting device." << std::endl;
+ return ret;
+ }
+
+ // Have the model compilation result cached in the /data/local/tmp directory, with the version number set to 1.
+ ret = OH_NNCompilation_SetCache(compilation, "/data/local/tmp", 1);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "CreateCompilation failed, error happened when setting cache path." << std::endl;
+ return ret;
+ }
+
+ // Start model compilation.
+ ret = OH_NNCompilation_Build(compilation);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "CreateCompilation failed, error happened when building compilation." << std::endl;
+ return ret;
+ }
+
+ *pCompilation = compilation;
+ return OH_NN_SUCCESS;
+ }
+ ```
+
+6. Create an executor.
+
+ After the model compilation is complete, you need to call the execution module of the Neural Network Runtime to create an inference executor. In the execution phase, operations such as setting the model input, obtaining the model output, and triggering inference computing are performed through the executor.
+ ```cpp
+ OH_NNExecutor* CreateExecutor(OH_NNCompilation* compilation)
+ {
+ // Create an executor instance.
+ OH_NNExecutor* executor = OH_NNExecutor_Construct(compilation);
+ return executor;
+ }
+ ```
+
+7. Perform inference computing and print the computing result.
+
+ The input data required for inference computing is passed to the executor through the API provided by the execution module. This way, the executor is triggered to perform inference computing once to obtain the inference computing result.
+ ```cpp
+ OH_NN_ReturnCode Run(OH_NNExecutor* executor)
+ {
+ // Construct sample data.
+ float input1[12] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11};
+ float input2[12] = {11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22};
+
+ int32_t inputDims[4] = {1, 2, 2, 3};
+ OH_NN_Tensor inputTensor1 = {OH_NN_FLOAT32, 4, inputDims, nullptr, OH_NN_TENSOR};
+ OH_NN_Tensor inputTensor2 = {OH_NN_FLOAT32, 4, inputDims, nullptr, OH_NN_TENSOR};
+
+ // Set the execution input.
+
+ // Set the first input for execution. The input data is specified by input1.
+ OH_NN_ReturnCode ret = OH_NNExecutor_SetInput(executor, 0, &inputTensor1, input1, DATA_LENGTH);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "Run failed, error happened when setting first input." << std::endl;
+ return ret;
+ }
+
+ // Set the second input for execution. The input data is specified by input2.
+ ret = OH_NNExecutor_SetInput(executor, 1, &inputTensor2, input2, DATA_LENGTH);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "Run failed, error happened when setting second input." << std::endl;
+ return ret;
+ }
+
+ // Set the output data cache. After the OH_NNExecutor_Run instance performs inference computing, the output result is stored in the output.
+ float output[12];
+ ret = OH_NNExecutor_SetOutput(executor, 0, output, DATA_LENGTH);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "Run failed, error happened when setting output buffer." << std::endl;
+ return ret;
+ }
+
+ // Perform inference computing.
+ ret = OH_NNExecutor_Run(executor);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "Run failed, error doing execution." << std::endl;
+ return ret;
+ }
+
+ // Print the output result.
+ for (uint32_t i = 0; i < 12; i++) {
+ std::cout << "Output index: " << i << ", value is: " << output[i] << "." << std::endl;
+ }
+
+ return OH_NN_SUCCESS;
+ }
+ ```
+
+8. Build an end-to-end process from model construction to model compilation and execution.
+
+ Steps 3 to 7 implement the model construction, compilation, and execution processes and encapsulates them into four functions to facilitate modular development. The following sample code shows how to concatenate the four functions into a complete Neural Network Runtime the development process.
+ ```cpp
+ int main()
+ {
+ OH_NNModel* model = nullptr;
+ OH_NNCompilation* compilation = nullptr;
+ OH_NNExecutor* executor = nullptr;
+ std::vector availableDevices;
+
+ // Perform model construction.
+ OH_NN_ReturnCode ret = BuildModel(&model);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "BuildModel failed." << std::endl;
+ OH_NNModel_Destroy(&model);
+ return -1;
+ }
+
+ // Obtain the available devices.
+ GetAvailableDevices(availableDevices);
+ if (availableDevices.empty()) {
+ std::cout << "No available device." << std::endl;
+ OH_NNModel_Destroy(&model);
+ return -1;
+ }
+
+ // Perform model compilation.
+ ret = CreateCompilation(model, availableDevices, &compilation);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "CreateCompilation failed." << std::endl;
+ OH_NNModel_Destroy(&model);
+ OH_NNCompilation_Destroy(&compilation);
+ return -1;
+ }
+
+ // Create an inference executor for the model.
+ executor = CreateExecutor(compilation);
+ if (executor == nullptr) {
+ std::cout << "CreateExecutor failed, no executor is created." << std::endl;
+ OH_NNModel_Destroy(&model);
+ OH_NNCompilation_Destroy(&compilation);
+ return -1;
+ }
+
+ // Use the created executor to perform single-step inference computing.
+ ret = Run(executor);
+ if (ret != OH_NN_SUCCESS) {
+ std::cout << "Run failed." << std::endl;
+ OH_NNModel_Destroy(&model);
+ OH_NNCompilation_Destroy(&compilation);
+ OH_NNExecutor_Destroy(&executor);
+ return -1;
+ }
+
+ // Destroy the model to release occupied resources.
+ OH_NNModel_Destroy(&model);
+ OH_NNCompilation_Destroy(&compilation);
+ OH_NNExecutor_Destroy(&executor);
+
+ return 0;
+ }
+ ```
+
+## Verification
+
+1. Prepare the compilation configuration file of the application sample.
+
+ Create a `CMakeLists.txt` file, and add compilation configurations to the application sample file `nnrt_example.cpp`. The following is a simple example of the `CMakeLists.txt` file:
+ ```text
+ cmake_minimum_required(VERSION 3.16)
+ project(nnrt_example C CXX)
+
+ add_executable(nnrt_example
+ ./nnrt_example.cpp
+ )
+
+ target_link_libraries(nnrt_example
+ neural_network_runtime.z
+ )
+ ```
+
+2. Compile the application sample.
+
+ Create the **build/** directory in the current directory, and compile `nnrt\_example.cpp` in the **build/** directory to obtain the binary file `nnrt\_example`:
+ ```shell
+ mkdir build && cd build
+ cmake -DCMAKE_TOOLCHAIN_FILE={Path of the cross-compilation tool chain }/build/cmake/ohos.toolchain.cmake -DOHOS_ARCH=arm64-v8a -DOHOS_PLATFORM=OHOS -DOHOS_STL=c++_static ..
+ make
+ ```
+
+3. Push the application sample to the device for execution.
+ ```shell
+ # Push the `nnrt_example` obtained through compilation to the device, and execute it.
+ hdc_std file send ./nnrt_example /data/local/tmp/.
+
+ # Grant required permissions to the executable file of the test case.
+ hdc_std shell "chmod +x /data/local/tmp/nnrt_example"
+
+ # Execute the test case.
+ hdc_std shell "/data/local/tmp/nnrt_example"
+ ```
+
+ If the execution is normal, information similar to the following is displayed:
+ ```text
+ Output index: 0, value is: 11.000000.
+ Output index: 1, value is: 13.000000.
+ Output index: 2, value is: 15.000000.
+ Output index: 3, value is: 17.000000.
+ Output index: 4, value is: 19.000000.
+ Output index: 5, value is: 21.000000.
+ Output index: 6, value is: 23.000000.
+ Output index: 7, value is: 25.000000.
+ Output index: 8, value is: 27.000000.
+ Output index: 9, value is: 29.000000.
+ Output index: 10, value is: 31.000000.
+ Output index: 11, value is: 33.000000.
+ ```
+
+4. (Optional) Check the model cache.
+
+ If the HDI service connected to the Neural Network Runtime supports the model cache function, you can find the generated cache file in the `/data/local/tmp` directory after the `nnrt_example` is executed successfully.
+
+ > **NOTE**
+ >
+ > The IR graphs of the model need to be passed to the hardware driver layer, so that the HDI service compiles the IR graphs into a computing graph dedicated to hardware. The compilation process is time-consuming. The Neural Network Runtime supports the computing graph cache feature. It can cache the computing graphs compiled by the HDI service to the device storage. If the same model is compiled on the same acceleration chip next time, you can specify the cache path so that the Neural Network Runtime can directly load the computing graphs in the cache file, reducing the compilation time.
+
+ Check the cached files in the cache directory.
+ ```shell
+ ls /data/local/tmp
+ ```
+
+ The command output is as follows:
+ ```text
+ # 0.nncache cache_info.nncache
+ ```
+
+ If the cache is no longer used, manually delete the cache files.
+ ```shell
+ rm /data/local/tmp/*nncache
+ ```
+
+## Samples
+
+The following sample is provided to help you understand how to connect a third-party AI inference framework to the Neural Network Runtime:
+- [Development Guide for Connecting TensorFlow Lite to NNRt Delegate](https://gitee.com/openharmony/neural_network_runtime/tree/master/example/deep_learning_framework)
+
diff --git a/en/application-dev/reference/Readme-EN.md b/en/application-dev/reference/Readme-EN.md
index e5e4ee0ea6213711aa17f1458385298f545d454e..80356f76fa74323530b24e2e503ea9dc09af1e81 100644
--- a/en/application-dev/reference/Readme-EN.md
+++ b/en/application-dev/reference/Readme-EN.md
@@ -1,8 +1,11 @@
# Development References
+- [SystemCapability](syscap.md)
- [SysCap List](syscap-list.md)
- [Component Reference (ArkTS-based Declarative Development Paradigm)](arkui-ts/Readme-EN.md)
- [Component Reference (JavaScript-compatible Web-like Development Paradigm)](arkui-js/Readme-EN.md)
-- [API Reference (JS and TS APIs)](apis/Readme-EN.md)
+- [JS Service Widget UI Component Reference](js-service-widget-ui/Readme-EN.md)
+- [API Reference (ArkTS and JS APIs)](apis/Readme-EN.md)
+- [Error Codes](errorcodes/Readme-EN.md)
- API Reference (Native APIs)
- [Standard Libraries Supported by Native APIs](native-lib/Readme-EN.md)
diff --git a/en/application-dev/reference/apis/js-apis-accessibility-GesturePath.md b/en/application-dev/reference/apis/js-apis-accessibility-GesturePath.md
new file mode 100644
index 0000000000000000000000000000000000000000..34d4df8dd99bb528ae79d8d13de74f491f75f3db
--- /dev/null
+++ b/en/application-dev/reference/apis/js-apis-accessibility-GesturePath.md
@@ -0,0 +1,46 @@
+# @ohos.accessibility.GesturePath
+
+ The **GesturePath** module provides APIs for creating gesture path information required for an accessibility application to inject gestures.
+
+> **NOTE**
+>
+> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+
+## Modules to Import
+
+```ts
+import GesturePath from '@ohos.accessibility.GesturePath';
+```
+
+## GesturePath
+
+Defines a gesture path.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+### Attributes
+
+| Name | Type | Readable | Writable | Description |
+| ------------ | ---------------------------------------- | ---- | ---- | ------ |
+| points | Array<[GesturePoint](js-apis-accessibility-GesturePoint.md#gesturepoint)> | Yes | Yes | Gesture touch point. |
+| durationTime | number | Yes | Yes | Total gesture duration, in milliseconds.|
+
+### constructor
+
+constructor(durationTime: number);
+
+Constructor used to create a **GesturePath** object.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| durationTime | number | Yes| Total gesture duration, in milliseconds.|
+
+**Example**
+
+```ts
+let gesturePath = new GesturePath.GesturePath(20);
+```
diff --git a/en/application-dev/reference/apis/js-apis-accessibility-GesturePoint.md b/en/application-dev/reference/apis/js-apis-accessibility-GesturePoint.md
new file mode 100644
index 0000000000000000000000000000000000000000..5792c44cd9fc89cf495e943a4e40463ce89281c4
--- /dev/null
+++ b/en/application-dev/reference/apis/js-apis-accessibility-GesturePoint.md
@@ -0,0 +1,47 @@
+# @ohos.accessibility.GesturePoint
+
+ The **GesturePoint** module provides APIs for creating gesture touch point information required for an accessibility application to inject gestures.
+
+> **NOTE**
+>
+> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+
+## Modules to Import
+
+```ts
+import GesturePoint from '@ohos.accessibility.GesturePoint';
+```
+
+## GesturePoint
+
+Defines a gesture touch point.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+### Attributes
+
+| Name | Type | Readable | Writable | Description |
+| --------- | ------ | ---- | ---- | ------- |
+| positionX | number | Yes | Yes | X coordinate of the touch point.|
+| positionY | number | Yes | Yes | Y coordinate of the touch point.|
+
+### constructor
+
+constructor(positionX: number, positionY: number);
+
+Constructor used to create a **GesturePoint** object.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| positionX | number | Yes| X coordinate of the touch point.|
+| positionY | number | Yes | Y coordinate of the touch point.|
+
+**Example**
+
+```ts
+let gesturePoint = new GesturePoint.GesturePoint(1, 2);
+```
diff --git a/en/application-dev/reference/apis/js-apis-accessibility-config.md b/en/application-dev/reference/apis/js-apis-accessibility-config.md
index c33230f7181ce92a50cee6c1417eb5d71a124f68..33b6f586279309125be085e8a28d5423b271fae3 100644
--- a/en/application-dev/reference/apis/js-apis-accessibility-config.md
+++ b/en/application-dev/reference/apis/js-apis-accessibility-config.md
@@ -1,17 +1,16 @@
-# System Accessibility Configuration
+# @ohos.accessibility.config
-The **config** module allows you to configure system accessibility features, including accessibility extension, high-contrast text, mouse buttons, and captions.
+The System Accessibility Configuration module allows you to configure system accessibility features, including accessibility extension, high-contrast text, mouse buttons, and captions.
> **NOTE**
>
-> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
->
-> The APIs provided by this module are system APIs.
+> - The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+> - The APIs provided by this module are system APIs.
## Modules to Import
-```typescript
-import config from "@ohos.accessibility.config";
+```ts
+import config from '@ohos.accessibility.config';
```
## Attributes
@@ -22,20 +21,20 @@ import config from "@ohos.accessibility.config";
| -------- | -------- | -------- | -------- | -------- |
| highContrastText | [Config](#config)\| Yes| Yes| Whether to enable high-contrast text.|
| invertColor | [Config](#config)\| Yes| Yes| Whether to enable color inversion.|
-| daltonizationColorFilter | [Config](#config)\<[DaltonizationColorFilter](#daltonizationcolorfilter)>| Yes| Yes| Daltonization filter. |
+| daltonizationColorFilter | [Config](#config)<[DaltonizationColorFilter](#daltonizationcolorfilter)>| Yes| Yes| Configuration of the daltonization filter.|
| contentTimeout | [Config](#config)\| Yes| Yes| Recommended duration for content display. The value ranges from 0 to 5000, in milliseconds.|
-| animationOff | [Config](#config)\| Yes| Yes| Whether to enable animation.|
+| animationOff | [Config](#config)\| Yes| Yes| Whether to disable animation.|
| brightnessDiscount | [Config](#config)\| Yes| Yes| Brightness discount. The value ranges from 0 to 1.0.|
| mouseKey | [Config](#config)\| Yes| Yes| Whether to enable the mouse button feature.|
-| mouseAutoClick | [Config](#config)\| Yes| Yes| Interval for the automatic mouse clicks. The value ranges from 0 to 5000, in milliseconds.|
+| mouseAutoClick | [Config](#config)\| Yes| Yes| Interval for automatic mouse clicks. The value ranges from 0 to 5000, in milliseconds.|
| shortkey | [Config](#config)\| Yes| Yes| Whether to enable the accessibility extension shortcut key.|
-| shortkeyTarget | [Config](#config)\| Yes| Yes| Target application for the accessibility extension shortcut key. The value format is bundleName/abilityName.|
+| shortkeyTarget | [Config](#config)\| Yes| Yes| Target application for the accessibility extension shortcut key. The value format is 'bundleName/abilityName'.|
| captions | [Config](#config)\| Yes| Yes| Whether to enable captions.|
-| captionsStyle | [Config](#config)\<[accessibility.CaptionsStyle](./js-apis-accessibility.md#captionsstyle8)>| Yes| Yes| Captions style.|
+| captionsStyle | [Config](#config)\<[accessibility.CaptionsStyle](js-apis-accessibility.md#captionsstyle8)>| Yes| Yes| Captions style.|
## enableAbility
-enableAbility(name: string, capability: Array<[accessibility.Capability](./js-apis-accessibility.md#capability)>): Promise<void>;
+enableAbility(name: string, capability: Array<accessibility.Capability>): Promise<void>;
Enables an accessibility extension ability. This API uses a promise to return the result.
@@ -45,29 +44,44 @@ Enables an accessibility extension ability. This API uses a promise to return th
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| name | string | Yes| Name of the accessibility extension ability. The format is bundleName/abilityName.|
-| capability | Array<[accessibility.Capability](./js-apis-accessibility.md#capability)>) | Yes| Capability of the accessibility extension ability.|
+| name | string | Yes| Name of the accessibility extension ability. The format is 'bundleName/abilityName'.|
+| capability | Array<[accessibility.Capability](js-apis-accessibility.md#capability)> | Yes| Capability of the accessibility extension ability.|
**Return value**
| Type| Description|
| -------- | -------- |
-| Promise<void> | Promise used to return the execution result.|
+| Promise<void> | Promise that returns no value.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300001 | Invalid bundle name or ability name. |
+| 9300002 | Target ability already enabled. |
**Example**
- ```typescript
- config.enableAbility("com.ohos.example/axExtension", ['retrieve'])
- .then(() => {
- console.info('enable succeed');
- }).catch((error) => {
- console.error('enable failed');
- });
- ```
+```ts
+import accessibility from '@ohos.accessibility';
+let name = 'com.ohos.example/axExtension';
+let capability : accessibility.Capability[] = ['retrieve'];
+try {
+ config.enableAbility(name, capability).then(() => {
+ console.info('enable ability succeed');
+ }).catch((err) => {
+ console.error('failed to enable ability, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to enable ability, because ' + JSON.stringify(exception));
+};
+```
## enableAbility
-enableAbility(name: string, capability: Array<[accessibility.Capability](./js-apis-accessibility.md#capability)>, callback: AsyncCallback<void>): void;
+enableAbility(name: string, capability: Array<accessibility.Capability>, callback: AsyncCallback<void>): void;
Enables an accessibility extension ability. This API uses an asynchronous callback to return the result.
@@ -77,21 +91,37 @@ Enables an accessibility extension ability. This API uses an asynchronous callba
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| name | string | Yes| Name of the accessibility extension ability. The format is bundleName/abilityName.|
-| capability | Array<[accessibility.Capability](./js-apis-accessibility.md#capability)> | Yes| Capability of the accessibility extension ability.|
-| callback | AsyncCallback<void> | Yes| Callback used to return the execution result.|
+| name | string | Yes| Name of the accessibility extension ability. The format is 'bundleName/abilityName'.|
+| capability | Array<[accessibility.Capability](js-apis-accessibility.md#capability)> | Yes| Capability of the accessibility extension ability.|
+| callback | AsyncCallback<void> | Yes| Callback used to return the result.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300001 | Invalid bundle name or ability name. |
+| 9300002 | Target ability already enabled. |
**Example**
- ```typescript
- config.enableAbility("com.ohos.example/axExtension", ['retrieve'], (err, data) => {
- if (err) {
- console.error('enable failed');
- return;
- }
- console.info('enable succeed');
- })
- ```
+```ts
+import accessibility from '@ohos.accessibility';
+let name = 'com.ohos.example/axExtension';
+let capability : accessibility.Capability[] = ['retrieve'];
+try {
+ config.enableAbility(name, capability, (err) => {
+ if (err) {
+ console.error('failed to enable ability, because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('enable ability succeed');
+ });
+} catch (exception) {
+ console.error('failed to enable ability, because ' + JSON.stringify(exception));
+};
+```
## disableAbility
@@ -105,24 +135,36 @@ Disables an accessibility extension ability. This API uses a promise to return t
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| name | string | Yes| Name of the accessibility extension ability. The format is bundleName/abilityName.|
+| name | string | Yes| Name of the accessibility extension ability. The format is 'bundleName/abilityName'.|
**Return value**
| Type| Description|
| -------- | -------- |
-| Promise<void> | Promise used to return the execution result.|
+| Promise<void> | Promise that returns no value.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300001 | Invalid bundle name or ability name. |
**Example**
- ```typescript
- config.disableAbility("com.ohos.example/axExtension")
- .then(() => {
- console.info('disable succeed');
- }).catch((error) => {
- console.error('disable failed');
- });
- ```
+```ts
+let name = 'com.ohos.example/axExtension';
+try {
+ config.disableAbility(name).then(() => {
+ console.info('disable ability succeed');
+ }).catch((err) => {
+ console.error('failed to disable ability, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to disable ability, because ' + JSON.stringify(exception));
+};
+```
## disableAbility
@@ -136,26 +178,39 @@ Disables an accessibility extension ability. This API uses an asynchronous callb
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| name | string | Yes| Name of the accessibility extension ability. The format is bundleName/abilityName.|
-| callback | AsyncCallback<void> | Yes| Callback used to return the execution result.|
+| name | string | Yes| Name of the accessibility extension ability. The format is 'bundleName/abilityName'.|
+| callback | AsyncCallback<void> | Yes| Callback used to return the result.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300001 | Invalid bundle name or ability name. |
**Example**
- ```typescript
- config.disableAbility("com.ohos.example/axExtension", (err, data) => {
- if (err) {
- console.error('disable failed');
- return;
- }
- console.info('disable succeed');
- })
- ```
+```ts
+let name = 'com.ohos.example/axExtension';
+try {
+ config.disableAbility(name, (err, data) => {
+ if (err) {
+ console.error('failed to enable ability, because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('disable succeed');
+ });
+} catch (exception) {
+ console.error('failed to enable ability, because ' + JSON.stringify(exception));
+};
+```
-## on('enableAbilityListsStateChanged')
+## on('enabledAccessibilityExtensionListChange')
-on(type: 'enableAbilityListsStateChanged', callback: Callback<void>): void;
+on(type: 'enabledAccessibilityExtensionListChange', callback: Callback<void>): void;
-Adds a listener for changes in the list of enabled accessibility extension abilities.
+Adds a listener for changes in the list of enabled accessibility extension abilities. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -163,22 +218,27 @@ Adds a listener for changes in the list of enabled accessibility extension abili
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| type | string | Yes| Listening type. The value is fixed at **'enableAbilityListsStateChanged'**, indicating the changes in the list of enabled accessibility extension abilities. |
+| type | string | Yes| Listening type. The value is fixed at **'enabledAccessibilityExtensionListChange'**, indicating listening for changes in the list of enabled accessibility extension abilities.|
| callback | Callback<void> | Yes| Callback invoked when the list of enabled accessibility extension abilities changes.|
**Example**
- ```typescript
- config.on('enableAbilityListsStateChanged',() => {
- console.info('ax extension ability enable list changed');
- });
- ```
+```ts
+try {
+ config.on('enabledAccessibilityExtensionListChange', () => {
+ console.info('subscribe enabled accessibility extension list change state success');
+ });
+} catch (exception) {
+ console.error('failed to subscribe enabled accessibility extension list change state, because ' +
+ JSON.stringify(exception));
+};
+```
-## off('enableAbilityListsStateChanged')
+## off('enabledAccessibilityExtensionListChange')
-off(type: 'enableAbilityListsStateChanged', callback?: Callback<void>): void;
+off(type: 'enabledAccessibilityExtensionListChange', callback?: Callback<void>): void;
-Cancels the listener for changes in the list of enabled accessibility extension abilities.
+Cancels the listener for changes in the list of enabled accessibility extension abilities. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -186,14 +246,21 @@ Cancels the listener for changes in the list of enabled accessibility extension
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| type | string | No| Listening type. The value is fixed at **'enableAbilityListsStateChanged'**, indicating the changes in the list of enabled accessibility extension abilities. |
+| type | string | Yes| Listening type. The value is fixed at **'enabledAccessibilityExtensionListChange'**, indicating listening for changes in the list of enabled accessibility extension abilities.|
| callback | Callback<void> | No| Callback invoked when the list of enabled accessibility extension abilities changes.|
**Example**
- ```typescript
- config.off('enableAbilityListsStateChanged');
- ```
+```ts
+try {
+ config.off('enabledAccessibilityExtensionListChange', () => {
+ console.info('Unsubscribe enabled accessibility extension list change state success');
+ });
+} catch (exception) {
+ console.error('failed to Unsubscribe enabled accessibility extension list change state, because ' +
+ JSON.stringify(exception));
+};
+```
## Config
@@ -203,7 +270,7 @@ Implements configuration, acquisition, and listening for attributes.
set(value: T): Promise<void>;
-Sets this attribute. This API uses a promise to return the result.
+Sets the attribute value. This API uses a promise to return the result.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -217,24 +284,28 @@ Sets this attribute. This API uses a promise to return the result.
| Type| Description|
| -------- | -------- |
-| Promise<void> | Promise used to return the execution result.|
+| Promise<void> | Promise that returns no value.|
**Example**
- ```typescript
- config.highContrastText.set(true)
- .then(() => {
- console.info('highContrastText set succeed');
- }).catch((error) => {
- console.error('highContrastText set failed');
- });
- ```
+```ts
+let value = true;
+try {
+ config.highContrastText.set(value).then(() => {
+ console.info('set highContrastText succeed');
+ }).catch((err) => {
+ console.error('failed to set highContrastText, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to set config, because ' + JSON.stringify(exception));
+};
+```
### set
set(value: T, callback: AsyncCallback<void>): void;
-Sets this attribute. This API uses an asynchronous callback to return the result.
+Sets the attribute value. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -243,25 +314,30 @@ Sets this attribute. This API uses an asynchronous callback to return the result
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| value | T | Yes| Attribute value to set.|
-| callback | AsyncCallback<void> | Yes| Callback used to return the execution result.|
+| callback | AsyncCallback<void> | Yes| Callback used to return the result.|
**Example**
- ```typescript
- config.highContrastText.set(true, (err, data) => {
- if (err) {
- console.error('highContrastText set failed');
- return;
- }
- console.info('highContrastText set succeed');
- })
- ```
+```ts
+let value = true;
+try {
+ config.highContrastText.set(value, (err, data) => {
+ if (err) {
+ console.error('failed to set highContrastText, because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('set highContrastText succeed');
+ });
+} catch (exception) {
+ console.error('failed to set config, because ' + JSON.stringify(exception));
+};
+```
### get
get(): Promise<T>;
-Obtains the value of this attribute. This API uses a promise to return the result.
+Obtains the attribute value. This API uses a promise to return the result.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -269,24 +345,25 @@ Obtains the value of this attribute. This API uses a promise to return the resul
| Type| Description|
| -------- | -------- |
-| Promise<T> | Promise used to return the attribute value.|
+| Promise<T> | Promise used to return the value obtained.|
**Example**
- ```typescript
- config.highContrastText.get()
- .then((value) => {
- console.info('highContrastText get succeed');
- }).catch((error) => {
- console.error('highContrastText get failed');
- });
- ```
+```ts
+let value;
+config.highContrastText.get().then((data) => {
+ value = data;
+ console.info('get highContrastText success');
+}).catch((err) => {
+ console.error('failed to get highContrastText, because ' + JSON.stringify(err));
+});
+```
### get
get(callback: AsyncCallback<T>): void;
-Obtains the value of this attribute. This API uses an asynchronous callback to return the result.
+Obtains the attribute value. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -294,25 +371,27 @@ Obtains the value of this attribute. This API uses an asynchronous callback to r
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| callback | AsyncCallback<void> | Yes| Callback used to return the attribute value.|
+| callback | AsyncCallback<T> | Yes| Callback used to return the attribute value.|
**Example**
- ```typescript
- config.highContrastText.get((err, data) => {
- if (err) {
- console.error('highContrastText get failed');
- return;
- }
- console.info('highContrastText get succeed');
- })
- ```
+```ts
+let value;
+config.highContrastText.get((err, data) => {
+ if (err) {
+ console.error('failed to get highContrastText, because ' + JSON.stringify(err));
+ return;
+ }
+ value = data;
+ console.info('get highContrastText success');
+});
+```
### on
on(callback: Callback<T>): void;
-Adds a listener for attribute changes.
+Adds a listener for attribute changes. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -324,17 +403,21 @@ Adds a listener for attribute changes.
**Example**
- ```typescript
- config.highContrastText.on(() => {
- console.info('highContrastText changed');
- });
- ```
+```ts
+try {
+ config.highContrastText.on((data) => {
+ console.info('subscribe highContrastText success, result: ' + JSON.stringify(data));
+ });
+} catch (exception) {
+ console.error('failed subscribe highContrastText, because ' + JSON.stringify(exception));
+}
+```
### off
off(callback?: Callback<T>): void;
-Cancels the listener for attribute changes.
+Cancels the listener for attribute changes. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -342,13 +425,15 @@ Cancels the listener for attribute changes.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| callback | Callback<T> | No| Callback invoked when the attribute changes.|
+| callback | Callback<T> | No| Callback invoked when the list of enabled accessibility extension abilities changes.|
**Example**
- ```typescript
- config.highContrastText.off();
- ```
+```ts
+config.highContrastText.off((data) => {
+ console.info('Unsubscribe highContrastText success, result: ' + JSON.stringify(data));
+});
+```
## DaltonizationColorFilter
diff --git a/en/application-dev/reference/apis/js-apis-accessibility.md b/en/application-dev/reference/apis/js-apis-accessibility.md
index 6d318b4ade570aea27b58ca93d37ef0a3992d3bc..cf4443c60f4b58a17986bdb7ae5160fd6a95347c 100644
--- a/en/application-dev/reference/apis/js-apis-accessibility.md
+++ b/en/application-dev/reference/apis/js-apis-accessibility.md
@@ -1,4 +1,4 @@
-# Accessibility
+# @ohos.accessibility
The **Accessibility** module implements the accessibility functions, including obtaining the accessibility application list, accessibility application enabled status, and captions configuration.
@@ -8,7 +8,7 @@ The **Accessibility** module implements the accessibility functions, including o
## Modules to Import
-```typescript
+```ts
import accessibility from '@ohos.accessibility';
```
@@ -49,7 +49,7 @@ Provides information about an accessibility application.
| Name| Type| Readable| Writable| Description|
| -------- | -------- | -------- | -------- | -------- |
-| id | number | Yes| No| Ability ID.|
+| id | string | Yes| No| Ability ID.|
| name | string | Yes| No| Ability name.|
| bundleName | string | Yes| No| Bundle name.|
| targetBundleNames9+ | Array<string> | Yes| No| Name of the target bundle.|
@@ -85,7 +85,7 @@ Describes the target action supported by an accessibility application.
## Capability
-Enumerates the capabilities of an auxiliary application.
+Enumerates the capabilities of an accessibility application.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -145,7 +145,7 @@ Describes the style of captions.
## CaptionsManager8+
-Implements configuration management for captions.
+Implements configuration management for captions. Before calling any API of **CaptionsManager**, you must use the [accessibility.getCaptionsManager()](#accessibilitygetcaptionsmanager8) API to obtain a **CaptionsManager** instance.
**System capability**: SystemCapability.BarrierFree.Accessibility.Hearing
@@ -156,87 +156,113 @@ Implements configuration management for captions.
| enabled | boolean | Yes| No| Whether to enable captions configuration.|
| style | [CaptionsStyle](#captionsstyle8) | Yes| No| Style of captions.|
-In the following API examples, you must first use the [accessibility.getCaptionsManager()](#accessibilitygetcaptionsmanager8) API to obtain a **captionsManager** instance, and then call the methods using the obtained instance.
-
### on('enableChange')
on(type: 'enableChange', callback: Callback<boolean>): void;
-Enables listening for the enabled status changes of captions configuration.
+Enables listening for the enabled status changes of captions configuration. This API uses an asynchronous callback to return the result.
-- **Parameters**
+**Parameters**
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | type | string | Yes| Type of the event to listen for, which is set to **enableChange** in this API.|
- | callback | Callback<boolean> | Yes| Callback invoked when the enabled status of captions configuration changes.|
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| type | string | Yes| Type of the event to listen for, which is set to **'enableChange'** in this API.|
+| callback | Callback<boolean> | Yes| Callback invoked when the enabled status of captions configuration changes.|
-- **Example**
+**Example**
- ```typescript
- captionsManager.on('enableChange',(data) => {
- console.info('success data:subscribeStateObserver : ' + JSON.stringify(data))
- })
- ```
+```ts
+let captionsManager = accessibility.getCaptionsManager();
+try {
+ captionsManager.on('enableChange', (data) => {
+ console.info('subscribe caption manager enable state change, result: ' + JSON.stringify(data));
+ });
+} catch (exception) {
+ console.error('failed to subscribe caption manager enable state change, because ' + JSON.stringify(exception));
+}
+```
### on('styleChange')
on(type: 'styleChange', callback: Callback<CaptionsStyle>): void;
-Enables listening for captions style changes.
+Enables listening for captions style changes. This API uses an asynchronous callback to return the result.
-- **Parameters**
+**Parameters**
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | type | string | Yes| Type of the event to listen for, which is set to **styleChange** in this API.|
- | callback | Callback<[CaptionsStyle](#captionsstyle8)> | Yes| Callback invoked when the style of captions changes.|
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| type | string | Yes| Type of the event to listen for, which is set to **'styleChange'** in this API.|
+| callback | Callback<[CaptionsStyle](#captionsstyle8)> | Yes| Callback invoked when the style of captions changes.|
-- **Example**
+**Example**
+
+```ts
+let captionStyle;
+let captionsManager = accessibility.getCaptionsManager();
+try {
+ captionsManager.on('styleChange', (data) => {
+ captionStyle = data;
+ console.info('subscribe caption manager style state change, result: ' + JSON.stringify(data));
+ });
+} catch (exception) {
+ console.error('failed to subscribe caption manager style state change, because ' + JSON.stringify(exception));
+}
+```
- ```typescript
- captionsManager.on('styleChange',(data) => {
- console.info('success data:subscribeStateObserver : ' + JSON.stringify(data))
- })
- ```
-
### off('enableChange')
off(type: 'enableChange', callback?: Callback<boolean>): void;
-Disables listening for the enabled status changes of captions configuration.
+Disables listening for the enabled status changes of captions configuration. This API uses an asynchronous callback to return the result.
-- **Parameters**
+**Parameters**
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | type | string | Yes| Type of the event to listen for, which is set to **enableChange** in this API.|
- | callback | Callback<boolean> | No| Callback invoked when the enabled status of captions configuration changes.|
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| type | string | Yes| Type of the event to listen for, which is set to **'enableChange'** in this API.|
+| callback | Callback<boolean> | No| Callback invoked when the enabled status of captions configuration changes.|
-- **Example**
+**Example**
- ```typescript
- captionsManager.off('enableChange')
- ```
+```ts
+let captionsManager = accessibility.getCaptionsManager();
+try {
+ captionsManager.off('enableChange', (data) => {
+ console.info('Unsubscribe caption manager enable state change, result: ' + JSON.stringify(data));
+ });
+} catch (exception) {
+ console.error('failed to Unsubscribe caption manager enable state change, because ' + JSON.stringify(exception));
+}
+```
### off('styleChange')
off(type: 'styleChange', callback?: Callback<CaptionsStyle>): void;
-Disables listening for captions style changes.
+Disables listening for captions style changes. This API uses an asynchronous callback to return the result.
-- **Parameters**
+**Parameters**
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | type | string | Yes| Type of the event to listen for, which is set to **styleChange** in this API.|
- | callback | Callback<[CaptionsStyle](#captionsstyle8)> | No| Callback invoked when the style of captions changes.|
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| type | string | Yes| Type of the event to listen for, which is set to **'styleChange'** in this API.|
+| callback | Callback<[CaptionsStyle](#captionsstyle8)> | No| Callback invoked when the style of captions changes.|
-- **Example**
+**Example**
- ```typescript
- captionsManager.off('styleChange')
- ```
+```ts
+let captionStyle;
+let captionsManager = accessibility.getCaptionsManager();
+try {
+ captionsManager.off('styleChange', (data) => {
+ captionStyle = data;
+ console.info('Unsubscribe caption manager style state change, result: ' + JSON.stringify(data));
+ });
+} catch (exception) {
+ console.error('failed to Unsubscribe caption manager style state change, because ' + JSON.stringify(exception));
+}
+```
## EventInfo
@@ -271,16 +297,20 @@ Implements a constructor.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-- **Parameters**
+**Parameters**
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | jsonObject | string | Yes| JSON string required for creating an object.|
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| jsonObject | string | Yes| JSON string required for creating an object.|
-- **Example**
+**Example**
- ```typescript
- let eventInfo = new accessibility.EventInfo({"type":"click","bundleName":"com.example.MyApplication","triggerAction":"click"})
+ ```ts
+ let eventInfo = new accessibility.EventInfo({
+ 'type':'click',
+ 'bundleName':'com.example.MyApplication',
+ 'triggerAction':'click'
+ });
```
## EventType
@@ -331,153 +361,319 @@ Enumerates window update types.
| active | Window activity change.|
| focus | Window focus change.|
-## accessibility.getAbilityLists
+## accessibility.getAbilityLists(deprecated)
getAbilityLists(abilityType: AbilityType, stateType: AbilityState): Promise<Array<AccessibilityAbilityInfo>>
Obtains the accessibility application list. This API uses a promise to return the result.
+> **NOTE**
+>
+> This API is supported since API version 7 and deprecated since API version 9.
+> You are advised to use[getAccessibilityExtensionList()](#accessibilitygetaccessibilityextensionlist9).
+
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-- **Parameters**
-
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | abilityType | [AbilityType](#abilitytype) | Yes| Accessibility application type.|
- | stateType | [AbilityState](#abilitystate) | Yes| Accessibility application status.|
-
-- **Return value**
-
- | Type| Description|
- | -------- | -------- |
- | Promise<Array<[AccessibilityAbilityInfo](#accessibilityabilityinfo)>> | Promise used to return the accessibility application list.|
-
-- **Example**
-
- ```typescript
- accessibility.getAbilityLists("spoken", "enable")
- .then((data) => {
- console.info('success data:getAbilityList1 : ' + JSON.stringify(data));
- for (let item of data) {
- console.info(item.id);
- console.info(item.name);
- console.info(item.description);
- console.info(item.abilityTypes);
- console.info(item.eventTypes);
- console.info(item.capabilities);
- console.info(item.packageName);
- console.info(item.filterBundleNames);
- console.info(item.bundleName);
- }
- }).catch((error) => {
- console.error('failed to getAbilityList1 because ' + JSON.stringify(error));
- })
- ```
+**Parameters**
-## accessibility.getAbilityLists
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| abilityType | [AbilityType](#abilitytype) | Yes| Accessibility application type.|
+| stateType | [AbilityState](#abilitystate) | Yes| Accessibility application status.|
+
+**Return value**
+
+| Type| Description|
+| -------- | -------- |
+| Promise<Array<[AccessibilityAbilityInfo](#accessibilityabilityinfo)>> | Promise used to return the accessibility application list.|
+
+**Example**
+
+```ts
+let abilityType = 'spoken';
+let abilityState = 'enable';
+let abilityList: accessibility.AccessibilityInfo[];
+try {
+ accessibility.getAbilityLists(abilityType, abilityState).then((data) => {
+ for (let item of data) {
+ console.info(item.id);
+ console.info(item.name);
+ console.info(item.description);
+ console.info(item.bundleName);
+ extensionList.push(item);
+ }
+ console.info('get accessibility extension list success');
+ }).catch((err) => {
+ console.error('failed to get accessibility extension list because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to get accessibility extension list because ' + JSON.stringify(exception));
+}
+```
+
+## accessibility.getAbilityLists(deprecated)
getAbilityLists(abilityType: AbilityType, stateType: AbilityState,callback: AsyncCallback<Array<AccessibilityAbilityInfo>>): void
Obtains the accessibility application list. This API uses an asynchronous callback to return the result.
+> **NOTE**
+>
+> This API is supported since API version 7 and deprecated since API version 9.
+> You are advised to use [getAccessibilityExtensionList()](#accessibilitygetaccessibilityextensionlist9-1).
+
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-- **Parameters**
-
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | abilityType | [AbilityType](#abilitytype) | Yes| Accessibility application type.|
- | stateType | [AbilityState](#abilitystate) | Yes| Accessibility application status.|
- | callback | AsyncCallback<Array<[AccessibilityAbilityInfo](#accessibilityabilityinfo)>> | Yes| Callback used to return the accessibility application list.|
-
-- **Example**
-
- ```typescript
- accessibility.getAbilityLists("visual", "enable", (err, data) => {
- if (err) {
- console.error('failed to getAbilityList2 because ' + JSON.stringify(err));
- return;
- }
- console.info('success data:getAbilityList2 : ' + JSON.stringify(data));
- for (let item of data) {
- console.info(item.id);
- console.info(item.name);
- console.info(item.description);
- console.info(item.abilityTypes);
- console.info(item.eventTypes);
- console.info(item.capabilities);
- console.info(item.packageName);
- console.info(item.filterBundleNames);
- console.info(item.bundleName);
- }
- })
- ```
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| abilityType | [AbilityType](#abilitytype) | Yes| Accessibility application type.|
+| stateType | [AbilityState](#abilitystate) | Yes| Accessibility application status.|
+| callback | AsyncCallback<Array<[AccessibilityAbilityInfo](#accessibilityabilityinfo)>> | Yes| Callback used to return the accessibility application list.|
+
+**Example**
+
+```ts
+let abilityType = 'spoken';
+let abilityState = 'enable';
+let abilityList: accessibility.AccessibilityInfo[];
+try {
+ accessibility.getAbilityLists(abilityType, abilityState, (err, data) => {
+ if (err) {
+ console.error('failed to get accessibility extension list because ' + JSON.stringify(err));
+ return;
+ }
+ for (let item of data) {
+ console.info(item.id);
+ console.info(item.name);
+ console.info(item.description);
+ console.info(item.bundleName);
+ abilityList.push(item);
+ }
+ console.info('get accessibility extension list success');
+ }).catch((err) => {
+ console.error('failed to get accessibility extension list because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to get accessibility extension list because ' + JSON.stringify(exception));
+}
+```
+
+## accessibility.getAccessibilityExtensionList9+
+
+getAccessibilityExtensionList(abilityType: AbilityType, stateType: AbilityState): Promise<Array<AccessibilityAbilityInfo>>
+
+Obtains the accessibility application list. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| abilityType | [AbilityType](#abilitytype) | Yes| Accessibility application type.|
+| stateType | [AbilityState](#abilitystate) | Yes| Accessibility application status.|
+
+**Return value**
+
+| Type| Description|
+| -------- | -------- |
+| Promise<Array<[AccessibilityAbilityInfo](#accessibilityabilityinfo)>> | Promise used to return the accessibility application list.|
+
+**Example**
+
+```ts
+let abilityType : accessibility.AbilityType = 'spoken';
+let abilityState : accessibility.AbilityState = 'enable';
+let extensionList: accessibility.AccessibilityAbilityInfo[] = [];
+try {
+ accessibility.getAccessibilityExtensionList(abilityType, abilityState).then((data) => {
+ for (let item of data) {
+ console.info(item.id);
+ console.info(item.name);
+ console.info(item.description);
+ console.info(item.bundleName);
+ extensionList.push(item);
+ }
+ console.info('get accessibility extension list success');
+ }).catch((err) => {
+ console.error('failed to get accessibility extension list because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to get accessibility extension list because ' + JSON.stringify(exception));
+}
+```
+
+## accessibility.getAccessibilityExtensionList9+
+
+getAccessibilityExtensionList(abilityType: AbilityType, stateType: AbilityState, callback: AsyncCallback<Array<AccessibilityAbilityInfo>>): void
+
+Obtains the accessibility application list. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| abilityType | [AbilityType](#abilitytype) | Yes| Accessibility application type.|
+| stateType | [AbilityState](#abilitystate) | Yes| Accessibility application status.|
+| callback | AsyncCallback<Array<[AccessibilityAbilityInfo](#accessibilityabilityinfo)>> | Yes| Callback used to return the accessibility application list.|
+
+**Example**
+
+```ts
+let abilityType : accessibility.AbilityType = 'spoken';
+let abilityState : accessibility.AbilityState = 'enable';
+let extensionList: accessibility.AccessibilityAbilityInfo[] = [];
+try {
+ accessibility.getAccessibilityExtensionList(abilityType, abilityState, (err, data) => {
+ if (err) {
+ console.error('failed to get accessibility extension list because ' + JSON.stringify(err));
+ return;
+ }
+ for (let item of data) {
+ console.info(item.id);
+ console.info(item.name);
+ console.info(item.description);
+ console.info(item.bundleName);
+ extensionList.push(item);
+ }
+ console.info('get accessibility extension list success');
+ });
+} catch (exception) {
+ console.error('failed to get accessibility extension list because ' + JSON.stringify(exception));
+}
+```
## accessibility.getCaptionsManager8+
getCaptionsManager(): CaptionsManager
-Obtains the captions configuration.
+Obtains a **CaptionsManager** instance.
**System capability**: SystemCapability.BarrierFree.Accessibility.Hearing
-- **Return value**
+**Return value**
- | Type| Description|
- | -------- | -------- |
- | [CaptionsManager](#captionsmanager8) | Captions configuration.|
+| Type| Description|
+| -------- | -------- |
+| [CaptionsManager](#captionsmanager8) | Captions configuration.|
-- **Example**
+**Example**
- ```typescript
- captionsManager = accessibility.getCaptionsManager()
- ```
+```ts
+let captionsManager = accessibility.getCaptionsManager();
+```
-## accessibility.on('accessibilityStateChange' | 'touchGuideStateChange')
+## accessibility.on('accessibilityStateChange')
-on(type: 'accessibilityStateChange' | 'touchGuideStateChange', callback: Callback<boolean>): void
+on(type: 'accessibilityStateChange', callback: Callback<boolean>): void
-Enables listening for the enabled status changes of the accessibility application or touch guide mode.
+Enables listening for the enabled status changes of the accessibility application. This API uses an asynchronous callback to return the result.
-- **Parameters**
+**Parameters**
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | type | string | Yes| Type of the event to listen for. - **'accessibilityStateChange'** means to listen for the enabled status changes of the accessibility application. **System capability**: SystemCapability.BarrierFree.Accessibility.Core - **'touchGuideStateChange'** means to listen for the enabled status changes of the touch guide mode. **System capability**: SystemCapability.BarrierFree.Accessibility.Vision|
- | callback | Callback\ | Yes| Callback invoked when the enabled status of captions configuration changes.|
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| type | string | Yes| Type of the event to listen for, which is set to **'accessibilityStateChange'** in this API.|
+| callback | Callback<boolean> | Yes| Callback used to return the result.|
-- **Example**
+**Example**
- ```typescript
- accessibility.on('accessibilityStateChange',(data) => {
- console.info('success data:subscribeStateObserver : ' + JSON.stringify(data))
- })
- ```
+```ts
+try {
+ accessibility.on('accessibilityStateChange', (data) => {
+ console.info('subscribe accessibility state change, result: ' + JSON.stringify(data));
+ });
+} catch (exception) {
+ console.error('failed to subscribe accessibility state change, because ' + JSON.stringify(exception));
+}
+```
-## accessibility.off('accessibilityStateChange' | 'touchGuideStateChange')
+## accessibility.on('touchGuideStateChange')
-off(type: 'accessibilityStateChange ' | 'touchGuideStateChange', callback?: Callback<boolean>): void
+on(type: 'touchGuideStateChange', callback: Callback<boolean>): void
-Disables listening for the enabled status changes of the accessibility application or touch guide mode.
+Enables listening for the enabled status changes of the touch guide mode. This API uses an asynchronous callback to return the result.
-- **Parameters**
+**Parameters**
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | type | string | No| Type of the event to listen for. - **'accessibilityStateChange'** means to listen for the enabled status changes of the accessibility application. **System capability**: SystemCapability.BarrierFree.Accessibility.Core - **'touchGuideStateChange'** means to listen for the enabled status changes of the touch guide mode. **System capability**: SystemCapability.BarrierFree.Accessibility.Vision|
- | callback | Callback<boolean> | No| Callback invoked when the enabled status changes.|
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| type | string | Yes| Type of the event to listen for, which is set to **'touchGuideStateChange'** in this API.|
+| callback | Callback<boolean> | Yes| Callback used to return the result.|
-- **Example**
+**Example**
- ```typescript
- accessibility.off('accessibilityStateChange',(data) => {
- console.info('success data:unSubscribeStateObserver : ' + JSON.stringify(data))
- })
- ```
+```ts
+try {
+ accessibility.on('touchGuideStateChange', (data) => {
+ console.info('subscribe touch guide state change, result: ' + JSON.stringify(data));
+ });
+} catch (exception) {
+ console.error('failed to subscribe touch guide state change, because ' + JSON.stringify(exception));
+}
+```
+
+## accessibility.off('accessibilityStateChange')
+
+off(type: 'accessibilityStateChange', callback?: Callback<boolean>): void
+
+Disables listening for the enabled status changes of the accessibility application. This API uses an asynchronous callback to return the result.
+
+
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| type | string | No| Type of the event to listen for, which is set to **'accessibilityStateChange'** in this API.|
+| callback | Callback<boolean> | No| Callback used to return the result.|
+
+**Example**
+
+```ts
+try {
+ accessibility.off('accessibilityStateChange', (data) => {
+ console.info('Unsubscribe accessibility state change, result: ' + JSON.stringify(data));
+ });
+} catch (exception) {
+ console.error('failed to Unsubscribe accessibility state change, because ' + JSON.stringify(exception));
+}
+```
+
+## accessibility.off('touchGuideStateChange')
+
+off(type: 'touchGuideStateChange', callback?: Callback<boolean>): void
+
+Disables listening for the enabled status changes of the touch guide mode. This API uses an asynchronous callback to return the result.
+
+
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| type | string | No| Type of the event to listen for, which is set to **'touchGuideStateChange'** in this API.|
+| callback | Callback<boolean> | No| Callback used to return the result.|
+
+**Example**
+
+```ts
+try {
+ accessibility.off('touchGuideStateChange', (data) => {
+ console.info('Unsubscribe touch guide state change, result: ' + JSON.stringify(data));
+ });
+} catch (exception) {
+ console.error('failed to Unsubscribe touch guide state change, because ' + JSON.stringify(exception));
+}
+```
## accessibility.isOpenAccessibility
@@ -487,22 +683,21 @@ Checks whether accessibility is enabled. This API uses a promise to return the r
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-- **Return value**
+**Return value**
- | Type| Description|
- | -------- | -------- |
- | Promise<boolean> | Returns **true** if accessibility is enabled; returns **false** otherwise.|
+| Type| Description|
+| -------- | -------- |
+| Promise<boolean> | Promise used to return the result. Returns **true** if accessibility is enabled; returns **false** otherwise.|
-- **Example**
+**Example**
- ```typescript
- accessibility.isOpenAccessibility()
- .then((data) => {
- console.info('success data:isOpenAccessibility : ' + JSON.stringify(data))
- }).catch((error) => {
- console.error('failed to isOpenAccessibility because ' + JSON.stringify(error));
- })
- ```
+```ts
+accessibility.isOpenAccessibility().then((data) => {
+ console.info('success data:isOpenAccessibility : ' + JSON.stringify(data))
+}).catch((err) => {
+ console.error('failed to isOpenAccessibility because ' + JSON.stringify(err));
+});
+```
## accessibility.isOpenAccessibility
@@ -512,23 +707,23 @@ Checks whether accessibility is enabled. This API uses an asynchronous callback
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-- **Parameters**
+**Parameters**
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | callback | AsyncCallback<boolean> | Yes| Callback used to return the result. Returns **true** if accessibility is enabled; returns **false** otherwise.|
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| callback | AsyncCallback<boolean> | Yes| Callback used to return the result. Returns **true** if accessibility is enabled; returns **false** otherwise.|
-- **Example**
+**Example**
- ```typescript
- accessibility.isOpenAccessibility((err, data) => {
- if (err) {
- console.error('failed to isOpenAccessibility because ' + JSON.stringify(err));
- return;
- }
- console.info('success data:isOpenAccessibility : ' + JSON.stringify(data))
- })
- ```
+```ts
+accessibility.isOpenAccessibility((err, data) => {
+ if (err) {
+ console.error('failed to isOpenAccessibility because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('success data:isOpenAccessibility : ' + JSON.stringify(data))
+});
+```
## accessibility.isOpenTouchGuide
@@ -538,22 +733,21 @@ Checks whether touch guide mode is enabled. This API uses a promise to return th
**System capability**: SystemCapability.BarrierFree.Accessibility.Vision
-- **Return value**
+**Return value**
- | Type| Description|
- | -------- | -------- |
- | Promise<boolean> | Returns **true** if touch guide mode is enabled; returns **false** otherwise.|
+| Type| Description|
+| -------- | -------- |
+| Promise<boolean> | Promise used to return the result. Returns **true** if touch guide mode is enabled; returns **false** otherwise.|
-- **Example**
+**Example**
- ```typescript
- accessibility.isOpenTouchGuide()
- .then((data) => {
- console.info('success data:isOpenTouchGuide : ' + JSON.stringify(data))
- }).catch((error) => {
- console.error('failed to isOpenTouchGuide because ' + JSON.stringify(error));
- })
- ```
+```ts
+accessibility.isOpenTouchGuide().then((data) => {
+ console.info('success data:isOpenTouchGuide : ' + JSON.stringify(data))
+}).catch((err) => {
+ console.error('failed to isOpenTouchGuide because ' + JSON.stringify(err));
+});
+```
## accessibility.isOpenTouchGuide
@@ -563,78 +757,172 @@ Checks whether touch guide mode is enabled. This API uses an asynchronous callba
**System capability**: SystemCapability.BarrierFree.Accessibility.Vision
-- **Parameters**
+**Parameters**
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | callback | AsyncCallback<boolean> | Yes| Callback used to return the result. Returns **true** if touch guide mode is enabled; returns **false** otherwise.|
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| callback | AsyncCallback<boolean> | Yes| Callback used to return the result. Returns **true** if touch guide mode is enabled; returns **false** otherwise.|
-- **Example**
+**Example**
- ```typescript
- accessibility.isOpenTouchGuide((err, data) => {
- if (err) {
- console.error('failed to isOpenTouchGuide because ' + JSON.stringify(err));
- return;
- }
- console.info('success data:isOpenTouchGuide : ' + JSON.stringify(data))
- })
- ```
+```ts
+accessibility.isOpenTouchGuide((err, data) => {
+ if (err) {
+ console.error('failed to isOpenTouchGuide because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('success data:isOpenTouchGuide : ' + JSON.stringify(data))
+});
+```
-## accessibility.sendEvent
+## accessibility.sendEvent(deprecated)
sendEvent(event: EventInfo): Promise<void>
Sends an accessibility event. This API uses a promise to return the result.
-**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-
-- **Parameters**
+> **NOTE**
+>
+> This API is supported since API version 7 and deprecated since API version 9.
+> You are advised to use **[sendAccessibilityEvent()](#accessibilitysendaccessibilityevent9)**.
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | event | [EventInfo](#eventinfo) | Yes| Accessibility event.|
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-- **Return value**
+**Parameters**
- | Type| Description|
- | -------- | -------- |
- | Promise<void> | Promise used to return the result. Returns data if the accessibility event is sent successfully; returns an error otherwise.|
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| event | [EventInfo](#eventinfo) | Yes| Accessibility event.|
-- **Example**
+**Return value**
- ```typescript
- accessibility.sendEvent(this.eventInfo)
- .then((data) => {
- console.info('success data:sendEvent : ' + JSON.stringify(data))
- }).catch((error) => {
- console.error('failed to sendEvent because ' + JSON.stringify(error));
- })
- ```
+| Type| Description|
+| -------- | -------- |
+| Promise<void> | Promise that returns no value.|
+
+**Example**
+
+```ts
+let eventInfo = new accessibility.EventInfo({
+ 'type':'click',
+ 'bundleName':'com.example.MyApplication',
+ 'triggerAction':'click'
+});
+accessibility.sendEvent(eventInfo).then(() => {
+ console.info('send event success');
+}).catch((err) => {
+ console.error('failed to sendEvent because ' + JSON.stringify(err));
+});
+```
-## accessibility.sendEvent
+## accessibility.sendEvent(deprecated)
sendEvent(event: EventInfo, callback: AsyncCallback<void>): void
Sends an accessibility event. This API uses an asynchronous callback to return the result.
+> **NOTE**
+>
+> This API is supported since API version 7 and deprecated since API version 9.
+> You are advised to use **[sendAccessibilityEvent()](#accessibilitysendaccessibilityevent9-1)**.
+
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-- **Parameters**
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| event | [EventInfo](#eventinfo) | Yes| Accessibility event.|
+| callback | AsyncCallback<void> | Yes| Callback used to return the result. If the operation fails, **error** that contains data is returned. |
+
+**Example**
+
+```ts
+let eventInfo = new accessibility.EventInfo({
+ 'type':'click',
+ 'bundleName':'com.example.MyApplication',
+ 'triggerAction':'click'
+});
+accessibility.sendEvent(eventInfo, (err, data) => {
+ if (err) {
+ console.error('failed to sendEvent because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('sendEvent success');
+});
+```
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | event | [EventInfo](#eventinfo) | Yes| Accessibility event.|
- | callback | AsyncCallback<void> | Yes| Callback used to return the result. Returns data if the accessibility event is sent successfully; returns an error otherwise.|
+## accessibility.sendAccessibilityEvent9+
-- **Example**
+sendAccessibilityEvent(event: EventInfo): Promise<void>
- ```typescript
- accessibility.sendEvent(this.eventInfo,(err, data) => {
- if (err) {
- console.error('failed to sendEvent because ' + JSON.stringify(err));
- return;
- }
- console.info('success data:sendEvent : ' + JSON.stringify(data))
- })
- ```
+Sends an accessibility event. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| event | [EventInfo](#eventinfo) | Yes| Accessibility event.|
+
+**Return value**
+
+| Type| Description|
+| -------- | -------- |
+| Promise<void> | Promise that returns no value.|
+
+**Example**
+
+```ts
+let eventInfo = new accessibility.EventInfo({
+ 'type':'click',
+ 'bundleName':'com.example.MyApplication',
+ 'triggerAction':'click'
+});
+try {
+ accessibility.sendAccessibilityEvent(eventInfo).then(() => {
+ console.info('send event success');
+ }).catch((err) => {
+ console.error('failed to send event because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to send event because ' + JSON.stringify(exception));
+}
+```
+
+## accessibility.sendAccessibilityEvent9+
+
+sendAccessibilityEvent(event: EventInfo, callback: AsyncCallback<void>): void
+
+Sends an accessibility event. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| event | [EventInfo](#eventinfo) | Yes| Accessibility event.|
+| callback | AsyncCallback<void> | Yes| Callback used to return the result. If the operation fails, **error** that contains data is returned. |
+
+**Example**
+
+```ts
+let eventInfo = new accessibility.EventInfo({
+ 'type':'click',
+ 'bundleName':'com.example.MyApplication',
+ 'triggerAction':'click'
+});
+try {
+ accessibility.sendEvent(eventInfo, (err, data) => {
+ if (err) {
+ console.error('failed to send event because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('send event success');
+ });
+} catch (exception) {
+ console.error('failed to send event because ' + JSON.stringify(exception));
+}
+```
diff --git a/en/application-dev/reference/apis/js-apis-application-accessibilityExtensionAbility.md b/en/application-dev/reference/apis/js-apis-application-accessibilityExtensionAbility.md
index a78f8cc320a4d081f356145d8ed4c51907a025ba..a47e3e8908f69f5515beab95cea6f74351719a77 100644
--- a/en/application-dev/reference/apis/js-apis-application-accessibilityExtensionAbility.md
+++ b/en/application-dev/reference/apis/js-apis-application-accessibilityExtensionAbility.md
@@ -1,12 +1,10 @@
-# Accessibility Extension Ability
+# @ohos.application.AccessibilityExtensionAbility
-The **AccessibilityExtensionAbility** module is based on the ExtensionAbility framework and provides the **AccessibilityExtensionAbility**.
+The **AccessibilityExtensionAbility** module provides accessibility extension capabilities based on the ExtensionAbility framework.
->**NOTE**
+> **NOTE**
>
->The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
->
->The APIs of this module can be used only in the stage model.
+> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
@@ -18,9 +16,9 @@ import AccessibilityExtensionAbility from '@ohos.application.AccessibilityExtens
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-| Name | Type | Readable | Writable | Description |
+| Name | Type| Readable| Writable| Description |
| --------- | -------- | ---- | ---- | ------------------------- |
-| context | [AccessibilityExtensionContext](js-apis-accessibility-extension-context.md) | Yes | No | Context of the accessibility extension ability. |
+| context | [AccessibilityExtensionContext](js-apis-inner-application-accessibilityExtensionContext.md) | Yes| No| Context of the accessibility extension ability.|
## AccessibilityEvent
@@ -32,36 +30,10 @@ Defines an accessibility event.
| Name | Type | Readable | Writable | Description |
| --------- | ---------------------------------------- | ---- | ---- | ---------- |
-| eventType | [EventType](js-apis-accessibility.md#eventtype) \| [WindowUpdateType](js-apis-accessibility.md#windowupdatetype) \| [TouchGuideType](#touchguidetype) \| [GestureType](#gesturetype) \| [PageUpdateType](#pageupdatetype) | Yes | No | Event type. |
+| eventType | [accessibility.EventType](js-apis-accessibility.md#EventType) \| [accessibility.WindowUpdateType](js-apis-accessibility.md#WindowUpdateType) \| [TouchGuideType](#touchguidetype) \| [GestureType](#gesturetype) \| [PageUpdateType](#pageupdatetype) | Yes | No | Event type. |
| target | AccessibilityElement | Yes | No | Target component where the event occurs.|
| timeStamp | number | Yes | No | Timestamp of the event. |
-## GesturePath
-
-Defines a gesture path.
-
-**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-
-### Attributes
-
-| Name | Type | Readable | Writable | Description |
-| ------------ | ---------------------------------------- | ---- | ---- | ------ |
-| points | Array<[GesturePoint](gesturepoint)> | Yes | Yes | An array of gesture touch points. |
-| durationTime | number | Yes | Yes | Total time consumed by the gesture.|
-
-## GesturePoint
-
-Defines a gesture touch point.
-
-**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-
-### Attributes
-
-| Name | Type | Readable | Writable | Description |
-| --------- | ------ | ---- | ---- | ------- |
-| positionX | number | Yes | Yes | X-coordinate of the touch point.|
-| positionY | number | Yes | Yes | Y-coordinate of the touch point.|
-
## GestureType
Enumerates gesture types.
@@ -89,7 +61,7 @@ Enumerates gesture types.
## PageUpdateType
-Enumerates the page refresh types.
+Enumerates the page update types.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -106,27 +78,25 @@ Enumerates the touch guide event types.
| Name | Description |
| ---------- | ------------ |
-| touchBegin | A touch starts in touch guide mode.|
-| touchEnd | A touch ends in touch guide mode.|
+| touchBegin | Start of touch in touch guide mode. |
+| touchEnd | End of touch in touch guide mode. |
## AccessibilityExtensionAbility.onConnect
onConnect(): void;
-Called when the **AccessibilityExtensionAbility** is enabled and connected to the system service. In this API, you can initialize service logic. This API can be overridden as required.
+Called when the **AccessibilityExtensionAbility** is enabled and connected to the system service. In this API, you can have the service logic initialized. This API can be overridden as required.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-**Parameters**
-
-None
-
**Example**
```ts
-onConnect(): void {
- console.log("AxExtensionAbility onConnect");
-}
+class MyAccessibilityExtensionAbility extends AccessibilityExtensionAbility {
+ onConnect() {
+ console.log('AxExtensionAbility onConnect');
+ }
+};
```
## AccessibilityExtensionAbility.onDisconnect
@@ -137,16 +107,14 @@ Called when the **AccessibilityExtensionAbility** is disabled and disconnected f
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
-**Parameters**
-
-None
-
**Example**
```ts
-onDisconnect(): void {
- console.log("AxExtensionAbility onDisconnect");
-}
+class MyAccessibilityExtensionAbility extends AccessibilityExtensionAbility {
+ onDisconnect() {
+ console.log('AxExtensionAbility onDisconnect');
+ }
+};
```
## AccessibilityExtensionAbility.onAccessibilityEvent
@@ -166,19 +134,21 @@ Called when an event that matches the specified bundle and event type occurs. In
**Example**
```ts
-onAccessibilityEvent(event: AccessibilityEvent): void {
- console.log("AxExtensionAbility onAccessibilityEvent");
- if (event.eventType == 'click') {
- console.log("AxExtensionAbility onAccessibilityEvent: click");
+class MyAccessibilityExtensionAbility extends AccessibilityExtensionAbility {
+ onAccessibilityEvent(event) {
+ console.log('AxExtensionAbility onAccessibilityEvent');
+ if (event.eventType == 'click') {
+ console.log('AxExtensionAbility onAccessibilityEvent: click');
+ }
}
-}
+};
```
## AccessibilityExtensionAbility.onKeyEvent
-onKeyEvent(keyEvent: inputEventClient.KeyEvent): boolean;
+onKeyEvent(keyEvent: KeyEvent): boolean;
-Called when a physical key is pressed. In this API, you can determine whether to intercept the key event based on the service.
+Called when a physical key is pressed. In this API, you can determine whether to intercept an event based on the service.
**System capability**: SystemCapability.BarrierFree.Accessibility.Core
@@ -191,12 +161,14 @@ Called when a physical key is pressed. In this API, you can determine whether to
**Example**
```ts
-onKeyEvent(keyEvent: inputEventClient.KeyEvent): boolean {
- console.log("AxExtensionAbility onKeyEvent");
- if (keyEvent.keyCode == 22) {
- console.log("AxExtensionAbility onKeyEvent: intercept 22");
- return true;
+class MyAccessibilityExtensionAbility extends AccessibilityExtensionAbility {
+ onKeyEvent(keyEvent) {
+ console.log('AxExtensionAbility onKeyEvent');
+ if (keyEvent.keyCode == 22) {
+ console.log('AxExtensionAbility onKeyEvent: intercept 22');
+ return true;
+ }
+ return false;
}
- return false;
-}
+};
```
diff --git a/en/application-dev/reference/apis/js-apis-battery-info.md b/en/application-dev/reference/apis/js-apis-battery-info.md
index 2d7e9fab8a62e7d68dae92e66359a2704414bc01..197e25cfce48edc49798b438745adc13c35ab9d5 100644
--- a/en/application-dev/reference/apis/js-apis-battery-info.md
+++ b/en/application-dev/reference/apis/js-apis-battery-info.md
@@ -1,11 +1,10 @@
# Battery Info
->**NOTE**
->
->The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.
-
The Battery Info module provides APIs for querying the charger type, battery health status, and battery charging status.
+> **NOTE**
+> The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+
## Modules to Import
@@ -13,67 +12,100 @@ The Battery Info module provides APIs for querying the charger type, battery hea
import batteryInfo from '@ohos.batteryInfo';
```
-## System Capabilities
-
-SystemCapability.PowerManager.BatteryManager
-
## Attributes
Describes battery information.
-| Name | Type | Readable | Writable | Description |
-| ----------------------------- | ----------------------------------------- | -------- | -------- | ------------------------------------------------------------ |
-| batterySOC | number | Yes | No | Battery state of charge (SoC) of the current device, in unit of percentage. |
-| chargingStatus | [BatteryChargeState](#batterychargestate) | Yes | No | Battery charging state of the current device. |
-| healthStatus | [BatteryHealthState](#batteryhealthstate) | Yes | No | Battery health state of the current device. |
-| pluggedType | [BatteryPluggedType](#batterypluggedtype) | Yes | No | Charger type of the current device. |
-| voltage | number | Yes | No | Battery voltage of the current device, in unit of microvolt. |
-| technology | string | Yes | No | Battery technology of the current device. |
-| batteryTemperature | number | Yes | No | Battery temperature of the current device, in unit of 0.1°C. |
-| isBatteryPresent7+ | boolean | Yes | No | Whether the battery is supported or present. |
-
-**Example**
-
-```js
-import batteryInfo from '@ohos.batteryInfo';
-var batterySoc = batteryInfo.batterySOC;
-```
-
+**System capability**: SystemCapability.PowerManager.BatteryManager.Core
+
+| Name | Type | Readable| Writable| Description |
+| --------------- | ------------------- | ---- | ---- | ---------------------|
+| batterySOC | number | Yes | No | Battery state of charge (SoC) of the device, in unit of percentage. |
+| chargingStatus | [BatteryChargeState](#batterychargestate) | Yes | No | Battery charging state of the device. |
+| healthStatus | [BatteryHealthState](#batteryhealthstate) | Yes | No | Battery health state of the device. |
+| pluggedType | [BatteryPluggedType](#batterypluggedtype) | Yes | No | Charger type of the device. |
+| voltage | number | Yes | No | Battery voltage of the device, in unit of microvolt. |
+| technology | string | Yes | No | Battery technology of the device. |
+| batteryTemperature | number | Yes | No | Battery temperature of the device, in unit of 0.1°C. |
+| isBatteryPresent7+ | boolean | Yes | No | Whether the battery is supported or present. |
+| batteryCapacityLevel9+ | [BatteryCapacityLevel](#batterycapacitylevel9) | Yes | No | Battery level of the device. |
+| estimatedRemainingChargeTime9+ | number | Yes | No | Estimated time for fully charging the current device, in unit of milliseconds. |
+| totalEnergy9+ | number | Yes | No | Total battery capacity of the device, in unit of mAh. This is a system API. |
+| nowCurrent9+ | number | Yes | No | Battery current of the device, in unit of mA. This is a system API. |
+| remainingEnergy9+ | number | Yes | No | Remaining battery capacity of the device, in unit of mAh. This is a system API.|
## BatteryPluggedType
Enumerates charger types.
-| Name | Default Value | Description |
-| -------- | ------------- | ----------------- |
-| NONE | 0 | Unknown type. |
-| AC | 1 | AC charger. |
-| USB | 2 | USB charger. |
-| WIRELESS | 3 | Wireless charger. |
+**System capability**: SystemCapability.PowerManager.BatteryManager.Core
+| Name | Value | Description |
+| -------- | ---- | ----------------- |
+| NONE | 0 | Unknown type |
+| AC | 1 | AC charger|
+| USB | 2 | USB charger |
+| WIRELESS | 3 | Wireless charger|
## BatteryChargeState
Enumerates charging states.
-| Name | Default Value | Description |
-| ------- | ------------- | --------------------------------- |
-| NONE | 0 | Unknown state. |
-| ENABLE | 1 | The battery is being charged. |
-| DISABLE | 2 | The battery is not being charged. |
-| FULL | 3 | The battery is fully charged. |
+**System capability**: SystemCapability.PowerManager.BatteryManager.Core
+| Name | Value | Description |
+| ------- | ---- | --------------- |
+| NONE | 0 | Unknown state. |
+| ENABLE | 1 | The battery is being charged. |
+| DISABLE | 2 | The battery is not being charged. |
+| FULL | 3 | The battery is fully charged.|
## BatteryHealthState
Enumerates battery health states.
-| Name | Default Value | Description |
-| ----------- | ------------- | ------------------------------------ |
-| UNKNOWN | 0 | Unknown state. |
-| GOOD | 1 | The battery is in the healthy state. |
-| OVERHEAT | 2 | The battery is overheated. |
-| OVERVOLTAGE | 3 | The battery voltage is over high. |
-| COLD | 4 | The battery temperature is low. |
-| DEAD | 5 | The battery is dead. |
-
+**System capability**: SystemCapability.PowerManager.BatteryManager.Core
+
+| Name | Value | Description |
+| ----------- | ---- | -------------- |
+| UNKNOWN | 0 | Unknown state. |
+| GOOD | 1 | The battery is in the healthy state. |
+| OVERHEAT | 2 | The battery is overheated. |
+| OVERVOLTAGE | 3 | The battery voltage is over high. |
+| COLD | 4 | The battery temperature is low. |
+| DEAD | 5 | The battery is dead.|
+
+## BatteryCapacityLevel9+
+
+Enumerates battery levels.
+
+**System capability**: SystemCapability.PowerManager.BatteryManager.Core
+
+| Name | Value| Description |
+| -------------- | ------ | ---------------------------- |
+| LEVEL_NONE | 0 | Unknown battery level. |
+| LEVEL_FULL | 1 | Full battery level. |
+| LEVEL_HIGH | 2 | High battery level. |
+| LEVEL_NORMAL | 3 | Normal battery level.|
+| LEVEL_LOW | 4 | Low battery level. |
+| LEVEL_CRITICAL | 5 | Ultra-low battery level.|
+
+## CommonEventBatteryChangedCode9+
+
+Enumerates keys for querying the additional information about the **COMMON_EVENT_BATTERY_CHANGED** event.
+
+**System capability**: SystemCapability.PowerManager.BatteryManager.Core
+
+| Name | Value| Description |
+| -------------------- | ------ | -------------------------------------------------- |
+| EXTRA_SOC | 0 | Remaining battery level in percentage. |
+| EXTRA_VOLTAGE | 1 | Battery voltage of the device. |
+| EXTRA_TEMPERATURE | 2 | Battery temperature of the device. |
+| EXTRA_HEALTH_STATE | 3 | Battery health status of the device. |
+| EXTRA_PLUGGED_TYPE | 4 | Type of the charger connected to the device. |
+| EXTRA_MAX_CURRENT | 5 | Maximum battery current of the device. |
+| EXTRA_MAX_VOLTAGE | 6 | Maximum battery voltage of the device. |
+| EXTRA_CHARGE_STATE | 7 | Battery charging status of the device. |
+| EXTRA_CHARGE_COUNTER | 8 | Number of battery charging times of the device. |
+| EXTRA_PRESENT | 9 | Whether the battery is supported by the device or installed.|
+| EXTRA_TECHNOLOGY | 10 | Battery technology of the device. |
diff --git a/en/application-dev/reference/apis/js-apis-batteryStatistics.md b/en/application-dev/reference/apis/js-apis-batteryStatistics.md
new file mode 100644
index 0000000000000000000000000000000000000000..917bc81d2f3eecef3f25d609db686b0d9dae44a2
--- /dev/null
+++ b/en/application-dev/reference/apis/js-apis-batteryStatistics.md
@@ -0,0 +1,287 @@
+# Battery Statistics
+
+This module provides APIs for querying software and hardware power consumption statistics.
+
+> **NOTE**
+>
+> - The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+>
+> - The APIs provided by this module are system APIs.
+
+## Modules to Import
+
+```js
+import batteryStats from '@ohos.batteryStatistics';
+```
+
+## batteryStats.getBatteryStats
+
+getBatteryStats(): Promise
+
+Obtains the power consumption information list, using a promise to return the result.
+
+**System API**: This is a system API.
+
+**System capability**: SystemCapability.PowerManager.BatteryStatistics
+
+**Return value**
+
+| Type | Description |
+| ----------------------------------------------------- | ------------------------------- |
+| Promise> | Promise used to return the power consumption information list.|
+
+**Error codes**
+
+For details about the error codes, see [Thermal Manager Error Codes](../errorcodes/errorcode-batteryStatistics.md).
+
+| Code| Error Message |
+| -------- | -------------- |
+| 4600101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+batteryStats.getBatteryStats()
+.then(data => {
+ console.info('battery statistics info: ' + data);
+})
+.catch(err => {
+ console.error('get battery statisitics failed, err: ' + err);
+});
+```
+
+## batteryStats.getBatteryStats
+
+getBatteryStats(callback: AsyncCallback): void
+
+Obtains the power consumption information list. This API uses an asynchronous callback to return the result.
+
+**System API**: This is a system API.
+
+**System capability**: SystemCapability.PowerManager.BatteryStatistics
+
+**Parameters**
+
+| Name | Type | Mandatory| Description |
+| -------- | ----------------------------------------------------------- | ---- | ------------------------------------------------------------ |
+| callback | AsyncCallback> | Yes | Callback used to return the result. If the operation is successful, **err** is **undefined** and **data** is the array of power consumption information obtained. If the operation failed, **err** is an error object.|
+
+**Error codes**
+
+For details about the error codes, see [Thermal Manager Error Codes](../errorcodes/errorcode-batteryStatistics.md).
+
+| Code| Error Message |
+| -------- | -------------- |
+| 4600101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+batteryStats.getBatteryStats((err, data) => {
+ if (typeof err === 'undefined') {
+ console.info('battery statistics info: ' + data);
+ } else {
+ console.error('get battery statisitics failed, err: ' + err);
+ }
+});
+```
+
+## batteryStats.getAppPowerValue
+
+getAppPowerValue(uid: number): number
+
+Obtains the power consumption of an application.
+
+**System API**: This is a system API.
+
+**System capability**: SystemCapability.PowerManager.BatteryStatistics
+
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ------ | ---- | ----------- |
+| uid | number | Yes | Application UID.|
+
+**Return value**
+
+| Type | Description |
+| ------ | --------------------------------- |
+| number | Power consumption of the application with this UID, in unit of mAh.|
+
+**Error codes**
+
+For details about the error codes, see [Thermal Manager Error Codes](../errorcodes/errorcode-batteryStatistics.md).
+
+| Code| Error Message |
+| -------- | -------------- |
+| 4600101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ var value = batteryStats.getAppPowerValue(10021);
+ console.info('battery statistics value of app is: ' + value);
+} catch(err) {
+ console.error('get battery statisitics value of app failed, err: ' + err);
+}
+```
+
+## batteryStats.getAppPowerPercent
+
+getAppPowerPercent(uid: number): number
+
+Obtains the proportion of the power consumption of an application.
+
+**System API**: This is a system API.
+
+**System capability**: SystemCapability.PowerManager.BatteryStatistics
+
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ------ | ---- | ----------- |
+| uid | number | Yes | Application UID.|
+
+**Return value**
+
+| Type | Description |
+| ------ | ------------------------- |
+| number | Proportion of the power consumption of an application with this UID.|
+
+**Error codes**
+
+For details about the error codes, see [Thermal Manager Error Codes](../errorcodes/errorcode-batteryStatistics.md).
+
+| Code| Error Message |
+| -------- | -------------- |
+| 4600101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ var percent = batteryStats.getAppPowerPercent(10021);
+ console.info('battery statistics percent of app is: ' + percent);
+} catch(err) {
+ console.error('get battery statisitics percent of app failed, err: ' + err);
+}
+```
+
+## batteryStats.getHardwareUnitPowerValue
+
+getHardwareUnitPowerValue(type: ConsumptionType): number
+
+Obtains the power consumption of a hardware unit according to the consumption type.
+
+**System API**: This is a system API.
+
+**System capability**: SystemCapability.PowerManager.BatteryStatistics
+
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ----------------------------------- | ---- | -------------- |
+| type | [ConsumptionType](#consumptiontype) | Yes | Power consumption type.|
+
+**Return value**
+
+| Type | Description |
+| ------ | ------------------------------------------ |
+| number | Power consumption of the hardware unit corresponding to the power consumption type, in unit of mAh.|
+
+**Error codes**
+
+For details about the error codes, see [Thermal Manager Error Codes](../errorcodes/errorcode-batteryStatistics.md).
+
+| Code| Error Message |
+| -------- | -------------- |
+| 4600101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ var value = batteryStats.getHardwareUnitPowerValue(ConsumptionType.CONSUMPTION_TYPE_SCREEN);
+ console.info('battery statistics percent of hardware is: ' + percent);
+} catch(err) {
+ console.error('get battery statisitics percent of hardware failed, err: ' + err);
+}
+```
+
+## batteryStats.getHardwareUnitPowerPercent
+
+getHardwareUnitPowerPercent(type: ConsumptionType): number
+
+Obtains the proportion of the power consumption of a hardware unit according to the power consumption type.
+
+**System API**: This is a system API.
+
+**System capability**: SystemCapability.PowerManager.BatteryStatistics
+
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ----------------------------------- | ---- | -------------- |
+| type | [ConsumptionType](#consumptiontype) | Yes | Power consumption type.|
+
+**Return value**
+
+| Type | Description |
+| ------ | ---------------------------------- |
+| number | Proportion of the power consumption of the hardware unit corresponding to the power consumption type.|
+
+**Error codes**
+
+For details about the error codes, see [Thermal Manager Error Codes](../errorcodes/errorcode-batteryStatistics.md).
+
+| Code| Error Message |
+| -------- | -------------- |
+| 4600101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ var value = batteryStats.getHardwareUnitPowerPercent(ConsumptionType.CONSUMPTION_TYPE_SCREEN);
+ console.info('battery statistics percent of hardware is: ' + percent);
+} catch(err) {
+ console.error('get battery statisitics percent of hardware failed, err: ' + err);
+}
+```
+
+## BatteryStatsInfo
+
+Describes the device power consumption information.
+
+**System API**: This is a system API.
+
+**System capability**: SystemCapability.PowerManager.BatteryStatistics
+
+### Attributes
+
+| Name | Type | Readable| Writable| Description |
+| ----- | ----------------------------------- | ---- | ---- | ---------------------- |
+| uid | number | Yes | No | UID related to power consumption information. |
+| type | [ConsumptionType](#consumptiontype) | Yes | No | Power consumption type. |
+| power | number | Yes | No | Power consumption, in unit of mAh.|
+
+## ConsumptionType
+
+Enumerates power consumption types.
+
+**System API**: This is a system API.
+
+**System capability**: SystemCapability.PowerManager.BatteryStatistics
+
+| Name | Value | Description |
+| -------------------------- | ---- | ----------------------------- |
+| CONSUMPTION_TYPE_INVALID | -17 | Unknown type. |
+| CONSUMPTION_TYPE_APP | -16 | Power consumption of an application. |
+| CONSUMPTION_TYPE_BLUETOOTH | -15 | Power consumption of Bluetooth. |
+| CONSUMPTION_TYPE_IDLE | -14 | Power consumption when the CPU is idle.|
+| CONSUMPTION_TYPE_PHONE | -13 | Power consumption of a phone call. |
+| CONSUMPTION_TYPE_RADIO | -12 | Power consumption of wireless communication. |
+| CONSUMPTION_TYPE_SCREEN | -11 | Power consumption of the screen. |
+| CONSUMPTION_TYPE_USER | -10 | Power consumption of the user. |
+| CONSUMPTION_TYPE_WIFI | -9 | Power consumption of Wi-Fi. |
diff --git a/en/application-dev/reference/apis/js-apis-brightness.md b/en/application-dev/reference/apis/js-apis-brightness.md
index 6bbea8b08a752972bcc9354b63841831ae837a88..df783bbda132f5da29e152e146cc6cb56316f083 100644
--- a/en/application-dev/reference/apis/js-apis-brightness.md
+++ b/en/application-dev/reference/apis/js-apis-brightness.md
@@ -1,10 +1,12 @@
-# Brightness
-
->  **NOTE**
-> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+# Screen Brightness
The Brightness module provides an API for setting the screen brightness.
+> **NOTE**
+>
+> - The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+>
+> - The APIs provided by this module are system APIs.
## Modules to Import
@@ -18,18 +20,30 @@ setValue(value: number): void
Sets the screen brightness.
-This is a system API and cannot be called by third-party applications.
+**System API**: This is a system API.
-**System capability:** SystemCapability.PowerManager.DisplayPowerManager
+**System capability**: SystemCapability.PowerManager.DisplayPowerManager
**Parameters**
-| Name | Type | Mandatory | Description |
-| ----- | ------ | ---- | ----------- |
-| value | number | Yes | Brightness value, ranging from **0** to **255**.|
+| Name| Type | Mandatory| Description |
+| ------ | ------ | ---- | ----------------------- |
+| value | number | Yes | Brightness value. The value ranges from 0 to 255.|
+
+**Error codes**
+
+For details about the error codes, see [Screen Brightness Error Codes](../errorcodes/errorcode-brightness.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4700101 | Operation failed. Cannot connect to service.|
**Example**
```js
-brightness.setValue(128);
+try {
+ brightness.setValue(128);
+} catch(err) {
+ console.error('set brightness failed, err: ' + err);
+}
```
diff --git a/en/application-dev/reference/apis/js-apis-convertxml.md b/en/application-dev/reference/apis/js-apis-convertxml.md
index ab33a232ca03c9b8ee139f497cd6ea0f572debc7..70d35b6cb168e6f10b847a42bdefa8fd53eb3d40 100644
--- a/en/application-dev/reference/apis/js-apis-convertxml.md
+++ b/en/application-dev/reference/apis/js-apis-convertxml.md
@@ -1,4 +1,4 @@
-# XML-to-JavaScript Conversion
+# @ohos.convertxml (XML-to-JavaScript Conversion)
The **convertxml** module provides APIs for converting XML text into JavaScript objects.
@@ -36,6 +36,14 @@ Converts an XML text into a JavaScript object.
| ------ | ---------------------------- |
| Object | JavaScript object.|
+**Error codes**
+
+For details about the error codes, see [Utils Error Codes](../errorcodes/errorcode-utils.md).
+
+| ID| Error Message|
+| -------- | -------- |
+| 10200002 | Invalid xml string. |
+
**Example**
```js
@@ -46,13 +54,13 @@ let xml =
' Work' +
' Play' +
'';
-let conv = new convertxml.convertToJSObject();
+let conv = new convertxml.ConvertXML()
let options = {trim : false, declarationKey:"_declaration",
instructionKey : "_instruction", attributesKey : "_attributes",
textKey : "_text", cdataKey:"_cdata", doctypeKey : "_doctype",
commentKey : "_comment", parentKey : "_parent", typeKey : "_type",
nameKey : "_name", elementsKey : "_elements"}
-let result = JSON.stringify(conv.convert(xml, options));
+let result = JSON.stringify(conv.convertToJSObject(xml, options));
console.log(result);
// Output (non-compact)
// {"_declaration":{"_attributes":{"version":"1.0","encoding":"utf-8"}},"_elements":[{"_type":"element","_name":"note","_attributes":{"importance":"high","logged":"true"},"_elements":[{"_type":"element","_name":"title","_elements":[{"_type":"text","_text":"Happy"}]},{"_type":"element","_name":"todo","_elements":[{"_type":"text","_text":"Work"}]},{"_type":"element","_name":"todo","_elements":[{"_type":"text","_text":"Play"}]}]}]}
@@ -60,14 +68,14 @@ console.log(result);
### convert(deprecated)
-> **NOTE**
->
-> This API is supported since API version 8 and deprecated since API version 9. You are advised to use [convertToJSObject9+](#converttojsobject9) instead.
-
convert(xml: string, options?: ConvertOptions) : Object
Converts an XML text into a JavaScript object.
+> **NOTE**
+>
+> This API is supported since API version 8 and deprecated since API version 9. You are advised to use [convertToJSObject9+](#converttojsobject9) instead.
+
**System capability**: SystemCapability.Utils.Lang
**Parameters**
diff --git a/en/application-dev/reference/apis/js-apis-cooperate.md b/en/application-dev/reference/apis/js-apis-cooperate.md
index 42ada8ac3efdbfe1b2161d3819405811c695c357..6a90edc0c791cc97d9a23be5a0a1e9cff9e68337 100644
--- a/en/application-dev/reference/apis/js-apis-cooperate.md
+++ b/en/application-dev/reference/apis/js-apis-cooperate.md
@@ -112,6 +112,8 @@ For details about the error codes, see [Screen Hopping Error Codes](../errorcode
**Example**
```js
+let sinkDeviceDescriptor = "descriptor";
+let srcInputDeviceId = 0;
try {
inputDeviceCooperate.start(sinkDeviceDescriptor, srcInputDeviceId, (error) => {
if (error) {
@@ -160,6 +162,8 @@ For details about the error codes, see [Screen Hopping Error Codes](../errorcode
**Example**
```js
+let sinkDeviceDescriptor = "descriptor";
+let srcInputDeviceId = 0;
try {
inputDeviceCooperate.start(sinkDeviceDescriptor, srcInputDeviceId).then(() => {
console.log(`Start Keyboard mouse crossing success.`);
@@ -249,6 +253,7 @@ Checks whether screen hopping is enabled. This API uses an asynchronous callback
**Example**
```js
+let deviceDescriptor = "descriptor";
try {
inputDeviceCooperate.getState(deviceDescriptor, (error, data) => {
if (error) {
@@ -324,7 +329,7 @@ try {
inputDeviceCooperate.on('cooperation', (data) => {
console.log(`Keyboard mouse crossing event: ${JSON.stringify(data)}`);
});
-} catch (err) {
+} catch (error) {
console.log(`Register failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
}
```
@@ -342,7 +347,7 @@ Disables listening for screen hopping events.
| Name | Type | Mandatory | Description |
| -------- | ---------------------------- | ---- | ---------------------------- |
| type | string | Yes | Event type. The value is **cooperation**. |
-| callback | AsyncCallback | No | Callback to be unregistered. If this parameter is not specified, all callbacks registered by the current application will be unregistered.|
+| callback | AsyncCallback\ | No | Callback to be unregistered. If this parameter is not specified, all callbacks registered by the current application will be unregistered.|
@@ -350,25 +355,25 @@ Disables listening for screen hopping events.
```js
// Unregister a single callback.
-callback: function(event) {
+function callback(event) {
console.log(`Keyboard mouse crossing event: ${JSON.stringify(event)}`);
return false;
}
try {
- inputDeviceCooperate.on('cooperation', this.callback);
- inputDeviceCooperate.off("cooperation", this.callback);
+ inputDeviceCooperate.on('cooperation', callback);
+ inputDeviceCooperate.off("cooperation", callback);
} catch (error) {
console.log(`Execute failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
}
```
```js
// Unregister all callbacks.
-callback: function(event) {
+function callback(event) {
console.log(`Keyboard mouse crossing event: ${JSON.stringify(event)}`);
return false;
}
try {
- inputDeviceCooperate.on('cooperation', this.callback);
+ inputDeviceCooperate.on('cooperation', callback);
inputDeviceCooperate.off("cooperation");
} catch (error) {
console.log(`Execute failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
diff --git a/en/application-dev/reference/apis/js-apis-geoLocationManager.md b/en/application-dev/reference/apis/js-apis-geoLocationManager.md
new file mode 100644
index 0000000000000000000000000000000000000000..9c09d174723ca769e8b712a2e874c9b3c6f4f3a8
--- /dev/null
+++ b/en/application-dev/reference/apis/js-apis-geoLocationManager.md
@@ -0,0 +1,2208 @@
+# Geolocation Manager
+
+The Geolocation Manager module provides location service management functions.
+
+> **NOTE**
+>
+> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+
+## Applying for Permissions
+
+Before using basic location capabilities, check whether your application has been granted the permission to access the device location information. If not, your application needs to obtain the permission from the user as described below.
+
+The system provides the following location permissions:
+- ohos.permission.LOCATION
+
+- ohos.permission.APPROXIMATELY_LOCATION
+
+- ohos.permission.LOCATION_IN_BACKGROUND
+
+If your application needs to access the device location information, it must first apply for required permissions. Specifically speaking:
+
+- API versions earlier than 9: Apply for **ohos.permission.LOCATION**.
+
+- API version 9 and later: Apply for **ohos.permission.APPROXIMATELY\_LOCATION**, or apply for **ohos.permission.APPROXIMATELY\_LOCATION** and **ohos.permission.LOCATION**. Note that **ohos.permission.LOCATION** cannot be applied for separately.
+
+| API Version| Location Permission| Permission Application Result| Location Accuracy|
+| -------- | -------- | -------- | -------- |
+| Earlier than 9| ohos.permission.LOCATION | Success| Location accurate to meters|
+| 9 and later| ohos.permission.LOCATION | Failure| No location obtained|
+| 9 and later| ohos.permission.APPROXIMATELY_LOCATION | Success| Location accurate to 5 kilometers|
+| 9 and later| ohos.permission.APPROXIMATELY_LOCATION and ohos.permission.LOCATION| Success| Location accurate to meters|
+
+If your application needs to access the device location information when running in the background, it must be configured to be able to run in the background and be granted the **ohos.permission.LOCATION_IN_BACKGROUND** permission. In this way, the system continues to report device location information after your application moves to the background.
+
+You can declare the required permission in your application's configuration file. For details, see [Access Control (Permission) Development](../../security/accesstoken-guidelines.md).
+
+
+## Modules to Import
+
+```ts
+import geoLocationManager from '@ohos.geoLocationManager';
+```
+
+
+## geoLocationManager.on('locationChange')
+
+on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void
+
+Registers a listener for location changes with a location request initiated. The location result is reported through [LocationRequest](#locationrequest).
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **locationChange** indicates a location change event.|
+ | request | [LocationRequest](#locationrequest) | Yes| Location request.|
+ | callback | Callback<[Location](#location)> | Yes| Callback used to return the location change event.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301200 | Failed to obtain the geographical location. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var requestInfo = {'priority': 0x203, 'scenario': 0x300, 'timeInterval': 0, 'distanceInterval': 0, 'maxAccuracy': 0};
+ var locationChange = (location) => {
+ console.log('locationChanger: data: ' + JSON.stringify(location));
+ };
+ try {
+ geoLocationManager.on('locationChange', requestInfo, locationChange);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+
+ ```
+
+
+## geoLocationManager.off('locationChange')
+
+off(type: 'locationChange', callback?: Callback<Location>): void
+
+Unregisters the listener for location changes with the corresponding location request deleted.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **locationChange** indicates a location change event.|
+ | callback | Callback<[Location](#location)> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301200 | Failed to obtain the geographical location. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var requestInfo = {'priority': 0x203, 'scenario': 0x300, 'timeInterval': 0, 'distanceInterval': 0, 'maxAccuracy': 0};
+ var locationChange = (location) => {
+ console.log('locationChanger: data: ' + JSON.stringify(location));
+ };
+ try {
+ geoLocationManager.on('locationChange', requestInfo, locationChange);
+ geoLocationManager.off('locationChange', locationChange);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.on('locationEnabledChange')
+
+on(type: 'locationEnabledChange', callback: Callback<boolean>): void
+
+Registers a listener for location service status change events.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **locationEnabledChange** indicates a location service status change event.|
+ | callback | Callback<boolean> | Yes| Callback used to return the location service status change event.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var locationEnabledChange = (state) => {
+ console.log('locationEnabledChange: ' + JSON.stringify(state));
+ }
+ try {
+ geoLocationManager.on('locationEnabledChange', locationEnabledChange);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.off('locationEnabledChange')
+
+off(type: 'locationEnabledChange', callback?: Callback<boolean>): void;
+
+Unregisters the listener for location service status change events.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **locationEnabledChange** indicates a location service status change event.|
+ | callback | Callback<boolean> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var locationEnabledChange = (state) => {
+ console.log('locationEnabledChange: state: ' + JSON.stringify(state));
+ }
+ try {
+ geoLocationManager.on('locationEnabledChange', locationEnabledChange);
+ geoLocationManager.off('locationEnabledChange', locationEnabledChange);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.on('cachedGnssLocationsChange')
+
+on(type: 'cachedGnssLocationsChange', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void;
+
+Registers a listener for cached GNSS location reports.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **cachedGnssLocationsChange** indicates reporting of cached GNSS locations.|
+ | request | [CachedGnssLocationsRequest](#cachedgnsslocationsrequest) | Yes| Request for reporting cached GNSS location.|
+ | callback | Callback<boolean> | Yes| Callback used to return cached GNSS locations.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301200 | Failed to obtain the geographical location. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var cachedLocationsCb = (locations) => {
+ console.log('cachedGnssLocationsChange: locations: ' + JSON.stringify(locations));
+ }
+ var requestInfo = {'reportingPeriodSec': 10, 'wakeUpCacheQueueFull': true};
+ try {
+ geoLocationManager.on('cachedGnssLocationsChange', requestInfo, cachedLocationsCb);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.off('cachedGnssLocationsChange')
+
+off(type: 'cachedGnssLocationsChange', callback?: Callback<Array<Location>>): void;
+
+Unregisters the listener for cached GNSS location reports.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **cachedGnssLocationsChange** indicates reporting of cached GNSS locations.|
+ | callback | Callback<boolean> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301200 | Failed to obtain the geographical location. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var cachedLocationsCb = (locations) => {
+ console.log('cachedGnssLocationsChange: locations: ' + JSON.stringify(locations));
+ }
+ var requestInfo = {'reportingPeriodSec': 10, 'wakeUpCacheQueueFull': true};
+ try {
+ geoLocationManager.on('cachedGnssLocationsChange', requestInfo, cachedLocationsCb);
+ geoLocationManager.off('cachedGnssLocationsChange');
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.on('satelliteStatusChange')
+
+on(type: 'satelliteStatusChange', callback: Callback<SatelliteStatusInfo>): void;
+
+Registers a listener for GNSS satellite status change events.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **satelliteStatusChange** indicates a GNSS satellite status change event.|
+ | callback | Callback<[SatelliteStatusInfo](#satellitestatusinfo)> | Yes| Callback used to return GNSS satellite status changes.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var gnssStatusCb = (satelliteStatusInfo) => {
+ console.log('satelliteStatusChange: ' + JSON.stringify(satelliteStatusInfo));
+ }
+
+ try {
+ geoLocationManager.on('satelliteStatusChange', gnssStatusCb);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.off('satelliteStatusChange')
+
+off(type: 'satelliteStatusChange', callback?: Callback<SatelliteStatusInfo>): void;
+
+Unregisters the listener for GNSS satellite status change events.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **satelliteStatusChange** indicates a GNSS satellite status change event.|
+ | callback | Callback<[SatelliteStatusInfo](#satellitestatusinfo)> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var gnssStatusCb = (satelliteStatusInfo) => {
+ console.log('satelliteStatusChange: ' + JSON.stringify(satelliteStatusInfo));
+ }
+ try {
+ geoLocationManager.on('satelliteStatusChange', gnssStatusCb);
+ geoLocationManager.off('satelliteStatusChange', gnssStatusCb);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.on('nmeaMessage')
+
+on(type: 'nmeaMessage', callback: Callback<string>): void;
+
+Registers a listener for GNSS NMEA message change events.
+
+**Permission required**: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **nmeaMessage** indicates a GNSS NMEA message change event.|
+ | callback | Callback<string> | Yes| Callback used to return GNSS NMEA message changes.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var nmeaCb = (str) => {
+ console.log('nmeaMessage: ' + JSON.stringify(str));
+ }
+
+ try {
+ geoLocationManager.on('nmeaMessage', nmeaCb );
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.off('nmeaMessage')
+
+off(type: 'nmeaMessage', callback?: Callback<string>): void;
+
+Unregisters the listener for GNSS NMEA message change events.
+
+**Permission required**: ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **nmeaMessage** indicates a GNSS NMEA message change event.|
+ | callback | Callback<string> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var nmeaCb = (str) => {
+ console.log('nmeaMessage: ' + JSON.stringify(str));
+ }
+
+ try {
+ geoLocationManager.on('nmeaMessage', nmeaCb);
+ geoLocationManager.off('nmeaMessage', nmeaCb);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.on('gnssFenceStatusChange')
+
+on(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
+
+Registers a listener for status change events of the specified geofence.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Geofence
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **gnssFenceStatusChange** indicates a geofence status change event.|
+ | request | [GeofenceRequest](#geofencerequest) | Yes| Geofencing request.|
+ | want | WantAgent | Yes| **WantAgent** used to return geofence (entrance or exit) events.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301600 | Failed to operate the geofence. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ import wantAgent from '@ohos.wantAgent';
+
+ let wantAgentInfo = {
+ wants: [
+ {
+ bundleName: "com.example.myapplication",
+ abilityName: "com.example.myapplication.MainAbility",
+ action: "action1",
+ }
+ ],
+ operationType: wantAgent.OperationType.START_ABILITY,
+ requestCode: 0,
+ wantAgentFlags: [wantAgent.WantAgentFlags.UPDATE_PRESENT_FLAG],
+ };
+
+ wantAgent.getWantAgent(wantAgentInfo).then((wantAgentObj) => {
+ var requestInfo = {'priority': 0x201, 'scenario': 0x301, "geofence": {"latitude": 121, "longitude": 26, "radius": 100, "expiration": 10000}};
+ try {
+ geoLocationManager.on('gnssFenceStatusChange', requestInfo, wantAgentObj);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ });
+ ```
+
+
+## geoLocationManager.off('gnssFenceStatusChange')
+
+off(type: 'gnssFenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
+
+Unregisters the listener for status change events of the specified geofence.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Geofence
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **gnssFenceStatusChange** indicates a geofence status change event.|
+ | request | [GeofenceRequest](#geofencerequest) | Yes| Geofencing request.|
+ | want | WantAgent | Yes| **WantAgent** used to return geofence (entrance or exit) events.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301600 | Failed to operate the geofence. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ import wantAgent from '@ohos.wantAgent';
+
+ let wantAgentInfo = {
+ wants: [
+ {
+ bundleName: "com.example.myapplication",
+ abilityName: "com.example.myapplication.MainAbility",
+ action: "action1",
+ }
+ ],
+ operationType: wantAgent.OperationType.START_ABILITY,
+ requestCode: 0,
+ wantAgentFlags: [wantAgent.WantAgentFlags.UPDATE_PRESENT_FLAG]
+ };
+
+ wantAgent.getWantAgent(wantAgentInfo).then((wantAgentObj) => {
+ var requestInfo = {'priority': 0x201, 'scenario': 0x301, "geofence": {"latitude": 121, "longitude": 26, "radius": 100, "expiration": 10000}};
+ try {
+ geoLocationManager.on('gnssFenceStatusChange', requestInfo, wantAgentObj);
+ geoLocationManager.off('gnssFenceStatusChange', requestInfo, wantAgentObj);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ });
+ ```
+
+
+## geoLocationManager.on('countryCodeChange')
+
+on(type: 'countryCodeChange', callback: Callback<CountryCode>): void;
+
+Registers a listener for country code change events.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **countryCodeChange** indicates a country code change event.|
+ | callback | Callback<[CountryCode](#countrycode)> | Yes| Callback used to return the country code change event.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301500 | Failed to query the area information. |
+
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var callback = (code) => {
+ console.log('countryCodeChange: ' + JSON.stringify(code));
+ }
+
+ try {
+ geoLocationManager.on('countryCodeChange', callback);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.off('countryCodeChange')
+
+off(type: 'countryCodeChange', callback?: Callback<CountryCode>): void;
+
+Unregisters the listener for country code change events.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | string | Yes| Event type. The value **countryCodeChange** indicates a country code change event.|
+ | callback | Callback<[CountryCode](#countrycode)> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301500 | Failed to query the area information. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var callback = (code) => {
+ console.log('countryCodeChange: ' + JSON.stringify(code));
+ }
+
+ try {
+ geoLocationManager.on('countryCodeChange', callback);
+ geoLocationManager.off('countryCodeChange', callback);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+
+## geoLocationManager.getCurrentLocation
+
+getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void
+
+Obtains the current location. This API uses an asynchronous callback to return the result.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | request | [CurrentLocationRequest](#currentlocationrequest) | Yes| Location request.|
+ | callback | AsyncCallback<[Location](#location)> | Yes| Callback used to return the current location.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301200 | Failed to obtain the geographical location. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var requestInfo = {'priority': 0x203, 'scenario': 0x300,'maxAccuracy': 0};
+ var locationChange = (err, location) => {
+ if (err) {
+ console.log('locationChanger: err=' + JSON.stringify(err));
+ }
+ if (location) {
+ console.log('locationChanger: location=' + JSON.stringify(location));
+ }
+ };
+
+ try {
+ geoLocationManager.getCurrentLocation(requestInfo, locationChange);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+## geoLocationManager.getCurrentLocation
+
+getCurrentLocation(callback: AsyncCallback<Location>): void;
+
+Obtains the current location. This API uses an asynchronous callback to return the result.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | callback | AsyncCallback<[Location](#location)> | Yes| Callback used to return the current location.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301200 | Failed to obtain the geographical location. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var locationChange = (err, location) => {
+ if (err) {
+ console.log('locationChanger: err=' + JSON.stringify(err));
+ }
+ if (location) {
+ console.log('locationChanger: location=' + JSON.stringify(location));
+ }
+ };
+
+ try {
+ geoLocationManager.getCurrentLocation(locationChange);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+## geoLocationManager.getCurrentLocation
+
+getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>
+
+Obtains the current location. This API uses a promise to return the result.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | request | [CurrentLocationRequest](#currentlocationrequest) | No| Location request.|
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<[Location](#location)> | [Location](#location) | NA | Promise used to return the current location.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301200 | Failed to obtain the geographical location. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var requestInfo = {'priority': 0x203, 'scenario': 0x300,'maxAccuracy': 0};
+ try {
+ geoLocationManager.getCurrentLocation(requestInfo).then((result) => {
+ console.log('current location: ' + JSON.stringify(result));
+ })
+ .catch((error) => {
+ console.log('promise, getCurrentLocation: error=' + JSON.stringify(error));
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.getLastLocation
+
+getLastLocation(): Location
+
+Obtains the last location.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Location | [Location](#location) | NA | Location information.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301200 |Failed to obtain the geographical location. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ var location = geoLocationManager.getLastLocation();
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.isLocationEnabled
+
+isLocationEnabled(): boolean
+
+Checks whether the location service is enabled.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | boolean | boolean | NA | Result indicating whether the location service is enabled.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ var locationEnabled = geoLocationManager.isLocationEnabled();
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.requestEnableLocation
+
+requestEnableLocation(callback: AsyncCallback<boolean>): void
+
+Requests to enable the location service. This API uses an asynchronous callback to return the result.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | callback | AsyncCallback<boolean> | Yes| Callback used to return the result. The value **true** indicates that the user agrees to enable the location service, and the value **false** indicates the opposite.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301700 | No response to the request. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.requestEnableLocation((err, data) => {
+ if (err) {
+ console.log('requestEnableLocation: err=' + JSON.stringify(err));
+ }
+ if (data) {
+ console.log('requestEnableLocation: data=' + JSON.stringify(data));
+ }
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.requestEnableLocation
+
+requestEnableLocation(): Promise<boolean>
+
+Requests to enable the location service. This API uses a promise to return the result.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<boolean> | boolean | NA | Promise used to return the result. The value **true** indicates that the user agrees to enable the location service, and the value **false** indicates the opposite.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301700 | No response to the request. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.requestEnableLocation().then((result) => {
+ console.log('promise, requestEnableLocation: ' + JSON.stringify(result));
+ })
+ .catch((error) => {
+ console.log('promise, requestEnableLocation: error=' + JSON.stringify(error));
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.enableLocation
+
+enableLocation(callback: AsyncCallback<void>): void;
+
+Enables the location service. This API uses an asynchronous callback to return the result.
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**Required permissions**: ohos.permission.MANAGE_SECURE_SETTINGS
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | callback | AsyncCallback<void> | Yes| Callback used to return the error message.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.enableLocation((err, data) => {
+ if (err) {
+ console.log('enableLocation: err=' + JSON.stringify(err));
+ }
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.enableLocation
+
+enableLocation(): Promise<void>
+
+Enables the location service. This API uses a promise to return the result.
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**Required permissions**: ohos.permission.MANAGE_SECURE_SETTINGS
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<void> | void | NA | Promise used to return the error message.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.enableLocation().then((result) => {
+ console.log('promise, enableLocation succeed');
+ })
+ .catch((error) => {
+ console.log('promise, enableLocation: error=' + JSON.stringify(error));
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+## geoLocationManager.disableLocation
+
+disableLocation(): void;
+
+Disables the location service.
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**Required permissions**: ohos.permission.MANAGE_SECURE_SETTINGS
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.disableLocation();
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+
+## geoLocationManager.getAddressesFromLocation
+
+getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void
+
+Converts coordinates into geographic description through reverse geocoding. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.Location.Location.Geocoder
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | request | [ReverseGeoCodeRequest](#reversegeocoderequest) | Yes| Reverse geocoding request.|
+ | callback | AsyncCallback<Array<[GeoAddress](#geoaddress)>> | Yes| Callback used to return the reverse geocoding result.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301300 | Reverse geocoding query failed. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var reverseGeocodeRequest = {"latitude": 31.12, "longitude": 121.11, "maxItems": 1};
+ try {
+ geoLocationManager.getAddressesFromLocation(reverseGeocodeRequest, (err, data) => {
+ if (err) {
+ console.log('getAddressesFromLocation: err=' + JSON.stringify(err));
+ }
+ if (data) {
+ console.log('getAddressesFromLocation: data=' + JSON.stringify(data));
+ }
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.getAddressesFromLocation
+
+getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;
+
+Converts coordinates into geographic description through reverse geocoding. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.Location.Location.Geocoder
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | request | [ReverseGeoCodeRequest](#reversegeocoderequest) | Yes| Reverse geocoding request.|
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<Array<[GeoAddress](#geoaddress)>> | Array<[GeoAddress](#geoaddress)> | NA | Promise used to return the reverse geocoding result.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301300 | Reverse geocoding query failed. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var reverseGeocodeRequest = {"latitude": 31.12, "longitude": 121.11, "maxItems": 1};
+ try {
+ geoLocationManager.getAddressesFromLocation(reverseGeocodeRequest).then((data) => {
+ console.log('getAddressesFromLocation: ' + JSON.stringify(data));
+ })
+ .catch((error) => {
+ console.log('promise, getAddressesFromLocation: error=' + JSON.stringify(error));
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.getAddressesFromLocationName
+
+getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void
+
+Converts geographic description into coordinates through geocoding. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.Location.Location.Geocoder
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | request | [GeoCodeRequest](#geocoderequest) | Yes| Geocoding request.|
+ | callback | AsyncCallback<Array<[GeoAddress](#geoaddress)>> | Yes| Callback used to return the geocoding result.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301400 | Geocoding query failed. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var geocodeRequest = {"description": "No. xx, xx Road, Pudong District, Shanghai", "maxItems": 1};
+ try {
+ geoLocationManager.getAddressesFromLocationName(geocodeRequest, (err, data) => {
+ if (err) {
+ console.log('getAddressesFromLocationName: err=' + JSON.stringify(err));
+ }
+ if (data) {
+ console.log('getAddressesFromLocationName: data=' + JSON.stringify(data));
+ }
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.getAddressesFromLocationName
+
+getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>
+
+Converts geographic description into coordinates through geocoding. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.Location.Location.Geocoder
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | request | [GeoCodeRequest](#geocoderequest) | Yes| Geocoding request.|
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<Array<[GeoAddress](#geoaddress)>> | Array<[GeoAddress](#geoaddress)> | NA | Promise used to return the geocoding result.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301400 | Geocoding query failed. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var geocodeRequest = {"description": "No. xx, xx Road, Pudong District, Shanghai", "maxItems": 1};
+ try {
+ geoLocationManager.getAddressesFromLocationName(geocodeRequest).then((result) => {
+ console.log('getAddressesFromLocationName: ' + JSON.stringify(result));
+ })
+ .catch((error) => {
+ console.log('promise, getAddressesFromLocationName: error=' + JSON.stringify(error));
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+## geoLocationManager.isGeocoderAvailable
+
+isGeocoderAvailable(): boolean;
+
+Obtains the (reverse) geocoding service status.
+
+**System capability**: SystemCapability.Location.Location.Geocoder
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | boolean | boolean | NA | Result indicating whether the (reverse) geocoding service is available.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ var isAvailable = geoLocationManager.isGeocoderAvailable();
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.getCachedGnssLocationsSize
+
+getCachedGnssLocationsSize(callback: AsyncCallback<number>): void;
+
+Obtains the number of cached GNSS locations.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | callback | AsyncCallback<number> | Yes| Callback used to return the number of cached GNSS locations. |
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.getCachedGnssLocationsSize((err, size) => {
+ if (err) {
+ console.log('getCachedGnssLocationsSize: err=' + JSON.stringify(err));
+ }
+ if (size) {
+ console.log('getCachedGnssLocationsSize: size=' + JSON.stringify(size));
+ }
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.getCachedGnssLocationsSize
+
+getCachedGnssLocationsSize(): Promise<number>;
+
+Obtains the number of cached GNSS locations.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<number> | number | NA | Promise used to return the number of cached GNSS locations.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.getCachedGnssLocationsSize().then((result) => {
+ console.log('promise, getCachedGnssLocationsSize: ' + JSON.stringify(result));
+ })
+ .catch((error) => {
+ console.log('promise, getCachedGnssLocationsSize: error=' + JSON.stringify(error));
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.flushCachedGnssLocations
+
+flushCachedGnssLocations(callback: AsyncCallback<void>): void;
+
+Obtains all cached GNSS locations and clears the GNSS cache queue.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | callback | AsyncCallback<void> | Yes| Callback used to return the error message.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301200 | Failed to obtain the geographical location. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.flushCachedGnssLocations((err, result) => {
+ if (err) {
+ console.log('flushCachedGnssLocations: err=' + JSON.stringify(err));
+ }
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.flushCachedGnssLocations
+
+flushCachedGnssLocations(): Promise<void>;
+
+Obtains all cached GNSS locations and clears the GNSS cache queue.
+
+**Permission required**: ohos.permission.APPROXIMATELY_LOCATION
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<void> | void | NA | Promise used to return the error code.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off. |
+|3301200 | Failed to obtain the geographical location. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.flushCachedGnssLocations().then((result) => {
+ console.log('promise, flushCachedGnssLocations success');
+ })
+ .catch((error) => {
+ console.log('promise, flushCachedGnssLocations: error=' + JSON.stringify(error));
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.sendCommand
+
+sendCommand(command: LocationCommand, callback: AsyncCallback<void>): void;
+
+Sends an extended command to the location subsystem.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | command | [LocationCommand](#locationcommand) | Yes| Extended command (string) to be sent.|
+ | callback | AsyncCallback<void> | Yes| Callback used to return the error code.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var requestInfo = {'scenario': 0x301, 'command': "command_1"};
+ try {
+ geoLocationManager.sendCommand(requestInfo, (err, result) => {
+ if (err) {
+ console.log('sendCommand: err=' + JSON.stringify(err));
+ }
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.sendCommand
+
+sendCommand(command: LocationCommand): Promise<void>;
+
+Sends an extended command to the location subsystem.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | command | [LocationCommand](#locationcommand) | Yes| Extended command (string) to be sent.|
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<void> | void | NA | Promise used to return the error code.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var requestInfo = {'scenario': 0x301, 'command': "command_1"};
+ try {
+ geoLocationManager.sendCommand(requestInfo).then((result) => {
+ console.log('promise, sendCommand success');
+ })
+ .catch((error) => {
+ console.log('promise, sendCommand: error=' + JSON.stringify(error));
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.getCountryCode
+
+getCountryCode(callback: AsyncCallback<CountryCode>): void;
+
+Obtains the current country code.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | callback | AsyncCallback<[CountryCode](#countrycode)> | Yes| Callback used to return the country code.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301500 | Failed to query the area information.|
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.getCountryCode((err, result) => {
+ if (err) {
+ console.log('getCountryCode: err=' + JSON.stringify(err));
+ }
+ if (result) {
+ console.log('getCountryCode: result=' + JSON.stringify(result));
+ }
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.getCountryCode
+
+getCountryCode(): Promise<CountryCode>;
+
+Obtains the current country code.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<[CountryCode](#countrycode)> | [CountryCode](#countrycode) | NA | Promise used to return the country code.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301500 | Failed to query the area information.|
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.getCountryCode()
+ .then((result) => {
+ console.log('promise, getCountryCode: result=' + JSON.stringify(result));
+ })
+ .catch((error) => {
+ console.log('promise, getCountryCode: error=' + JSON.stringify(error));
+ });
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.enableLocationMock
+
+enableLocationMock(): void;
+
+Enables the mock location function.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off.|
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.enableLocationMock();
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.disableLocationMock
+
+disableLocationMock(): void;
+
+Disables the mock location function.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off.|
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.disableLocationMock();
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.setMockedLocations
+
+setMockedLocations(config: LocationMockConfig): void;
+
+Sets the mock location information. The mock locations will be reported at the interval specified in this API.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | config | [LocationMockConfig](#locationmockconfig) | Yes| Mock location information, including the interval for reporting the mock locations and the array of the mock locations.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+|3301100 | The location switch is off.|
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var locations = [
+ {"latitude": 30.12, "longitude": 120.11, "altitude": 123, "accuracy": 1, "speed": 5.2, "timeStamp": 16594326109, "direction": 123.11, "timeSinceBoot": 1000000000, "additionSize": 0, "isFromMock": true},
+ {"latitude": 31.13, "longitude": 121.11, "altitude": 123, "accuracy": 2, "speed": 5.2, "timeStamp": 16594326109, "direction": 123.11, "timeSinceBoot": 2000000000, "additionSize": 0, "isFromMock": true},
+ {"latitude": 32.14, "longitude": 122.11, "altitude": 123, "accuracy": 3, "speed": 5.2, "timeStamp": 16594326109, "direction": 123.11, "timeSinceBoot": 3000000000, "additionSize": 0, "isFromMock": true},
+ {"latitude": 33.15, "longitude": 123.11, "altitude": 123, "accuracy": 4, "speed": 5.2, "timeStamp": 16594326109, "direction": 123.11, "timeSinceBoot": 4000000000, "additionSize": 0, "isFromMock": true},
+ {"latitude": 34.16, "longitude": 124.11, "altitude": 123, "accuracy": 5, "speed": 5.2, "timeStamp": 16594326109, "direction": 123.11, "timeSinceBoot": 5000000000, "additionSize": 0, "isFromMock": true}
+ ];
+ var config = {"timeInterval": 5, "locations": locations};
+ try {
+ geoLocationManager.setMockedLocations(config);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.enableReverseGeocodingMock
+
+enableReverseGeocodingMock(): void;
+
+Enables the mock reverse geocoding function.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.enableReverseGeocodingMock();
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.disableReverseGeocodingMock
+
+disableReverseGeocodingMock(): void;
+
+Disables the mock geocoding function.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.disableReverseGeocodingMock();
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.setReverseGeocodingMockInfo
+
+setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockInfo>): void;
+
+Sets information of the mock reverse geocoding function, including the mapping between a location and geographical name. If the location is contained in the configurations during reverse geocoding query, the corresponding geographical name will be returned.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | mockInfos | Array<[ReverseGeocodingMockInfo](#reversegeocodingmockinfo)> | Yes| Array of information of the mock reverse geocoding function, including a location and a geographical name.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ var mockInfos = [
+ {"location": {"locale": "zh", "latitude": 30.12, "longitude": 120.11, "maxItems": 1}, "geoAddress": {"locale": "zh", "latitude": 30.12, "longitude": 120.11, "maxItems": 1, "isFromMock": true}},
+ {"location": {"locale": "zh", "latitude": 31.12, "longitude": 121.11, "maxItems": 1}, "geoAddress": {"locale": "zh", "latitude": 31.12, "longitude": 121.11, "maxItems": 1, "isFromMock": true}},
+ {"location": {"locale": "zh", "latitude": 32.12, "longitude": 122.11, "maxItems": 1}, "geoAddress": {"locale": "zh", "latitude": 32.12, "longitude": 122.11, "maxItems": 1, "isFromMock": true}},
+ {"location": {"locale": "zh", "latitude": 33.12, "longitude": 123.11, "maxItems": 1}, "geoAddress": {"locale": "zh", "latitude": 33.12, "longitude": 123.11, "maxItems": 1, "isFromMock": true}},
+ {"location": {"locale": "zh", "latitude": 34.12, "longitude": 124.11, "maxItems": 1}, "geoAddress": {"locale": "zh", "latitude": 34.12, "longitude": 124.11, "maxItems": 1, "isFromMock": true}},
+ ];
+ try {
+ geoLocationManager.setReverseGeocodingMockInfo(mockInfos);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.isLocationPrivacyConfirmed
+
+isLocationPrivacyConfirmed(type: LocationPrivacyType): boolean;
+
+Checks whether a user agrees with the privacy statement of the location service. This API can only be called by system applications.
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | [LocationPrivacyType](#locationprivacytype)| Yes| Privacy statement type, for example, privacy statement displayed in the startup wizard or privacy statement displayed when the location service is enabled.|
+
+**Return value**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | boolean | boolean | NA | Callback used to return the result, which indicates whether the user agrees with the privacy statement.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ var isConfirmed = geoLocationManager.isLocationPrivacyConfirmed(1);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## geoLocationManager.setLocationPrivacyConfirmStatus
+
+setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): void;
+
+Sets the user confirmation status for the privacy statement of the location service. This API can only be called by system applications.
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+**Required permissions**: ohos.permission.MANAGE_SECURE_SETTINGS
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | type | [LocationPrivacyType](#locationprivacytype) | Yes| Privacy statement type, for example, privacy statement displayed in the startup wizard or privacy statement displayed when the location service is enabled.|
+ | isConfirmed | boolean | Yes| Callback used to return the result, which indicates whether the user agrees with the privacy statement.|
+
+**Error codes**
+
+For details about the following error codes, see [Location Error Codes](../errorcodes/errorcode-geoLocationManager.md).
+
+| ID| Error Message|
+| -------- | ---------------------------------------- |
+|3301000 | Location service is unavailable. |
+
+**Example**
+
+ ```ts
+ import geoLocationManager from '@ohos.geoLocationManager';
+ try {
+ geoLocationManager.setLocationPrivacyConfirmStatus(1, true);
+ } catch (err) {
+ console.error("errCode:" + err.code + ",errMessage:" + err.message);
+ }
+ ```
+
+
+## LocationRequestPriority
+
+Sets the priority of the location request.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+| Name| Value| Description|
+| -------- | -------- | -------- |
+| UNSET | 0x200 | Priority unspecified.|
+| ACCURACY | 0x201 | Location accuracy.|
+| LOW_POWER | 0x202 | Power efficiency.|
+| FIRST_FIX | 0x203 | Fast location. Use this option if you want to obtain a location as fast as possible.|
+
+
+## LocationRequestScenario
+
+ Sets the scenario of the location request.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+| Name| Value| Description|
+| -------- | -------- | -------- |
+| UNSET | 0x300 | Scenario unspecified.|
+| NAVIGATION | 0x301 | Navigation.|
+| TRAJECTORY_TRACKING | 0x302 | Trajectory tracking.|
+| CAR_HAILING | 0x303 | Ride hailing.|
+| DAILY_LIFE_SERVICE | 0x304 | Daily life services.|
+| NO_POWER | 0x305 | Power efficiency. Your application does not proactively start the location service. When responding to another application requesting the same location service, the system marks a copy of the location result to your application. In this way, your application will not consume extra power for obtaining the user location.|
+
+
+## ReverseGeoCodeRequest
+
+Defines a reverse geocoding request.
+
+**System capability**: SystemCapability.Location.Location.Geocoder
+
+| Name| Type| Readable| Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| locale | string | Yes| Yes| Language used for the location description. **zh** indicates Chinese, and **en** indicates English.|
+| latitude | number | Yes| Yes| Latitude information. A positive value indicates north latitude, and a negative value indicates south latitude.|
+| longitude | number | Yes| Yes| Longitude information. A positive value indicates east longitude , and a negative value indicates west longitude .|
+| maxItems | number | Yes| Yes| Maximum number of location records to be returned.|
+
+
+## GeoCodeRequest
+
+Defines a geocoding request.
+
+**System capability**: SystemCapability.Location.Location.Geocoder
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| locale | string | Yes| Yes| Language used for the location description. **zh** indicates Chinese, and **en** indicates English.|
+| description | string | Yes| Yes| Location description, for example, **No. xx, xx Road, Pudong New District, Shanghai**.|
+| maxItems | number | Yes| Yes| Maximum number of location records to be returned.|
+| minLatitude | number | Yes| Yes| Minimum latitude. This parameter is used with **minLongitude**, **maxLatitude**, and **maxLongitude** to specify the latitude and longitude ranges.|
+| minLongitude | number | Yes| Yes| Minimum longitude.|
+| maxLatitude | number | Yes| Yes| Maximum latitude.|
+| maxLongitude | number | Yes| Yes| Maximum longitude.|
+
+
+## GeoAddress
+
+Defines a geographic location.
+
+**System capability**: SystemCapability.Location.Location.Geocoder
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| latitude | number | Yes| No | Latitude information. A positive value indicates north latitude, and a negative value indicates south latitude.|
+| longitude | number | Yes| No | Longitude information. A positive value indicates east longitude , and a negative value indicates west longitude .|
+| locale | string | Yes| No | Language used for the location description. **zh** indicates Chinese, and **en** indicates English.|
+| placeName | string | Yes| No | Landmark of the location.|
+| countryCode | string | Yes| No | Country code.|
+| countryName | string| Yes| No| Country name.|
+| administrativeArea | string | Yes| No| Administrative region name.|
+| subAdministrativeArea | string | Yes| No| Sub-administrative region name.|
+| locality | string | Yes| No| Locality information.|
+| subLocality | string | Yes| No| Sub-locality information.|
+| roadName | string | Yes| No|Road name.|
+| subRoadName | string | Yes| No| Auxiliary road information.|
+| premises | string| Yes| No|House information.|
+| postalCode | string | Yes| No| Postal code.|
+| phoneNumber | string | Yes| No| Phone number.|
+| addressUrl | string | Yes| No| Website URL.|
+| descriptions | Array<string> | Yes| No| Additional descriptions.|
+| descriptionsSize | number | Yes| No| Total number of additional descriptions.|
+| isFromMock | Boolean | Yes| No| Whether the geographical name is from the mock reverse geocoding function.|
+
+
+## LocationRequest
+
+Defines a location request.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| priority | [LocationRequestPriority](#locationrequestpriority) | Yes| Yes| Priority of the location request.|
+| scenario | [LocationRequestScenario](#locationrequestscenario) | Yes| Yes| Scenario of the location request.|
+| timeInterval | number | Yes| Yes| Time interval at which location information is reported.|
+| distanceInterval | number | Yes| Yes| Distance interval at which location information is reported.|
+| maxAccuracy | number | Yes| Yes| Location accuracy. This parameter is valid only when the precise location function is enabled, and is invalid when the approximate location function is enabled.|
+
+
+## CurrentLocationRequest
+
+Defines the current location request.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| priority | [LocationRequestPriority](#locationrequestpriority) | Yes| Yes| Priority of the location request.|
+| scenario | [LocationRequestScenario](#locationrequestscenario) | Yes| Yes| Scenario of the location request.|
+| maxAccuracy | number | Yes| Yes| Location accuracy, in meters. This parameter is valid only when the precise location function is enabled, and is invalid when the approximate location function is enabled.|
+| timeoutMs | number | Yes| Yes| Timeout duration, in milliseconds. The minimum value is **1000**.|
+
+
+## SatelliteStatusInfo
+
+Defines the satellite status information.
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| satellitesNumber | number | Yes| No| Number of satellites.|
+| satelliteIds | Array<number> | Yes| No| Array of satellite IDs.|
+| carrierToNoiseDensitys | Array<number> | Yes| No| Carrier-to-noise density ratio, that is, **cn0**.|
+| altitudes | Array<number> | Yes| No| Altitude information.|
+| azimuths | Array<number> | Yes| No| Azimuth information.|
+| carrierFrequencies | Array<number> | Yes| No| Carrier frequency.|
+
+
+## CachedGnssLocationsRequest
+
+Represents a request for reporting cached GNSS locations.
+
+**System capability**: SystemCapability.Location.Location.Gnss
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| reportingPeriodSec | number | Yes| Yes| Interval for reporting the cached GNSS locations, in milliseconds.|
+| wakeUpCacheQueueFull | boolean | Yes| Yes | **true**: reports the cached GNSS locations to the application when the cache queue is full. **false**: discards the cached GNSS locations when the cache queue is full.|
+
+
+## Geofence
+
+Defines a GNSS geofence. Currently, only circular geofences are supported.
+
+**System capability**: SystemCapability.Location.Location.Geofence
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| latitude | number | Yes| Yes|Latitude information.|
+| longitude | number | Yes|Yes| Longitude information.|
+| radius | number | Yes|Yes| Radius of a circular geofence.|
+| expiration | number | Yes|Yes| Expiration period of a geofence, in milliseconds.|
+
+
+## GeofenceRequest
+
+Represents a GNSS geofencing request.
+
+**System capability**: SystemCapability.Location.Location.Geofence
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| scenario | [LocationRequestScenario](#locationrequestscenario) | Yes| Yes | Location scenario.|
+| geofence | [Geofence](#geofence)| Yes| Yes | Geofence information.|
+
+
+## LocationPrivacyType
+
+Defines the privacy statement type.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+| Name| Value| Description|
+| -------- | -------- | -------- |
+| OTHERS | 0 | Other scenarios.|
+| STARTUP | 1 | Privacy statement displayed in the startup wizard.|
+| CORE_LOCATION | 2 | Privacy statement displayed when enabling the location service.|
+
+
+## LocationCommand
+
+Defines an extended command.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| scenario | [LocationRequestScenario](#locationrequestscenario) | Yes| Yes | Location scenario.|
+| command | string | Yes| Yes | Extended command, in the string format.|
+
+
+## Location
+
+Defines a location.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| latitude | number| Yes| No| Latitude information. A positive value indicates north latitude, and a negative value indicates south latitude.|
+| longitude | number| Yes| No| Longitude information. A positive value indicates east longitude , and a negative value indicates west longitude .|
+| altitude | number | Yes| No| Location altitude, in meters.|
+| accuracy | number | Yes| No| Location accuracy, in meters.|
+| speed | number | Yes| No|Speed, in m/s.|
+| timeStamp | number | Yes| No| Location timestamp in the UTC format.|
+| direction | number | Yes| No| Direction information.|
+| timeSinceBoot | number | Yes| No| Location timestamp since boot.|
+| additions | Array<string> | Yes| No| Additional description.|
+| additionSize | number | Yes| No| Number of additional descriptions.|
+| isFromMock | Boolean | Yes| No| Whether the location information is from the mock location function.|
+
+
+## ReverseGeocodingMockInfo
+
+Represents information of the mock reverse geocoding function.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| location | [ReverseGeoCodeRequest](#reversegeocoderequest) | Yes| Yes| Latitude and longitude information.|
+| geoAddress | [GeoAddress](#geoaddress) | Yes| Yes|Geographical name.|
+
+
+## LocationMockConfig
+
+Represents the information of the mock location function.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**System API**: This is a system API and cannot be called by third-party applications.
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| timeInterval | number | Yes| Yes| Interval at which mock locations are reported, in seconds.|
+| locations | Array<Location> | Yes| Yes| Array of mocked locations.|
+
+
+## CountryCode
+
+Represents country code information.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| country | string | Yes| No| Country code.|
+| type | [CountryCodeType](#countrycodetype) | Yes| No| Country code source.|
+
+
+## CountryCodeType
+
+Represents the country code source type.
+
+**System capability**: SystemCapability.Location.Location.Core
+
+| Name| Value| Description|
+| -------- | -------- | -------- |
+| COUNTRY_CODE_FROM_LOCALE | 1 | Country code obtained from the language configuration of the globalization module.|
+| COUNTRY_CODE_FROM_SIM | 2 | Country code obtained from the SIM card.|
+| COUNTRY_CODE_FROM_LOCATION | 3 | Country code obtained using the reverse geocoding function based on the user's location information.|
+| COUNTRY_CODE_FROM_NETWORK | 4 | Country code obtained from the cellular network registration information.|
diff --git a/en/application-dev/reference/apis/js-apis-geolocation.md b/en/application-dev/reference/apis/js-apis-geolocation.md
index 92118167ad603189eac98eae73e156a794542f99..8bc027058b6d9bbda89636757219f83827029317 100644
--- a/en/application-dev/reference/apis/js-apis-geolocation.md
+++ b/en/application-dev/reference/apis/js-apis-geolocation.md
@@ -1,24 +1,56 @@
# Geolocation
-Location services provide basic functions such as GNSS positioning, network positioning, geocoding, reverse geocoding, country code and geofencing.
+The Geolocation module provides location services such as GNSS positioning, network positioning, geocoding, reverse geocoding, country code and geofencing.
->  **NOTE**
+> **NOTE**
> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+> The APIs provided by this module are no longer maintained since API version 9. You are advised to use [geoLocationManager](js-apis-geoLocationManager.md) instead.
+
+## Applying for Permissions
+
+Before using basic location capabilities, check whether your application has been granted the permission to access the device location information. If not, your application needs to obtain the permission from the user as described below.
+
+The system provides the following location permissions:
+- ohos.permission.LOCATION
+
+- ohos.permission.APPROXIMATELY_LOCATION
+
+- ohos.permission.LOCATION_IN_BACKGROUND
+
+If your application needs to access the device location information, it must first apply for required permissions. Specifically speaking:
+
+API versions earlier than 9: Apply for **ohos.permission.LOCATION**.
+
+API version 9 and later: Apply for **ohos.permission.APPROXIMATELY\_LOCATION**, or apply for **ohos.permission.APPROXIMATELY\_LOCATION** and **ohos.permission.LOCATION**. Note that **ohos.permission.LOCATION** cannot be applied for separately.
+
+| API Version| Location Permission| Permission Application Result| Location Accuracy|
+| -------- | -------- | -------- | -------- |
+| Earlier than 9| ohos.permission.LOCATION | Success| Location accurate to meters|
+| 9 and later| ohos.permission.LOCATION | Failure| No location obtained|
+| 9 and later| ohos.permission.APPROXIMATELY_LOCATION | Success| Location accurate to 5 kilometers|
+| 9 and later| ohos.permission.APPROXIMATELY_LOCATION and ohos.permission.LOCATION| Success| Location accurate to meters|
+
+If your application needs to access the device location information when running in the background, it must be configured to be able to run in the background and be granted the **ohos.permission.LOCATION_IN_BACKGROUND** permission. In this way, the system continues to report device location information after your application moves to the background.
+
+You can declare the required permission in your application's configuration file. For details, see [Access Control (Permission) Development](../../security/accesstoken-guidelines.md).
## Modules to Import
-```js
+```ts
import geolocation from '@ohos.geolocation';
```
-## geolocation.on('locationChange')
+## geolocation.on('locationChange')(deprecated)
on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>): void
-Registers a listener for location changes with a location request initiated.
+Registers a listener for location changes with a location request initiated. The location result is reported through [LocationRequest](#locationrequest).
+
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.on('locationChange')](js-apis-geoLocationManager.md#geolocationmanageronlocationchange).
-**Permission required**: ohos.permission.LOCATION
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -27,13 +59,14 @@ Registers a listener for location changes with a location request initiated.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| type | string | Yes| Event type. The value **locationChange** indicates a location change event.|
- | request | LocationRequest | Yes| Location request.|
+ | request | [LocationRequest](#locationrequest) | Yes| Location request.|
| callback | Callback<[Location](#location)> | Yes| Callback used to return the location change event.|
+
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var requestInfo = {'priority': 0x203, 'scenario': 0x300, 'timeInterval': 0, 'distanceInterval': 0, 'maxAccuracy': 0};
var locationChange = (location) => {
@@ -43,13 +76,16 @@ Registers a listener for location changes with a location request initiated.
```
-## geolocation.off('locationChange')
+## geolocation.off('locationChange')(deprecated)
off(type: 'locationChange', callback?: Callback<Location>): void
Unregisters the listener for location changes with the corresponding location request deleted.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.off('locationChange')](js-apis-geoLocationManager.md#geolocationmanagerofflocationchange).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -58,12 +94,12 @@ Unregisters the listener for location changes with the corresponding location re
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| type | string | Yes| Event type. The value **locationChange** indicates a location change event.|
- | callback | Callback<[Location](#location)> | No| Callback used to return the location change event.|
+ | callback | Callback<[Location](#location)> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var requestInfo = {'priority': 0x203, 'scenario': 0x300, 'timeInterval': 0, 'distanceInterval': 0, 'maxAccuracy': 0};
var locationChange = (location) => {
@@ -74,13 +110,16 @@ Unregisters the listener for location changes with the corresponding location re
```
-## geolocation.on('locationServiceState')
+## geolocation.on('locationServiceState')(deprecated)
on(type: 'locationServiceState', callback: Callback<boolean>): void
Registers a listener for location service status change events.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.on('locationEnabledChange')](js-apis-geoLocationManager.md#geolocationmanageronlocationenabledchange).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -93,8 +132,8 @@ Registers a listener for location service status change events.
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var locationServiceState = (state) => {
console.log('locationServiceState: ' + JSON.stringify(state));
@@ -103,13 +142,16 @@ Registers a listener for location service status change events.
```
-## geolocation.off('locationServiceState')
+## geolocation.off('locationServiceState')(deprecated)
off(type: 'locationServiceState', callback?: Callback<boolean>): void;
Unregisters the listener for location service status change events.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.off('locationEnabledChange')](js-apis-geoLocationManager.md#geolocationmanagerofflocationenabledchange).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -118,12 +160,12 @@ Unregisters the listener for location service status change events.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| type | string | Yes| Event type. The value **locationServiceState** indicates a location service status change event.|
- | callback | Callback<boolean> | No| Callback used to return the location service status change event.|
+ | callback | Callback<boolean> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var locationServiceState = (state) => {
console.log('locationServiceState: state: ' + JSON.stringify(state));
@@ -133,13 +175,17 @@ Unregisters the listener for location service status change events.
```
-## geolocation.on('cachedGnssLocationsReporting')8+
+## geolocation.on('cachedGnssLocationsReporting')(deprecated)
on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback<Array<Location>>): void;
Registers a listener for cached GNSS location reports.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.on('cachedGnssLocationsChange')](js-apis-geoLocationManager.md#geolocationmanageroncachedgnsslocationschange).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
@@ -148,13 +194,13 @@ Registers a listener for cached GNSS location reports.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| type | string | Yes| Event type. The value **cachedGnssLocationsReporting** indicates reporting of cached GNSS locations.|
- | request | CachedGnssLocationsRequest | Yes| Request for reporting cached GNSS location.|
- | callback | Callback<boolean> | Yes| Callback used to return cached GNSS locations.|
+ | request | [CachedGnssLocationsRequest](#cachedgnsslocationsrequest) | Yes| Request for reporting cached GNSS location.|
+ | callback | Callback<Array<[Location](#location)>> | Yes| Callback used to return cached GNSS locations.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var cachedLocationsCb = (locations) => {
console.log('cachedGnssLocationsReporting: locations: ' + JSON.stringify(locations));
@@ -164,13 +210,17 @@ Registers a listener for cached GNSS location reports.
```
-## geolocation.off('cachedGnssLocationsReporting')8+
+## geolocation.off('cachedGnssLocationsReporting')(deprecated)
off(type: 'cachedGnssLocationsReporting', callback?: Callback<Array<Location>>): void;
Unregisters the listener for cached GNSS location reports.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.off('cachedGnssLocationsChange')](js-apis-geoLocationManager.md#geolocationmanageroffcachedgnsslocationschange).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
@@ -179,12 +229,12 @@ Unregisters the listener for cached GNSS location reports.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| type | string | Yes| Event type. The value **cachedGnssLocationsReporting** indicates reporting of cached GNSS locations.|
- | callback | Callback<boolean> | No| Callback used to return cached GNSS locations.|
+ | callback | Callback<Array<[Location](#location)>> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var cachedLocationsCb = (locations) => {
console.log('cachedGnssLocationsReporting: locations: ' + JSON.stringify(locations));
@@ -195,13 +245,17 @@ Unregisters the listener for cached GNSS location reports.
```
-## geolocation.on('gnssStatusChange')8+
+## geolocation.on('gnssStatusChange')(deprecated)
on(type: 'gnssStatusChange', callback: Callback<SatelliteStatusInfo>): void;
Registers a listener for GNSS satellite status change events.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.on('satelliteStatusChange')](js-apis-geoLocationManager.md#geolocationmanageronsatellitestatuschange).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
@@ -210,12 +264,12 @@ Registers a listener for GNSS satellite status change events.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| type | string | Yes| Event type. The value **gnssStatusChange** indicates a GNSS satellite status change.|
- | callback | Callback<SatelliteStatusInfo> | Yes| Callback used to return GNSS satellite status changes.|
+ | callback | Callback<[SatelliteStatusInfo](#satellitestatusinfo)> | Yes| Callback used to return GNSS satellite status changes.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var gnssStatusCb = (satelliteStatusInfo) => {
console.log('gnssStatusChange: ' + JSON.stringify(satelliteStatusInfo));
@@ -224,13 +278,17 @@ Registers a listener for GNSS satellite status change events.
```
-## geolocation.off('gnssStatusChange')8+
+## geolocation.off('gnssStatusChange')(deprecated)
off(type: 'gnssStatusChange', callback?: Callback<SatelliteStatusInfo>): void;
Unregisters the listener for GNSS satellite status change events.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.off('satelliteStatusChange')](js-apis-geoLocationManager.md#geolocationmanageroffsatellitestatuschange).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
@@ -239,11 +297,11 @@ Unregisters the listener for GNSS satellite status change events.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| type | string | Yes| Event type. The value **gnssStatusChange** indicates a GNSS satellite status change.|
- | callback | Callback<SatelliteStatusInfo> | No| Callback used to return GNSS satellite status changes.|
+ | callback | Callback<[SatelliteStatusInfo](#satellitestatusinfo)> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var gnssStatusCb = (satelliteStatusInfo) => {
console.log('gnssStatusChange: ' + JSON.stringify(satelliteStatusInfo));
@@ -253,13 +311,17 @@ Unregisters the listener for GNSS satellite status change events.
```
-## geolocation.on('nmeaMessageChange')8+
+## geolocation.on('nmeaMessageChange')(deprecated)
on(type: 'nmeaMessageChange', callback: Callback<string>): void;
Registers a listener for GNSS NMEA message change events.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.on('nmeaMessage')](js-apis-geoLocationManager.md#geolocationmanageronnmeamessage).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
@@ -272,8 +334,8 @@ Registers a listener for GNSS NMEA message change events.
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var nmeaCb = (str) => {
console.log('nmeaMessageChange: ' + JSON.stringify(str));
@@ -282,13 +344,17 @@ Registers a listener for GNSS NMEA message change events.
```
-## geolocation.off('nmeaMessageChange')8+
+## geolocation.off('nmeaMessageChange')(deprecated)
off(type: 'nmeaMessageChange', callback?: Callback<string>): void;
Unregisters the listener for GNSS NMEA message change events.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.off('nmeaMessage')](js-apis-geoLocationManager.md#geolocationmanageroffnmeamessage).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
@@ -297,12 +363,12 @@ Unregisters the listener for GNSS NMEA message change events.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| type | string | Yes| Event type. The value **nmeaMessageChange** indicates a GNSS NMEA message change.|
- | callback | Callback<string> | No| Callback used to return GNSS NMEA message changes.|
+ | callback | Callback<string> | No| Callback to unregister. If this parameter is not specified, all callbacks of the specified event type are unregistered.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var nmeaCb = (str) => {
console.log('nmeaMessageChange: ' + JSON.stringify(str));
@@ -312,13 +378,17 @@ Unregisters the listener for GNSS NMEA message change events.
```
-## geolocation.on('fenceStatusChange')8+
+## geolocation.on('fenceStatusChange')(deprecated)
on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Registers a listener for status change events of the specified geofence.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.on('gnssFenceStatusChange')](js-apis-geoLocationManager.md#geolocationmanagerongnssfencestatuschange).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geofence
@@ -327,13 +397,13 @@ Registers a listener for status change events of the specified geofence.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| type | string | Yes| Event type. The value **fenceStatusChange** indicates a geofence status change.|
- | request | GeofenceRequest | Yes| Geofencing request.|
+ | request | [GeofenceRequest](#geofencerequest) | Yes| Geofencing request.|
| want | WantAgent | Yes| **WantAgent** used to return geofence (entrance or exit) events.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
import wantAgent from '@ohos.wantAgent';
@@ -357,13 +427,17 @@ Registers a listener for status change events of the specified geofence.
```
-## geolocation.off('fenceStatusChange')8+
+## geolocation.off('fenceStatusChange')(deprecated)
off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void;
Unregisters the listener for status change events of the specified geofence.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.off('gnssFenceStatusChange')](js-apis-geoLocationManager.md#geolocationmanageroffgnssfencestatuschange).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geofence
@@ -372,12 +446,12 @@ Unregisters the listener for status change events of the specified geofence.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| type | string | Yes| Event type. The value **fenceStatusChange** indicates a geofence status change.|
- | request | GeofenceRequest | Yes| Geofencing request.|
+ | request | [GeofenceRequest](#geofencerequest) | Yes| Geofencing request.|
| want | WantAgent | Yes| **WantAgent** used to return geofence (entrance or exit) events.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
import wantAgent from '@ohos.wantAgent';
@@ -402,14 +476,16 @@ Unregisters the listener for status change events of the specified geofence.
```
-## geolocation.getCurrentLocation
+## geolocation.getCurrentLocation(deprecated)
getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback<Location>): void
-
Obtains the current location. This API uses an asynchronous callback to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getCurrentLocation](js-apis-geoLocationManager.md#geolocationmanagergetcurrentlocation).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -417,12 +493,12 @@ Obtains the current location. This API uses an asynchronous callback to return t
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
- | request | [CurrentLocationRequest](#currentlocationrequest) | No| Location request.|
+ | request | [CurrentLocationRequest](#currentlocationrequest) | Yes| Location request.|
| callback | AsyncCallback<[Location](#location)> | Yes| Callback used to return the current location.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var requestInfo = {'priority': 0x203, 'scenario': 0x300,'maxAccuracy': 0};
var locationChange = (err, location) => {
@@ -434,18 +510,55 @@ Obtains the current location. This API uses an asynchronous callback to return t
}
};
geolocation.getCurrentLocation(requestInfo, locationChange);
+ ```
+
+
+## geolocation.getCurrentLocation(deprecated)
+
+getCurrentLocation(callback: AsyncCallback<Location>): void
+
+
+Obtains the current location. This API uses an asynchronous callback to return the result.
+
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getCurrentLocation](js-apis-geoLocationManager.md#geolocationmanagergetcurrentlocation).
+
+**Required permissions**: ohos.permission.LOCATION
+
+**System capability**: SystemCapability.Location.Location.Core
+
+**Parameters**
+
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | callback | AsyncCallback<[Location](#location)> | Yes| Callback used to return the current location.|
+
+**Example**
+
+ ```ts
+ import geolocation from '@ohos.geolocation';
+ var locationChange = (err, location) => {
+ if (err) {
+ console.log('locationChanger: err=' + JSON.stringify(err));
+ }
+ if (location) {
+ console.log('locationChanger: location=' + JSON.stringify(location));
+ }
+ };
geolocation.getCurrentLocation(locationChange);
```
-## geolocation.getCurrentLocation
+## geolocation.getCurrentLocation(deprecated)
getCurrentLocation(request?: CurrentLocationRequest): Promise<Location>
-
Obtains the current location. This API uses a promise to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getCurrentLocation](js-apis-geoLocationManager.md#geolocationmanagergetcurrentlocation-2).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -457,14 +570,14 @@ Obtains the current location. This API uses a promise to return the result.
**Return value**
- | Name| Description|
- | -------- | -------- |
- | Promise<[Location](#location)> | Promise used to return the current location.|
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<[Location](#location)> |[Location](#location)|NA| Promise used to return the current location.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var requestInfo = {'priority': 0x203, 'scenario': 0x300,'maxAccuracy': 0};
geolocation.getCurrentLocation(requestInfo).then((result) => {
@@ -473,13 +586,16 @@ Obtains the current location. This API uses a promise to return the result.
```
-## geolocation.getLastLocation
+## geolocation.getLastLocation(deprecated)
getLastLocation(callback: AsyncCallback<Location>): void
Obtains the previous location. This API uses an asynchronous callback to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getLastLocation](js-apis-geoLocationManager.md#geolocationmanagergetlastlocation).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -491,8 +607,8 @@ Obtains the previous location. This API uses an asynchronous callback to return
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.getLastLocation((err, data) => {
if (err) {
@@ -505,26 +621,29 @@ Obtains the previous location. This API uses an asynchronous callback to return
```
-## geolocation.getLastLocation
+## geolocation.getLastLocation(deprecated)
getLastLocation(): Promise<Location>
Obtains the previous location. This API uses a promise to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getLastLocation](js-apis-geoLocationManager.md#geolocationmanagergetlastlocation).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
**Return value**
- | Name| Description|
- | -------- | -------- |
- | Promise<[Location](#location)> | Promise used to return the previous location.|
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<[Location](#location)> | [Location](#location)|NA|Promise used to return the previous location.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.getLastLocation().then((result) => {
console.log('getLastLocation: result: ' + JSON.stringify(result));
@@ -532,14 +651,16 @@ Obtains the previous location. This API uses a promise to return the result.
```
-## geolocation.isLocationEnabled
+## geolocation.isLocationEnabled(deprecated)
isLocationEnabled(callback: AsyncCallback<boolean>): void
-
Checks whether the location service is enabled. This API uses an asynchronous callback to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.isLocationEnabled](js-apis-geoLocationManager.md#geolocationmanagerislocationenabled).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -550,8 +671,8 @@ Checks whether the location service is enabled. This API uses an asynchronous ca
| callback | AsyncCallback<boolean> | Yes| Callback used to return the location service status.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.isLocationEnabled((err, data) => {
if (err) {
@@ -564,25 +685,28 @@ Checks whether the location service is enabled. This API uses an asynchronous ca
```
-## geolocation.isLocationEnabled
+## geolocation.isLocationEnabled(deprecated)
isLocationEnabled(): Promise<boolean>
Checks whether the location service is enabled. This API uses a promise to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.isLocationEnabled](js-apis-geoLocationManager.md#geolocationmanagerislocationenabled).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
**Return value**
- | Name| Description|
- | -------- | -------- |
- | Promise<boolean> | Promise used to return the location service status.|
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<boolean> | boolean|NA|Promise used to return the location service status.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.isLocationEnabled().then((result) => {
console.log('promise, isLocationEnabled: ' + JSON.stringify(result));
@@ -590,14 +714,16 @@ Checks whether the location service is enabled. This API uses a promise to retur
```
-## geolocation.requestEnableLocation
+## geolocation.requestEnableLocation(deprecated)
requestEnableLocation(callback: AsyncCallback<boolean>): void
-
Requests to enable the location service. This API uses an asynchronous callback to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.requestEnableLocation](js-apis-geoLocationManager.md#geolocationmanagerrequestenablelocation).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -608,8 +734,8 @@ Requests to enable the location service. This API uses an asynchronous callback
| callback | AsyncCallback<boolean> | Yes| Callback used to return the location service status.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.requestEnableLocation((err, data) => {
if (err) {
@@ -622,159 +748,45 @@ Requests to enable the location service. This API uses an asynchronous callback
```
-## geolocation.requestEnableLocation
+## geolocation.requestEnableLocation(deprecated)
requestEnableLocation(): Promise<boolean>
Requests to enable the location service. This API uses a promise to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.requestEnableLocation](js-apis-geoLocationManager.md#geolocationmanagerrequestenablelocation-1).
-**System capability**: SystemCapability.Location.Location.Core
-
-**Return value**
-
- | Name| Description|
- | -------- | -------- |
- | Promise<boolean> | Promise used to return the location service status.|
-
-**Example**
-
- ```js
- import geolocation from '@ohos.geolocation';
- geolocation.requestEnableLocation().then((result) => {
- console.log('promise, requestEnableLocation: ' + JSON.stringify(result));
- });
- ```
-
-
-## geolocation.enableLocation
-
-enableLocation(callback: AsyncCallback<boolean>): void;
-
-Enables the location service. This API uses an asynchronous callback to return the result.
-
-**System API**: This is a system API and cannot be called by third-party applications.
-
-**Permission required**: ohos.permission.MANAGE_SECURE_SETTINGS
-
-**System capability**: SystemCapability.Location.Location.Core
-
-**Parameters**
-
- | Name| Type| Mandatory| Description|
- | -------- | -------- | -------- | -------- |
- | callback | AsyncCallback<boolean> | Yes| Callback used to return the location service status.|
-
-**Example**
-
- ```js
- import geolocation from '@ohos.geolocation';
- geolocation.enableLocation((err, data) => {
- if (err) {
- console.log('enableLocation: err=' + JSON.stringify(err));
- }
- if (data) {
- console.log('enableLocation: data=' + JSON.stringify(data));
- }
- });
- ```
-
-
-## geolocation.enableLocation
-
-enableLocation(): Promise<boolean>
-
-Enables the location service. This API uses a promise to return the result.
-
-**System API**: This is a system API and cannot be called by third-party applications.
-
-**Permission required**: ohos.permission.MANAGE_SECURE_SETTINGS
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
**Return value**
- | Name| Description|
- | -------- | -------- |
- | Promise<boolean> | Promise used to return the location service status.|
-
-**Example**
-
- ```js
- import geolocation from '@ohos.geolocation';
- geolocation.enableLocation().then((result) => {
- console.log('promise, enableLocation: ' + JSON.stringify(result));
- });
- ```
-
-## geolocation.disableLocation
-
-disableLocation(callback: AsyncCallback<boolean>): void;
-
-Disables the location service. This API uses an asynchronous callback to return the result.
-
-**System API**: This is a system API and cannot be called by third-party applications.
-
-**Permission required**: ohos.permission.MANAGE_SECURE_SETTINGS
-
-**System capability**: SystemCapability.Location.Location.Core
-
-**Parameters**
-
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
- | callback | AsyncCallback<boolean> | Yes| Callback used to return the location service status.|
+ | Promise<boolean> | boolean|NA|Promise used to return the location service status.|
**Example**
-
- ```js
- import geolocation from '@ohos.geolocation';
- geolocation.disableLocation((err, data) => {
- if (err) {
- console.log('disableLocation: err=' + JSON.stringify(err));
- }
- if (data) {
- console.log('disableLocation: data=' + JSON.stringify(data));
- }
- });
- ```
-
-
-## geolocation.disableLocation
-
-disableLocation(): Promise<boolean>
-
-Disables the location service. This API uses a promise to return the result.
-
-**System API**: This is a system API and cannot be called by third-party applications.
-
-**Permission required**: ohos.permission.MANAGE_SECURE_SETTINGS
-
-**System capability**: SystemCapability.Location.Location.Core
-**Return value**
-
- | Name| Description|
- | -------- | -------- |
- | Promise<boolean> | Promise used to return the location service status.|
-
-**Example**
-
- ```js
+ ```ts
import geolocation from '@ohos.geolocation';
- geolocation.disableLocation().then((result) => {
- console.log('promise, disableLocation: ' + JSON.stringify(result));
+ geolocation.requestEnableLocation().then((result) => {
+ console.log('promise, requestEnableLocation: ' + JSON.stringify(result));
});
```
-## geolocation.isGeoServiceAvailable
+
+## geolocation.isGeoServiceAvailable(deprecated)
isGeoServiceAvailable(callback: AsyncCallback<boolean>): void
Checks whether the (reverse) geocoding service is available. This API uses an asynchronous callback to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.isGeocoderAvailable](js-apis-geoLocationManager.md#geolocationmanagerisgeocoderavailable).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geocoder
@@ -785,8 +797,8 @@ Checks whether the (reverse) geocoding service is available. This API uses an as
| callback | AsyncCallback<boolean> | Yes| Callback used to return the (reverse) geocoding service status.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.isGeoServiceAvailable((err, data) => {
if (err) {
@@ -799,25 +811,28 @@ Checks whether the (reverse) geocoding service is available. This API uses an as
```
-## geolocation.isGeoServiceAvailable
+## geolocation.isGeoServiceAvailable(deprecated)
isGeoServiceAvailable(): Promise<boolean>
Checks whether the (reverse) geocoding service is available. This API uses a promise to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.isGeocoderAvailable](js-apis-geoLocationManager.md#geolocationmanagerisgeocoderavailable).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geocoder
**Return value**
- | Name| Description|
- | -------- | -------- |
- | Promise<boolean> | Promise used to return the (reverse) geocoding service status.|
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<boolean> |boolean|NA| Promise used to return the (reverse) geocoding service status.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.isGeoServiceAvailable().then((result) => {
console.log('promise, isGeoServiceAvailable: ' + JSON.stringify(result));
@@ -825,13 +840,16 @@ Checks whether the (reverse) geocoding service is available. This API uses a pro
```
-## geolocation.getAddressesFromLocation
+## geolocation.getAddressesFromLocation(deprecated)
getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void
Converts coordinates into geographic description through reverse geocoding. This API uses an asynchronous callback to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getAddressesFromLocation](js-apis-geoLocationManager.md#geolocationmanagergetaddressesfromlocation).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geocoder
@@ -843,8 +861,8 @@ Converts coordinates into geographic description through reverse geocoding. This
| callback | AsyncCallback<Array<[GeoAddress](#geoaddress)>> | Yes| Callback used to return the reverse geocoding result.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var reverseGeocodeRequest = {"latitude": 31.12, "longitude": 121.11, "maxItems": 1};
geolocation.getAddressesFromLocation(reverseGeocodeRequest, (err, data) => {
@@ -858,13 +876,16 @@ Converts coordinates into geographic description through reverse geocoding. This
```
-## geolocation.getAddressesFromLocation
+## geolocation.getAddressesFromLocation(deprecated)
getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise<Array<GeoAddress>>;
Converts coordinates into geographic description through reverse geocoding. This API uses a promise to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getAddressesFromLocation](js-apis-geoLocationManager.md#geolocationmanagergetaddressesfromlocation-1).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geocoder
@@ -876,13 +897,13 @@ Converts coordinates into geographic description through reverse geocoding. This
**Return value**
- | Name| Description|
- | -------- | -------- |
- | Promise<Array<[GeoAddress](#geoaddress)>> | Promise used to return the reverse geocoding result.|
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<Array<[GeoAddress](#geoaddress)>> | Array<[GeoAddress](#geoaddress)>|NA|Promise used to return the reverse geocoding result.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var reverseGeocodeRequest = {"latitude": 31.12, "longitude": 121.11, "maxItems": 1};
geolocation.getAddressesFromLocation(reverseGeocodeRequest).then((data) => {
@@ -891,13 +912,16 @@ Converts coordinates into geographic description through reverse geocoding. This
```
-## geolocation.getAddressesFromLocationName
+## geolocation.getAddressesFromLocationName(deprecated)
getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback<Array<GeoAddress>>): void
Converts geographic description into coordinates through geocoding. This API uses an asynchronous callback to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getAddressesFromLocationName](js-apis-geoLocationManager.md#geolocationmanagergetaddressesfromlocationname).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geocoder
@@ -909,8 +933,8 @@ Converts geographic description into coordinates through geocoding. This API use
| callback | AsyncCallback<Array<[GeoAddress](#geoaddress)>> | Yes| Callback used to return the geocoding result.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var geocodeRequest = {"description": "No. xx, xx Road, Pudong District, Shanghai", "maxItems": 1};
geolocation.getAddressesFromLocationName(geocodeRequest, (err, data) => {
@@ -924,13 +948,16 @@ Converts geographic description into coordinates through geocoding. This API use
```
-## geolocation.getAddressesFromLocationName
+## geolocation.getAddressesFromLocationName(deprecated)
getAddressesFromLocationName(request: GeoCodeRequest): Promise<Array<GeoAddress>>
Converts geographic description into coordinates through geocoding. This API uses a promise to return the result.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getAddressesFromLocationName](js-apis-geoLocationManager.md#geolocationmanagergetaddressesfromlocationname-1).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geocoder
@@ -942,13 +969,13 @@ Converts geographic description into coordinates through geocoding. This API use
**Return value**
- | Name| Description|
- | -------- | -------- |
- | Promise<Array<[GeoAddress](#geoaddress)>> | Callback used to return the geocoding result.|
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<Array<[GeoAddress](#geoaddress)>> | Array<[GeoAddress](#geoaddress)>|NA|Callback used to return the geocoding result.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var geocodeRequest = {"description": "No. xx, xx Road, Pudong District, Shanghai", "maxItems": 1};
geolocation.getAddressesFromLocationName(geocodeRequest).then((result) => {
@@ -957,13 +984,17 @@ Converts geographic description into coordinates through geocoding. This API use
```
-## geolocation.getCachedGnssLocationsSize8+
+## geolocation.getCachedGnssLocationsSize(deprecated)
getCachedGnssLocationsSize(callback: AsyncCallback<number>): void;
Obtains the number of cached GNSS locations.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getCachedGnssLocationsSize](js-apis-geoLocationManager.md#geolocationmanagergetcachedgnsslocationssize).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
@@ -974,8 +1005,8 @@ Obtains the number of cached GNSS locations.
| callback | AsyncCallback<number> | Yes| Callback used to return the number of cached GNSS locations. |
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.getCachedGnssLocationsSize((err, size) => {
if (err) {
@@ -988,25 +1019,29 @@ Obtains the number of cached GNSS locations.
```
-## geolocation.getCachedGnssLocationsSize8+
+## geolocation.getCachedGnssLocationsSize(deprecated)
getCachedGnssLocationsSize(): Promise<number>;
Obtains the number of cached GNSS locations.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.getCachedGnssLocationsSize](js-apis-geoLocationManager.md#geolocationmanagergetcachedgnsslocationssize-1).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
**Return value**
- | Name| Description|
- | -------- | -------- |
- | Promise<number> | Promise used to return the number of cached GNSS locations.|
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<number> | number|NA|Promise used to return the number of cached GNSS locations.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.getCachedGnssLocationsSize().then((result) => {
console.log('promise, getCachedGnssLocationsSize: ' + JSON.stringify(result));
@@ -1014,13 +1049,17 @@ Obtains the number of cached GNSS locations.
```
-## geolocation.flushCachedGnssLocations8+
+## geolocation.flushCachedGnssLocations(deprecated)
flushCachedGnssLocations(callback: AsyncCallback<boolean>): void;
Obtains all cached GNSS locations and clears the GNSS cache queue.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.flushCachedGnssLocations](js-apis-geoLocationManager.md#geolocationmanagerflushcachedgnsslocations).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
@@ -1031,8 +1070,8 @@ Obtains all cached GNSS locations and clears the GNSS cache queue.
| callback | AsyncCallback<boolean> | Yes| Callback used to return the operation result.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.flushCachedGnssLocations((err, result) => {
if (err) {
@@ -1045,25 +1084,29 @@ Obtains all cached GNSS locations and clears the GNSS cache queue.
```
-## geolocation.flushCachedGnssLocations8+
+## geolocation.flushCachedGnssLocations(deprecated)
flushCachedGnssLocations(): Promise<boolean>;
Obtains all cached GNSS locations and clears the GNSS cache queue.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.flushCachedGnssLocations](js-apis-geoLocationManager.md#geolocationmanagerflushcachedgnsslocations-1).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
**Return value**
- | Name| Description|
- | -------- | -------- |
- | Promise<boolean> | Promise used to return the operation result.|
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<boolean> |boolean|NA| Promise used to return the operation result.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
geolocation.flushCachedGnssLocations().then((result) => {
console.log('promise, flushCachedGnssLocations: ' + JSON.stringify(result));
@@ -1071,13 +1114,17 @@ Obtains all cached GNSS locations and clears the GNSS cache queue.
```
-## geolocation.sendCommand8+
+## geolocation.sendCommand(deprecated)
sendCommand(command: LocationCommand, callback: AsyncCallback<boolean>): void;
-Sends an extended command to the location subsystem. This API can only be called by system applications.
+Sends an extended command to the location subsystem.
+
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.sendCommand](js-apis-geoLocationManager.md#geolocationmanagersendcommand).
-**Permission required**: ohos.permission.LOCATION
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -1085,12 +1132,12 @@ Sends an extended command to the location subsystem. This API can only be called
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
- | command | LocationCommand | Yes| Extended command (string) to be sent.|
+ | command | [LocationCommand](#locationcommand) | Yes| Extended command (string) to be sent.|
| callback | AsyncCallback<boolean> | Yes| Callback used to return the operation result.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var requestInfo = {'scenario': 0x301, 'command': "command_1"};
geolocation.sendCommand(requestInfo, (err, result) => {
@@ -1104,13 +1151,17 @@ Sends an extended command to the location subsystem. This API can only be called
```
-## geolocation.sendCommand8+
+## geolocation.sendCommand(deprecated)
sendCommand(command: LocationCommand): Promise<boolean>;
-Sends an extended command to the location subsystem. This API can only be called by system applications.
+Sends an extended command to the location subsystem.
+
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.sendCommand](js-apis-geoLocationManager.md#geolocationmanagersendcommand).
-**Permission required**: ohos.permission.LOCATION
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
@@ -1118,17 +1169,17 @@ Sends an extended command to the location subsystem. This API can only be called
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
- | command | LocationCommand | Yes| Extended command (string) to be sent.|
+ | command | [LocationCommand](#locationcommand) | Yes| Extended command (string) to be sent.|
**Return value**
- | Name| Description|
- | -------- | -------- |
- | Promise<boolean> | Callback used to return the operation result.|
+ | Name| Type| Mandatory| Description|
+ | -------- | -------- | -------- | -------- |
+ | Promise<boolean> |boolean|NA| Callback used to return the operation result.|
**Example**
-
- ```js
+
+ ```ts
import geolocation from '@ohos.geolocation';
var requestInfo = {'scenario': 0x301, 'command': "command_1"};
geolocation.sendCommand(requestInfo).then((result) => {
@@ -1137,15 +1188,18 @@ Sends an extended command to the location subsystem. This API can only be called
```
-## LocationRequestPriority
+## LocationRequestPriority(deprecated)
Sets the priority of the location request.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.LocationRequestPriority](js-apis-geoLocationManager.md#locationrequestpriority).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
-| Name| Default Value| Description|
+| Name| Value| Description|
| -------- | -------- | -------- |
| UNSET | 0x200 | Priority unspecified.|
| ACCURACY | 0x201 | Location accuracy.|
@@ -1153,15 +1207,18 @@ Sets the priority of the location request.
| FIRST_FIX | 0x203 | Fast location. Use this option if you want to obtain a location as fast as possible.|
-## LocationRequestScenario
+## LocationRequestScenario(deprecated)
Sets the scenario of the location request.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.LocationRequestScenario](js-apis-geoLocationManager.md#locationrequestscenario).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
-| Name| Default Value| Description|
+| Name| Value| Description|
| -------- | -------- | -------- |
| UNSET | 0x300 | Scenario unspecified.|
| NAVIGATION | 0x301 | Navigation.|
@@ -1171,15 +1228,18 @@ Sets the priority of the location request.
| NO_POWER | 0x305 | Power efficiency. Your application does not proactively start the location service. When responding to another application requesting the same location service, the system marks a copy of the location result to your application. In this way, your application will not consume extra power for obtaining the user location.|
-## GeoLocationErrorCode
+## GeoLocationErrorCode(deprecated)
Enumerates error codes of the location service.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9.
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
-| Name| Default Value| Description|
+| Name| Value| Description|
| -------- | -------- | -------- |
| INPUT_PARAMS_ERROR7+ | 101 | Incorrect input parameters.|
| REVERSE_GEOCODE_ERROR7+ | 102 | Failed to call the reverse geocoding API.|
@@ -1190,213 +1250,255 @@ Enumerates error codes of the location service.
| LOCATION_REQUEST_TIMEOUT_ERROR7+ | 107 | Failed to obtain the location within the specified time.|
-## ReverseGeoCodeRequest
+## ReverseGeoCodeRequest(deprecated)
Defines a reverse geocoding request.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.ReverseGeoCodeRequest](js-apis-geoLocationManager.md#reversegeocoderequest).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geocoder
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| locale | string | No| Language used for the location description. **zh** indicates Chinese, and **en** indicates English.|
-| latitude | number | Yes| Latitude information. A positive value indicates north latitude, and a negative value indicates south latitude.|
-| longitude | number | Yes| Longitude information. A positive value indicates east longitude , and a negative value indicates west longitude .|
-| maxItems | number | No| Maximum number of location records to be returned.|
+| Name| Type| Readable| Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| locale | string | Yes| Yes| Language used for the location description. **zh** indicates Chinese, and **en** indicates English.|
+| latitude | number | Yes| Yes| Latitude information. A positive value indicates north latitude, and a negative value indicates south latitude.|
+| longitude | number | Yes| Yes| Longitude information. A positive value indicates east longitude , and a negative value indicates west longitude .|
+| maxItems | number | Yes| Yes| Maximum number of location records to be returned.|
-## GeoCodeRequest
+## GeoCodeRequest(deprecated)
Defines a geocoding request.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.GeoCodeRequest](js-apis-geoLocationManager.md#geocoderequest).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geocoder
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| locale | string | No| Language used for the location description. **zh** indicates Chinese, and **en** indicates English.|
-| description | number | Yes| Location description, for example, No. xx, xx Road, Pudong New District, Shanghai.|
-| maxItems | number | No| Maximum number of location records to be returned.|
-| minLatitude | number | No| Minimum latitude. This parameter is used with minLongitude, maxLatitude, and maxLongitude to specify the latitude and longitude ranges.|
-| minLongitude | number | No| Minimum longitude.|
-| maxLatitude | number | No| Maximum latitude.|
-| maxLongitude | number | No| Maximum longitude.|
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| locale | string | Yes| Yes| Language used for the location description. **zh** indicates Chinese, and **en** indicates English.|
+| description | string | Yes| Yes| Location description, for example, **No. xx, xx Road, Pudong New District, Shanghai**.|
+| maxItems | number | Yes| Yes| Maximum number of location records to be returned.|
+| minLatitude | number | Yes| Yes| Minimum latitude. This parameter is used with **minLongitude**, **maxLatitude**, and **maxLongitude** to specify the latitude and longitude ranges.|
+| minLongitude | number | Yes| Yes| Minimum longitude.|
+| maxLatitude | number | Yes| Yes| Maximum latitude.|
+| maxLongitude | number | Yes| Yes| Maximum longitude.|
-## GeoAddress
+## GeoAddress(deprecated)
Defines a geographic location.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.GeoAddress](js-apis-geoLocationManager.md#geoaddress).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geocoder
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| latitude7+ | number | No| Latitude information. A positive value indicates north latitude, and a negative value indicates south latitude.|
-| longitude7+ | number | No| Longitude information. A positive value indicates east longitude , and a negative value indicates west longitude .|
-| locale7+ | string | No| Language used for the location description. **zh** indicates Chinese, and **en** indicates English.|
-| placeName7+ | string | No| Landmark of the location.|
-| countryCode7+ | string | No| Country code.|
-| countryName7+ | string | No| Country name.|
-| administrativeArea7+ | string | No| Administrative region name.|
-| subAdministrativeArea7+ | string | No| Sub-administrative region name.|
-| locality7+ | string | No| Locality information. |
-| subLocality7+ | string | No| Sub-locality information. |
-| roadName7+ | string | No| Road name.|
-| subRoadName7+ | string | No| Auxiliary road information.|
-| premises7+ | string | No| House information.|
-| postalCode7+ | string | No| Postal code.|
-| phoneNumber7+ | string | No| Phone number.|
-| addressUrl7+ | string | No| Website URL.|
-| descriptions7+ | Array<string> | No| Additional description.|
-| descriptionsSize7+ | number | No| Total number of additional descriptions.|
-
-
-## LocationRequest
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| latitude7+ | number | Yes| No| Latitude information. A positive value indicates north latitude, and a negative value indicates south latitude.|
+| longitude7+ | number | Yes| No| Longitude information. A positive value indicates east longitude , and a negative value indicates west longitude .|
+| locale7+ | string | Yes| No| Language used for the location description. **zh** indicates Chinese, and **en** indicates English.|
+| placeName7+ | string | Yes| No| Landmark of the location.|
+| countryCode7+ | string | Yes| No| Country code.|
+| countryName7+ | string | Yes| No| Country name.|
+| administrativeArea7+ | string | Yes| No| Administrative region name.|
+| subAdministrativeArea7+ | string | Yes| No| Sub-administrative region name.|
+| locality7+ | string | Yes| No| Locality information.|
+| subLocality7+ | string | Yes| No| Sub-locality information.|
+| roadName7+ | string | Yes| No| Road name.|
+| subRoadName7+ | string | Yes| No| Auxiliary road information.|
+| premises7+ | string | Yes| No| House information.|
+| postalCode7+ | string | Yes| No| Postal code.|
+| phoneNumber7+ | string | Yes| No| Phone number.|
+| addressUrl7+ | string | Yes| No| Website URL.|
+| descriptions7+ | Array<string> | Yes| No| Additional descriptions.|
+| descriptionsSize7+ | number | Yes| No| Total number of additional descriptions.|
+
+
+## LocationRequest(deprecated)
Defines a location request.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.LocationRequest](js-apis-geoLocationManager.md#locationrequest).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| priority | [LocationRequestPriority](#locationrequestpriority) | No| Priority of the location request.|
-| scenario | [LocationRequestScenario](#locationrequestscenario) | Yes| Scenario of the location request.|
-| timeInterval | number | No| Time interval at which location information is reported.|
-| distanceInterval | number | No| Distance interval at which location information is reported.|
-| maxAccuracy | number | No| Location accuracy.|
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| priority | [LocationRequestPriority](#locationrequestpriority) | Yes| Yes| Priority of the location request.|
+| scenario | [LocationRequestScenario](#locationrequestscenario) | Yes| Yes| Scenario of the location request.|
+| timeInterval | number | Yes| Yes| Time interval at which location information is reported.|
+| distanceInterval | number | Yes| Yes| Distance interval at which location information is reported.|
+| maxAccuracy | number | Yes| Yes| Location accuracy. This parameter is valid only when the precise location function is enabled, and is invalid when the approximate location function is enabled.|
-## CurrentLocationRequest
+## CurrentLocationRequest(deprecated)
Defines the current location request.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.CurrentLocationRequest](js-apis-geoLocationManager.md#currentlocationrequest).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| priority | [LocationRequestPriority](#locationrequestpriority) | No| Priority of the location request.|
-| scenario | [LocationRequestScenario](#locationrequestscenario) | No| Scenario of the location request.|
-| maxAccuracy | number | No| Location accuracy, in meters.|
-| timeoutMs | number | No| Timeout duration, in milliseconds. The minimum value is 1000.|
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| priority | [LocationRequestPriority](#locationrequestpriority) | Yes| Yes| Priority of the location request.|
+| scenario | [LocationRequestScenario](#locationrequestscenario) | Yes| Yes| Scenario of the location request.|
+| maxAccuracy | number | Yes| Yes| Location accuracy, in meters. This parameter is valid only when the precise location function is enabled, and is invalid when the approximate location function is enabled.|
+| timeoutMs | number | Yes| Yes| Timeout duration, in milliseconds. The minimum value is **1000**.|
-## SatelliteStatusInfo8+
+## SatelliteStatusInfo(deprecated)
Defines the satellite status information.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.SatelliteStatusInfo](js-apis-geoLocationManager.md#satellitestatusinfo).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| satellitesNumber | number | Yes| Number of satellites.|
-| satelliteIds | Array<number> | Yes| Array of satellite IDs.|
-| carrierToNoiseDensitys | Array<number> | Yes| Carrier-to-noise density ratio, that is, **cn0**.|
-| altitudes | Array<number> | Yes| Altitude information.|
-| azimuths | Array<number> | Yes| Azimuth information.|
-| carrierFrequencies | Array<number> | Yes| Carrier frequency.|
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| satellitesNumber | number | Yes| No| Number of satellites.|
+| satelliteIds | Array<number> | Yes| No| Array of satellite IDs.|
+| carrierToNoiseDensitys | Array<number> | Yes| No| Carrier-to-noise density ratio, that is, **cn0**.|
+| altitudes | Array<number> | Yes| No| Altitude information.|
+| azimuths | Array<number> | Yes| No| Azimuth information.|
+| carrierFrequencies | Array<number> | Yes| No| Carrier frequency.|
-## CachedGnssLocationsRequest8+
+## CachedGnssLocationsRequest(deprecated)
Represents a request for reporting cached GNSS locations.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.CachedGnssLocationsRequest](js-apis-geoLocationManager.md#cachedgnsslocationsrequest).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Gnss
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| reportingPeriodSec | number | Yes| Interval for reporting the cached GNSS locations, in milliseconds.|
-| wakeUpCacheQueueFull | boolean | Yes| **true**: reports the cached GNSS locations to the application when the cache queue is full. **false**: discards the cached GNSS locations when the cache queue is full.|
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| reportingPeriodSec | number | Yes| Yes| Interval for reporting the cached GNSS locations, in milliseconds.|
+| wakeUpCacheQueueFull | boolean | Yes| Yes | **true**: reports the cached GNSS locations to the application when the cache queue is full. **false**: discards the cached GNSS locations when the cache queue is full.|
-## Geofence8+
+## Geofence(deprecated)
Defines a GNSS geofence. Currently, only circular geofences are supported.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.Geofence](js-apis-geoLocationManager.md#geofence).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geofence
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| latitude | number | Yes| Latitude information.|
-| longitude | number | Yes| Longitude information.|
-| radius | number | Yes| Radius of a circular geofence.|
-| expiration | number | Yes| Expiration period of a geofence, in milliseconds.|
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| latitude | number | Yes| Yes | Latitude information.|
+| longitude | number | Yes| Yes | Longitude information.|
+| radius | number | Yes| Yes | Radius of a circular geofence.|
+| expiration | number | Yes| Yes | Expiration period of a geofence, in milliseconds.|
-## GeofenceRequest8+
+## GeofenceRequest(deprecated)
Represents a GNSS geofencing request.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.GeofenceRequest](js-apis-geoLocationManager.md#geofencerequest).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Geofence
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| priority | LocationRequestPriority | Yes| Priority of the location information.|
-| scenario | LocationRequestScenario | Yes| Location scenario.|
-| geofence | Geofence | Yes| Geofence information.|
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| priority | [LocationRequestPriority](#locationrequestpriority) | Yes| Yes | Priority of the location information.|
+| scenario | [LocationRequestScenario](#locationrequestscenario) | Yes| Yes | Location scenario.|
+| geofence | [Geofence](#geofence)| Yes| Yes | Geofence information.|
-## LocationPrivacyType8+
+## LocationPrivacyType(deprecated)
Defines the privacy statement type.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.LocationPrivacyType](js-apis-geoLocationManager.md#locationprivacytype).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
-| Name| Default Value| Description|
+| Name| Value| Description|
| -------- | -------- | -------- |
| OTHERS | 0 | Other scenarios.|
| STARTUP | 1 | Privacy statement displayed in the startup wizard.|
| CORE_LOCATION | 2 | Privacy statement displayed when enabling the location service.|
-## LocationCommand8+
+## LocationCommand(deprecated)
Defines an extended command.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is supported since API version 8.
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.LocationCommand](js-apis-geoLocationManager.md#locationcommand).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| scenario | LocationRequestScenario | Yes| Location scenario.|
-| command | string | Yes| Extended command, in the string format.|
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| scenario | [LocationRequestScenario](#locationrequestscenario) | Yes| Yes | Location scenario.|
+| command | string | Yes| Yes | Extended command, in the string format.|
-## Location
+## Location(deprecated)
Defines a location.
-**Permission required**: ohos.permission.LOCATION
+> **NOTE**
+> This API is deprecated since API version 9. You are advised to use [geoLocationManager.Location](js-apis-geoLocationManager.md#location).
+
+**Required permissions**: ohos.permission.LOCATION
**System capability**: SystemCapability.Location.Location.Core
-| Name| Type| Mandatory| Description|
-| -------- | -------- | -------- | -------- |
-| latitude7+ | number | Yes| Latitude information. A positive value indicates north latitude, and a negative value indicates south latitude.|
-| longitude7+ | number | Yes| Longitude information. A positive value indicates east longitude , and a negative value indicates west longitude .|
-| altitude7+ | number | Yes| Location altitude, in meters.|
-| accuracy7+ | number | Yes| Location accuracy, in meters.|
-| speed7+ | number | Yes| Speed, in m/s.|
-| timeStamp7+ | number | Yes| Location timestamp in the UTC format.|
-| direction7+ | number | Yes| Direction information.|
-| timeSinceBoot7+ | number | Yes| Location timestamp since boot.|
-| additions7+ | Array<string> | No| Additional information.|
-| additionSize7+ | number | No| Number of additional descriptions.|
+| Name| Type| Readable|Writable| Description|
+| -------- | -------- | -------- | -------- | -------- |
+| latitude7+ | number | Yes| No| Latitude information. A positive value indicates north latitude, and a negative value indicates south latitude.|
+| longitude7+ | number | Yes| No| Longitude information. A positive value indicates east longitude , and a negative value indicates west longitude .|
+| altitude7+ | number | Yes| No| Location altitude, in meters.|
+| accuracy7+ | number | Yes| No| Location accuracy, in meters.|
+| speed7+ | number | Yes| No| Speed, in m/s.|
+| timeStamp7+ | number | Yes| No| Location timestamp in the UTC format.|
+| direction7+ | number | Yes| No| Direction information.|
+| timeSinceBoot7+ | number | Yes| No| Location timestamp since boot.|
+| additions7+ | Array<string> | Yes| No| Additional description.|
+| additionSize7+ | number | Yes| No| Number of additional descriptions.|
diff --git a/en/application-dev/reference/apis/js-apis-inner-application-accessibilityExtensionContext.md b/en/application-dev/reference/apis/js-apis-inner-application-accessibilityExtensionContext.md
new file mode 100644
index 0000000000000000000000000000000000000000..ada115441c19e1a39cad20d3989ad581943a0d7d
--- /dev/null
+++ b/en/application-dev/reference/apis/js-apis-inner-application-accessibilityExtensionContext.md
@@ -0,0 +1,1159 @@
+# AccessibilityExtensionContext
+
+The **AccessibilityExtensionContext** module, inherited from **ExtensionContext**, provides context for **Accessibility Extension** abilities.
+
+You can use the APIs of this module to configure the concerned information, obtain root information, and inject gestures.
+
+> **NOTE**
+>
+> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+>
+> The APIs of this module can be used only in the stage model.
+
+## Usage
+
+Before using the **AccessibilityExtensionContext** module, you must define a child class that inherits from **AccessibilityExtensionAbility**.
+
+```ts
+import AccessibilityExtensionAbility from '@ohos.application.AccessibilityExtensionAbility'
+let axContext;
+class MainAbility extends AccessibilityExtensionAbility {
+ onConnect(): void {
+ console.log('AxExtensionAbility onConnect');
+ axContext = this.context;
+ }
+}
+```
+
+## FocusDirection
+
+Enumerates the focus directions.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+| Name | Description |
+| -------- | ------- |
+| up | Search for the next focusable item above the current item in focus.|
+| down | Search for the next focusable item below the current item in focus.|
+| left | Search for the next focusable item on the left of the current item in focus.|
+| right | Search for the next focusable item on the right of the current item in focus.|
+| forward | Search for the next focusable item before the current item in focus.|
+| backward | Search for the next focusable item after the current item in focus.|
+
+## FocusType
+
+Enumerates the focus types.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+| Name | Description |
+| ------------- | ----------- |
+| accessibility | Accessibility focus.|
+| normal | Normal focus. |
+
+## Rect
+
+Defines a rectangle.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+| Name | Type | Readable | Writable | Description |
+| ------ | ------ | ---- | ---- | --------- |
+| left | number | Yes | No | Left boundary of the rectangle.|
+| top | number | Yes | No | Top boundary of the rectangle.|
+| width | number | Yes | No | Width of the rectangle. |
+| height | number | Yes | No | Height of the rectangle. |
+
+## WindowType
+
+Enumerates the window types.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+| Name | Description |
+| ----------- | --------- |
+| application | Application window.|
+| system | System window.|
+
+## AccessibilityExtensionContext.setTargetBundleName
+
+setTargetBundleName(targetNames: Array\): Promise\;
+
+Sets the concerned target bundle. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ------------------- | ---- | -------- |
+| targetNames | Array<string> | Yes | Name of the target bundle.|
+
+**Return value**
+
+| Type | Description |
+| ---------------------- | --------------------- |
+| Promise<void> | Promise that returns no value.|
+
+**Example**
+
+```ts
+let targetNames = ['com.ohos.xyz'];
+try {
+ axContext.setTargetBundleName(targetNames).then(() => {
+ console.info('set target bundle names success');
+ }).catch((err) => {
+ console.error('failed to set target bundle names, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to set target bundle names, because ' + JSON.stringify(exception));
+};
+```
+
+## AccessibilityExtensionContext.setTargetBundleName
+
+setTargetBundleName(targetNames: Array\, callback: AsyncCallback\): void;
+
+Sets the concerned target bundle. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ------------------- | ---- | -------- |
+| targetNames | Array<string> | Yes | Name of the target bundle.|
+| callback | AsyncCallback<void> | Yes | Callback used to return the result. If the operation fails, **error** that contains data is returned.|
+
+**Example**
+
+```ts
+let targetNames = ['com.ohos.xyz'];
+try {
+ axContext.setTargetBundleName(targetNames, (err, data) => {
+ if (err) {
+ console.error('failed to set target bundle names, because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('set target bundle names success');
+ });
+} catch (exception) {
+ console.error('failed to set target bundle names, because ' + JSON.stringify(exception));
+};
+```
+
+## AccessibilityExtensionContext.getFocusElement
+
+getFocusElement(isAccessibilityFocus?: boolean): Promise\;
+
+Obtains the focus element. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| -------------------- | ------- | ---- | ------------------- |
+| isAccessibilityFocus | boolean | No | Whether the obtained focus element is an accessibility focus. The default value is **false**.|
+
+**Return value**
+
+| Type | Description |
+| ----------------------------------- | ---------------------- |
+| Promise<AccessibilityElement> | Promise used to return the current focus element.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300003 | Do not have accessibility right for this operation. |
+
+**Example**
+
+```ts
+let focusElement;
+try {
+ axContext.getFocusElement().then((data) => {
+ focusElement = data;
+ console.log('get focus element success');
+ }).catch((err) => {
+ console.error('failed to get focus element, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to get focus element, because ' + JSON.stringify(exception));
+}
+```
+
+## AccessibilityExtensionContext.getFocusElement
+
+getFocusElement(callback: AsyncCallback\): void;
+
+Obtains the focus element. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| callback | AsyncCallback<AccessibilityElement> | Yes | Callback used to return the current focus element.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300003 | Do not have accessibility right for this operation. |
+
+**Example**
+
+```ts
+let focusElement;
+try {
+ axContext.getFocusElement((err, data) => {
+ if (err) {
+ console.error('failed to get focus element, because ' + JSON.stringify(err));
+ return;
+ }
+ focusElement = data;
+ console.info('get focus element success');
+ });
+} catch (exception) {
+ console.error('failed to get focus element, because ' + JSON.stringify(exception));
+}
+```
+
+## AccessibilityExtensionContext.getFocusElement
+
+getFocusElement(isAccessibilityFocus: boolean, callback: AsyncCallback\): void;
+
+Obtains the focus element. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| -------------------- | ------- | ---- | ------------------- |
+| isAccessibilityFocus | boolean | Yes | Whether the obtained focus element is an accessibility focus.|
+| callback | AsyncCallback<AccessibilityElement> | Yes | Callback used to return the current focus element.|
+
+**Example**
+
+```ts
+let focusElement;
+let isAccessibilityFocus = true;
+try {
+ axContext.getFocusElement(isAccessibilityFocus, (err, data) => {
+ if (err) {
+ console.error('failed to get focus element, because ' + JSON.stringify(err));
+ return;
+ }
+ focusElement = data;
+ console.info('get focus element success');
+});
+} catch (exception) {
+ console.error('failed to get focus element, because ' + JSON.stringify(exception));
+}
+```
+## AccessibilityExtensionContext.getWindowRootElement
+
+getWindowRootElement(windowId?: number): Promise\;
+
+Obtains the root element of a window. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| -------------------- | ------- | ---- | ------------------- |
+| windowId | number | No | Window for which you want to obtain the root element. If this parameter is not specified, it indicates the current active window.|
+
+**Return value**
+
+| Type | Description |
+| ----------------------------------- | ---------------------- |
+| Promise<AccessibilityElement> | Promise used to return the root element.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300003 | Do not have accessibility right for this operation. |
+
+**Example**
+
+```ts
+let rootElement;
+try {
+ axContext.getWindowRootElement().then((data) => {
+ rootElement = data;
+ console.log('get root element of the window success');
+ }).catch((err) => {
+ console.error('failed to get root element of the window, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to get root element of the window, ' + JSON.stringify(exception));
+}
+```
+
+## AccessibilityExtensionContext.getWindowRootElement
+
+getWindowRootElement(callback: AsyncCallback\): void;
+
+Obtains the root element of a window. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| callback | AsyncCallback<AccessibilityElement> | Yes | Callback used to return the root element.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300003 | Do not have accessibility right for this operation. |
+
+**Example**
+
+```ts
+let rootElement;
+try {
+ axContext.getWindowRootElement((err, data) => {
+ if (err) {
+ console.error('failed to get root element of the window, because ' + JSON.stringify(err));
+ return;
+ }
+ rootElement = data;
+ console.info('get root element of the window success');
+});
+} catch (exception) {
+ console.error('failed to get root element of the window, because ' + JSON.stringify(exception));
+}
+```
+
+## AccessibilityExtensionContext.getWindowRootElement
+
+getWindowRootElement(windowId: number, callback: AsyncCallback\): void;
+
+Obtains the root element of a window. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| -------------------- | ------- | ---- | ------------------- |
+| windowId | number | Yes | Window for which you want to obtain the root element. If this parameter is not specified, it indicates the current active window.|
+| callback | AsyncCallback<AccessibilityElement> | Yes | Callback used to return the root element.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300003 | Do not have accessibility right for this operation. |
+
+**Example**
+
+```ts
+let rootElement;
+let windowId = 10;
+try {
+ axContext.getWindowRootElement(windowId, (err, data) => {
+ if (err) {
+ console.error('failed to get root element of the window, because ' + JSON.stringify(err));
+ return;
+ }
+ rootElement = data;
+ console.info('get root element of the window success');
+});
+} catch (exception) {
+ console.error('failed to get root element of the window, because ' + JSON.stringify(exception));
+}
+```
+
+## AccessibilityExtensionContext.getWindows
+
+getWindows(displayId?: number): Promise\>;
+
+Obtains the list of windows on a display. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| -------------------- | ------- | ---- | ------------------- |
+| displayId | number | No | ID of the display from which the window information is obtained. If this parameter is not specified, it indicates the default main display.|
+
+**Return value**
+
+| Type | Description |
+| ----------------------------------- | ---------------------- |
+| Promise<Array<AccessibilityElement>> | Promise used to return the window list.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300003 | Do not have accessibility right for this operation. |
+
+**Example**
+
+```ts
+let windows;
+try {
+ axContext.getWindows().then((data) => {
+ windows = data;
+ console.log('get windows success');
+ }).catch((err) => {
+ console.error('failed to get windows, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to get windows, because ' + JSON.stringify(exception));
+}
+```
+
+## AccessibilityExtensionContext.getWindows
+
+getWindows(callback: AsyncCallback\>): void;
+
+Obtains the list of windows on a display. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| callback | AsyncCallback<Array<AccessibilityElement>> | Yes | Callback used to return the window list.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300003 | Do not have accessibility right for this operation. |
+
+**Example**
+
+```ts
+let windows;
+try {
+ axContext.getWindows((err, data) => {
+ if (err) {
+ console.error('failed to get windows, because ' + JSON.stringify(err));
+ return;
+ }
+ windows = data;
+ console.info('get windows success');
+ });
+} catch (exception) {
+ console.error('failed to get windows, because ' + JSON.stringify(exception));
+}
+```
+
+## AccessibilityExtensionContext.getWindows
+
+getWindows(displayId: number, callback: AsyncCallback\>): void;
+
+Obtains the list of windows on a display. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| -------------------- | ------- | ---- | ------------------- |
+| displayId | number | Yes | ID of the display from which the window information is obtained. If this parameter is not specified, it indicates the default main display.|
+| callback | AsyncCallback<Array<AccessibilityElement>> | Yes | Callback used to return the window list.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300003 | Do not have accessibility right for this operation. |
+
+**Example**
+
+```ts
+let windows;
+let displayId = 10;
+try {
+ axContext.getWindows(displayId, (err, data) => {
+ if (err) {
+ console.error('failed to get windows, because ' + JSON.stringify(err));
+ return;
+ }
+ windows = data;
+ console.info('get windows success');
+ });
+} catch (exception) {
+ console.error('failed to get windows, because ' + JSON.stringify(exception));
+}
+```
+
+## AccessibilityExtensionContext.injectGesture
+
+injectGesture(gesturePath: GesturePath): Promise\;
+
+Inject a gesture. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| gesturePath | [GesturePath](js-apis-accessibility-GesturePath.md#gesturepath) | Yes | Path of the gesture to inject. |
+
+**Return value**
+
+| Type | Description |
+| ----------------------------------- | ---------------------- |
+| Promise<void> | Promise that returns no value.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300003 | Do not have accessibility right for this operation. |
+
+**Example**
+
+```ts
+import GesturePath from "@ohos.accessibility.GesturePath";
+import GesturePoint from '@ohos.accessibility.GesturePoint';
+let gesturePath = new GesturePath.GesturePath(100);
+try {
+ for (let i = 0; i < 10; i++) {
+ let gesturePoint = new GesturePoint.GesturePoint(100, i * 200);
+ gesturePath.points.push(gesturePoint);
+ }
+ axContext.injectGesture(gesturePath).then(() => {
+ console.info('inject gesture success');
+ }).catch((err) => {
+ console.error('failed to inject gesture, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.error('failed to inject gesture, because ' + JSON.stringify(exception));
+}
+```
+## AccessibilityExtensionContext.injectGesture
+
+injectGesture(gesturePath: GesturePath, callback: AsyncCallback\): void
+
+Inject a gesture. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| gesturePath | [GesturePath](js-apis-accessibility-GesturePath.md#gesturepath) | Yes | Path of the gesture to inject. |
+| callback | AsyncCallback<void> | Yes | Callback used to return the result.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300003 | Do not have accessibility right for this operation. |
+
+**Example**
+
+```ts
+import GesturePath from "@ohos.accessibility.GesturePath";
+import GesturePoint from '@ohos.accessibility.GesturePoint';
+let gesturePath = new GesturePath.GesturePath(100);
+try {
+ for (let i = 0; i < 10; i++) {
+ let gesturePoint = new GesturePoint.GesturePoint(100, i * 200);
+ gesturePath.points.push(gesturePoint);
+ }
+ axContext.injectGesture(gesturePath, (err, data) => {
+ if (err) {
+ console.error('failed to inject gesture, because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('inject gesture success');
+ });
+} catch (exception) {
+ console.error('failed to inject gesture, because ' + JSON.stringify(exception));
+}
+```
+## AccessibilityElement9+
+
+Defines the accessibilityelement. Before calling APIs of **AccessibilityElement**, you must call [AccessibilityExtensionContext.getFocusElement()](#accessibilityextensioncontextgetfocuselement) or [AccessibilityExtensionContext.getWindowRootElement()](#accessibilityextensioncontextgetwindowrootelement) to obtain an **AccessibilityElement** instance.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+## attributeNames
+
+attributeNames\(): Promise\>;
+
+Obtains all attribute names of this element. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Return value**
+
+| Type | Description |
+| ---------------------------------------- | ------------------------ |
+| Promise<Array<T>> | Promise used to return all attribute names of the element.|
+
+**Example**
+
+```ts
+let rootElement;
+let attributeNames;
+rootElement.attributeNames().then((data) => {
+ console.log('get attribute names success');
+ attributeNames = data;
+}).catch((err) => {
+ console.log('failed to get attribute names, because ' + JSON.stringify(err));
+});
+```
+## attributeNames
+
+attributeNames\(callback: AsyncCallback\>): void;
+
+Obtains all attribute names of this element. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| callback | AsyncCallback<Array<T>> | Yes | Callback used to return all attribute names of the element.|
+
+**Example**
+
+```ts
+let rootElement;
+let attributeNames;
+rootElement.attributeNames((err, data) => {
+ if (err) {
+ console.error('failed to get attribute names, because ' + JSON.stringify(err));
+ return;
+ }
+ attributeNames = data;
+ console.info('get attribute names success');
+});
+```
+## AccessibilityElement.attributeValue
+
+attributeValue\(attributeName: T): Promise\;
+
+Obtains the attribute value based on an attribute name. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| attributeName | T | Yes | Attribute name. |
+
+**Return value**
+
+| Type | Description |
+| ---------------------------------------- | ------------------------ |
+| Promise<ElementAttributeValues[T]> | Promise used to return the attribute value.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300004 | This property does not exist. |
+
+**Example**
+
+```ts
+let attributeName = 'name';
+let attributeValue;
+let rootElement;
+try {
+ rootElement.attributeValue(attributeName).then((data) => {
+ console.log('get attribute value by name success');
+ attributeValue = data;
+ }).catch((err) => {
+ console.log('failed to get attribute value, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.log('failed to get attribute value, because ' + JSON.stringify(exception));
+}
+```
+## AccessibilityElement.attributeValue
+
+attributeValue\(attributeName: T,
+ callback: AsyncCallback\): void;
+
+Obtains the attribute value based on an attribute name. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| attributeName | T | Yes | Attribute name. |
+| callback | AsyncCallback<ElementAttributeValues[T]> | Yes | Callback used to return the attribute value.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300004 | This property does not exist. |
+
+**Example**
+
+```ts
+let rootElement;
+let attributeValue;
+let attributeName = 'name';
+try {
+ rootElement.attributeValue(attributeName, (err, data) => {
+ if (err) {
+ console.error('failed to get attribute value, because ' + JSON.stringify(err));
+ return;
+ }
+ attributeValue = data;
+ console.info('get attribute value success');
+ });
+} catch (exception) {
+ console.log('failed to get attribute value, because ' + JSON.stringify(exception));
+}
+```
+## actionNames
+
+actionNames(): Promise\>;
+
+Obtains the names of all actions supported by this element. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Return value**
+
+| Type | Description |
+| ---------------------------------------- | ------------------------ |
+| Promise<Array<string>> | Promise used to return the names of all actions supported by the element.|
+
+**Example**
+
+```ts
+let rootElement;
+let actionNames;
+rootElement.actionNames().then((data) => {
+ console.log('get action names success');
+ actionNames = data;
+}).catch((err) => {
+ console.log('failed to get action names because ' + JSON.stringify(err));
+});
+```
+## actionNames
+
+actionNames(callback: AsyncCallback\>): void;
+
+Obtains the names of all actions supported by this element. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| callback | AsyncCallback<Array<string>> | Yes | Callback used to return the names of all actions supported by the element.|
+
+**Example**
+
+```ts
+let rootElement;
+let actionNames;
+rootElement.actionNames((err, data) => {
+ if (err) {
+ console.error('failed to get action names, because ' + JSON.stringify(err));
+ return;
+ }
+ actionNames = data;
+ console.info('get action names success');
+});
+```
+## performAction
+
+performAction(actionName: string, parameters?: object): Promise\;
+
+Performs an action based on the specified action name. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| actionName | string | Yes | Action name. |
+| parameters | object | No | Parameter required for performing the target action. |
+
+**Return value**
+
+| Type | Description |
+| ---------------------------------------- | ------------------------ |
+| Promise<void> | Promise that returns no value.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300005 | This action is not supported. |
+
+**Example**
+
+```ts
+let rootElement;
+try {
+ rootElement.performAction('action').then((data) => {
+ console.info('perform action success');
+ }).catch((err) => {
+ console.log('failed to perform action, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.log('failed to perform action, because ' + JSON.stringify(exception));
+}
+```
+## performAction
+
+performAction(actionName: string, callback: AsyncCallback\): void;
+
+Performs an action based on the specified action name. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| actionName | string | Yes | Attribute name. |
+| callback | AsyncCallback<void> | Yes | Callback used to return the result.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300005 | This action is not supported. |
+
+**Example**
+
+```ts
+let rootElement;
+try {
+ rootElement.performAction('action', (err, data) => {
+ if (err) {
+ console.error('failed to perform action, because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('perform action success');
+ });
+} catch (exception) {
+ console.log('failed to perform action, because ' + JSON.stringify(exception));
+}
+```
+## performAction
+
+performAction(actionName: string, parameters: object, callback: AsyncCallback\): void;
+
+Performs an action based on the specified action name. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| actionName | string | Yes | Action name. |
+| parameters | object | Yes | Parameter required for performing the target action. |
+| callback | AsyncCallback<void> | Yes | Callback used to return the result.|
+
+**Error codes**
+
+For details about the error codes, see [Accessibility Error Codes](../errorcodes/errorcode-accessibility.md).
+
+| ID| Error Message|
+| ------- | -------------------------------- |
+| 9300005 | This action is not supported. |
+
+**Example**
+
+```ts
+let rootElement;
+let actionName = 'action';
+let parameters = {
+ 'setText': 'test text'
+};
+try {
+ rootElement.performAction(actionName, parameters, (err, data) => {
+ if (err) {
+ console.error('failed to perform action, because ' + JSON.stringify(err));
+ return;
+ }
+ console.info('perform action success');
+ });
+} catch (exception) {
+ console.log('failed to perform action, because ' + JSON.stringify(exception));
+}
+```
+## findElement('content')
+
+findElement(type: 'content', condition: string): Promise\>;
+
+Queries the element information of the **content** type. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| type | string | Yes | Information type. The value is fixed at **'content'**. |
+| condition | string | Yes | Search criteria. |
+
+**Return value**
+
+| Type | Description |
+| ---------------------------------------- | ------------------------ |
+| Promise<Array<AccessibilityElement>> | Promise used to return the result.|
+
+**Example**
+
+```ts
+let rootElement;
+let type = 'content';
+let condition = 'keyword';
+let elements;
+try {
+ rootElement.findElement(type, condition).then((data) => {
+ elements = data;
+ console.log('find element success');
+ }).catch((err) => {
+ console.log('failed to find element, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.log('failed to find element, because ' + JSON.stringify(exception));
+}
+```
+## findElement('content')
+
+findElement(type: 'content', condition: string, callback: AsyncCallback\>): void;
+
+Queries the element information of the **content** type. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| type | string | Yes | Information type. The value is fixed at **'content'**. |
+| condition | string | Yes | Search criteria. |
+| callback | AsyncCallback<Array<AccessibilityElement>> | Yes | Callback used to return the result.|
+
+**Example**
+
+```ts
+let rootElement;
+let type = 'content';
+let condition = 'keyword';
+let elements;
+try {
+ rootElement.findElement(type, condition, (err, data) => {
+ if (err) {
+ console.error('failed to find element, because ' + JSON.stringify(err));
+ return;
+ }
+ elements = data;
+ console.info('find element success');
+ });
+} catch (exception) {
+ console.log('failed to find element, because ' + JSON.stringify(exception));
+}
+```
+## findElement('focusType')
+
+findElement(type: 'focusType', condition: FocusType): Promise\;
+
+Queries the element information of the **focusType** type. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| type | string | Yes | Information type. The value is fixed at **'focusType'**. |
+| condition | [FocusType](#focustype) | Yes | Enumerates the focus types. |
+
+**Return value**
+
+| Type | Description |
+| ---------------------------------------- | ------------------------ |
+| Promise<AccessibilityElement> | Promise used to return the result.|
+
+**Example**
+
+```ts
+let rootElement;
+let type = 'focusType';
+let condition = 'normal';
+let element;
+try {
+ rootElement.findElement(type, condition).then((data) => {
+ element = data;
+ console.log('find element success');
+ }).catch((err) => {
+ console.log('failed to find element, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.log('failed to find element, because ' + JSON.stringify(exception));
+}
+```
+## findElement('focusType')
+
+findElement(type: 'focusType', condition: FocusType, callback: AsyncCallback\): void;
+
+Queries the element information of the **focusType** type. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| type | string | Yes | Information type. The value is fixed at **'focusType'**. |
+| condition | [FocusType](#focustype) | Yes | Enumerates the focus types. |
+| callback | AsyncCallback<AccessibilityElement> | Yes | Callback used to return the result.|
+
+**Example**
+
+```ts
+let rootElement;
+let type = 'focusType';
+let condition = 'normal';
+let element;
+try {
+ rootElement.findElement(type, condition, (err, data) => {
+ if (err) {
+ console.error('failed to find element, because ' + JSON.stringify(err));
+ return;
+ }
+ element = data;
+ console.info('find element success');
+ });
+} catch (exception) {
+ console.log('failed to find element, because ' + JSON.stringify(exception));
+}
+```
+## findElement('focusDirection')
+
+findElement(type: 'focusDirection', condition: FocusDirection): Promise\;
+
+Queries the element information of the **focusDirection** type. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| type | string | Yes | Information type. The value is fixed at **'focusDirection'**. |
+| condition | [FocusDirection](#focusdirection) | Yes | Enumerates the focus directions. |
+
+**Return value**
+
+| Type | Description |
+| ---------------------------------------- | ------------------------ |
+| Promise<AccessibilityElement> | Promise used to return the result.|
+
+**Example**
+
+```ts
+let rootElement;
+let type = 'focusDirection';
+let condition = 'up';
+let element;
+try {
+ rootElement.findElement(type, condition).then((data) => {
+ element = data;
+ console.log('find element success');
+ }).catch((err) => {
+ console.log('failed to find element, because ' + JSON.stringify(err));
+ });
+} catch (exception) {
+ console.log('failed to find element, because ' + JSON.stringify(exception));
+}
+```
+## findElement('focusDirection')
+
+findElement(type: 'focusDirection', condition: FocusDirection, callback: AsyncCallback\): void;
+
+Queries the element information of the **focusDirection** type. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.BarrierFree.Accessibility.Core
+
+**Parameters**
+
+| Name | Type | Mandatory | Description |
+| ----------- | ---------------------------------------- | ---- | -------------- |
+| type | string | Yes | Information type. The value is fixed at **'focusDirection'**. |
+| condition | [FocusDirection](#focusdirection) | Yes | Direction of the next focus element. |
+| callback | AsyncCallback<AccessibilityElement> | Yes | Callback used to return the result.|
+
+**Example**
+
+```ts
+let rootElement;
+let type = 'focusDirection';
+let condition = 'up';
+let elements;
+try {
+ rootElement.findElement(type, condition, (err, data) => {
+ if (err) {
+ console.error('failed to find element, because ' + JSON.stringify(err));
+ return;
+ }
+ elements = data;
+ console.info('find element success');
+ });
+} catch (exception) {
+ console.log('failed to find element, because ' + JSON.stringify(exception));
+}
+```
diff --git a/en/application-dev/reference/apis/js-apis-inputdevice.md b/en/application-dev/reference/apis/js-apis-inputdevice.md
index f5cf9b1af9502462bd906302bee23fcff28780b4..5b8764a13f7c9be2eabc47f67a6f34df29e110a9 100644
--- a/en/application-dev/reference/apis/js-apis-inputdevice.md
+++ b/en/application-dev/reference/apis/js-apis-inputdevice.md
@@ -333,7 +333,7 @@ inputDevice.getDevice(1).then((inputDevice)=>{
## inputDevice.supportKeys9+
-supportKeys(deviceId: number, keys: Array<KeyCode>, callback: Callback<Array<boolean>>): void
+supportKeys(deviceId: number, keys: Array<KeyCode>, callback: AsyncCallback <Array<boolean>>): void
Obtains the key codes supported by the input device. This API uses an asynchronous callback to return the result.
@@ -345,7 +345,7 @@ Obtains the key codes supported by the input device. This API uses an asynchrono
| -------- | ------------------------------------ | ---- | --------------------------------- |
| deviceId | number | Yes | Unique ID of the input device. If the same physical device is repeatedly inserted and removed, its ID changes.|
| keys | Array<KeyCode> | Yes | Key codes to be queried. A maximum of five key codes can be specified. |
-| callback | Callback<Array<boolean>> | Yes | Callback used to return the result. |
+| callback | AsyncCallback<Array<boolean>> | Yes | Callback used to return the result. |
**Example**
diff --git a/en/application-dev/reference/apis/js-apis-medialibrary.md b/en/application-dev/reference/apis/js-apis-medialibrary.md
index d77a386562bb6af94a38edfbd6574647bb93d91d..df70808165f275b456e591af48145d1e635ebfcd 100644
--- a/en/application-dev/reference/apis/js-apis-medialibrary.md
+++ b/en/application-dev/reference/apis/js-apis-medialibrary.md
@@ -1,7 +1,6 @@
-# MediaLibrary
+# @ohos.multimedia.medialibrary (Media Library Management)
> **NOTE**
->
> The APIs of this module are supported since API version 6. Updates will be marked with a superscript to indicate their earliest API version.
## Modules to Import
@@ -193,7 +192,7 @@ media.getFileAssets(imagesFetchOp).then(function(fetchFileResult) {
### on8+
-on(type: 'deviceChange'|'albumChange'|'imageChange'|'audioChange'|'videoChange'|'fileChange'|'remoteFileChange', callback: Callback<void>): void
+on(type: 'deviceChange'|'albumChange'|'imageChange'|'audioChange'|'videoChange'|'fileChange'|'remoteFileChange', callback: Callback<void>): void
Subscribes to the media library changes. This API uses an asynchronous callback to return the result.
@@ -215,7 +214,7 @@ media.on('imageChange', () => {
```
### off8+
-off(type: 'deviceChange'|'albumChange'|'imageChange'|'audioChange'|'videoChange'|'fileChange'|'remoteFileChange', callback?: Callback<void>): void
+off(type: 'deviceChange'|'albumChange'|'imageChange'|'audioChange'|'videoChange'|'fileChange'|'remoteFileChange', callback?: Callback<void>): void
Unsubscribes from the media library changes. This API uses an asynchronous callback to return the result.
@@ -885,7 +884,7 @@ Obtains information about online peer devices. This API uses a promise to return
| Type | Description |
| ------------------- | -------------------- |
-| Promise\> | Promise used to return the online peer devices, in an array of **PeerInfo** objects.|
+| Promise\> | Promise used to return the online peer devices, in an array of **PeerInfo** objects.|
**Example**
@@ -921,7 +920,7 @@ Obtains information about online peer devices. This API uses an asynchronous cal
| Type | Description |
| ------------------- | -------------------- |
-| callback: AsyncCallback\> | Promise used to return the online peer devices, in an array of **PeerInfo** objects.|
+| callback: AsyncCallback\> | Promise used to return the online peer devices, in an array of **PeerInfo** objects.|
**Example**
@@ -956,7 +955,7 @@ Obtains information about all peer devices. This API uses a promise to return th
| Type | Description |
| ------------------- | -------------------- |
-| Promise\> | Promise used to return all peer devices, in an array of **PeerInfo** objects.|
+| Promise\> | Promise used to return all peer devices, in an array of **PeerInfo** objects.|
**Example**
@@ -992,7 +991,7 @@ Obtains information about online peer devices. This API uses an asynchronous cal
| Type | Description |
| ------------------- | -------------------- |
-| callback: AsyncCallback\> | Promise used to return all peer devices, in an array of **PeerInfo** objects.|
+| callback: AsyncCallback\> | Promise used to return all peer devices, in an array of **PeerInfo** objects.|
**Example**
@@ -1014,6 +1013,11 @@ async function example() {
Provides APIs for encapsulating file asset attributes.
+> **NOTE**
+>
+> 1. The system attempts to parse the file content if the file is an audio or video file. The actual field values will be restored from the passed values during scanning on some devices.
+> 2. Some devices may not support the modification of **orientation**. You are advised to use [ModifyImageProperty](js-apis-image.md#modifyimageproperty9) of the **image** module.
+
### Attributes
**System capability**: SystemCapability.Multimedia.MediaLibrary.Core
@@ -1025,7 +1029,7 @@ Provides APIs for encapsulating file asset attributes.
| mimeType | string | Yes | No | Extended file attributes. |
| mediaType8+ | [MediaType](#mediatype8) | Yes | No | Media type. |
| displayName | string | Yes | Yes | Display file name, including the file name extension. |
-| title | string | Yes | Yes | Title in the file. |
+| title | string | Yes | Yes | Title in the file. By default, it carries the file name without extension. |
| relativePath8+ | string | Yes | Yes | Relative public directory of the file. |
| parent8+ | number | Yes | No | Parent directory ID. |
| size | number | Yes | No | File size, in bytes. |
@@ -2486,29 +2490,33 @@ Enumerates media types.
Enumerates key file information.
+> **NOTE**
+>
+> The **bucket_id** field may change after file rename or movement. Therefore, you must obtain the field again before using it.
+
**System capability**: SystemCapability.Multimedia.MediaLibrary.Core
| Name | Value | Description |
| ------------- | ------------------- | ---------------------------------------------------------- |
-| ID | file_id | File ID. |
-| RELATIVE_PATH | relative_path | Relative public directory of the file. |
-| DISPLAY_NAME | display_name | Display file name. |
-| PARENT | parent | Parent directory ID. |
-| MIME_TYPE | mime_type | Extended file attributes. |
-| MEDIA_TYPE | media_type | Media type. |
-| SIZE | size | File size, in bytes. |
-| DATE_ADDED | date_added | Date when the file was added. (The value is the number of seconds elapsed since the Epoch time.) |
-| DATE_MODIFIED | date_modified | Date when the file was modified. (The value is the number of seconds elapsed since the Epoch time.) |
-| DATE_TAKEN | date_taken | Date when the file (photo) was taken. (The value is the number of seconds elapsed since the Epoch time.) |
-| TITLE | title | Title in the file. |
-| ARTIST | artist | Artist of the file. |
-| AUDIOALBUM | audio_album | Audio album. |
-| DURATION | duration | Duration, in ms. |
-| WIDTH | width | Image width, in pixels. |
-| HEIGHT | height | Image height, in pixels. |
-| ORIENTATION | orientation | Image display direction (clockwise rotation angle, for example, 0, 90, and 180, in degrees).|
-| ALBUM_ID | bucket_id | ID of the album to which the file belongs. |
-| ALBUM_NAME | bucket_display_name | Name of the album to which the file belongs. |
+| ID | "file_id" | File ID. |
+| RELATIVE_PATH | "relative_path" | Relative public directory of the file. |
+| DISPLAY_NAME | "display_name" | Display file name. |
+| PARENT | "parent" | Parent directory ID. |
+| MIME_TYPE | "mime_type" | Extended file attributes. |
+| MEDIA_TYPE | "media_type" | Media type. |
+| SIZE | "size" | File size, in bytes. |
+| DATE_ADDED | "date_added" | Date when the file was added. (The value is the number of seconds elapsed since the Epoch time.) |
+| DATE_MODIFIED | "date_modified" | Date when the file was modified. (The value is the number of seconds elapsed since the Epoch time.) |
+| DATE_TAKEN | "date_taken" | Date when the file (photo) was taken. (The value is the number of seconds elapsed since the Epoch time.) |
+| TITLE | "title" | Title in the file. |
+| ARTIST | "artist" | Artist of the file. |
+| AUDIOALBUM | "audio_album" | Audio album. |
+| DURATION | "duration" | Duration, in ms. |
+| WIDTH | "width" | Image width, in pixels. |
+| HEIGHT | "height" | Image height, in pixels. |
+| ORIENTATION | "orientation" | Image display direction (clockwise rotation angle, for example, 0, 90, and 180, in degrees).|
+| ALBUM_ID | "bucket_id" | ID of the album to which the file belongs. |
+| ALBUM_NAME | "bucket_display_name" | Name of the album to which the file belongs. |
## DirectoryType8+
@@ -2573,8 +2581,6 @@ Describes the image size.
Implements the media asset option.
-> **NOTE**
->
> This API is deprecated since API version 9.
**System capability**: SystemCapability.Multimedia.MediaLibrary.Core
@@ -2598,5 +2604,5 @@ Describes media selection option.
| Name | Type | Readable| Writable| Description |
| ----- | ------ | ---- | ---- | -------------------- |
-| type | string | Yes | Yes | Media type, which can be **image**, **media**, or **video**. Currently, only **media** is supported.|
+| type | 'image' | 'video' | 'media' | Yes | Yes | Media type, which can be **image**, **media**, or **video**. Currently, only **media** is supported.|
| count | number | Yes | Yes | Number of media assets selected. The value starts from 1, which indicates that one media asset can be selected. |
diff --git a/en/application-dev/reference/apis/js-apis-power.md b/en/application-dev/reference/apis/js-apis-power.md
index ad6e437f09767e362b2787f5ee78dd58d1a65165..1c78452681d08db91a4aa3ee4cf2aea785072191 100644
--- a/en/application-dev/reference/apis/js-apis-power.md
+++ b/en/application-dev/reference/apis/js-apis-power.md
@@ -1,10 +1,9 @@
# Power Manager
->  **NOTE**
-> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
-
The Power Manager module provides APIs for rebooting and shutting down the system, as well as querying the screen status.
+> **NOTE**
+> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
@@ -12,42 +11,294 @@ The Power Manager module provides APIs for rebooting and shutting down the syste
import power from '@ohos.power';
```
-## System Capability
-
-SystemCapability.PowerManager.PowerManager.Core
-
+## power.shutdown
-## power.shutdownDevice
-
-shutdownDevice(reason: string): void
+shutdown(reason: string): void
Shuts down the system.
-This is a system API and cannot be called by third-party applications.
+**System API**: This is a system API.
**Required permission**: ohos.permission.REBOOT
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
**Parameters**
| Name | Type | Mandatory | Description |
| ------ | ------ | ---- | ----- |
| reason | string | Yes | Reason for system shutdown.|
+**Error codes**
+
+For details about the error codes, see [Power Manager Error Codes](../errorcodes/errorcode-power.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
**Example**
```js
-power.shutdownDevice("shutdown_test");
-console.info('power_shutdown_device_test success')
+try {
+ power.shutdown('shutdown_test');
+} catch(err) {
+ console.error('shutdown failed, err: ' + err);
+}
```
+## power.reboot9+
+
+reboot(reason: string): void
+
+Reboots the system.
+
+**System API**: This is a system API.
+
+**Required permission**: ohos.permission.REBOOT
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ------ | ---- | ---------- |
+| reason | string | Yes | Reason for system reboot.|
+
+**Error codes**
+
+For details about the error codes, see [Power Manager Error Codes](../errorcodes/errorcode-power.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ power.reboot('reboot_test');
+} catch(err) {
+ console.error('reboot failed, err: ' + err);
+}
+```
+
+## power.isActive9+
+
+isActive(): boolean
+
+Checks whether the current device is active.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Error codes**
+
+For details about the error codes, see [Power Manager Error Codes](../errorcodes/errorcode-power.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ var isActive = power.isActive();
+ console.info('power is active: ' + isActive);
+} catch(err) {
+ console.error('check active status failed, err: ' + err);
+}
+```
+
+## power.wakeup9+
+
+wakeup(detail: string): void
+
+Wakes up a device.
+
+**System API**: This is a system API.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ------ | ---- | ---------- |
+| detail | string | Yes | Reason for wakeup.|
+
+**Error codes**
+
+For details about the error codes, see [Power Manager Error Codes](../errorcodes/errorcode-power.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ power.wakeup('wakeup_test');
+} catch(err) {
+ console.error('wakeup failed, err: ' + err);
+}
+```
+
+## power.suspend9+
+
+suspend(): void
+
+Hibernates a device.
+
+**System API**: This is a system API.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Error codes**
+
+For details about the error codes, see [Power Manager Error Codes](../errorcodes/errorcode-power.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ power.suspend();
+} catch(err) {
+ console.error('suspend failed, err: ' + err);
+}
+```
-## power.rebootDevice
+## power.getPowerMode9+
+
+getPowerMode(): DevicePowerMode
+
+Obtains the power mode of this device.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Return value**
+
+| Type | Description |
+| ------------------------------------ | ---------- |
+| [DevicePowerMode](#devicepowermode9) | Power mode.|
+
+**Error codes**
+
+For details about the error codes, see [Power Manager Error Codes](../errorcodes/errorcode-power.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ var mode = power.getPowerMode();
+ console.info('power mode: ' + mode);
+} catch(err) {
+ console.error('get power mode failed, err: ' + err);
+}
+```
+
+## power.setPowerMode9+
+
+setPowerMode(mode: DevicePowerMode, callback: AsyncCallback<void>): void
+
+Sets the power mode of this device. This API uses an asynchronous callback to return the result.
+
+**System API**: This is a system API.
+
+**Required permission**: ohos.permission.POWER_OPTIMIZATION
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Parameters**
+
+| Name | Type | Mandatory| Description |
+| -------- | ------------------------------------ | ---- | ------------------------------------------------------------ |
+| mode | [DevicePowerMode](#devicepowermode9) | Yes | Power mode. |
+| callback | AsyncCallback<void> | Yes | Callback used to return the result. If the power mode is successfully set, **err** is **undefined**; otherwise, **err** is an error object.|
+
+**Error codes**
+
+For details about the error codes, see [Power Manager Error Codes](../errorcodes/errorcode-power.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+power.setPowerMode(power.DevicePowerMode.MODE_PERFORMANCE, err => {
+ if (typeof err === 'undefined') {
+ console.info('set power mode to MODE_PERFORMANCE');
+ } else {
+ console.error('set power mode failed, err: ' + err);
+ }
+});
+```
+
+## power.setPowerMode9+
+
+setPowerMode(mode: DevicePowerMode): Promise<void>
+
+Sets the power mode of this device. This API uses a promise to return the result.
+
+**System API**: This is a system API.
+
+**Required permission**: ohos.permission.POWER_OPTIMIZATION
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ------------------------------------ | ---- | ---------- |
+| mode | [DevicePowerMode](#devicepowermode9) | Yes | Power mode.|
+
+**Return value**
+
+| Type | Description |
+| ------------------- | -------------------------------------- |
+| Promise<void> | Promise that returns no value.|
+
+**Error codes**
+
+For details about the error codes, see [Power Manager Error Codes](../errorcodes/errorcode-power.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+power.setPowerMode(power.DevicePowerMode.MODE_PERFORMANCE)
+.then(() => {
+ console.info('set power mode to MODE_PERFORMANCE');
+})
+.catch(err => {
+ console.error('set power mode failed, err: ' + err);
+});
+```
+
+## power.rebootDevice(deprecated)
rebootDevice(reason: string): void
+> This API is deprecated since API version 9. You are advised to use [power.reboot](#powerreboot9) instead.
+
Reboots the system.
-**Required permission**: ohos.permission.REBOOT (to reboot) or ohos.permission.REBOOT_RECOVERY (to reboot and enter the recovery or updater mode)
+**Required permission**: ohos.permission.REBOOT
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
**Parameters**
@@ -58,55 +309,73 @@ Reboots the system.
**Example**
```js
-power.rebootDevice("reboot_test");
-console.info('power_reboot_device_test success')
+power.rebootDevice('reboot_test');
```
-
-## power.isScreenOn
+## power.isScreenOn(deprecated)
isScreenOn(callback: AsyncCallback<boolean>): void
-Checks the screen status of the current device.
+> This API is deprecated since API version 9. You are advised to use [power.isActive](#powerisactive9) instead.
+
+Checks the screen status of the current device. This API uses an asynchronous callback to return the result.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
**Parameters**
-| Name | Type | Mandatory | Description |
-| -------- | ---------------------------- | ---- | ---------------------------------------- |
-| callback | AsyncCallback<boolean> | Yes | Callback used to obtain the return value. Return value: The value **true** indicates that the screen is on, and the value **false** indicates the opposite.|
+| Name | Type | Mandatory| Description |
+| -------- | ---------------------------- | ---- | ------------------------------------------------------------ |
+| callback | AsyncCallback<boolean> | Yes | Callback used to return the result. If the operation is successful, **err** is **undefined** and **data** is the screen status obtained, where the value **true** indicates on and the value **false** indicates the opposite. Otherwise, **err** is an error object.|
**Example**
```js
-power.isScreenOn((error, screenOn) => {
- if (typeof error === "undefined") {
- console.info('screenOn status is ' + screenOn);
+power.isScreenOn((err, data) => {
+ if (typeof err === 'undefined') {
+ console.info('screen on status is ' + data);
} else {
- console.log('error: ' + error);
+ console.error('check screen status failed, err: ' + err);
}
})
```
-
-## power.isScreenOn
+## power.isScreenOn(deprecated)
isScreenOn(): Promise<boolean>
-Checks the screen status of the current device.
+> This API is deprecated since API version 9. You are advised to use [power.isActive](#powerisactive9) instead.
+
+Checks the screen status of the current device. This API uses a promise to return the result.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
**Return value**
-| Type | Description |
-| ---------------------- | --------------------------------------- |
-| Promise<boolean> | Promise used to obtain the return value. Return value: The value **true** indicates that the screen is on, and the value **false** indicates the opposite.|
+| Type | Description |
+| ---------------------- | -------------------------------------------------- |
+| Promise<boolean> | Promise used to return the result. The value **true** indicates that the screen is on, and the value **false** indicates the opposite.|
**Example**
```js
power.isScreenOn()
-.then(screenOn => {
- console.info('screenOn status is ' + screenOn);
+.then(data => {
+ console.info('screen on status is ' + data);
})
-.catch(error => {
- console.log('error: ' + error);
+.catch(err => {
+ console.error('check screen status failed, err: ' + err);
})
```
+
+## DevicePowerMode9+
+
+Enumerates power modes.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+| Name | Value | Description |
+| ----------------------- | ---- | ---------------------- |
+| MODE_NORMAL | 600 | Standard mode. It is the default value.|
+| MODE_POWER_SAVE | 601 | Power saving mode. |
+| MODE_PERFORMANCE | 602 | Performance mode. |
+| MODE_EXTREME_POWER_SAVE | 603 | Ultra power saving mode. |
diff --git a/en/application-dev/reference/apis/js-apis-runninglock.md b/en/application-dev/reference/apis/js-apis-runninglock.md
index 1b25989357a2e101b5b6e95d05b5ca60dab2fb6f..e3718c5878ccae3e63f8bdfae8b37061599fffda 100644
--- a/en/application-dev/reference/apis/js-apis-runninglock.md
+++ b/en/application-dev/reference/apis/js-apis-runninglock.md
@@ -1,95 +1,205 @@
-# Running Lock
+# RunningLock
->  **NOTE**
+The RunningLock module provides APIs for creating, querying, holding, and releasing running locks.
+
+> **NOTE**
> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
-The Running Lock module provides APIs for creating, querying, holding, and releasing running locks.
+## Modules to Import
+```js
+import runningLock from '@ohos.runningLock';
+```
-## Modules to Import
+## runningLock.isSupported9+
+
+isSupported(type: RunningLockType): boolean;
+
+Checks whether a specified type of **RunningLock** is supported.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ----------------------------------- | ---- | -------------------- |
+| type | [RunningLockType](#runninglocktype) | Yes | Type of the **RunningLock** object.|
+
+**Return value**
+
+| Type | Description |
+| ------- | --------------------------------------- |
+| boolean | The value **true** indicates that the specified type of **RunningLock** is supported, and the value **false** indicates the opposite.|
+
+**Error codes**
+
+For details about the error codes, see [RunningLock Error Codes](../errorcodes/errorcode-runninglock.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+```js
+try {
+ var isSupported = runningLock.isSupported(runningLock.RunningLockType.BACKGROUND);
+ console.info('BACKGROUND type supported: ' + isSupported);
+} catch(err) {
+ console.error('check supported failed, err: ' + err);
+}
```
-import runningLock from '@ohos.runningLock';
+
+## runningLock.create9+
+
+create(name: string, type: RunningLockType, callback: AsyncCallback<RunningLock>): void
+
+Creates a **RunningLock** object.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Required permission:** ohos.permission.RUNNING_LOCK
+
+**Parameters**
+
+| Name | Type | Mandatory| Description |
+| -------- | ------------------------------------------ | ---- | ------------------------------------------------------------ |
+| name | string | Yes | Name of the **RunningLock** object. |
+| type | [RunningLockType](#runninglocktype) | Yes | Type of the **RunningLock** object to be created. |
+| callback | AsyncCallback<[RunningLock](#runninglock)> | Yes | Callback used to return the result. If a lock is successfully created, **err** is **undefined** and **data** is the created **RunningLock**. Otherwise, **err** is an error object.|
+
+**Error codes**
+
+For details about the error codes, see [RunningLock Error Codes](../errorcodes/errorcode-runninglock.md).
+
+| Code | Error Message |
+|---------|----------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+runningLock.create('running_lock_test', runningLock.RunningLockType.BACKGROUND, (err, lock) => {
+ if (typeof err === 'undefined') {
+ console.info('created running lock: ' + lock);
+ } else {
+ console.error('create running lock failed, err: ' + err);
+ }
+});
```
+## runningLock.create9+
-## RunningLockType
+create(name: string, type: RunningLockType): Promise<RunningLock>
-Enumerates the types of **RunningLock** objects.
+Creates a **RunningLock** object.
**System capability:** SystemCapability.PowerManager.PowerManager.Core
-| Name | Default Value | Description |
-| ------------------------ | ---- | ------------------- |
-| BACKGROUND | 1 | A lock that prevents the system from hibernating when the screen is off. |
-| PROXIMITY_SCREEN_CONTROL | 2 | A lock that determines whether to turn on or off the screen based on the distance away from the screen.|
+**Required permission:** ohos.permission.RUNNING_LOCK
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ----------------------------------- | ---- | ------------------ |
+| name | string | Yes | Name of the **RunningLock** object. |
+| type | [RunningLockType](#runninglocktype) | Yes | Type of the **RunningLock** object to be created.|
+
+**Return value**
+
+| Type | Description |
+| ------------------------------------------ | ------------------------------------ |
+| Promise<[RunningLock](#runninglock)> | Promise used to return the result.|
-## isRunningLockTypeSupported
+**Error codes**
+
+For details about the error codes, see [RunningLock Error Codes](../errorcodes/errorcode-runninglock.md).
+
+| Code | Error Message |
+|---------|----------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+runningLock.create('running_lock_test', runningLock.RunningLockType.BACKGROUND)
+.then(lock => {
+ console.info('created running lock: ' + lock);
+})
+.catch(err => {
+ console.error('create running lock failed, error: ' + err);
+});
+```
+
+## runningLock.isRunningLockTypeSupported(deprecated)
isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback<boolean>): void
-Checks whether a specified type of **RunningLock** is supported. This function uses an asynchronous callback to return the result.
+> This API is deprecated since API version 9. You are advised to use [runningLock.isSupported](#runninglockissupported9) instead.
+
+Checks whether a specified type of **RunningLock** is supported. This API uses an asynchronous callback to return the result.
**System capability:** SystemCapability.PowerManager.PowerManager.Core
**Parameters**
-| Name | Type | Mandatory | Description |
-| -------- | ---------------------------- | ---- | ---------------------------------------- |
-| type | RunningLockType | Yes | Type of the **RunningLock** object. |
-| callback | AsyncCallback<boolean> | Yes | Callback used to obtain the return value. Return value: The value **true** indicates that the specified type of **RunningLock** is supported, and the value **false** indicates the opposite.|
+| Name | Type | Mandatory| Description |
+| -------- | ----------------------------------- | ---- | ------------------------------------------------------------ |
+| type | [RunningLockType](#runninglocktype) | Yes | Type of the **RunningLock** object. |
+| callback | AsyncCallback<boolean> | Yes | Callback used to return the result. If the operation is successful, **err** is **undefined** and **data** is the query result obtained, where the value **true** indicates that **RunningLock** is supported and **false** indicates the opposite. Otherwise, **err** is an error object.|
**Example**
-```
-runningLock.isRunningLockTypeSupported(runningLock.RunningLockType.BACKGROUND, (error, supported) => {
- if (typeof error === "undefined") {
- console.info('BACKGROUND support status is ' + supported);
+```js
+runningLock.isRunningLockTypeSupported(runningLock.RunningLockType.BACKGROUND, (err, data) => {
+ if (typeof err === 'undefined') {
+ console.info('BACKGROUND lock support status: ' + data);
} else {
- console.log('error: ' + error);
+ console.log('check BACKGROUND lock support status failed, err: ' + err);
}
-})
+});
```
+## runningLock.isRunningLockTypeSupported(deprecated)
-## isRunningLockTypeSupported
+isRunningLockTypeSupported(type: RunningLockType): Promise<boolean>
-isRunningLockTypeSupported(type: RunningLockType): Promise<boolean>
+> This API is deprecated since API version 9. You are advised to use [runningLock.isSupported](#runninglockissupported9) instead.
-Checks whether a specified type of **RunningLock** is supported. This function uses an asynchronous callback to return the result.
+Checks whether a specified type of **RunningLock** is supported. This API uses a promise to return the result.
**System capability:** SystemCapability.PowerManager.PowerManager.Core
**Parameters**
-| Name | Type | Mandatory | Description |
-| ---- | --------------- | ---- | ---------- |
-| type | RunningLockType | Yes | Type of the **RunningLock** object.|
+| Name| Type | Mandatory| Description |
+| ------ | ----------------------------------- | ---- | -------------------- |
+| type | [RunningLockType](#runninglocktype) | Yes | Type of the **RunningLock** object.|
-**Return Value**
+**Return value**
-| Type | Description |
-| ---------------------- | ---------------------------------------- |
-| Promise<boolean> | Promise used to asynchronously obtain the return value. Return value: The value **true** indicates that the specified type of **RunningLock** is supported, and the value **false** indicates the opposite.|
+| Type | Description |
+| ---------------------- | ---------------------------------------------------- |
+| Promise<boolean> | Promise used to return the result. The value **true** indicates that the specified type of **RunningLock** is supported, and the value **false** indicates the opposite.|
**Example**
-```
-runningLock.isRunningLockTypeSupported(runningLock.RunningLockType.PROXIMITY_SCREEN_CONTROL)
-.then(supported => {
- console.info('PROXIMITY_SCREEN_CONTROL support status is ' + supported);
+```js
+runningLock.isRunningLockTypeSupported(runningLock.RunningLockType.BACKGROUND)
+.then(data => {
+ console.info('BACKGROUND lock support status: ' + data);
})
-.catch(error => {
- console.log('error: ' + error);
+.catch(err => {
+ console.log('check BACKGROUND lock support status failed, err: ' + err);
});
```
-
-## createRunningLock
+## runningLock.createRunningLock(deprecated)
createRunningLock(name: string, type: RunningLockType, callback: AsyncCallback<RunningLock>): void
+> This API is deprecated since API version 9. You are advised to use [runningLock.create](#runninglockcreate9) instead.
+
Creates a **RunningLock** object.
**System capability:** SystemCapability.PowerManager.PowerManager.Core
@@ -98,33 +208,30 @@ Creates a **RunningLock** object.
**Parameters**
-| Name | Type | Mandatory | Description |
-| -------- | ---------------------------------------- | ---- | -------------------------------------- |
-| name | string | Yes | Name of the **RunningLock** object. |
-| type | RunningLockType | Yes | Type of the **RunningLock** object to be created. |
-| callback | AsyncCallback<[RunningLock](#runninglock)> | Yes | Callback used to obtain the return value.|
+| Name | Type | Mandatory| Description |
+| -------- | ------------------------------------------ | ---- | ------------------------------------------------------------ |
+| name | string | Yes | Name of the **RunningLock** object. |
+| type | [RunningLockType](#runninglocktype) | Yes | Type of the **RunningLock** object to be created. |
+| callback | AsyncCallback<[RunningLock](#runninglock)> | Yes | Callback used to return the result. If a lock is successfully created, **err** is **undefined** and **data** is the created **RunningLock**. Otherwise, **err** is an error object.|
**Example**
-```
-runningLock.createRunningLock("running_lock_test", runningLock.RunningLockType.BACKGROUND, (error, lockIns) => {
- if (typeof error === "undefined") {
- var used = lockIns.isUsed();
- console.info('runninglock is used: ' + used);
- lockIns.lock(500);
- used = lockIns.isUsed();
- console.info('after lock runninglock is used ' + used);
+```js
+runningLock.createRunningLock('running_lock_test', runningLock.RunningLockType.BACKGROUND, (err, lock) => {
+ if (typeof err === 'undefined') {
+ console.info('created running lock: ' + lock);
} else {
- console.log('create runningLock test error: ' + error);
+ console.error('create running lock failed, err: ' + err);
}
-})
+});
```
-
-## createRunningLock
+## runningLock.createRunningLock(deprecated)
createRunningLock(name: string, type: RunningLockType): Promise<RunningLock>
+> This API is deprecated since API version 9. You are advised to use [runningLock.create](#runninglockcreate9) instead.
+
Creates a **RunningLock** object.
**System capability:** SystemCapability.PowerManager.PowerManager.Core
@@ -133,39 +240,157 @@ Creates a **RunningLock** object.
**Parameters**
-| Name | Type | Mandatory | Description |
-| ---- | --------------- | ---- | --------- |
-| name | string | Yes | Name of the **RunningLock** object. |
-| type | RunningLockType | Yes | Type of the **RunningLock** object to be created.|
+| Name| Type | Mandatory| Description |
+| ------ | ----------------------------------- | ---- | ------------------ |
+| name | string | Yes | Name of the **RunningLock** object. |
+| type | [RunningLockType](#runninglocktype) | Yes | Type of the **RunningLock** object to be created.|
-**Return Value**
+**Return value**
| Type | Description |
-| ---------------------------------------- | ---------------------------------- |
-| Promise<[RunningLock](#runninglock)> | Promise used to asynchronously obtain the returned **RunningLock** object.|
+| ------------------------------------------ | ------------------------------------ |
+| Promise<[RunningLock](#runninglock)> | Promise used to return the result.|
**Example**
+```js
+runningLock.createRunningLock('running_lock_test', runningLock.RunningLockType.BACKGROUND)
+.then(lock => {
+ console.info('created running lock: ' + lock);
+})
+.catch(err => {
+ console.log('create running lock failed, err: ' + err);
+});
```
-runningLock.createRunningLock("running_lock_test", runningLock.RunningLockType.BACKGROUND)
-.then(runninglock => {
- console.info('create runningLock success');
+
+## RunningLock
+
+Represents a **RunningLock** object.
+
+### hold9+
+
+hold(timeout: number): void
+
+Locks and holds a **RunningLock** object.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Required permission:** ohos.permission.RUNNING_LOCK
+
+**Parameters**
+
+| Name | Type | Mandatory| Description |
+| ------- | ------ | ---- | ----------------------------------------- |
+| timeout | number | Yes | Duration for locking and holding the **RunningLock** object, in ms.|
+
+**Error codes**
+
+For details about the error codes, see [RunningLock Error Codes](../errorcodes/errorcode-runninglock.md).
+
+| Code | Error Message |
+|---------|----------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+runningLock.create('running_lock_test', runningLock.RunningLockType.BACKGROUND)
+.then(lock => {
+ console.info('create running lock success');
+ try {
+ lock.hold(500);
+ console.info('hold running lock success');
+ } catch(err) {
+ console.error('hold running lock failed, err: ' + err);
+ }
})
-.catch(error => {
- console.log('create runningLock test error: ' + error);
+.catch(err => {
+ console.error('create running lock failed, err: ' + err);
+});
+```
+
+### unhold9+
+
+unhold(): void
+
+Releases a **RunningLock** object.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+**Required permission:** ohos.permission.RUNNING_LOCK
+
+**Error codes**
+
+For details about the error codes, see [RunningLock Error Codes](../errorcodes/errorcode-runninglock.md).
+
+| Code | Error Message |
+|---------|----------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+runningLock.create('running_lock_test', runningLock.RunningLockType.BACKGROUND)
+.then(lock => {
+ console.info('create running lock success');
+ try {
+ lock.unhold();
+ console.info('unhold running lock success');
+ } catch(err) {
+ console.error('unhold running lock failed, err: ' + err);
+ }
})
+.catch(err => {
+ console.error('create running lock failed, err: ' + err);
+});
```
+### isHolding9+
-## RunningLock
+isHolding(): boolean
+
+Checks the hold status of the **Runninglock** object.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
-Defines a **RunningLock** object.
+**Return value**
+| Type | Description |
+| ------- | ------------------------------------------------------------ |
+| boolean | The value **true** indicates that the **Runninglock** object is held; and the value **false** indicates that the **Runninglock** object is released.|
-### lock
+**Error codes**
+
+For details about the error codes, see [RunningLock Error Codes](../errorcodes/errorcode-runninglock.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4900101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+runningLock.create('running_lock_test', runningLock.RunningLockType.BACKGROUND)
+.then(lock => {
+ console.info('create running lock success');
+ try {
+ var isHolding = lock.isHolding();
+ console.info('check running lock holding status: ' + isHolding);
+ } catch(err) {
+ console.error('check running lock holding status failed, err: ' + err);
+ }
+})
+.catch(err => {
+ console.error('create running lock failed, err: ' + err);
+});
+```
+
+### lock(deprecated)
lock(timeout: number): void
+> This API is deprecated since API version 9. You are advised to use [RunningLock.hold](#hold9) instead.
+
Locks and holds a **RunningLock** object.
**System capability:** SystemCapability.PowerManager.PowerManager.Core
@@ -174,29 +399,30 @@ Locks and holds a **RunningLock** object.
**Parameters**
-| Name | Type | Mandatory | Description |
-| ------- | ------ | ---- | -------------------------- |
-| timeout | number | No | Duration for locking and holding the **RunningLock** object, in ms.|
+| Name | Type | Mandatory| Description |
+| ------- | ------ | ---- | ----------------------------------------- |
+| timeout | number | Yes | Duration for locking and holding the **RunningLock** object, in ms.|
**Example**
-```
-runningLock.createRunningLock("running_lock_test", runningLock.RunningLockType.BACKGROUND)
-.then(runningLock => {
- runningLock.lock(100)
- console.info('create runningLock success')
+```js
+runningLock.createRunningLock('running_lock_test', runningLock.RunningLockType.BACKGROUND)
+.then(lock => {
+ lock.lock(500);
+ console.info('create running lock and lock success');
})
-.catch(error => {
- console.log('create runningLock test error: ' + error)
+.catch(err => {
+ console.error('create running lock failed, err: ' + err);
});
```
-
-### unlock
+### unlock(deprecated)
unlock(): void
-Releases a **Runninglock** object.
+> This API is deprecated since API version 9. You are advised to use [RunningLock.unhold](#unhold9) instead.
+
+Releases a **RunningLock** object.
**System capability:** SystemCapability.PowerManager.PowerManager.Core
@@ -204,40 +430,52 @@ Releases a **Runninglock** object.
**Example**
-```
-runningLock.createRunningLock("running_lock_test", runningLock.RunningLockType.BACKGROUND)
-.then(runningLock => {
- runningLock.unlock()
- console.info('create and unLock runningLock success')
+```js
+runningLock.createRunningLock('running_lock_test', runningLock.RunningLockType.BACKGROUND)
+.then(lock => {
+ lock.unlock();
+ console.info('create running lock and unlock success');
})
-.catch(error => {
- console.log('create runningLock test error: ' + error)
+.catch(err => {
+ console.error('create running lock failed, err: ' + err);
});
```
-
-### isUsed
+### isUsed(deprecated)
isUsed(): boolean
-Checks the status of the **Runninglock** object.
+> This API is deprecated since API version 9. You are advised to use [RunningLock.isHolding](#isholding9) instead.
+
+Checks the hold status of the **Runninglock** object.
**System capability:** SystemCapability.PowerManager.PowerManager.Core
-**Return Value**
-| Type | Description |
-| ------- | ------------------------------------- |
-| boolean | Returns **true** if the **Runninglock** object is held; returns **false** if the **Runninglock** object is released.|
+**Return value**
+| Type | Description |
+| ------- | ------------------------------------------------------------ |
+| boolean | The value **true** indicates that the **Runninglock** object is held; and the value **false** indicates that the **Runninglock** object is released.|
**Example**
-```
-runningLock.createRunningLock("running_lock_test", runningLock.RunningLockType.BACKGROUND)
-.then(runningLock => {
- var used = runningLock.isUsed()
- console.info('runningLock used status: ' + used)
+```js
+runningLock.createRunningLock('running_lock_test', runningLock.RunningLockType.BACKGROUND)
+.then(lock => {
+ var isUsed = lock.isUsed();
+ console.info('check running lock used status: ' + isUsed);
})
-.catch(error => {
- console.log('runningLock isUsed test error: ' + error)
+.catch(err => {
+ console.error('check running lock used status failed, err: ' + err);
});
```
+
+## RunningLockType
+
+Enumerates the types of **RunningLock** objects.
+
+**System capability:** SystemCapability.PowerManager.PowerManager.Core
+
+| Name | Value | Description |
+| ------------------------ | ---- | -------------------------------------- |
+| BACKGROUND | 1 | A lock that prevents the system from hibernating when the screen is off. |
+| PROXIMITY_SCREEN_CONTROL | 2 | A lock that determines whether to turn on or off the screen based on the distance away from the screen.|
diff --git a/en/application-dev/reference/apis/js-apis-storage-statistics.md b/en/application-dev/reference/apis/js-apis-storage-statistics.md
index d646fd424d8f7fa6c431a388879e9cf63678a632..86675315d63423d728d2db90afd6b049614ee80a 100644
--- a/en/application-dev/reference/apis/js-apis-storage-statistics.md
+++ b/en/application-dev/reference/apis/js-apis-storage-statistics.md
@@ -2,10 +2,9 @@
The **storageStatistics** module provides APIs for obtaining storage space information, including the space of built-in and plug-in memory cards, space occupied by different types of data, and space of application data.
-> **NOTE**
+> **NOTE**
>
-> - The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
-> - API version 9 is a canary version for trial use. The APIs of this version may be unstable.
+> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
diff --git a/en/application-dev/reference/apis/js-apis-system-battery.md b/en/application-dev/reference/apis/js-apis-system-battery.md
index 7b577c8ee81c733cdb1aa1f2ccfcced87829f304..31959da80f23b90f54ea10883417eec202152d1a 100644
--- a/en/application-dev/reference/apis/js-apis-system-battery.md
+++ b/en/application-dev/reference/apis/js-apis-system-battery.md
@@ -1,9 +1,10 @@
-# Battery Level
+# Battery Info
->  **NOTE**
-> - The APIs of this module are no longer maintained since API version 7. It is recommended that you use [`@ohos.batteryInfo`](js-apis-battery-info.md) instead.
->
-> - The initial APIs of this module are supported since API version 3. Newly added APIs will be marked with a superscript to indicate their earliest API version.
+This module allows you to query the charging status and remaining power of a device.
+
+> **NOTE**
+> - The APIs of this module are no longer maintained since API version 6. It is recommended that you use [`@ohos.batteryInfo`](js-apis-battery-info.md) instead.
+> - The initial APIs of this module are supported since API version 3. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
@@ -16,40 +17,46 @@ import battery from '@system.battery';
## battery.getStatus
-getStatus(Object): void
+getStatus(options?: GetStatusOptions): void;
Obtains the current charging state and battery level.
**System capability**: SystemCapability.PowerManager.BatteryManager.Core
-**Parameter**
+**Parameters**
-| Name | Type | Mandatory | Description |
+| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| success | Function | No | Called when the check result is obtained |
-| fail | Function | No | Called when the check result fails to be obtained |
-| complete | Function | No | Called when the execution is complete |
-
-The following value will be returned when the check result is obtained.
-
-| Name | Type | Description |
-| -------- | -------- | -------- |
-| charging | boolean | Whether the battery is being charged |
-| level | number | Current battery level, which ranges from 0.00 to 1.00. |
+| options | [GetStatusOptions](#getstatusoptions) | No| Object that contains the API calling result.|
**Example**
```js
-export default {
- getStatus() {
- battery.getStatus({
- success: function(data) {
- console.log('success get battery level:' + data.level);
- },
- fail: function(data, code) {
- console.log('fail to get battery level code:' + code + ', data: ' + data);
- },
- });
- },
-}
-```
\ No newline at end of file
+battery.getStatus({
+ success: function(data) {
+ console.log('success get battery level:' + data.level);
+ },
+ fail: function(data, code) {
+ console.error('fail to get battery level code:' + code + ', data: ' + data);
+ }
+});
+```
+
+## GetStatusOptions
+
+Object that contains the API calling result.
+
+| Name | Type | Mandatory| Description |
+| -------- | --------------------------------------------------- | ---- | ------------------------------------------------------------ |
+| success | (data: [BatteryResponse](#batteryresponse)) => void | No | Called when API call is successful. **data** is a return value of the [BatteryResponse](#batteryresponse) type.|
+| fail | (data: string, code: number) => void | No | Called when API call has failed. **data** indicates the error information, and **code** indicates the error code. |
+| complete | () => void | No | Called when API call is complete. |
+
+## BatteryResponse
+
+Defines a response that returns the charging status and remaining power of the device.
+
+| Name| Type| Description|
+| -------- | -------- | -------- |
+| charging | boolean | Whether the battery is being charged.|
+| level | number | Current battery level, which ranges from **0.00** to **1.00**.|
diff --git a/en/application-dev/reference/apis/js-apis-system-brightness.md b/en/application-dev/reference/apis/js-apis-system-brightness.md
index 71e9b7072d03d8c25297cfd2c8f3c97c295097eb..2773c74397046c44784b65cc458be75eef8c21ea 100644
--- a/en/application-dev/reference/apis/js-apis-system-brightness.md
+++ b/en/application-dev/reference/apis/js-apis-system-brightness.md
@@ -1,8 +1,9 @@
# Screen Brightness
->  **NOTE**
+This module provides APIs for querying and adjusting the screen brightness and mode.
+
+> **NOTE**
> - The APIs of this module are no longer maintained since API version 7. It is recommended that you use [`@ohos.brightness`](js-apis-brightness.md) instead.
->
> - The initial APIs of this module are supported since API version 3. Newly added APIs will be marked with a superscript to indicate their earliest API version.
@@ -16,7 +17,7 @@ import brightness from '@system.brightness';
## brightness.getValue
-getValue(Object): void
+getValue(options?: GetBrightnessOptions): void
Obtains the current screen brightness.
@@ -24,39 +25,27 @@ Obtains the current screen brightness.
**Parameters**
-| Name | Type | Mandatory | Description |
+| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| success | Function | No | Called when the execution is successful. |
-| fail | Function | No | Called when the operation fails. |
-| complete | Function | No | Called when the execution is complete |
-
-The following values will be returned when the operation is successful.
-
-| Name | Type | Description |
-| -------- | -------- | -------- |
-| value | number | Screen brightness, which ranges from 1 to 255. |
+| options | [GetBrightnessOptions](#getbrightnessoptions) | No | Options for obtaining the screen brightness.|
**Example**
-```js
-export default {
- getValue() {
- brightness.getValue({
- success: function(data){
- console.log('success get brightness value:' + data.value);
- },
- fail: function(data, code) {
- console.log('get brightness fail, code: ' + code + ', data: ' + data);
+ ```js
+ brightness.getValue({
+ success: function(data) {
+ console.log('success get brightness value:' + data.value);
},
- });
- },
-}
-```
+ fail: function(data, code) {
+ console.error('get brightness fail, code: ' + code + ', data: ' + data);
+ }
+ });
+ ```
## brightness.setValue
-setValue(Object): void
+etValue(options?: SetBrightnessOptions): void
Sets the screen brightness.
@@ -64,35 +53,28 @@ Sets the screen brightness.
**Parameters**
-| Name | Type | Mandatory | Description |
+| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| value | number | Yes | Screen brightness. The value is an integer ranging from 1 to 255. - If the value is less than or equal to **0**, value **1** will be used. - If the value is greater than **255**, value **255** will be used. - If the value contains decimals, the integral part of the value will be used. For example, if value **8.1** is set, value **8** will be used. |
-| success | Function | No | Called when the execution is successful. |
-| fail | Function | No | Called when the operation fails. |
-| complete | Function | No | Called when the execution is complete. |
+| options | [SetBrightnessOptions](#setbrightnessoptions) | No | Options for setting the screen brightness.|
**Example**
-```js
-export default {
- setValue() {
- brightness.setValue({
- value: 100,
- success: function(){
- console.log('handling set brightness success.');
- },
- fail: function(data, code){
- console.log('handling set brightness value fail, code:' + code + ', data: ' + data);
- },
- });
- },
-}
-```
+ ```js
+ brightness.setValue({
+ value: 100,
+ success: function() {
+ console.log('handling set brightness success.');
+ },
+ fail: function(data, code) {
+ console.error('handling set brightness value fail, code:' + code + ', data: ' + data);
+ }
+ });
+ ```
## brightness.getMode
-getMode(Object): void
+getMode(options?: GetBrightnessModeOptions: void
Obtains the screen brightness adjustment mode.
@@ -100,75 +82,57 @@ Obtains the screen brightness adjustment mode.
**Parameters**
-| Name | Type | Mandatory | Description |
+| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| success | Function | No | Called when the execution is successful. |
-| fail | Function | No | Called when the operation fails. |
-| complete | Function | No | Called when the execution is complete |
-
-The following values will be returned when the operation is successful.
-
-| Name | Type | Description |
-| -------- | -------- | -------- |
-| mode | number | The value can be **0** or **1**. - **0**: The screen brightness is manually adjusted. - **1**: The screen brightness is automatically adjusted. |
+| options | [GetBrightnessModeOptions](#getbrightnessmodeoptions) | No| Options for obtaining the screen brightness mode.|
**Example**
-```js
-export default {
- getMode() {
- brightness.getMode({
- success: function(data){
- console.log('success get mode:' + data.mode);
- },
- fail: function(data, code){
- console.log('handling get mode fail, code:' + code + ', data: ' + data);
+ ```js
+ brightness.getMode({
+ success: function(data) {
+ console.log('success get mode:' + data.mode);
},
- });
- },
-}
-```
+ fail: function(data, code){
+ console.error('handling get mode fail, code:' + code + ', data: ' + data);
+ }
+ });
+ ```
## brightness.setMode
-setMode(Object): void
+setMode(options?: SetBrightnessModeOptions): void
Sets the screen brightness adjustment mode.
**System capability**: SystemCapability.PowerManager.DisplayPowerManager
**Parameters**
-
-| Name | Type | Mandatory | Description |
+| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| mode | number | Yes | The value can be **0** or **1**. - **0**: The screen brightness is manually adjusted. - **1**: The screen brightness is automatically adjusted. |
-| success | Function | No | Called when the execution is successful. |
-| fail | Function | No | Called when the operation fails. |
-| complete | Function | No | Called when the execution is complete. |
+| options | [SetBrightnessModeOptions](#setbrightnessmodeoptions) | No | Options for setting the screen brightness mode.|
**Example**
-```js
-export default {
- setMode() {
- brightness.setMode({
- mode: 1,
- success: function(){
- console.log('handling set mode success.');
- },
- fail: function(data, code){
- console.log('handling set mode fail, code:' + code + ', data: ' + data);
- },
- });
- },
-}
-```
+ ```js
+ brightness.setMode({
+ mode: 1,
+ success: function() {
+ console.log('handling set mode success.');
+ },
+ fail: function(data, code) {
+ console.error('handling set mode fail, code:' + code + ', data: ' + data);
+ }
+ });
+ ```
## brightness.setKeepScreenOn
-setKeepScreenOn(Object): void
+setKeepScreenOn(options?: SetKeepScreenOnOptions): void
+
+>This API is no longer maintained since API version 7. It is recommended that you use [window.setKeepScreenOn](js-apis-window.md#setkeepscreenon) instead.
Sets whether to always keep the screen on. Call this API in **onShow()**.
@@ -176,27 +140,88 @@ Sets whether to always keep the screen on. Call this API in **onShow()**.
**Parameters**
-| Name | Type | Mandatory | Description |
+| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| keepScreenOn | boolean | Yes | Whether to always keep the screen on |
-| success | Function | No | Called when the execution is successful. |
-| fail | Function | No | Called when the operation fails. |
-| complete | Function | No | Called when the execution is complete. |
+| options | [SetKeepScreenOnOptions](#setkeepscreenonoptions) | No| Options for setting the screen to be steady on.|
**Example**
-```js
-export default {
- setKeepScreenOn() {
- brightness.setKeepScreenOn({
- keepScreenOn: true,
- success: function () {
- console.log('handling set keep screen on success.')
- },
- fail: function (data, code) {
- console.log('handling set keep screen on fail, code:' + code + ', data: ' + data);
- },
- });
- },
-}
-```
\ No newline at end of file
+ ```js
+ brightness.setKeepScreenOn({
+ keepScreenOn: true,
+ success: function () {
+ console.log('handling set keep screen on success.');
+ },
+ fail: function (data, code) {
+ console.error('handling set keep screen on fail, code:' + code + ', data: ' + data);
+ }
+ });
+ ```
+## GetBrightnessOptions
+
+Defines the options for obtaining the screen brightness.
+
+| Name | Type | Mandatory| Description |
+| -------- | --------------------------------------------------------- | ---- | ------------------------------------------------------------ |
+| success | (data: [BrightnessResponse](#brightnessresponse)) => void | No | Called when API call is successful. **data** is a return value of the [BrightnessResponse](#brightnessresponse) type.|
+| fail | (data: string, code: number) => void | No | Called when API call has failed. **data** indicates the error information, and **code** indicates the error code. |
+| complete | () => void | No | Called when API call is complete. |
+
+## SetBrightnessOptions
+
+Defines the options for setting the screen brightness.
+
+| Name | Type | Mandatory| Description |
+| -------- | ------------------------------------ | ---- | ------------------------------------------------------------ |
+| value | number | Yes | Screen brightness. The value is an integer ranging from **1** to **255**. - If the value is less than or equal to **0**, value **1** will be used. - If the value is greater than **255**, value **255** will be used. - If the value contains decimals, the integral part of the value will be used. For example, if value **8.1** is set, value **8** will be used.|
+| success | () => void | No | Called when API call is successful. |
+| fail | (data: string, code: number) => void | No | Called when API call has failed. **data** indicates the error information, and **code** indicates the error code. |
+| complete | () => void | No | Called when API call is complete. |
+
+## BrightnessResponse
+
+Defines a response that returns the screen brightness.
+
+| Parameter| Type | Description|
+| -------- | -------- | -------- |
+| value | number | Screen brightness. The value ranges from 1 to 255.|
+
+## GetBrightnessModeOptions
+
+Defines the options for obtaining the screen brightness mode.
+
+| Name | Type | Mandatory| Description |
+| -------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ |
+| success | (data: [BrightnessModeResponse](#brightnessmoderesponse)) => void | No | Called when API call is successful. **data** is a return value of the [BrightnessModeResponse](#brightnessmoderesponse) type.|
+| fail | (data: string, code: number) => void | No | Called when API call has failed. **data** indicates the error information, and **code** indicates the error code. |
+| complete | () => void | No | Called when API call is complete. |
+
+## SetBrightnessModeOptions
+
+Defines the options for setting the screen brightness mode.
+
+| Name | Type | Mandatory| Description |
+| -------- | ------------------------------------ | ---- | ------------------------------------------------------ |
+| mode | number | Yes | The value **0** indicates the manual adjustment mode, and the value **1** indicates the automatic adjustment mode.|
+| success | () => void | No | Called when API call is successful. |
+| fail | (data: string, code: number) => void | No | Called when API call has failed. **data** indicates the error information, and **code** indicates the error code.|
+| complete | () => void | No | Called when API call is complete. |
+
+## BrightnessModeResponse
+
+Defines a response that returns the screen brightness mode.
+
+| Name| Type | Description|
+| -------- | -------- | -------- |
+| mode | number | The value **0** indicates the manual adjustment mode, and the value **1** indicates the automatic adjustment mode.|
+
+## SetKeepScreenOnOptions
+
+Defines the options for setting the screen to be steady on.
+
+| Name | Type | Mandatory| Description |
+| ------------ | ------------------------------------ | ---- | ------------------------------------------------------ |
+| keepScreenOn | boolean | Yes | The value **true** means to keep the screen steady on, and the value **false** indicates the opposite. |
+| success | () => void | No | Called when API call is successful. |
+| fail | (data: string, code: number) => void | No | Called when API call has failed. **data** indicates the error information, and **code** indicates the error code.|
+| complete | () => void | No | Called when API call is complete. |
diff --git a/en/application-dev/reference/apis/js-apis-thermal.md b/en/application-dev/reference/apis/js-apis-thermal.md
index b7b7e08a0a6a5a82a8813aad1f9d2010ff899a50..e0d809d06ab24702e5eaf67eb6b1b841a7944ffc 100644
--- a/en/application-dev/reference/apis/js-apis-thermal.md
+++ b/en/application-dev/reference/apis/js-apis-thermal.md
@@ -1,11 +1,9 @@
# Thermal Manager
-> **NOTE**
->
-> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
-
This module provides thermal level-related callback and query APIs to obtain the information required for thermal control.
+> **NOTE**
+> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
@@ -13,78 +11,168 @@ This module provides thermal level-related callback and query APIs to obtain the
import thermal from '@ohos.thermal';
```
+## thermal.registerThermalLevelCallback9+
-## ThermalLevel
+registerThermalLevelCallback(callback: Callback<ThermalLevel>): void
-Represents the thermal level.
+Subscribes to thermal level changes.
**System capability:** SystemCapability.PowerManager.ThermalManager
-| Name | Default Value | Description |
-| ---------- | ---- | ---------------------------------------- |
-| COOL | 0 | The device is cool, and services are not restricted.|
-| NORMAL | 1 | The device is operational but is not cool. You need to pay attention to its heating.|
-| WARM | 2 | The device is warm. You need to stop or delay some imperceptible services.|
-| HOT | 3 | The device is heating up. You need to stop all imperceptible services and downgrade or reduce the load of other services.|
-| OVERHEATED | 4 | The device is overheated. You need to stop all imperceptible services and downgrade or reduce the load of major services.|
-| WARNING | 5 | The device is overheated and is about to enter the emergency state. You need to stop all imperceptible services and downgrade major services to the maximum extent.|
-| EMERGENCY | 6 | The device has entered the emergency state. You need to stop all services except those for the emergency help purposes.|
+**Parameters**
+
+| Name | Type | Mandatory| Description |
+| -------- | ---------------------------- | ---- | ------------------------------ |
+| callback | Callback<ThermalLevel> | Yes | Callback used to return the result.|
+
+**Error codes**
+
+For details about the error codes, see [Thermal Manager Error Codes](../errorcodes/errorcode-thermal.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4800101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ thermal.registerThermalLevelCallback(level => {
+ console.info('thermal level is: ' + level);
+ });
+ console.info('register thermal level callback success.');
+} catch(err) {
+ console.error('register thermal level callback failed, err: ' + err);
+}
+```
+
+## thermal.unregisterThermalLevelCallback9+
+
+unregisterThermalLevelCallback(callback?: Callback\): void
+
+Unsubscribes from thermal level changes.
+
+**System capability:** SystemCapability.PowerManager.ThermalManager
+
+**Parameters**
+
+| Name | Type | Mandatory| Description |
+| -------- | -------------------- | ---- | ---------------------------------------------- |
+| callback | Callback<void> | No | Callback used to return the result. No value is returned. If this parameter is not set, this API unsubscribes from all callbacks.|
+
+**Error codes**
+
+For details about the error codes, see [Thermal Manager Error Codes](../errorcodes/errorcode-thermal.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4800101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ thermal.unregisterThermalLevelCallback(() => {
+ console.info('unsubscribe thermal level success.');
+ });
+ console.info('unregister thermal level callback success.');
+} catch(err) {
+ console.error('unregister thermal level callback failed, err: ' + err);
+}
+```
+
+## thermal.getLevel9+
+
+getLevel(): ThermalLevel
+
+Obtains the current thermal level.
+
+**System capability:** SystemCapability.PowerManager.ThermalManager
+**Return value**
-## thermal.subscribeThermalLevel
+| Type | Description |
+| ------------ | ------------ |
+| ThermalLevel | Thermal level obtained.|
+
+**Error codes**
+
+For details about the error codes, see [Thermal Manager Error Codes](../errorcodes/errorcode-thermal.md).
+
+| Code | Error Message |
+|---------|---------|
+| 4800101 | Operation failed. Cannot connect to service.|
+
+**Example**
+
+```js
+try {
+ var level = thermal.getLevel();
+ console.info('thermal level is: ' + level);
+} catch(err) {
+ console.error('get thermal level failed, err: ' + err);
+}
+```
+
+## thermal.subscribeThermalLevel(deprecated)
subscribeThermalLevel(callback: AsyncCallback<ThermalLevel>): void
+> This API is deprecated since API version 9. You are advised to use [thermal.registerThermalLevelCallback](#thermalregisterthermallevelcallback9) instead.
+
Subscribes to thermal level changes.
**System capability:** SystemCapability.PowerManager.ThermalManager
**Parameters**
-| Name | Type | Mandatory | Description |
-| -------- | --------------------------------- | ---- | ---------------------------------------- |
-| callback | AsyncCallback<ThermalLevel> | Yes | Callback used to obtain the return value. The return value contains only one parameter, that is, thermal level. If an alarm is generated, you can use `// @ts-ignore` to suppress the alarm.|
+| Name | Type | Mandatory| Description |
+| -------- | --------------------------------- | ---- | ------------------------------------------------------------ |
+| callback | AsyncCallback<ThermalLevel> | Yes | Callback used to return the result. The return value contains only one parameter, that is, thermal level. If an alarm is generated, you can use `// @ts-ignore` to suppress the alarm.|
**Example**
```js
-var lev = 0;
-thermal.subscribeThermalLevel((lev) => {
- console.info("Thermal level is: " + lev);
-})
+thermal.subscribeThermalLevel((level) => {
+ console.info('thermal level is: ' + level);
+});
```
-## thermal.unsubscribeThermalLevel
+## thermal.unsubscribeThermalLevel(deprecated)
unsubscribeThermalLevel(callback?: AsyncCallback\): void
+> This API is deprecated since API version 9. You are advised to use [thermal.unregisterThermalLevelCallback](#thermalunregisterthermallevelcallback9) instead.
+
Unsubscribes from thermal level changes.
**System capability:** SystemCapability.PowerManager.ThermalManager
**Parameters**
-| Name | Type | Mandatory | Description |
-| -------- | ------------------------- | ---- | --------------------- |
-| callback | AsyncCallback<void> | No | Callback without a return value.|
+| Name | Type | Mandatory| Description |
+| -------- | ------------------------- | ---- | ---------------------------------------------- |
+| callback | AsyncCallback<void> | No | Callback used to return the result. No value is returned. If this parameter is not set, this API unsubscribes from all callbacks.|
**Example**
```js
thermal.unsubscribeThermalLevel(() => {
- console.info("Unsubscribe completed.");
+ console.info('unsubscribe thermal level success.');
});
```
-## thermal.getThermalLevel
+## thermal.getThermalLevel(deprecated)
getThermalLevel(): ThermalLevel
+> This API is deprecated since API version 9. You are advised to use [thermal.getLevel](#thermalgetlevel9) instead.
+
Obtains the current thermal level.
**System capability:** SystemCapability.PowerManager.ThermalManager
-**Return value**:
+**Return value**
| Type | Description |
| ------------ | ------ |
@@ -93,6 +181,22 @@ Obtains the current thermal level.
**Example**
```js
-var lev = thermal.getThermalLevel();
-console.info("Thermal level is: " + lev);
+var level = thermal.getThermalLevel();
+console.info('thermal level is: ' + level);
```
+
+## ThermalLevel
+
+Represents the thermal level.
+
+**System capability:** SystemCapability.PowerManager.ThermalManager
+
+| Name | Value | Description |
+| ---------- | ---- | ------------------------------------------------------------ |
+| COOL | 0 | The device is cool, and services are not restricted. |
+| NORMAL | 1 | The device is operational but is not cool. You need to pay attention to its heating.|
+| WARM | 2 | The device is warm. You need to stop or delay some imperceptible services.|
+| HOT | 3 | The device is heating up. You need to stop all imperceptible services and downgrade or reduce the load of other services.|
+| OVERHEATED | 4 | The device is overheated. You need to stop all imperceptible services and downgrade or reduce the load of major services.|
+| WARNING | 5 | The device is overheated and is about to enter the emergency state. You need to stop all imperceptible services and downgrade major services to the maximum extent.|
+| EMERGENCY | 6 | The device has entered the emergency state. You need to stop all services except those for the emergency help purposes.|
diff --git a/en/application-dev/reference/apis/js-apis-update.md b/en/application-dev/reference/apis/js-apis-update.md
index bcbac5414055dfb654ab1264ab04f92e629cb3f3..2a6fa561c6e21b85bfb07ee7b82223c42deff765 100644
--- a/en/application-dev/reference/apis/js-apis-update.md
+++ b/en/application-dev/reference/apis/js-apis-update.md
@@ -39,6 +39,14 @@ Obtains an **OnlineUpdater** object.
| ------------------- | ---- |
| [Updater](#updater) | **OnlineUpdater** object.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -71,6 +79,14 @@ Obtains a **Restorer** object for restoring factory settings.
| --------------------- | ------ |
| [Restorer](#restorer) | **Restorer** object for restoring factory settings.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -95,6 +111,14 @@ Obtains a **LocalUpdater** object.
| ----------------------------- | ------ |
| [LocalUpdater](#localupdater) | **LocalUpdater** object.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -102,7 +126,7 @@ try {
let localUpdater = update.getLocalUpdater();
} catch(error) {
console.error(`Fail to get localUpdater error: ${error}`);
-}
+};
```
## Updater
@@ -123,6 +147,14 @@ Checks whether a new version is available. This API uses an asynchronous callbac
| -------- | ---------------------------------------- | ---- | -------------- |
| callback | AsyncCallback\<[CheckResult](#checkresult)> | Yes | Callback used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -147,6 +179,14 @@ Checks whether a new version is available. This API uses a promise to return the
| ------------------------------------- | ------------------- |
| Promise\<[CheckResult](#checkresult)> | Promise used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -175,6 +215,14 @@ Obtains information about the new version. This API uses an asynchronous callbac
| -------- | ---------------------------------------- | ---- | --------------- |
| callback | AsyncCallback\<[NewVersionInfo](#newversioninfo)> | Yes | Callback used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -200,6 +248,14 @@ Obtains information about the new version. This API uses a promise to return the
| ---------------------------------------- | -------------------- |
| Promise\<[NewVersionInfo](#newversioninfo)> | Promise used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -226,8 +282,16 @@ Obtains the description file of the new version. This API uses an asynchronous c
| Name | Type | Mandatory | Description |
| ------------------ | ---------------------------------------- | ---- | -------------- |
| versionDigestInfo | [VersionDigestInfo](#versiondigestinfo) | Yes | Version digest information. |
-| descriptionOptions | [DescriptionOptions](#descriptionoptions) | Yes | Options of the description file. |
-| callback | AsyncCallback\>) | Yes | Callback used to return the result.|
+| descriptionOptions | [DescriptionOptions](#descriptionoptions) | Yes | Options of the description file. |
+| callback | AsyncCallback\> | Yes | Callback used to return the result.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -272,6 +336,14 @@ Obtains the description file of the new version. This API uses a promise to retu
| ---------------------------------------- | ------------------- |
| Promise\> | Promise used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -309,6 +381,14 @@ Obtains information about the current version. This API uses an asynchronous cal
| -------- | ---------------------------------------- | ---- | ---------------- |
| callback | AsyncCallback\<[CurrentVersionInfo](#currentversioninfo)> | Yes | Callback used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -335,6 +415,14 @@ Obtains information about the current version. This API uses a promise to return
| ---------------------------------------- | ------------------- |
| Promise\<[CurrentVersionInfo](#currentversioninfo)> | Promise used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -362,7 +450,15 @@ Obtains the description file of the current version. This API uses an asynchrono
| Name | Type | Mandatory | Description |
| ------------------ | ---------------------------------------- | ---- | --------------- |
| descriptionOptions | [DescriptionOptions](#descriptionoptions) | Yes | Options of the description file. |
-| callback | AsyncCallback\>) | Yes | Callback used to return the result.|
+| callback | AsyncCallback\> | Yes | Callback used to return the result.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -401,6 +497,14 @@ Obtains the description file of the current version. This API uses a promise to
| ---------------------------------------- | -------------------- |
| Promise\> | Promise used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -433,6 +537,14 @@ Obtains information about the update task. This API uses an asynchronous callbac
| -------- | ------------------------------------- | ---- | ---------------- |
| callback | AsyncCallback\<[TaskInfo](#taskinfo)> | Yes | Callback used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -457,6 +569,14 @@ Obtains information about the update task. This API uses a promise to return the
| ------------------------------- | ------------------- |
| Promise\<[TaskInfo](#taskinfo)> | Promise used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -483,7 +603,15 @@ Downloads the new version. This API uses an asynchronous callback to return the
| ----------------- | --------------------------------------- | ---- | ---------------------------------- |
| versionDigestInfo | [VersionDigestInfo](#versiondigestinfo) | Yes | Version digest information. |
| downloadOptions | [DownloadOptions](#downloadoptions) | Yes | Download options. |
-| callback | AsyncCallback\ | Yes | Callback invoked to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+| callback | AsyncCallback\ | Yes | Callback used to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -526,6 +654,14 @@ Downloads the new version. This API uses a promise to return the result.
| -------------- | -------------------------- |
| Promise\ | Promise that returns no value.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -562,7 +698,15 @@ Resumes download of the new version. This API uses an asynchronous callback to r
| --------------------- | ---------------------------------------- | ---- | ------------------------------------ |
| versionDigestInfo | [VersionDigestInfo](#versiondigestinfo) | Yes | Version digest information. |
| resumeDownloadOptions | [ResumeDownloadOptions](#resumedownloadoptions) | Yes | Options for resuming download. |
-| callback | AsyncCallback\ | Yes | Callback invoked to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+| callback | AsyncCallback\ | Yes | Callback used to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -604,6 +748,14 @@ Resumes download of the new version. This API uses a promise to return the resul
| -------------- | -------------------------- |
| Promise\ | Promise that returns no value.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -639,7 +791,15 @@ Pauses download of the new version. This API uses an asynchronous callback to re
| -------------------- | ---------------------------------------- | ---- | ------------------------------------ |
| versionDigestInfo | [VersionDigestInfo](#versiondigestinfo) | Yes | Version digest information. |
| pauseDownloadOptions | [PauseDownloadOptions](#pausedownloadoptions) | Yes | Options for pausing download. |
-| callback | AsyncCallback\ | Yes | Callback invoked to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+| callback | AsyncCallback\ | Yes | Callback used to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -681,6 +841,14 @@ Resumes download of the new version. This API uses a promise to return the resul
| -------------- | -------------------------- |
| Promise\ | Promise that returns no value.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -716,7 +884,15 @@ Updates the version. This API uses an asynchronous callback to return the result
| ----------------- | --------------------------------------- | ---- | ------------------------------------ |
| versionDigestInfo | [VersionDigestInfo](#versiondigestinfo) | Yes | Version digest information. |
| upgradeOptions | [UpgradeOptions](#upgradeoptions) | Yes | Update options. |
-| callback | AsyncCallback\ | Yes | Callback invoked to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+| callback | AsyncCallback\ | Yes | Callback used to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -758,6 +934,14 @@ Updates the version. This API uses a promise to return the result.
| -------------- | -------------------------- |
| Promise\ | Promise that returns no value.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -793,7 +977,15 @@ Clears errors. This API uses an asynchronous callback to return the result.
| ----------------- | --------------------------------------- | ---- | ------------------------------------ |
| versionDigestInfo | [VersionDigestInfo](#versiondigestinfo) | Yes | Version digest information. |
| clearOptions | [ClearOptions](#clearoptions) | Yes | Clear options. |
-| callback | AsyncCallback\ | Yes | Callback invoked to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+| callback | AsyncCallback\ | Yes | Callback used to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -835,6 +1027,14 @@ Clears errors. This API uses a promise to return the result.
| -------------- | -------------------------- |
| Promise\ | Promise that returns no value.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -844,7 +1044,7 @@ const versionDigestInfo = {
};
// Options for clearing errors
-lconstet clearOptions = {
+const clearOptions = {
status: update.UpgradeStatus.UPGRADE_FAIL,
};
updater.clearError(versionDigestInfo, clearOptions).then(() => {
@@ -870,6 +1070,14 @@ Obtains the update policy. This API uses an asynchronous callback to return the
| -------- | ---------------------------------------- | ---- | --------------- |
| callback | AsyncCallback\<[UpgradePolicy](#upgradepolicy)> | Yes | Callback used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -895,6 +1103,14 @@ Obtains the update policy. This API uses a promise to return the result.
| ---------------------------------------- | --------------------- |
| Promise\<[UpgradePolicy](#upgradepolicy)> | Promise used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -923,6 +1139,14 @@ Sets the update policy. This API uses an asynchronous callback to return the res
| policy | [UpgradePolicy](#upgradepolicy) | Yes | Update policy. |
| callback | AsyncCallback\ | Yes | Callback used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -930,7 +1154,7 @@ const policy = {
downloadStrategy: false,
autoUpgradeStrategy: false,
autoUpgradePeriods: [ { start: 120, end: 240 } ] // Automatic update period, in minutes
-}
+};
updater.setUpgradePolicy(policy, (err) => {
console.log(`setUpgradePolicy result: ${err}`);
});
@@ -958,6 +1182,14 @@ Sets the update policy. This API uses a promise to return the result.
| -------------- | ------------------- |
| Promise\ | Promise used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -965,7 +1197,7 @@ const policy = {
downloadStrategy: false,
autoUpgradeStrategy: false,
autoUpgradePeriods: [ { start: 120, end: 240 } ] // Automatic update period, in minutes
-}
+};
updater.setUpgradePolicy(policy).then(() => {
console.log(`setUpgradePolicy success`);
}).catch(err => {
@@ -987,7 +1219,15 @@ Terminates the update. This API uses an asynchronous callback to return the resu
| Name | Type | Mandatory | Description |
| -------- | -------------------- | ---- | -------------------------------------- |
-| callback | AsyncCallback\ | Yes | Callback invoked to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+| callback | AsyncCallback\ | Yes | Callback used to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -1013,6 +1253,14 @@ Terminates the update. This API uses a promise to return the result.
| -------------- | -------------------------- |
| Promise\ | Promise that returns no value.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -1038,6 +1286,14 @@ Enables listening for update events. This API uses an asynchronous callback to r
| eventClassifyInfo | [EventClassifyInfo](#eventclassifyinfo) | Yes | Event information.|
| taskCallback | [UpgradeTaskCallback](#upgradetaskcallback) | Yes | Event callback.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -1065,6 +1321,14 @@ Disables listening for update events. This API uses an asynchronous callback to
| eventClassifyInfo | [EventClassifyInfo](#eventclassifyinfo) | Yes | Event information.|
| taskCallback | [UpgradeTaskCallback](#upgradetaskcallback) | No | Event callback.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -1084,7 +1348,7 @@ updater.off(eventClassifyInfo, (eventInfo) => {
factoryReset(callback: AsyncCallback\): void
-Restore the device to its factory settings. This API uses an asynchronous callback to return the result.
+Restores the scale to its factory settings. This API uses an asynchronous callback to return the result.
**System capability**: SystemCapability.Update.UpdateService
@@ -1094,7 +1358,15 @@ Restore the device to its factory settings. This API uses an asynchronous callba
| Name | Type | Mandatory | Description |
| -------- | -------------------- | ---- | -------------------------------------- |
-| callback | AsyncCallback\ | Yes | Callback invoked to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+| callback | AsyncCallback\ | Yes | Callback used to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -1108,7 +1380,7 @@ restorer.factoryReset((err) => {
factoryReset(): Promise\
-Restore the device to its factory settings. This API uses a promise to return the result.
+Restores the scale to its factory settings. This API uses a promise to return the result.
**System capability**: SystemCapability.Update.UpdateService
@@ -1120,6 +1392,14 @@ Restore the device to its factory settings. This API uses a promise to return th
| -------------- | -------------------------- |
| Promise\ | Promise that returns no value.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -1150,6 +1430,14 @@ Verifies the update package. This API uses an asynchronous callback to return th
| certsFile | string | Yes | Path of the certificate file. |
| callback | AsyncCallback\ | Yes | Callback used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -1186,6 +1474,14 @@ Verifies the update package. This API uses a promise to return the result.
| -------------- | ---------------------- |
| Promise\ | Promise used to return the result.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -1214,7 +1510,15 @@ Installs the update package. This API uses an asynchronous callback to return th
| Name | Type | Mandatory | Description |
| ----------- | ---------------------------------- | ---- | --------------------------------------- |
| upgradeFile | Array<[UpgradeFile](#upgradefile)> | Yes | Update file. |
-| callback | AsyncCallback\ | Yes | Callback invoked to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+| callback | AsyncCallback\ | Yes | Callback used to return the result. If the operation is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -1245,10 +1549,18 @@ Installs the update package. This API uses a promise to return the result.
| -------------- | -------------------------- |
| Promise\ | Promise that returns no value.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
-localUpdater upgradeFiles = [{
+const upgradeFiles = [{
fileType: update.ComponentType.OTA, // OTA package
filePath: "path" // Path of the local update package
}];
@@ -1273,6 +1585,14 @@ Enables listening for update events. This API uses an asynchronous callback to r
| eventClassifyInfo | [EventClassifyInfo](#eventclassifyinfo) | Yes | Event information.|
| taskCallback | [UpgradeTaskCallback](#upgradetaskcallback) | Yes | Event callback.|
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
+
**Example**
```ts
@@ -1300,7 +1620,15 @@ Disables listening for update events. This API uses an asynchronous callback to
| Name | Type | Mandatory | Description |
| ----------------- | ---------------------------------------- | ---- | ---- |
| eventClassifyInfo | [EventClassifyInfo](#eventclassifyinfo) | Yes | Event information.|
-| taskCallback | [UpgradeTaskCallback](#upgradetaskcallback) | Yes | Event callback.|
+| taskCallback | [UpgradeTaskCallback](#upgradetaskcallback) | No | Event callback.|
+
+**Error codes**
+
+For details about the error codes, see [Update Error Codes](../errorcodes/errorcode-update.md).
+
+| ID | Error Message |
+| ------- | ---------------------------------------------------- |
+| 11500104 | BusinessError 11500104: IPC error. |
**Example**
@@ -1337,7 +1665,7 @@ Enumerates update service types.
| Name | Type | Mandatory | Description |
| ------- | ----------------------------------- | ---- | ---- |
| vendor | [BusinessVendor](#businessvendor) | Yes | Application vendor. |
-| subType | [BusinessSubType](#businesssubtype) | Yes | Type |
+| subType | [BusinessSubType](#businesssubtype) | Yes | Update service type. |
## CheckResult
@@ -1377,7 +1705,7 @@ Represents a version component.
**System capability**: SystemCapability.Update.UpdateService
-| Parameter | Type | Mandatory | Description |
+| Name | Type | Mandatory | Description |
| --------------- | ----------------------------------- | ---- | -------- |
| componentId | string | Yes | Component ID. |
| componentType | [ComponentType](#componenttype) | Yes | Component type. |
@@ -1498,7 +1826,7 @@ Represents an update policy.
## UpgradePeriod
-Represents a period for automatic update.
+Represents an automatic update period.
**System capability**: SystemCapability.Update.UpdateService
@@ -1509,7 +1837,7 @@ Represents a period for automatic update.
## TaskInfo
-Represents task information.
+Task information.
**System capability**: SystemCapability.Update.UpdateService
@@ -1520,7 +1848,7 @@ Represents task information.
## EventInfo
-Represents event type information.
+Represents event information.
**System capability**: SystemCapability.Update.UpdateService
@@ -1554,7 +1882,7 @@ Represents an error message.
| Name | Type | Mandatory | Description |
| ------------ | ------ | ---- | ---- |
| errorCode | number | Yes | Error code. |
-| errorMessage | string | Yes | Error description.|
+| errorMessage | string | Yes | Error message.|
## EventClassifyInfo
@@ -1592,11 +1920,11 @@ Represents an event callback.
## BusinessVendor
-Device vendor.
+Represents a device vendor.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| ------ | -------- | ---- |
| PUBLIC | "public" | Open source. |
@@ -1606,7 +1934,7 @@ Represents an update type.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| -------- | ---- | ---- |
| FIRMWARE | 1 | Firmware. |
@@ -1616,7 +1944,7 @@ Represents a component type.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| ---- | ---- | ---- |
| OTA | 1 | Firmware. |
@@ -1626,7 +1954,7 @@ Represents an update mode.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| -------- | ---------- | ---- |
| UPGRADE | "upgrade" | Differential package. |
| RECOVERY | "recovery" | Recovery package. |
@@ -1637,7 +1965,7 @@ Represents an effective mode.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| ------------- | ---- | ---- |
| COLD | 1 | Cold update. |
| LIVE | 2 | Live update. |
@@ -1649,7 +1977,7 @@ Represents a description file type.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| ------- | ---- | ---- |
| CONTENT | 0 | Content. |
| URI | 1 | Link. |
@@ -1660,18 +1988,18 @@ Represents a description file format.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| ---------- | ---- | ---- |
| STANDARD | 0 | Standard format.|
| SIMPLIFIED | 1 | Simple format.|
## NetType
-Enumerates network types.
+Represents a network type.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| ----------------- | ---- | --------- |
| CELLULAR | 1 | Data network. |
| METERED_WIFI | 2 | Wi-Fi hotspot. |
@@ -1685,7 +2013,7 @@ Represents an update command.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| -------------------- | ---- | ----- |
| DOWNLOAD | 1 | Download. |
| INSTALL | 2 | Install. |
@@ -1699,7 +2027,7 @@ Enumerates update states.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| ---------------- | ---- | ---- |
| WAITING_DOWNLOAD | 20 | Waiting for download. |
| DOWNLOADING | 21 | Downloading. |
@@ -1718,7 +2046,7 @@ Represents an event type.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| ---- | ---------- | ---- |
| TASK | 0x01000000 | Task event.|
@@ -1728,22 +2056,22 @@ Enumerates event IDs.
**System capability**: SystemCapability.Update.UpdateService
-| Name | Default Value | Description |
+| Name | Value | Description |
| ---------------------- | ---------- | ------ |
-| EVENT_TASK_BASE | 0x01000000 | Indicates a task event. |
-| EVENT_TASK_RECEIVE | 0x01000001 | Indicates that a task is received. |
-| EVENT_TASK_CANCEL | 0x01000010 | Indicates that a task is cancelled. |
-| EVENT_DOWNLOAD_WAIT | 0x01000011 | Indicates the state of waiting for the download. |
-| EVENT_DOWNLOAD_START | 0x01000100 | Indicates that the download starts. |
-| EVENT_DOWNLOAD_UPDATE | 0x01000101 | Indicates the download progress update.|
-| EVENT_DOWNLOAD_PAUSE | 0x01000110 | Indicates that the download is paused. |
-| EVENT_DOWNLOAD_RESUME | 0x01000111 | Indicates that the download is resumed. |
-| EVENT_DOWNLOAD_SUCCESS | 0x01001000 | Indicates that the download succeeded. |
-| EVENT_DOWNLOAD_FAIL | 0x01001001 | Indicates that the download failed. |
-| EVENT_UPGRADE_WAIT | 0x01001010 | Indicates the state of waiting for the update. |
-| EVENT_UPGRADE_START | 0x01001011 | Indicates that the update starts. |
-| EVENT_UPGRADE_UPDATE | 0x01001100 | Indicates that the update is in progress. |
-| EVENT_APPLY_WAIT | 0x01001101 | Indicates the state of waiting for applying the update. |
-| EVENT_APPLY_START | 0x01001110 | Indicates the state of applying the update. |
-| EVENT_UPGRADE_SUCCESS | 0x01001111 | Indicates that the update succeeded. |
-| EVENT_UPGRADE_FAIL | 0x01010000 | Indicates that the update failed. |
+| EVENT_TASK_BASE | 0x01000000 | Task event. |
+| EVENT_TASK_RECEIVE | 0x01000001 | Task received. |
+| EVENT_TASK_CANCEL | 0x01000010 | Task cancelled. |
+| EVENT_DOWNLOAD_WAIT | 0x01000011 | Waiting for download. |
+| EVENT_DOWNLOAD_START | 0x01000100 | Download started. |
+| EVENT_DOWNLOAD_UPDATE | 0x01000101 | Download progress update.|
+| EVENT_DOWNLOAD_PAUSE | 0x01000110 | Download paused. |
+| EVENT_DOWNLOAD_RESUME | 0x01000111 | Download resumed. |
+| EVENT_DOWNLOAD_SUCCESS | 0x01001000 | Download succeeded. |
+| EVENT_DOWNLOAD_FAIL | 0x01001001 | Download failed. |
+| EVENT_UPGRADE_WAIT | 0x01001010 | Waiting for update. |
+| EVENT_UPGRADE_START | 0x01001011 | Update started. |
+| EVENT_UPGRADE_UPDATE | 0x01001100 | Update in progress. |
+| EVENT_APPLY_WAIT | 0x01001101 | Waiting for applying the update. |
+| EVENT_APPLY_START | 0x01001110 | Applying the update. |
+| EVENT_UPGRADE_SUCCESS | 0x01001111 | Update succeeded. |
+| EVENT_UPGRADE_FAIL | 0x01010000 | Update failed. |
diff --git a/en/application-dev/reference/apis/js-apis-userfilemanager.md b/en/application-dev/reference/apis/js-apis-userfilemanager.md
index 77805c1c54764ae6c9fdc2498fbead88db696a84..bc02ba6fd6cde0da0b9c81932c60cfe94a3976c0 100644
--- a/en/application-dev/reference/apis/js-apis-userfilemanager.md
+++ b/en/application-dev/reference/apis/js-apis-userfilemanager.md
@@ -23,7 +23,7 @@ Obtains a **UserFileManager** instance. This instance can be used to access and
| Name | Type | Mandatory| Description |
| ------- | ------- | ---- | -------------------------- |
-| context | [Context](#../apis/js-apis-Context.md) | Yes | Context of the ability instance.|
+| context | [Context](../apis/js-apis-inner-app-context.md) | Yes | Context of the ability instance.|
**Return value**
@@ -1210,7 +1210,7 @@ Obtains the thumbnail of this file asset. This API uses an asynchronous callback
| Name | Type | Mandatory | Description |
| -------- | ----------------------------------- | ---- | ---------------- |
-| callback | AsyncCallback<[image.PixelMap](#../apis/js-apis-image.md#pixelmap7)> | Yes | Callback invoked to return the pixel map of the thumbnail.|
+| callback | AsyncCallback<[image.PixelMap](../apis/js-apis-image.md#pixelmap7)> | Yes | Callback invoked to return the pixel map of the thumbnail.|
**Example**
@@ -1248,7 +1248,7 @@ Obtains the file thumbnail of the given size. This API uses an asynchronous call
| Name | Type | Mandatory | Description |
| -------- | ----------------------------------- | ---- | ---------------- |
| size | [Size](#size) | Yes | Size of the thumbnail to obtain. |
-| callback | AsyncCallback<[image.PixelMap](#../apis/js-apis-image.md#pixelmap7)> | Yes | Callback invoked to return the pixel map of the thumbnail.|
+| callback | AsyncCallback<[image.PixelMap](../apis/js-apis-image.md#pixelmap7)> | Yes | Callback invoked to return the pixel map of the thumbnail.|
**Example**
@@ -1292,7 +1292,7 @@ Obtains the file thumbnail of the given size. This API uses a promise to return
| Type | Description |
| ----------------------------- | --------------------- |
-| Promise<[image.PixelMap](#../apis/js-apis-image.md#pixelmap7)> | Promise used to return the pixel map of the thumbnail.|
+| Promise<[image.PixelMap](../apis/js-apis-image.md#pixelmap7)> | Promise used to return the pixel map of the thumbnail.|
**Example**
diff --git a/en/application-dev/reference/apis/js-apis-webview.md b/en/application-dev/reference/apis/js-apis-webview.md
index a3ee6ebcbf0c7408d9532eba466c89ba04f85ae4..92f40c92f26257e614135694d49d69608ea32a23 100644
--- a/en/application-dev/reference/apis/js-apis-webview.md
+++ b/en/application-dev/reference/apis/js-apis-webview.md
@@ -1,6 +1,6 @@
-# Webview
+# @ohos.web.webview (Webview)
The **Webview** module provides APIs for web control.
@@ -11,6 +11,7 @@ The **Webview** module provides APIs for web control.
> - You can preview how the APIs of this module work on a real device. The preview is not yet available in the DevEco Studio Previewer.
## Required Permissions
+
**ohos.permission.INTERNET**, required for accessing online web pages. For details about how to apply for a permission, see [Declaring Permissions](../../security/accesstoken-guidelines.md).
## Modules to Import
@@ -2122,6 +2123,366 @@ struct WebComponent {
}
```
+### getOriginalUrl
+
+getOriginalUrl(): string
+
+Obtains the original URL of this page.
+
+**System capability**: SystemCapability.Web.Webview.Core
+
+**Return value**
+
+| Type | Description |
+| ------ | ----------------------- |
+| string | Original URL of the current page.|
+
+**Error codes**
+
+For details about the error codes, see [Webview Error Codes](../errorcodes/errorcode-webview.md).
+
+| ID| Error Message |
+| -------- | ------------------------------------------------------------ |
+| 17100001 | Init error. The WebviewController must be associated with a Web component. |
+
+**Example**
+
+```ts
+// xxx.ets
+import web_webview from '@ohos.web.webview';
+
+@Entry
+@Component
+struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController();
+
+ build() {
+ Column() {
+ Button('getOrgUrl')
+ .onClick(() => {
+ try {
+ let url = this.controller.getOriginalUrl();
+ console.log("original url: " + url);
+ } catch (error) {
+ console.error(`ErrorCode: ${error.code}, Message: ${error.message}`);
+ }
+ })
+ Web({ src: 'www.example.com', controller: this.controller })
+ }
+ }
+}
+```
+
+### getFavicon
+
+getFavicon(): image.PixelMap
+
+Obtains the favicon of this page.
+
+**System capability**: SystemCapability.Web.Webview.Core
+
+**Return value**
+
+| Type | Description |
+| -------------------------------------- | ------------------------------- |
+| [PixelMap](js-apis-image.md#pixelmap7) | **PixelMap** object of the favicon of the page.|
+
+**Error codes**
+
+For details about the error codes, see [Webview Error Codes](../errorcodes/errorcode-webview.md).
+
+| ID| Error Message |
+| -------- | ------------------------------------------------------------ |
+| 17100001 | Init error. The WebviewController must be associated with a Web component. |
+
+**Example**
+
+```ts
+// xxx.ets
+import web_webview from '@ohos.web.webview';
+import image from "@ohos.multimedia.image"
+@Entry
+@Component
+struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController();
+ @State pixelmap: image.PixelMap = undefined;
+
+ build() {
+ Column() {
+ Button('getFavicon')
+ .onClick(() => {
+ try {
+ this.pixelmap = this.controller.getFavicon();
+ } catch (error) {
+ console.error(`ErrorCode: ${error.code}, Message: ${error.message}`);
+ }
+ })
+ Web({ src: 'www.example.com', controller: this.controller })
+ }
+ }
+}
+```
+
+### setNetworkAvailable
+
+setNetworkAvailable(enable: boolean): void
+
+Sets the **window.navigator.onLine** attribute in JavaScript.
+
+**System capability**: SystemCapability.Web.Webview.Core
+
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ------- | ---- | --------------------------------- |
+| enable | boolean | Yes | Whether to enable **window.navigator.onLine**.|
+
+**Error codes**
+
+For details about the error codes, see [Webview Error Codes](../errorcodes/errorcode-webview.md).
+
+| ID| Error Message |
+| -------- | ------------------------------------------------------------ |
+| 17100001 | Init error. The WebviewController must be associated with a Web component. |
+| 401 | Invalid input parameter. |
+
+**Example**
+
+```ts
+// xxx.ets
+import web_webview from '@ohos.web.webview';
+
+@Entry
+@Component
+struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController();
+
+ build() {
+ Column() {
+ Button('setNetworkAvailable')
+ .onClick(() => {
+ try {
+ this.controller.setNetworkAvailable(true);
+ } catch (error) {
+ console.error(`ErrorCode: ${error.code}, Message: ${error.message}`);
+ }
+ })
+ Web({ src: 'www.example.com', controller: this.controller })
+ }
+ }
+}
+```
+
+### hasImage
+
+hasImage(callback: AsyncCallback): void
+
+Checks whether this page contains images. This API uses an asynchronous callback to return the result.
+
+**System capability**: SystemCapability.Web.Webview.Core
+
+**Parameters**
+
+| Name | Type | Mandatory| Description |
+| -------- | ----------------------- | ---- | -------------------------- |
+| callback | AsyncCallback\ | Yes | Callback used to return the result.|
+
+**Error codes**
+
+For details about the error codes, see [Webview Error Codes](../errorcodes/errorcode-webview.md).
+
+| ID| Error Message |
+| -------- | ------------------------------------------------------------ |
+| 17100001 | Init error. The WebviewController must be associated with a Web compoent. |
+| 401 | Invalid input parameter. |
+
+**Example**
+
+```ts
+// xxx.ets
+import web_webview from '@ohos.web.webview';
+
+@Entry
+@Component
+struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController();
+
+ build() {
+ Column() {
+ Button('hasImageCb')
+ .onClick(() => {
+ try {
+ this.controller.hasImage((err, data) => {
+ if (error) {
+ console.info(`hasImage error: ` + JSON.stringify(error))
+ return;
+ }
+ console.info("hasImage: " + data);
+ });
+ } catch (error) {
+ console.error(`ErrorCode: ${error.code}, Message: ${error.message}`);
+ }
+ })
+ Web({ src: 'www.example.com', controller: this.controller })
+ }
+ }
+}
+```
+
+### hasImage
+
+hasImage(): Promise
+
+Checks whether this page contains images. This API uses a promise to return the result.
+
+**System capability**: SystemCapability.Web.Webview.Core
+
+**Return value**
+
+| Type | Description |
+| ----------------- | --------------------------------------- |
+| Promise\ | Promise used to return the result.|
+
+**Error codes**
+
+For details about the error codes, see [Webview Error Codes](../errorcodes/errorcode-webview.md).
+
+| ID| Error Message |
+| -------- | ------------------------------------------------------------ |
+| 17100001 | Init error. The WebviewController must be associated with a Web compoent. |
+| 401 | Invalid input parameter. |
+
+**Example**
+
+```ts
+// xxx.ets
+import web_webview from '@ohos.web.webview';
+
+@Entry
+@Component
+struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController();
+
+ build() {
+ Column() {
+ Button('hasImagePm')
+ .onClick(() => {
+ try {
+ this.controller.hasImage().then((data) => {
+ console.info('hasImage: ' + data);
+ })
+ .catch(function (error) {
+ console.error("error: " + error);
+ })
+ } catch (error) {
+ console.error(`Errorcode: ${error.code}, Message: ${error.message}`);
+ }
+ })
+ Web({ src: 'www.example.com', controller: this.controller })
+ }
+ }
+}
+```
+
+### removeCache
+
+removeCache(clearRom: boolean): void
+
+Clears the cache in the application. This API will clear the cache for all webviews in the same application.
+
+**System capability**: SystemCapability.Web.Webview.Core
+
+**Parameters**
+
+| Name | Type | Mandatory| Description |
+| -------- | ------- | ---- | -------------------------------------------------------- |
+| clearRom | boolean | Yes | Whether to clear the cache in the ROM and RAM at the same time. The value **false** means to only clear the cache in the RAM.|
+
+**Error codes**
+
+For details about the error codes, see [Webview Error Codes](../errorcodes/errorcode-webview.md).
+
+| ID| Error Message |
+| -------- | ------------------------------------------------------------ |
+| 17100001 | Init error. The WebviewController must be associated with a Web component. |
+| 401 | Invalid input parameter. |
+
+**Example**
+
+```ts
+// xxx.ets
+import web_webview from '@ohos.web.webview';
+
+@Entry
+@Component
+struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController();
+
+ build() {
+ Column() {
+ Button('removeCache')
+ .onClick(() => {
+ try {
+ this.controller.removeCache(false);
+ } catch (error) {
+ console.error(`ErrorCode: ${error.code}, Message: ${error.message}`);
+ }
+ })
+ Web({ src: 'www.example.com', controller: this.controller })
+ }
+ }
+}
+```
+
+### getBackForwardEntries
+
+getBackForwardEntries(): BackForwardList
+
+Obtains the historical information list of the current webview.
+
+**System capability**: SystemCapability.Web.Webview.Core
+
+**Return value**
+
+| Type | Description |
+| ----------------------------------- | --------------------------- |
+| [BackForwardList](#backforwardlist) | Historical information list of the current webview.|
+
+**Error codes**
+
+For details about the error codes, see [Webview Error Codes](../errorcodes/errorcode-webview.md).
+
+| ID| Error Message |
+| -------- | ------------------------------------------------------------ |
+| 17100001 | Init error. The WebviewController must be associated with a Web component. |
+
+**Example**
+
+```ts
+// xxx.ets
+import web_webview from '@ohos.web.webview';
+
+@Entry
+@Component
+struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController();
+
+ build() {
+ Column() {
+ Button('getBackForwardEntries')
+ .onClick(() => {
+ try {
+ let list = this.controller.getBackForwardEntries()
+ } catch (error) {
+ console.error(`ErrorCode: ${error.code}, Message: ${error.message}`);
+ }
+ })
+ Web({ src: 'www.example.com', controller: this.controller })
+ }
+ }
+}
+```
+
## WebCookieManager
Implements a **WebCookie** object to manage behavior of cookies in **\** components. All **\** components in an application share a **WebCookie** object.
@@ -3750,3 +4111,89 @@ Provides usage information of the Web SQL Database.
| origin | string | Yes | No| Index of the origin.|
| usage | number | Yes | No| Storage usage of the origin. |
| quota | number | Yes | No| Storage quota of the origin. |
+
+## BackForwardList
+
+Provides the historical information list of the current webview.
+
+**System capability**: SystemCapability.Web.Webview.Core
+
+| Name | Type | Readable| Writable| Description |
+| ------------ | ------ | ---- | ---- | ---------------------------- |
+| currentIndex | number | Yes | No | Index of the current page in the page history stack.|
+| size | number | Yes | No | Number of indexes in the history stack. |
+
+### getItemAtIndex
+
+getItemAtIndex(index: number): HistoryItem
+
+Obtains the page record with the specified index in the history stack.
+
+**System capability**: SystemCapability.Web.Webview.Core
+
+**Parameters**
+
+| Name| Type | Mandatory| Description |
+| ------ | ------ | ---- | ---------------------- |
+| index | number | Yes | Index of the target page record in the history stack.|
+
+**Return value**
+
+| Type | Description |
+| --------------------------- | ------------ |
+| [HistoryItem](#historyitem) | Historical page record.|
+
+**Error codes**
+
+For details about the error codes, see [Webview Error Codes](../errorcodes/errorcode-webview.md).
+
+| ID| Error Message |
+| -------- | ----------------------- |
+| 401 | Invalid input parameter |
+
+**Example**
+
+```ts
+// xxx.ets
+import web_webview from '@ohos.web.webview';
+import image from "@ohos.multimedia.image"
+
+@Entry
+@Component
+struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController();
+ @State icon: image.PixelMap = undefined;
+
+ build() {
+ Column() {
+ Button('getBackForwardEntries')
+ .onClick(() => {
+ try {
+ let list = this.controller.getBackForwardEntries();
+ let historyItem = list.getItemAtIndex(list.currentIndex);
+ console.log("HistoryItem: " + JSON.stringify(historyItem));
+ this.icon = item.icon;
+ } catch (error) {
+ console.error(`ErrorCode: ${error.code}, Message: ${error.message}`);
+ }
+ })
+ Web({ src: 'www.example.com', controller: this.controller })
+ }
+ }
+}
+```
+
+## HistoryItem
+
+Describes a historical page record.
+
+**System capability**: SystemCapability.Web.Webview.Core
+
+| Name | Type | Readable| Writable| Description |
+| ------------- | -------------------------------------- | ---- | ---- | ---------------------------- |
+| icon | [PixelMap](js-apis-image.md#pixelmap7) | Yes | No | **PixelMap** object of the icon on the historical page.|
+| historyUrl | string | Yes | No | URL of the historical page. |
+| historyRawUrl | string | Yes | No | Original URL of the historical page. |
+| title | string | Yes | No | Title of the historical page. |
+
+###
diff --git a/en/application-dev/reference/arkui-js/en-us_image_0000001127284938.gif b/en/application-dev/reference/arkui-js/en-us_image_0000001127284938.gif
new file mode 100644
index 0000000000000000000000000000000000000000..86f15fb83d5be7e8ed145d69ed8b869be40c4e45
Binary files /dev/null and b/en/application-dev/reference/arkui-js/en-us_image_0000001127284938.gif differ
diff --git a/en/application-dev/reference/arkui-js/en-us_image_0000001167662852.gif b/en/application-dev/reference/arkui-js/en-us_image_0000001167662852.gif
new file mode 100644
index 0000000000000000000000000000000000000000..1346a2deeab10fd18c60e7ff184bbff436bc528f
Binary files /dev/null and b/en/application-dev/reference/arkui-js/en-us_image_0000001167662852.gif differ
diff --git a/en/application-dev/reference/arkui-js/en-us_image_0000001173324703.gif b/en/application-dev/reference/arkui-js/en-us_image_0000001173324703.gif
new file mode 100644
index 0000000000000000000000000000000000000000..6c85de05a6145492a24a9ded5d2b399776489ecc
Binary files /dev/null and b/en/application-dev/reference/arkui-js/en-us_image_0000001173324703.gif differ
diff --git a/en/application-dev/reference/arkui-js/js-components-svg-animate.md b/en/application-dev/reference/arkui-js/js-components-svg-animate.md
index 5bac399f7fc3fda58a705e692c5c99380c45d937..0d298e588c1de3e69e0eea10aed2a3381688ff32 100644
--- a/en/application-dev/reference/arkui-js/js-components-svg-animate.md
+++ b/en/application-dev/reference/arkui-js/js-components-svg-animate.md
@@ -52,7 +52,7 @@ Not supported
```
-
+
```html
@@ -68,7 +68,7 @@ Not supported
```
-
+
```html
@@ -83,7 +83,7 @@ Not supported
```
-
+
```html
diff --git a/en/application-dev/reference/arkui-ts/figures/en-us_image_0000001212378432.gif b/en/application-dev/reference/arkui-ts/figures/en-us_image_0000001212378432.gif
deleted file mode 100644
index b0667769e77a2a2d1b131736bdce96489b7e064e..0000000000000000000000000000000000000000
Binary files a/en/application-dev/reference/arkui-ts/figures/en-us_image_0000001212378432.gif and /dev/null differ
diff --git a/en/application-dev/reference/arkui-ts/figures/progress.png b/en/application-dev/reference/arkui-ts/figures/progress.png
new file mode 100644
index 0000000000000000000000000000000000000000..d50f4b47628b425b09f93bc9a44853ad79e12631
Binary files /dev/null and b/en/application-dev/reference/arkui-ts/figures/progress.png differ
diff --git a/en/application-dev/reference/arkui-ts/figures/timePicker.gif b/en/application-dev/reference/arkui-ts/figures/timePicker.gif
new file mode 100644
index 0000000000000000000000000000000000000000..9ae06ee5b27f1b4ce369b8e90ef5602a1ea0f846
Binary files /dev/null and b/en/application-dev/reference/arkui-ts/figures/timePicker.gif differ
diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-progress.md b/en/application-dev/reference/arkui-ts/ts-basic-components-progress.md
index e6f26710f25a869938b44414ae6626818cebdaee..98d9d6e2b1a2d0839071d2f72689d2cae6cb15ea 100644
--- a/en/application-dev/reference/arkui-ts/ts-basic-components-progress.md
+++ b/en/application-dev/reference/arkui-ts/ts-basic-components-progress.md
@@ -22,38 +22,39 @@ Creates a progress indicator.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| value | number | Yes| Current progress.|
+| value | number | Yes| Current progress. If the value is less than 0, the value **0** is used. If the value is greater than that of **total**, the value of **total** is used.|
| total | number | No| Total progress. Default value: **100**|
-| type8+ | ProgressType | No| Type of the progress indicator. Default value: **ProgressType.Linear**|
-| styledeprecated | ProgressStyle | No| Style the progress indicator. This parameter is deprecated since API version 8. You are advised to use **type** instead. Default value: **ProgressStyle.Linear**|
+| type8+ | [ProgressType](#progresstype) | No| Style the progress indicator. Default value: **ProgressType.Linear**|
+| styledeprecated | [ProgressStyle](#progressstyle) | No| Type of the progress indicator. This parameter is deprecated since API version 8. You are advised to use **type** instead. Default value: **ProgressStyle.Linear**|
## ProgressType
| Name| Description|
| -------- | -------- |
-| Linear | Linear type.|
+| Linear | Linear type. Since API version 9, the progress indicator adaptively switches to vertical layout if the height is greater than the width.|
| Ring8+ | Indeterminate ring type. The ring fills up as the progress increases.|
| Eclipse8+ | Eclipse type, which visualizes the progress in a way similar to the moon waxing from new to full.|
-| ScaleRing8+ | Determinate ring type, which is similar to the clock scale.|
-| Capsule8+ | Capsule type. At both ends, the progress indicator works in a same manner as the eclipse type. In the middle part of the capsule, the progress indicator works in a same manner as the linear type.|
+| ScaleRing8+ | Determinate ring type, which is similar to the clock scale. Since API version 9, when the outer circles of scales overlap, the progress indicator is automatically converted to the **Ring** type.|
+| Capsule8+ | Capsule type. At both ends, the progress indicator works in a same manner as the eclipse type. In the middle part of the capsule, the progress indicator works in a same manner as the linear type. If the height is greater than the width, the progress indicator adaptively switches to vertical layout.|
## ProgressStyle
| Name | Description |
| --------- | ------------------------------------------------------------ |
-| Linear | Linear type. |
-| Ring | Indeterminate ring type. The ring fills up as the progress increases. |
+| Linear | Linear type.|
+| Ring | Indeterminate ring type. The ring fills up as the progress increases.|
| Eclipse | Eclipse type, which visualizes the progress in a way similar to the moon waxing from new to full.|
-| ScaleRing | Determinate ring type, which is similar to the clock scale. |
-| Capsule | Capsule type. At both ends, the progress indicator works in a same manner as the eclipse type. In the middle part of the capsule, the progress indicator works in a same manner as the linear type.|
+| ScaleRing | Determinate ring type, which is similar to the clock scale.|
+| Capsule | Capsule type. At both ends, the progress indicator works in a same manner as the eclipse type. In the middle part of the capsule, the progress indicator works in a same manner as the linear type. If the height is greater than the width, the progress indicator adaptively switches to vertical layout.|
## Attributes
| Name| Type| Description|
| -------- | -------- | -------- |
-| value | number | Current progress.|
+| value | number | Current progress. If the value is less than 0, the value **0** is used. If the value is greater than that of **total**, the value of **total** is used. Invalid values do not take effect.|
| color | [ResourceColor](ts-types.md#resourcecolor) | Background color of the progress indicator.|
-| style8+ | { strokeWidth?: [Length](ts-types.md#length), scaleCount?: number, scaleWidth?: [Length](ts-types.md#length) } | Component style. - **strokeWidth**: stroke width of the progress indicator. - **scaleCount**: number of divisions on the determinate ring-type process indicator. - **scaleWidth**: scale bar width of the determinate ring-type process indicator. If it is greater than the progress indicator width, the default value is used instead.|
+| backgroundColor | [ResourceColor](ts-types.md#resourcecolor) | Background color of the progress indicator.|
+| style8+ | { strokeWidth?: [Length](ts-types.md#length), scaleCount?: number, scaleWidth?: [Length](ts-types.md#length) } | Component style. - **strokeWidth**: stroke width of the progress indicator. It cannot be set in percentage. Since API version 9, if the stroke width of the ring progress bar is greater than or equal to the radius, the width is changed to half of the radius. Default value: **4.0Vp** - **scaleCount**: number of divisions on the determinate ring-type process indicator. Default value: **120** - **scaleWidth**: scale width of the ring progress bar. It cannot be set in percentage. If it is greater than the value of **strokeWidth**, the default scale width is used. Default value: **2.0Vp**|
## Example
@@ -69,6 +70,7 @@ struct ProgressExample {
Progress({ value: 10, type: ProgressType.Linear }).width(200)
Progress({ value: 20, total: 150, type: ProgressType.Linear }).color(Color.Grey).value(50).width(200)
+
Text('Eclipse Progress').fontSize(9).fontColor(0xCCCCCC).width('90%')
Row({ space: 40 }) {
Progress({ value: 10, type: ProgressType.Eclipse }).width(100)
@@ -83,6 +85,16 @@ struct ProgressExample {
.style({ strokeWidth: 15, scaleCount: 15, scaleWidth: 5 })
}
+ // scaleCount vs. scaleWidth
+ Row({ space: 40 }) {
+ Progress({ value: 20, total: 150, type: ProgressType.ScaleRing })
+ .color(Color.Grey).value(50).width(100)
+ .style({ strokeWidth: 20, scaleCount: 20, scaleWidth: 5 })
+ Progress({ value: 20, total: 150, type: ProgressType.ScaleRing })
+ .color(Color.Grey).value(50).width(100)
+ .style({ strokeWidth: 20, scaleCount: 30, scaleWidth: 3 })
+ }
+
Text('Ring Progress').fontSize(9).fontColor(0xCCCCCC).width('90%')
Row({ space: 40 }) {
Progress({ value: 10, type: ProgressType.Ring }).width(100)
@@ -105,4 +117,4 @@ struct ProgressExample {
}
```
-
+
diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-web.md b/en/application-dev/reference/arkui-ts/ts-basic-components-web.md
index 0c7861677bbfeb4f67f1c83b2c2fcf4286db02b7..0e9b480a1326760e25e56bca698bd8e8581bbb68 100644
--- a/en/application-dev/reference/arkui-ts/ts-basic-components-web.md
+++ b/en/application-dev/reference/arkui-ts/ts-basic-components-web.md
@@ -672,6 +672,316 @@ Sets whether to enable web debugging.
}
```
+### blockNetwork9+
+
+blockNetwork(block: boolean)
+
+Sets whether to block online downloads.
+
+**Parameters**
+
+| Name| Type| Mandatory| Default Value| Description |
+| ------ | -------- | ---- | ------ | ----------------------------------- |
+| block | boolean | Yes | false | Whether to block online downloads.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State block: boolean = true
+ build() {
+ Column() {
+ Web({ src: 'www.example.com', controller: this.controller })
+ .blockNetwork(this.block)
+ }
+ }
+ }
+ ```
+
+### defaultFixedFontSize9+
+
+defaultFixedFontSize(size: number)
+
+Sets the default fixed font size of the web page.
+
+**Parameters**
+
+| Name| Type| Mandatory| Default Value| Description |
+| ------ | -------- | ---- | ------ | ---------------------------- |
+| size | number | Yes | 13 | Default fixed font size of the web page. The value is a non-negative integer ranging from 1 to 72. If the value is less than 1, the value 1 is used. If the value is greater than 72, the value 72 is used.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State size: number = 16
+ build() {
+ Column() {
+ Web({ src: 'www.example.com', controller: this.controller })
+ .defaultFixedFontSize(this.size)
+ }
+ }
+ }
+ ```
+
+### defaultFontSize9+
+
+defaultFontSize(size: number)
+
+Sets the default font size of the web page.
+
+**Parameters**
+
+| Name| Type| Mandatory| Default Value| Description |
+| ------ | -------- | ---- | ------ | ------------------------ |
+| size | number | Yes | 16 | Default font size of the web page. The value is a non-negative integer ranging from 1 to 72. If the value is less than 1, the value 1 is used. If the value is greater than 72, the value 72 is used.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State size: number = 13
+ build() {
+ Column() {
+ Web({ src: 'www.example.com', controller: this.controller })
+ .defaultFontSize(this.size)
+ }
+ }
+ }
+ ```
+
+### minFontSize9+
+
+minFontSize(size: number)
+
+Sets the minimum font size of the web page.
+
+**Parameters**
+
+| Name| Type| Mandatory| Default Value| Description |
+| ------ | -------- | ---- | ------ | ------------------------ |
+| size | number | Yes | 8 | Minimum font size of the web page. The value is a non-negative integer ranging from 1 to 72. If the value is less than 1, the value 1 is used. If the value is greater than 72, the value 72 is used.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State size: number = 13
+ build() {
+ Column() {
+ Web({ src: 'www.example.com', controller: this.controller })
+ .minFontSize(this.size)
+ }
+ }
+ }
+ ```
+
+### webFixedFont9+
+
+webFixedFont(family: string)
+
+Sets the fixed font family of the web page.
+
+**Parameters**
+
+| Name| Type| Mandatory| Default Value | Description |
+| ------ | -------- | ---- | --------- | ---------------------------- |
+| family | string | Yes | monospace | Fixed font family of the web page.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State family: string = "monospace"
+ build() {
+ Column() {
+ Web({ src: 'www.example.com', controller: this.controller })
+ .webFixedFont(this.family)
+ }
+ }
+ }
+ ```
+
+### webSansSerifFont9+
+
+webSansSerifFont(family: string)
+
+Sets the sans serif font family of the web page.
+
+**Parameters**
+
+| Name| Type| Mandatory| Default Value | Description |
+| ------ | -------- | ---- | ---------- | --------------------------------- |
+| family | string | Yes | sans-serif | Sans serif font family of the web page.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State family: string = "sans-serif"
+ build() {
+ Column() {
+ Web({ src: 'www.example.com', controller: this.controller })
+ .webSansSerifFont(this.family)
+ }
+ }
+ }
+ ```
+
+### webSerifFont9+
+
+webSerifFont(family: string)
+
+Sets the serif font family of the web page.
+
+**Parameters**
+
+| Name| Type| Mandatory| Default Value| Description |
+| ------ | -------- | ---- | ------ | ---------------------------- |
+| family | string | Yes | serif | Serif font family of the web page.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State family: string = "serif"
+ build() {
+ Column() {
+ Web({ src: 'www.example.com', controller: this.controller })
+ .webSerifFont(this.family)
+ }
+ }
+ }
+ ```
+
+### webStandardFont9+
+
+webStandardFont(family: string)
+
+Sets the standard font family of the web page.
+
+**Parameters**
+
+| Name| Type| Mandatory| Default Value | Description |
+| ------ | -------- | ---- | ---------- | ------------------------------- |
+| family | string | Yes | sans serif | Standard font family of the web page.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State family: string = "sans-serif"
+ build() {
+ Column() {
+ Web({ src: 'www.example.com', controller: this.controller })
+ .webStandardFont(this.family)
+ }
+ }
+ }
+ ```
+
+### webFantasyFont9+
+
+webFantasyFont(family: string)
+
+Sets the fantasy font family of the web page.
+
+**Parameters**
+
+| Name| Type| Mandatory| Default Value | Description |
+| ------ | -------- | ---- | ------- | ------------------------------ |
+| family | string | Yes | fantasy | Fantasy font family of the web page.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State family: string = "fantasy"
+ build() {
+ Column() {
+ Web({ src: 'www.example.com', controller: this.controller })
+ .webFantasyFont(this.family)
+ }
+ }
+ }
+ ```
+
+### webCursiveFont9+
+
+webCursiveFont(family: string)
+
+Sets the cursive font family of the web page.
+
+**Parameters**
+
+| Name| Type| Mandatory| Default Value | Description |
+| ------ | -------- | ---- | ------- | ------------------------------ |
+| family | string | Yes | cursive | Cursive font family of the web page.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State family: string = "cursive"
+ build() {
+ Column() {
+ Web({ src: 'www.example.com', controller: this.controller })
+ .webCursiveFont(this.family)
+ }
+ }
+ }
+ ```
+
## Events
The universal events are not supported.
@@ -1635,7 +1945,7 @@ Invoked when an SSL error occurs during resource loading.
### onClientAuthenticationRequest9+
-onClientAuthenticationRequest(callback: (event: {handler : ClientAuthenticationHandler, host : string, port : number, keyTypes : Array, issuers : Array}) => void)
+onClientAuthenticationRequest(callback: (event: {handler : ClientAuthenticationHandler, host : string, port : number, keyTypes : Array\, issuers : Array\}) => void)
Invoked when an SSL client certificate request is received.
@@ -1646,7 +1956,7 @@ Invoked when an SSL client certificate request is received.
| handler | [ClientAuthenticationHandler](#clientauthenticationhandler9) | The user's operation. |
| host | string | Host name of the server that requests a certificate. |
| port | number | Port number of the server that requests a certificate. |
-| keyTypes | Array\ | Acceptable asymmetric private key types. |
+| keyTypes | Array\ | Acceptable asymmetric private key types. |
| issuers | Array\ | Issuer of the certificate that matches the private key.|
**Example**
@@ -1978,14 +2288,14 @@ Registers a callback for window creation.
@Entry
@Component
struct WebComponent {
- controller:WebController = new WebController()
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
build() {
Column() {
Web({ src:'www.example.com', controller: this.controller })
.multiWindowAccess(true)
.onWindowNew((event) => {
console.log("onWindowNew...")
- var popController: WebController = new WebController()
+ var popController: web_webview.WebviewController = new web_webview.WebviewController()
event.handler.setWebController(popController)
})
}
@@ -2059,9 +2369,184 @@ Invoked to notify the caller of the search result on the web page.
}
```
+### onDataResubmitted9+
+
+onDataResubmitted(callback: (event: {handler: DataResubmissionHandler}) => void)
+
+Invoked when the web form data is resubmitted.
+
+**Parameters**
+
+| Name | Type | Description |
+| ------- | ---------------------------------------------------- | ---------------------- |
+| handler | [DataResubmissionHandler](#dataresubmissionhandler9) | Handler for resubmitting web form data.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ build() {
+ Column() {
+ Web({ src:'www.example.com', controller: this.controller })
+ .onDataResubmitted((event) => {
+ console.log('onDataResubmitted')
+ event.handler.resend();
+ })
+ }
+ }
+ }
+ ```
+
+### onPageVisible9+
+
+onPageVisible(callback: (event: {url: string}) => void)
+
+Invoked when the old page is not displayed and the new page is about to be visible.
+
+**Parameters**
+
+| Name| Type| Description |
+| ------ | -------- | ------------------------------------------------- |
+| url | string | URL of the new page that is able to be visible when the old page is not displayed.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ build() {
+ Column() {
+ Web({ src:'www.example.com', controller: this.controller })
+ .onPageVisible((event) => {
+ console.log('onPageVisible url:' + event.url)
+ })
+ }
+ }
+ }
+ ```
+
+### onInterceptKeyEvent9+
+
+onInterceptKeyEvent(callback: (event: KeyEvent) => boolean)
+
+Invoked when the key event is intercepted, before being consumed by the Webview.
+
+**Parameters**
+
+| Name| Type | Description |
+| ------ | ------------------------------------------------------- | -------------------- |
+| event | [KeyEvent](ts-universal-events-key.md#keyevent) | Key event that is triggered.|
+
+**Return value**
+
+| Type | Description |
+| ------- | ------------------------------------------------------------ |
+| boolean | Whether to continue to transfer the key event to the Webview kernel.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ build() {
+ Column() {
+ Web({ src:'www.example.com', controller: this.controller })
+ .onInterceptKeyEvent((event) => {
+ if (event.keyCode == 2017 || event.keyCode == 2018) {
+ console.info(`onInterceptKeyEvent get event.keyCode ${event.keyCode}`)
+ return true;
+ }
+ return false;
+ })
+ }
+ }
+ }
+ ```
+
+### onTouchIconUrlReceived9+
+
+onTouchIconUrlReceived(callback: (event: {url: string, precomposed: boolean}) => void)
+
+Invoked when an apple-touch-icon URL is received.
+
+**Parameters**
+
+| Name | Type| Description |
+| ----------- | -------- | ---------------------------------- |
+| url | string | Received apple-touch-icon URL.|
+| precomposed | boolean | Whether the apple-touch-icon is precomposed.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ build() {
+ Column() {
+ Web({ src:'www.baidu.com', controller: this.controller })
+ .onTouchIconUrlReceived((event) => {
+ console.log('onTouchIconUrlReceived:' + JSON.stringify(event))
+ })
+ }
+ }
+ }
+ ```
+
+### onFaviconReceived9+
+
+onFaviconReceived(callback: (event: {favicon: image.PixelMap}) => void)
+
+Invoked when this web page receives a new favicon.
+
+**Parameters**
+
+| Name | Type | Description |
+| ------- | ---------------------------------------------- | ----------------------------------- |
+| favicon | [PixelMap](../apis/js-apis-image.md#pixelmap7) | **PixelMap** object of the received favicon.|
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ import image from "@ohos.multimedia.image"
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ @State icon: image.PixelMap = undefined;
+ build() {
+ Column() {
+ Web({ src:'www.example.com', controller: this.controller })
+ .onFaviconReceived((event) => {
+ console.log('onFaviconReceived:' + JSON.stringify(event))
+ this.icon = event.favicon;
+ })
+ }
+ }
+ }
+ ```
+
## ConsoleMessage
-Implements the **ConsoleMessage** object. For details about the sample code, see [onConsole](#onconsole).
+Implements the **ConsoleMessage** object. For the sample code, see [onConsole](#onconsole).
### getLineNumber
@@ -2113,7 +2598,7 @@ Obtains the path and name of the web page source file.
## JsResult
-Implements the **JsResult** object, which indicates the result returned to the **\** component to indicate the user operation performed in the dialog box. For details about the sample code, see [onAlert Event](#onalert).
+Implements the **JsResult** object, which indicates the result returned to the **\** component to indicate the user operation performed in the dialog box. For the sample code, see [onAlert Event](#onalert).
### handleCancel
@@ -2141,7 +2626,7 @@ Notifies the **\** component of the user's confirm operation in the dialog
## FullScreenExitHandler9+
-Implements a **FullScreenExitHandler** object for listening for exiting full screen mode. For the sample code, see [onFullScreenEnter](#onfullscreenenter9).
+Implements a **FullScreenExitHandler** object for listening for exiting full screen mode. For the sample code, see onFullScreenEnter.
### exitFullScreen9+
@@ -2151,23 +2636,23 @@ Exits full screen mode.
## ControllerHandler9+
-Implements a **WebController** object for new **\** components. For the sample code, see [onWindowNew](#onwindownew9).
+Implements a **WebviewController** object for new **\** components. For the sample code, see [onWindowNew](#onwindownew9).
### setWebController9+
-setWebController(controller: WebController): void
+setWebController(controller: WebviewController): void
-Sets a **WebController** object.
+Sets a **WebviewController** object.
**Parameters**
| Name | Type | Mandatory | Default Value | Description |
| ---------- | ------------- | ---- | ---- | ------------------------- |
-| controller | WebController | Yes | - | **WebController** object to set.|
+| controller | [WebviewController](../apis/js-apis-webview.md#webviewcontroller) | Yes | - | **WebviewController** object of the **\** component.|
## WebResourceError
-Implements the **WebResourceError** object. For details about the sample code, see [onErrorReceive](#onerrorreceive).
+Implements the **WebResourceError** object. For the sample code, see [onErrorReceive](#onerrorreceive).
### getErrorCode
@@ -2195,7 +2680,7 @@ Obtains error information about resource loading.
## WebResourceRequest
-Implements the **WebResourceRequest** object. For details about the sample code, see [onErrorReceive](#onerrorreceive).
+Implements the **WebResourceRequest** object. For the sample code, see [onErrorReceive](#onerrorreceive).
### getRequestHeader
@@ -2269,7 +2754,7 @@ Describes the request/response header returned by the **\** component.
## WebResourceResponse
-Implements the **WebResourceResponse** object. For details about the sample code, see [onHttpErrorReceive](#onhttperrorreceive).
+Implements the **WebResourceResponse** object. For the sample code, see [onHttpErrorReceive](#onhttperrorreceive).
### getReasonMessage
@@ -2417,7 +2902,7 @@ Sets the status code of the resource response.
## FileSelectorResult9+
-Notifies the **\** component of the file selection result. For details about the sample code, see [onShowFileSelector](#onshowfileselector9).
+Notifies the **\** component of the file selection result. For the sample code, see [onShowFileSelector](#onshowfileselector9).
### handleFileList9+
@@ -2433,7 +2918,7 @@ Instructs the **\** component to select a file.
## FileSelectorParam9+
-Implements the **FileSelectorParam** object. For details about the sample code, see [onShowFileSelector](#onshowfileselector9).
+Implements the **FileSelectorParam** object. For the sample code, see [onShowFileSelector](#onshowfileselector9).
### getTitle9+
@@ -2485,7 +2970,7 @@ Checks whether multimedia capabilities are invoked.
## HttpAuthHandler9+
-Implements the **HttpAuthHandler** object. For details about the sample code, see [onHttpAuthRequest](#onhttpauthrequest9).
+Implements the **HttpAuthHandler** object. For the sample code, see [onHttpAuthRequest](#onhttpauthrequest9).
### cancel9+
@@ -2526,7 +3011,7 @@ Uses the password cached on the server for authentication.
## SslErrorHandler9+
-Implements an **SslErrorHandler** object. For details about the sample code, see [onSslErrorEventReceive Event](#onsslerroreventreceive9).
+Implements an **SslErrorHandler** object. For the sample code, see [onSslErrorEventReceive Event](#onsslerroreventreceive9).
### handleCancel9+
@@ -2542,7 +3027,7 @@ Continues using the SSL certificate.
## ClientAuthenticationHandler9+
-Implements a **ClientAuthenticationHandler** object returned by the **\** component. For details about the sample code, see [onClientAuthenticationRequest](#onclientauthenticationrequest9).
+Implements a **ClientAuthenticationHandler** object returned by the **\** component. For the sample code, see [onClientAuthenticationRequest](#onclientauthenticationrequest9).
### confirm9+
@@ -2571,7 +3056,7 @@ Ignores this request.
## PermissionRequest9+
-Implements the **PermissionRequest** object. For details about the sample code, see [onPermissionRequest](#onpermissionrequest9).
+Implements the **PermissionRequest** object. For the sample code, see [onPermissionRequest](#onpermissionrequest9).
### deny9+
@@ -2617,7 +3102,7 @@ Grants the permission for resources requested by the web page.
## WebContextMenuParam9+
-Provides the information about the context menu that is displayed when a page element is long pressed. For details about the sample code, see [onContextMenuShow](#oncontextmenushow9).
+Provides the information about the context menu that is displayed when a page element is long pressed. For the sample code, see [onContextMenuShow](#oncontextmenushow9).
### x9+
@@ -2655,9 +3140,9 @@ Obtains the URL of the destination link.
| ------ | ------------------------- |
| string | If it is a link that is being long pressed, the URL that has passed the security check is returned.|
-### getUnfilterendLinkUrl9+
+### getUnfilteredLinkUrl9+
-getUnfilterendLinkUrl(): string
+getUnfilteredLinkUrl(): string
Obtains the URL of the destination link.
@@ -2693,7 +3178,7 @@ Checks whether image content exists.
## WebContextMenuResult9+
-Implements the response event executed when a context menu is displayed. For details about the sample code, see [onContextMenuShow](#oncontextmenushow9).
+Implements a **WebContextMenuResult** object. For the sample code, see onContextMenuShow.
### closeContextMenu9+
@@ -2709,7 +3194,7 @@ Copies the image specified in **WebContextMenuParam**.
## JsGeolocation
-Implements the **PermissionRequest** object. For details about the sample code, see [onGeolocationShow Event](#ongeolocationshow).
+Implements the **PermissionRequest** object. For the sample code, see [onGeolocationShow Event](#ongeolocationshow).
### invoke
@@ -2727,7 +3212,7 @@ Sets the geolocation permission status of a web page.
## WebController
-Implements a **WebController** object to control the behavior of the **\** component. A **WebController** can control only one **\** component, and the APIs in the **WebController** can be invoked only after it has been bound to the target **\** component.
+Implements a **WebController** to control the behavior of the **\** component. A **WebController** can control only one **\** component, and the APIs in the **WebController** can be invoked only after it has been bound to the target **\** component.
### Creating an Object
@@ -4008,7 +4493,7 @@ Searches for and highlights the next match.
```
## HitTestValue9+
-Implements the **HitTestValue** object. For details about the sample code, see [getHitTestValue](#gethittestvalue9).
+Implements the **HitTestValue** object. For the sample code, see [getHitTestValue](#gethittestvalue9).
### getType9+
getType(): HitTestType
@@ -4528,7 +5013,7 @@ Implements the **WebDataBase** object.
static existHttpAuthCredentials(): boolean
-Checks whether any saved HTTP authentication credentials exist. This API returns the result synchronously.
+Checks whether any saved HTTP authentication credentials exist. This API returns the result synchronously.
**Return value**
@@ -4591,14 +5076,14 @@ Deletes all HTTP authentication credentials saved in the cache. This API returns
static getHttpAuthCredentials(host: string, realm: string): Array\
-Retrieves HTTP authentication credentials for a given host and domain. This API returns the result synchronously.
+Retrieves HTTP authentication credentials for a given host and realm. This API returns the result synchronously.
**Parameters**
| Name | Type | Mandatory | Default Value | Description |
| ----- | ------ | ---- | ---- | ---------------- |
-| host | string | Yes | - | Host for which you want to obtain the HTTP authentication credentials.|
-| realm | string | Yes | - | Realm for which you want to obtain the HTTP authentication credentials. |
+| host | string | Yes | - | Host to which HTTP authentication credentials apply.|
+| realm | string | Yes | - | Realm to which HTTP authentication credentials apply. |
**Return value**
@@ -4644,7 +5129,7 @@ Saves HTTP authentication credentials for a given host and realm. This API retur
| Name | Type | Mandatory | Default Value | Description |
| -------- | ------ | ---- | ---- | ---------------- |
-| host | string | Yes | - | Host for which you want to obtain the HTTP authentication credentials.|
+| host | string | Yes | - | Host to which HTTP authentication credentials apply.|
| realm | string | Yes | - | Realm to which HTTP authentication credentials apply. |
| username | string | Yes | - | User name. |
| password | string | Yes | - | Password. |
@@ -5374,8 +5859,8 @@ Stores this web page. This API uses an asynchronous callback to return the resul
| Name | Type | Mandatory | Description |
| -------- | ---------------------------------------- | ---- | ----------------------------------- |
-| baseName | string | Yes| Save path. The value cannot be null.|
-| autoName | boolean | Yes| Whether to automatically generate a file name. The value **false** means not to automatically generate a file name. The value **true** means to automatically generate a file name based on the URL of current page and the **baseName** value. In this case, **baseName** is regarded as a directory.|
+| baseName | string | Yes| Save path. The value cannot be null.
+| autoName | boolean | Yes| Whether to automatically generate a file name. The value **false** means not to automatically generate a file name. The value **true** means to automatically generate a file name based on the URL of current page and the **baseName** value. In this case, **baseName** is regarded as a directory.
| callback | AsyncCallback | Yes | Callback used to return the save path if the operation is successful and null otherwise.|
**Example**
@@ -5414,8 +5899,8 @@ Stores this web page. This API uses a promise to return the result.
| Name | Type | Mandatory | Description |
| -------- | ---------------------------------------- | ---- | ----------------------------------- |
-| baseName | string | Yes| Save path. The value cannot be null.|
-| autoName | boolean | Yes| Whether to automatically generate a file name. The value **false** means not to automatically generate a file name. The value **true** means to automatically generate a file name based on the URL of current page and the **baseName** value. In this case, **baseName** is regarded as a directory.|
+| baseName | string | Yes| Save path. The value cannot be null.
+| autoName | boolean | Yes| Whether to automatically generate a file name. The value **false** means not to automatically generate a file name. The value **true** means to automatically generate a file name based on the URL of current page and the **baseName** value. In this case, **baseName** is regarded as a directory.
**Return value**
@@ -5670,3 +6155,61 @@ Sets the message port in this object. For the complete sample code, see [postMes
}
}
```
+
+## DataResubmissionHandler9+
+
+Implements the **DataResubmissionHandler** for resubmitting or canceling the web form data.
+
+### resend9+
+
+resend(): void
+
+Resends the web form data.
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ build() {
+ Column() {
+ Web({ src:'www.example.com', controller: this.controller })
+ .onDataResubmitted((event) => {
+ console.log('onDataResubmitted')
+ event.handler.resend();
+ })
+ }
+ }
+ }
+ ```
+
+### cancel9+
+
+cancel(): void
+
+Cancels the resending of web form data.
+
+**Example**
+
+ ```ts
+ // xxx.ets
+ import web_webview from '@ohos.web.webview'
+ @Entry
+ @Component
+ struct WebComponent {
+ controller: web_webview.WebviewController = new web_webview.WebviewController()
+ build() {
+ Column() {
+ Web({ src:'www.example.com', controller: this.controller })
+ .onDataResubmitted((event) => {
+ console.log('onDataResubmitted')
+ event.handler.cancel();
+ })
+ }
+ }
+ }
+ ```
diff --git a/en/application-dev/reference/errorcodes/Readme-EN.md b/en/application-dev/reference/errorcodes/Readme-EN.md
index baad748a3276fa43a4c891ef531fa62f11598ee3..752470eb0b26c90762b219f57d5f5b7bbc312ef1 100644
--- a/en/application-dev/reference/errorcodes/Readme-EN.md
+++ b/en/application-dev/reference/errorcodes/Readme-EN.md
@@ -3,9 +3,13 @@
- Ability Framework
- [Ability Error Codes](errorcode-ability.md)
- [Distributed Scheduler Error Codes](errorcode-DistributedSchedule.md)
+ - [Form Error Codes](errorcode-form.md)
- Bundle Management
- [Bundle Error Codes](errorcode-bundle.md)
- [zlib Error Codes](errorcode-zlib.md)
+- Common Event and Notification
+ - [Event Error Codes](errorcode-CommonEventService.md)
+ - [DistributedNotificationService Error Codes](errorcode-DistributedNotificationService.md)
- UI Page
- [promptAction Error Codes](errorcode-promptAction.md)
- [Router Error Codes](errorcode-router.md)
@@ -30,27 +34,38 @@
- [HUKS Error Codes](errorcode-huks.md)
- Data Management
- [RDB Error Codes](errorcode-data-rdb.md)
+ - [Distributed KV Store Error Codes](errorcode-distributedKVStore.md)
- [Preferences Error Codes](errorcode-preferences.md)
- Network Management
- [Upload and Download Error Codes](errorcode-request.md)
+- Connectivity
+ - [NFC Error Codes](errorcode-nfc.md)
+ - [RPC Error Codes](errorcode-rpc.md)
- Basic Features
+ - [Accessibility Error Codes](errorcode-accessibility.md)
- [FaultLogger Error Codes](errorcode-faultlogger.md)
- [Application Event Logging Error Codes](errorcode-hiappevent.md)
- [HiSysEvent Error Codes](errorcode-hisysevent.md)
- [HiDebug Error Codes](errorcode-hiviewdfx-hidebug.md)
- [Input Method Framework Error Codes](errorcode-inputmethod-framework.md)
- [Pasteboard Error Codes](errorcode-pasteboard.md)
+ - [Screen Lock Management Error Codes](errorcode-screenlock.md)
- [Webview Error Codes](errorcode-webview.md)
- Account Management
- [Account Error Codes](errorcode-account.md)
- [App Account Error Codes](errorcode-app-account.md)
- Device Management
+ - [Power Consumption Statistics Error Codes](errorcode-batteryStatistics.md)
+ - [Brightness Error Codes](errorcode-brightness.md)
+ - [Power Manager Error Codes](errorcode-power.md)
+ - [Running Lock Error Codes](errorcode-runninglock.md)
+ - [Thermal Manager Error Codes](errorcode-thermal.md)
- [Device Management Error Codes](errorcode-device-manager.md)
+ - [Location Subsystem Error Codes](errorcode-geoLocationManager.md)
- [Screen Hopping Error Codes](errorcode-multimodalinput.md)
- [Sensor Error Codes](errorcode-sensor.md)
- [Vibrator Error Codes](errorcode-vibrator.md)
- [System Parameter Error Codes](errorcode-system-parameterV9.md)
- [USB Error Codes](errorcode-usb.md)
-- Language Base Class Library
- - [Buffer Error Codes](errorcode-buffer.md)
- - [containers Error Codes](errorcode-containers.md)
+- Language Base Class Library
+ - [Utils Error Codes](errorcode-utils.md)
diff --git a/en/application-dev/reference/errorcodes/errorcode-accessibility.md b/en/application-dev/reference/errorcodes/errorcode-accessibility.md
new file mode 100644
index 0000000000000000000000000000000000000000..954c8464f3fd81d2f6c980f42711871d546dc078
--- /dev/null
+++ b/en/application-dev/reference/errorcodes/errorcode-accessibility.md
@@ -0,0 +1,96 @@
+# Accessibility Error Codes
+
+## 9300001 Invalid Bundle Name or Ability Name
+
+**Error Message**
+
+Invalid bundle name or ability name.
+
+**Description**
+
+This error code is reported when the entered bundle name or ability name is invalid.
+
+**Possible Causes**
+
+
+1. The bundle name does not exist.
+2. The bundle does not contain the target ability.
+
+**Solution**
+
+1. Verify the bundle name.
+2. Check whether the ability name corresponding to the bundle name is correct.
+
+## 9300002 Target Ability Already Enabled
+
+**Error Message**
+
+Target ability already enabled.
+
+**Description**
+
+This error code is reported when the target ability is already enabled.
+
+**Possible Causes**
+
+The target ability is already enabled and cannot be enabled again.
+
+**Solution**
+
+1. Stop the target Ability.
+2. Re-enable the target ability.
+
+## 9300003 No Accessibility Permission to Perform the Operation
+
+**Error Message**
+
+Do not have accessibility right for this operation.
+
+**Description**
+
+This error code is reported when an application performs an accessibility operation for which the related permission has not been granted.
+
+**Possible Causes**
+
+The permission for performing the accessibility operation is not granted when the accessibility application is enabled.
+
+**Solution**
+
+1. Request from the user the permission for performing the accessibility operation, stating the reason for the request.
+2. Have the accessibility application re-enabled and the required accessibility operation enabled.
+
+## 9300004 Attribute Not Found
+
+**Error Message**
+
+This property does not exist.
+
+**Description**
+
+This error code is reported when the entered attribute of the accessibility element does not exist.
+
+**Possible Causes**
+
+The attribute does not exist in the accessibility element.
+
+**Solution**
+
+Make sure the accessibility element has the target attribute.
+
+## 9300005 Operation Not Supported
+
+**Error Message**
+
+This action is not supported.
+
+**Description**
+
+This error code is reported when the application performs an operation that is not supported by the accessibility element.
+
+**Possible Causes**
+
+The accessibility element does not support the target operation.
+
+**Solution**
+
+Make sure the operation is included in the list of operations supported by the accessibility element.
diff --git a/en/application-dev/reference/errorcodes/errorcode-batteryStatistics.md b/en/application-dev/reference/errorcodes/errorcode-batteryStatistics.md
new file mode 100644
index 0000000000000000000000000000000000000000..6618e266707d3e187e0b79fcef9c67ac9ae5d142
--- /dev/null
+++ b/en/application-dev/reference/errorcodes/errorcode-batteryStatistics.md
@@ -0,0 +1,29 @@
+# Power Consumption Statistics Error Codes
+
+## 4600101 Service Connection Failure
+
+**Error Message**
+
+Operation failed. Cannot connect to service.
+
+**Description**
+
+This error code is reported for a service connection failure.
+
+**Possible Causes**
+
+1. The system service stops running.
+
+2. The internal communication of system services is abnormal.
+
+**Solution**
+
+Check whether the system services are running properly.
+
+1. Run the following command on the console to view the current system service list:
+
+ ```bash
+ > hdc shell hidumper -ls
+ ```
+
+2. Check whether **BatteryStatisticsService** is included in the system service list.
diff --git a/en/application-dev/reference/errorcodes/errorcode-brightness.md b/en/application-dev/reference/errorcodes/errorcode-brightness.md
new file mode 100644
index 0000000000000000000000000000000000000000..98dbced9c54a41dc6c55eb35ddf018c5a089d4be
--- /dev/null
+++ b/en/application-dev/reference/errorcodes/errorcode-brightness.md
@@ -0,0 +1,29 @@
+# Brightness Error Codes
+
+## 4700101 Service Connection Failure
+
+**Error Message**
+
+Operation failed. Cannot connect to service.
+
+**Description**
+
+This error code is reported for a service connection failure.
+
+**Possible Causes**
+
+1. The system service stops running.
+
+2. The internal communication of system services is abnormal.
+
+**Solution**
+
+Check whether the system services are running properly.
+
+1. Run the following command on the console to view the current system service list:
+
+ ```bash
+ > hdc shell hidumper -ls
+ ```
+
+2. Check whether **DisplayPowerManagerService** is included in the system service list.
diff --git a/en/application-dev/reference/errorcodes/errorcode-buffer.md b/en/application-dev/reference/errorcodes/errorcode-buffer.md
deleted file mode 100644
index be671af43ec2cf9b01a27a43edb17a6fb77d87c3..0000000000000000000000000000000000000000
--- a/en/application-dev/reference/errorcodes/errorcode-buffer.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# Buffer Error Codes
-
-## 10200001 Value Out of Range
-
-**Error Message**
-
-The value of ${param} is out of range.
-
-**Description**
-
-The value of a parameter passed in the API exceeds the valid range.
-
-**Possible Causes**
-
-The parameter value exceeds the value range.
-
-**Solution**
-
-Check and modify the parameter value.
-
-## 10200009 Incorrect Buffer Size
-
-**Error Message**
-
-Buffer size must be a multiple of ${size}
-
-**Description**
-
-The buffer size must be an integer multiple of 16 bits, 32 bits, or 64 bits.
-
-**Possible Causes**
-
-The buffer size is not an integer multiple of 16 bits, 32 bits, or 64 bits.
-
-**Solution**
-
-Check the buffer length.
-
-## 10200013 Read-Only Properly
-
-**Error Message**
-
-Cannot set property ${propertyName} of Buffer which has only a getter.
-
-**Description**
-
-The buffer ${propertyName} is read-only and cannot be set.
-
-**Possible Causes**
-
-The ${propertyName} parameter is read-only and cannot be set.
-
-**Solution**
-
-${propertyName} cannot be set. Do not place it on the left of the equal sign (=).
diff --git a/en/application-dev/reference/errorcodes/errorcode-containers.md b/en/application-dev/reference/errorcodes/errorcode-containers.md
deleted file mode 100644
index 3290128727cce24a13bd0ecbe46ec94c0c19c3a7..0000000000000000000000000000000000000000
--- a/en/application-dev/reference/errorcodes/errorcode-containers.md
+++ /dev/null
@@ -1,74 +0,0 @@
-# containers Error Codes
-
-## 10200012 Constructor Calling Failure
-
-**Error Message**
-
-The {className}'s constructor cannot be directly invoked.
-
-**Description**
-
-A constructor of the **containers** class is called directly to create an instance.
-
-**Possible Causes**
-
-The constructors of the **containers** class cannot be directly called. The keyword **new** must be used.
-
-**Solution**
-
-Use the keyword **new** to create an instance.
-
-## 10200011 Passed this object Is Not an Instance of the containers Class
-
-**Error Message**
-
-The {methodName} method cannot be bound.
-
-**Description**
-
-**this object** passed in the API is not an instance of the **containers** class.
-
-**Possible Causes**
-
-The APIs of the **containers** class do not support **bind()**.
-
-**Solution**
-
-1. Check whether **bind()** is used to call the API.
-2. Check whether an object that is not a container instance is assigned to the API.
-
-## 10200001 Invalid Parameter Value
-
-**Error Message**
-
-The parameter value is out of range.
-
-**Description**
-
-The value of a parameter passed in the API exceeds the valid range.
-
-**Possible Causes**
-
-The parameter value is out of range.
-
-**Solution**
-
-Use a value within the range.
-
-## 10200010 Empty Container
-
-**Error Message**
-
-The container is empty.
-
-**Description**
-
-The container to be operated is empty.
-
-**Possible Causes**
-
-The container is empty.
-
-**Solution**
-
-Add elements to the container first.
diff --git a/en/application-dev/reference/errorcodes/errorcode-form.md b/en/application-dev/reference/errorcodes/errorcode-form.md
new file mode 100644
index 0000000000000000000000000000000000000000..232306b030f7ef912726a95548d4dc1efe1c8050
--- /dev/null
+++ b/en/application-dev/reference/errorcodes/errorcode-form.md
@@ -0,0 +1,138 @@
+# Form Error Codes
+
+## 16500001 Internal Error
+
+**Error Message**
+
+Internal Error.
+
+**Description**
+
+A common kernel error, for example, a malloc failure, occurs.
+
+**Possible Causes**
+
+The memory is insufficient.
+
+**Solution**
+
+Analyze the memory usage of the entire process, and check whether memory leakage occurs.
+
+## 16500050 IPC Failure
+
+**Error Message**
+
+An IPC connection error happened.
+
+**Description**
+
+An error occurs when the system initiates inter-process communications (IPC) to complete the request.
+
+**Possible Causes**
+
+The parameter value passed in the API is too large, causing IPC data verification failure.
+
+**Solution**
+
+Pass appropriate parameter values.
+
+## 16500060 Service Connection Failure
+
+**Error Message**
+
+A service connection error happened, please try again later.
+
+**Description**
+
+An error occurs when the system attempts to connect to a service to complete the request.
+
+**Possible Causes**
+
+The service is busy or abnormal.
+
+**Solution**
+
+Try again after the service is restarted.
+
+## 16500100 Failed to Obtain Widget Configuration Information
+
+**Error Message**
+
+Failed to obtain configuration information.
+
+**Description**
+
+An error occurs when the system attempts to obtain widget configuration information to complete the request.
+
+**Possible Causes**
+
+The widget configuration information field is missing or invalid.
+
+**Solution**
+
+Use the correct configuration information.
+
+## 16501000 Functional Error
+
+**Error Message**
+
+A functional error occurred.
+
+**Description**
+
+An internal error occurs when the system executes the request.
+
+## 16501001 Widget ID Not Exist
+
+**Error Message**
+
+The ID of the form to be operated does not exist.
+
+**Description**
+
+The specified widget in the request is not found.
+
+**Possible Causes**
+
+The widget ID passed in the API does not exist or is invalid.
+
+**Solution**
+
+Use a valid widget ID.
+
+## 16501002 Too Many Widgets
+
+**Error Message**
+
+The number of forms exceeds the upper bound.
+
+**Description**
+
+The application attempts to add more widgets when the number of widgets has reached the upper limit.
+
+**Possible Causes**
+
+The number of widgets has reached the upper limit.
+
+**Solution**
+
+Delete unnecessary widgets and then add the required widgets.
+
+## 16501003 Widget Not Operatable
+
+**Error Message**
+
+The form can not be operated by the current application.
+
+**Description**
+
+The application cannot perform operations on a widget.
+
+**Possible Causes**
+
+The widget does not belong to the application.
+
+**Solution**
+
+1. Check the ownership of the widget ID.
+2. Upgrade the application permission to **SystemApp**.
diff --git a/en/application-dev/reference/errorcodes/errorcode-geoLocationManager.md b/en/application-dev/reference/errorcodes/errorcode-geoLocationManager.md
new file mode 100644
index 0000000000000000000000000000000000000000..d0c02263c609d1fc477d39db80eb632b00bec2b5
--- /dev/null
+++ b/en/application-dev/reference/errorcodes/errorcode-geoLocationManager.md
@@ -0,0 +1,157 @@
+# Location Subsystem Error Codes
+
+## 3301000 Location Service Unavailable
+
+**Error Message**
+
+Location service is unavailable.
+
+**Description**
+
+This error code is reported when the location service is unavailable and relevant APIs cannot be called.
+
+**Possible Causes**
+
+1. The location service fails to be started. As a result, the communication between the application and the location service fails, and the location service is unavailable.
+
+2. The GNSS chip fails to be initialized, and thus the GNSS positioning function becomes invalid.
+
+3. The network positioning service is abnormal, and thus the network positioning function becomes invalid.
+
+**Solution**
+
+Stop calling the API.
+
+## 3301100 Location Service Unavailable Because of Switch Toggled Off
+
+**Error Message**
+
+The location switch is off.
+
+**Description**
+
+This error code is reported when the location service is unavailable because the service switch is toggled off.
+
+**Possible Causes**
+
+The location service switch is toggled off, which makes basic functions such as continuous positioning and immediate positioning unavailable.
+
+**Solution**
+
+Display a prompt asking for enabling the location service.
+
+## 3301200 Failure to Obtain the Positioning Result
+
+**Error Message**
+
+Failed to obtain the geographical location.
+
+**Description**
+
+This error code is reported when the location service fails, and no positioning result is obtained.
+
+**Possible Causes**
+
+1. Positioning timed out because of weak GNSS signals.
+
+2. Positioning timed out because the network positioning service is abnormal.
+
+**Solution**
+
+Initiate a positioning request again.
+
+## 3301300 Reverse Geocoding Query Failure
+
+**Error Message**
+
+Reverse geocoding query failed.
+
+**Description**
+
+This error code is reported for a reverse geocoding query failure.
+
+**Possible Causes**
+
+Network connection is poor, which makes the request fail to be sent from the device or the result fail to be returned from the cloud to the device.
+
+**Solution**
+
+Try the reverse geocoding query again.
+
+## 3301400 Geocoding Query Failure
+
+**Error Message**
+
+Geocoding query failed.
+
+**Description**
+
+This error code is reported for a geocoding query failure.
+
+**Possible Causes**
+
+Network connection is poor, which makes the request fail to be sent from the device or the result fail to be returned from the cloud to the device.
+
+**Solution**
+
+Try the geocoding query again.
+
+## 3301500 Area Information Query Failure
+
+**Error Message**
+
+Failed to query the area information.
+
+**Description**
+
+This error code is reported for the failure to query the area information (including the country code).
+
+**Possible Causes**
+
+The correct area information is not found.
+
+**Solution**
+
+Stop calling the API for querying the country code.
+
+## 3301600 Geofence Operation Failure
+
+**Error Message**
+
+Failed to operate the geofence.
+
+**Description**
+
+This error code is reported when an operation (like adding, deleting, pausing, and resuming) fails to be performed on the geofence.
+
+**Possible Causes**
+
+1. The GNSS chip does not support the geofence function.
+
+2. The bottom-layer service logic is abnormal.
+
+**Solution**
+
+Stop calling the geofence operation API.
+
+## 3301700 No Response to the Request
+
+**Error Message**
+
+No response to the request.
+
+**Description**
+
+This error code is reported when no response is received for an asynchronous request that requires a user to click a button for confirmation or requires a response from the GNSS chip or network server.
+
+**Possible Causes**
+
+1. The user does not click a button as required for confirmation.
+
+2. The GNSS chip does not respond.
+
+3. The network server does not respond.
+
+**Solution**
+
+Stop calling relevant APIs.
diff --git a/en/application-dev/reference/errorcodes/errorcode-power.md b/en/application-dev/reference/errorcodes/errorcode-power.md
new file mode 100644
index 0000000000000000000000000000000000000000..83bbb2cdea786fd43b780fb9c153a31faf924e17
--- /dev/null
+++ b/en/application-dev/reference/errorcodes/errorcode-power.md
@@ -0,0 +1,47 @@
+# Power Manager Error Codes
+
+## 4900101 Service Connection Failure
+
+**Error Message**
+
+Operation failed. Cannot connect to service.
+
+**Description**
+
+This error code is reported for a service connection failure.
+
+**Possible Causes**
+
+1. The system service stops running.
+
+2. The internal communication of system services is abnormal.
+
+**Solution**
+
+Check whether the system services are running properly.
+
+1. Run the following command on the console to view the current system service list:
+
+ ```bash
+ > hdc shell hidumper -ls
+ ```
+
+2. Check whether **PowerManagerService** is included in the system service list.
+
+## 4900102 System Shuting Down
+
+**Error Message**
+
+Operation failed. System is shutting down.
+
+**Description**
+
+This error code is reported when an operation failed during system shutting down.
+
+**Possible Causes**
+
+The system is shutting down.
+
+**Solution**
+
+Make sure that the operation is performed when the system is running properly.
diff --git a/en/application-dev/reference/errorcodes/errorcode-runninglock.md b/en/application-dev/reference/errorcodes/errorcode-runninglock.md
new file mode 100644
index 0000000000000000000000000000000000000000..5e55c69b6304f626ab2bc247e17547703c424056
--- /dev/null
+++ b/en/application-dev/reference/errorcodes/errorcode-runninglock.md
@@ -0,0 +1,29 @@
+# Running Lock Error Codes
+
+## 4900101 Service Connection Failure
+
+**Error Message**
+
+Operation failed. Cannot connect to service.
+
+**Description**
+
+This error code is reported for a service connection failure.
+
+**Possible Causes**
+
+1. The system service stops running.
+
+2. The internal communication of system services is abnormal.
+
+**Solution**
+
+Check whether the system services are running properly.
+
+1. Run the following command on the console to view the current system service list:
+
+ ```bash
+ > hdc shell hidumper -ls
+ ```
+
+2. Check whether **PowerManagerService** is included in the system service list.
diff --git a/en/application-dev/reference/errorcodes/errorcode-thermal.md b/en/application-dev/reference/errorcodes/errorcode-thermal.md
new file mode 100644
index 0000000000000000000000000000000000000000..d831a9ebe63ccff1a86ea8e77cb56a969c115f0b
--- /dev/null
+++ b/en/application-dev/reference/errorcodes/errorcode-thermal.md
@@ -0,0 +1,29 @@
+# Thermal Manager Error Codes
+
+## 4800101 Service Connection Failure
+
+**Error Message**
+
+Operation failed. Cannot connect to service.
+
+**Description**
+
+This error code is reported for a service connection failure.
+
+**Possible Causes**
+
+1. The system service stops running.
+
+2. The internal communication of system services is abnormal.
+
+**Solution**
+
+Check whether the system services are running properly.
+
+1. Run the following command on the console to view the current system service list:
+
+ ```bash
+ > hdc shell hidumper -ls
+ ```
+
+2. Check whether **ThermalService** is included in the system service list.
diff --git a/en/application-dev/reference/errorcodes/errorcode-update.md b/en/application-dev/reference/errorcodes/errorcode-update.md
new file mode 100644
index 0000000000000000000000000000000000000000..53318c851936ac7d09a8f1de4f35cfc56e249fb3
--- /dev/null
+++ b/en/application-dev/reference/errorcodes/errorcode-update.md
@@ -0,0 +1,20 @@
+# Update Error Codes
+
+## 11500104 IPC Error
+
+**Error Message**
+
+BusinessError 11500104: IPC error.
+
+**Description**
+
+This error code is reported if an exception is thrown during an IPC call.
+
+**Possible Causes**
+
+An IPC API call failed.
+
+**Solution**
+
+1. Check whether the update system ability has started. If not, start it.
+2. Check whether IPC data conversion is normal. If not, check the conversion process.
diff --git a/en/application-dev/reference/errorcodes/errorcode-utils.md b/en/application-dev/reference/errorcodes/errorcode-utils.md
new file mode 100644
index 0000000000000000000000000000000000000000..9bb6853ced81e314b8ad1622e0d39590145a31d7
--- /dev/null
+++ b/en/application-dev/reference/errorcodes/errorcode-utils.md
@@ -0,0 +1,221 @@
+# Utils Error Codes
+
+## 10200001 Value Out of Range
+
+**Error Message**
+
+The value of ${param} is out of range.
+
+**Description**
+
+The value of a parameter passed in the API exceeds the valid range.
+
+**Possible Causes**
+
+The parameter value exceeds the value range.
+
+**Solution**
+
+Use a valid parameter value.
+
+## 10200002 Parameter Parsing Error
+
+**Error Message**
+
+Invalid ${param} string.
+
+**Description**
+
+Failed to parse a string.
+
+**Possible Causes**
+
+A parameter of the string type passed in the API is a non-standard string. As a result, the string fails to be parsed.
+
+**Solution**
+
+Check the format of the string.
+
+## 10200003 Failed to Initialize the Worker Instance
+
+**Error Message**
+
+Worker initialization failure.
+
+**Description**
+
+The **Worker** instance fails to be initialized when the API is called.
+
+**Possible Causes**
+
+1. The number of **Worker** instances to be created exceeds the upper limit.
+2. The options for setting the **Worker** instance are incorrect.
+
+**Solution**
+
+1. Check whether the number of **Worker** instances exceeds 8. If yes, destroy idle **Worker** instances.
+2. If **WorkerOptions** is set, check the parameter type and validity.
+
+## 10200004 Worker Instance Is Not Running
+
+**Error Message**
+
+Worker instance is not running.
+
+**Description**
+
+The **Worker** instance is not running when the API is called.
+
+**Possible Causes**
+
+When the API is called, the **Worker** instance has been destroyed or is being destroyed.
+
+**Solution**
+
+Ensure that the **Worker** instance is running properly.
+
+## 10200005 Worker Thread Does Not Support an API
+
+**Error Message**
+
+The invoked API is not supported in workers.
+
+**Description**
+
+An API that is not supported by the worker thread is called.
+
+**Possible Causes**
+
+The worker thread does not support the API.
+
+**Solution**
+
+Use a supported API.
+
+## 10200006 Worker Transmission Information Serialization Exception
+
+**Error Message**
+
+Serializing an uncaught exception failed.
+
+**Description**
+
+An error occurs when serializing transmission information.
+
+**Possible Causes**
+
+The transmission information is not serializable.
+
+**Solution**
+
+Use transmission information that is a valid serialized object.
+
+## 10200007 Abnormal Worker File Path
+
+**Error Message**
+
+The worker file path is invalid.
+
+**Description**
+
+The file path is invalid, and the **Worker** instance cannot be loaded.
+
+**Possible Causes**
+
+The worker file path is invalid. As a result, a valid **worker.abc** file cannot be generated during the build.
+
+**Solution**
+
+Ensure that the worker file path complies with the specifications for creating **Worker** instances. For details, see the example under [constructor9+](../apis/js-apis-worker.md#constructor9).
+
+## 10200009 Buffer Size Error
+
+**Error Message**
+
+Buffer size must be a multiple of ${size}.
+
+**Description**
+
+The buffer size does not meet the requirement.
+
+**Possible Causes**
+
+The buffer size is not an integer multiple of **size**, which can be 16-bit, 32-bit, or 64-bit.
+
+**Solution**
+
+Use a buffer the size of which meets the requirements.
+
+
+## 10200010 Empty Container
+
+**Error Message**
+
+The container is empty.
+
+**Description**
+
+The container to be operated is empty.
+
+**Possible Causes**
+
+No element is added to the container.
+
+**Solution**
+
+Add elements to the container first.
+
+## 10200011 Passed this.object Is Not an Instance of the containers Class
+
+**Error Message**
+
+The {methodName} method cannot be bound.
+
+**Description**
+
+**this.object** passed in the API is not an instance of the **containers** class.
+
+**Possible Causes**
+
+The APIs of the **containers** class do not support **bind()**.
+
+**Solution**
+
+1. Check whether **bind()** is used to call the API.
+2. Check whether an object that is not a container instance is assigned to the API.
+
+## 10200012 Constructor Calling Failure
+
+**Error Message**
+
+The {className}'s constructor cannot be directly invoked.
+
+**Description**
+
+A constructor of the **containers** class is called directly to create an instance.
+
+**Possible Causes**
+
+The constructors of the **containers** class cannot be directly called. The keyword **new** must be used.
+
+**Solution**
+
+Use the keyword **new** to create an instance.
+
+## 10200013 Read-Only Properly
+
+**Error Message**
+
+Cannot set property ${propertyName} of Buffer which has only a getter.
+
+**Description**
+
+The buffer ${propertyName} is read-only and cannot be set.
+
+**Possible Causes**
+
+The buffer is read-only.
+
+**Solution**
+
+Do not set the read-only attribute for the buffer.
diff --git a/en/application-dev/quick-start/figures/20220329-103626.gif b/en/application-dev/reference/figures/20220329-103626.gif
similarity index 100%
rename from en/application-dev/quick-start/figures/20220329-103626.gif
rename to en/application-dev/reference/figures/20220329-103626.gif
diff --git a/en/application-dev/quick-start/figures/image-20220326064841782.png b/en/application-dev/reference/figures/image-20220326064841782.png
similarity index 100%
rename from en/application-dev/quick-start/figures/image-20220326064841782.png
rename to en/application-dev/reference/figures/image-20220326064841782.png
diff --git a/en/application-dev/quick-start/figures/image-20220326064913834.png b/en/application-dev/reference/figures/image-20220326064913834.png
similarity index 100%
rename from en/application-dev/quick-start/figures/image-20220326064913834.png
rename to en/application-dev/reference/figures/image-20220326064913834.png
diff --git a/en/application-dev/quick-start/figures/image-20220326064955505.png b/en/application-dev/reference/figures/image-20220326064955505.png
similarity index 100%
rename from en/application-dev/quick-start/figures/image-20220326064955505.png
rename to en/application-dev/reference/figures/image-20220326064955505.png
diff --git a/en/application-dev/quick-start/figures/image-20220326065043006.png b/en/application-dev/reference/figures/image-20220326065043006.png
similarity index 100%
rename from en/application-dev/quick-start/figures/image-20220326065043006.png
rename to en/application-dev/reference/figures/image-20220326065043006.png
diff --git a/en/application-dev/quick-start/figures/image-20220326065124911.png b/en/application-dev/reference/figures/image-20220326065124911.png
similarity index 100%
rename from en/application-dev/quick-start/figures/image-20220326065124911.png
rename to en/application-dev/reference/figures/image-20220326065124911.png
diff --git a/en/application-dev/quick-start/figures/image-20220326065201867.png b/en/application-dev/reference/figures/image-20220326065201867.png
similarity index 100%
rename from en/application-dev/quick-start/figures/image-20220326065201867.png
rename to en/application-dev/reference/figures/image-20220326065201867.png
diff --git a/en/application-dev/quick-start/figures/image-20220326072448840.png b/en/application-dev/reference/figures/image-20220326072448840.png
similarity index 100%
rename from en/application-dev/quick-start/figures/image-20220326072448840.png
rename to en/application-dev/reference/figures/image-20220326072448840.png
diff --git a/en/application-dev/quick-start/syscap.md b/en/application-dev/reference/syscap.md
similarity index 84%
rename from en/application-dev/quick-start/syscap.md
rename to en/application-dev/reference/syscap.md
index 07570f1359d7a4ead492ea15e02624f35e4e12c1..295ec50046c660282964f41679bd7a3377ca846b 100644
--- a/en/application-dev/quick-start/syscap.md
+++ b/en/application-dev/reference/syscap.md
@@ -1,17 +1,15 @@
-# SysCap
+# SystemCapability
## Overview
### System Capabilities and APIs
-SysCap is short for System Capability. It refers to a standalone feature in the operating system, for example, Bluetooth, Wi-Fi, NFC, or camera. Each SysCap corresponds to a set of bound APIs, whose availability depends on the support of the target device. Such a set of APIs can be provided in DevEco Studio for association.
+SysCap is short for SystemCapability. It refers to a standalone feature in the operating system, for example, Bluetooth, Wi-Fi, NFC, or camera. Each SysCap corresponds to a set of APIs, whose availability depends on the support of the target device. Such a set of APIs can be provided in DevEco Studio for association.

For details about the SysCap sets in OpenHarmony, see [SysCap List](../reference/syscap-list.md).
-
-
### Supported SysCap Set, Associated SysCap Set, and Required SysCap Set
The supported SysCap set, associated SysCap set, and required SysCap set are collections of SysCaps.
@@ -20,8 +18,6 @@ The associated SysCap set covers the system capabilities of associated APIs that

-
-
### Devices and Supported SysCap Sets
Each device provides a SysCap set that matches its hardware capability.
@@ -29,24 +25,18 @@ The SDK classifies devices into general devices and custom devices. The general

-
-
### Mapping Between Devices and SDK Capabilities
-The SDK provides a full set of APIs for DevEco Studio. DevEco Studio identifies the supported SysCap set based on the devices supported by the project, filters the APIs contained in the SysCap set, and provides the supported APIs for association (to autocomplete input).
+The SDK provides a full set of APIs for DevEco Studio. DevEco Studio identifies the supported SysCap set based on the devices selected for the project, filters the APIs contained in the SysCap set, and provides the supported APIs for association (to autocomplete input).

-
-
## How to Develop
### Obtaining the PCID
The Product Compatibility ID (PCID) contains the SysCap information supported by the current device. For the moment, you can obtain the PCID of a device from the device vendor. In the future, you'll be able to obtain the PCIDs of all devices from the authentication center, which is in development.
-
-
### Importing the PCID
DevEco Studio allows Product Compatibility ID (PCID) imports for projects. After the imported PCID file is decoded, the SysCap is output and written into the **syscap.json** file.
@@ -55,8 +45,6 @@ Right-click the project directory and choose **Import Product Compatibility ID**

-
-
### Configuring the Associated SysCap Set and Required SysCap Set
DevEco Studio automatically configures the associated SysCap set and required SysCap set based on the settings supported by the created project. You can modify these SysCap sets when necessary.
@@ -91,51 +79,44 @@ Exercise caution when modifying the required SysCap set. Incorrect modifications
}
```
-
-
### Single-Device Application Development
By default, the associated SysCap set and required SysCap set of the application are the same as the supported SysCap set of the device. Exercise caution when modifying the required SysCap set.

-
-
### Cross-Device Application Development
By default, the associated SysCap set of an application is the union of multiple devices' supported SysCap sets, while the required SysCap set is the intersection of the devices' supported SysCap sets.

-
-
### Checking Whether an API Is Available
-Use **canIUse** if you want to check whether a project supports a specific SysCap.
+- Method 1: Use the **canIUse** API predefined in OpenHarmony.
-```
-if (canIUse("SystemCapability.ArkUI.ArkUI.Full")) {
- console.log("This application supports SystemCapability.ArkUI.ArkUI.Full.");
-} else {
- console.log("This application does not support SystemCapability.ArkUI.ArkUI.Full".);
-}
-```
-
-You can import a module using the **import** API. If the current device does not support the module, the import result is **undefined**. Before using an API, you must make sure the API is available.
+ ```
+ if (canIUse("SystemCapability.ArkUI.ArkUI.Full")) {
+ console.log("This application supports SystemCapability.ArkUI.ArkUI.Full.");
+ } else {
+ console.log("This application does not support SystemCapability.ArkUI.ArkUI.Full".);
+ }
+ ```
-```
-import geolocation from '@ohos.geolocation';
-
-if (geolocation) {
- geolocation.getCurrentLocation((location) => {
- console.log(location.latitude, location.longitude);
- });
-} else {
- console.log('This device does not support location information.');
-}
-```
+- Method 2: Import a module using the **import** API. If the current device does not support the module, the import result is **undefined**. Before using an API, you must make sure the API is available.
+ ```
+ import geolocation from '@ohos.geolocation';
+ if (geolocation) {
+ geolocation.getCurrentLocation((location) => {
+ console.log(location.latitude, location.longitude);
+ });
+ } else {
+ console.log('This device does not support location information.');
+ }
+ ```
+You can also find out the SysCap to which an API belongs by referring to the API reference document.
### Checking the Differences Between Devices with a Specific SysCap
@@ -159,7 +140,6 @@ authenticator.execute('FACE_ONLY', 'S1', (err, result) => {
})
```
-
### How Do SysCap Differences Arise Between Devices
The device SysCaps in product solutions vary according to the component combination defined by the product solution vendor. The following figure shows the overall process.
diff --git a/en/application-dev/security/cert-guidelines.md b/en/application-dev/security/cert-guidelines.md
index c6c2ec6ab092c9add82ea0c03af40b2da5e9b786..9ba67b26752c374e35296dda9e428267f1195595 100644
--- a/en/application-dev/security/cert-guidelines.md
+++ b/en/application-dev/security/cert-guidelines.md
@@ -19,7 +19,6 @@ Typical operations involve the following:
**Available APIs**
-For details about the APIs, see [Certificate](../reference/apis/js-apis-cert.md).
The table below describes the APIs used in this guide.
@@ -172,7 +171,6 @@ Typical operations involve the following:
**Available APIs**
-For details about the APIs, see [Certificate](../reference/apis/js-apis-cert.md).
The table below describes the APIs used in this guide.
@@ -320,7 +318,6 @@ You need to use the certificate chain validator in certificate chain verificatio
**Available APIs**
-For details about the APIs, see [Certificate](../reference/apis/js-apis-cert.md).
The table below describes the APIs used in this guide.
@@ -432,7 +429,6 @@ Typical operations involve the following:
**Available APIs**
-For details about the APIs, see [Certificate](../reference/apis/js-apis-cert.md).
The table below describes the APIs used in this guide.
diff --git a/en/application-dev/ui/figures/en-us_image_0000001218259634.png b/en/application-dev/ui/figures/en-us_image_0000001218259634.png
deleted file mode 100644
index a54bd7cd05accb496c691b2527b08b0a11cd8c66..0000000000000000000000000000000000000000
Binary files a/en/application-dev/ui/figures/en-us_image_0000001218259634.png and /dev/null differ
diff --git a/en/application-dev/ui/figures/en-us_image_0000001218579608.png b/en/application-dev/ui/figures/en-us_image_0000001218579608.png
deleted file mode 100644
index 74526d5efee72c20ce09c731842c0d1c56159a97..0000000000000000000000000000000000000000
Binary files a/en/application-dev/ui/figures/en-us_image_0000001218579608.png and /dev/null differ
diff --git a/en/application-dev/ui/figures/en-us_image_0000001218739568.png b/en/application-dev/ui/figures/en-us_image_0000001218739568.png
deleted file mode 100644
index a66ff857ba7629951a39a1c2cc19c7b6fb43b9e1..0000000000000000000000000000000000000000
Binary files a/en/application-dev/ui/figures/en-us_image_0000001218739568.png and /dev/null differ
diff --git a/en/application-dev/ui/figures/en-us_image_0000001218739570.png b/en/application-dev/ui/figures/en-us_image_0000001218739570.png
deleted file mode 100644
index 006efca8f390adea7edb0b4f54609c04fd0bd098..0000000000000000000000000000000000000000
Binary files a/en/application-dev/ui/figures/en-us_image_0000001218739570.png and /dev/null differ
diff --git a/en/application-dev/ui/figures/en-us_image_0000001261605867.png b/en/application-dev/ui/figures/en-us_image_0000001261605867.png
deleted file mode 100644
index 096d7f530cc2d82391be453a7a5dbe659ba15513..0000000000000000000000000000000000000000
Binary files a/en/application-dev/ui/figures/en-us_image_0000001261605867.png and /dev/null differ
diff --git a/en/application-dev/ui/figures/en-us_image_0000001263019461.png b/en/application-dev/ui/figures/en-us_image_0000001263019461.png
deleted file mode 100644
index b79b7923adca0d6e2a211c29ef0d34b70bf02583..0000000000000000000000000000000000000000
Binary files a/en/application-dev/ui/figures/en-us_image_0000001263019461.png and /dev/null differ
diff --git a/en/application-dev/ui/figures/en-us_image_0000001263139411.png b/en/application-dev/ui/figures/en-us_image_0000001263139411.png
deleted file mode 100644
index 3e481248c0e16f3311644a35fa3c71269a3e7877..0000000000000000000000000000000000000000
Binary files a/en/application-dev/ui/figures/en-us_image_0000001263139411.png and /dev/null differ
diff --git a/en/application-dev/ui/figures/en-us_image_0000001263339461.png b/en/application-dev/ui/figures/en-us_image_0000001263339461.png
deleted file mode 100644
index 183d9468ca3901183b3fa55facbc976418e7a5f1..0000000000000000000000000000000000000000
Binary files a/en/application-dev/ui/figures/en-us_image_0000001263339461.png and /dev/null differ
diff --git a/en/application-dev/ui/figures/flex.png b/en/application-dev/ui/figures/flex.png
index 848ceef3873ed6f83466d9ab42f6aa68cb341fe9..81d0d6365351f8071e21d6968d045dc80486a303 100644
Binary files a/en/application-dev/ui/figures/flex.png and b/en/application-dev/ui/figures/flex.png differ
diff --git a/en/application-dev/ui/figures/itemalignstretch.png b/en/application-dev/ui/figures/itemalignstretch.png
new file mode 100644
index 0000000000000000000000000000000000000000..0fadb0e9099cc754a281bd1bedfdea4a59f64894
Binary files /dev/null and b/en/application-dev/ui/figures/itemalignstretch.png differ
diff --git a/en/application-dev/ui/ui-js-animate-component.md b/en/application-dev/ui/ui-js-animate-component.md
index 2cfea4522a840b7e3c37f0b8b6b5d8c3c7cceb80..740ad7a99895513f3674fec2c91d65e924173815 100644
--- a/en/application-dev/ui/ui-js-animate-component.md
+++ b/en/application-dev/ui/ui-js-animate-component.md
@@ -6,7 +6,7 @@ Create and run an animation shortcut on the component. For details, see [Univers
## Obtaining an Animation Object
-Call the animate method to obtain an animation object, which supports animation attributes, methods, and events.
+Call the **animate** method to obtain an animation object, which supports animation attributes, methods, and events.
```html
@@ -84,6 +84,7 @@ After obtaining an animation object, you can set its style working on the compon
justify-content: center;
align-items: center;
width: 100%;
+ height: 100%;
}
.box{
width: 200px;
@@ -104,7 +105,7 @@ export default {
onInit() {
this.options = {
duration: 4000,
- };
+ }
this.keyframes = [
{
transform: {
@@ -128,11 +129,11 @@ export default {
width: 300,
height: 300
}
- ];
+ ]
},
Show() {
- this.animation = this.$element('content').animate(this.keyframes, this.options);
- this.animation.play();
+ this.animation = this.$element('content').animate(this.keyframes, this.options)
+ this.animation.play()
}
}
```
@@ -140,11 +141,11 @@ export default {

> **NOTE**
-> - The sequence of translate, scale, and rotate affects the animation effect.
+> - The sequence of **translate**, **scale**, and **rotate** affects the animation effect.
>
-> - transformOrigin works only for scale and rotate.
+> - **transformOrigin** works only for scale and rotate.
-Set the animation attributes by using the options parameter.
+Set the animation attributes by using the **options** parameter.
```html
@@ -209,15 +210,15 @@ export default {
> **NOTE**
>
-> direction: mode of playing the animation.
+> **direction**: mode of playing the animation.
>
-> normal: plays the animation in forward loop mode.
+> **normal**: plays the animation in forward loop mode.
>
-> reverse: plays the animation in reverse loop mode.
+> **reverse**: plays the animation in reverse loop mode.
>
-> alternate: plays the animation in alternating loop mode. When the animation is played for an odd number of times, the playback is in forward direction. When the animation is played for an even number of times, the playback is in reverse direction.
+> **alternate**: plays the animation in alternating loop mode. When the animation is played for an odd number of times, the playback is in forward direction. When the animation is played for an even number of times, the playback is in reverse direction.
>
-> alternate-reverse: plays the animation in reverse alternating loop mode. When the animation is played for an odd number of times, the playback is in reverse direction. When the animation is played for an even number of times, the playback is in forward direction.
+> **alternate-reverse**: plays the animation in reverse alternating loop mode. When the animation is played for an odd number of times, the playback is in reverse direction. When the animation is played for an even number of times, the playback is in forward direction.
## Adding an Event and Calling a Method
@@ -227,16 +228,16 @@ Animation objects support animation events and methods. You can achieve the inte
```html
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
```
@@ -246,6 +247,8 @@ Animation objects support animation events and methods. You can achieve the inte
flex-direction: column;
align-items: center;
justify-content: center;
+ width: 100%;
+ height: 100%;
}
button{
width: 200px;
@@ -274,75 +277,64 @@ button{
```js
// xxx.js
-import prompt from '@system.prompt';
export default {
- data: {
- animation: '',
- },
- onInit() {
- },
- onShow() {
- var options = {
- duration: 1500,
- easing:'ease-in',
- elay:5,
- direction:'normal',
- iterations:2
- };
- var frames = [
- {
- transform: {
- translate: '-150px -0px'
- },
- opacity: 0.1,
- offset: 0.0,
- width: 200,
- height: 200,
- },
- {
- transform: {
- translate: '150px 0px'
- },
- opacity: 1.0,
- offset: 1.0,
- width: 300,
- height: 300,
- }
- ];
- this.animation = this.$element('content').animate(frames, options);
- this.animation.onstart = function(){
- prompt.showToast({
- message: "start"
- });
- }; // Add a start event.
- this.animation.onrepeat = function(){
- prompt.showToast({
- message: " repeated"
- });
- };// Add a repeat event.
- this.animation.oncancel = function(){
- prompt.showToast({
- message: "canceled"
- });
- };// Add a cancellation event.
- this.animation.onfinish = function(){
- prompt.showToast({
- message: "finish"
- });
- };// Add a finish event.
- },
- playAnimation() {
- this.animation.play();// Start this animation.
- },
- pauseAnimation() {
- this.animation.pause();// Pause this animation.
- },
- reverseAnimation() {
- this.animation.reverse();// Reverse this animation.
- },
- cancelAnimation() {
- this.animation.cancel();// Cancel this animation.
- }
+ data: {
+ animation: '',
+ },
+ onShow() {
+ var options = {
+ duration: 1500,
+ easing:'ease-in',
+ delay:5,
+ direction:'normal',
+ iterations:2
+ };
+ var frames = [
+ {
+ transform: {
+ translate: '-150px -0px'
+ },
+ opacity: 0.1,
+ offset: 0.0,
+ width: 200,
+ height: 200,
+ },
+ {
+ transform: {
+ translate: '150px 0px'
+ },
+ opacity: 1.0,
+ offset: 1.0,
+ width: 300,
+ height: 300,
+ }
+ ];
+ this.animation = this.$element('content').animate(frames, options);
+ this.animation.onstart = function() {
+ console.info('animation start')
+ } // Add a start event.
+ this.animation.onrepeat = function() {
+ console.info('animation repeated')
+ } // Add a repeat event.
+ this.animation.oncancel = function() {
+ console.info('animation canceled')
+ } // Add a cancel event.
+ this.animation.onfinish = function() {
+ console.info('animation finish')
+ } // Add a finish event.
+ },
+ playAnimation() {
+ this.animation.play() // Start this animation.
+ },
+ pauseAnimation() {
+ this.animation.pause() // Pause this animation.
+ },
+ reverseAnimation() {
+ this.animation.reverse() // Reverse this animation.
+ },
+ cancelAnimation() {
+ this.animation.cancel() // Cancel this animation.
+ }
}
```
@@ -398,7 +390,7 @@ button{
```js
// xxx.js
-import prompt from '@system.prompt';
+import promptAction from '@ohos.promptAction';
export default {
data: {
animation: '',
@@ -437,17 +429,17 @@ export default {
];
this.animation = this.$element('content').animate(frames, options);
this.animation.onstart = function(){
- prompt.showToast({
+ promptAction.showToast({
message: "start"
});
};
this.animation.onrepeat = function(){
- prompt.showToast({
+ promptAction.showToast({
message: " repeated"
});
};
this.animation.onfinish = function(){
- prompt.showToast({
+ promptAction.showToast({
message: " finished"
});
};
diff --git a/en/application-dev/ui/ui-ts-developing-intro.md b/en/application-dev/ui/ui-ts-developing-intro.md
index 0b484ff1c5a42220bd7760d1d595d8fb1affc7a5..3f55b96e103949753a9ce6713327ad91984720fe 100644
--- a/en/application-dev/ui/ui-ts-developing-intro.md
+++ b/en/application-dev/ui/ui-ts-developing-intro.md
@@ -4,7 +4,7 @@
| Task | Description | Related Resources |
| ----------- | ---------------------------------------- | ---------------------------------------- |
-| Set up the development environment. | Understand the project structure of the declarative UI. Learn the resource categories and how to access resources. | [OpenHarmony Project Overview](https://developer.harmonyos.com/en/docs/documentation/doc-guides/ohos-project-overview-0000001218440650) [Resource Categories and Access](../quick-start/resource-categories-and-access.md) |
+| Set up the development environment. | Understand the project structure of the declarative UI. Learn the resource categories and how to access resources. | [OpenHarmony Project Overview](https://developer.harmonyos.com/en/docs/documentation/doc-guides/ohos-project-overview-0000001218440650) [Resource Categories and Access](../quick-start/resource-categories-and-access.md)|
| Learn ArkTS. | As its name implies, ArkTS is a superset of TypeScript. It is the preferred, primary programming language for application development in OpenHarmony.| [Learning ArkTS](../quick-start/arkts-get-started.md)|
| Develop a page. | Select an appropriate layout based on the use case. Add built-in components and set the component style based on the page content to present. Update and diversify the page content.| [Creating a Page](#creating-a-page) [Common Layout Development](ui-ts-layout-linear.md) [Common Components](ui-ts-components-intro.md) [Setting the Component Style](#setting-the-component-styles) [Updating Page Content](#updating-page-content)|
| (Optional) Diversify the page content. | Leverage the drawing and animation features to effectively increase user engagement. | [Drawing Components](../reference/arkui-ts/ts-drawing-components-circle.md) [Canvas Components](../reference/arkui-ts/ts-components-canvas-canvas.md) [Animation](../reference/arkui-ts/ts-animatorproperty.md)|
diff --git a/en/application-dev/ui/ui-ts-layout-flex.md b/en/application-dev/ui/ui-ts-layout-flex.md
index 291616ffc189581004105331a270085dfee75add..20ea6ca4cedba93562ccc8ddf2d2233ea9edc1ca 100644
--- a/en/application-dev/ui/ui-ts-layout-flex.md
+++ b/en/application-dev/ui/ui-ts-layout-flex.md
@@ -1,351 +1,562 @@
# Flex Layout
+The flex layout is the most flexible layout used in adaptive layout. It provides simple and powerful tools for distributing space and aligning items.
-The **\** component is used to create a flex layout. In a flex container created using the **Flex** API, child components can be laid out flexibly. For example, if there are three child components in a flex container, they can be horizontally centered and vertically equally spaced.
+- Container: [\](../reference/arkui-ts/ts-container-flex.md) component, used to set layout attributes.
+- Child component: any of the child items in the **\** component.
+- Main axis: axis along which items are placed in the **\** component. Child components are laid out along the main axis by default. The start point of the main axis is referred to as main-start, and the end point is referred to as main-end.
+- Cross axis: axis that runs perpendicular to the main axis. The start point of the cross axis is referred to as cross-start, and the end point is referred to as cross-end.
-## Creating a Flex Layout
+The following uses **FlexDirection.Row** as an example.
-The available API is as follows:
+
+
+## Container Attributes
+
+Create a flex layout through the **Flex** API provided by the **\** component. The sample code is as follows:
`Flex(options?: { direction?: FlexDirection, wrap?: FlexWrap, justifyContent?: FlexAlign, alignItems?: ItemAlign, alignContent?: FlexAlign })`
-In the preceding code, the **direction** parameter defines the flex layout direction; the **justifyContent** parameter defines the alignment mode of child components in the flex layout direction; the **alignContent** parameter defines the alignment mode of child components in the vertical direction; the **wrap** parameter defines whether the content can wrap onto multiple lines.
-## Flex Layout Direction
-The flex layout has two directions, following two axes. The main axis is the axis along which the child components follow each other. The cross axis is the axis perpendicular to the main axis. The **direction** parameter establishes the main axis. The available options are as follows:
-- **FlexDirection.Row** (default value): The main axis runs along the row horizontally, and the child components are laid out from the start edge of the main axis.
+### Flex Layout Direction
+The **direction** parameter sets the direction in which items are laid out in the **\** component and thereby defines the main axis. Available values are as follows:
- ```ts
- Flex({ direction: FlexDirection.Row }) {
- Text('1').width('33%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('33%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
- }
- .height(70)
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
+
- 
+- **FlexDirection.Row** (default value): The main axis runs along the row horizontally, and the child components are laid out from the start edge of the main axis.
+
+ ```ts
+ Flex({ direction: FlexDirection.Row }) {
+ Text('1').width('33%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('33%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .height(70)
+ .width('90%')
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
+ 
- **FlexDirection.RowReverse**: The main axis runs along the row horizontally, and the child components are laid out from the end edge of the main axis, in a direction opposite to **FlexDirection.Row**.
- ```ts
- Flex({ direction: FlexDirection.RowReverse }) {
- Text('1').width('33%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('33%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
- }
- .height(70)
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
+ ```ts
+ Flex({ direction: FlexDirection.RowReverse }) {
+ Text('1').width('33%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('33%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .height(70)
+ .width('90%')
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
- 
+ 
- **FlexDirection.Column**: The main axis runs along the column vertically, and the child components are laid out from the start edge of the main axis.
- ```ts
- Flex({ direction: FlexDirection.Column }) {
- Text('1').width('100%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('100%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('100%').height(50).backgroundColor(0xF5DEB3)
- }
- .height(70)
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
+ ```ts
+ Flex({ direction: FlexDirection.Column }) {
+ Text('1').width('100%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('100%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('100%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .height(70)
+ .width('90%')
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
- 
+ 
- **FlexDirection.ColumnReverse**: The main axis runs along the column vertically, and the child components are laid out from the end edge of the main axis, in a direction opposite to **FlexDirection.Column**.
- ```ts
- Flex({ direction: FlexDirection.ColumnReverse }) {
- Text('1').width('100%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('100%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('100%').height(50).backgroundColor(0xF5DEB3)
- }
- .height(70)
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
-
-
-## Wrapping in the Flex Layout
-
-By default, child components are laid out on a single line (also called an axis) in the flex container. Use the **wrap** parameter to set whether child components can wrap onto multiple lines. The available options are as follows:
-
-- **FlexWrap.NoWrap**: Child components are laid out on a single line. This may cause the child components to shrink to fit the container when the total width of the child components is greater than the width of the container.
-
- ```ts
- Flex({ wrap: FlexWrap.NoWrap }) {
- Text('1').width('50%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('50%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('50%').height(50).backgroundColor(0xF5DEB3)
- }
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
-
-- **FlexWrap.Wrap**: Child components can break into multiple lines.
-
- ```ts
- Flex({ wrap: FlexWrap.Wrap }) {
- Text('1').width('50%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('50%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('50%').height(50).backgroundColor(0xD2B48C)
- }
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
-
-- **FlexWrap.WrapReverse**: Child components can break into multiple lines in the reverse order to the row.
-
- ```ts
- Flex({ wrap: FlexWrap.WrapReverse}) {
- Text('1').width('50%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('50%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('50%').height(50).backgroundColor(0xF5DEB3)
- }
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
-
-
-## Alignment in the Flex Layout
-
-
-### Alignment on the Main Axis
+ ```ts
+ Flex({ direction: FlexDirection.ColumnReverse }) {
+ Text('1').width('100%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('100%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('100%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .height(70)
+ .width('90%')
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+### Wrapping in the Flex Layout
+
+By default, child components are laid out on a single line (also called an axis) in the flex container. You can use the **wrap** parameter to set whether child components can wrap onto multiple lines. Available values are as follows:
+
+- **FlexWrap.NoWrap** (default value): Child components are laid out on a single line. This may cause the child components to shrink to fit the container when the total width of the child components is greater than the width of the container.
+
+ ```ts
+ Flex({ wrap: FlexWrap.NoWrap }) {
+ Text('1').width('50%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('50%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('50%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .width('90%')
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+- **FlexWrap.Wrap**: Child components can break into multiple lines along the main axis.
+
+ ```ts
+ Flex({ wrap: FlexWrap.Wrap }) {
+ Text('1').width('50%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('50%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('50%').height(50).backgroundColor(0xD2B48C)
+ }
+ .width('90%')
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+- **FlexWrap.WrapReverse**: Child components can break into multiple lines in the reverse direction to the main axis.
+
+ ```ts
+ Flex({ wrap: FlexWrap.WrapReverse}) {
+ Text('1').width('50%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('50%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('50%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .width('90%')
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+### Alignment in the Flex Layout
+
+#### Alignment on the Main Axis
Use the **justifyContent** parameter to set alignment of items on the main axis. The available options are as follows:
-- **FlexAlign.Start**: The items are aligned with each other toward the start edge of the container along the main axis.
-
- ```ts
- Flex({ justifyContent: FlexAlign.Start }) {
- Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
- }
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
-
-- **FlexAlign.Center**: The items are aligned with each other toward the center of the container along the main axis. The space between the first component and the main-start is the same as that between the last component and the main-end.
-
- ```ts
- Flex({ justifyContent: FlexAlign.Center }) {
- Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
- }
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
+
+
+- **FlexAlign.Start** (default value): The items are aligned with each other toward the start edge of the container along the main axis.
+
+ ```ts
+ Flex({ justifyContent: FlexAlign.Start }) {
+ Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .width('90%')
+ .padding({ top: 10, bottom: 10 })
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+- **FlexAlign.Center**: The items are aligned with each other toward the center of the container along the main axis.
+
+ ```ts
+ Flex({ justifyContent: FlexAlign.Center }) {
+ Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .width('90%')
+ .padding({ top: 10, bottom: 10 })
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
- **FlexAlign.End**: The items are aligned with each other toward the end edge of the container along the main axis.
- ```ts
- Flex({ justifyContent: FlexAlign.End }) {
- Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
- }
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
-
-- **FlexAlign.SpaceBetween**: The items are evenly distributed within the container along the main axis. The first item is aligned with the main-start, the last item is aligned with the main-end, and the remaining items are distributed so that the space between any two adjacent items is the same.
-
- ```ts
- Flex({ justifyContent: FlexAlign.SpaceBetween }) {
- Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
- }
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
-
-- **FlexAlign.SpaceAround**: The items are evenly distributed within the container along the main axis. The space between the first item and main-start, and that between the last item and cross-main are both half the size of the space between two adjacent items.
-
- ```ts
- Flex({ justifyContent: FlexAlign.SpaceAround }) {
- Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
- }
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
+ ```ts
+ Flex({ justifyContent: FlexAlign.End }) {
+ Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .width('90%')
+ .padding({ top: 10, bottom: 10 })
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+- **FlexAlign.SpaceBetween**: The items are evenly distributed within the container along the main axis. The first and last items are aligned with the edges of the container.
+
+ ```ts
+ Flex({ justifyContent: FlexAlign.SpaceBetween }) {
+ Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .width('90%')
+ .padding({ top: 10, bottom: 10 })
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+- **FlexAlign.SpaceAround**: The items are evenly distributed in the container along the main axis. The space between the first item and main-start, and that between the last item and main-end are both half of the space between two adjacent items.
+
+ ```ts
+ Flex({ justifyContent: FlexAlign.SpaceAround }) {
+ Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .width('90%')
+ .padding({ top: 10, bottom: 10 })
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
- **FlexAlign.SpaceEvenly**: The items are equally distributed along the main axis. The space between the first item and main-start, the space between the last item and main-end, and the space between two adjacent items are the same.
- ```ts
- Flex({ justifyContent: FlexAlign.SpaceEvenly }) {
- Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
- Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
- Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
- }
- .width('90%')
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
+ ```ts
+ Flex({ justifyContent: FlexAlign.SpaceEvenly }) {
+ Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
+ Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
+ Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .width('90%')
+ .padding({ top: 10, bottom: 10 })
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+#### Alignment on the Cross Axis
-### Alignment on the Cross Axis
+Alignment on the cross axis can be set for both the container and child components, with that set for child components having a higher priority.
-Use the **alignItems** parameter to set alignment of items on the cross axis. The available options are as follows:
+##### Setting Alignment on the Cross Axis for the Container
+Use the **alignItems** parameter of the **\** component to set alignment of items on the cross axis. The available options are as follows:
- **ItemAlign.Auto**: The items are automatically aligned in the flex container.
- ```ts
- Flex({ alignItems: ItemAlign.Auto }) {
- Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
- Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
- Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
- }
- .size({width: '90%', height: 80})
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
+ ```ts
+ Flex({ alignItems: ItemAlign.Auto }) {
+ Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
+ Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
+ Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .size({width: '90%', height: 80})
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
- 
+ 
- **ItemAlign.Start**: The items are aligned with the start edge of the container along the cross axis.
- ```ts
- Flex({ alignItems: ItemAlign.Start }) {
- Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
- Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
- Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
- }
- .size({width: '90%', height: 80})
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
+ ```ts
+ Flex({ alignItems: ItemAlign.Start }) {
+ Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
+ Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
+ Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .size({width: '90%', height: 80})
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
- **ItemAlign.Start**: The items are aligned with the center of the container along the cross axis.
- ```ts
- Flex({ alignItems: ItemAlign.Center }) {
- Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
- Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
- Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
- }
- .size({width: '90%', height: 80})
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
+ ```ts
+ Flex({ alignItems: ItemAlign.Center }) {
+ Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
+ Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
+ Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .size({width: '90%', height: 80})
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
- **ItemAlign.End**: The items are aligned with the end edge of the container along the cross axis.
- ```ts
- Flex({ alignItems: ItemAlign.End }) {
- Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
- Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
- Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
- }
- .size({width: '90%', height: 80})
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
+ ```ts
+ Flex({ alignItems: ItemAlign.End }) {
+ Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
+ Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
+ Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .size({width: '90%', height: 80})
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
- **ItemAlign.Stretch**: The items are stretched along the cross axis. If no constraints are set, the items are stretched to fill the size of the container on the cross axis.
- ```ts
- Flex({ alignItems: ItemAlign.Stretch }) {
- Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
- Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
- Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
- }
- .size({width: '90%', height: 80})
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
+ ```ts
+ Flex({ alignItems: ItemAlign.Stretch }) {
+ Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
+ Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
+ Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .size({width: '90%', height: 80})
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
- **ItemAlign.Baseline**: The items are aligned at the baseline of the cross axis.
- ```ts
- Flex({ alignItems: ItemAlign.Baseline }) {
- Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
- Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
- Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
- }
- .size({width: '90%', height: 80})
- .padding(10)
- .backgroundColor(0xAFEEEE)
- ```
-
- 
-
-
-### Content Alignment
+ ```ts
+ Flex({ alignItems: ItemAlign.Baseline }) {
+ Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
+ Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
+ Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
+ }
+ .size({width: '90%', height: 80})
+ .padding(10)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+##### Setting Alignment on the Cross Axis for Child Components
+Use the **alignSelf** attribute of child components to set their alignment in the container on the cross axis. The settings overwrite the default **alignItems** settings in the flex layout container. The sample code is as follows:
-Use the **alignContent** parameter to set how content items are aligned within the flex container along the cross axis.
-
-- **FlexAlign.Start**: The items are packed to the start of the container.
+```ts
+Flex({ direction: FlexDirection.Row, alignItems: ItemAlign.Center }) { // The items are aligned with the center of the container.
+ Text('alignSelf Start').width('25%').height(80)
+ .alignSelf(ItemAlign.Start)
+ .backgroundColor(0xF5DEB3)
+ Text('alignSelf Baseline')
+ .alignSelf(ItemAlign.Baseline)
+ .width('25%')
+ .height(80)
+ .backgroundColor(0xD2B48C)
+ Text('alignSelf Baseline').width('25%').height(100)
+ .backgroundColor(0xF5DEB3)
+ .alignSelf(ItemAlign.Baseline)
+ Text('no alignSelf').width('25%').height(100)
+ .backgroundColor(0xD2B48C)
+ Text('no alignSelf').width('25%').height(100)
+ .backgroundColor(0xF5DEB3)
+
+}.width('90%').height(220).backgroundColor(0xAFEEEE)
+```
-- **FlexAlign.Center**: The items are packed to the center of the container.
+
+
+In the preceding example, both **alignItems** of the **\** component and the **alignSelf** attribute of the child component are set. In this case, the **alignSelf** settings take effect.
+
+#### Content Alignment
+
+Use the **alignContent** parameter to set how space is distributed between and around content items along the cross axis. This parameter is valid only for a flex layout that contains multiple lines. The available options are as follows:
+
+- **FlexAlign.Start**: The items are aligned toward the start edge of the cross axis in the container.
+
+ ```ts
+ Flex({ justifyContent: FlexAlign.SpaceBetween, wrap: FlexWrap.Wrap, alignContent: FlexAlign.Start }) {
+ Text('1').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('2').width('60%').height(20).backgroundColor(0xD2B48C)
+ Text('3').width('40%').height(20).backgroundColor(0xD2B48C)
+ Text('4').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('5').width('20%').height(20).backgroundColor(0xD2B48C)
+ }
+ .width('90%')
+ .height(100)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+- **FlexAlign.Center**: The items are aligned toward the center of the cross axis in the container.
+
+ ```ts
+ Flex({ justifyContent: FlexAlign.SpaceBetween, wrap: FlexWrap.Wrap, alignContent: FlexAlign.Center }) {
+ Text('1').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('2').width('60%').height(20).backgroundColor(0xD2B48C)
+ Text('3').width('40%').height(20).backgroundColor(0xD2B48C)
+ Text('4').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('5').width('20%').height(20).backgroundColor(0xD2B48C)
+ }
+ .width('90%')
+ .height(100)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+- **FlexAlign.End**: The items are aligned toward the end edge of the cross axis in the container.
+
+ ```ts
+ Flex({ justifyContent: FlexAlign.SpaceBetween, wrap: FlexWrap.Wrap, alignContent: FlexAlign.End }) {
+ Text('1').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('2').width('60%').height(20).backgroundColor(0xD2B48C)
+ Text('3').width('40%').height(20).backgroundColor(0xD2B48C)
+ Text('4').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('5').width('20%').height(20).backgroundColor(0xD2B48C)
+ }
+ .width('90%')
+ .height(100)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+- **FlexAlign.SpaceBetween**: The items are evenly distributed in the container along the cross axis, with the first and last items aligned with the edges of the cross axis.
+
+ ```ts
+ Flex({ justifyContent: FlexAlign.SpaceBetween, wrap: FlexWrap.Wrap, alignContent: FlexAlign.SpaceBetween }) {
+ Text('1').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('2').width('60%').height(20).backgroundColor(0xD2B48C)
+ Text('3').width('40%').height(20).backgroundColor(0xD2B48C)
+ Text('4').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('5').width('20%').height(20).backgroundColor(0xD2B48C)
+ }
+ .width('90%')
+ .height(100)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+- **FlexAlign.SpaceAround**: The items are evenly distributed in the container along the cross axis. The spacing before the first item and after the last item is half of the spacing between two adjacent items.
+
+ ```ts
+ Flex({ justifyContent: FlexAlign.SpaceBetween, wrap: FlexWrap.Wrap, alignContent: FlexAlign.SpaceAround }) {
+ Text('1').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('2').width('60%').height(20).backgroundColor(0xD2B48C)
+ Text('3').width('40%').height(20).backgroundColor(0xD2B48C)
+ Text('4').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('5').width('20%').height(20).backgroundColor(0xD2B48C)
+ }
+ .width('90%')
+ .height(100)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+- **FlexAlign.SpaceEvenly**: The items are evenly distributed in the container along the cross axis. The spacing between each two adjacent items, the spacing between the start edge and the first item, and the spacing between the end edge and the last item, are the same.
+
+ ```ts
+ Flex({ justifyContent: FlexAlign.SpaceBetween, wrap: FlexWrap.Wrap, alignContent: FlexAlign.SpaceAround }) {
+ Text('1').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('2').width('60%').height(20).backgroundColor(0xD2B48C)
+ Text('3').width('40%').height(20).backgroundColor(0xD2B48C)
+ Text('4').width('30%').height(20).backgroundColor(0xF5DEB3)
+ Text('5').width('20%').height(20).backgroundColor(0xD2B48C)
+ }
+ .width('90%')
+ .height(100)
+ .backgroundColor(0xAFEEEE)
+ ```
+
+ 
+
+### Adaptive Stretching of Flex Layout
+
+When the size of the container in the flex layout is not large enough, the following attributes of the child component can be used to achieve adaptive layout.
+- **flexBasis**: base size of the child component in the container along the main axis. It sets the space occupied by the child component. If this attribute is not set or is set to **auto**, the space occupied by the child component is the value of width/height.
+
+ ```ts
+ Flex() {
+ Text('flexBasis("auto")')
+ .flexBasis('auto') // When width is not set and flexBasis is set to auto, the content is loose.
+ .height(100)
+ .backgroundColor(0xF5DEB3)
+ Text('flexBasis("auto")'+' width("40%")')
+ .width('40%')
+ .flexBasis('auto') // When width is set and flexBasis is set to auto, the value of width is used.
+ .height(100)
+ .backgroundColor(0xD2B48C)
+
+ Text('flexBasis(100)') // When width is not set and flexBasis is set to 100, the width is 100 vp.
+ .flexBasis(100)
+ .height(100)
+ .backgroundColor(0xF5DEB3)
+
+ Text('flexBasis(100)')
+ .flexBasis(100)
+ .width(200) // When width is set to 200 and flexBasis 100, the width is 100 vp, which means that the settings of flexBasis take precedence.
+ .height(100)
+ .backgroundColor(0xD2B48C)
+ }.width('90%').height(120).padding(10).backgroundColor(0xAFEEEE)
+ ```
+
+ 
-- **FlexAlign.End**: The items are packed to the end of the container.
+- **flexGrow**: percentage of the flex layout's remaining space that is allocated to the child component. In other words, it is the grow factor of the child component.
-- **FlexAlign.SpaceBetween**: The items are evenly distributed; the first item is aligned with the main-start while the last item is aligned with the main-end.
+ ```ts
+ Flex() {
+ Text('flexGrow(1)')
+ .flexGrow(2)
+ .width(100)
+ .height(100)
+ .backgroundColor(0xF5DEB3)
+
+ Text('flexGrow(3)')
+ .flexGrow(2)
+ .width(100)
+ .height(100)
+ .backgroundColor(0xD2B48C)
+
+ Text('no flexGrow')
+ .width(100)
+ .height(100)
+ .backgroundColor(0xF5DEB3)
+ }.width(400).height(120).padding(10).backgroundColor(0xAFEEEE)
+ ```
+
+ 
-- **FlexAlign.SpaceAround**: The items are evenly distributed, with the space between the item and the main-start and between the item and the main-end equals half of the space between adjacent items.
+In the preceding figure, the width of the parent container is 400 vp, the original width of the three child components is 100 vp, which adds up to the total width of 300 vp. The remaining space 100 vp is allocated to the child components based on their **flexGrow** settings. Child components that do not have **flexGrow** set are not involved in the allocation of remaining space.
+The first child component and the second child component receive their share of remaining space at the 2:3 ratio. The width of the first child component is 100 vp + 100 vp x 2/5 = 140 vp, and the width of the second child component is 100 vp + 100 vp x 3/5 = 160 vp.
-- **FlexAlign.SpaceEvenly**: The items are evenly distributed, with the space between the item and the main-start and between the item and the main-end equals the space between adjacent items.
+- **flexShrink**: shrink factor of the child component when the size of all child components is larger than the flex container.
+ ```ts
+ Flex({ direction: FlexDirection.Row }) {
+ Text('flexShrink(3)')
+ .flexShrink(3)
+ .width(200)
+ .height(100)
+ .backgroundColor(0xF5DEB3)
+
+ Text('no flexShrink')
+ .width(200)
+ .height(100)
+ .backgroundColor(0xD2B48C)
+
+ Text('flexShrink(2)')
+ .flexShrink(2)
+ .width(200)
+ .height(100)
+ .backgroundColor(0xF5DEB3)
+ }.width(400).height(120).padding(10).backgroundColor(0xAFEEEE)
+ ```
+
+ 
## Example Scenario
-In this example, a flex layout is designed to achieve the following effects: The child components are laid out horizontally on a single line, even when the total width of the child components exceeds the width of the container; the child components are horizontally aligned at both ends and vertically aligned toward the center of the container; the space is evenly divided by the child components except for the start and end ones.
+With the flex layout, child components can be arranged horizontally, aligned at both edges, evenly spaced, and centered in the vertical direction. The sample code is as follows:
```ts
-@Entry
+@Entry
@Component
struct FlexExample {
build() {
@@ -358,7 +569,6 @@ struct FlexExample {
}
.height(70)
.width('90%')
- .padding(10)
.backgroundColor(0xAFEEEE)
}.width('100%').margin({ top: 5 })
}.width('100%')
@@ -366,5 +576,4 @@ struct FlexExample {
}
```
-
-
+
diff --git a/en/contribute/license-and-copyright-specifications.md b/en/contribute/license-and-copyright-specifications.md
index 169ecc44406694d1412b2b57d18618243bf51cf6..cd981270714ef17f354ab58e74670bbedd9be6e2 100644
--- a/en/contribute/license-and-copyright-specifications.md
+++ b/en/contribute/license-and-copyright-specifications.md
@@ -7,7 +7,7 @@ This document describes how code contributors, committers, and PMC members in th
3. Copyright and license header
## Scope
-This document applies only to the OpenHarmony community. It is not applicable to the scenario where the OpenHarmony project is used by individuals or enterprises to develop their products or the scenario where third-party open-source software is introduced. For details, see [Introducing Third-Party Open-Source Software](introducing-third-party-open-source-software.md).
+This document applies only to the OpenHarmony community. It is not applicable to the scenario where the OpenHarmony project is used by individuals or enterprises to develop their products or the scenario where third-party open-source software is introduced.
## Improvements and Revisions
1. This document is drafted and maintained by the OpenHarmony PMC. What you are reading now is the latest version of this document.
diff --git a/en/device-dev/driver/driver-peripherals-codec-des.md b/en/device-dev/driver/driver-peripherals-codec-des.md
index fcc4ccf2c47a05a71e06bce9f5e695586024a12c..9dd9e1d07cfd7b964b10a3175095dc73dcd91228 100644
--- a/en/device-dev/driver/driver-peripherals-codec-des.md
+++ b/en/device-dev/driver/driver-peripherals-codec-des.md
@@ -3,9 +3,9 @@
## Overview
### Function
-The OpenHarmony codec Hardware Device Interface (HDI) driver framework implements the video hardware codec driver based on OpenMAX. It provides APIs for the upper-layer media services to obtain component encoding and decoding capabilities, create a component, set parameters, transfer data, and destroy a component. The codec driver can encode video data in YUV or RGB format to H.264 or H.265 format, and decode raw stream data from H.264 or H.265 format to YUV or RGB format. This document describes the codec functionality developed based on the OpenHarmony Hardware Driver Foundation (HDF).
+The codec Hardware Device Interface (HDI) driver framework is implemented based on OpenHarmony Hardware Driver Foundation (HDF). The HDI driver framework implements the video hardware codec driver based on OpenMAX. It provides APIs for the upper-layer media services to obtain component encoding and decoding capabilities, create a component, set parameters, transfer data, and destroy a component. The codec driver can encode video data in YUV or RGB format to H.264 or H.265 format, and decode raw stream data from H.264 or H.265 format to YUV or RGB format.
-The codec HDI driver framework is implemented based on the HDF. The figure below shows the codec HDI driver framework.
+The figure below shows the codec HDI driver framework.
**Figure 1** Codec HDI driver framework
@@ -16,7 +16,7 @@ The codec HDI driver framework is implemented based on the HDF. The figure below
- Codec HDI Adapter: HDI implementation layer, which implements HDI APIs and interacts with OpenMAX Integration layer (IL).
- OpenMAX IL interface: provides OpenMAX IL APIs to directly interact with the codec HDI driver.
- Vendor Impl: vendor adaptation layer, which is the OpenMAX implementation layer adapted by each vendor.
-- Codec Hardware: hardware decoding device.
+- Codec Hardware: hardware coding and decoding device.
### Basic Concepts
Before you get started, understand the following concepts:
@@ -39,7 +39,7 @@ Before you get started, understand the following concepts:
- Component
- An OpenMAX IL component, which is an abstraction of modules in video streams. The components in this document refer to codec components for video encoding and decoding.
+ An OpenMAX IL component, which is an abstraction of modules in video streams. The components in this document refer to codec components used for video encoding and decoding.
### Constraints
@@ -56,20 +56,20 @@ The codec module implements hardware encoding and decoding of video data. It con
- codec_component_manager.h
- | API | Description |
+ | API | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------|
| int32_t (*CreateComponent)(struct CodecComponentType **component, uint32_t *componentId, char *compName, int64_t appData, struct CodecCallbackType *callbacks) | Creates a codec component instance. |
- | int32_t (*DestroyComponent)(uint32_t componentId) | Destroys a component instance. |
+ | int32_t (*DestroyComponent)(uint32_t componentId) | Destroys a codec component instance. |
- codec_component _if.h
| API | Description |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
| int32_t (*SendCommand)(struct CodecComponentType *self, enum OMX_COMMANDTYPE cmd, uint32_t param, int8_t *cmdData, uint32_t cmdDataLen) | Sends commands to a component. |
- | int32_t (*GetParameter)(struct CodecComponentType *self, uint32_t paramIndex, int8_t *paramStruct, uint32_t paramStructLen) | Obtains component parameter settings. |
+ | int32_t (*GetParameter)(struct CodecComponentType *self, uint32_t paramIndex, int8_t *paramStruct, uint32_t paramStructLen) | Obtains component parameter settings. |
| int32_t (*SetParameter)(struct CodecComponentType *self, uint32_t index, int8_t *paramStruct, uint32_t paramStructLen) | Sets component parameters. |
| int32_t (*GetState)(struct CodecComponentType *self, enum OMX_STATETYPE *state) | Obtains the component status. |
- | int32_t (*UseBuffer)(struct CodecComponentType *self, uint32_t portIndex, struct OmxCodecBuffer *buffer) | Specifies the buffer of a component port. |
+ | int32_t (*UseBuffer)(struct CodecComponentType *self, uint32_t portIndex, struct OmxCodecBuffer *buffer) | Requests a port buffer for the component. |
| int32_t (*FreeBuffer)(struct CodecComponentType *self, uint32_t portIndex, const struct OmxCodecBuffer *buffer) | Releases the buffer. |
| int32_t (*EmptyThisBuffer)(struct CodecComponentType *self, const struct OmxCodecBuffer *buffer) | Empties this buffer. |
| int32_t (*FillThisBuffer)(struct CodecComponentType *self, const struct OmxCodecBuffer *buffer) | Fills this buffer. |
@@ -88,7 +88,7 @@ For more information, see [codec](https://gitee.com/openharmony/drivers_peripher
The codec HDI driver development procedure is as follows:
#### Registering and Initializing the Driver
-Define the **HdfDriverEntry** structure (which defines the driver initialization method) and fill in the **g_codecComponentDriverEntry** structure to implement the **Bind()**, **Init()**, and **Release()** pointers.
+Define the **HdfDriverEntry** structure (which defines the driver initialization method) and fill in the **g_codecComponentDriverEntry** structure to implement the pointers in **Bind()**, **Init()**, and **Release()**.
```c
struct HdfDriverEntry g_codecComponentDriverEntry = {
@@ -133,7 +133,7 @@ HDF_INIT(g_codecComponentDriverEntry); // Register HdfDriverEntry of the codec H
}
```
-- **HdfCodecComponentTypeDriverInit**: loads the attribute configuration from the HDF configuration source (HCS).
+- **HdfCodecComponentTypeDriverInit**: loads the attribute configuration in the HDF Configuration Source (HCS).
```c
int32_t HdfCodecComponentTypeDriverInit(struct HdfDeviceObject *deviceObject)
@@ -170,12 +170,11 @@ The HCS consists of the following:
- Device configuration
- Configuration of the supported components
-The HCS includes the driver node, loading sequence, and service name. For details about the HCS syntax, see [Configuration Management](driver-hdf-manage.md).
+You need to configure the driver node, loading sequence, and service name. For details about the HCS syntax, see [Configuration Management](driver-hdf-manage.md).
-Configuration file Path of the standard system:
-vendor/hihope/rk3568/hdf_config/uhdf/
+The following uses the RK3568 development board as an example. The configuration files of the standard system are in the **vendor/hihope/rk3568/hdf_config/uhdf/** directory.
-1. Device configuration
+1. Configure the device.
Add the **codec_omx_service** configuration to **codec_host** in **device_info.hcs**. The following is an example:
```c
@@ -189,31 +188,31 @@ vendor/hihope/rk3568/hdf_config/uhdf/
priority = 100; // Priority.
moduleName = "libcodec_hdi_omx_server.z.so"; // Dynamic library of the driver.
serviceName = "codec_hdi_omx_service"; // Service name of the driver.
- deviceMatchAttr = "codec_component_capabilities"; //Attribute configuration.
+ deviceMatchAttr = "codec_component_capabilities"; // Attribute configuration.
}
}
}
```
-2. Configuration of supported components
+2. Configure supported components.
- Add the component configuration to the **media_codec\codec_component_capabilities.hcs file**. The following is an example:
+ Add the component configuration to the **media_codec\codec_component_capabilities.hcs** file. The following is an example:
```c
- /* node name explanation -- HDF_video_hw_enc_avc_rk:
+ /* Explanation to the node name HDF_video_hw_enc_avc_rk:
**
** HDF____________video__________________hw____________________enc____________avc_______rk
** | | | | | |
- ** HDF or OMX video or audio hardware or software encoder or decoder mime vendor
+ ** HDF or OMX video or audio hardware or software encoder or decoder MIME vendor
*/
HDF_video_hw_enc_avc_rk {
- role = 1; // Role of the AvCodec.
+ role = 1; // Role of the audio and video codec.
type = 1; // Codec type.
name = "OMX.rk.video_encoder.avc"; // Component name.
supportProfiles = [1, 32768, 2, 32768, 8, 32768]; // Supported profiles.
maxInst = 4; // Maximum number of instances.
isSoftwareCodec = false; // Whether it is software codec.
processModeMask = []; // Codec processing mode.
- capsMask = [0x01]; // Codec playback capabilities.
+ capsMask = [0x01]; // CodecCapsMask configuration.
minBitRate = 1; // Minimum bit rate.
maxBitRate = 40000000; // Maximum bit rate.
minWidth = 176; // Minimum video width.
@@ -239,7 +238,7 @@ vendor/hihope/rk3568/hdf_config/uhdf/
### Development Example
After completing codec module driver adaptation, use the HDI APIs provided by the codec module for further development. The codec HDI provides the following features:
-1. Provides codec HDI APIs for video services to implement encoding and decoding of video services.
+1. Provides codec HDI APIs for video services to implement encoding and decoding for video services.
2. Provides standard interfaces for device developers to ensure that the OEM vendors comply with the HDI adapter standard. This promises a healthy evolution of the ecosystem.
The development procedure is as follows:
@@ -248,7 +247,7 @@ The development procedure is as follows:
2. Set codec parameters and information such as the video width, height, and bit rate.
3. Apply for input and output buffers.
4. Flip codec buffers, enable the component to enter the **OMX_Executing** state, and process the callbacks.
-5. Deinitialize the interface instance, destroy the buffers, close the component, and releases all interface objects.
+5. Deinitialize the interface instance, destroy the buffers, close the component, and releases all interface instances.
#### Initializing the Driver
Initialize the interface instance and callbacks, and create a component.
@@ -352,7 +351,7 @@ Perform the following steps:
1. Use **UseBuffer()** to apply for input and output buffers and save the buffer IDs. The buffer IDs can be used for subsequent buffer flipping.
2. Check whether the corresponding port is enabled. If not, enable the port first.
-3. Use **SendCommand()** to change the component status to OMX_StateIdle, and wait until the operation result is obtained.
+3. Use **SendCommand()** to change the component status to **OMX_StateIdle**, and wait until the operation result is obtained.
```cpp
// Apply for the input buffer.
auto ret = UseBufferOnPort(PortIndex::PORT_INDEX_INPUT);
@@ -376,7 +375,7 @@ HDF_LOGI("Wait for OMX_StateIdle status");
this->WaitForStatusChanged();
```
-Implement **UseBufferOnPort** as follows:
+Implement **UseBufferOnPort()** as follows:
```cpp
bool CodecHdiDecode::UseBufferOnPort(enum PortIndex portIndex)
@@ -392,22 +391,22 @@ bool CodecHdiDecode::UseBufferOnPort(enum PortIndex portIndex)
auto err = client_->GetParameter(client_, OMX_IndexParamPortDefinition, (int8_t *)¶m, sizeof(param));
if (err != HDF_SUCCESS) {
HDF_LOGE("%{public}s failed to GetParameter with OMX_IndexParamPortDefinition : portIndex[%{public}d]",
- __func__, portIndex);
+ __func__, portIndex);
return false;
}
bufferSize = param.nBufferSize;
bufferCount = param.nBufferCountActual;
bPortEnable = param.bEnabled;
HDF_LOGI("buffer index [%{public}d], buffer size [%{public}d], "
- "buffer count [%{public}d], portEnable[%{public}d], err [%{public}d]",
- portIndex, bufferSize, bufferCount, bPortEnable, err);
+ "buffer count [%{public}d], portEnable[%{public}d], err [%{public}d]",
+ portIndex, bufferSize, bufferCount, bPortEnable, err);
{
OMX_PARAM_BUFFERSUPPLIERTYPE param;
InitParam(param);
param.nPortIndex = (uint32_t)portIndex;
auto err = client_->GetParameter(client_, OMX_IndexParamCompBufferSupplier, (int8_t *)¶m, sizeof(param));
HDF_LOGI("param.eBufferSupplier[%{public}d] isSupply [%{public}d], err [%{public}d]", param.eBufferSupplier,
- this->isSupply_, err);
+ this->isSupply_, err);
}
// Set the port buffer.
UseBufferOnPort(portIndex, bufferCount, bufferSize);
@@ -483,7 +482,7 @@ if (err != HDF_SUCCESS) {
HDF_LOGE("%{public}s failed to SendCommand with OMX_CommandStateSet:OMX_StateIdle", __func__);
return;
}
-// Set the output buffer.
+// Set the output buffer to fill.
for (auto bufferId : unUsedOutBuffers_) {
HDF_LOGI("fill bufferid [%{public}d]", bufferId);
auto iter = omxBuffers_.find(bufferId);
@@ -536,7 +535,7 @@ while (!this->exit_) {
client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0);
```
-Automatic framing is not supported in rk OMX decoding. Therefore, you need to manually divide data into frames. Currently, data is divided into frames from code 0x000001 or 0x00000001 and sent to the server for processing. The sample code is as follows:
+The RK3568 development board does not support data framing. Therefore, you need to manually divide the data into frames. Data is divided from code 0x000001 or 0x00000001 and sent to the server for processing. The sample code is as follows:
```cpp
// Read a file by frame.
@@ -581,8 +580,8 @@ bool OMXCore::ReadOnePacket(FILE* fp, char* buf, uint32_t& nFilled)
The codec HDI provides the following callbacks:
- **EventHandler**: Called when a command is executed. For example, when the command for changing the component state from **OMX_StateIdle** to **OMX_StateExecuting** is executed, this callback is invoked to return the result.
-- **EmptyBufferDone**: Called when the input data is consumed. If the client needs to fill in data to encode or decode, call **EmptyThisBuffer()**.
-- **FillBufferDone**: Called when the output data is filled. If the client needs to read the encoded or decoded data, call **FillThisBuffer()**.
+- **EmptyBufferDone**: Called when the input data is consumed. If the client needs to fill data to encode or decode, it must call **EmptyThisBuffer()** again.
+- **FillBufferDone**: Called when the output data is filled. If the client needs to read the encoded or decoded data, it must call **FillThisBuffer()** again.
```cpp
// EmptyBufferDone example
@@ -646,8 +645,7 @@ int32_t OMXCore::onFillBufferDone(struct OmxCodecBuffer* pBuffer)
int32_t CodecHdiDecode::OnEvent(struct CodecCallbackType *self, enum OMX_EVENTTYPE event, struct EventInfo *info)
{
HDF_LOGI("onEvent: appData[0x%{public}p], eEvent [%{public}d], "
- "nData1[%{public}d]",
- info->appData, event, info->data1);
+ "nData1[%{public}d]", info->appData, event, info->data1);
switch (event) {
case OMX_EventCmdComplete: {
OMX_COMMANDTYPE cmd = (OMX_COMMANDTYPE)info->data1;
@@ -665,7 +663,7 @@ int32_t CodecHdiDecode::OnEvent(struct CodecCallbackType *self, enum OMX_EVENTTY
```
#### Destroying a Component
-Change the component state to IDLE, release the input and output buffers, change the component state to **OMX_StateLoaded**, and call **DestoryComponent** to destroy the component.
+Change the component state to **OMX_StateIdle**, release the input and output buffers, change the component state to **OMX_StateLoaded**, and call **DestoryComponent** to destroy the component.
##### Example of Releasing Buffers
@@ -721,7 +719,7 @@ OpenMAX does not support framing.
**Solution**
-Transfer data frame by frame when **EmptyThisBuffer** is called.
+Pass in one frame at a time when **EmptyThisBuffer** is call.
## Only Green Screen Displayed During the Decoding Process
@@ -751,11 +749,11 @@ After the generated video stream (H.264 stream) is written to a file, the video
**Solution**
-View the **codec_host** log generated during encoding, search for "encode params init settings", and check for incorrect parameters. If **framerate** is **0**, **xFramerate** is incorrectly set. In this case, move the framerate leftwards by 16 bits.
+View the **codec_host** log generated during encoding, search for "encode params init settings", and check for incorrect parameters. If **framerate** is **0**, **xFramerate** is incorrectly set. In this case, move the frame rate leftwards by 16 bits.
-Check the value of **OMX_VIDEO_PARAM_AVCTYPE**, and set it correctly.
+Check and correct the setting of **OMX_VIDEO_PARAM_AVCTYPE**.
# Reference
-For more information, see [Codec](https://gitee.com/openharmony/drivers_peripheral/tree/master/codec).
+For more information, see [codec](https://gitee.com/openharmony/drivers_peripheral/tree/master/codec).
diff --git a/en/device-dev/driver/driver-peripherals-external-des.md b/en/device-dev/driver/driver-peripherals-external-des.md
index efaf1d14e916222840d56537b48e2e19b83fb844..d2b681dcad9172b622cb261d81c9efdf3a0b86cc 100644
--- a/en/device-dev/driver/driver-peripherals-external-des.md
+++ b/en/device-dev/driver/driver-peripherals-external-des.md
@@ -5,22 +5,22 @@
### WLAN
-The Wireless Local Area Network (WLAN) Driver module in OpenHarmony is developed based on the Hardware Driver Foundation (HDF). It provides cross-OS porting, self-adaptation to component differences, and module assembly and building.
+The Wireless Local Area Network (WLAN) driver module is developed based on OpenHarmony Hardware Driver Foundation (HDF). It supports modular assembly and building, automatic adaptation to device differences, and cross-OS porting.
### Working Principles
-You can adapt your driver code based on the unified interfaces provided by the WLAN module. The WLAN module provides:
+You can modify your driver code based on the unified APIs provided by the WLAN module. The WLAN module provides:
-- A unified underlying interface to implement capabilities, such as setting up or closing a WLAN hotspot, scanning hotspots, and connecting to or disconnecting from a hotspot.
-- A unified interface to the Hardware Device Interface (HDI) layer to implement capabilities, such as setting or obtaining the device Media Access Control (MAC) address and setting the transmit power.
+- APIs for the underlying layer to implement capabilities, such as opening or closing a WLAN hotspot, scanning hotspots, and connecting to or disconnecting from a hotspot.
+- APIs for the Hardware Device Interface (HDI) layer to implement capabilities, such as setting or obtaining the device Media Access Control (MAC) address and setting the transmit power.
-The figure below shows the WLAN architecture. The WLAN Driver module implements startup loading, parses configuration files, and provides bus abstraction APIs. The WLAN Chip Driver module provides the MAC Sublayer Management Entity (MLME).
+The following figure shows the WLAN architecture. The WLAN driver module implements startup loading, parses configuration files, and provides bus abstraction APIs. The WLAN chip driver module provides the MAC Sublayer Management Entity (MLME).
**Figure 1** WLAN architecture

- The figure below shows the WLAN driver architecture.
+ The following figure shows the WLAN driver architecture.
**Figure 2** WLAN driver architecture
@@ -32,11 +32,11 @@ The WLAN driver consists of the following modules:
2. WLAN Configuration Core: parses WLAN configuration files.
-3. Access point (AP): provides a WLAN access interface for devices.
+3. Access point (AP): allows devices to connect to the WLAN.
-4. Station (STA): a terminal that accesses the WLAN system.
+4. Station (STA): a device that has access to the WLAN system and allows transmission and reception of data.
-5. mac80211: defines MAC-layer interfaces for underlying drivers.
+5. mac80211: defines MAC-layer APIs for underlying drivers.
6. Bus: provides a unified bus abstract interface for the upper layer. It shields the differences between different kernels by calling the Secure Digital Input Output (SDIO) interfaces provided by the platform layer and encapsulating the adapted USB and PCIe interfaces. It also encapsulates different types of bus operations in a unified manner to shield differences between different chipsets. The complete bus driving capabilities provided by the bus module help simplify and streamline the development of different chip vendors.
@@ -58,13 +58,13 @@ The relationships between the main modules are as follows:
4. The protocol stack works with the NetDevice, NetBuf, and FlowCtl modules to exchange data flows.
-## Development Guidelines
+## How to Develop
### Available APIs
The WLAN module provides the following types of APIs:
-1. Hardware Device Interface (HDI) and Hardware Abstraction Layer (HAL) APIs for upper-layer services
+1. HDI and Hardware Abstraction Layer (HAL) APIs for upper-layer services
2. APIs for vendors
@@ -75,7 +75,7 @@ The WLAN module provides the following types of APIs:

-- The WLAN module provides HAL APIs for upper-layer services (applicable to small and mini systems). **Table 2** and **Table 3** describe some APIs.
+- The WLAN module provides HAL APIs for upper-layer services (applicable to small and mini systems). **Table 1** and **Table 2** describe some APIs.
**Table 1** wifi_hal.h
@@ -95,7 +95,7 @@ The WLAN module provides the following types of APIs:
| int32_t (\*getDeviceMacAddress)(const struct IWiFiBaseFeature \*, unsigned char \*, uint8_t)| Obtains the device MAC address.|
| int32_t (\*setTxPower)(const struct IWiFiBaseFeature \*, int32_t)| Sets the transmit power.|
-- The WLAN Driver module also provides APIs that you need to fill in the implementation. **Table 4** describes some APIs.
+- The WLAN Driver module also provides APIs that you need to fill in the implementation. **Table 3** describes some APIs.
**Table 3** net_device.h
@@ -110,7 +110,7 @@ The WLAN module provides the following types of APIs:
- The WLAN Driver module provides APIs that you can directly use to create or release a **WifiModule**, connect to or disconnect from a WLAN hotspot, request or release a **NetBuf**, and convert between the **pbuf** structure of Lightweight IP (lwIP) and a **NetBuf**.
- Tables 5 to 7 describe the APIs.
+ The following tables describe the APIs.
**Table 4** wifi_module.h
@@ -119,7 +119,7 @@ The WLAN module provides the following types of APIs:
| struct WifiModule \*WifiModuleCreate(const struct HdfConfigWifiModuleConfig \*config)| Creates a **WifiModule**.|
| void WifiModuleDelete(struct WifiModule \*module)| Deletes a **WifiModule** and releases its data.|
| int32_t DelFeature(struct WifiModule \*module, uint16_t featureType)| Deletes a feature from a **WifiModule**.|
- | int32_t AddFeature(struct WifiModule \*module, uint16_t featureType, struct WifiFeature \*featureData)| Adds a feature to a **WifiModule**.|
+ | int32_t AddFeature(struct WifiModule \*module, uint16_t featureType, struct WifiFeature \*featureData)| Adds a feature to a **WifiModule**.|
**Table 5** wifi_mac80211_ops.h
@@ -136,11 +136,11 @@ The WLAN module provides the following types of APIs:
| -------- | -------- |
| static inline void NetBufQueueInit(struct NetBufQueue \*q)| Initializes a **NetBuf** queue.|
| struct NetBuf \*NetBufAlloc(uint32_t size)| Allocates a **NetBuf**.|
- | void NetBufFree(struct NetBuf \*nb) | Releases a **NetBuf**.|
+ | void NetBufFree(struct NetBuf \*nb)| Releases a **NetBuf**.|
| struct NetBuf \*Pbuf2NetBuf(const struct NetDevice \*netdev, struct pbuf \*lwipBuf)| Converts the **pbuf** structure of lwIP to a **NetBuf**.|
| struct pbuf \*NetBuf2Pbuf(const struct NetBuf \*nb)| Converts a **NetBuf** to the **pbuf** structure of lwIP.|
-### How to Develop
+### Development Procedure
#### WLAN Framework Adaptation
The WLAN driver framework developed based on the HDF and Platform framework provides a unified driver model regardless of the OS and system on a chip (SoC). When developing your WLAN driver, you need to configure data based on the WLAN driver framework.
@@ -186,19 +186,19 @@ The following uses the Hi3881 WLAN chip as an example to describe how to initial
}
}
reset {
- resetType = 0; /* Reset type. The value 0 indicates that reset is dynamically determined, and 1 indicates reset through GPIO. */
- gpioId = 2; /* GPIO pin number. */
- activeLevel=1; /* Active level. The value 0 indicates low level, and 1 indicates high level. */
- resetHoldTime = 30; /* Hold time (ms) after a reset. */
+ resetType = 0; /* Reset type. The value 0 indicates that reset is dynamically determined, and 1 indicates reset through GPIO. */
+ gpioId = 2; /* GPIO pin number. */
+ activeLevel=1; /* Active level. The value 0 indicates low level, and 1 indicates high level. */
+ resetHoldTime = 30; /* Hold time (ms) after a reset. */
}
- bootUpTimeout = 30; /* Boot timeout duration (ms). */
+ bootUpTimeout = 30; /* Boot timeout duration (ms). */
bus {
- busEnable = 1; /* Whether to initialize the bus. The value 1 means to initialize the bus; the value 0 means the opposite. */
- busType = 0; /* Bus type. The value 0 indicates SDIO. */
- busId = 2; /* Bus number. */
- funcNum = [1]; /* SDIO function number. */
- timeout = 1000; /* Timeout duration for data read/write. */
- blockSize = 512; /* Size of the data block to read or write. */
+ busEnable = 1; /* Whether to initialize the bus. The value 1 means to initialize the bus; the value 0 means the opposite. */
+ busType = 0; /* Bus type. The value 0 indicates SDIO. */
+ busId = 2; /* Bus number. */
+ funcNum = [1]; /* SDIO function number. */
+ timeout = 1000; /* Timeout duration for data read/write. */
+ blockSize = 512; /* Size of the data block to read or write. */
}
}
}
@@ -546,11 +546,7 @@ The following uses the Hi3881 WLAN chip as an example to describe how to initial
}
```
-4. Invoke the event reporting APIs.
-
- The WLAN framework provides the event reporting APIs. For details, see **hdf_wifi_event.c**.
-
- For example, call **HdfWiFiEventNewSta AP** to report information about the newly associated STA.
+4. Invoke the event reporting APIs. The WLAN framework provides the event reporting APIs. For details, see hdf_wifi_event.c. For example, call **HdfWiFiEventNewSta AP** to report information about the newly associated STA.
```c
hi_u32 oal_cfg80211_new_sta(oal_net_device_stru *net_device, const hi_u8 *mac_addr, hi_u8 addr_len,
@@ -567,12 +563,10 @@ The following uses the Hi3881 WLAN chip as an example to describe how to initial
hi_unref_param(en_gfp);
hi_unref_param(addr_len);
#endif
-
+
return HI_SUCCESS;
}
```
-
-
**Verification**
Develop test cases in the WLAN module unit test to verify the basic features of the WLAN module. The following uses Hi3516D V300 standard system as an example.
@@ -650,7 +644,7 @@ Develop test cases in the WLAN module unit test to verify the basic features of
exit 0
```
- - Create a **udhcpd.conf** file (used to start the **udhcpd**) and copy the following content to the file. In the following, **opt dns** *x.x.x.x* *x.x.x.x* indicates two DNS servers configured. You can configure DNS servers as required.
+ - Create a **udhcpd.conf** file (used to start the **udhcpd**) and copy the following content to the file. In the following, **opt dns** *x.x.x.x* *x.x.x.x* indicates two DNS servers configured. You can configure DNS servers as required.
```text
start 192.168.12.2
@@ -704,54 +698,44 @@ Develop test cases in the WLAN module unit test to verify the basic features of
busybox udhcpd /vendor/etc/udhcpd.conf
```
- 4. On the mobile phone, select the network named **test** in the available Wi-Fi list and enter the password.
-
- The network name and password are configured in the **hostapd.conf** file. You can see that network name in the connected Wi-Fi list if the connection is successful.
+ 4. On the mobile phone, select the network named **test** in the available Wi-Fi list and enter the password. The network name and password are configured in the **hostapd.conf** file. You can see that network name in the connected Wi-Fi list if the connection is successful.
5. Ping the test terminal from the development board.
-
+
```shell
busybox ping xxx.xxx.xxx.xxx
```
- In the command, xxx.xxx.xxx.xxx indicates the IP address of the test terminal. If the test terminal can be pinged, the WLAN driver provides basic features normally.
-
-
+ In the command, *xxx.xxx.xxx.xxx* indicates the IP address of the test terminal. If the test terminal can be pinged, the WLAN driver provides basic features normally.
- Verify basic STA features.
- 1. Start the STA on the development board, and enable the hotspot on the test terminal.
-
- The hotspot name and password are configured in the **hostapd.conf** file. The hotspot name is **test**, and the password is **12345678**.
-
+ 1. Start the STA on the development board, and enable the hotspot on the test terminal. The hotspot name and password are configured in the **hostapd.conf** file. The hotspot name is **test**, and the password is **12345678**.
+
2. Run the following command in the **cmd** window:
-
+
```shell
hdc shell
wpa_supplicant -i wlan0 -d -c wpa_supplicant.conf
```
-
-
-
+
3. Run the following commands in another **cmd** window:
-
+
```shell
hdc shell
mount -o rw,remount /
mount -o rw,remount /vendor
busybox udhcpc -i wlan0 -s system/lib/dhcpc.sh
```
-
The IP addresses of the board and test terminal are displayed if the command is successful.
-
+
4. Ping the test terminal from the development board.
-
+
```shell
busybox ping xxx.xxx.xxx.xxx
```
-
- In the command, *xxx.xxx.xxx.xxx* indicates the IP address of the test terminal. If the test terminal can be pinged, the WLAN driver provides basic features normally.
-
+
+ In the command, xxx.xxx.xxx.xxx indicates the IP address of the test terminal. If the test terminal can be pinged, the WLAN driver provides basic features normally.
#### **API Invocation**
The WLAN driver module provides two types of capability interfaces for the upper layer: HDI interface and HAL interface.
@@ -963,19 +947,17 @@ The WLAN driver module provides two types of capability interfaces for the upper
- Code paths:
- - Adaptation of WLAN FlowCtl component on LiteOS: **//drivers/hdf_core/adapter/khdf/liteos/model/network/wifi**
- - Adaptation of HDF network model on LiteOS: **//drivers/hdf_core/adapter/khdf/liteos/model/network**
-
- - Adaptation of WLAN FlowCtl component on Linux, build of the HDF WLAN model, and build of the vendor's WLAN driver: **//drivers/hdf_core/adapter/khdf/linux/model/network/wifi**
- - Core code for implementing the WLAN module: **//drivers/hdf_core/framework/model/network/wifi**
- - External APIs of the WLAN module: **//drivers/hdf_core/framework/include/wifi**
- - HDF network model APIs: **//drivers/hdf_core/framework/include/net**
- - WLAN HDI server implementation: **//drivers/peripheral/wlan**
-
-
-
-
-
-
-
+ Adaptation of WLAN FlowCtl component on LiteOS: **//drivers/hdf_core/adapter/khdf/liteos/model/network/wifi**
+
+ Adaptation of HDF network model on LiteOS: **//drivers/hdf_core/adapter/khdf/liteos/model/network**
+
+ Adaptation of WLAN FlowCtl component on Linux, build of the HDF WLAN model, and build of the vendor's WLAN driver: **//drivers/hdf_core/adapter/khdf/linux/model/network/wifi**
+
+ Core code for implementing the WLAN module: **//drivers/hdf_core/framework/model/network/wifi**
+
+ External APIs of the WLAN module: **//drivers/hdf_core/framework/include/wifi**
+
+ HDF network model APIs: **//drivers/hdf_core/framework/include/net**
+
+ WLAN HDI server implementation: **//drivers/peripheral/wlan**
diff --git a/en/device-dev/driver/driver-peripherals-touch-des.md b/en/device-dev/driver/driver-peripherals-touch-des.md
index 5878f9a7cfc39a83ac63af557232a22c8ca1b8fc..292e94bffd5112e952d26e4b4fa8e7ee788a0460 100644
--- a/en/device-dev/driver/driver-peripherals-touch-des.md
+++ b/en/device-dev/driver/driver-peripherals-touch-des.md
@@ -1,397 +1,508 @@
-# Touchscreen
+# Touchscreen
-## Overview
-- **Functions of the Touchscreen driver**
+## Overview
- The touchscreen driver is used to power on its integrated circuit \(IC\), configure and initialize hardware pins, register interrupts, configure Inter-Integrated Circuit \(I2C\) or SPI APIs, set input-related configurations, and download and update firmware.
+### Function Introduction
+The touchscreen driver powers on its integrated circuit (IC), initializes hardware pins, registers interrupts, configures the communication (I2C or SPI) interface, sets input configurations, and downloads and updates firmware.
-- **Layers of the Touchscreen driver**
+The touchscreen driver is developed based on the OpenHarmony input driver model, which applies basic APIs of the operating system abstraction layer (OSAL) and platform interface layer on the OpenHarmony Hardware Driver Foundation [(HDF)](../driver/driver-hdf-development.md). Common APIs include the bus communication APIs and OS native APIs (such as memory, lock, thread, and timer APIs). The OSAL and platform APIs shield the differences of underlying hardware. This allows the use of the touchscreen driver across platforms and OSs. In this regard, you can develop the touchscreen driver only once and deploy it on multiple devices.
- This section describes how to develop the touchscreen driver based on the input driver model. [Figure 1](#fig6251184817261) shows an overall architecture of the touchscreen driver.
+### Working Principles
- The input driver is developed based on the hardware driver foundation \(HDF\), platform APIs, and operating system abstraction layer \(OSAL\) APIs. It provides hardware driver capabilities through the input Hardware Device Interfaces \(HDIs\) for upper-layer input services to control the touchscreen.
+The input driver model is developed based on the HDF and APIs of the platform and OSAL. It provides hardware driver capabilities through the input Hardware Driver Interface (HDI) for upper-layer input services to control the touchscreen. The following figure shows the architecture of the input driver model.
+**Figure 1** Input driver model
-**Figure 1** Architecture of the input driver model
-
+
-- **Input driver model**
+The input driver model consists of the following:
- The input driver model mainly consists of the device manager, common drivers, and chip drivers. The platform data channel provides capabilities for sending data generated by the touchscreen from the kernel to the user space. The driver model adapts to different touchscreen devices and hardware platforms via the configuration file, improving the efficiency of the touchscreen development. The description for each part of the input driver model is as follows:
+- Input Device Manager: provides APIs for input device drivers to register and deregister input devices and manages the input device list in a unified manner.
+- Common input drivers: provide common APIs that are applicable to different input devices (such as the common driver APIs for touchscreens). The APIs can be used to initialize board-specific hardware, handle hardware interrupts, and register input devices with the Input Device Manager.
+- Input chip drivers: provide differentiated APIs for the drivers form different vendors. You can use these APIs to develop your drivers with minimum modification.
+- Event Hub: provides a unified channel for different input devices to report input events.
+- HDF input config: parses and manages the board-specific and private configuration of input devices.
- - Input device manager: provides input device drivers with the APIs for registering or unregistering input devices and manages the input device list.
+The input driver model provides configuration files to help you quickly develop your drivers.
- - Input common driver: provides common abstract drivers \(such as the touchscreen common driver\) of various input devices for initializing the board-level hardware, processing hardware interrupts, and registering input devices with the input device manager.
- - Input chip driver: provides different chip drivers of each vendor. You can minimize the workload for the input chip driver development by calling differentiated APIs reserved by the input platform driver.
+## How to Develop
- - Event hub: provides a unified data reporting channel, which enables input devices to report input events.
+### When to Use
- - HDF input config: parses and manages the board-level configuration as well as the private configuration of input devices.
+The input module provides APIs for powering on the touchscreen driver IC, configuring and initializing hardware pins, registering interrupts, configuring the communication (I2C or SPI) interface, setting input configurations, and downloading and updating firmware.
+### Available APIs
-- **Advantages of developing drivers based on the HDF**
+#### Hardware Interfaces
- The touchscreen driver is developed based on the [HDF](driver-hdf-development.md) and is implemented via calls to the OSAL and platform APIs, including bus APIs and OS native APIs \(such as memory, lock, thread, and timer\). The OSAL and platform APIs hide the differences of underlying hardware, so that the touchscreen driver can be migrated across platforms and OSs. In this regard, you can develop the touchscreen driver only once but deploy it on multiple devices.
+The hardware interfaces for touchscreens can be classified into the following types based on the pin attributes:
+- Power interfaces
-## Available APIs
+- I/O control interfaces
-Based on the attributes of the pins, interfaces on the touchscreens can be classified into the following types:
+- Communication interfaces
-- Power interfaces
-- I/O control interfaces
-- Communications interfaces
+**Figure 2** Common touchscreen pins
-**Figure 2** Common pins of the touchscreen

-The interfaces shown in the figure are described as follows:
+The interfaces shown in the preceding figure are described as follows:
-- **Power interfaces**
- - LDO\_1P8: 1.8 V digital circuits
- - LDO\_3P3: 3.3 V analog circuits
+1. **Power interfaces**
- Generally, the touchscreen driver IC is separated from the LCD driver IC. In this case, the touchscreen driver IC requires both 1.8 V and 3.3 V power supplies. Nowadays, the touchscreen driver IC and LCD driver IC can be integrated. Therefore, the touchscreen, requires only the 1.8 V power supply, and the 3.3 V power required internally is supplied by the LCD VSP power \(typical value: 5.5 V\) in the driver IC.
+ - **LDO_1P8**: 1.8 V digital circuit
+ - **LDO_3P3**: 3.3 V analog circuit
-- **I/O control interfaces**
- - RESET: reset pin, which is used to reset the driver IC on the host when suspending or resuming the system.
- - INT: interrupt pin, which needs to be set to the input direction and pull-up status during driver initialization. After detecting an external touch signal, the driver triggers the interrupt by operating the interrupt pin. The driver reads the touch reporting data in the ISR function.
+ If the touchscreen driver and ICD driver have its own IC, the touchscreen driver IC requires 1.8 V and 3.3 V power supplies. If the touchscreen driver and LCD driver have an integrated IC, you only need to care about the 1.8 V power supply for the touchscreen. The 3.3 V power supply required can be provided by the LCD VSP power (typically 5.5 V) in the driver IC.
-- **Communications interfaces**
- - I2C: Since only a small amount of touch data is reported by the touchscreen, I2C is used to transmit the reported data. For details about the I2C protocol and interfaces, see [I2C](driver-platform-i2c-des.md#section5361140416).
- - SPI: In addition to touch reporting data coordinates, some vendors need to obtain basic capacitance data. Therefore, Serial Peripheral Interface \(SPI\) is used to transmit such huge amount of data. For details about the SPI protocol and interfaces, see [SPI](driver-platform-spi-des.md#overview).
+2. **I/O control interfaces**
+ - **RESET**: pin used to reset the driver IC on the host when the kernel is put into hibernation or waken up.
+ - **INT**: interrupt pin, which must be set to the input pull-up state during driver initialization. After detecting an external touch signal, the driver triggers an interrupt by operating the interrupt pin. Then, the driver reads the touch reporting data in an interrupt handler.
-## How to Develop
+3. **Communication interfaces**
-Regardless of the OS and system on a chip \(SoC\), the input driver is developed based on the HDF, platform, and OSAL APIs to provide a unified driver model for touchscreen devices.
+ - I2C: I2C is used if a small amount of data is reported by the touchscreen. For details about the I2C protocol and related operation APIs, see [I2C](../driver/driver-platform-i2c-des.md).
+ - SPI: SPI is used if a large amount of data is reported by the touchscreen. For details about the SPI protocol and related operation APIs, see [SPI](../driver/driver-platform-spi-des.md).
-The following uses the touchscreen driver as an example to describe the loading process of the input driver model:
+#### Software Interfaces
-1. Complete the device description configuration, such as the loading priority, board-level hardware information, and private data, by referring to the existing template.
+The HDI driver APIs provided for the input service can be classified into the input manager module, input reporter module, and input controller module. The following tables describe the available APIs.
-2. Load the input device management driver. The input management driver is loaded automatically by the HDF to create and initialize the device manager.
+- input_manager.h
-3. Load the platform driver. The platform driver is loaded automatically by the HDF to parse the board-level configuration, initialize the hardware, and provide the API for registering the touchscreen.
+ | API | Description |
+ | ------------------------------------------------------------------------------------- | -------------------|
+ | int32_t (*OpenInputDevice)(uint32_t devIndex); | Opens an input device. |
+ | int32_t (*CloseInputDevice)(uint32_t devIndex); | Closes an input device. |
+ | int32_t (*GetInputDevice)(uint32_t devIndex, DeviceInfo **devInfo); | Obtains information about an input device.|
+ | int32_t (*GetInputDeviceList)(uint32_t *devNum, DeviceInfo **devList, uint32_t size); | Obtains the input device list.|
-4. Load the touchscreen driver. The touchscreen driver is loaded automatically by the HDF to instantiate the touchscreen device, parse the private data, and implement differentiated APIs provided by the platform.
+- input_reporter.h
-5. Register the instantiated touchscreen device with the platform driver. Then bind this device to the platform driver, and complete touchscreen initialization such as interrupt registration and power-on and power-off.
+ | API | Description |
+ | ----------------------------------------------------------------------------------- | ------------------ |
+ | int32_t (*RegisterReportCallback)(uint32_t devIndex, InputReportEventCb *callback); | Registers a callback for an input device.|
+ | int32_t (*UnregisterReportCallback)(uint32_t devIndex); | Unregisters the callback for an input device.|
+ | void (*ReportEventPkgCallback)(const EventPackage **pkgs, uint32_t count); | Called to report input event data. |
-6. Instantiate the input device and register it with the input manager after the touchscreen is initialized.
-
-
-Perform the following steps:
-
-1. Add the touchscreen driver-related descriptions.
-
- Currently, the input driver is developed based on the HDF and is loaded and started by the HDF. Register the driver information, such as whether to load the driver and the loading priority in the configuration file. Then, the HDF starts the registered driver modules one by one. For details about the driver configuration, see [How to Develop](driver-hdf-development.md).
-
-2. Complete the board-level configuration and private data configuration of the touchscreen.
-
- Configure the required I/O pins. For example, configure a register for the I2C pin reserved for the touchscreen to use I2C for transmitting data.
-
-3. Implement differentiated adaptation APIs of the touchscreen.
-
- Use the platform APIs to perform operations for the reset pins, interrupt pins, and power based on the communications interfaces designed for boards. For details about the GPIO-related operations, see [GPIO](driver-platform-gpio-des.md#overview).
-
-
-## Development Example
-
-This example describes how to develop the touchscreen driver.
-
-### Adding the Touchscreen Driver-related Description
-
-The information about modules of the input driver model is shown as follows and enables the HDF to load the modules in sequence. For details, see [Driver Development](driver-hdf-development.md).
-
-```
-input :: host {
- hostName = "input_host";
- priority = 100;
- device_input_manager :: device {
- device0 :: deviceNode {
- policy = 2; // Publish services externally.
- priority = 100; // Loading priority. The input device manager in the input driver has the highest priority.
- preload = 0; // Value 0 indicates that the driver is to be loaded, and value 1 indicates the opposite.
- permission = 0660;
- moduleName = "HDF_INPUT_MANAGER";
- serviceName = "input_dev_manager";
- deviceMatchAttr = "";
- }
- }
- device_hdf_touch :: device {
- device0 :: deviceNode {
- policy = 2;
- priority = 120;
- preload = 0;
- permission = 0660;
- moduleName = "HDF_TOUCH";
- serviceName = "event1";
- deviceMatchAttr = "touch_device1";
- }
- }
-
- device_touch_chip :: device {
- device0 :: deviceNode {
- policy = 0;
- priority = 130;
- preload = 0;
- permission = 0660;
- moduleName = "HDF_TOUCH_SAMPLE";
- serviceName = "hdf_touch_sample_service";
- deviceMatchAttr = "zsj_sample_5p5";
- }
- }
-}
-```
-
-### Adding Board Configuration and Touchscreen Private Configuration
-
-The following describes the configuration of the board-level hardware and private data of the touchscreen. You can modify the configuration based on service requirements.
-
-```
-root {
- input_config {
- touchConfig {
- touch0 {
- boardConfig {
- match_attr = "touch_device1";
- inputAttr {
- inputType = 0; // Value 0 indicates that the input device is a touchscreen.
- solutionX = 480;
- solutionY = 960;
- devName = "main_touch"; // Device name
- }
- busConfig {
- busType = 0; // Value 0 indicates the I2C bus.
- busNum = 6;
- clkGpio = 86;
- dataGpio = 87;
- i2cClkIomux = [0x114f0048, 0x403]; // Register configuration of the i2c_clk pin
- i2cDataIomux = [0x114f004c, 0x403]; // Register configuration of the i2c_data pin
- }
- pinConfig {
- rstGpio = 3;
- intGpio = 4;
- rstRegCfg = [0x112f0094, 0x400]; // Register configuration of the reset pin
- intRegCfg = [0x112f0098, 0x400]; // Register configuration of the interrupt pin
- }
- powerConfig {
- vccType = 2; // Values 1, 2, and 3 indicate the low-dropout regulator (LDO), GPIO, and PMIC, respectively.
- vccNum = 20; // The GPIO number is 20.
- vccValue = 1800; // The voltage amplitude is 1800 mV.
- vciType = 1;
- vciNum = 12;
- vciValue = 3300;
- }
- featureConfig {
- capacitanceTest = 0;
- gestureMode = 0;
- gloverMOde = 0;
- coverMode = 0;
- chargerMode = 0;
- knuckleMode = 0;
- }
- }
- chipConfig {
- template touchChip {
- match_attr = "";
- chipName = "sample";
- vendorName = "zsj";
- chipInfo = "AAAA11222"; // The first four characters indicate the product name. The fifth and sixth characters indicate the IC model. The last three characters indicate the chip model.
- busType = 0;
- deviceAddr = 0x5D;
- irqFlag = 2; // Values 1 and 2 indicate that the interrupt is triggered on the rising and falling edges, respectively. Values 4 and 8 indicate that the interrupt is triggered by the high and low levels, respectively.
- maxSpeed = 400;
- chipVersion = 0;
- powerSequence {
- /* Power-on sequence is described as follows:
- [Type, status, direction, delay]
- Value 0 indicates the power or pin is empty. Values 1 and 2 indicate the VCC (1.8 V) and VCI (3.3 V) power, respectively. Values 3 and 4 indicate the reset and interrupt pins, respectively.
- Values 0 and 1 indicate the power-off or pull-down, and the power-on or pull-up, respectively. Value 2 indicates that no operation is performed.
- Values 0 and 1 indicate the input and output directions, respectively. Value 2 indicates that no operation is performed.
- Delay time, in milliseconds.
- */
- powerOnSeq = [4, 0, 1, 0,
- 3, 0, 1, 10,
- 3, 1, 2, 60,
- 4, 2, 0, 0];
- suspendSeq = [3, 0, 2, 10];
- resumeSeq = [3, 1, 2, 10];
- powerOffSeq = [3, 0, 2, 10,
- 1, 0, 2, 20];
- }
- }
- chip0 :: touchChip {
- match_attr = "zsj_sample_5p5";
- chipInfo = "ZIDN45100";
- chipVersion = 0;
- }
- }
- }
- }
- }
-}
-```
-
-### Adding the Touchscreen Driver
-
-The following example shows how to implement the differentiated APIs provided by the platform driver to obtain and parse the touchscreen data. You can adjust the development process based on the board and touchscreen in use.
-
-```
-/* Parse the touch reporting data read from the touchscreen into coordinates. */
-static void ParsePointData(ChipDevice *device, FrameData *frame, uint8_t *buf, uint8_t pointNum)
-{
- int32_t resX = device->driver->boardCfg->attr.resolutionX;
- int32_t resY = device->driver->boardCfg->attr.resolutionY;
-
- for (int32_t i = 0; i < pointNum; i++) {
- frame->fingers[i].y = (buf[GT_POINT_SIZE * i + GT_X_LOW] & ONE_BYTE_MASK) |
- ((buf[GT_POINT_SIZE * i + GT_X_HIGH] & ONE_BYTE_MASK) << ONE_BYTE_OFFSET);
- frame->fingers[i].x = (buf[GT_POINT_SIZE * i + GT_Y_LOW] & ONE_BYTE_MASK) |
- ((buf[GT_POINT_SIZE * i + GT_Y_HIGH] & ONE_BYTE_MASK) << ONE_BYTE_OFFSET);
- frame->fingers[i].valid = true;
- }
-}
-/* Obtain the touch reporting data from the chip. */
-static int32_t ChipDataHandle(ChipDevice *device)
-{
- int32_t ret;
- uint8_t touchStatus = 0;
- uint8_t pointNum;
- uint8_t buf[GT_POINT_SIZE * MAX_SUPPORT_POINT] = {0};
- InputI2cClient *i2cClient = &device->driver->i2cClient;
- uint8_t reg[GT_ADDR_LEN] = {0};
- FrameData *frame = &device->driver->frameData;
- reg[0] = (GT_BUF_STATE_ADDR >> ONE_BYTE_OFFSET) & ONE_BYTE_MASK;
- reg[1] = GT_BUF_STATE_ADDR & ONE_BYTE_MASK;
- ret = InputI2cRead(i2cClient, reg, GT_ADDR_LEN, &touchStatus, 1);
- if (ret < 0 || touchStatus == GT_EVENT_INVALID) {
- return HDF_FAILURE;
- }
- OsalMutexLock(&device->driver->mutex);
- (void)memset_s(frame, sizeof(FrameData), 0, sizeof(FrameData));
- if (touchStatus == GT_EVENT_UP) {
- frame->realPointNum = 0;
- frame->definedEvent = TOUCH_UP;
- goto exit;
- }
- reg[0] = (GT_X_LOW_BYTE_BASE >> ONE_BYTE_OFFSET) & ONE_BYTE_MASK;
- reg[1] = GT_X_LOW_BYTE_BASE & ONE_BYTE_MASK;
- pointNum = touchStatus & GT_FINGER_NUM_MASK;
- if (pointNum <= 0 || pointNum > MAX_SUPPORT_POINT) {
- HDF_LOGE("%s: pointNum is invalid, %d", __func__, pointNum);
- (void)ChipCleanBuffer(i2cClient);
- OsalMutexUnlock(&device->driver->mutex);
- return HDF_FAILURE;
- }
- frame->realPointNum = pointNum;
- frame->definedEvent = TOUCH_DOWN;
- /* Read the touch reporting data from the register. */
- (void)InputI2cRead(i2cClient, reg, GT_ADDR_LEN, buf, GT_POINT_SIZE * pointNum);
- /* Parse the touch reporting data. */
- ParsePointData(device, frame, buf, pointNum);
-exit:
- OsalMutexUnlock(&device->driver->mutex);
- if (ChipCleanBuffer(i2cClient) != HDF_SUCCESS) {
- return HDF_FAILURE;
- }
- return HDF_SUCCESS;
-}
-
-static struct TouchChipOps g_sampleChipOps = {
- .Init = ChipInit,
- .Detect = ChipDetect,
- .Resume = ChipResume,
- .Suspend = ChipSuspend,
- .DataHandle = ChipDataHandle,
-};
-
-static TouchChipCfg *ChipConfigInstance(struct HdfDeviceObject *device)
-{
- TouchChipCfg *chipCfg = (TouchChipCfg *)OsalMemAlloc(sizeof(TouchChipCfg));
- if (chipCfg == NULL) {
- HDF_LOGE("%s: instance chip config failed", __func__);
- return NULL;
- }
- (void)memset_s(chipCfg, sizeof(TouchChipCfg), 0, sizeof(TouchChipCfg));
- /* Parse the private configuration of the touchscreen. */
- if (ParseTouchChipConfig(device->property, chipCfg) != HDF_SUCCESS) {
- HDF_LOGE("%s: parse chip config failed", __func__);
- OsalMemFree(chipCfg);
- chipCfg = NULL;
- }
- return chipCfg;
-}
-
-static ChipDevice *ChipDeviceInstance(void)
-{
- ChipDevice *chipDev = (ChipDevice *)OsalMemAlloc(sizeof(ChipDevice));
- if (chipDev == NULL) {
- HDF_LOGE("%s: instance chip device failed", __func__);
- return NULL;
- }
- (void)memset_s(chipDev, sizeof(ChipDevice), 0, sizeof(ChipDevice));
- return chipDev;
-}
-
-static void FreeChipConfig(TouchChipCfg *config)
-{
- if (config->pwrSeq.pwrOn.buf != NULL) {
- OsalMemFree(config->pwrSeq.pwrOn.buf);
- }
- if (config->pwrSeq.pwrOff.buf != NULL) {
- OsalMemFree(config->pwrSeq.pwrOff.buf);
- }
- OsalMemFree(config);
-}
-
-static int32_t HdfSampleChipInit(struct HdfDeviceObject *device)
-{
- TouchChipCfg *chipCfg = NULL;
- ChipDevice *chipDev = NULL;
- HDF_LOGE("%s: enter", __func__);
- if (device == NULL) {
- return HDF_ERR_INVALID_PARAM;
- }
- /* Parse the private configuration of the touchscreen. */
- chipCfg = ChipConfigInstance(device);
- if (chipCfg == NULL) {
- return HDF_ERR_MALLOC_FAIL;
- }
- /* Instantiate the touchscreen device. */
- chipDev = ChipDeviceInstance();
- if (chipDev == NULL) {
- goto freeCfg;
- }
- chipDev->chipCfg = chipCfg;
- chipDev->ops = &g_sampleChipOps;
- chipDev->chipName = chipCfg->chipName;
- chipDev->vendorName = chipCfg->vendorName;
-
- /* Register the touchscreen device with the platform driver. */
- if (RegisterChipDevice(chipDev) != HDF_SUCCESS) {
- goto freeDev;
- }
- HDF_LOGI("%s: exit succ, chipName = %s", __func__, chipCfg->chipName);
- return HDF_SUCCESS;
-
-freeDev:
- OsalMemFree(chipDev);
-freeCfg:
- FreeChipConfig(chipCfg);
- return HDF_FAILURE;
-}
-
-struct HdfDriverEntry g_touchSampleChipEntry = {
- .moduleVersion = 1,
- .moduleName = "HDF_TOUCH_SAMPLE",
- .Init = HdfSampleChipInit,
-};
-
-HDF_INIT(g_touchSampleChipEntry);
-```
+- input_controller.h
+ | API | Description |
+ | --------------------------------------------------------------------------------------------------- |--------------- |
+ | int32_t (*SetPowerStatus)(uint32_t devIndex, uint32_t status); | Sets the power status. |
+ | int32_t (*GetPowerStatus)(uint32_t devIndex, uint32_t *status); | Obtains the power status. |
+ | int32_t (*GetDeviceType)(uint32_t devIndex, uint32_t *deviceType); | Obtains the device type. |
+ | int32_t (*GetChipInfo)(uint32_t devIndex, char *chipInfo, uint32_t length); | Obtains the chip information of a device.|
+ | int32_t (*GetVendorName)(uint32_t devIndex, char *vendorName, uint32_t length); | Obtains the module vendor name of a device. |
+ | int32_t (*GetChipName)(uint32_t devIndex, char *chipName, uint32_t length); | Obtains the driver chip name of a device. |
+ | int32_t (*SetGestureMode)(uint32_t devIndex, uint32_t gestureMode); | Sets the gesture mode. |
+ | int32_t (*RunCapacitanceTest)(uint32_t devIndex, uint32_t testType, char *result, uint32_t length); | Performs a capacitance test.|
+ | int32_t (*RunExtraCommand)(uint32_t devIndex, InputExtraCmd *cmd); | Executes the specified command. |
+
+For more information, see [input](https://gitee.com/openharmony/drivers_peripheral/tree/master/input).
+
+### Development Procedure
+
+The load process of the input driver model (for the touchscreen driver) is as follows:
+
+1. The device configuration, including the driver loading priority, board-specific hardware information, and private data, is complete.
+
+2. The HDF driver loads the input device manager driver to create and initialize the device manager.
+
+3. The HDF loads the platform driver to parse the board-specific configuration, initialize the hardware, and provide the API for registering the touchscreen.
+
+4. The HDF loads the touchscreen driver to instantiate the touchscreen device, parse the private data, and implement the differentiated APIs for the platform.
+
+5. The instantiated touchscreen device registers with the platform driver to bind the device and the driver and complete the device initialization, including interrupt registration and device power-on and power-off.
+
+6. The instantiated input device registers with the input device manager for unified management.
+
+
+The development process of the touchscreen driver is as follows:
+
+1. Configure device information. The input driver is developed based on the HDF. The HDF loads and starts the driver in a unified manner. You need to configure the driver information, such as whether to load the driver and the loading priority, in the configuration file. Then, the HDF starts the registered driver modules one by one. For details about how to configure the driver, see [Driver Development](../driver/driver-hdf-development.md#how-to-develop).
+
+2. Configure board-specific information and touchscreen private information. Configure the I/O pin functions. For example, set registers for the I2C pins on the board for the touchscreen to enable I2C communication.
+
+3. Implement device-specific APIs. Based on the communication interfaces designed for the board, use the pin operation APIs provided by the platform interface layer to configure the corresponding reset pin, interrupt pin, and power operations. For details about GPIO operations, see [GPIO](../driver/driver-platform-gpio-des.md).
+
+
+### Development Example
+
+The following example describes how to develop the touchscreen driver for an RK3568 development board.
+
+1. Configure device information.
+
+ Configure the modules of the input driver model in **drivers/adapter/khdf/linux/hcs/device_info/device_info.hcs**. For details, see [Driver Development](../driver/driver-hdf-development.md). Then, the HDF loads the modules of the input model in sequence based on the configuration information.
+
+ ```c
+ input :: host {
+ hostName = "input_host";
+ priority = 100;
+ device_input_manager :: device {
+ device0 :: deviceNode {
+ policy = 2; // The driver provides services externally.
+ priority = 100; // Loading priority. In the input model, the manager module has the highest priority.
+ preload = 0; // Whether to load the driver. The value 0 means to load the driver; 1 means the opposite.
+ permission = 0660;
+ moduleName = "HDF_INPUT_MANAGER";
+ serviceName = "input_dev_manager";
+ deviceMatchAttr = "";
+ }
+ }
+ device_hdf_touch :: device {
+ device0 :: deviceNode {
+ policy = 2;
+ priority = 120;
+ preload = 0;
+ permission = 0660;
+ moduleName = "HDF_TOUCH";
+ serviceName = "event1";
+ deviceMatchAttr = "touch_device1";
+ }
+ }
+
+ device_touch_chip :: device {
+ device0 :: deviceNode {
+ policy = 0;
+ priority = 130;
+ preload = 0;
+ permission = 0660;
+ moduleName = "HDF_TOUCH_SAMPLE";
+ serviceName = "hdf_touch_sample_service";
+ deviceMatchAttr = "zsj_sample_5p5";
+ }
+ }
+ }
+ ```
+
+2. Configure board-specific and private data for the touchscreen.
+
+ Configure the data in **drivers/adapter/khdf/linux/hcs/input/input_config.hcs**. The following is an example. You can modify the configuration as required.
+
+ ```c
+ root {
+ input_config {
+ touchConfig {
+ touch0 {
+ boardConfig {
+ match_attr = "touch_device1";
+ inputAttr {
+ inputType = 0; // 0 indicates touchscreen.
+ solutionX = 480;
+ solutionY = 960;
+ devName = "main_touch"; // Device name.
+ }
+ busConfig {
+ busType = 0; // 0 indicates I2C.
+ busNum = 6;
+ clkGpio = 86;
+ dataGpio = 87;
+ i2cClkIomux = [0x114f0048, 0x403]; // Register of the I2C_CLK pin.
+ i2cDataIomux = [0x114f004c, 0x403]; // Register of the I2C_DATA pin.
+ }
+ pinConfig {
+ rstGpio = 3;
+ intGpio = 4;
+ rstRegCfg = [0x112f0094, 0x400]; // Register of the reset pin.
+ intRegCfg = [0x112f0098, 0x400]; // Register of the interrupt pin.
+ }
+ powerConfig {
+ vccType = 2; // The value 1 stands for LDO, 2 for GPIO, and 3 for PMIC.
+ vccNum = 20; // Set the GPIO number to 20.
+ vccValue = 1800; // Set the voltage amplitude to 1800 mV.
+ vciType = 1;
+ vciNum = 12;
+ vciValue = 3300;
+ }
+ featureConfig {
+ capacitanceTest = 0;
+ gestureMode = 0;
+ gloverMOde = 0;
+ coverMode = 0;
+ chargerMode = 0;
+ knuckleMode = 0;
+ }
+ }
+ chipConfig {
+ template touchChip {
+ match_attr = "";
+ chipName = "sample";
+ vendorName = "zsj";
+ chipInfo = "AAAA11222"; // The first four characters indicate the product name. The fifth and sixth characters indicate the IC model. The last three characters indicate the model number.
+ busType = 0;
+ deviceAddr = 0x5D;
+ irqFlag = 2; // The value 1 means to trigger an interrupt on the rising edge, 2 means to trigger an interrupt on the falling edge, 4 means to trigger an interrupt by the high level, and 8 means to trigger an interrupt by the low level.
+ maxSpeed = 400;
+ chipVersion = 0;
+ powerSequence {
+ /* Description of the power-on sequence:
+ [type, status, direction, delay]
+ 0 stands for null; 1 for VCC power (1.8 V); 2 for VCI power (3.3 V); 3 for reset pin; 4 for interrupt pin.
+ 0 stands for power-off or pull-down; 1 for power-on or pull-up; 2 for no operation.
+ 0 stands for input; 1 for output; 2 for no operation.
+ indicates the delay, in milliseconds. For example, 20 indicates 20 ms delay.
+ */
+ powerOnSeq = [4, 0, 1, 0,
+ 3, 0, 1, 10,
+ 3, 1, 2, 60,
+ 4, 2, 0, 0];
+ suspendSeq = [3, 0, 2, 10];
+ resumeSeq = [3, 1, 2, 10];
+ powerOffSeq = [3, 0, 2, 10,
+ 1, 0, 2, 20];
+ }
+ }
+ chip0 :: touchChip {
+ match_attr = "zsj_sample_5p5";
+ chipInfo = "ZIDN45100";
+ chipVersion = 0;
+ }
+ }
+ }
+ }
+ }
+ }
+ ```
+
+3. Add the touchscreen driver.
+
+ Implement the touchscreen-specific APIs in **divers/framework/model/input/driver/touchscreen/touch_gt911.c**. The following uses the APIs for obtaining and parsing device data as an example. You can implement the related APIs to match your development.
+
+ ```c
+ /* Parse the touch reporting data read from the touchscreen into coordinates. */
+ static void ParsePointData(ChipDevice *device, FrameData *frame, uint8_t *buf, uint8_t pointNum)
+ {
+ int32_t resX = device->driver->boardCfg->attr.resolutionX;
+ int32_t resY = device->driver->boardCfg->attr.resolutionY;
+
+ for (int32_t i = 0; i < pointNum; i++) {
+ frame->fingers[i].y = (buf[GT_POINT_SIZE * i + GT_X_LOW] & ONE_BYTE_MASK) |
+ ((buf[GT_POINT_SIZE * i + GT_X_HIGH] & ONE_BYTE_MASK) << ONE_BYTE_OFFSET);
+ frame->fingers[i].x = (buf[GT_POINT_SIZE * i + GT_Y_LOW] & ONE_BYTE_MASK) |
+ ((buf[GT_POINT_SIZE * i + GT_Y_HIGH] & ONE_BYTE_MASK) << ONE_BYTE_OFFSET);
+ frame->fingers[i].valid = true;
+ }
+ }
+ /* Obtain the touch reporting data from the device. */
+ static int32_t ChipDataHandle(ChipDevice *device)
+ {
+ int32_t ret;
+ uint8_t touchStatus = 0;
+ uint8_t pointNum;
+ uint8_t buf[GT_POINT_SIZE * MAX_SUPPORT_POINT] = {0};
+ InputI2cClient *i2cClient = &device->driver->i2cClient;
+ uint8_t reg[GT_ADDR_LEN] = {0};
+ FrameData *frame = &device->driver->frameData;
+ reg[0] = (GT_BUF_STATE_ADDR >> ONE_BYTE_OFFSET) & ONE_BYTE_MASK;
+ reg[1] = GT_BUF_STATE_ADDR & ONE_BYTE_MASK;
+ ret = InputI2cRead(i2cClient, reg, GT_ADDR_LEN, &touchStatus, 1);
+ if (ret < 0 || touchStatus == GT_EVENT_INVALID) {
+ return HDF_FAILURE;
+ }
+ OsalMutexLock(&device->driver->mutex);
+ (void)memset_s(frame, sizeof(FrameData), 0, sizeof(FrameData));
+ if (touchStatus == GT_EVENT_UP) {
+ frame->realPointNum = 0;
+ frame->definedEvent = TOUCH_UP;
+ goto exit;
+ }
+ reg[0] = (GT_X_LOW_BYTE_BASE >> ONE_BYTE_OFFSET) & ONE_BYTE_MASK;
+ reg[1] = GT_X_LOW_BYTE_BASE & ONE_BYTE_MASK;
+ pointNum = touchStatus & GT_FINGER_NUM_MASK;
+ if (pointNum <= 0 || pointNum > MAX_SUPPORT_POINT) {
+ HDF_LOGE("%s: pointNum is invalid, %d", __func__, pointNum);
+ (void)ChipCleanBuffer(i2cClient);
+ OsalMutexUnlock(&device->driver->mutex);
+ return HDF_FAILURE;
+ }
+ frame->realPointNum = pointNum;
+ frame->definedEvent = TOUCH_DOWN;
+ /* Read the touch reporting data from the register. */
+ (void)InputI2cRead(i2cClient, reg, GT_ADDR_LEN, buf, GT_POINT_SIZE * pointNum);
+ /* Parse the touch reporting data. */
+ ParsePointData(device, frame, buf, pointNum);
+ exit:
+ OsalMutexUnlock(&device->driver->mutex);
+ if (ChipCleanBuffer(i2cClient) != HDF_SUCCESS) {
+ return HDF_FAILURE;
+ }
+ return HDF_SUCCESS;
+ }
+
+ static struct TouchChipOps g_sampleChipOps = {
+ .Init = ChipInit,
+ .Detect = ChipDetect,
+ .Resume = ChipResume,
+ .Suspend = ChipSuspend,
+ .DataHandle = ChipDataHandle,
+ };
+
+ static TouchChipCfg *ChipConfigInstance(struct HdfDeviceObject *device)
+ {
+ TouchChipCfg *chipCfg = (TouchChipCfg *)OsalMemAlloc(sizeof(TouchChipCfg));
+ if (chipCfg == NULL) {
+ HDF_LOGE("%s: instance chip config failed", __func__);
+ return NULL;
+ }
+ (void)memset_s(chipCfg, sizeof(TouchChipCfg), 0, sizeof(TouchChipCfg));
+ /* Parse the touchscreen private configuration. */
+ if (ParseTouchChipConfig(device->property, chipCfg) != HDF_SUCCESS) {
+ HDF_LOGE("%s: parse chip config failed", __func__);
+ OsalMemFree(chipCfg);
+ chipCfg = NULL;
+ }
+ return chipCfg;
+ }
+
+ static ChipDevice *ChipDeviceInstance(void)
+ {
+ ChipDevice *chipDev = (ChipDevice *)OsalMemAlloc(sizeof(ChipDevice));
+ if (chipDev == NULL) {
+ HDF_LOGE("%s: instance chip device failed", __func__);
+ return NULL;
+ }
+ (void)memset_s(chipDev, sizeof(ChipDevice), 0, sizeof(ChipDevice));
+ return chipDev;
+ }
+
+ static void FreeChipConfig(TouchChipCfg *config)
+ {
+ if (config->pwrSeq.pwrOn.buf != NULL) {
+ OsalMemFree(config->pwrSeq.pwrOn.buf);
+ }
+ if (config->pwrSeq.pwrOff.buf != NULL) {
+ OsalMemFree(config->pwrSeq.pwrOff.buf);
+ }
+ OsalMemFree(config);
+ }
+
+ static int32_t HdfSampleChipInit(struct HdfDeviceObject *device)
+ {
+ TouchChipCfg *chipCfg = NULL;
+ ChipDevice *chipDev = NULL;
+ HDF_LOGE("%s: enter", __func__);
+ if (device == NULL) {
+ return HDF_ERR_INVALID_PARAM;
+ }
+ /* Parse the touchscreen private configuration. */
+ chipCfg = ChipConfigInstance(device);
+ if (chipCfg == NULL) {
+ return HDF_ERR_MALLOC_FAIL;
+ }
+ /* Instantiate the touchscreen device. */
+ chipDev = ChipDeviceInstance();
+ if (chipDev == NULL) {
+ goto freeCfg;
+ }
+ chipDev->chipCfg = chipCfg;
+ chipDev->ops = &g_sampleChipOps;
+ chipDev->chipName = chipCfg->chipName;
+ chipDev->vendorName = chipCfg->vendorName;
+
+ /* Register the touchscreen device with the platform driver. */
+ if (RegisterChipDevice(chipDev) != HDF_SUCCESS) {
+ goto freeDev;
+ }
+ HDF_LOGI("%s: exit succ, chipName = %s", __func__, chipCfg->chipName);
+ return HDF_SUCCESS;
+
+ freeDev:
+ OsalMemFree(chipDev);
+ freeCfg:
+ FreeChipConfig(chipCfg);
+ return HDF_FAILURE;
+ }
+
+ struct HdfDriverEntry g_touchSampleChipEntry = {
+ .moduleVersion = 1,
+ .moduleName = "HDF_TOUCH_SAMPLE",
+ .Init = HdfSampleChipInit,
+ };
+
+ HDF_INIT(g_touchSampleChipEntry);
+ ```
+
+4. Call the Input HDI APIs.
+
+ The following sample code shows how an upper-layer input system service calls Input HDI APIs.
+
+ ```c
+ #include "input_manager.h"
+ #define DEV_INDEX 1
+
+ IInputInterface *g_inputInterface;
+ InputReportEventCb g_callback;
+
+ /* Define the callback for data reporting. */
+ static void ReportEventPkgCallback(const EventPackage **pkgs, uint32_t count)
+ {
+ if (pkgs == NULL || count > MAX_PKG_NUM) {
+ return;
+ }
+ for (uint32_t i = 0; i < count; i++) {
+ HDF_LOGI("%s: pkgs[%d] = 0x%x, 0x%x, %d", __func__, i, pkgs[i]->type, pkgs[i]->code, pkgs[i]->value);
+ }
+ }
+
+ int InputServiceSample(void)
+ {
+ uint32_t devType = INIT_DEFAULT_VALUE;
+
+ /* Obtain the input driver APIs. */
+ int ret = GetInputInterface(&g_inputInterface);
+ if (ret != INPUT_SUCCESS) {
+ HDF_LOGE("%s: get input interfaces failed, ret = %d", __func__, ret);
+ return ret;
+ }
+
+ INPUT_CHECK_NULL_POINTER(g_inputInterface, INPUT_NULL_PTR);
+ INPUT_CHECK_NULL_POINTER(g_inputInterface->iInputManager, INPUT_NULL_PTR);
+ /* Open an input device. */
+ ret = g_inputInterface->iInputManager->OpenInputDevice(DEV_INDEX);
+ if (ret) {
+ HDF_LOGE("%s: open input device failed, ret = %d", __func__, ret);
+ return ret;
+ }
+
+ INPUT_CHECK_NULL_POINTER(g_inputInterface->iInputController, INPUT_NULL_PTR);
+ /* Obtain the type of the input device. */
+ ret = g_inputInterface->iInputController->GetDeviceType(DEV_INDEX, &devType);
+ if (ret) {
+ HDF_LOGE("%s: get device type failed, ret: %d", __FUNCTION__, ret);
+ return ret;
+ }
+ HDF_LOGI("%s: device1's type is %u\n", __FUNCTION__, devType);
+
+ /* Register the data reporting callback for the input device. */
+ g_callback.ReportEventPkgCallback = ReportEventPkgCallback;
+ INPUT_CHECK_NULL_POINTER(g_inputInterface->iInputReporter, INPUT_NULL_PTR);
+ ret = g_inputInterface->iInputReporter->RegisterReportCallback(DEV_INDEX, &g_callback);
+ if (ret) {
+ HDF_LOGE("%s: register callback failed, ret: %d", __FUNCTION__, ret);
+ return ret;
+ }
+ HDF_LOGI("%s: wait 10s for testing, pls touch the panel now", __FUNCTION__);
+ OsalMSleep(KEEP_ALIVE_TIME_MS);
+
+ /* Unregister the callback for the input device. */
+ ret = g_inputInterface->iInputReporter->UnregisterReportCallback(DEV_INDEX);
+ if (ret) {
+ HDF_LOGE("%s: unregister callback failed, ret: %d", __FUNCTION__, ret);
+ return ret;
+ }
+
+ /* Close the input device. */
+ ret = g_inputInterface->iInputManager->CloseInputDevice(DEV_INDEX);
+ if (ret) {
+ HDF_LOGE("%s: close device failed, ret: %d", __FUNCTION__, ret);
+ return ret;
+ }
+ return 0;
+ }
+ ```
diff --git a/en/device-dev/kernel/kernel-overview.md b/en/device-dev/kernel/kernel-overview.md
index ffcf8d171b3a05a88a08a0c2a8d9c70b86653aec..873d8b0a6c09eabbaaee70005e8eda10793045dd 100644
--- a/en/device-dev/kernel/kernel-overview.md
+++ b/en/device-dev/kernel/kernel-overview.md
@@ -108,7 +108,7 @@ To keep pace with the rapid development of the IoT industry, the OpenHarmony lig
**Figure 4** LiteOS-A kernel architecture
- 
+ 
### How to Use
diff --git a/en/device-dev/kernel/kernel-standard-build.md b/en/device-dev/kernel/kernel-standard-build.md
index 3c950570cf2ae2638fd00a68756c3cefaaf3ddce..03abfc7b80146f9710c2711dbf650419b752e6ea 100644
--- a/en/device-dev/kernel/kernel-standard-build.md
+++ b/en/device-dev/kernel/kernel-standard-build.md
@@ -9,8 +9,8 @@ The following uses the Hi3516D V300 board and Ubuntu x86 server as an example.
Perform a full build for the project to generate the **uImage** kernel image.
-```
-./build.sh --product-name hispark_taurus_standard # Build the hispark_taurus_standard image.
- --build-target build_kernel # Build the uImage kernel image of hispark_taurus_standard.
- --gn-args linux_kernel_version=\"linux-5.10\" # Specify the kernel version.
+```bash
+./build.sh --product-name hispark_taurus_standard # Build the hispark_taurus_standard image.
+ --build-target build_kernel # Build the uImage kernel image of hispark_taurus_standard.
+ --gn-args linux_kernel_version=\"linux-5.10\" # Specify the kernel version.
```
diff --git a/en/device-dev/kernel/kernel-standard-mm-eswap.md b/en/device-dev/kernel/kernel-standard-mm-eswap.md
index e44534ed70119aea30ec3b406f775d39732caaa0..86417cb169bac8ae5b84e7b9bc64df7313c9f51d 100644
--- a/en/device-dev/kernel/kernel-standard-mm-eswap.md
+++ b/en/device-dev/kernel/kernel-standard-mm-eswap.md
@@ -1,4 +1,4 @@
-# Enhanced Swap
+# ESwap
## Basic Concepts
@@ -8,30 +8,33 @@ Enhanced Swap (ESwap) allows a custom partition to serve as a swap partition and
## Configuring zram and ESwap
+>  **NOTE**
+> Enable ESwap before zram is enabled. If ESwap is not used, you can enable zram alone. If a device does not have the storage device for swap-out or have the corresponding storage partition created, you can enable zram to reclaim memory using **zswapd**.
+
### Enabling ESwap
1. Enable related configuration items and dependencies.
To enable ESwap, you must enable the corresponding configuration items and dependencies during kernel compilation. The configuration items related to ESwap are as follows:
```
- CONFIG_HYPERHOLD=y
- CONFIG_HYPERHOLD_DEBUG=y
- CONFIG_HYPERHOLD_ZSWAPD=y
- CONFIG_HYPERHOLD_FILE_LRU=y
- CONFIG_HYPERHOLD_MEMCG=y
- CONFIG_ZRAM_GROUP=y
- CONFIG_ZRAM_GROUP_DEBUG=y
- CONFIG_ZLIST_DEBUG=y
- CONFIG_ZRAM_GROUP_WRITEBACK=y
+ CONFIG_HYPERHOLD=y // Enable Hyperhold
+ CONFIG_HYPERHOLD_DEBUG=y // Enable Hyperhold debug
+ CONFIG_HYPERHOLD_ZSWAPD=y // Enable the zswapd thread to reclaim Anon pages in background
+ CONFIG_HYPERHOLD_FILE_LRU=y // Enable Hyperhold FILE LRU
+ CONFIG_HYPERHOLD_MEMCG=y // Enable Memcg management in Hyperhold
+ CONFIG_ZRAM_GROUP=y // Enable Manage Zram objs with mem_cgroup
+ CONFIG_ZRAM_GROUP_DEBUG=y // Enable Manage Zram objs with mem_cgroup Debug
+ CONFIG_ZLIST_DEBUG=y // Enable Debug info for zram group list
+ CONFIG_ZRAM_GROUP_WRITEBACK=y // Enable write back grouped zram objs to Hyperhold driver
```
Enable the following dependencies:
```
- CONFIG_MEMCG=y
- CONFIG_SWAP=y
- CONFIG_ZSMALLOC=y
- CONFIG_ZRAM=y
+ CONFIG_MEMCG=y // Enable memory controller
+ CONFIG_SWAP=y // Enable paging of anonymous memory (swap)
+ CONFIG_ZSMALLOC=y // Enable memory allocator for compressed pages
+ CONFIG_ZRAM=y // Enable compressed RAM block device support
```
2. Create an ESwap device.
@@ -56,11 +59,11 @@ Enhanced Swap (ESwap) allows a custom partition to serve as a swap partition and
By default, ESwap encrypts the data swapped out. If the ESwap device created in step 2 supports inline encryption, you can disable the ESwap software encryption function.
```Bash
- // Check whether hardware-based encryption is supported and enabled. If yes, disable software encryption. Otherwise, do not perform this operation.
+ // Check whether hardware-based encryption is supported and enabled. If yes, disable software encryption. Otherwise, do not disable software encryption.
echo 0 > /proc/sys/kernel/hyperhold/soft_crypt
```
- >  **CAUTION**
+ >  **CAUTION**
> For security purposes, all swapped content must be encrypted. If the ESwap device created does not support inline encryption or the inline encryption macro is not enabled during compilation, ESwap cannot be enabled after software encryption is disabled.
4. Enable ESwap.
@@ -72,9 +75,6 @@ Enhanced Swap (ESwap) allows a custom partition to serve as a swap partition and
```
->  **NOTE**
-> Enable ESwap before zram is enabled. If ESwap is not used, you can enable zram only. If a device does not have the storage device for swap-out or have the corresponding storage partition created, you can enable zram to reclaim memory using **zswapd**.
-
### Enabling zram
1. Initialize zram.
@@ -88,7 +88,7 @@ Enhanced Swap (ESwap) allows a custom partition to serve as a swap partition and
echo 512M > /sys/block/zram0/disksize
```
- >  **NOTE**
+ >  **NOTE**
> The parameters and functions of **/sys/block/zram0/group** are as follows:
>
> - **disable**: disables the function.
@@ -115,7 +115,7 @@ Enhanced Swap (ESwap) allows a custom partition to serve as a swap partition and
echo force_disable > /proc/sys/kernel/hyperhold/enable
```
- >  **NOTE**
+ >  **NOTE**
> The difference of the two commands is as follows:
>
> - **disable**: If there is no data in the ESwap partition, disable ESwap. Otherwise, changes ESwap to **readonly** mode.
@@ -132,42 +132,46 @@ Enhanced Swap (ESwap) allows a custom partition to serve as a swap partition and
## ESwap APIs
-ESwap provides APIs to control swap-in and swap-out policies and record the current status. These APIs are located in the directory to which memcg is mounted, for example, `/dev/memcg/`.
+ESwap provides APIs to control swap-in and swap-out policies and record the current status. These APIs are located in the directory to which memcg is mounted, for example, **/dev/memcg/**.
-| Category| API| Description|
-| -------- | -------- | -------- |
-| Control| [avail_buffers](#avail_buffers) | Sets the buffer range.|
-| | [zswapd_single_memcg_param](#zswapd_single_memcg_param) | Sets memcg configuration.|
-| | [zram_wm_ratio](#zram_wm_ratio) | Sets the zram swap-out waterline.|
-| Status| [zswapd_pressure_show](#zswapd_pressure_show) | Records the current buffer and refault.|
-| | [stat](#stat) | Checks the real-time status of ESwap.|
-| | [zswapd_vmstat_show](#zswapd_vmstat_show) | Records events during the zswapd running.|
+| Category| API| Description| Reference Value|
+| -------- | -------- | -------- | -------- |
+| Control| [avail_buffers](#avail_buffers) | Sets the buffer range.| 300 250 350 200 |
+| | [zswapd_single_memcg_param](#zswapd_single_memcg_param) | Sets memcg configuration.| 300 40 0 0 |
+| | [zram_wm_ratio](#zram_wm_ratio) | Sets the zram swap-out waterline.| 0 |
+| Status| [zswapd_pressure_show](#zswapd_pressure_show) | Records the current buffer and refault.| NA |
+| | [stat](#stat) | Checks the real-time status of ESwap.| NA |
+| | [zswapd_vmstat_show](#zswapd_vmstat_show) | Records events during the zswapd running.| NA |
->  **CAUTION**
+>  **CAUTION**
> Only **avail_buffers** proactively wakes up zswapd because the buffer waterline is adjusted. Other control APIs do not proactively wake up zswapd, but their configuration takes effect only after zswapd is woken up.
-The APIs are described as follows:
### avail_buffers
The **avail_buffers** API sets the buffer range [min_avail_buffers, high_avail_buffers]. When the current buffer is less than the value of **min_avail_buffers**, zswapd will be woken up to reclaim anonymous pages. The expected amount of memory to reclaim is the difference between the value of **high_avail_buffers** and the current system buffer value. In fact, less memory is reclaimed due to reasons such as reclamation failure.
+
The parameters include the following:
-- **avail_buffers** indicates the expected buffer value.
+
+- **avail_buffers** indicates the expected buffer value.
- **free_swap_threshold** indicates the threshold of the free capacity of the swap partition. After zswapd is woken up to reclaim memory, press events, such as medium press and critical press, will be recorded based on the current system status and the settings of these two parameters.
-You can proactively adjust the values to trigger zswapd reclamation.
-Example:
+
+You can proactively adjust the values to trigger zswapd reclamation.
+
+**Example**:
+
`echo 1000 950 1050 0 > /dev/memcg/memory.avail_buffers`
-Default value:
+**Default value**:
```
- avail_buffers: 0
- min_avail_buffers: 0
- high_avail_buffers: 0
- free_swap_threshold: 0
+avail_buffers: 0
+min_avail_buffers: 0
+high_avail_buffers: 0
+free_swap_threshold: 0
```
-Limit:
+**Limit**:
0<=min_avail_buffers<=avail_buffers<=high_avail_buffers
@@ -177,25 +181,29 @@ The values are all integers.
### zswapd_single_memcg_param
-The **zswapd_single_memcg_param** API sets the memcg configuration. The parameters include the following:
+**zswapd_single_memcg_param** sets the memcg configuration. The parameters include the following:
+
- **score** indicates the current memcg reclamation priority.
- **ub_mem2zram_ratio** indicates the memory compression ratio to zram.
- **ub_zram2ufs_ratio** indicates the ratio of zram to ESwap.
- **refault_threshold** indicates the refault threshold.
+
You can modify the parameters to control zram compression and ESwap.
-Example:
+
+**Example**:
+
`echo 60 10 50 > memory.zswapd_single_memcg_param`
-Default value:
+**Default value**:
```
- memcg score: 300
- memcg ub_mem2zram_ratio: 60
- memcg ub_zram2ufs_ratio: 10
- memcg refault_threshold: 50
+memcg score: 300
+memcg ub_mem2zram_ratio: 60
+memcg ub_zram2ufs_ratio: 10
+memcg refault_threshold: 50
```
-Limit:
+**Limit**:
0<=ub_mem2zram_ratio<=100
@@ -207,17 +215,21 @@ The values are all integers.
### zram_wm_ratio
-The **zram_wm_ratio** API sets the zram swap-out waterline. When the size of the compressed anonymous page in the zram partition is greater than the total size of zram multiplied by **zram_wm_ratio**, the page is swapped out to the ESwap partition. The swap is performed after zswapd is woken up by the buffer waterline. The system defaults the value **0** as **37**. You can change the value as required.
-Example:
+**zram_wm_ratio** sets the zram swap-out waterline. When the size of the compressed anonymous page in the zram partition is greater than the total size of zram multiplied by **zram_wm_ratio**, the page is swapped out to the ESwap partition. The swap is performed after zswapd is woken up by the buffer waterline. The system defaults the value **0** as **37**.
+
+You can change the value as required.
+
+**Example**:
+
`echo 30 > /dev/memcg/memory.zram_wm_ratio`
-Default value:
+**Default value**:
```
- zram_wm_ratio: 0
+zram_wm_ratio: 0
```
-Limit:
+**Limit**:
0<=zram_wm_ratio<=100
@@ -225,7 +237,7 @@ The value is an integer.
### zswapd_pressure_show
-The **zswapd_pressure_show** API records the zswapd status. **buffer_size** indicates the current buffer size of the system, and **recent_refault** indicates the number of refaults occurred.
+**zswapd_pressure_show** records the zswapd status. **buffer_size** indicates the current buffer size of the system, and **recent_refault** indicates the number of refaults occurred.
### stat
@@ -235,12 +247,12 @@ In addition to **memcg.stat**, the **stat** API is added with **Anon**, **File**
### zswapd_vmstat_show
-The **zswapd_vmstat_show** API records events occurred during the zswapd running.
+**zswapd_vmstat_show** records events occurred during the zswapd running.
## Triggering zswapd
-You can check the current buffer value by running `cat /dev/memcg/memory.zswapd_pressure_show`. For example, if the current buffer value is 1200, you can adjust the buffer range to wake up zswapd.
+You can run **cat /dev/memcg/memory.zswapd_pressure_show** to check the current buffer value. For example, if the current buffer value is 1200, you can adjust the buffer range to a value greater than 1200 to wake up zswapd.
```Bash
echo 1300 1250 1350 0 > /dev/memcg/memory.avail_buffers
diff --git a/en/device-dev/kernel/kernel-standard-overview.md b/en/device-dev/kernel/kernel-standard-overview.md
index 8c9fdc21f6e0eb3771f631843bb40e4dff2f42d4..619fbed21b20ef3fcc90e593e5c77b52c291e2c5 100644
--- a/en/device-dev/kernel/kernel-standard-overview.md
+++ b/en/device-dev/kernel/kernel-standard-overview.md
@@ -1,17 +1,18 @@
# Linux Kernel Overview
+The standard-system devices come with application processors and memory greater than 128 MiB. OpenHarmony uses the Linux kernel as the base kernel so that appropriate OS kernels can be provided for devices with different resource limitations.
-OpenHarmony adopts the Linux kernel as the basic kernel for standard-system devices \(reference memory ≥ 128 MiB\) so that appropriate OS kernels can be selected for the devices subject to resource limitations and therefore provide basic capabilities for upper-layer apps.
## Linux Kernel Versions
-Linux kernel versions are classified into the stable version and long-term support \(LTS\) version.
+- Linux kernel versions are classified into the stable version and long-term support (LTS) version.
-The stable version is released approximately every 3 months to support the latest hardware, improve performance, and fix bugs. Its disadvantage is that the overall maintenance lifespan is short, making long-term stable support unavailable for software.
+- The stable version is released approximately every 3 months to support the latest hardware, improve performance, and fix bugs. Its disadvantage is that the overall maintenance lifespan is short, making long-term stable support unavailable for software.
-The LTS version provides long-term kernel maintenance \(in fixing bugs and security vulnerabilities\). Generally, the maintenance lifespan is six years. By contrast, non-LTS kernel versions whose maintenance lifespan ranges from six months to two years cannot cover the entire lifespan of their products and may leave the products open to security vulnerabilities. In addition, new features are not added in the LTS version update, which ensures the version stability. Therefore, LTS versions are more suitable for commercial products that pursue stability and security.
-## OpenHarmony Kernel Version Selection
+- The LTS version provides long-term kernel maintenance (in fixing bugs and security vulnerabilities). Generally, the maintenance lifespan is six years. By contrast, non-LTS kernel versions whose maintenance lifespan ranges from six months to two years cannot cover the entire lifespan of their products and may leave the products open to security vulnerabilities. In addition, new features are not added in the LTS version update, which ensures the version stability. Therefore, LTS versions are more suitable for commercial products that pursue stability and security.
-The Linux kernel in OpenHarmony selects appropriate LTS versions as its basic versions. Currently, it supports Linux-4.19 and Linux-5.10.
+## OpenHarmony Kernel Versions
+
+OpenHarmony uses Linux LTS versions as its base kernel. Currently, it supports Linux-4.19 and Linux-5.10.
diff --git a/en/device-dev/kernel/kernel-standard-patch.md b/en/device-dev/kernel/kernel-standard-patch.md
index 55448b5f893fc22fa938b8ea111fc42ce92d6068..549be494a1920ab16a199263cfd4aa6e56e0793c 100644
--- a/en/device-dev/kernel/kernel-standard-patch.md
+++ b/en/device-dev/kernel/kernel-standard-patch.md
@@ -1,39 +1,26 @@
# Applying Patches on Development Boards
-1. Apply the HDF patches.
-
- Apply the HDF patches based on the kernel version in the **kernel/linux/build** repository. For details, see the method for applying the HDF patch in **kernel.mk**.
-
- ```
- $(OHOS_BUILD_HOME)/drivers/hdf_core/adapter/khdf/linux/patch_hdf.sh $(OHOS_BUILD_HOME) $(KERNEL_SRC_TMP_PATH) $(KERNEL_PATCH_PATH) $(DEVICE_NAME)
- ```
-
-2. Apply the chip driver patches.
-
- The following uses Hi3516D V300 as an example:
-
- In the **kernel/linux/build** repository, place the chip module patches in the corresponding path based on the patch path and naming rules for the chip module in **kernel.mk**.
-
- ```
- DEVICE_PATCH_DIR := $(OHOS_BUILD_HOME)/kernel/linux/patches/${KERNEL_VERSION}/$(DEVICE_NAME)_patch
- DEVICE_PATCH_FILE := $(DEVICE_PATCH_DIR)/$(DEVICE_NAME).patch
- ```
-
- ```
-
- ```
-
-3. Modify the **config** file to be built.
-
- In the **kernel/linux/build** repository, place the chip module **config** file in the corresponding path based on the file path and naming rules for the chip module in **kernel.mk**.
-
- ```
- KERNEL_CONFIG_PATH := $(OHOS_BUILD_HOME)/kernel/linux/config/${KERNEL_VERSION}
- DEFCONFIG_FILE := $(DEVICE_NAME)_$(BUILD_TYPE)_defconfig
- ```
-
- > **NOTICE**
- >In the OpenHarmony project build process, patches are applied after the code environment of **kernel/linux/linux-\*.\*** is copied. Before running the OpenHarmony version-level build command, ensure that the source code environment of **kernel/linux/linux-\*.\*** is available.
- >After the build is complete, the kernel is generated in the kernel directory in the **out** directory. Modify the **config** file based on the kernel generated, and copy the generated **.config** file to the corresponding path in the **config** repository. Then, the configuration takes effect.
-
-
+1. Apply HDF patches.
+ Apply the HDF patches based on the kernel version. For details, see [kernel.mk](https://gitee.com/openharmony/kernel_linux_build/blob/master/kernel.mk).
+ ```makefile
+ $(OHOS_BUILD_HOME)/drivers/hdf_core/adapter/khdf/linux/patch_hdf.sh $(OHOS_BUILD_HOME) $(KERNEL_SRC_TMP_PATH) $(KERNEL_PATCH_PATH) $(DEVICE_NAME)
+ ```
+
+2. Apply the chip driver patch. The following uses Hi3516D V300 as an example.
+ Place the chip component patches in the related directory. For details about the patch directory and naming rules, see [kernel.mk](https://gitee.com/openharmony/kernel_linux_build/blob/master/kernel.mk).
+ ```makefile
+ DEVICE_PATCH_DIR := $(OHOS_BUILD_HOME)/kernel/linux/patches/${KERNEL_VERSION}/$(DEVICE_NAME)_patch
+ DEVICE_PATCH_FILE := $(DEVICE_PATCH_DIR)/$(DEVICE_NAME).patch
+ ```
+
+3. Modify the **config** file to build.
+ Place the chip component **config** in the related directory. For details about the patch directory and naming rules, see [kernel.mk](https://gitee.com/openharmony/kernel_linux_build/blob/master/kernel.mk).
+ ```makefile
+ KERNEL_CONFIG_PATH := $(OHOS_BUILD_HOME)/kernel/linux/config/${KERNEL_VERSION}
+ DEFCONFIG_FILE := $(DEVICE_NAME)_$(BUILD_TYPE)_defconfig
+ ```
+
+ > **NOTICE**
+ > In the OpenHarmony project build process, patches are installed after "kernel/linux/linux-\*.\*" is copied. Before using the version-level build command of OpenHarmony, ensure that the "kernel/linux/linux-\*.\*" source code is available.
+ >
+ > After the build is complete, the kernel is generated in the kernel directory in the **out** directory. Modify the **config** file for the target platform based on the kernel generated, and copy the generated **.config** file to the corresponding path of the platform in the **config** repository. Then, the configuration takes effect.
diff --git a/en/device-dev/kernel/kernel-standard-sched-rtg.md b/en/device-dev/kernel/kernel-standard-sched-rtg.md
index 61a36ab5bb7aad13789b0ce053e3dbcd73be6b25..71bf4959b4b5772ec72aecac2945352de958bf43 100644
--- a/en/device-dev/kernel/kernel-standard-sched-rtg.md
+++ b/en/device-dev/kernel/kernel-standard-sched-rtg.md
@@ -48,14 +48,3 @@ STATE COMM PID PRIO CPU // Thread information, including th
---------------------------------------------------------
S bash 436 120 1(0-3)
```
-
-## Available APIs
-
-The RTG provides the device node and ioctl APIs for querying and configuring group information. The device node is in **/dev/sched_rtg_ctrl**.
-
-| Request | Description |
-| ------------------- | ------------------- |
-| CMD_ID_SET_RTG | Creates an RTG, and adds, updates, or deletes threads in the group. |
-| CMD_ID_SET_CONFIG | Sets global group attributes, for example, the maximum number of real-time RTGs. |
-| CMD_ID_SET_RTG_ATTR | Sets specified group attributes, for example, the thread priority. |
-| CMD_ID_SET_MIN_UTIL | Sets the minimum utilization of an RTG. |
diff --git a/en/device-dev/subsystems/subsys-dfx-hisysevent-logging.md b/en/device-dev/subsystems/subsys-dfx-hisysevent-logging.md
index 2bb67bf541229f541a5461db0c04beecbeabd18e..f03d6ef5972806fbb04b728bf95ce7542bf3fff6 100644
--- a/en/device-dev/subsystems/subsys-dfx-hisysevent-logging.md
+++ b/en/device-dev/subsystems/subsys-dfx-hisysevent-logging.md
@@ -2,83 +2,192 @@
## Overview
-### Function
+### Function Introduction
HiSysEvent provides event logging APIs for OpenHarmony to record important information of key processes during system running. Besides, it supports shielding of event logging by event domain, helping you to evaluate the impact of event logging.
### Working Principles
-Before logging system events, you need to complete HiSysEvent logging configuration. For details, see [HiSysEvent Logging Configuration](subsys-dfx-hisysevent-logging-config.md).
+Before logging system events, you need to configure HiSysEvent logging. For details, see [HiSysEvent Logging Configuration](subsys-dfx-hisysevent-logging-config.md).
## How to Develop
### Use Cases
-Use HiSysEvent logging to flush logged event data to disks.
+Use HiSysEvent logging to flush logged event data to the event file.
### Available APIs
-#### C++ Event Logging APIs
+#### C++ Event Logging API
-HiSysEvent logging is implemented using the API provided by the **HiSysEvent** class. For details, see the API Reference.
+HiSysEvent logging is implemented using the API provided by the **HiSysEvent** class. For details, see the [API Header Files](/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/).
->  **NOTE**
+> **NOTE**
>
> In OpenHarmony-3.2-Beta3, HiSysEvent logging is open for restricted use to avoid event storms. The **HiSysEvent::Write** API in Table 1 is replaced by the **HiSysEventWrite** API in Table 2. The **HiSysEvent::Write** API has been deprecated. Use the **HiSysEventWrite** API instead for HiSysEvent logging.
-**Table 1** C++ event logging API (deprecated)
+**Table 1** Description of the C++ event logging API (deprecated)
| API | Description |
-| ------------------------------------------------------------ | ---------------------- |
-| template<typename... Types> static int Write(const std::string &domain, const std::string &eventName, EventType type, Types... keyValues) | Flushes logged event data to disks.|
+| ------------------------------------------------------------ | --------------------- |
+| template<typename... Types> static int Write(const std::string &domain, const std::string &eventName, EventType type, Types... keyValues) | Flushes logged event data to the event file.|
-**Table 2** C++ event logging API (in use)
-| API | Description |
-| ------------------------------------------------------------ | ---------------------- |
-| HiSysEventWrite(domain, eventName, type, ...) | Flushes logged event data to disks.|
-
- **Table 3** Event types
+**Table 2** Description of the C++ event logging API (in use)
-| API | Description |
-| --------- | ------------ |
-| FAULT | Fault event|
-| STATISTIC | Statistical event|
-| SECURITY | Security event|
-| BEHAVIOR | Behavior event|
+| API | Description |
+| ------------------------------------------------------------ | --------------------- |
+| HiSysEventWrite(domain, eventName, type, ...) | Flushes logged event data to the event file.|
+
+ **Table 3** Description of EventType enums
+
+| Event Type | Description |
+| --------- | ----------- |
+| FAULT | Fault event.|
+| STATISTIC | Statistical event.|
+| SECURITY | Security event.|
+| BEHAVIOR | Behavior event.|
+
+#### C Event Logging API
+
+HiSysEvent logging is implemented using the API provided in the following table. For details, see the [API Header Files](/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/).
+
+**Table 4** Description of the C event logging API
+
+| API | Description |
+| ------------------------------------------------------------ | ------------------------ |
+| int OH_HiSysEvent_Write(const char\* domain, const char\* name, HiSysEventEventType type, HiSysEventParam params[], size_t size); | Flushes logged event data to the event file.|
+
+**Table 5** Description of HiSysEventEventType enums
+
+| Event Type | Description |
+| -------------------- | -------------- |
+| HISYSEVENT_FAULT | Fault event.|
+| HISYSEVENT_STATISTIC | Statistical event.|
+| HISYSEVENT_SECURITY | Security event.|
+| HISYSEVENT_BEHAVIOR | Behavior event.|
+
+**Table 6** Description of the HiSysEventParam structure
+
+| Attribute | Type | Description |
+| --------- | -------------------- | ---------------------------------- |
+| name | char name[] | Event parameter name. |
+| t | HiSysEventParamType | Event parameter type. |
+| v | HiSysEventParamValue | Event parameter value. |
+| arraySize | size_t | Array length when the event parameter value is of the array type.|
+
+**Table 7** Description of HiSysEventParamType enums
+
+| Type | Description |
+| ----------------------- | -------------------------- |
+| HISYSEVENT_INVALID | Invalid event parameter. |
+| HISYSEVENT_BOOL | Event parameter of the bool type. |
+| HISYSEVENT_INT8 | Event parameter of the int8_t type. |
+| HISYSEVENT_UINT8 | Event parameter of the uint8_t type. |
+| HISYSEVENT_INT16 | Event parameter of the int16_t type. |
+| HISYSEVENT_UINT16 | Event parameter of the uint16_t type. |
+| HISYSEVENT_INT32 | Event parameter of the int32_t type. |
+| HISYSEVENT_UINT32 | Event parameter of the uint32_t type. |
+| HISYSEVENT_INT64 | Event parameter of the int64_t type. |
+| HISYSEVENT_UINT64 | Event parameter of the uint64_t type. |
+| HISYSEVENT_FLOAT | Event parameter of the float type. |
+| HISYSEVENT_DOUBLE | Event parameter of the double type. |
+| HISYSEVENT_STRING | Event parameter of the char* type. |
+| HISYSEVENT_BOOL_ARRAY | Event parameter of the bool array type. |
+| HISYSEVENT_INT8_ARRAY | Event parameter of the int8_t array type. |
+| HISYSEVENT_UINT8_ARRAY | Event parameter of the uint8_t array type. |
+| HISYSEVENT_INT16_ARRAY | Event parameter of the int16_t array type. |
+| HISYSEVENT_UINT16_ARRAY | Event parameter of the uint16_t array type.|
+| HISYSEVENT_INT32_ARRAY | Event parameter of the int32_t array type. |
+| HISYSEVENT_UINT32_ARRAY | Event parameter of the uint32_t array type.|
+| HISYSEVENT_INT64_ARRAY | Event parameter of the int64_t array type. |
+| HISYSEVENT_UINT64_ARRAY | Event parameter of the uint64_t array type.|
+| HISYSEVENT_FLOAT_ARRAY | Event parameter of the float array type. |
+| HISYSEVENT_DOUBLE_ARRAY | Event parameter of the double array type. |
+| HISYSEVENT_STRING_ARRAY | Event parameter of the char* array type. |
+
+**Table 8** Description of the HiSysEventParamValue union
+
+| Attribute| Type| Description |
+| -------- | -------- | ------------------------ |
+| b | bool | Event parameter value of the bool type. |
+| i8 | int8_t | Event parameter value of the int8_t type. |
+| ui8 | uint8_t | Event parameter value of the uint8_t type. |
+| i16 | int16_t | Event parameter value of the int16_t type. |
+| ui16 | uint16_t | Event parameter value of the uint16_t type.|
+| i32 | int32_t | Event parameter value of the int32_t type. |
+| ui32 | uint32_t | Event parameter value of the uint32_t type.|
+| i64 | int64_t | Event parameter value of the int64_t type. |
+| ui64 | uint64_t | Event parameter value of the uint64_t type.|
+| f | float | Event parameter value of the float type. |
+| d | double | Event parameter value of the double type. |
+| s | char* | Event parameter value of the char* type. |
+| array | void* | Event parameter value of the array type. |
#### Kernel Event Logging APIs
-The following table describes the kernel event logging APIs.
+Kernel event logging is implemented using the APIs provided in the following table. For details, see the [API Header File](/kernel/linux/linux-5.10/include/dfx/hiview_hisysevent.h).
-**Table 4** Kernel event logging APIs
+**Table 9** Description of kernel event logging APIs
| API | Description |
-| ------------------------------------------------------------ | ------------------------------------ |
-| struct hiview_hisysevent *hisysevent_create(const char *domain, const char *name, enum hisysevent_type type); | Creates a **hisysevent** object. |
-| void hisysevent_destroy(struct hiview_hisysevent *event); | Destroys a **hisysevent** object. |
+| ------------------------------------------------------------ | ----------------------------------- |
+| struct hiview_hisysevent *hisysevent_create(const char *domain, const char *name, enum hisysevent_type type); | Creates a **hisysevent** object. |
+| void hisysevent_destroy(struct hiview_hisysevent *event); | Destroys a **hisysevent** object. |
| int hisysevent_put_integer(struct hiview_hisysevent *event, const char *key, long long value); | Adds event parameters of the integer type to a **hisysevent** object. |
| int hisysevent_put_string(struct hiview_hisysevent *event, const char *key, const char *value); | Adds event parameters of the string type to a **hisysevent** object.|
-| int hisysevent_write(struct hiview_hisysevent *event); | Flushes **hisysevent** object data to disks. |
+| int hisysevent_write(struct hiview_hisysevent *event); | Flushes **hisysevent** object data to the event file. |
-**Table 5** Kernel event types
+**Table 10** Description of hisysevent_type enums
-| API | Description |
-| --------- | ------------ |
-| FAULT | Fault event|
-| STATISTIC | Statistical event|
-| SECURITY | Security event|
-| BEHAVIOR | Behavior event|
+| Event Type | Description |
+| --------- | ----------- |
+| FAULT | Fault event.|
+| STATISTIC | Statistical event.|
+| SECURITY | Security event.|
+| BEHAVIOR | Behavior event.|
### How to Develop
#### C++ Event Logging
-1. Call the event logging API wherever needed, with required event parameters passed to the API.
+Call the event logging API wherever needed, with required event parameters passed to the API.
```c++
HiSysEventWrite(HiSysEvent::Domain::AAFWK, "START_APP", HiSysEvent::EventType::BEHAVIOR, "APP_NAME", "com.ohos.demo");
```
+#### C Event Logging
+
+1. If you want to pass custom event parameters to the event logging API, create an event parameter object based on the event parameter type and add the object to the event parameter array.
+
+ ```c
+ // Create an event parameter of the int32_t type.
+ HiSysEventParam param1 = {
+ .name = "KEY_INT32",
+ .t = HISYSEVENT_INT32,
+ .v = { .i32 = 1 },
+ .arraySize = 0,
+ };
+
+ // Create an event parameter of the int32_t array type.
+ int32_t int32Arr[] = { 1, 2, 3 };
+ HiSysEventParam param2 = {
+ .name = "KEY_INT32_ARR",
+ .t = HISYSEVENT_INT32_ARRAY,
+ .v = { .array = int32Arr },
+ .arraySize = sizeof(int32Arr) / sizeof(int32Arr[0]),
+ };
+
+ // Add the event parameter object to the created event parameter array.
+ HiSysEventParam params[] = { param1, param2 };
+ ```
+
+2. Call the event logging API wherever needed, with required event parameters passed to the API.
+
+ ```c
+ OH_HiSysEvent_Write("TEST_DOMAIN", "TEST_NAME", HISYSEVENT_BEHAVIOR, params, sizeof(params) / sizeof(params[0]));
+ ```
+
#### Kernel Event Logging
1. Create a **hisysevent** object based on the specified event domain, event name, and event type.
@@ -151,7 +260,7 @@ Assume that a service module needs to trigger event logging during application s
external_deps = [ "hisysevent_native:libhisysevent" ]
```
-2. In the application startup function **StartAbility()** of the service module, call the event logging API with the event parameters passed in.
+2. In the application startup function **StartAbility()** of the service module, call the event logging API with event parameters passed in.
```c++
#include "hisysevent.h"
@@ -164,6 +273,37 @@ Assume that a service module needs to trigger event logging during application s
}
```
+#### C Event Logging
+
+Assume that a service module needs to trigger event logging during application startup to record the application startup event and application bundle name. The following is the complete sample code:
+
+1. Add the HiSysEvent component dependency to the **BUILD.gn** file of the service module.
+
+ ```c++
+ external_deps = [ "hisysevent_native:libhisysevent" ]
+ ```
+
+2. In the application startup function **StartAbility()** of the service module, call the event logging API with event parameters passed in.
+
+ ```c
+ #include "hisysevent_c.h"
+
+ int StartAbility()
+ {
+ ... // Other service logic
+ char packageName[] = "com.ohos.demo";
+ HiSysEventParam param = {
+ .name = "APP_NAME",
+ .t = HISYSEVENT_STRING,
+ .v = { .s = packageName },
+ .arraySize = 0,
+ };
+ HiSysEventParam params[] = { param };
+ int ret = OH_HiSysEvent_Write("AAFWK", "START_APP", HISYSEVENT_BEHAVIOR, params, sizeof(params) / sizeof(params[0]));
+ ... // Other service logic
+ }
+ ```
+
#### Kernel Event Logging
Assume that the kernel service module needs to trigger event logging during device startup to record the device startup event. The following is the complete sample code:
@@ -200,11 +340,10 @@ Assume that the kernel service module needs to trigger event logging during devi
}
```
-#### Shielding of Event Logging by Event Domain
+#### Shielding of Event Logging by Event Domain
- If you want to shield event logging for the **AAFWK** and **POWER** domains in a **.cpp** file, define the **DOMAIN_MASKS** macro before including the **hisysevent.h** header file to the **.cpp** file.
```c++
-
#define DOMAIN_MASKS "AAFWK|POWER"
#include "hisysevent.h"
@@ -212,14 +351,13 @@ Assume that the kernel service module needs to trigger event logging during devi
HiSysEventWrite(OHOS:HiviewDFX::HiSysEvent::Domain::AAFWK, "JS_ERROR", OHOS:HiviewDFX::HiSysEvent::EventType::FAULT, "MODULE", "com.ohos.module"); // HiSysEvent logging is not performed.
... // Other service logic
HiSysEventWrite(OHOS:HiviewDFX::HiSysEvent::Domain::POWER, "POWER_RUNNINGLOCK", OHOS:HiviewDFX::HiSysEvent::EventType::FAULT, "NAME", "com.ohos.module"); // HiSysEvent logging is not performed.
-
```
- If you want to shield event logging for the **AAFWK** and **POWER** domains of the entire service module, define the **DOMAIN_MASKS** macro as follows in the **BUILG.gn** file of the service module.
```gn
config("module_a") {
- ... // Other configuration items
- cflags_cc += ["-DDOMAIN_MASKS=\"AAFWK|POWER\""]
+ ... // Other configuration items
+ cflags_cc += ["-DDOMAIN_MASKS=\"AAFWK|POWER\""]
}
```
diff --git a/en/device-dev/subsystems/subsys-dfx-hisysevent-query.md b/en/device-dev/subsystems/subsys-dfx-hisysevent-query.md
index 66cd39343e583f36efb4fade8d4818f84b6278af..2f5cd08ffab5ac1499f9e4a6e324caf1de64f106 100644
--- a/en/device-dev/subsystems/subsys-dfx-hisysevent-query.md
+++ b/en/device-dev/subsystems/subsys-dfx-hisysevent-query.md
@@ -6,106 +6,382 @@
HiSysEvent allows you to query system events by specifying search criteria. For example, for a power consumption module, you can query required system events for analysis.
-## Development Guidelines
-
+## How to Develop
### Available APIs
->  **NOTE**
+#### C++ Event Query API
+
+HiSysEvent query is implemented using the API provided by the **HiSysEventManager** class. For details, see the [API Header Files](/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/).
+
+> **NOTE**
>
-> For details about the **HiSysEventRecord** argument in the **OnQuery()** method of **HiSysEventQueryCallback**, see Table 5 in [HiSysEvent Listening](subsys-dfx-hisysevent-listening.md).
+> For details about **HiSysEventRecord** in the **OnQuery()** API of **HiSysEventQueryCallback**, see Table 5 in [HiSysEvent Listening](subsys-dfx-hisysevent-listening.md).
-**Table 1** Description of the HiSysEvent query API
+ **Table 1** Description of the HiSysEvent query API
-| API | Description |
-| --- | ----------- |
-| int32_t HiSysEventManager::Query(struct QueryArg& arg, std::vector<QueryRule>& rules, std::shared_ptr<HiSysEventQueryCallback> callback) | Queries system events by specifying search criteria such as the time segment, event domain, and event name. Input arguments: - **arg**: event query parameter. - **rules**: rules for event filtering. - **callback**: callback object for event query. Return value: - **0**: Query is successful. - A negative value: Query has failed.|
+| API| Description|
+| -------- | -------- |
+| int32_t Query(struct QueryArg& arg, std::vector<QueryRule>& rules, std::shared_ptr<HiSysEventQueryCallback> callback) | Queries system events by search criteria such as the time segment, event domain, and event name. Input arguments: - **arg**: event query parameter. - **rules**: rules for event filtering. - **callback**: callback object for event query. Return value: - **0**: Query is successful. - A negative value: Query has failed.|
-**Table 2** Description of QueryArg
+ **Table 2** Description of QueryArg objects
-| Attribute | Description |
-| --------- | ----------- |
-| beginTime | Start time, in the **long long int** format.|
-| endTime | End time, in the **long long int** format.|
-| maxEvents | Maximum number of returned events, in the **int** format.|
+| Attribute| Type| Description|
+| -------- | -------- | -------- |
+| beginTime | long long | Start time for query. The value is a Unix timestamp, in milliseconds.|
+| endTime | long long | End time for query. The value is a Unix timestamp, in milliseconds.|
+| maxEvents | int | Maximum number of returned events.|
-**Table 3** Description of QueryRule
+ **Table 3** Description of QueryRule objects
| API| Description|
| -------- | -------- |
-| QueryRule(const std::string& domain, const std::vector<std::string>& eventList) | Constructor used to create a **QueryRule** object. Input arguments: - **domain**: domain to which the event of the **QueryRule** object belongs, in the string format. By default, an empty string indicates that the domain is successfully matched. - **eventList**: event name list, in the **std::vector<std::string>** format. By default, an empty string indicates that the event names on the list are successfully matched.|
+| QueryRule(const std::string& domain, const std::vector<std::string>& eventList) | Constructor used to create a **QueryRule** object. Input arguments: - **domain**: domain to which the event of the **QueryRule** object belongs, in the string format. By default, an empty string indicates that the domain is successfully matched. **eventList**: event name list, in the **std::vector<std::string>** format. By default, an empty string indicates that the event names on the list are successfully matched.|
-**Table 4** Description of HiSysEventQueryCallback
+ **Table 4** Description of HiSysEventQueryCallback objects
| API| Description|
| -------- | -------- |
-| void HiSysEventQueryCallback::OnQuery(std::shared_ptr<std::vector<HiSysEventRecord>> sysEvents) | Callback object for event query. Input arguments: - **sysEvents**: event list. Return value: None.|
-| void HiSysEventQueryCallback::OnComplete(int32_t reason, int32_t total) | Callback object for completion of event query. Input arguments: - **reason**: reason for completion of event query. The default value is **0**. - **total**: total number of events returned in this query. Return value: None.|
+| void HiSysEventQueryCallback::OnQuery(std::shared_ptr<std::vector<HiSysEventRecord>> sysEvents) | Callback object for event query. Input arguments: - **sysEvents**: event list.|
+| void HiSysEventQueryCallback::OnComplete(int32_t reason, int32_t total) | Callback object for completion of event query. Input arguments: - **reason**: reason for completion of event query. The value **0** indicates that the query is normal, and any other value indicates that the query has failed. - **total**: total number of events returned in this query.|
+
+#### C Event Query API
+
+HiSysEvent query is implemented using the API provided in the following table. For details, see the [API Header Files](/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/).
+
+ **Table 5** Description of the HiSysEvent query API
+
+| API | Description |
+| ------------------------------------------------------------ | ------------------------------------------------------------ |
+| int OH_HiSysEvent_Query(const HiSysEventQueryArg& arg, HiSysEventQueryRule rules[], size_t ruleSize, HiSysEventQueryCallback& callback); | Queries system events by search criteria such as the time segment, event domain, event name, and event parameter. Input arguments: - **arg**: event query parameter. - **rules**: rules for event filtering. - **ruleSize**: number of event filtering rules. - **callback**: callback object for event query. Return value: - **0**: Query is successful. - A negative value: Query has failed.|
+
+ **Table 6** Description of the HiSysEventQueryArg structure
+
+| Attribute | Type| Description |
+| --------- | -------- | ---------------------------------------------------- |
+| beginTime | int64_t | Start time for query. The value is a Unix timestamp, in milliseconds.|
+| endTime | int64_t | End time for query. The value is a Unix timestamp, in milliseconds.|
+| maxEvents | int32_t | Maximum number of returned events. |
+
+**Table 7** Description of the HiSysEventQueryRule structure
+
+| Attribute | Type | Description |
+| ------------- | --------- | ---------------------------------- |
+| domain | char[] | Event domain. |
+| eventList | char\[][] | Event name list. |
+| eventListSize | size_t | Size of the event name list. |
+| condition | char* | Custom event parameter conditions for the query.|
+
+The **condition** parameter must be in the specified JSON string format. For example:
+
+```json
+{
+ "version":"V1",
+ "condition":{
+ "and":[
+ {"param":"type_","op":">","value":0},
+ {"param":"uid_","op":"=","value":1201}
+ ],
+ "or":[
+ {"param":"NAME","op":"=","value":"SysEventService"},
+ {"param":"NAME","op":"=","value":"SysEventSource"}
+ ]
+ }
+}
+```
+
+- The **version** field is mandatory, indicating the supported version of the input condition. Currently, only **V1** is supported.
+- The **condition** field is mandatory, indicating the input condition.
+ - The **and** field is optional, indicating the AND relationship between conditions.
+ - The **or** field is optional, indicating the OR relationship between conditions.
+ - The **param** field is mandatory, indicating the parameter name for condition matching. The value must be a string.
+ - The **op** field is mandatory, indicating the parameter comparison operator for condition matching. The value must be a string. Supported comparison operators include the following: =, >, <, >=, and <=.
+ - The **value** field is mandatory, indicating the parameter value for condition matching. The value must be a string or an integer.
+
+**Table 8** Description of the HiSysEventQueryCallback structure
+
+| Attribute | Type | Description |
+| ---------- | -------------------------------------------------- | ------------------------------------------------------------ |
+| OnQuery | void (*)(HiSysEventRecord records[], size_t size); | Callback object for event query. Input arguments: - **records**: event list. - **size**: size of the event list.|
+| OnComplete | void (*)(int32_t reason, int32_t total); | Callback object for completion of event query. Input arguments: - **reason**: reason for completion of event query. The value **0** indicates that the query is normal, and any other value indicates that the query has failed. - **total**: total number of events returned in this query.|
+
+**Table 9** Description of the HiSysEventRecord event structure
+
+| Attribute | Type | Description |
+| --------- | ------------------- | -------------------------- |
+| domain | char[] | Event domain. |
+| eventName | char\[] | Event name. |
+| type | HiSysEventEventType | Event type. |
+| time | uint64_t | Event timestamp. |
+| tz | char\[] | Event time zone. |
+| pid | int64_t | Process ID of the event. |
+| tid | int64_t | Thread ID of the event. |
+| uid | int64_t | User ID of the event. |
+| traceId | uint64_t | Distributed call chain trace ID of the event. |
+| spandId | uint64_t | Span ID for the distributed call chain trace of the event. |
+| pspanId | uint64_t | Parent span ID for the distributed call chain trace of the event.|
+| traceFlag | int | Distributed call chain trace flag of the event. |
+| level | char* | Event level. |
+| tag | char* | Event tag. |
+| jsonStr | char* | Event content. |
+
+**Table 10** Description of HiSysEventRecord APIs
+
+| API | |
+| ------------------------------------------------------------ | ------------------------------------------------------------ |
+| void OH_HiSysEvent_GetParamNames(const HiSysEventRecord& record, char*** params, size_t& len); | Obtains all parameter names of an event. Input arguments: - **record**: event structure. - **params**: parameter name array. - **len**: size of the parameter name array.|
+| int OH_HiSysEvent_GetParamInt64Value(const HiSysEventRecord& record, const char* name, int64_t& value); | Parses the parameter value in the event to an int64_t value and assigns the value to **value**. Input arguments: - **record**: event structure. - **name**: parameter name. - **value**: parameter value of the int64_t type.|
+| int OH_HiSysEvent_GetParamUint64Value(const HiSysEventRecord& record, const char* name, uint64_t& value); | Parses the parameter value in the event to an uint64_t value and assigns the value to **value**. Input arguments: - **record**: event structure. - **name**: parameter name. - **value**: parameter value of the uint64_t type.|
+| int OH_HiSysEvent_GetParamDoubleValue(const HiSysEventRecord& record, const char* name, double& value); | Parses the parameter value in the event to a double value and assigns the value to **value**. Input arguments: - **record**: event structure. - **name**: parameter name. - **value**: parameter value of the double type.|
+| int OH_HiSysEvent_GetParamStringValue(const HiSysEventRecord& record, const char* name, char** value); | Parses the parameter value in the event to a char array value and assigns the value to **value**. You need to release the memory manually after usage. Input arguments: - **record**: event structure. - **name**: parameter name. - **value**: char\* reference.|
+| int OH_HiSysEvent_GetParamInt64Values(const HiSysEventRecord& record, const char* name, int64_t** value, size_t& len); | Parses the parameter value in the event to a int64_t array value and assigns the value to **value**. You need to release the memory manually after usage. Input arguments: - **record**: event structure. - **name**: parameter name. - **value**: int64_t\* reference. - **len**: array size.|
+| int OH_HiSysEvent_GetParamUint64Values(const HiSysEventRecord& record, const char* name, uint64_t** value, size_t& len); | Parses the parameter value in the event to a uint64_t array value and assigns the value to **value**. You need to release the memory manually after usage. Input arguments: - **record**: event structure. - **name**: parameter name. - **value**: uint64_t\* reference. - **len**: array size.|
+| int OH_HiSysEvent_GetParamDoubleValues(const HiSysEventRecord& record, const char* name, double** value, size_t& len); | Parses the parameter value in the event to a double array value and assigns the value to **value**. You need to release the memory manually after usage. Input arguments: - **record**: event structure. - **name**: parameter name. - **value**: double\* reference. - **len**: array size.|
+| int OH_HiSysEvent_GetParamStringValues(const HiSysEventRecord& record, const char* name, char*** value, size_t& len); | Parses the parameter value in the event to a char* array value and assigns the value to **value**. You need to release the memory manually after usage. Input arguments: - **record**: event structure. - **name**: parameter name. - **value**: char\*\* reference. - **len**: array size.|
+
+The return values of the HiSysEventRecord APIs are described as follows:
+
+- **0**: The parsing is successful.
+- -**1**: The event fails to be initialized.
+- -**2**: The parameter name does not exist.
+- -**3**: The type of the parameter value to be parsed does not match the type of the input parameter value.
### How to Develop
-**C++**
+#### C++ HiSysEvent Query API
-1. Develop the source code.
- Import the corresponding header file:
+1. Import the corresponding header file:
- ```
+ ```c++
#include "hisysevent_manager.h"
```
- Implement the callback API.
+2. Implement the callback API.
- ```
- void HiSysEventQueryCallback::OnQuery(std::shared_ptr> sysEvents)
- void HiSysEventQueryCallback::OnComplete(int32_t reason, int32_t total)
+ ```c++
+ class TestQueryCallback : public HiSysEventQueryCallback {
+ public:
+ void OnQuery(std::shared_ptr> sysEvents) override
+ {
+ if (sysEvents == nullptr) {
+ return;
+ }
+ for_each((*sysEvents).cbegin(), (*sysEvents).cend(), [](const HiSysEventRecord& event) {
+ std::cout << event.AsJson() << std::endl;
+ });
+ }
+
+ void OnComplete(int32_t reason, int32_t total) override
+ {
+ std::cout << "Query completed" << std::endl;
+ return;
+ }
+ };
```
- Call the query API in the corresponding service logic.
+3. Call the query API while passing in the query parameter, rule, and callback object.
+ ```c++
+ // Create a query parameter object.
+ long long startTime = 0;
+ long long endTime = 1668245644000; //2022-11-12 09:34:04
+ int queryCount = 10;
+ QueryArg arg(startTime, endTime, queryCount);
+
+ // Create a query rule object.
+ QueryRule rule("HIVIEWDFX", { "PLUGIN_LOAD" });
+ std::vector queryRules = { rule };
+
+ // Create a query callback object.
+ auto queryCallback = std::make_shared();
+
+ // Call the query API.
+ HiSysEventManager::Query(arg, queryRules, queryCallback);
```
- HiSysEventManager::Query(struct QueryArg& queryArg,
- std::vector& queryRules, std::shared_ptr queryCallBack)
- ```
- In this example, you'll query all system events.
+#### C HiSysEvent Query API
+
+1. Import the corresponding header file:
+ ```c++
+ #include "hisysevent_manager_c.h"
```
- #include "hisysevent_manager.h"
- #include
- namespace OHOS {
- namespace HiviewDFX {
- // Implement the query callback API.
- void HiSysEventToolQuery::OnQuery(std::shared_ptr> sysEvents)
+2. Implement the callback API.
+
+ ```c++
+ void OnQueryTest(HiSysEventRecord records[], size_t size)
{
- if (sysEvents == nullptr) {
- return;
+ for (size_t i = 0; i < size; i++) {
+ printf("OnQuery: event=%s", records[i].jsonStr);
}
- for_each((*sysEvents).cbegin(), (*sysEvents).cend(), [](const HiSysEventRecord& event) {
- std::cout << event.AsJson() << std::endl;
- });
}
-
- void HiSysEventToolQuery::OnComplete(int32_t reason, int32_t total)
+
+ void OnCompleteTest(int32_t reason, int32_t total)
{
- return;
+ printf("OnCompleted, res=%d, total=%d\n", reason, total);
}
- } // namespace HiviewDFX
- } // namespace OHOS
-
- // Call the query callback API to obtain system events.
- auto queryCallBack = std::make_shared();
- struct QueryArg args(clientCmdArg.beginTime, clientCmdArg.endTime, clientCmdArg.maxEvents);
- std::vector rules;
- HiSysEventManager::QueryHiSysEvent(args, rules, queryCallBack);
```
-2. Modify the **BUILD.gn** file.
- In the **BUILD.gn** file, add the **libhisysevent** and **libhisyseventmanager** libraries that depend on the **hisysevent_native** component.
-
+3. Call the query API while passing in the query parameter, rule, and callback object.
+
+ ```c++
+ // Create a query parameter object.
+ HiSysEventQueryArg arg;
+ arg.beginTime = 0;
+ arg.endTime = 1668245644000; //2022-11-12 09:34:04
+ arg.maxEvents = 10;
+
+ // Create a query rule object.
+ constexpr char TEST_DOMAIN[] = "HIVIEWDFX";
+ constexpr char TEST_NAME[] = "PLUGIN_LOAD";
+ HiSysEventQueryRule rule;
+ (void)strcpy_s(rule.domain, strlen(TEST_DOMAIN) + 1, TEST_DOMAIN);
+ (void)strcpy_s(rule.eventList[0], strlen(TEST_NAME) + 1, TEST_NAME);
+ rule.eventListSize = 1;
+ rule.condition = nullptr;
+ HiSysEventQueryRule rules[] = { rule };
+
+ // Create a query callback object.
+ HiSysEventQueryCallback callback;
+ callback.OnQuery = OnQueryTest;
+ callback.OnComplete = OnCompleteTest;
+
+ // Call the query API.
+ OH_HiSysEvent_Query(arg, rules, sizeof(rules) / sizeof(HiSysEventQueryRule), callback);
```
+
+### Development Example
+
+#### C++ HiSysEvent Query
+
+Assume that you need to query all **PLUGIN_LOAD** events that are generated for the **HIVIEWDFX** domain until the current time on a service module. The development procedure is as follows:
+
+1. Add the **libhisysevent** and **libhisyseventmanager** dependencies of the **hisysevent_native** component to **BUILD.gn** of the service module.
+
+ ```c++
external_deps = [
"hisysevent_native:libhisysevent",
"hisysevent_native:libhisyseventmanager",
]
```
+
+2. Call the query API in the **TestQuery()** function of the service module.
+
+ ```c++
+ #include "hisysevent_manager.h"
+ #include
+ #include
+
+ using namespace OHOS::HiviewDFX;
+
+ class TestQueryCallback : public HiSysEventQueryCallback {
+ public:
+ void OnQuery(std::shared_ptr> sysEvents) override
+ {
+ if (sysEvents == nullptr) {
+ return;
+ }
+ for_each((*sysEvents).cbegin(), (*sysEvents).cend(), [](const HiSysEventRecord& event) {
+ std::cout << event.AsJson() << std::endl;
+ });
+ }
+
+ void OnComplete(int32_t reason, int32_t total) override
+ {
+ std::cout << "Query completed" << std::endl;
+ return;
+ }
+ };
+
+ int64_t GetMilliseconds()
+ {
+ auto now = std::chrono::system_clock::now();
+ auto millisecs = std::chrono::duration_cast(now.time_since_epoch());
+ return millisecs.count();
+ }
+
+ void TestQuery()
+ {
+ // Create a query parameter object.
+ long long startTime = 0;
+ long long endTime = GetMilliseconds();
+ int maxEvents = 100;
+ QueryArg arg(startTime, endTime, maxEvents);
+
+ // Create a query rule object.
+ QueryRule rule("HIVIEWDFX", { "PLUGIN_LOAD" });
+ std::vector queryRules = { rule };
+
+ // Create a query callback object.
+ auto queryCallback = std::make_shared();
+
+ // Call the query API.
+ int ret = HiSysEventManager::Query(arg, queryRules, queryCallback);
+ }
+ ```
+
+#### C HiSysEvent Query
+
+Assume that you need to query all **PLUGIN_LOAD** events that are generated for the **HIVIEWDFX** domain until the current time on a service module. The development procedure is as follows:
+
+1. Add the **libhisyseventmanager** dependency of the **hisysevent_native** component to the **BUILD.gn** file of the service module.
+
+ ```c++
+ external_deps = [ "hisysevent_native:libhisyseventmanager" ]
+
+ // for strcpy_s
+ deps = [ "//third_party/bounds_checking_function:libsec_shared" ]
+ ```
+
+2. Call the query API in the **TestQuery()** function of the service module.
+
+ ```c++
+ #include "hisysevent_manager_c.h"
+ #include
+ #include
+
+ void OnQueryTest(HiSysEventRecord records[], size_t size)
+ {
+ for (size_t i = 0; i < size; i++) {
+ printf("OnQuery: event=%s", records[i].jsonStr);
+ }
+ }
+
+ void OnCompleteTest(int32_t reason, int32_t total)
+ {
+ printf("OnCompleted, res=%d, total=%d\n", reason, total);
+ }
+
+ int64_t GetMilliseconds()
+ {
+ return time(NULL);
+ }
+
+ void TestQuery()
+ {
+ // Create a query parameter object.
+ HiSysEventQueryArg arg;
+ arg.beginTime = 0;
+ arg.endTime = GetMilliseconds();
+ arg.maxEvents = 100;
+
+ // Create a query rule object.
+ constexpr char TEST_DOMAIN[] = "HIVIEWDFX";
+ constexpr char TEST_NAME[] = "PLUGIN_LOAD";
+ HiSysEventQueryRule rule;
+ (void)strcpy_s(rule.domain, strlen(TEST_DOMAIN) + 1, TEST_DOMAIN);
+ (void)strcpy_s(rule.eventList[0], strlen(TEST_NAME) + 1, TEST_NAME);
+ rule.eventListSize = 1;
+ rule.condition = nullptr;
+ HiSysEventQueryRule rules[] = { rule };
+
+ // Create a query callback object.
+ HiSysEventQueryCallback callback;
+ callback.OnQuery = OnQueryTest;
+ callback.OnComplete = OnCompleteTest;
+
+ // Call the query API.
+ int ret = OH_HiSysEvent_Query(arg, rules, sizeof(rules) / sizeof(HiSysEventQueryRule), callback);
+ }
+ ```
diff --git a/en/device-dev/subsystems/subsys-dfx-hisysevent-tool.md b/en/device-dev/subsystems/subsys-dfx-hisysevent-tool.md
index 4dccc4dbf082cc1121443c00adbef531b2b5ed23..cb0f8cead65cd1faed98c723d30f557b4302bbab 100644
--- a/en/device-dev/subsystems/subsys-dfx-hisysevent-tool.md
+++ b/en/device-dev/subsystems/subsys-dfx-hisysevent-tool.md
@@ -42,7 +42,7 @@ The HiSysEvent tool is a command line tool preconfigured in the **/system/bin**
| Option| Description|
| -------- | -------- |
| -t | Event tag used to filter subscribed real-time system events.|
- | -c | Matching rule for event tags. The options can be **WHOLE_WORD**, **PREFIX**, or **REGULAR**.|
+ | -c | Matching rule for event tags. The option can be **WHOLE_WORD**, **PREFIX**, or **REGULAR**.|
Example:
@@ -67,7 +67,7 @@ The HiSysEvent tool is a command line tool preconfigured in the **/system/bin**
| -------- | -------- |
| -o | Event domain used to filter subscribed real-time system events.|
| -n | Event name used to filter subscribed real-time system events.|
- | -c | Matching rule for event domains and event names. The options can be **WHOLE_WORD**, PREFIX, or **REGULAR**.|
+ | -c | Matching rule for event domains and event names. The option can be **WHOLE_WORD**, PREFIX, or **REGULAR**.|
Example:
@@ -83,6 +83,30 @@ The HiSysEvent tool is a command line tool preconfigured in the **/system/bin**
> **NOTE**
> If **-t**, **-o**, and **-n** are specified, the system checks whether the configured event tag is null. If the event tag is not null, the system filters system events based on the matching rules for the event tag. Otherwise, the system filters system events based on the matching rules for the event domain and event name.
+- Command for subscribing to real-time system events by event type:
+
+ ```
+ hisysevent -r -g [FAULT|STATISTIC|SECURITY|BEHAVIOR]
+ ```
+
+ Description of command options:
+
+ | Option| Description|
+ | -------- | -------- |
+ | -g | Type of the system events to be subscribed to. The option can be **FAULT**, **STATISTIC**, **SECURITY**, or **BEHAVIOR**.|
+
+ Example:
+
+ ```
+ # hisysevent -r -o "RELIABILITY" -n "APP_FREEZE" -g FAULT
+ {"domain_":"RELIABILITY","name_":"APP_FREEZE","type_":1,"time_":1501963989773,"pid_":1505,"uid_":10002,"FAULT_TYPE":"4","MODULE":"com.ohos.screenlock","REASON":"NO_DRAW","SUMMARY":"SUMMARY:\n","LOG_PATH":"/data/log/faultlog/faultlogger/appfreeze-com.ohos.screenlock-10002-20170805201309","HAPPEN_TIME":1501963989773,"VERSION":"1.0.0","level_":"CRITICAL","tag_":"STABILITY","id_":"16367997008075110557","info_":""}
+ # hisysevent -r -o "POWER\w{0,8}" -n "POWER_RUNNINGLOCK" -c REGULAR -g STATISTIC
+ {"domain_":"POWER","name_":"POWER_RUNNINGLOCK","type_":2,"time_":1667485283785,"tz_":"+0000","pid_":538,"tid_":684,"uid_":5523,"PID":360,"UID":1001,"STATE":0,"TYPE":1,"NAME":"telRilRequestRunningLock","LOG_LEVEL":2,"TAG":"DUBAI_TAG_RUNNINGLOCK_REMOVE","MESSAGE":"token=25956496","level_":"MINOR","tag_":"PowerStats","id_":"11994072552538324655","info_":""}
+ # hisysevent -r -o "ACCOU\w+" -c REGULAR -g SECURITY
+ {"domain_":"ACCOUNT","name_":"PERMISSION_EXCEPTION","type_":3,"time_":1667484405993,"tz_":"+0000","pid_":614,"tid_":614,"uid_":3058,"CALLER_UID":1024,"CALLER_PID":523,"PERMISSION_NAME":"ohos.permission.MANAGE_LOCAL_ACCOUNTS","level_":"CRITICAL","tag_":"security","id_":"15077995598140341422","info_":""}
+ # hisysevent -r -o MULTIMODALINPUT -g BEHAVIOR
+ {"domain_":"MULTIMODALINPUT","name_":"Z_ORDER_WINDOW_CHANGE","type_":4,"time_":1667549852735,"tz_":"+0000","pid_":2577,"tid_":2588,"uid_":6696,"OLD_ZORDER_FIRST_WINDOWID":-1,"NEW_ZORDER_FIRST_WINDOWID":2,"OLD_ZORDER_FIRST_WINDOWPID":-1,"NEW_ZORDER_FIRST_WINDOWPID":1458,"MSG":"The ZorderFirstWindow changing succeeded","level_":"MINOR","tag_":"PowerStats","id_":"16847308118559691400","info_":""}
+ ```
## Querying Historical System Events
@@ -139,6 +163,56 @@ The HiSysEvent tool is a command line tool preconfigured in the **/system/bin**
{"domain_":"RELIABILITY","name_":"APP_FREEZE","type_":1,"time_":1501964222980,"pid_":1505,"uid_":10002,"FAULT_TYPE":"4","MODULE":"com.ohos.screenlock","REASON":"NO_DRAW","SUMMARY":"SUMMARY:\n","LOG_PATH":"/data/log/faultlog/faultlogger/appfreeze-com.ohos.screenlock-10002-20170805201702","HAPPEN_TIME":1501964222980,"VERSION":"1.0.0","level_":"CRITICAL","tag_":"STABILITY","id_":"10435592800188571430","info_":""}
```
+- Command for querying historical system events by event domain and event name:
+
+ ```
+ hisysevent -l -o -n [-c WHOLE_WORD]
+ ```
+
+ Description of command options:
+
+ | Option| Description|
+ | -------- | -------- |
+ | -o | Domain based on which historical system events are queried.|
+ | -n | Name based on which historical system events are queried.|
+ | -c | Rule for matching the domain and name of historical system events. The option can only be **WHOLE_WORD**.|
+
+ Example:
+
+ ```
+ # hisysevent -l -n "APP_FREEZE"
+ {"domain_":"RELIABILITY","name_":"APP_FREEZE","type_":1,"time_":1501963989773,"pid_":1505,"uid_":10002,"FAULT_TYPE":"4","MODULE":"com.ohos.screenlock","REASON":"NO_DRAW","SUMMARY":"SUMMARY:\n","LOG_PATH":"/data/log/faultlog/faultlogger/appfreeze-com.ohos.screenlock-10002-20170805201309","HAPPEN_TIME":1501963989773,"VERSION":"1.0.0","level_":"CRITICAL","tag_":"STABILITY","id_":"16367997008075110557","info_":""}
+ # hisysevent -r -o "RELIABILITY"
+ {"domain_":"RELIABILITY","name_":"APP_FREEZE","type_":1,"time_":1501963989773,"pid_":1505,"uid_":10002,"FAULT_TYPE":"4","MODULE":"com.ohos.screenlock","REASON":"NO_DRAW","SUMMARY":"SUMMARY:\n","LOG_PATH":"/data/log/faultlog/faultlogger/appfreeze-com.ohos.screenlock-10002-20170805201544","HAPPEN_TIME":1501963989773,"VERSION":"1.0.0","level_":"CRITICAL","tag_":"STABILITY","id_":"13456525196455104060","info_":""}
+ # hisysevent -r -o "RELIABILITY" -n "APP_FREEZE" -c WHOLE_WORD
+ {"domain_":"RELIABILITY","name_":"APP_FREEZE","type_":1,"time_":1501963989773,"pid_":1505,"uid_":10002,"FAULT_TYPE":"4","MODULE":"com.ohos.screenlock","REASON":"NO_DRAW","SUMMARY":"SUMMARY:\n","LOG_PATH":"/data/log/faultlog/faultlogger/appfreeze-com.ohos.screenlock-10002-20170805201633","HAPPEN_TIME":1501963989773,"VERSION":"1.0.0","level_":"CRITICAL","tag_":"STABILITY","id_":"12675246910904037271","info_":""}
+ ```
+
+- Command for querying historical system events by event type:
+
+ ```
+ hisysevent -l -g [FAULT|STATISTIC|SECURITY|BEHAVIOR]
+ ```
+
+ Description of command options:
+
+ | Option| Description|
+ | -------- | -------- |
+ | -g | Type of the historical system events to be queried. The option can be **FAULT**, **STATISTIC**, **SECURITY**, or **BEHAVIOR**.|
+
+ Example:
+
+ ```
+ # hisysevent -l -o "RELIABILITY" -g FAULT
+ {"domain_":"RELIABILITY","name_":"APP_FREEZE","type_":1,"time_":1501963989773,"pid_":1505,"uid_":10002,"FAULT_TYPE":"4","MODULE":"com.ohos.screenlock","REASON":"NO_DRAW","SUMMARY":"SUMMARY:\n","LOG_PATH":"/data/log/faultlog/faultlogger/appfreeze-com.ohos.screenlock-10002-20170805201309","HAPPEN_TIME":1501963989773,"VERSION":"1.0.0","level_":"CRITICAL","tag_":"STABILITY","id_":"16367997008075110557","info_":""}
+ # hisysevent -l -n "POWER_RUNNINGLOCK" -c WHOLE_WORD -g STATISTIC
+ {"domain_":"POWER","name_":"POWER_RUNNINGLOCK","type_":2,"time_":1667485283785,"tz_":"+0000","pid_":538,"tid_":684,"uid_":5523,"PID":360,"UID":1001,"STATE":0,"TYPE":1,"NAME":"telRilRequestRunningLock","LOG_LEVEL":2,"TAG":"DUBAI_TAG_RUNNINGLOCK_REMOVE","MESSAGE":"token=25956496","level_":"MINOR","tag_":"PowerStats","id_":"11994072552538324655","info_":""}
+ # hisysevent -l -g SECURITY
+ {"domain_":"ACCOUNT","name_":"PERMISSION_EXCEPTION","type_":3,"time_":1667484405993,"tz_":"+0000","pid_":614,"tid_":614,"uid_":3058,"CALLER_UID":1024,"CALLER_PID":523,"PERMISSION_NAME":"ohos.permission.MANAGE_LOCAL_ACCOUNTS","level_":"CRITICAL","tag_":"security","id_":"15077995598140341422","info_":""}
+ # hisysevent -l -o MULTIMODALINPUT -g BEHAVIOR
+ {"domain_":"MULTIMODALINPUT","name_":"Z_ORDER_WINDOW_CHANGE","type_":4,"time_":1667549852735,"tz_":"+0000","pid_":2577,"tid_":2588,"uid_":6696,"OLD_ZORDER_FIRST_WINDOWID":-1,"NEW_ZORDER_FIRST_WINDOWID":2,"OLD_ZORDER_FIRST_WINDOWPID":-1,"NEW_ZORDER_FIRST_WINDOWPID":1458,"MSG":"The ZorderFirstWindow changing succeeded","level_":"MINOR","tag_":"PowerStats","id_":"16847308118559691400","info_":""}
+ ```
+
## System Event Validity Check
- Enabling system event validity check
diff --git a/en/device-dev/subsystems/subsys-testguide-test.md b/en/device-dev/subsystems/subsys-testguide-test.md
deleted file mode 100644
index 40d4905715e2a555ef38f298fec411cd5cb82e3a..0000000000000000000000000000000000000000
--- a/en/device-dev/subsystems/subsys-testguide-test.md
+++ /dev/null
@@ -1,930 +0,0 @@
-# Test
-OpenHarmony provides a comprehensive auto-test framework for designing test cases. Detecting defects in the development process can improve code quality.
-
-This document describes how to use the OpenHarmony test framework.
-## Setting Up the Environment
-- The test framework depends on Python. Before using the test framework, you need to set up the environment.
-- For details about how to obtain the source code, see [Obtaining Source Code](../get-code/sourcecode-acquire.md).
-### Environment Configuration
-#### Basic Test Framework Environment
-
-|Environment|Version|Description|
-|------------|------------|------------|
-|Operating system|Ubuntu 18.04 or later|Provides the build environment.|
-|Linux extend component|libreadline-dev|Allows users to edit command lines.|
-|Python|3.7.5 or later|Provides the programming language for the test framework.|
-|Python Plug-ins|pyserial 3.3 or later paramiko 2.7.1 or later setuptools 40.8.0 or later RSA 4.0 or later|- pyserial: supports serial port communication in Python. - paramiko: allows SSH in Python. - setuptools: allows creation and distribution of Python packages. -RSA: implements RSA encryption in Python.|
-|NFS Server|haneWIN NFS Server 1.2.50 or later or NFS v4 or later|Allows devices to be connected over a serial port.|
-|HDC|1.1.0 or later|Allows devices to be connected by using the OpenHarmony Device Connector (HDC).|
-
-
-#### Installation Process
-
-1. Run the following command to install the Linux extended component libreadline:
- ```
- sudo apt-get install libreadline-dev
- ```
- The installation is successful if the following information is displayed:
- ```
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- libreadline-dev is already the newest version (7.0-3).
- 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
- ```
-2. Run the following command to install the setuptools plug-in:
- ```
- pip3 install setuptools
- ```
- The installation is successful if the following information is displayed:
- ```
- Requirement already satisfied: setuptools in d:\programs\python37\lib\site-packages (41.2.0)
- ```
-3. Run the following command to install the paramiko plug-in:
- ```
- pip3 install paramiko
- ```
- The installation is successful if the following information is displayed:
- ```
- Installing collected packages: pycparser, cffi, pynacl, bcrypt, cryptography, paramiko
- Successfully installed bcrypt-3.2.0 cffi-1.14.4 cryptography-3.3.1 paramiko-2.7.2 pycparser-2.20 pynacl-1.4.0
- ```
-4. Run the following command to install the rsa plug-in:
- ```
- pip3 install rsa
- ```
- The installation is successful if the following information is displayed:
- ```
- Installing collected packages: pyasn1, rsa
- Successfully installed pyasn1-0.4.8 rsa-4.7
- ```
-5. Run the following command to install the pyserial plug-in:
- ```
- pip3 install pyserial
- ```
- The installation is successful if the following information is displayed:
- ```
- Requirement already satisfied: pyserial in d:\programs\python37\lib\site-packages\pyserial-3.4-py3.7.egg (3.4)
- ```
-6. Install the NFS server if the device outputs results only through the serial port.
- - For Windows, install, for example, haneWIN NFS Server 1.2.50.
- - For Linux, run the following command to install the NFS server:
- ```
- sudo apt install nfs-kernel-server
- ```
- The installation is successful if the following information is displayed:
- ```
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- nfs-kernel-server is already the newest version (1:1.3.4-2.1ubuntu5.3).
- 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
- ```
-7. Install the HDC tool if the device supports HDC connections.
-
- For details, see https://gitee.com/openharmony/developtools_hdc_standard/blob/master/README.md
-
-## Checking the Installation Environment
-
-| Check Item|Operation |Requirements |
-| --- | --- | --- |
-| Check whether Python is installed successfully.|Run the **python --version** command. |The Python version is 3.7.5 or later.|
-| Check whether Python plug-ins are successfully installed.|Go to the **test/developertest** directory and run **start.bat** or **start.sh**.| The **>>>** prompt is displayed.|
-|Check the NFS server status (for the devices that support only serial port output). |Log in to the development board through the serial port and run the **mount** command to mount the NFS. |The file directory can be mounted. |
-|Check whether the HDC is successfully installed. |Run the **hdc_std -v** command.|The HDC version is 1.1.0 or later.|
-
-
-
-## Directory Structure
-The directory structure of the test framework is as follows:
-```
-test # Test subsystem
-├── developertest # Developer test module
-│ ├── aw # Static library of the test framework
-│ ├── config # Test framework configuration
-│ │ │ ...
-│ │ └── user_config.xml # User configuration
-│ ├── examples # Examples of test cases
-│ ├── src # Source code of the test framework
-│ ├── third_party # Adaptation code for third-party components on which the test framework depends
-│ ├── reports # Test reports
-│ ├── BUILD.gn # Build entry of the test framework
-│ ├── start.bat # Test entry for Windows
-│ └── start.sh # Test entry for Linux
-└── xdevice # Modules on which the test framework depends
-```
-## Writing Test Cases
-### Designing the Test Case Directory
-Design the test case directory as follows:
-```
-subsystem # Subsystem
-├── partA # Part A
-│ ├── moduleA # Module A
-│ │ ├── include
-│ │ ├── src # Service code
-│ │ └── test # Test directory
-│ │ ├── unittest # Unit test
-│ │ │ ├── common # Common test cases
-│ │ │ │ ├── BUILD.gn # Build file of test cases
-│ │ │ │ └── testA_test.cpp # Source code of unit test cases
-│ │ │ ├── phone # Test cases for mobile phones
-│ │ │ ├── ivi # Test cases for head units
-│ │ │ └── liteos-a # Test cases for IP cameras using LiteOS
-│ │ ├── moduletest # Module test
-│ │ ...
-│ │
-│ ├── moduleB # Module B
-│ ├── test
-│ │ └── resource # Dependency resources
-│ │ ├── moduleA # Module A
-│ │ │ ├── ohos_test.xml # Resource configuration file
-│ │ ... └── 1.txt # Resource file
-│ │
-│ ├── ohos_build # Build entry configuration
-│ ...
-│
-...
-```
-> **CAUTION** Test cases are classified into common test cases and device-specific test cases. You are advised to place common test cases in the **common** directory and device-specific test cases in the directories of the related devices.
-
-### Writing Test Cases
-This test framework supports test cases written in multiple programming languages and provides different templates for different languages.
-
-**C++ Test Case Example**
-
-- Naming rules for source files
-
- The source file name of test cases must be the same as that of the test suite. The file names must use lowercase letters and in the [Function]\_[Sub-function]\_**test** format. More specific sub-functions can be added as required.
-Example:
- ```
- calculator_sub_test.cpp
- ```
-
-- Test case example
- ```
- /*
- * Copyright (c) 2022 XXXX Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
- #include "calculator.h"
- #include
-
- using namespace testing::ext;
-
- class CalculatorSubTest : public testing::Test {
- public:
- static void SetUpTestCase(void);
- static void TearDownTestCase(void);
- void SetUp();
- void TearDown();
- };
-
- void CalculatorSubTest::SetUpTestCase(void)
- {
- // Set a setup function, which will be called before all test cases.
- }
-
- void CalculatorSubTest::TearDownTestCase(void)
- {
- // Set a teardown function, which will be called after all test cases.
- }
-
- void CalculatorSubTest::SetUp(void)
- {
- // Set a setup function, which will be called before each test case.
- }
-
- void CalculatorSubTest::TearDown(void)
- {
- // Set a teardown function, which will be called after each test case.
- }
-
- /**
- * @tc.name: integer_sub_001
- * @tc.desc: Verify the sub function.
- * @tc.type: FUNC
- * @tc.require: Issue Number
- */
- HWTEST_F(CalculatorSubTest, integer_sub_001, TestSize.Level1)
- {
- // Step 1 Call the function to obtain the result.
- int actual = Sub(4, 0);
-
- // Step 2 Use an assertion to compare the obtained result with the expected result.
- EXPECT_EQ(4, actual);
- }
- ```
- The procedure is as follows:
- 1. Add comment information to the test case file header.
- ```
- /*
- * Copyright (c) 2022 XXXX Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- ```
- 2. Add the test framework header file and namespace.
- ```
- #include
-
- using namespace testing::ext;
- ```
- 3. Add the header file of the test class.
- ```
- #include "calculator.h"
- ```
- 4. Define the test suite (test class).
- ```
- class CalculatorSubTest : public testing::Test {
- public:
- static void SetUpTestCase(void);
- static void TearDownTestCase(void);
- void SetUp();
- void TearDown();
- };
-
- void CalculatorSubTest::SetUpTestCase(void)
- {
- // Set a setup function, which will be called before all test cases.
- }
-
- void CalculatorSubTest::TearDownTestCase(void)
- {
- // Set a teardown function, which will be called after all test cases.
- }
-
- void CalculatorSubTest::SetUp(void)
- {
- // Set a setup function, which will be called before each test case.
- }
-
- void CalculatorSubTest::TearDown(void)
- {
- // Set a teardown function, which will be called after each test case.
- }
- ```
- > **CAUTION**: When defining a test suite, ensure that the test suite name is the same as the target to build and uses the upper camel case style.
-
- 5. Add implementation of the test cases, including test case comments and logic.
- ```
- /**
- * @tc.name: integer_sub_001
- * @tc.desc: Verify the sub function.
- * @tc.type: FUNC
- * @tc.require: Issue Number
- */
- HWTEST_F(CalculatorSubTest, integer_sub_001, TestSize.Level1)
- {
- // Step 1 Call the function to obtain the test result.
- int actual = Sub(4, 0);
-
- // Step 2 Use an assertion to compare the obtained result with the expected result.
- EXPECT_EQ(4, actual);
- }
- ```
- The following test case templates are provided for your reference.
-
- | Type| Description|
- | ------------| ------------|
- | HWTEST(A,B,C)| Use this template if the test case execution does not depend on setup or teardown.|
- | HWTEST_F(A,B,C)| Use this template if the test case execution (excluding parameters) depends on setup and teardown.|
- | HWTEST_P(A,B,C)| Use this template if the test case execution (including parameters) depends on setup and teardown.|
-
- In the template names:
- - *A* indicates the test suite name.
- - *B* indicates the test case name, which is in the *Function*\_*No.* format. The *No.* is a three-digit number starting from **001**.
- - *C* indicates the test case level. There are five test case levels: guard-control level 0 and non-guard-control level 1 to level 4. Of levels 1 to 4, a smaller value indicates a more important function verified by the test case.
-
- **CAUTION**
- - The expected result of each test case must have an assertion.
- - The test case level must be specified.
- - It is recommended that the test be implemented step by step according to the template.
- - The comment must contain the test case name, description, type, and requirement number, which are in the @tc.*xxx*: *value* format. The test case type @**tc.type** can be any of the following:
-
- | Test Case Type|Code|
- | ------------|------------|
- |Function test |FUNC|
- |Performance Test |PERF|
- |Reliability test |RELI|
- |Security test |SECU|
- |Fuzzing |FUZZ|
-
-
-**JavaScript Test Case Example**
-
-- Naming rules for source files
-
- The source file name of a test case must be in the [Function]\[Sub-function]Test format, and each part must use the upper camel case style. More specific sub-functions can be added as required.
-Example:
- ```
- AppInfoTest.js
- ```
-
-- Test case example
- ```
- /*
- * Copyright (C) 2022 XXXX Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- import app from '@system.app'
-
- import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
-
- describe("AppInfoTest", function () {
- beforeAll(function() {
- // Set a setup function, which will be called before all test cases.
- console.info('beforeAll called')
- })
-
- afterAll(function() {
- // Set a teardown function, which will be called after all test cases.
- console.info('afterAll called')
- })
-
- beforeEach(function() {
- // Set a setup function, which will be called before each test case.
- console.info('beforeEach called')
- })
-
- afterEach(function() {
- // Set a teardown function, which will be called after each test case.
- console.info('afterEach called')
- })
-
- /*
- * @tc.name:appInfoTest001
- * @tc.desc:verify app info is not null
- * @tc.type: FUNC
- * @tc.require: Issue Number
- */
- it("appInfoTest001", 0, function () {
- // Step 1 Call the function to obtain the test result.
- var info = app.getInfo()
-
- // Step 2 Use an assertion to compare the obtained result with the expected result.
- expect(info != null).assertEqual(true)
- })
- })
- ```
- The procedure is as follows:
- 1. Add comment information to the test case file header.
- ```
- /*
- * Copyright (C) 2022 XXXX Device Co., Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- ```
- 2. Import the APIs and JSUnit test library to test.
- ```
- import app from '@system.app'
-
- import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
- ```
- 3. Define the test suite (test class).
- ```
- describe("AppInfoTest", function () {
- beforeAll(function() {
- // Set a setup function, which will be called before all test cases.
- console.info('beforeAll called')
- })
-
- afterAll(function() {
- // Set a teardown function, which will be called after all test cases.
- console.info('afterAll called')
- })
-
- beforeEach(function() {
- // Set a setup function, which will be called before each test case.
- console.info('beforeEach called')
- })
-
- afterEach(function() {
- // Set a teardown function, which will be called after each test case.
- console.info('afterEach called')
- })
- ```
- 4. Add implementation of the test cases.
- ```
- /*
- * @tc.name:appInfoTest001
- * @tc.desc:verify app info is not null
- * @tc.type: FUNC
- * @tc.require: Issue Number
- */
- it("appInfoTest001", 0, function () {
- // Step 1 Call the function to obtain the test result.
- var info = app.getInfo()
-
- // Step 2 Use an assertion to compare the obtained result with the expected result.
- expect(info != null).assertEqual(true)
- })
- ```
-
-### Writing the Build File for Test Cases
-When a test case is executed, the test framework searches for the build file of the test case in the test case directory and builds the test case located. The following describes how to write build files (GN files) in different programming languages.
-
-#### Writing Build Files for Test Cases
-The following provides templates for different languages for your reference.
-
-- **Test case build file example (C++)**
- ```
- # Copyright (c) 2022 XXXX Device Co., Ltd.
-
- import("//build/test.gni")
-
- module_output_path = "subsystem_examples/calculator"
-
- config("module_private_config") {
- visibility = [ ":*" ]
-
- include_dirs = [ "../../../include" ]
- }
-
- ohos_unittest("CalculatorSubTest") {
- module_out_path = module_output_path
-
- sources = [
- "../../../include/calculator.h",
- "../../../src/calculator.cpp",
- ]
-
- sources += [ "calculator_sub_test.cpp" ]
-
- configs = [ ":module_private_config" ]
-
- deps = [ "//third_party/googletest:gtest_main" ]
- }
-
- group("unittest") {
- testonly = true
- deps = [":CalculatorSubTest"]
- }
- ```
- The procedure is as follows:
-
- 1. Add comment information for the file header.
- ```
- # Copyright (c) 2022 XXXX Device Co., Ltd.
- ```
- 2. Import the build template.
- ```
- import("//build/test.gni")
- ```
- 3. Specify the file output path.
- ```
- module_output_path = "subsystem_examples/calculator"
- ```
- > **NOTE** The output path is ***Part_name*/*Module_name***.
-
- 4. Configure the directories for dependencies.
-
- ```
- config("module_private_config") {
- visibility = [ ":*" ]
-
- include_dirs = [ "../../../include" ]
- }
- ```
- > **NOTE** Generally, the dependency directories are configured here and directly referenced in the build script of the test case.
-
- 5. Set the output build file for the test cases.
-
- ```
- ohos_unittest("CalculatorSubTest") {
- }
- ```
- 6. Write the build script (add the source file, configuration, and dependencies) for the test cases.
- ```
- ohos_unittest("CalculatorSubTest") {
- module_out_path = module_output_path
- sources = [
- "../../../include/calculator.h",
- "../../../src/calculator.cpp",
- "../../../test/calculator_sub_test.cpp"
- ]
- sources += [ "calculator_sub_test.cpp" ]
- configs = [ ":module_private_config" ]
- deps = [ "//third_party/googletest:gtest_main" ]
- }
- ```
-
- > **NOTE** Set the test type based on actual requirements. The following test types are available:
- > - **ohos_unittest**: unit test
- > - **ohos_moduletest**: module test
- > - **ohos_systemtest**: system test
- > - **ohos_performancetest**: performance test
- > - **ohos_securitytest**: security test
- > - **ohos_reliabilitytest**: reliability test
- > - **ohos_distributedtest**: distributed test
-
- 7. Group the test case files by test type.
-
- ```
- group("unittest") {
- testonly = true
- deps = [":CalculatorSubTest"]
- }
- ```
- > **NOTE** Grouping test cases by test type allows you to execute a specific type of test cases when required.
-
-- Test case build file example (JavaScript)
-
- ```
- # Copyright (C) 2022 XXXX Device Co., Ltd.
-
- import("//build/test.gni")
-
- module_output_path = "subsystem_examples/app_info"
-
- ohos_js_unittest("GetAppInfoJsTest") {
- module_out_path = module_output_path
-
- hap_profile = "./config.json"
- certificate_profile = "//test/developertest/signature/openharmony_sx.p7b"
- }
-
- group("unittest") {
- testonly = true
- deps = [ ":GetAppInfoJsTest" ]
- }
- ```
-
- The procedure is as follows:
-
- 1. Add comment information for the file header.
-
- ```
- # Copyright (C) 2022 XXXX Device Co., Ltd.
- ```
- 2. Import the build template.
-
- ```
- import("//build/test.gni")
- ```
- 3. Specify the file output path.
-
- ```
- module_output_path = "subsystem_examples/app_info"
- ```
- > **NOTE** The output path is ***Part_name*/*Module_name***.
-
- 4. Set the output build file for the test cases.
-
- ```
- ohos_js_unittest("GetAppInfoJsTest") {
- }
- ```
- > **NOTE**
- >- Use the **ohos\_js\_unittest** template to define the JavaScript test suite. Pay attention to the difference between JavaScript and C++.
- >- The file generated for the JavaScript test suite must be in .hap format and named after the test suite name defined here. The test suite name must end with **JsTest**.
-
- 5. Configure the **config.json** file and signature file, which are mandatory.
-
- ```
- ohos_js_unittest("GetAppInfoJsTest") {
- module_out_path = module_output_path
-
- hap_profile = "./config.json"
- certificate_profile = "//test/developertest/signature/openharmony_sx.p7b"
- }
- ```
- **config.json** is the configuration file required for HAP build. You need to set **target** based on the tested SDK version. Default values can be retained for other items. The following is an example:
-
- ```
- {
- "app": {
- "bundleName": "com.example.myapplication",
- "vendor": "example",
- "version": {
- "code": 1,
- "name": "1.0"
- },
- "apiVersion": {
- "compatible": 4,
- "target": 5 // Set it based on the tested SDK version. In this example, SDK5 is used.
- }
- },
- "deviceConfig": {},
- "module": {
- "package": "com.example.myapplication",
- "name": ".MyApplication",
- "deviceType": [
- "phone"
- ],
- "distro": {
- "deliveryWithInstall": true,
- "moduleName": "entry",
- "moduleType": "entry"
- },
- "abilities": [
- {
- "skills": [
- {
- "entities": [
- "entity.system.home"
- ],
- "actions": [
- "action.system.home"
- ]
- }
- ],
- "name": "com.example.myapplication.MainAbility",
- "icon": "$media:icon",
- "description": "$string:mainability_description",
- "label": "MyApplication",
- "type": "page",
- "launchType": "standard"
- }
- ],
- "js": [
- {
- "pages": [
- "pages/index/index"
- ],
- "name": "default",
- "window": {
- "designWidth": 720,
- "autoDesignWidth": false
- }
- }
- ]
- }
- }
- ```
- 6. Group the test case files by test type.
- ```
- group("unittest") {
- testonly = true
- deps = [ ":GetAppInfoJsTest" ]
- }
- ```
- > **NOTE** Grouping test cases by test type allows you to execute a specific type of test cases when required.
-
-#### Configuring ohos.build
-
-Configure the part build file to associate with specific test cases.
-```
-"partA": {
- "module_list": [
-
- ],
- "inner_list": [
-
- ],
- "system_kits": [
-
- ],
- "test_list": [
- "//system/subsystem/partA/calculator/test:unittest" // Configure test under calculator.
- ]
- }
-```
-> **NOTE** **test_list** contains the test cases of the corresponding module.
-
-### Configuring Test Case Resources
-Test case resources include external file resources, such as image files, video files, and third-party libraries, required for test case execution.
-
-Perform the following steps:
-1. Create the **resource** directory in the **test** directory of the part, and create a directory for the module in the **resource** directory to store resource files of the module.
-
-2. In the module directory under **resource**, create the **ohos_test.xml** file in the following format:
- ```
-
-
-
-
-
-
-
-
-
- ```
-3. In the build file of the test cases, configure **resource_config_file** to point to the resource file **ohos_test.xml**.
- ```
- ohos_unittest("CalculatorSubTest") {
- resource_config_file = "//system/subsystem/partA/test/resource/calculator/ohos_test.xml"
- }
- ```
- >**NOTE**
- >- **target_name** indicates the test suite name defined in the **BUILD.gn** file in the **test** directory.
- >- **preparer** indicates the action to perform before the test suite is executed.
- >- **src="res"** indicates that the test resources are in the **resource** directory under the **test** directory.
- >- **src="out"** indicates that the test resources are in the **out/release/$(*part*)** directory.
-
-## Executing Test Cases
-Before executing test cases, you need to modify the configuration based on the device used.
-
-### Modifying user_config.xml
-```
-
-
-
- false
-
- false
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
- cmd
- 115200
- 8
- 1
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-```
->**NOTE** If HDC is connected to the device before the test cases are executed, you only need to configure the device IP address and port number, and retain the default settings for other parameters.
-
-### Executing Test Cases on Windows
-#### Building Test Cases
-
-Test cases cannot be built on Windows. You need to run the following command to build test cases on Linux:
-```
-./build.sh --product-name hispark_taurus_standard --build-target make_test
-```
->**NOTE**
->
->- **product-name**: specifies the name of the product to build, for example, **hispark_taurus_standard**.
->- **build-target**: specifies the test case to build. **make_test** indicates all test cases. You can specify the test cases based on requirements.
-
-When the build is complete, the test cases are automatically saved in **out/hispark_taurus/packages/phone/tests**.
-
-#### Setting Up the Execution Environment
-1. On Windows, create the **Test** directory in the test framework and then create the **testcase** directory in the **Test** directory.
-
-2. Copy **developertest** and **xdevice** from the Linux environment to the **Test** directory on Windows, and copy the test cases to the **testcase** directory.
-
- >**NOTE** Port the test framework and test cases from the Linux environment to the Windows environment for subsequent execution.
-
-3. Modify the **user_config.xml** file.
- ```
-
-
- false
-
-
-
- D:\Test\testcase\tests
-
- ```
- >**NOTE** **** indicates whether to build test cases. **** indicates the path for searching for test cases.
-
-#### Executing Test Cases
-1. Start the test framework.
- ```
- start.bat
- ```
-2. Select the product.
-
- After the test framework starts, you are asked to select a product. Select the development board to test, for example, **Hi3516DV300**.
-
-3. Execute test cases.
-
- Run the following command to execute test cases:
- ```
- run -t UT -ts CalculatorSubTest -tc integer_sub_00l
- ```
- In the command:
- ```
- -t [TESTTYPE]: specifies the test case type, which can be UT, MST, ST, or PERF. This parameter is mandatory.
- -tp [TESTPART]: specifies the part to test. This parameter can be used independently.
- -tm [TESTMODULE]: specifies the module to test. This parameter must be specified together with -tp.
- -ts [TESTSUITE]: specifies the test suite. This parameter can be used independently.
- -tc [TESTCASE]: specifies the test case. This parameter must be specified together with -ts.
- You can run h to display help information.
- ```
-### Executing Test Cases on Linux
-#### Mapping the Remote Port
-To enable test cases to be executed on a remote Linux server or a Linux VM, map the port to enable communication between the device and the remote server or VM. Configure port mapping as follows:
-1. On the HDC server, run the following commands:
- ```
- hdc_std kill
- hdc_std -m -s 0.0.0.0:8710
- ```
- >**NOTE** The IP address and port number are default values.
-
-2. On the HDC client, run the following command:
- ```
- hdc_std -s xx.xx.xx.xx:8710 list targets
- ```
- >**NOTE** Enter the IP address of the device to test.
-
-#### Executing Test Cases
-1. Start the test framework.
- ```
- ./start.sh
- ```
-2. Select the product.
-
- After the test framework starts, you are asked to select a product. Select the development board to test, for example, **Hi3516DV300**.
-
-3. Execute test cases.
-
- The test framework locates the test cases based on the command, and automatically builds and executes the test cases.
- ```
- run -t UT -ts CalculatorSubTest -tc integer_sub_00l
- ```
- In the command:
- ```
- -t [TESTTYPE]: specifies the test case type, which can be UT, MST, ST, or PERF. This parameter is mandatory.
- -tp [TESTPART]: specifies the part to test. This parameter can be used independently.
- -tm [TESTMODULE]: specifies the module to test. This parameter must be specified together with -tp.
- -ts [TESTSUITE]: specifies the test suite. This parameter can be used independently.
- -tc [TESTCASE]: specifies the test case. This parameter must be specified together with -ts.
- You can run h to display help information.
- ```
-
-## Viewing the Test Report
-After the test cases are executed, the test result will be automatically generated. You can view the detailed test result in the related directory.
-
-### Test Result
-You can obtain the test result in the following directory:
-```
-test/developertest/reports/xxxx_xx_xx_xx_xx_xx
-```
->**NOTE** The folder for test reports is automatically generated.
-
-The folder contains the following files:
-| Type| Description|
-| ------------ | ------------ |
-| result/ |Test cases in standard format.|
-| log/plan_log_xxxx_xx_xx_xx_xx_xx.log | Test case logs.|
-| summary_report.html | Test report summary.|
-| details_report.html | Detailed test report.|
-
-### Test Framework Logs
-```
-reports/platform_log_xxxx_xx_xx_xx_xx_xx.log
-```
-
-### Latest Test Report
-```
-reports/latest
-```
diff --git a/en/device-dev/subsystems/subsys-xts-guide.md b/en/device-dev/subsystems/subsys-xts-guide.md
deleted file mode 100644
index 8f8996cbbf7aa5604632bfd7f5a3bf09fd0da677..0000000000000000000000000000000000000000
--- a/en/device-dev/subsystems/subsys-xts-guide.md
+++ /dev/null
@@ -1,513 +0,0 @@
-# XTS Test Case Development
-
-## Introduction
-
-The X test suite (XTS) subsystem contains a set of OpenHarmony compatibility test suites, including the currently supported application compatibility test suite (ACTS) and the device compatibility test suite (DCTS) that will be supported in the future.
-
-This subsystem contains the ACTS and **tools** software package.
-
-- The **acts** directory stores the source code and configuration files of ACTS test cases. The ACTS helps device vendors detect the software incompatibility as early as possible and ensures that the software is compatible to OpenHarmony during the entire development process.
-- The **tools** software package stores the test case development framework related to **acts**.
-
-## System Types
-
-OpenHarmony supports the following systems:
-
-- Mini system
-
- A mini system runs on a device that comes with memory greater than or equal to 128 KiB and MCU such as ARM Cortex-M and 32-bit RISC-V. It provides multiple lightweight network protocols and graphics frameworks, and a wide range of read/write components for the IoT bus. Typical products include connection modules, sensors, and wearables for smart home.
-
-- Small system
-
- A small system runs on a device that comes with memory greater than or equal to 1 MiB and application processors such as ARM Cortex-A. It provides higher security capabilities, standard graphics frameworks, and video encoding and decoding capabilities. Typical products include smart home IP cameras, electronic cat eyes, and routers, and event data recorders (EDRs) for smart travel.
-
-- Standard system
-
- A standard system runs on a device that comes with memory greater than or equal to 128 MiB and application processors such as ARM Cortex-A. It provides a complete application framework supporting the enhanced interaction, 3D GPU, hardware composer, diverse components, and rich animations. This system applies to high-end refrigerator displays.
-
-
-## Directory Structure
-
-```
-/test/xts
-├── acts # Test code
-│ └── subsystem # Source code of subsystem test cases for the standard system
-│ └── subsystem_lite # Source code of subsystems test cases for mini and small systems
-│ └── BUILD.gn # Build configuration of test cases for the standard system
-│ └── build_lite # Build configuration of test cases for the mini and small systems.
-│ └── BUILD.gn # Build configuration of test cases for mini and small systems
-└── tools # Test tool code
-```
-
-## Constraints
-
-Test cases for the mini system must be developed in C, and those for the small system must be developed in C++.
-
-## Usage Guidelines
-
-**Table 1** Test case levels
-
-| Level | Definition | Scope |
-| ----- | ----------- | ------- |
-| Level0 | Smoke | Verifies basic functionalities of key features and basic DFX attributes with the most common input. The pass result indicates that the features are runnable. |
-| Level1 | Basic | Verifies basic functionalities of key features and basic DFX attributes with common input. The pass result indicates that the features are testable. |
-| Level2 | Major | Verifies basic functionalities of key features and basic DFX attributes with common input and errors. The pass result indicates that the features are functional and ready for beta testing. |
-| Level3 | Regular | Verifies functionalities of all key features, and all DFX attributes with common and uncommon input combinations or normal and abnormal preset conditions. |
-| Level4 | Rare | Verifies functionalities of key features under extremely abnormal presets and uncommon input combinations. |
-
-
-**Table 2** Test case granularities
-
-| Test Scale | Test Objects | Test Environment |
-| ----- | ----------- | ------- |
-| LargeTest | Service functionalities, all-scenario features, and mechanical power environment (MPE) and scenario-level DFX | Devices close to real devices. |
-| MediumTest | Modules, subsystem functionalities after module integration, and DFX | Single device that is actually used. You can perform message simulation, but do not mock functions. |
-| SmallTest | Modules, classes, and functions | Local PC. Use a large number of mocks to replace dependencies with other modules. |
-
-**Table 3** Test types
-
-| Type | Definition |
-| ----------- | ------- |
-| Function | Tests the correctness of both service and platform functionalities provided by the tested object for end users or developers. |
-| Performance | Tests the processing capability of the tested object under specific preset conditions and load models. The processing capability is measured by the service volume that can be processed in a unit time, for example, call per second, frame per second, or event processing volume per second. |
-| Power | Tests the power consumption of the tested object in a certain period of time under specific preset conditions and load models. |
-| Reliability | Tests the service performance of the tested object under common and uncommon input conditions, or specified service volume pressure and long-term continuous running pressure. The test covers stability, pressure handling, fault injection, and Monkey test times. |
-| Security | Tests the capability of defending against security threats, including but not limited to unauthorized access, use, disclosure, damage, modification, and destruction, to ensure information confidentiality, integrity, and availability. Tests the privacy protection capability to ensure that the collection, use, retention, disclosure, and disposal of users' private data comply with laws and regulations. Tests the compliance with various security specifications, such as security design, security requirements, and security certification of the Ministry of Industry and Information Technology (MIIT). |
-| Global | Tests the internationalized data and localization capabilities of the tested object, including multi-language display, various input/output habits, time formats, and regional features, such as currency, time, and culture taboos. |
-| Compatibility | Tests backward compatibility of an application with its own data, the forward and backward compatibility with the system, and the compatibility with different user data, such as audio file content of the player and smart SMS messages. Tests system backward compatibility with its own data and the compatibility of common applications in the ecosystem. Tests software compatibility with related hardware. |
-| User | Tests user experience of the object in real user scenarios. All conclusions and comments should come from the users, which are all subjective evaluation in this case. |
-| Standard | Tests the compliance with industry and company-specific standards, protocols, and specifications. The standards here do not include any security standards that should be classified into the security test. |
-| Safety | Tests the safety property of the tested object to avoid possible hazards to personal safety, health, and the object itself. |
-| Resilience | Tests the resilience property of the tested object to ensure that it can withstand and maintain the defined running status (including downgrading) when being attacked, and recover from and adapt defense to the attacks to approach mission assurance. |
-
-## Test Case Development Guidelines
-
-The test framework and programming language vary with the system type.
-
-**Table 4** Test frameworks and test case languages for different systems
-
-| System | Test Framework | Language |
-| ----- | ----------- | ------- |
-| Mini | HCTest | C |
-| Small | HCPPTest | C++ |
-| Standard | HJSUnit and HCPPTest | JavaScript and C++ |
-
-### Developing Test Cases in C (for the Mini System)
-
-**Developing Test Cases for the Mini System**
-
-HCTest and the C language are used to develop test cases. HCTest is enhanced and adapted based on the open-source test framework Unity.
-
-1. Define the test case directory. The test cases are stored to **test/xts/acts**.
-
- ```
- ├── acts
- │ └──subsystem_lite
- │ │ └── module_hal
- │ │ │ └── BUILD.gn
- │ │ │ └── src
- │ └──build_lite
- │ │ └── BUILD.gn
- ```
-
-2. Write the test case in the **src** directory.
-
- (1) Include the test framework header file.
-
- ```
- #include "hctest.h"
- ```
-
- (2) Use the **LITE_TEST_SUIT** macro to define names of the subsystem, module, and test suite.
-
- ```
- /**
- * @brief register a test suite named "IntTestSuite"
- * @param test subsystem name
- * @param example module name
- * @param IntTestSuite test suite name
- */
- LITE_TEST_SUIT(test, example, IntTestSuite);
- ```
- (3) Define Setup and TearDown.
-
- Format: Test suite name+Setup, Test suite name+TearDown.
-
- The Setup and TearDown functions must exist, but function bodies can be empty.
-
- (4) Use the **LITE_TEST_CASE** macro to write the test case.
-
- Three parameters are involved: test suite name, test case name, and test case properties (including type, granularity, and level).
- ```
- LITE_TEST_CASE(IntTestSuite, TestCase001, Function | MediumTest | Level1)
- {
- // Do something.
- };
- ```
- (5) Use the **RUN_TEST_SUITE** macro to register the test suite.
- ```
- RUN_TEST_SUITE(IntTestSuite);
- ```
-3. Create the configuration file (**BUILD.gn**) of the test module.
-
- Create a **BUILD.gn** (example) file in each test module directory, and specify the name of the built static library and its dependent header files and libraries.
-
- The format is as follows:
-
- ```
- import("//test/xts/tools/lite/build/suite_lite.gni")
- hctest_suite("ActsDemoTest") {
- suite_name = "acts"
- sources = [
- "src/test_demo.c",
- ]
- include_dirs = [ ]
- cflags = [ "-Wno-error" ]
- }
- ```
-
-4. Add build options to the **BUILD.gn** file in the **acts** directory.
-
- You need to add the test module to the **test/xts/acts/build\_lite/BUILD.gn** script in the **acts** directory.
-
- ```
- lite_component("acts") {
- ...
- if(board_name == "liteos_m") {
- features += [
- ...
- "//xts/acts/subsystem_lite/module_hal:ActsDemoTest"
- ]
- }
- }
- ```
-
-5. Run build commands.
-
- Test suites are built along with the OS version. The ACTS is built together with the debug version.
-
- > **NOTE** The ACTS build middleware is a static library, which will be linked to the image.
-
-
-### Executing Test Cases in C (for the Mini System)
-
-**Executing Test Cases for the Mini System**
-
-Burn the image into the development board.
-
-**Executing the Test**
-
-1. Use a serial port tool to log in to the development board and save information about the serial port.
-2. Restart the device and view serial port logs.
-
-**Analyzing the Test Result**
-
-View the serial port logs in the following format:
-
-The log for each test suite starts with "Start to run test suite:" and ends with "xx Tests xx Failures xx Ignored".
-
-### Developing Test Cases in C++ (for Standard and Small Systems)
-
-**Developing Test Cases for Small-System Devices** (for the standard system, see the **global/i18n_standard directory**.)
-
-The HCPPTest framework, an enhanced version based on the open-source framework Googletest, is used.
-
-1. Define the test case directory. The test cases are stored to **test/xts/acts**.
-
- ```
- ├── acts
- │ └──subsystem_lite
- │ │ └── module_posix
- │ │ │ └── BUILD.gn
- │ │ │ └── src
- │ └──build_lite
- │ │ └── BUILD.gn
- ```
-
-2. Write the test case in the **src** directory.
-
- (1) Include the test framework.
-
- Include **gtest.h**.
- ```
- #include "gtest/gtest.h"
- ```
-
-
- (2) Define Setup and TearDown.
-
- ```
- using namespace std;
- using namespace testing::ext;
- class TestSuite: public testing::Test {
- protected:
- // Preset action of the test suite, which is executed before the first test case
- static void SetUpTestCase(void){
- }
- // Test suite cleanup action, which is executed after the last test case
- static void TearDownTestCase(void){
- }
- // Preset action of the test case
- virtual void SetUp()
- {
- }
- // Cleanup action of the test case
- virtual void TearDown()
- {
- }
- };
- ```
-
-
- (3) Use the **HWTEST** or **HWTEST_F** macro to write the test case.
-
- **HWTEST**: definition of common test cases, including the test suite name, test case name, and case annotation.
-
- **HWTEST_F**: definition of SetUp and TearDown test cases, including the test suite name, test case name, and case annotation.
-
- Three parameters are involved: test suite name, test case name, and test case properties (including type, granularity, and level).
-
- ```
- HWTEST_F(TestSuite, TestCase_0001, Function | MediumTest | Level1) {
- // Do something
- ```
-
-3. Create a configuration file (**BUILD.gn**) of the test module.
-
- Create a **BUILD.gn** file in each test module directory, and specify the name of the built static library and its dependent header files and libraries. Each test module is independently built into a **.bin** executable file, which can be directly pushed to the development board for testing.
-
- Example:
-
- ```
- import("//test/xts/tools/lite/build/suite_lite.gni")
- hcpptest_suite("ActsDemoTest") {
- suite_name = "acts"
- sources = [
- "src/TestDemo.cpp"
- ]
-
- include_dirs = [
- "src",
- ...
- ]
- deps = [
- ...
- ]
- cflags = [ "-Wno-error" ]
- }
- ```
-
-4. Add build options to the **BUILD.gn** file in the **acts** directory.
-
- Add the test module to the **test/xts/acts/build_lite/BUILD.gn** script in the **acts** directory.
-
- ```
- lite_component("acts") {
- ...
- else if(board_name == "liteos_a") {
- features += [
- ...
- "//xts/acts/subsystem_lite/module_posix:ActsDemoTest"
- ]
- }
- }
- ```
-
-
-5. Run build commands.
-
- Test suites are built along with the OS version. The ACTS is built together with the debug version.
-
- > **NOTE**
- >
- >The ACTS for the small system is independently built to an executable file (.bin) and archived in the **suites\acts** directory of the build result.
-
-
-### Executing Test Cases in C++ (for Standard and Small Systems)
-
-**Executing Test Cases for the Small System**
-
-Currently, test cases are shared by the NFS and mounted to the development board for execution.
-
-**Setting Up the Environment**
-
-1. Use a network cable or wireless network to connect the development board to your PC.
-
-2. Configure the IP address, subnet mask, and gateway for the development board. Ensure that the development board and the PC are in the same network segment.
-
-3. Install and register the NFS server on the PC and start the NFS service.
-
-4. Run the **mount** command for the development board to ensure that the development board can access NFS shared files on the PC.
-
- Format: **mount** _NFS server IP address_**:/**_NFS shared directory_ **/**_development board directory_ **nfs**
-
- Example:
-
- ```
- mount 192.168.1.10:/nfs /nfs nfs
- ```
-
-
-
-**Executing Test Cases**
-
-Execute **ActsDemoTest.bin** to trigger test case execution, and analyze serial port logs generated after the execution is complete.
-
-### Developing Test Cases in JavaScript (for the Standard System)
-
-The HJSUnit framework is used to support automated test of OpenHarmony apps that are developed using the JavaScript language based on the JS application framework.
-
-**Basic Syntax of Test Cases**
-
-The test cases are developed with the JavaScript language and must meet the programming specifications of the language.
-
-**Table 5** Basic syntax of test cases
-
-| Syntax | Description | Mandatory |
-| ------- | ------------- | ------------ |
-| beforeAll | Presets a test-suite-level action executed only once before all test cases are executed. You can pass the action function as the only parameter. | No |
-| afterAll | Presets a test-suite-level clear action executed only once after all test cases are executed. You can pass the clear function as the only parameter. | No |
-| beforeEach | Presets a test-case-level action executed before each test case is executed. The number of execution times is the same as the number of test cases defined by it. You can pass the action function as the only parameter. | No |
-| afterEach | Presets a test-case-level clear action executed after each test case is executed. The number of execution times is the same as the number of test cases defined by it. You can pass the clear function as the only parameter. | No |
-| describe | Defines a test suite. You can pass two parameters: test suite name and test suite function. The describe statement supports nesting. You can use beforeall, beforeEach, afterEach, and afterAll in each describe statement. | Yes |
-| it | Defines a test case. You can pass three parameters: test case name, filter parameter, and test case function. **Filter parameter:** The value is a 32-bit integer. Setting different bits to 1 means different configurations. - Setting bit 0 to **1** means bypassing the filter. - Setting bits 0-10 to **1** specifies the test case type, which can be FUNCTION (function test), PERFORMANCE (performance test), POWER (power consumption test), RELIABILITY (reliability test), SECURITY (security compliance test), GLOBAL (integrity test), COMPATIBILITY (compatibility test), USER (user test), STANDARD (standard test), SAFETY (security feature test), and RESILIENCE (resilience test), respectively. - Setting bits 16-18 to **1** specifies the test case scale, which can be SMALL (small-scale test), MEDIUM (medium-scale test), and LARGE (large-scale test), respectively. - Setting bits 24-28 to **1** specifies the test level, which can be LEVEL0 (level-0 test), LEVEL1 (level-1 test), LEVEL2 (level-2 test), LEVEL3 (level-3 test), and LEVEL4 (level-4 test), respectively. | Yes |
-
-Use the standard syntax of Jasmine to write test cases. The ES6 specification is supported.
-
-1. Define the test case directory. The test cases are stored in the **entry/src/main/js/test** directory.
-
- ```
- ├── BUILD.gn
- │ └──entry
- │ │ └──src
- │ │ │ └──main
- │ │ │ │ └──js
- │ │ │ │ │ └──default
- │ │ │ │ │ │ └──pages
- │ │ │ │ │ │ │ └──index
- │ │ │ │ │ │ │ │ └──index.js # Entry file
- │ │ │ │ │ └──test # Test code directory
- │ │ │ └── resources # HAP resources
- │ │ │ └── config.json # HAP configuration file
- ```
-
-
-2. Start the JS test framework and load test cases.
-
- The following is an example for **index.js**.
-
- ```
- // Start the JS test framework and load test cases.
- import {Core, ExpectExtend} from 'deccjsunit/index'
-
- export default {
- data: {
- title: ""
- },
- onInit() {
- this.title = this.$t('strings.world');
- },
- onShow() {
- console.info('onShow finish')
- const core = Core.getInstance()
- const expectExtend = new ExpectExtend({
- 'id': 'extend'
- })
- core.addService('expect', expectExtend)
- core.init()
- const configService = core.getDefaultService('config')
- configService.setConfig(this)
- require('../../../test/List.test')
- core.execute()
- },
- onReady() {
- },
- }
- ```
-
-
-
-3. Write a unit test case.
-
- The following is an example:
-
- ```
- // Example 1: Use HJSUnit to perform a unit test.
- describe('appInfoTest', function () {
- it('app_info_test_001', 0, function () {
- var info = app.getInfo()
- expect(info.versionName).assertEqual('1.0')
- expect(info.versionCode).assertEqual('3')
- })
- })
- ```
-
-
-
-
-### Packaging Test Cases in JavaScript (for the Standard System)
-
-For details about how to build a HAP, see the JS application development guide of the standard system [Building and Creating HAPs](https://developer.harmonyos.com/en/docs/documentation/doc-guides/build_overview-0000001055075201).
-
-## Performing a Full Build (for the Standard System)
-
-Run the following command:
-
-```
-./build.sh suite=acts system_size=standard
-```
-
-
-
-
-Test case directory: **out/release/suites/acts/testcases**
-
-Test framework and test case directory: **out/release/suites/acts** \(the test suite execution framework is compiled during the build process)
-
-
-## Executing Test Cases in a Full Build (for Small and Standard Systems)
-
-**Setting Up a Test Environment**
-
-Install Python 3.7 or a later version on a Windows environment and ensure that the Windows environment is properly connected to the test device.
-
-**Test execution directory** \(corresponding to the **out/release/suites/acts** directory generated in the build)
-
-```
-├── testcase # Directory for storing test suite files
-│ └──xxx.hap # HAP file executed by the test suite
-│ └──xxx.json # Execution configuration file of the test suite
-├── tools # Test framework tool directory
-├── run.bat # File for starting the test suite on the Windows platform
-├── report # Directory for storing the test reports
-```
-
-**Executing Test Cases**
-
-1. On the Windows environment, locate the directory in which the test cases are stored \(**out/release/suites/acts**, copied from the Linux server), go to the directory in the Windows command window, and run **acts\\run.bat**.
-
-2. Enter the command for executing the test case.
-
- - Execute all test cases.
-
- ```
- run acts
- ```
-
- 
-
- - Execute the test cases of a module \(view specific module information in **\acts\testcases\**).
-
- ```
- run –l ActsSamgrTest
- ```
-
- 
-
- You can view specific module information in **\acts\testcases\**.
-
- Wait until the test cases are complete.
-
-3. View the test report.
-
- Go to **acts\reports**, obtain the current execution record, and open **summary_report.html** to view the test report.
diff --git a/en/release-notes/OpenHarmony-v2.2-beta2.md b/en/release-notes/OpenHarmony-v2.2-beta2.md
index cfa49a7202091c9e6d068dff91b11fd1ca470c98..91bcaffdad2f96c96baabb848032aad0fa94b220 100644
--- a/en/release-notes/OpenHarmony-v2.2-beta2.md
+++ b/en/release-notes/OpenHarmony-v2.2-beta2.md
@@ -99,9 +99,9 @@ This release provides the following new and enhanced features based on OpenHarmo
For details, see:
-- [JS API Differences](api-change/v2.2-beta2/js-apidiff-v2.2-beta2.md)
+- [JS API Differences](api-diff/v2.2-beta2/js-apidiff-v2.2-beta2.md)
-- [Native API Differences](api-change/v2.2-beta2/native-apidiff-v2.2-beta2.md)
+- [Native API Differences](api-diff/v2.2-beta2/native-apidiff-v2.2-beta2.md)
## Resolved Issues
diff --git a/en/release-notes/OpenHarmony-v3.0-LTS.md b/en/release-notes/OpenHarmony-v3.0-LTS.md
index 131148f4ad92d542b68d70cc2f84edf865383c02..c6d160b70d9cf25a688d734274289631e36e231a 100644
--- a/en/release-notes/OpenHarmony-v3.0-LTS.md
+++ b/en/release-notes/OpenHarmony-v3.0-LTS.md
@@ -127,7 +127,7 @@ This version has the following updates to OpenHarmony 2.2 Beta2.
### API Updates
-For details, see [JS API Differences](api-change/v3.0-LTS/js-apidiff-v3.0-lts.md).
+For details, see [JS API Differences](api-diff/v3.0-LTS/js-apidiff-v3.0-lts.md).
### Chip and Development Board Adaptation
diff --git a/en/release-notes/OpenHarmony-v3.0.7-LTS.md b/en/release-notes/OpenHarmony-v3.0.7-LTS.md
new file mode 100644
index 0000000000000000000000000000000000000000..dbfc9f2d438a9dcede7fd8f265b89fa9a665e32f
--- /dev/null
+++ b/en/release-notes/OpenHarmony-v3.0.7-LTS.md
@@ -0,0 +1,124 @@
+# OpenHarmony 3.0.7 LTS
+
+
+## Version Description
+
+OpenHarmony 3.0.7 LTS is a maintenance version of OpenHarmony 3.0 LTS. It has rectified certain issues detected in OpenHarmony 3.0.6 LTS.
+
+
+## Version mapping
+
+ **Table 1** Version mapping of software and tools
+
+| Software/Tool| Version| Remarks|
+| -------- | -------- | -------- |
+| OpenHarmony | 3.0.7 LTS| NA |
+| (Optional) HUAWEI DevEco Studio| 3.0 Beta3 for OpenHarmony | Recommended for developing OpenHarmony applications|
+| (Optional) HUAWEI DevEco Device Tool| 3.0 Release | Recommended for developing OpenHarmony smart devices|
+
+
+## Source Code Acquisition
+
+
+### Prerequisites
+
+1. Register your account with Gitee.
+
+2. Register an SSH public key for access to Gitee.
+
+3. Install the [git client](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) and [git-lfs](https://gitee.com/vcs-all-in-one/git-lfs?_from=gitee_search#downloading), and configure user information.
+
+ ```
+ git config --global user.name "yourname"
+ git config --global user.email "your-email-address"
+ git config --global credential.helper store
+ ```
+
+4. Run the following commands to install the **repo** tool:
+
+ ```
+ curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo # If you do not have the permission, download the tool to another directory and configure it as an environment variable by running the chmod a+x /usr/local/bin/repo command.
+ pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
+ ```
+
+
+### Acquiring Source Code Using the repo Tool
+
+**Method 1 (recommended)**: Use the **repo** tool to download the source code over SSH. (You must have an SSH public key for access to Gitee.)
+
+
+```
+repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v3.0.7-LTS --no-repo-verify
+repo sync -c
+repo forall -c 'git lfs pull'
+```
+
+**Method 2**: Use the **repo** tool to download the source code over HTTPS.
+
+
+```
+repo init -u https://gitee.com/openharmony/manifest.git -b refs/tags/OpenHarmony-v3.0.7-LTS --no-repo-verify
+repo sync -c
+repo forall -c 'git lfs pull'
+```
+
+
+### Acquiring Source Code from Mirrors
+
+ **Table 2** Mirrors for acquiring source code
+
+| LTS Code| Version| Mirror| SHA-256 Checksum|
+| -------- | -------- | -------- | -------- |
+| Full code base (for mini, small, and standard systems)| 3.0.7 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.0.7/code-v3.0.7-LTS.tar.gz)| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.0.7/code-v3.0.7-LTS.tar.gz.sha256)|
+| Standard system Hi3516 solution (binary)| 3.0.7 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.0.7/standard.tar.gz)| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.0.7/standard.tar.gz.sha256)|
+| Mini system Hi3861 solution (binary)| 3.0.7 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.0.7/hispark_pegasus.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.0.7/hispark_pegasus.tar.gz.sha256) |
+| Small system Hi3516 solution - LiteOS (binary)| 3.0.7 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.0.7/hispark_taurus.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.0.7/hispark_taurus.tar.gz.sha256) |
+| Small system Hi3516 solution - Linux (binary)| 3.0.7 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.0.7/hispark_taurus_linux.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.0.7/hispark_taurus_linux.tar.gz.sha256) |
+
+
+## What's New
+
+
+### Feature Updates
+
+This version does not involve feature updates.
+
+
+### API Updates
+
+This version does not involve API updates.
+
+
+### Chip and Development Board Adaptation
+
+For details about the adaptation status, see [SIG-Devboard](https://gitee.com/openharmony/community/blob/master/sig/sig-devboard/sig_devboard.md).
+
+
+## Fixed Security Vulnerabilities
+
+ **Table 3** Fixed security vulnerabilities
+
+| Issue No.| Description| PR Link|
+| -------- | -------- | -------- |
+| I5VFI7 | Security vulnerabilities of the Kernel_linux_5.10 component: CVE-2022-3303, CVE-2022-42703, CVE-2022-20422, CVE-2022-41222, CVE-2022-3239, CVE-2022-20423 and CVE-2022-41850 | [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/508) |
+| I5UHPU | Security vulnerabilities of the Kernel_linux_5.10 component: CVE-2022-40768, CVE-2022-3577, CVE-2022-20409, CVE-2022-3566, CVE-2022-3606, CVE-2022-3564 and CVE-2022-3649| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/506) |
+| I5QBIA | Security vulnerability of the Kernel_linux_5.10 component: CVE-2022-1184 | [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/475) |
+| I5VFK1 | Security vulnerabilities of the Kernel_linux_5.10 component: CVE-2022-20421, CVE-2022-42719, CVE-2022-42720, CVE-2022-42721, CVE-2022-42722, CVE-2022-41674, CVE-2022-3535, CVE-2022-3521, CVE-2022-3565, CVE-2022-3594, CVE-2022-3435, CVE-2022-41849, CVE-2022-3524, CVE-2022-3542, and CVE-2022-3534| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/503) |
+| I5OJL9 | Security vulnerability of the Kernel_linux_5.10 component: CVE-2022-26373 | [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/495) |
+| I5WC2X | Security vulnerabilities of the Kernel_linux_5.10 component: CVE-2022-23816, CVE-2022-29901, and CVE-2022-29900| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/494) |
+| I5VQVK | Security vulnerability of the Kernel_linux_5.10 component: CVE-2022-1462 | [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/490) |
+| I5VP0D | Security vulnerabilities of the Kernel_linux_5.10 component: CVE-2022-39189, CVE-2022-39190, and CVE-2022-2663| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/489) |
+| I5QBPW | Security vulnerabilities of the Kernel_linux_5.10 component: CVE-2022-39188, CVE-2022-3078, CVE-2022-2905, and CVE-2022-39842| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/481) |
+| I5SCE3 | Security vulnerabilities of the Kernel_linux_5.10 component: CVE-2022-3202 and CVE-2022-40307| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/464) |
+| I5QBK8 | Security vulnerabilities of the Kernel_linux_5.10 component: CVE-2022-3028, CVE-2022-2977, and CVE-2022-2964| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/442) |
+| I5RQTK | Security vulnerability of the Kernel_linux_5.10 component: CVE-2022-3061 | [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/444) |
+| I5R8CM | Security vulnerabilities of the Kernel_linux_5.10 component: CVE-2022-2959 and CVE-2022-2991| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/436) |
+| I5R8BB | Security vulnerability of the Kernel_linux_5.10 component: CVE-2022-2503 | [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/435) |
+| I5R6VI | Security vulnerability of the Kernel_linux_5.10 component: CVE-2022-2938 | [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/434) |
+| I5ZA11 | Security vulnerabilities of the curl component: CVE-2022-32221, CVE-2022-42915, and CVE-2022-42916| [PR](https://gitee.com/openharmony/third_party_curl/pulls/90) |
+| I5QBFJ | Security vulnerability of the curl component: CVE-2022-35252 | [PR](https://gitee.com/openharmony/third_party_curl/pulls/85) |
+| I5UHWM | Security vulnerability of the wayland component: CVE-2021-3782 | [PR](https://gitee.com/openharmony/third_party_wayland_standard/pulls/22) |
+| I5MVPK | Security vulnerability on the css-what component: CVE-2021-33587 | [PR](https://gitee.com/openharmony/third_party_css-what/pulls/9) |
+| I5YR0H | Security vulnerability of the gstreamer component: CVE-2021-3185 | [PR](https://gitee.com/openharmony/third_party_gstreamer/pulls/207) |
+| I5XT87 | Security vulnerability of the expat component: CVE-2022-43680 | [PR](https://gitee.com/openharmony/third_party_expat/pulls/22) |
+| I5SD4W | Security vulnerability of the expat component: CVE-2022-40674 | [PR](https://gitee.com/openharmony/third_party_expat/pulls/19) |
diff --git a/en/release-notes/OpenHarmony-v3.1-beta.md b/en/release-notes/OpenHarmony-v3.1-beta.md
index 473ab75402e29ce5e78e90f793e14b4423ce19f8..634f1f6b31479e4539512502d38be6e9c0047ea5 100644
--- a/en/release-notes/OpenHarmony-v3.1-beta.md
+++ b/en/release-notes/OpenHarmony-v3.1-beta.md
@@ -128,11 +128,11 @@ This version has the following updates to OpenHarmony 3.0 LTS.
For details, see the following:
-_[JS API Differences](api-change/v3.1-beta/js-apidiff-v3.1-beta.md)_
+_[JS API Differences](api-diff/v3.1-beta/js-apidiff-v3.1-beta.md)_
-_[Native API Differences](api-change/v3.1-beta/native-apidiff-v3.1-beta.md)_
+_[Native API Differences](api-diff/v3.1-beta/native-apidiff-v3.1-beta.md)_
-_[Changelog](api-change/v3.1-beta/changelog-v3.1-beta.md)_
+_[Changelog](api-diff/v3.1-beta/changelog-v3.1-beta.md)_
### Chip and Development Board Adaptation
diff --git a/en/release-notes/OpenHarmony-v3.1-release.md b/en/release-notes/OpenHarmony-v3.1-release.md
index 21ab0449d8b55b0cda5cc901d9999d85699a08d7..ca16c902177dabef16878612b208fe60bc3ec142 100644
--- a/en/release-notes/OpenHarmony-v3.1-release.md
+++ b/en/release-notes/OpenHarmony-v3.1-release.md
@@ -189,7 +189,7 @@ This version has the following updates to OpenHarmony 3.1 Beta.
For details, see the following:
-*[API Differences](api-change/v3.1-Release/Readme-EN.md)*
+*[API Differences](api-diff/v3.1-Release/Readme-EN.md)*
### Chip and Development Board Adaptation
diff --git a/en/release-notes/OpenHarmony-v3.1.4-release.md b/en/release-notes/OpenHarmony-v3.1.4-release.md
index 3307d25c774707b1b0093c7d83d0c4583e21c8c2..0ba5cadb252fc8d9770759b02359ae428422f151 100644
--- a/en/release-notes/OpenHarmony-v3.1.4-release.md
+++ b/en/release-notes/OpenHarmony-v3.1.4-release.md
@@ -13,7 +13,7 @@ OpenHarmony 3.1.4 Release provides enhanced system security over OpenHarmony 3.1
| Software/Tool| Version| Remarks|
| -------- | -------- | -------- |
| OpenHarmony | 3.1.4 Release| NA |
-| Full SDK | Ohos_sdk_full 3.1.9.7 (API Version 8 Release)| This toolkit is intended for original equipment manufacturers (OEMs) and contains system APIs that require system permissions. To use the Full SDK, you must manually obtain it from the mirror and switch to it in DevEco Studio. For details, see [Guide to Switching to Full SDK](../application-dev/quick-start/full-sdk-switch-guide.md).|
+| Full SDK | Ohos_sdk_full 3.1.9.7 (API Version 8 Relese) | This toolkit is intended for original equipment manufacturers (OEMs) and contains system APIs that require system permissions. To use the Full SDK, you must manually obtain it from the mirror and switch to it in DevEco Studio. For details, see [Guide to Switching to Full SDK](../application-dev/quick-start/full-sdk-switch-guide.md).|
| Public SDK | Ohos_sdk_public 3.1.9.7 (API Version 8 Release)| This toolkit is intended for application developers and does not contain system APIs that require system permissions. It is provided as standard in DevEco Studio 3.0 Beta4 or later.|
| (Optional) HUAWEI DevEco Studio| 3.1 Preview for OpenHarmony| Recommended for developing OpenHarmony applications|
| (Optional) HUAWEI DevEco Device Tool| 3.0 Release| Recommended for developing OpenHarmony smart devices|
@@ -75,12 +75,12 @@ repo forall -c 'git lfs pull'
| Source Code| Version| Mirror| SHA-256 Checksum|
| -------- | -------- | -------- | -------- |
-| Full code base (for mini, small, and standard systems)| 3.1.4 Release | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/code-v3.1.4-Release.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/code-v3.1.4-Release.tar.gz.sha256) |
-| Hi3516 standard system solution (binary)| 3.1.4 Release | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/standard_hi3516.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/standard_hi3516.tar.gz.sha256) |
-| RK3568 standard system solution (binary)| 3.1.4 Release | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/standard_rk3568.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/standard_rk3568.tar.gz.sha256) |
-| Hi3861 mini system solution (binary)| 3.1.4 Release | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_pegasus.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_pegasus.tar.gz.sha256) |
-| Hi3516 small system solution - LiteOS (binary)| 3.1.4 Release | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_taurus.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_taurus.tar.gz.sha256) |
-| Hi3516 small system solution - Linux (binary)| 3.1.4 Release | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_taurus_linux.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_taurus_linux.tar.gz.sha256) |
+| Full code base (for mini, small, and standard systems)| 3.1.4 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/code-v3.1.4-Release-2022-12-12.tar.gz)| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/code-v3.1.4-Release-2022-12-12.tar.gz.sha256)|
+| Hi3516 standard system solution (binary)| 3.1.4 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/standard_hi3516.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/standard_hi3516.tar.gz.sha256) |
+| RK3568 standard system solution (binary)| 3.1.4 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/standard_rk3568.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/standard_rk3568.tar.gz.sha256) |
+| Hi3861 mini system solution (binary)| 3.1.4 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_pegasus.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_pegasus.tar.gz.sha256) |
+| Hi3516 small system solution - LiteOS (binary)| 3.1.4 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_taurus.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_taurus.tar.gz.sha256) |
+| Hi3516 small system solution - Linux (binary)| 3.1.4 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_taurus_linux.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/hispark_taurus_linux.tar.gz.sha256) |
| Full SDK package for the standard system (macOS)| 3.1.9.7 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/ohos-sdk-mac-full.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/ohos-sdk-mac-full.tar.gz.sha256) |
| Full SDK package for the standard system (Windows/Linux)| 3.1.9.7 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/ohos-sdk-full.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/ohos-sdk-full.tar.gz.sha256) |
| Public SDK package for the standard system (macOS)| 3.1.9.7 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/ohos-sdk-mac-public.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.4/ohos-sdk-mac-public.tar.gz.sha256) |
diff --git a/en/release-notes/OpenHarmony-v3.2-beta1.md b/en/release-notes/OpenHarmony-v3.2-beta1.md
index af1d74702410ed1a557c02a2ab67bc289b74ae3c..55b353757fd8ea063d99eae61469785f506f8ec8 100644
--- a/en/release-notes/OpenHarmony-v3.2-beta1.md
+++ b/en/release-notes/OpenHarmony-v3.2-beta1.md
@@ -172,7 +172,7 @@ This version has the following updates to OpenHarmony 3.1 Release.
### API Updates
-*[API Differences](api-change/v3.2-beta1/Readme-EN.md)*
+*[API Differences](api-diff/v3.2-beta1/Readme-EN.md)*
### Chip and Development Board Adaptation
@@ -204,7 +204,7 @@ For details about the adaptation status, see [SIG-Devboard](https://gitee.com/op
| ArkUI | [Game2048](https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/Game2048) | This sample shows how to develop a 2048 game using the **\** component.| eTS |
| Window Manager| [Window](https://gitee.com/openharmony/applications_app_samples/tree/master/Graphics/Window) | This sample shows how to create a window, display an application over another application in the form of a floating window, and display an application on split screens.| eTS |
| Distributed data management| [Preference](https://gitee.com/openharmony/applications_app_samples/tree/master/data/Preferences) | This sample shows the theme switching function of preferences.| eTS |
-| ArkUI | [NativeAPI](https://gitee.com/openharmony/applications_app_samples/tree/master/Native/NativeAPI) | This sample shows how to call C++ APIs in eTS and how C++ APIs call back JS APIs to play the Gomoku game. The native APIs implement the calculation logic, and eTS implements UI rendering and re-rendering.| eTS/C++ |
+| ArkUI | [NativeAPI](https://gitee.com/openharmony/app_samples/tree/master/Native/NativeAPI) | This sample shows how to call C++ APIs in eTS and how C++ APIs call back JS APIs to play the Gomoku game. The native APIs implement the calculation logic, and eTS implements UI rendering and re-rendering.| eTS/C++ |
| Globalization| [International](https://gitee.com/openharmony/applications_app_samples/tree/master/common/International) | This sample shows how to use APIs related to i18n, intl, and resourceManager in eTS to set the system language, region, time, and time zone. It also provides locale setting examples.| eTS |
For more information, visit [Samples](https://gitee.com/openharmony/applications_app_samples).
diff --git a/en/release-notes/OpenHarmony-v3.2-beta3.md b/en/release-notes/OpenHarmony-v3.2-beta3.md
index 932b16e58b23e08e69fe12daf47acc007a6f4926..506724c24b4a915053f0e7733157e398642e7a01 100644
--- a/en/release-notes/OpenHarmony-v3.2-beta3.md
+++ b/en/release-notes/OpenHarmony-v3.2-beta3.md
@@ -176,7 +176,7 @@ This version has the following updates to OpenHarmony 3.2 Beta2.
For details about the API changes, see the following:
-[API Differences](api-change/v3.2-beta3/Readme-EN.md)
+[API Differences](api-diff/v3.2-beta3/js-apidiff-ability.md)
### Chip and Development Board Adaptation
diff --git a/en/release-notes/OpenHarmony-v3.2-beta4.md b/en/release-notes/OpenHarmony-v3.2-beta4.md
new file mode 100644
index 0000000000000000000000000000000000000000..c92fa7205174bab896b300e5641f368c70918ffd
--- /dev/null
+++ b/en/release-notes/OpenHarmony-v3.2-beta4.md
@@ -0,0 +1,247 @@
+# OpenHarmony 3.2 Beta4
+
+
+## Version Description
+
+OpenHarmony 3.2 Beta4 provides the following enhancements over OpenHarmony 3.2 Beta3:
+
+**Enhanced basic capabilities for the standard system**
+
+The program access control subsystem supports forward-edge Control Flow Integrity (CFI) and provides enhanced API exception handling.
+
+The kernel subsystem provides enhanced HyperHold memory expansion and F2FS device performance optimization.
+
+The multimodal input subsystem allows applications to enable or disable keys on the keyboard and supports multi-hotspot related to input devices.
+
+The graphics subsystem supports graphics data transmission based on shared memory, YUV graphics layers, GPU compositing on RenderService, and rotation and dynamic resolution of the virtual screen.
+
+The update subsystem supports A/B hot updates, and A/B partition device updates for flashd and SD/OTG.
+
+The globalization subsystem supports on-demand subscription of device management events, overlay differentiation of system resources, and cross-OS resource management.
+
+The Misc services subsystem supports file upload in PUT mode, download task configuration, input method framework optimization and enhancement, and printing service framework.
+
+The DFX subsystem supports collection of power consumption data, system event data, and perf data.
+
+ArkTS APIs support error code reporting, which delivers higher exception handling efficiency.
+
+**Enhanced application development framework for the standard system**
+
+Dynamic library isolation is supported, and applications to be disposed can be interrupted during runtime management.
+
+Window property setting and ArkTS widget interaction are supported. The **\** provides the container component capability.
+
+Application dependencies can be configured. The list of installed and uninstalled applications can be added, deleted, and queried. The list of applications that are forbidden to run can be added, deleted, and queried.
+
+**Enhanced distributed capabilities for the standard system**
+
+The distributed hardware supports the request and import of credential parameters of the same account.
+
+
+## Version mapping
+
+ **Table 1** Version mapping of software and tools
+
+| Software/Tool| Version| Remarks|
+| -------- | -------- | -------- |
+| OpenHarmony | 3.2 Beta4 | NA |
+| Public SDK | Ohos_sdk_public 3.2.9.2 (API Version 9 Beta4) | This toolkit is intended for application developers and does not contain system APIs that require system permissions. It is provided as standard in DevEco Studio.|
+| Full SDK | Ohos_sdk_full 3.2.9.2 (API Version 9 Beta4) | This toolkit is intended for original equipment manufacturers (OEMs) and contains system APIs that require system permissions. To use the Full SDK, you must manually obtain it from the mirror and switch to it in DevEco Studio. For details, see [Guide to Switching to Full SDK](../application-dev/quick-start/full-sdk-switch-guide.md).|
+| (Optional) HUAWEI DevEco Studio| 3.1 Canary1 | Recommended for developing OpenHarmony applications|
+| (Optional) HUAWEI DevEco Device Tool| 3.1 Beta1 | Recommended for developing OpenHarmony smart devices|
+
+
+## Source Code Acquisition
+
+
+### Prerequisites
+
+1. Register your account with Gitee.
+
+2. Register an SSH public key for access to Gitee.
+
+3. Install the [git client](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) and [git-lfs](https://gitee.com/vcs-all-in-one/git-lfs?_from=gitee_search#downloading), and configure user information.
+
+ ```
+ git config --global user.name "yourname"
+ git config --global user.email "your-email-address"
+ git config --global credential.helper store
+ ```
+
+4. Run the following commands to install the **repo** tool:
+
+ ```
+ curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo # If you do not have the permission, download the tool to another directory and configure it as an environment variable by running the chmod a+x /usr/local/bin/repo command.
+ pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
+ ```
+
+
+### Acquiring Source Code Using the repo Tool
+
+**Method 1 (recommended)**
+
+Use the **repo** tool to download the source code over SSH. (You must have an SSH public key for access to Gitee.)
+
+- Obtain the source code from the version branch. You can obtain the latest source code of the version branch, which includes the code that has been incorporated into the branch up until the time you run the following commands:
+ ```
+ repo init -u git@gitee.com:openharmony/manifest.git -b OpenHarmony-3.2-Beta4 --no-repo-verify
+ repo sync -c
+ repo forall -c 'git lfs pull'
+ ```
+
+- Obtain the source code from the version tag, which is the same as that released with the version.
+ ```
+ repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v3.2-Beta4 --no-repo-verify
+ repo sync -c
+ repo forall -c 'git lfs pull'
+ ```
+
+**Method 2**
+
+Use the **repo** tool to download the source code over HTTPS.
+
+- Obtain the source code from the version branch. You can obtain the latest source code of the version branch, which includes the code that has been incorporated into the branch up until the time you run the following commands:
+ ```
+ repo init -u https://gitee.com/openharmony/manifest -b OpenHarmony-3.2-Beta4 --no-repo-verify
+ repo sync -c
+ repo forall -c 'git lfs pull'
+ ```
+
+- Obtain the source code from the version tag, which is the same as that released with the version.
+ ```
+ repo init -u https://gitee.com/openharmony/manifest -b refs/tags/OpenHarmony-v3.2-Beta4 --no-repo-verify
+ repo sync -c
+ repo forall -c 'git lfs pull'
+ ```
+
+### Acquiring Source Code from Mirrors
+
+**Table 2** Mirrors for acquiring source code
+
+| Source Code | Version| Mirror | SHA-256 Checksum | Software Package Size|
+| --------------------------------------- | ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -------- |
+| Full code base (for mini, small, and standard systems) | 3.2 Beta4 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/code-v3.2-Beta4.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/code-v3.2-Beta4.tar.gz.sha256) | 19.0 GB |
+| Hi3861 mini system solution (binary) | 3.2 Beta4 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/hispark_pegasus.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/hispark_pegasus.tar.gz.sha256) | 22.6 MB |
+| Hi3516 mini system solution - LiteOS (binary)| 3.2 Beta4 | [Download](https://repo.huaweicloud.com/openharmony/os/3.2-Beta4/hispark_taurus_LiteOS.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/3.2-Beta4/hispark_taurus_LiteOS.tar.gz.sha256) | 293.9 MB |
+| Hi3516 mini system solution - Linux (binary) | 3.2 Beta4 | [Download](https://repo.huaweicloud.com/openharmony/os/3.2-Beta4/hispark_taurus_Linux.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/3.2-Beta4/hispark_taurus_Linux.tar.gz.sha256) | 173.2 MB |
+| RK3568 standard system solution (binary) | 3.2 Beta4 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/dayu200_standard_arm32.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/dayu200_standard_arm32.tar.gz.sha256) | 3.2 GB |
+| Full SDK package for the standard system (macOS) | 3.2.9.2 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/ohos-sdk-mac-full.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/ohos-sdk-mac-full.tar.gz.sha256) | 662.5 MB |
+| Full SDK package for the standard system (Windows\Linux) | 3.2.9.2 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/ohos-sdk-windows_linux-full.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/ohos-sdk-windows_linux-full.tar.gz.sha256) | 1.5 GB |
+| Public SDK package for the standard system (macOS) | 3.2.9.2 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/ohos-sdk-mac-public.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/ohos-sdk-mac-public.tar.gz.sha256) | 622.2 MB |
+| Public SDK package for the standard system (Windows\Linux) | 3.2.9.2 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/ohos-sdk-windows_linux-public.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.2-Beta4/ohos-sdk-windows_linux-public.tar.gz.sha256) | 1.5 GB |
+
+
+### Prerequisites
+
+1. Register your account with Gitee.
+
+2. Register an SSH public key for access to Gitee.
+
+3. Install the [git client](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) and [git-lfs](https://gitee.com/vcs-all-in-one/git-lfs?_from=gitee_search#downloading), and configure user information.
+
+ ```
+ git config --global user.name "yourname"
+ git config --global user.email "your-email-address"
+ git config --global credential.helper store
+ ```
+
+4. Run the following commands to install the **repo** tool:
+
+ ```
+ curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo # If you do not have the permission, download the tool to another directory and configure it as an environment variable by running the chmod a+x /usr/local/bin/repo command.
+ pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
+ ```
+
+## What's New
+
+This version has the following updates to OpenHarmony 3.2 Beta3.
+
+
+### Feature Updates
+
+ **Table 3** New and enhanced features
+
+| Subsystem| Standard System| Mini and Small Systems|
+| -------- | -------- | -------- |
+| Common| ArkTS APIs support error code reporting, which delivers higher exception handling efficiency.| NA |
+| Ability framework| The runtime management dialog box is optimized. The following requirement is involved: I5X5J9 [ability_runtime] Optimized runtime management dialog box| NA |
+| ArkUI development framework| - The **\** component is reconstructed in the split-column scenario and single-page scenario. - The **\** provides the container component capability. The following requirements are involved: I5X5GE Enhanced interaction normalization capability I5X5FX ArkTS widget interaction I5X5G3 Reconstructed **\** component in the split-column scenario I5X5G4 Reconstructed **\** component in the single-page scenario I5X5GG Container component capability of the **\**| NA |
+| Program access control subsystem| Privacy control is provided for the use of sensitive resources. The following requirements are involved: I5RWXF [New feature] Global microphone setting management I5RWX8 [New feature] Microphone usage status management| NA |
+| SAMGR| Distributed invoking component management is added to prevent malicious application startup or keepalive. The following requirements are involved: I5T6GJ [Distributed component management] [DMS] Ability component launch management I5T6HF [Distributed component management] [DMS] ServiceAbility/ServiceExtensionAbility component launch management| NA |
+| Multimedia subsystem| - Privacy control is provided for the use of sensitive resources. - The volume can be set based on the device group, and the DTMF dial tone can be played. The following requirements are involved: I5X5HT [Enhanced feature] Device group based volume setting I5X5IF [New feature] Voice broadcast playback type and voice recognition recording type I5X48J [New feature] Support for the DTMF dial tone| NA |
+| Test subsystem| The kernel memory event analysis capability is added to SmartPerf-Host to enhance performance fault locating. The following requirement is involved: I5X55J [New feature] Kernel memory event analysis| NA |
+| Bundle management framework| Application installation and startup management is added. The following requirements are involved: I5MZ8K [New feature] Adding, deleting, and querying the list of applications that are forbidden to run I5MZ8Q [New Feature] Adding, deleting, and querying the list of installed and uninstalled applications| NA |
+| Common event and notification subsystem| The custom system HAP dialog box is used to replace the original **UIService** dialog box, reducing the ArkUI memory usage. The following requirement is involved: I5X5L0 Using a preset application instead of **UIService** to display a notification dialog box| NA |
+| Distributed hardware subsystem| The implementation of the PIN dialog box is optimized for higher module stability. The following requirement is involved: I5X5KX [Enhanced feature] Optimized implementation of the PIN dialog box| NA |
+| Update subsystem| The A/B hot upgrade feature is added. The following requirements are involved: I5X4RO [Enhanced feature] A/B update support for the update_service component I5X4RQ [Updater] Output of the A/B hot update documents I5X4RR [New feature] A/B partition device update for flashd I5X4RT [New feature] A/B partition device update for SD/OTG I5X4RU [New feature] Support for A/B hot update| NA |
+| Kernel subsystem| The ARM 64 CPU can restrict privileged users from accessing memory that can be accessed by non-privileged users. If a privileged user attempts to access such memory, an exception is thrown. The HyperHold memory uses the high-speed swap partition technology and corresponding policies to support application keepalive. The following requirements are involved: I5X5AR [New feature] ARM 64 support for PAN I5X5AS [New feature] ARM 64 support for PXN I5X5B9 [New feature] HyperHold memory expansion: The high-speed swap partition technology and corresponding policies are used to support application keepalive.| NA |
+| Graphics subsystem| The pointer style can be set in the window drag-and-drop scenario. The following requirement is involved: I5X5D9 Setting the pointer style in the window drag-and-drop scenario| NA |
+| Multi-language runtime subsystem| AOT PGO files can be generated. The following requirements are involved: I5X5K3 [New specifications] Generation of AOT PGO files I5X5K2 [New specifications] AOT PGO configuration| NA |
+| Web subsystem| - The webview component allows users to select and copy both text and text on pages. - The web component supports window events, full-screen events, and URL obtaining. The following requirements are involved: I5QA3D [New feature] [webview] Content selection and copy on a page with both texts and images I5X53B [Enhanced feature] URL obtaining support by the web component I5R6E0 [New specifications] Full-screen event support by the web component I5X53C [New specifications] Window event support by the web component| NA |
+| Misc services subsystem| - The input method framework supports listening for the switching of input methods and input method subtypes. - Files can be uploaded in PUT mode. The following requirements are involved: I5X5LA [input_method_fwk] Listening for the switching of input methods and input method subtypes I5X5LR [request] File uploading in PUT mode| NA |
+| USB subsystem| The dialog box displayed for permission request is adapted to the new system dialog box solution. The following requirement is involved: I5UYX4 [New feature] Adaptation of the permission request dialog box to the new system dialog box solution| NA |
+| File management subsystem| High-frequency APIs, such as APIs for opening and reading a file, are compatible across platforms. The following requirements are involved: I5X5E5 [fileAPI] [Capability bridging] Bridging the file I/O capability of the target platform I5X5E6 [fileAPI] [Capability bridging] Bridging the file I/O capability of the target platform I5X4P2 [filePicker] Modification to the file access framework interface| NA |
+| DFX | - HiTrace provides a unified dotting interface and call link interface. - The power consumption data and system event data can be collected. - Perf data can be collected during the startup of the JS HAP. The following requirements are involved: I5X4TY [New feature] Unified dotting interface of HiTrace: HiTraceMeter I5X4U1 [New feature] Unified call link interface of HiTrace: HiTraceChain I5X4TD [New feature] Power consumption data collection I5X4TE [New feature] System event data collection I5X4TL [New feature] Collection of perf data during JS HAP startup| NA |
+
+
+
+For details about the API changes, see the following:
+
+[API Differences](api-diff/v3.2-beta4/js-apidiff-ability.md)
+
+
+
+### Chip and Development Board Adaptation
+
+For details about the adaptation status, see [SIG-Devboard](https://gitee.com/openharmony/community/blob/master/sig/sig-devboard/sig_devboard.md).
+
+### Samples
+
+The following samples written in ArkTS are added.
+
+ **Table 4** New samples
+
+| Subsystem| Name| Introduction|
+| -------- | -------- | -------- |
+| Common event and notification subsystem| [Event Notification](https://gitee.com/openharmony/applications_app_samples/tree/master/Notification/CustomEmitter)| This sample shows the in-process event notification. After a user selects an offering and submits an order, the selected offering is displayed in the order list.|
+| Data management subsystem| [Cross-Application Data Sharing](https://gitee.com/openharmony/applications_app_samples/tree/master/data/CrossAppDataShare)| This sample implements cross-application data sharing. It provides contacts (data provider) and contacts assistant (data user). Contacts support functionalities such as adding, deleting, modifying, and querying contacts data. Contacts assistant supports contacts data synchronization and merging of duplicate data.|
+| Multimedia subsystem| [Background Music Playback](https://gitee.com/openharmony/applications_app_samples/tree/master/ResourcesSchedule/PlayMusicBackground)| This sample implements the request for a continuous task to continue music playback in the background. It is based on the stage model.|
+| Resource scheduler subsystem| [Agent-Powered Scheduled Reminder](https://gitee.com/openharmony/applications_app_samples/tree/master/ResourcesSchedule/ReminderAgentManager)| This sample uses agent-powered scheduled reminder to create three types of scheduled reminders: alarm clocks, calendar events, and countdown timers. Agent-powered scheduled reminder ensures that the timing and pop-up notification functions will be performed by the system service agent in the background when the application is frozen or exits.|
+| File management subsystem| [Storage Space Statistics](https://gitee.com/openharmony/applications_app_samples/tree/master/FileManager/StorageStatistic)| This sample uses the application package management, application space statistics, and volume management modules to implement the viewing of storage space information of the current device, all installed applications, and all available volumes.|
+| Window manager| [Screenshot](https://gitee.com/openharmony/applications_app_samples/tree/master/Graphics/Screenshot)| This sample uses the screenshot, window, and display modules to take screenshots, switch the privacy window, and query the privacy window, in sequence.|
+| Bundle management framework| [Multi-HAP](https://gitee.com/openharmony/applications_app_samples/tree/master/bundle/MultiHap)| This sample shows the development of multi-HAP. The sample app includes one entry HAP and two feature HAPs. The two feature HAPs provide audio and video playback components, respectively. The two components are also used in the entry component.|
+| Ability framework| [Ability Launch Mode](https://gitee.com/openharmony/applications_app_samples/tree/master/ability/AbilityStartMode)| This sample shows how to implement the standard, singleton, and specified ability launch modes in the stage model.|
+| Resource management| [Application Theme Switch](https://gitee.com/openharmony/applications_app_samples/tree/master/ETSUI/ApplicationThemeSwitch)| This sample creates the **dark** and **light** folders at the same level as the **base** folder to configure resources related to the dark and light themes. The custom theme file is configured in the **ThemeConst** file to implement multi-theme switching by controlling variables.|
+
+For more information, visit [Samples](https://gitee.com/openharmony/app_samples).
+
+
+
+## Resolved Issues
+
+ **Table 5** Resolved issues
+
+| Issue No.| Description|
+| -------- | -------- |
+| I5S40B | The actual sliding frame rate of **Contacts** is 30.3 fps, which is less than the baseline value (54 fps) by 23.7 fps.|
+| I5MVDK | A crash occurs when a socket fuzz test is performed on **/data/data/.pulse_dir/runtime/cli**.|
+| I5M3UO | [TTE WRC team] There is new line injection via the Wi-Fi SSID in the wifi_manager_service.|
+| I5SXXR | High-privilege processes exist in lightweight graphics.|
+
+
+## Known Issues
+
+ **Table 6** Known issues
+
+| Issue No.| Description| Impact| To Be Resolved By|
+| -------- | -------- | -------- | -------- |
+| I5KMQX | [rk3568] [ToC] [Probability: inevitably] The actual delay for a switch between the contacts and dialing subtabs is 1770.8 ms, which is 1330 ms longer than the baseline value (440 ms).| The overall static KPIs and load meet the requirements, and the impact is controllable.| 2022-12-30|
+| I61M6T | In the resident memory test performed on the RK3568 device, the actual value of the com.ohos.launcher process is 99514 KB, which exceeds the baseline value (84279 KB) by 14.8 MB.| The entire system memory meets the requirement, and the impact is controllable.| 2022-12-30|
+| I59QII | In the resident memory test performed on the RK3568 device, the actual value of the netmanager process is 3884 KB, which exceeds the baseline value (1241 KB) by 2.58 MB. In the memory test, the actual value of the netmanager process exceeds the baseline value (1241 KB) by 1 MB.| The entire system memory meets the requirement, and the impact is controllable.| 2022-12-30|
+| I5Q5PR | In the resident memory test performed on the RK3568 device, the actual value of the wifi_hal_service process is 4374 KB, which exceeds the baseline value (829 KB) by 3.4 MB.| The entire system memory meets the requirement, and the impact is controllable.| 2022-12-30|
+| I61E1I | BR P2P transmission fails between RK3568 devices.| DSoftBus can transmit data through Bluetooth and LAN, but fails to do so using BR P2P.| 2022-12-30|
+| I63DX6 | Wi-Fi P2P transmission fails between RK3568 devices| DSoftBus can transmit data through Bluetooth and LAN, but fails to do so using Wi-Fi P2P.| 2022-12-30|
+| I63FEA | [rk3568] When the system camera application is started, the preview image rotates 90 degrees counterclockwise.| This is a hardware adaptation problem. It occurs on RK3568 devices with 8 GB memory, but not on RK3568 devices with 4 GB memory| 2022-12-30|
+| I62EW1 | The media_server (L1) processes use the root permission.| Some chip component services are running in the media_server process, and therefore the root permission is required. Decoupling is required.| 2022-12-30|
+| I5XYRX, I5YTYX, I5YU16, I5YUB4, I5YUBS| The functions related to the Bluetooth protocol stack module have an out-of-bounds read vulnerability.| The functions have an out-of-bounds read vulnerability.| 2022-12-30|
+| I5SSEW, I5UFS1, I5ICMZ, I5ICM7, I5QC6H, I5R2L5, I5R2LI, I5SQO0, I5UDY5, I5YPMZ| The giflib component, das u-boot component, and kernel have known vulnerabilities.| The solutions to the vulnerabilities will be synchronized after they are released on the official website. No patch solution is available by now.| 2022-12-30|
diff --git a/en/release-notes/Readme.md b/en/release-notes/Readme.md
index f17941a51e6a3aeda9802db1bea4f937433a054b..9488272e72b92c4f3a73baebd22faaa748bf1a91 100644
--- a/en/release-notes/Readme.md
+++ b/en/release-notes/Readme.md
@@ -1,6 +1,7 @@
# OpenHarmony Release Notes
## OpenHarmony 3.x Releases
+- [OpenHarmony v3.2 Beta4 (2022-11-30)](OpenHarmony-v3.2-beta4.md)
- [OpenHarmony v3.2 Beta3 (2022-09-30)](OpenHarmony-v3.2-beta3.md)
- [OpenHarmony v3.2 Beta2 (2022-07-30)](OpenHarmony-v3.2-beta2.md)
- [OpenHarmony v3.2 Beta1 (2022-05-31)](OpenHarmony-v3.2-beta1.md)
@@ -11,6 +12,7 @@
- [OpenHarmony v3.1.1 Release (2022-05-31)](OpenHarmony-v3.1.1-release.md)
- [OpenHarmony v3.1 Beta (2021-12-31)](OpenHarmony-v3.1-beta.md)
- [OpenHarmony v3.0 LTS (2021-09-30)](OpenHarmony-v3.0-LTS.md)
+- [OpenHarmony v3.0.7 LTS (2022-12-05)](OpenHarmony-v3.0.7-LTS.md)
- [OpenHarmony v3.0.6 LTS (2022-09-15)](OpenHarmony-v3.0.6-LTS.md)
- [OpenHarmony v3.0.5 LTS (2022-07-01)](OpenHarmony-v3.0.5-LTS.md)
- [OpenHarmony v3.0.3 LTS (2022-04-08)](OpenHarmony-v3.0.3-LTS.md)
diff --git a/en/release-notes/api-change/v3.2-beta2/Readme-EN.md b/en/release-notes/api-change/v3.2-beta2/Readme-EN.md
deleted file mode 100644
index 9c0ced90f4aaeb828bdc7aeffe8d52204cfd1f67..0000000000000000000000000000000000000000
--- a/en/release-notes/api-change/v3.2-beta2/Readme-EN.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# Readme
-
-This directory records the API changes in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1, including new, updated, deprecated, and deleted APIs.
-
-- JS API Differences
- - [Ability framework](js-apidiff-ability.md)
- - [Accessibility subsystem](js-apidiff-accessibility.md)
- - [Account subsystem](js-apidiff-account.md)
- - [ArkUI development framework](js-apidiff-arkui.md)
- - [Bundle management framework](js-apidiff-bundle.md)
- - [Communication subsystem](js-apidiff-communicate.md)
- - [Utils subsystem](js-apidiff-compiler-and-runtime.md)
- - [DFX subsystem](js-apidiff-dfx.md)
- - [Distributed data management subsystem](js-apidiff-distributed-data.md)
- - [Common event and notification subsystem](js-apidiff-event-and-notification.md)
- - [File management subsystem](js-apidiff-file-management.md)
- - [Location subsystem](js-apidiff-geolocation.md)
- - [Globalization subsystem](js-apidiff-global.md)
- - [Graphics subsystem](js-apidiff-graphic.md)
- - [Misc services subsystem](js-apidiff-misc.md)
- - [Multimodal input subsystem](js-apidiff-multi-modal-input.md)
- - [Multimedia subsystem](js-apidiff-multimedia.md)
- - [Resource scheduler subsystem](js-apidiff-resource-scheduler.md)
- - [Security subsystem](js-apidiff-security.md)
- - [Pan-sensor subsystem](js-apidiff-sensor.md)
- - [DSoftBus subsystem](js-apidiff-soft-bus.md)
- - [Test subsystem](js-apidiff-unitest.md)
- - [Update subsystem](js-apidiff-update.md)
- - [USB subsystem](js-apidiff-usb.md)
- - [User IAM subsystem](js-apidiff-user-authentication.md)
- - [Web subsystem](js-apidiff-web.md)
- - [Window manager subsystem](js-apidiff-window.md)
-- ChangeLog
- - [Updates (OpenHarmony 3.2 Beta1 -> OpenHarmony 3.2 Beta2)](changelog-v3.2-beta2.md)
- - [Adaptation Guide for the Application Sandbox](application-sandbox-adaptation-guide.md)
-
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-ability.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-ability.md
new file mode 100644
index 0000000000000000000000000000000000000000..a2cf423feeac39f83fff80bacf420d3910bf6aee
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-ability.md
@@ -0,0 +1,837 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.ability.wantConstant Class name: Action Method or attribute name: ACTION_APP_ACCOUNT_AUTH|@ohos.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.Ability Class name: Ability|@ohos.app.ability.Ability.d.ts|
+|Added||Module name: ohos.app.ability.Ability Class name: Ability Method or attribute name: onConfigurationUpdate|@ohos.app.ability.Ability.d.ts|
+|Added||Module name: ohos.app.ability.Ability Class name: Ability Method or attribute name: onMemoryLevel|@ohos.app.ability.Ability.d.ts|
+|Added||Module name: ohos.app.ability.Ability Class name: Ability Method or attribute name: onSaveState|@ohos.app.ability.Ability.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: AbilityConstant|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LaunchParam|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LaunchParam Method or attribute name: launchReason|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LaunchParam Method or attribute name: lastExitReason|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LaunchReason|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LaunchReason Method or attribute name: UNKNOWN|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LaunchReason Method or attribute name: START_ABILITY|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LaunchReason Method or attribute name: CALL|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LaunchReason Method or attribute name: CONTINUATION|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LaunchReason Method or attribute name: APP_RECOVERY|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LastExitReason|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LastExitReason Method or attribute name: UNKNOWN|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LastExitReason Method or attribute name: ABILITY_NOT_RESPONDING|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: LastExitReason Method or attribute name: NORMAL|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnContinueResult|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnContinueResult Method or attribute name: AGREE|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnContinueResult Method or attribute name: REJECT|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnContinueResult Method or attribute name: MISMATCH|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: MemoryLevel|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: MemoryLevel Method or attribute name: MEMORY_LEVEL_MODERATE|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: MemoryLevel Method or attribute name: MEMORY_LEVEL_LOW|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: MemoryLevel Method or attribute name: MEMORY_LEVEL_CRITICAL|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: WindowMode|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: WindowMode Method or attribute name: WINDOW_MODE_UNDEFINED|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: WindowMode Method or attribute name: WINDOW_MODE_FULLSCREEN|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: WindowMode Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: WindowMode Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: WindowMode Method or attribute name: WINDOW_MODE_FLOATING|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnSaveResult|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnSaveResult Method or attribute name: ALL_AGREE|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnSaveResult Method or attribute name: CONTINUATION_REJECT|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnSaveResult Method or attribute name: CONTINUATION_MISMATCH|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnSaveResult Method or attribute name: RECOVERY_AGREE|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnSaveResult Method or attribute name: RECOVERY_REJECT|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: OnSaveResult Method or attribute name: ALL_REJECT|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: StateType|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: StateType Method or attribute name: CONTINUATION|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.AbilityConstant Class name: StateType Method or attribute name: APP_RECOVERY|@ohos.app.ability.AbilityConstant.d.ts|
+|Added||Module name: ohos.app.ability.abilityDelegatorRegistry Class name: abilityDelegatorRegistry|@ohos.app.ability.abilityDelegatorRegistry.d.ts|
+|Added||Module name: ohos.app.ability.abilityDelegatorRegistry Class name: abilityDelegatorRegistry Method or attribute name: getAbilityDelegator|@ohos.app.ability.abilityDelegatorRegistry.d.ts|
+|Added||Module name: ohos.app.ability.abilityDelegatorRegistry Class name: abilityDelegatorRegistry Method or attribute name: getArguments|@ohos.app.ability.abilityDelegatorRegistry.d.ts|
+|Added||Module name: ohos.app.ability.abilityDelegatorRegistry Class name: AbilityLifecycleState|@ohos.app.ability.abilityDelegatorRegistry.d.ts|
+|Added||Module name: ohos.app.ability.abilityDelegatorRegistry Class name: AbilityLifecycleState Method or attribute name: UNINITIALIZED|@ohos.app.ability.abilityDelegatorRegistry.d.ts|
+|Added||Module name: ohos.app.ability.abilityDelegatorRegistry Class name: AbilityLifecycleState Method or attribute name: CREATE|@ohos.app.ability.abilityDelegatorRegistry.d.ts|
+|Added||Module name: ohos.app.ability.abilityDelegatorRegistry Class name: AbilityLifecycleState Method or attribute name: FOREGROUND|@ohos.app.ability.abilityDelegatorRegistry.d.ts|
+|Added||Module name: ohos.app.ability.abilityDelegatorRegistry Class name: AbilityLifecycleState Method or attribute name: BACKGROUND|@ohos.app.ability.abilityDelegatorRegistry.d.ts|
+|Added||Module name: ohos.app.ability.abilityDelegatorRegistry Class name: AbilityLifecycleState Method or attribute name: DESTROY|@ohos.app.ability.abilityDelegatorRegistry.d.ts|
+|Added||Module name: ohos.app.ability.AbilityLifecycleCallback Class name: AbilityLifecycleCallback|@ohos.app.ability.AbilityLifecycleCallback.d.ts|
+|Added||Module name: ohos.app.ability.AbilityLifecycleCallback Class name: AbilityLifecycleCallback Method or attribute name: onAbilityCreate|@ohos.app.ability.AbilityLifecycleCallback.d.ts|
+|Added||Module name: ohos.app.ability.AbilityLifecycleCallback Class name: AbilityLifecycleCallback Method or attribute name: onWindowStageCreate|@ohos.app.ability.AbilityLifecycleCallback.d.ts|
+|Added||Module name: ohos.app.ability.AbilityLifecycleCallback Class name: AbilityLifecycleCallback Method or attribute name: onWindowStageActive|@ohos.app.ability.AbilityLifecycleCallback.d.ts|
+|Added||Module name: ohos.app.ability.AbilityLifecycleCallback Class name: AbilityLifecycleCallback Method or attribute name: onWindowStageInactive|@ohos.app.ability.AbilityLifecycleCallback.d.ts|
+|Added||Module name: ohos.app.ability.AbilityLifecycleCallback Class name: AbilityLifecycleCallback Method or attribute name: onWindowStageDestroy|@ohos.app.ability.AbilityLifecycleCallback.d.ts|
+|Added||Module name: ohos.app.ability.AbilityLifecycleCallback Class name: AbilityLifecycleCallback Method or attribute name: onAbilityDestroy|@ohos.app.ability.AbilityLifecycleCallback.d.ts|
+|Added||Module name: ohos.app.ability.AbilityLifecycleCallback Class name: AbilityLifecycleCallback Method or attribute name: onAbilityForeground|@ohos.app.ability.AbilityLifecycleCallback.d.ts|
+|Added||Module name: ohos.app.ability.AbilityLifecycleCallback Class name: AbilityLifecycleCallback Method or attribute name: onAbilityBackground|@ohos.app.ability.AbilityLifecycleCallback.d.ts|
+|Added||Module name: ohos.app.ability.AbilityLifecycleCallback Class name: AbilityLifecycleCallback Method or attribute name: onAbilityContinue|@ohos.app.ability.AbilityLifecycleCallback.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: abilityManager|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: AbilityState|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: AbilityState Method or attribute name: INITIAL|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: AbilityState Method or attribute name: FOREGROUND|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: AbilityState Method or attribute name: BACKGROUND|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: AbilityState Method or attribute name: FOREGROUNDING|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: AbilityState Method or attribute name: BACKGROUNDING|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: abilityManager Method or attribute name: updateConfiguration|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: abilityManager Method or attribute name: updateConfiguration|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: abilityManager Method or attribute name: getAbilityRunningInfos|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: abilityManager Method or attribute name: getAbilityRunningInfos|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: abilityManager Method or attribute name: getExtensionRunningInfos|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: abilityManager Method or attribute name: getExtensionRunningInfos|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: abilityManager Method or attribute name: getTopAbility|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.abilityManager Class name: abilityManager Method or attribute name: getTopAbility|@ohos.app.ability.abilityManager.d.ts|
+|Added||Module name: ohos.app.ability.AbilityStage Class name: AbilityStage|@ohos.app.ability.AbilityStage.d.ts|
+|Added||Module name: ohos.app.ability.AbilityStage Class name: AbilityStage Method or attribute name: context|@ohos.app.ability.AbilityStage.d.ts|
+|Added||Module name: ohos.app.ability.AbilityStage Class name: AbilityStage Method or attribute name: onCreate|@ohos.app.ability.AbilityStage.d.ts|
+|Added||Module name: ohos.app.ability.AbilityStage Class name: AbilityStage Method or attribute name: onAcceptWant|@ohos.app.ability.AbilityStage.d.ts|
+|Added||Module name: ohos.app.ability.AbilityStage Class name: AbilityStage Method or attribute name: onConfigurationUpdate|@ohos.app.ability.AbilityStage.d.ts|
+|Added||Module name: ohos.app.ability.AbilityStage Class name: AbilityStage Method or attribute name: onMemoryLevel|@ohos.app.ability.AbilityStage.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ApplicationState|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ApplicationState Method or attribute name: STATE_CREATE|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ApplicationState Method or attribute name: STATE_FOREGROUND|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ApplicationState Method or attribute name: STATE_ACTIVE|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ApplicationState Method or attribute name: STATE_BACKGROUND|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ApplicationState Method or attribute name: STATE_DESTROY|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ProcessState|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ProcessState Method or attribute name: STATE_CREATE|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ProcessState Method or attribute name: STATE_FOREGROUND|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ProcessState Method or attribute name: STATE_ACTIVE|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ProcessState Method or attribute name: STATE_BACKGROUND|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: ProcessState Method or attribute name: STATE_DESTROY|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: on_applicationState|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: on_applicationState|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: off_applicationState|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: off_applicationState|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: getForegroundApplications|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: getForegroundApplications|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: killProcessWithAccount|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: killProcessWithAccount|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: isRunningInStabilityTest|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: isRunningInStabilityTest|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: killProcessesByBundleName|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: killProcessesByBundleName|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: clearUpApplicationData|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: clearUpApplicationData|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: isRamConstrainedDevice|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: isRamConstrainedDevice|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: getAppMemorySize|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: getAppMemorySize|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: getProcessRunningInformation|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appManager Class name: appManager Method or attribute name: getProcessRunningInformation|@ohos.app.ability.appManager.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: appRecovery|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: RestartFlag|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: RestartFlag Method or attribute name: ALWAYS_RESTART|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: RestartFlag Method or attribute name: CPP_CRASH_NO_RESTART|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: RestartFlag Method or attribute name: JS_CRASH_NO_RESTART|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: RestartFlag Method or attribute name: APP_FREEZE_NO_RESTART|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: RestartFlag Method or attribute name: NO_RESTART|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: SaveOccasionFlag|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: SaveOccasionFlag Method or attribute name: SAVE_WHEN_ERROR|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: SaveOccasionFlag Method or attribute name: SAVE_WHEN_BACKGROUND|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: SaveModeFlag|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: SaveModeFlag Method or attribute name: SAVE_WITH_FILE|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: SaveModeFlag Method or attribute name: SAVE_WITH_SHARED_MEMORY|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: appRecovery Method or attribute name: enableAppRecovery|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: appRecovery Method or attribute name: restartApp|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.appRecovery Class name: appRecovery Method or attribute name: saveAppState|@ohos.app.ability.appRecovery.d.ts|
+|Added||Module name: ohos.app.ability.common Class name: common|@ohos.app.ability.common.d.ts|
+|Added||Module name: ohos.app.ability.common Class name: AreaMode|@ohos.app.ability.common.d.ts|
+|Added||Module name: ohos.app.ability.common Class name: AreaMode Method or attribute name: EL1|@ohos.app.ability.common.d.ts|
+|Added||Module name: ohos.app.ability.common Class name: AreaMode Method or attribute name: EL2|@ohos.app.ability.common.d.ts|
+|Added||Module name: ohos.app.ability.Configuration Class name: Configuration|@ohos.app.ability.Configuration.d.ts|
+|Added||Module name: ohos.app.ability.Configuration Class name: Configuration Method or attribute name: language|@ohos.app.ability.Configuration.d.ts|
+|Added||Module name: ohos.app.ability.Configuration Class name: Configuration Method or attribute name: colorMode|@ohos.app.ability.Configuration.d.ts|
+|Added||Module name: ohos.app.ability.Configuration Class name: Configuration Method or attribute name: direction|@ohos.app.ability.Configuration.d.ts|
+|Added||Module name: ohos.app.ability.Configuration Class name: Configuration Method or attribute name: screenDensity|@ohos.app.ability.Configuration.d.ts|
+|Added||Module name: ohos.app.ability.Configuration Class name: Configuration Method or attribute name: displayId|@ohos.app.ability.Configuration.d.ts|
+|Added||Module name: ohos.app.ability.Configuration Class name: Configuration Method or attribute name: hasPointerDevice|@ohos.app.ability.Configuration.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ConfigurationConstant|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ColorMode|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ColorMode Method or attribute name: COLOR_MODE_NOT_SET|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ColorMode Method or attribute name: COLOR_MODE_DARK|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ColorMode Method or attribute name: COLOR_MODE_LIGHT|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: Direction|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: Direction Method or attribute name: DIRECTION_NOT_SET|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: Direction Method or attribute name: DIRECTION_VERTICAL|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: Direction Method or attribute name: DIRECTION_HORIZONTAL|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ScreenDensity|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ScreenDensity Method or attribute name: SCREEN_DENSITY_NOT_SET|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ScreenDensity Method or attribute name: SCREEN_DENSITY_SDPI|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ScreenDensity Method or attribute name: SCREEN_DENSITY_MDPI|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ScreenDensity Method or attribute name: SCREEN_DENSITY_LDPI|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ScreenDensity Method or attribute name: SCREEN_DENSITY_XLDPI|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ScreenDensity Method or attribute name: SCREEN_DENSITY_XXLDPI|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.ConfigurationConstant Class name: ScreenDensity Method or attribute name: SCREEN_DENSITY_XXXLDPI|@ohos.app.ability.ConfigurationConstant.d.ts|
+|Added||Module name: ohos.app.ability.contextConstant Class name: contextConstant|@ohos.app.ability.contextConstant.d.ts|
+|Added||Module name: ohos.app.ability.contextConstant Class name: AreaMode|@ohos.app.ability.contextConstant.d.ts|
+|Added||Module name: ohos.app.ability.contextConstant Class name: AreaMode Method or attribute name: EL1|@ohos.app.ability.contextConstant.d.ts|
+|Added||Module name: ohos.app.ability.contextConstant Class name: AreaMode Method or attribute name: EL2|@ohos.app.ability.contextConstant.d.ts|
+|Added||Module name: ohos.app.ability.EnvironmentCallback Class name: EnvironmentCallback|@ohos.app.ability.EnvironmentCallback.d.ts|
+|Added||Module name: ohos.app.ability.EnvironmentCallback Class name: EnvironmentCallback Method or attribute name: onConfigurationUpdated|@ohos.app.ability.EnvironmentCallback.d.ts|
+|Added||Module name: ohos.app.ability.errorManager Class name: errorManager|@ohos.app.ability.errorManager.d.ts|
+|Added||Module name: ohos.app.ability.errorManager Class name: errorManager Method or attribute name: on_error|@ohos.app.ability.errorManager.d.ts|
+|Added||Module name: ohos.app.ability.errorManager Class name: errorManager Method or attribute name: off_error|@ohos.app.ability.errorManager.d.ts|
+|Added||Module name: ohos.app.ability.errorManager Class name: errorManager Method or attribute name: off_error|@ohos.app.ability.errorManager.d.ts|
+|Added||Module name: ohos.app.ability.ExtensionAbility Class name: ExtensionAbility|@ohos.app.ability.ExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: on_mission|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: off_mission|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: off_mission|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: getMissionInfo|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: getMissionInfo|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: getMissionInfos|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: getMissionInfos|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: getMissionSnapShot|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: getMissionSnapShot|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: getLowResolutionMissionSnapShot|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: getLowResolutionMissionSnapShot|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: lockMission|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: lockMission|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: unlockMission|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: unlockMission|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: clearMission|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: clearMission|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: clearAllMissions|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: clearAllMissions|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: moveMissionToFront|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: moveMissionToFront|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.missionManager Class name: missionManager Method or attribute name: moveMissionToFront|@ohos.app.ability.missionManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: quickFixManager|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: HapModuleQuickFixInfo|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: HapModuleQuickFixInfo Method or attribute name: moduleName|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: HapModuleQuickFixInfo Method or attribute name: originHapHash|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: HapModuleQuickFixInfo Method or attribute name: quickFixFilePath|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: ApplicationQuickFixInfo|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: bundleName|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: bundleVersionCode|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: bundleVersionName|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: quickFixVersionCode|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: quickFixVersionName|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: hapModuleQuickFixInfo|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: quickFixManager Method or attribute name: applyQuickFix|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: quickFixManager Method or attribute name: applyQuickFix|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: quickFixManager Method or attribute name: getApplicationQuickFixInfo|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.quickFixManager Class name: quickFixManager Method or attribute name: getApplicationQuickFixInfo|@ohos.app.ability.quickFixManager.d.ts|
+|Added||Module name: ohos.app.ability.ServiceExtensionAbility Class name: ServiceExtensionAbility|@ohos.app.ability.ServiceExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.ServiceExtensionAbility Class name: ServiceExtensionAbility Method or attribute name: context|@ohos.app.ability.ServiceExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.ServiceExtensionAbility Class name: ServiceExtensionAbility Method or attribute name: onCreate|@ohos.app.ability.ServiceExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.ServiceExtensionAbility Class name: ServiceExtensionAbility Method or attribute name: onDestroy|@ohos.app.ability.ServiceExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.ServiceExtensionAbility Class name: ServiceExtensionAbility Method or attribute name: onRequest|@ohos.app.ability.ServiceExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.ServiceExtensionAbility Class name: ServiceExtensionAbility Method or attribute name: onConnect|@ohos.app.ability.ServiceExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.ServiceExtensionAbility Class name: ServiceExtensionAbility Method or attribute name: onDisconnect|@ohos.app.ability.ServiceExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.ServiceExtensionAbility Class name: ServiceExtensionAbility Method or attribute name: onReconnect|@ohos.app.ability.ServiceExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.ServiceExtensionAbility Class name: ServiceExtensionAbility Method or attribute name: onConfigurationUpdate|@ohos.app.ability.ServiceExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.ServiceExtensionAbility Class name: ServiceExtensionAbility Method or attribute name: onDump|@ohos.app.ability.ServiceExtensionAbility.d.ts|
+|Added||Module name: ohos.app.ability.StartOptions Class name: StartOptions|@ohos.app.ability.StartOptions.d.ts|
+|Added||Module name: ohos.app.ability.StartOptions Class name: StartOptions Method or attribute name: windowMode|@ohos.app.ability.StartOptions.d.ts|
+|Added||Module name: ohos.app.ability.StartOptions Class name: StartOptions Method or attribute name: displayId|@ohos.app.ability.StartOptions.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: OnReleaseCallback|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: OnReleaseCallback Method or attribute name: OnReleaseCallback|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: CalleeCallback|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: CalleeCallback Method or attribute name: CalleeCallback|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Caller|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Caller Method or attribute name: call|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Caller Method or attribute name: callWithResult|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Caller Method or attribute name: release|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Caller Method or attribute name: onRelease|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Caller Method or attribute name: on_release|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Caller Method or attribute name: off_release|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Caller Method or attribute name: off_release|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Callee|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Callee Method or attribute name: on|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: Callee Method or attribute name: off|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: context|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: launchWant|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: lastRequestWant|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: callee|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: onCreate|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: onWindowStageCreate|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: onWindowStageDestroy|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: onWindowStageRestore|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: onDestroy|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: onForeground|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: onBackground|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: onContinue|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: onNewWant|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.UIAbility Class name: UIAbility Method or attribute name: onDump|@ohos.app.ability.UIAbility.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want Method or attribute name: deviceId|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want Method or attribute name: bundleName|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want Method or attribute name: abilityName|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want Method or attribute name: uri|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want Method or attribute name: type|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want Method or attribute name: flags|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want Method or attribute name: action|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want Method or attribute name: parameters|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want Method or attribute name: entities|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.Want Class name: Want Method or attribute name: moduleName|@ohos.app.ability.Want.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: getBundleName|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: getBundleName|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: getUid|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: getUid|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: getWant|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: getWant|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: cancel|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: cancel|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: trigger|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: trigger|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: equal|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: equal|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: getWantAgent|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: getWantAgent|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: getOperationType|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: wantAgent Method or attribute name: getOperationType|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags Method or attribute name: ONE_TIME_FLAG|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags Method or attribute name: NO_BUILD_FLAG|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags Method or attribute name: CANCEL_PRESENT_FLAG|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags Method or attribute name: UPDATE_PRESENT_FLAG|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags Method or attribute name: CONSTANT_FLAG|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags Method or attribute name: REPLACE_ELEMENT|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags Method or attribute name: REPLACE_ACTION|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags Method or attribute name: REPLACE_URI|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags Method or attribute name: REPLACE_ENTITIES|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: WantAgentFlags Method or attribute name: REPLACE_BUNDLE|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: OperationType|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: OperationType Method or attribute name: UNKNOWN_TYPE|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: OperationType Method or attribute name: START_ABILITY|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: OperationType Method or attribute name: START_ABILITIES|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: OperationType Method or attribute name: START_SERVICE|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: OperationType Method or attribute name: SEND_COMMON_EVENT|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: CompleteData|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: CompleteData Method or attribute name: info|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: CompleteData Method or attribute name: want|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: CompleteData Method or attribute name: finalCode|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: CompleteData Method or attribute name: finalData|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantAgent Class name: CompleteData Method or attribute name: extraInfo|@ohos.app.ability.wantAgent.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: wantConstant|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_HOME|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_DIAL|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_SEARCH|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_WIRELESS_SETTINGS|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_MANAGE_APPLICATIONS_SETTINGS|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_APPLICATION_DETAILS_SETTINGS|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_SET_ALARM|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_SHOW_ALARMS|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_SNOOZE_ALARM|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_DISMISS_ALARM|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_DISMISS_TIMER|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_SEND_SMS|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_CHOOSE|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_IMAGE_CAPTURE|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_VIDEO_CAPTURE|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_SELECT|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_SEND_DATA|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_SEND_MULTIPLE_DATA|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_SCAN_MEDIA_FILE|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_VIEW_DATA|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_EDIT_DATA|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: INTENT_PARAMS_INTENT|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: INTENT_PARAMS_TITLE|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_FILE_SELECT|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: PARAMS_STREAM|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_APP_ACCOUNT_AUTH|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_MARKET_DOWNLOAD|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: ACTION_MARKET_CROWDTEST|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: DLP_PARAMS_SANDBOX|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: DLP_PARAMS_BUNDLE_NAME|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: DLP_PARAMS_MODULE_NAME|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: DLP_PARAMS_ABILITY_NAME|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Action Method or attribute name: DLP_PARAMS_INDEX|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Entity|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Entity Method or attribute name: ENTITY_DEFAULT|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Entity Method or attribute name: ENTITY_HOME|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Entity Method or attribute name: ENTITY_VOICE|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Entity Method or attribute name: ENTITY_BROWSABLE|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Entity Method or attribute name: ENTITY_VIDEO|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_AUTH_READ_URI_PERMISSION|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_AUTH_WRITE_URI_PERMISSION|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_ABILITY_FORWARD_RESULT|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_ABILITY_CONTINUATION|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_NOT_OHOS_COMPONENT|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_ABILITY_FORM_ENABLED|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_AUTH_PERSISTABLE_URI_PERMISSION|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_AUTH_PREFIX_URI_PERMISSION|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_ABILITYSLICE_MULTI_DEVICE|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_START_FOREGROUND_ABILITY|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_ABILITY_CONTINUATION_REVERSIBLE|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_INSTALL_ON_DEMAND|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_INSTALL_WITH_BACKGROUND_MODE|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_ABILITY_CLEAR_MISSION|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_ABILITY_NEW_MISSION|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.ability.wantConstant Class name: Flags Method or attribute name: FLAG_ABILITY_MISSION_TOP|@ohos.app.ability.wantConstant.d.ts|
+|Added||Module name: ohos.app.form.formBindingData Class name: formBindingData|@ohos.app.form.formBindingData.d.ts|
+|Added||Module name: ohos.app.form.formBindingData Class name: formBindingData Method or attribute name: createFormBindingData|@ohos.app.form.formBindingData.d.ts|
+|Added||Module name: ohos.app.form.formBindingData Class name: FormBindingData|@ohos.app.form.formBindingData.d.ts|
+|Added||Module name: ohos.app.form.formBindingData Class name: FormBindingData Method or attribute name: data|@ohos.app.form.formBindingData.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility Method or attribute name: context|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility Method or attribute name: onAddForm|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility Method or attribute name: onCastToNormalForm|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility Method or attribute name: onUpdateForm|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility Method or attribute name: onChangeFormVisibility|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility Method or attribute name: onFormEvent|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility Method or attribute name: onRemoveForm|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility Method or attribute name: onConfigurationUpdate|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility Method or attribute name: onAcquireFormState|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.FormExtensionAbility Class name: FormExtensionAbility Method or attribute name: onShareForm|@ohos.app.form.FormExtensionAbility.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: deleteForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: deleteForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: releaseForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: releaseForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: releaseForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: requestForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: requestForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: castToNormalForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: castToNormalForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: notifyVisibleForms|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: notifyVisibleForms|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: notifyInvisibleForms|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: notifyInvisibleForms|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: enableFormsUpdate|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: enableFormsUpdate|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: disableFormsUpdate|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: disableFormsUpdate|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: isSystemReady|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: isSystemReady|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: getAllFormsInfo|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: getAllFormsInfo|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: getFormsInfo|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: getFormsInfo|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: getFormsInfo|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: deleteInvalidForms|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: deleteInvalidForms|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: acquireFormState|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: acquireFormState|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: on_formUninstall|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: off_formUninstall|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: notifyFormsVisible|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: notifyFormsVisible|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: notifyFormsEnableUpdate|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: notifyFormsEnableUpdate|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: shareForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: shareForm|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: notifyFormsPrivacyProtected|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formHost Class name: formHost Method or attribute name: notifyFormsPrivacyProtected|@ohos.app.form.formHost.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: formInfo|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: bundleName|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: moduleName|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: abilityName|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: name|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: description|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: type|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: jsComponentName|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: colorMode|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: isDefault|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: updateEnabled|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: formVisibleNotify|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: relatedBundleName|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: scheduledUpdateTime|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: formConfigAbility|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: updateDuration|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: defaultDimension|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: supportDimensions|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfo Method or attribute name: customizeData|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormType|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormType Method or attribute name: JS|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormType Method or attribute name: eTS|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: ColorMode|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: ColorMode Method or attribute name: MODE_AUTO|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: ColorMode Method or attribute name: MODE_DARK|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: ColorMode Method or attribute name: MODE_LIGHT|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormStateInfo|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormStateInfo Method or attribute name: formState|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormStateInfo Method or attribute name: want|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormState|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormState Method or attribute name: UNKNOWN|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormState Method or attribute name: DEFAULT|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormState Method or attribute name: READY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam Method or attribute name: IDENTITY_KEY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam Method or attribute name: DIMENSION_KEY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam Method or attribute name: NAME_KEY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam Method or attribute name: MODULE_NAME_KEY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam Method or attribute name: WIDTH_KEY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam Method or attribute name: HEIGHT_KEY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam Method or attribute name: TEMPORARY_KEY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam Method or attribute name: BUNDLE_NAME_KEY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam Method or attribute name: ABILITY_NAME_KEY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormParam Method or attribute name: DEVICE_ID_KEY|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfoFilter|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormInfoFilter Method or attribute name: moduleName|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormDimension|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormDimension Method or attribute name: Dimension_1_2|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormDimension Method or attribute name: Dimension_2_2|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormDimension Method or attribute name: Dimension_2_4|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormDimension Method or attribute name: Dimension_4_4|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: FormDimension Method or attribute name: Dimension_2_1|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: VisibilityType|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: VisibilityType Method or attribute name: FORM_VISIBLE|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formInfo Class name: VisibilityType Method or attribute name: FORM_INVISIBLE|@ohos.app.form.formInfo.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: setFormNextRefreshTime|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: setFormNextRefreshTime|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: updateForm|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: updateForm|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: getFormsInfo|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: getFormsInfo|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: getFormsInfo|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: requestPublishForm|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: requestPublishForm|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: requestPublishForm|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: isRequestPublishFormSupported|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.app.form.formProvider Class name: formProvider Method or attribute name: isRequestPublishFormSupported|@ohos.app.form.formProvider.d.ts|
+|Added||Module name: ohos.application.Ability Class name: Ability Method or attribute name: onSaveState|@ohos.application.Ability.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: LaunchReason Method or attribute name: APP_RECOVERY|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: OnSaveResult|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: OnSaveResult Method or attribute name: ALL_AGREE|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: OnSaveResult Method or attribute name: CONTINUATION_REJECT|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: OnSaveResult Method or attribute name: CONTINUATION_MISMATCH|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: OnSaveResult Method or attribute name: RECOVERY_AGREE|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: OnSaveResult Method or attribute name: RECOVERY_REJECT|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: OnSaveResult Method or attribute name: ALL_REJECT|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: StateType|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: StateType Method or attribute name: CONTINUATION|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.AbilityConstant Class name: StateType Method or attribute name: APP_RECOVERY|@ohos.application.AbilityConstant.d.ts|
+|Added||Module name: ohos.application.ExtensionAbility Class name: ExtensionAbility|@ohos.application.ExtensionAbility.d.ts|
+|Added||Module name: ohos.application.ExtensionAbility Class name: ExtensionAbility Method or attribute name: onConfigurationUpdated|@ohos.application.ExtensionAbility.d.ts|
+|Added||Module name: ohos.application.ExtensionAbility Class name: ExtensionAbility Method or attribute name: onMemoryLevel|@ohos.application.ExtensionAbility.d.ts|
+|Added||Module name: ohos.application.formHost Class name: formHost Method or attribute name: notifyFormsPrivacyProtected|@ohos.application.formHost.d.ts|
+|Added||Module name: ohos.application.formHost Class name: formHost Method or attribute name: notifyFormsPrivacyProtected|@ohos.application.formHost.d.ts|
+|Added||Module name: ohos.application.formInfo Class name: FormType Method or attribute name: eTS|@ohos.application.formInfo.d.ts|
+|Added||Module name: ohos.application.formInfo Class name: VisibilityType|@ohos.application.formInfo.d.ts|
+|Added||Module name: ohos.application.formInfo Class name: VisibilityType Method or attribute name: FORM_VISIBLE|@ohos.application.formInfo.d.ts|
+|Added||Module name: ohos.application.formInfo Class name: VisibilityType Method or attribute name: FORM_INVISIBLE|@ohos.application.formInfo.d.ts|
+|Added||Module name: ohos.continuation.continuationManager Class name: continuationManager Method or attribute name: registerContinuation|@ohos.continuation.continuationManager.d.ts|
+|Added||Module name: ohos.continuation.continuationManager Class name: continuationManager Method or attribute name: registerContinuation|@ohos.continuation.continuationManager.d.ts|
+|Added||Module name: ohos.continuation.continuationManager Class name: continuationManager Method or attribute name: registerContinuation|@ohos.continuation.continuationManager.d.ts|
+|Added||Module name: ohos.continuation.continuationManager Class name: continuationManager Method or attribute name: unregisterContinuation|@ohos.continuation.continuationManager.d.ts|
+|Added||Module name: ohos.continuation.continuationManager Class name: continuationManager Method or attribute name: unregisterContinuation|@ohos.continuation.continuationManager.d.ts|
+|Added||Module name: ohos.continuation.continuationManager Class name: continuationManager Method or attribute name: updateContinuationState|@ohos.continuation.continuationManager.d.ts|
+|Added||Module name: ohos.continuation.continuationManager Class name: continuationManager Method or attribute name: updateContinuationState|@ohos.continuation.continuationManager.d.ts|
+|Added||Module name: ohos.continuation.continuationManager Class name: continuationManager Method or attribute name: startContinuationDeviceManager|@ohos.continuation.continuationManager.d.ts|
+|Added||Module name: ohos.continuation.continuationManager Class name: continuationManager Method or attribute name: startContinuationDeviceManager|@ohos.continuation.continuationManager.d.ts|
+|Added||Module name: ohos.continuation.continuationManager Class name: continuationManager Method or attribute name: startContinuationDeviceManager|@ohos.continuation.continuationManager.d.ts|
+|Added||Module name: ohos.distributedMissionManager Class name: distributedMissionManager Method or attribute name: continueMission|@ohos.distributedMissionManager.d.ts|
+|Added||Module name: ohos.distributedMissionManager Class name: distributedMissionManager Method or attribute name: continueMission|@ohos.distributedMissionManager.d.ts|
+|Added||Module name: AbilityContext Class name: AbilityContext Method or attribute name: connectServiceExtensionAbility|AbilityContext.d.ts|
+|Added||Module name: AbilityContext Class name: AbilityContext Method or attribute name: connectServiceExtensionAbilityWithAccount|AbilityContext.d.ts|
+|Added||Module name: AbilityContext Class name: AbilityContext Method or attribute name: disconnectServiceExtensionAbility|AbilityContext.d.ts|
+|Added||Module name: AbilityContext Class name: AbilityContext Method or attribute name: disconnectServiceExtensionAbility|AbilityContext.d.ts|
+|Added||Method or attribute name: waitAbilityMonitor Function name: waitAbilityMonitor(monitor: AbilityMonitor, callback: AsyncCallback): void;|abilityDelegator.d.ts|
+|Added||Method or attribute name: waitAbilityMonitor Function name: waitAbilityMonitor(monitor: AbilityMonitor, timeout: number, callback: AsyncCallback): void;|abilityDelegator.d.ts|
+|Added||Method or attribute name: waitAbilityMonitor Function name: waitAbilityMonitor(monitor: AbilityMonitor, timeout?: number): Promise;|abilityDelegator.d.ts|
+|Added||Method or attribute name: getAbilityState Function name: getAbilityState(ability: UIAbility): number;|abilityDelegator.d.ts|
+|Added||Method or attribute name: getCurrentTopAbility Function name: getCurrentTopAbility(callback: AsyncCallback): void;|abilityDelegator.d.ts|
+|Added||Method or attribute name: getCurrentTopAbility Function name: getCurrentTopAbility(): Promise|abilityDelegator.d.ts|
+|Added||Method or attribute name: doAbilityForeground Function name: doAbilityForeground(ability: UIAbility, callback: AsyncCallback): void;|abilityDelegator.d.ts|
+|Added||Method or attribute name: doAbilityForeground Function name: doAbilityForeground(ability: UIAbility): Promise;|abilityDelegator.d.ts|
+|Added||Method or attribute name: doAbilityBackground Function name: doAbilityBackground(ability: UIAbility, callback: AsyncCallback): void;|abilityDelegator.d.ts|
+|Added||Method or attribute name: doAbilityBackground Function name: doAbilityBackground(ability: UIAbility): Promise;|abilityDelegator.d.ts|
+|Added||Module name: abilityMonitor Class name: AbilityMonitor Method or attribute name: moduleName|abilityMonitor.d.ts|
+|Added||Method or attribute name: onAbilityCreate Function name: onAbilityCreate?:(ability: UIAbility) => void;|abilityMonitor.d.ts|
+|Added||Method or attribute name: onAbilityForeground Function name: onAbilityForeground?:(ability: UIAbility) => void;|abilityMonitor.d.ts|
+|Added||Method or attribute name: onAbilityBackground Function name: onAbilityBackground?:(ability: UIAbility) => void;|abilityMonitor.d.ts|
+|Added||Method or attribute name: onAbilityDestroy Function name: onAbilityDestroy?:(ability: UIAbility) => void;|abilityMonitor.d.ts|
+|Added||Method or attribute name: onWindowStageCreate Function name: onWindowStageCreate?:(ability: UIAbility) => void;|abilityMonitor.d.ts|
+|Added||Method or attribute name: onWindowStageRestore Function name: onWindowStageRestore?:(ability: UIAbility) => void;|abilityMonitor.d.ts|
+|Added||Method or attribute name: onWindowStageDestroy Function name: onWindowStageDestroy?:(ability: UIAbility) => void;|abilityMonitor.d.ts|
+|Added||Module name: ApplicationContext Class name: ApplicationContext Method or attribute name: on_abilityLifecycle|ApplicationContext.d.ts|
+|Added||Module name: ApplicationContext Class name: ApplicationContext Method or attribute name: off_abilityLifecycle|ApplicationContext.d.ts|
+|Added||Module name: ApplicationContext Class name: ApplicationContext Method or attribute name: off_abilityLifecycle|ApplicationContext.d.ts|
+|Added||Module name: ApplicationContext Class name: ApplicationContext Method or attribute name: on_environment|ApplicationContext.d.ts|
+|Added||Module name: ApplicationContext Class name: ApplicationContext Method or attribute name: off_environment|ApplicationContext.d.ts|
+|Added||Module name: ApplicationContext Class name: ApplicationContext Method or attribute name: off_environment|ApplicationContext.d.ts|
+|Added||Module name: ApplicationContext Class name: ApplicationContext Method or attribute name: getProcessRunningInformation|ApplicationContext.d.ts|
+|Added||Module name: ApplicationContext Class name: ApplicationContext Method or attribute name: getProcessRunningInformation|ApplicationContext.d.ts|
+|Added||Module name: ApplicationContext Class name: ApplicationContext Method or attribute name: killProcessesBySelf|ApplicationContext.d.ts|
+|Added||Module name: ApplicationContext Class name: ApplicationContext Method or attribute name: killProcessesBySelf|ApplicationContext.d.ts|
+|Added||Module name: ContinueCallback Class name: ContinueCallback|ContinueCallback.d.ts|
+|Added||Module name: ContinueCallback Class name: ContinueCallback Method or attribute name: onContinueDone|ContinueCallback.d.ts|
+|Added||Module name: ContinueDeviceInfo Class name: ContinueDeviceInfo|ContinueDeviceInfo.d.ts|
+|Added||Module name: ContinueDeviceInfo Class name: ContinueDeviceInfo Method or attribute name: srcDeviceId|ContinueDeviceInfo.d.ts|
+|Added||Module name: ContinueDeviceInfo Class name: ContinueDeviceInfo Method or attribute name: dstDeviceId|ContinueDeviceInfo.d.ts|
+|Added||Module name: ContinueDeviceInfo Class name: ContinueDeviceInfo Method or attribute name: missionId|ContinueDeviceInfo.d.ts|
+|Added||Module name: ContinueDeviceInfo Class name: ContinueDeviceInfo Method or attribute name: wantParam|ContinueDeviceInfo.d.ts|
+|Added||Module name: MissionListener Class name: MissionListener Method or attribute name: onMissionLabelUpdated|MissionListener.d.ts|
+|Added||Module name: ServiceExtensionContext Class name: ServiceExtensionContext Method or attribute name: connectServiceExtensionAbility|ServiceExtensionContext.d.ts|
+|Added||Module name: ServiceExtensionContext Class name: ServiceExtensionContext Method or attribute name: connectServiceExtensionAbilityWithAccount|ServiceExtensionContext.d.ts|
+|Added||Module name: ServiceExtensionContext Class name: ServiceExtensionContext Method or attribute name: disconnectServiceExtensionAbility|ServiceExtensionContext.d.ts|
+|Added||Module name: ServiceExtensionContext Class name: ServiceExtensionContext Method or attribute name: disconnectServiceExtensionAbility|ServiceExtensionContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: abilityInfo|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: currentHapModuleInfo|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: config|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbility|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbility|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbility|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbilityByCall|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbilityWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbilityWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbilityWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbilityForResult|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbilityForResult|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbilityForResult|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbilityForResultWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbilityForResultWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startAbilityForResultWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startServiceExtensionAbility|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startServiceExtensionAbility|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startServiceExtensionAbilityWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: startServiceExtensionAbilityWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: stopServiceExtensionAbility|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: stopServiceExtensionAbility|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: stopServiceExtensionAbilityWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: stopServiceExtensionAbilityWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: terminateSelf|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: terminateSelf|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: terminateSelfWithResult|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: terminateSelfWithResult|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: connectServiceExtensionAbility|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: connectServiceExtensionAbilityWithAccount|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: disconnectServiceExtensionAbility|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: disconnectServiceExtensionAbility|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: setMissionLabel|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: setMissionLabel|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: setMissionIcon|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: setMissionIcon|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: requestPermissionsFromUser|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: requestPermissionsFromUser|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: restoreWindowStage|UIAbilityContext.d.ts|
+|Added||Module name: UIAbilityContext Class name: UIAbilityContext Method or attribute name: isTerminating|UIAbilityContext.d.ts|
+|Deleted|Module name: ohos.application.context Class name: AreaMode||@ohos.application.context.d.ts|
+|Deleted|Module name: ohos.application.context Class name: AreaMode Method or attribute name: EL1||@ohos.application.context.d.ts|
+|Deleted|Module name: ohos.application.context Class name: AreaMode Method or attribute name: EL2||@ohos.application.context.d.ts|
+|Deleted|Module name: ohos.application.formInfo Class name: VisibilityType||@ohos.application.formInfo.d.ts|
+|Deleted|Module name: ohos.application.formInfo Class name: VisibilityType Method or attribute name: FORM_VISIBLE||@ohos.application.formInfo.d.ts|
+|Deleted|Module name: ohos.application.formInfo Class name: VisibilityType Method or attribute name: FORM_INVISIBLE||@ohos.application.formInfo.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: quickFixManager||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: HapModuleQuickFixInfo||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: HapModuleQuickFixInfo Method or attribute name: moduleName||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: HapModuleQuickFixInfo Method or attribute name: originHapHash||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: HapModuleQuickFixInfo Method or attribute name: quickFixFilePath||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: ApplicationQuickFixInfo||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: bundleName||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: bundleVersionCode||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: bundleVersionName||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: quickFixVersionCode||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: quickFixVersionName||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: ApplicationQuickFixInfo Method or attribute name: hapModuleQuickFixInfo||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: quickFixManager Method or attribute name: applyQuickFix||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: quickFixManager Method or attribute name: applyQuickFix||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: quickFixManager Method or attribute name: getApplicationQuickFixInfo||@ohos.application.quickFixManager.d.ts|
+|Deleted|Module name: ohos.application.quickFixManager Class name: quickFixManager Method or attribute name: getApplicationQuickFixInfo||@ohos.application.quickFixManager.d.ts|
+|Model changed|Class name: ability model: @Stage Model Only|Class name: ability model: @ FA Model Only|@ohos.ability.ability.d.ts|
+|Model changed|Class name: AbilityContext model: @Stage Model Only|Class name: AbilityContext model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: abilityInfo model: @Stage Model Only|Method or attribute name: abilityInfo model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: currentHapModuleInfo model: @Stage Model Only|Method or attribute name: currentHapModuleInfo model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: config model: @Stage Model Only|Method or attribute name: config model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbility model: @Stage Model Only|Method or attribute name: startAbility model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbility model: @Stage Model Only|Method or attribute name: startAbility model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbility model: @Stage Model Only|Method or attribute name: startAbility model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbilityByCall model: @Stage Model Only|Method or attribute name: startAbilityByCall model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbilityForResult model: @Stage Model Only|Method or attribute name: startAbilityForResult model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbilityForResult model: @Stage Model Only|Method or attribute name: startAbilityForResult model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbilityForResult model: @Stage Model Only|Method or attribute name: startAbilityForResult model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbilityForResultWithAccount model: @Stage Model Only|Method or attribute name: startAbilityForResultWithAccount model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbilityForResultWithAccount model: @Stage Model Only|Method or attribute name: startAbilityForResultWithAccount model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startAbilityForResultWithAccount model: @Stage Model Only|Method or attribute name: startAbilityForResultWithAccount model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startServiceExtensionAbility model: @Stage Model Only|Method or attribute name: startServiceExtensionAbility model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startServiceExtensionAbility model: @Stage Model Only|Method or attribute name: startServiceExtensionAbility model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startServiceExtensionAbilityWithAccount model: @Stage Model Only|Method or attribute name: startServiceExtensionAbilityWithAccount model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: startServiceExtensionAbilityWithAccount model: @Stage Model Only|Method or attribute name: startServiceExtensionAbilityWithAccount model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: stopServiceExtensionAbility model: @Stage Model Only|Method or attribute name: stopServiceExtensionAbility model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: stopServiceExtensionAbility model: @Stage Model Only|Method or attribute name: stopServiceExtensionAbility model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: stopServiceExtensionAbilityWithAccount model: @Stage Model Only|Method or attribute name: stopServiceExtensionAbilityWithAccount model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: stopServiceExtensionAbilityWithAccount model: @Stage Model Only|Method or attribute name: stopServiceExtensionAbilityWithAccount model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: terminateSelf model: @Stage Model Only|Method or attribute name: terminateSelf model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: terminateSelf model: @Stage Model Only|Method or attribute name: terminateSelf model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: terminateSelfWithResult model: @Stage Model Only|Method or attribute name: terminateSelfWithResult model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: terminateSelfWithResult model: @Stage Model Only|Method or attribute name: terminateSelfWithResult model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: setMissionLabel model: @Stage Model Only|Method or attribute name: setMissionLabel model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: setMissionIcon model: @Stage Model Only|Method or attribute name: setMissionIcon model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Method or attribute name: isTerminating model: @Stage Model Only|Method or attribute name: isTerminating model: @Stage Model Only|AbilityContext.d.ts|
+|Model changed|Class name: ApplicationContext model: @Stage Model Only|Class name: ApplicationContext model: @Stage Model Only|ApplicationContext.d.ts|
+|Model changed|Class name: Context model: @Stage Model Only|Class name: Context model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: resourceManager model: @Stage Model Only|Method or attribute name: resourceManager model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: applicationInfo model: @Stage Model Only|Method or attribute name: applicationInfo model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: cacheDir model: @Stage Model Only|Method or attribute name: cacheDir model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: tempDir model: @Stage Model Only|Method or attribute name: tempDir model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: distributedFilesDir model: @Stage Model Only|Method or attribute name: distributedFilesDir model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: eventHub model: @Stage Model Only|Method or attribute name: eventHub model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: area model: @Stage Model Only|Method or attribute name: area model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: createBundleContext model: @Stage Model Only|Method or attribute name: createBundleContext model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: createModuleContext model: @Stage Model Only|Method or attribute name: createModuleContext model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: createModuleContext model: @Stage Model Only|Method or attribute name: createModuleContext model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: getApplicationContext model: @Stage Model Only|Method or attribute name: getApplicationContext model: @Stage Model Only|Context.d.ts|
+|Model changed|Class name: AreaMode model: @Stage Model Only|Class name: AreaMode model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: EL1 model: @Stage Model Only|Method or attribute name: EL1 model: @Stage Model Only|Context.d.ts|
+|Model changed|Method or attribute name: EL2 model: @Stage Model Only|Method or attribute name: EL2 model: @Stage Model Only|Context.d.ts|
+|Model changed|Class name: EventHub model: @Stage Model Only|Class name: EventHub model: @Stage Model Only|EventHub.d.ts|
+|Model changed|Method or attribute name: on model: @Stage Model Only|Method or attribute name: on model: @Stage Model Only|EventHub.d.ts|
+|Model changed|Method or attribute name: off model: @Stage Model Only|Method or attribute name: off model: @Stage Model Only|EventHub.d.ts|
+|Model changed|Method or attribute name: emit model: @Stage Model Only|Method or attribute name: emit model: @Stage Model Only|EventHub.d.ts|
+|Model changed|Class name: FormExtensionContext model: @Stage Model Only|Class name: FormExtensionContext model: @Stage Model Only|FormExtensionContext.d.ts|
+|Model changed|Method or attribute name: startAbility model: @Stage Model Only|Method or attribute name: startAbility model: @Stage Model Only|FormExtensionContext.d.ts|
+|Model changed|Method or attribute name: startAbility model: @Stage Model Only|Method or attribute name: startAbility model: @Stage Model Only|FormExtensionContext.d.ts|
+|Model changed|Class name: ServiceExtensionContext model: @Stage Model Only|Class name: ServiceExtensionContext model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startAbility model: @Stage Model Only|Method or attribute name: startAbility model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startAbility model: @Stage Model Only|Method or attribute name: startAbility model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startAbility model: @Stage Model Only|Method or attribute name: startAbility model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|Method or attribute name: startAbilityWithAccount model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startServiceExtensionAbility model: @Stage Model Only|Method or attribute name: startServiceExtensionAbility model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startServiceExtensionAbility model: @Stage Model Only|Method or attribute name: startServiceExtensionAbility model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startServiceExtensionAbilityWithAccount model: @Stage Model Only|Method or attribute name: startServiceExtensionAbilityWithAccount model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startServiceExtensionAbilityWithAccount model: @Stage Model Only|Method or attribute name: startServiceExtensionAbilityWithAccount model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: stopServiceExtensionAbility model: @Stage Model Only|Method or attribute name: stopServiceExtensionAbility model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: stopServiceExtensionAbility model: @Stage Model Only|Method or attribute name: stopServiceExtensionAbility model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: stopServiceExtensionAbilityWithAccount model: @Stage Model Only|Method or attribute name: stopServiceExtensionAbilityWithAccount model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: stopServiceExtensionAbilityWithAccount model: @Stage Model Only|Method or attribute name: stopServiceExtensionAbilityWithAccount model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: terminateSelf model: @Stage Model Only|Method or attribute name: terminateSelf model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: terminateSelf model: @Stage Model Only|Method or attribute name: terminateSelf model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Model changed|Method or attribute name: startAbilityByCall model: @Stage Model Only|Method or attribute name: startAbilityByCall model: @Stage Model Only|ServiceExtensionContext.d.ts|
+|Access level changed|Method or attribute name: startAbilityByCall Access level: public API|Method or attribute name: startAbilityByCall Access level: system API|AbilityContext.d.ts|
+|Access level changed|Method or attribute name: isTerminating Access level: public API|Method or attribute name: isTerminating Access level: system API|AbilityContext.d.ts|
+|Deprecated version changed|Class name: wantConstant Deprecated version: N/A|Class name: wantConstant Deprecated version: 9 New API: ohos.app.ability.wantConstant |@ohos.ability.wantConstant.d.ts|
+|Deprecated version changed|Method or attribute name: ACTION_APP_ACCOUNT_OAUTH Deprecated version: N/A|Method or attribute name: ACTION_APP_ACCOUNT_OAUTH Deprecated version: 9 New API: wantConstant.Action|@ohos.ability.wantConstant.d.ts|
+|Deprecated version changed|Class name: OnReleaseCallBack Deprecated version: N/A|Class name: OnReleaseCallBack Deprecated version: 9 New API: ohos.app.ability.UIAbility |@ohos.application.Ability.d.ts|
+|Deprecated version changed|Class name: CalleeCallBack Deprecated version: N/A|Class name: CalleeCallBack Deprecated version: 9 New API: ohos.app.ability.UIAbility |@ohos.application.Ability.d.ts|
+|Deprecated version changed|Class name: Caller Deprecated version: N/A|Class name: Caller Deprecated version: 9 New API: ohos.app.ability.UIAbility |@ohos.application.Ability.d.ts|
+|Deprecated version changed|Class name: Callee Deprecated version: N/A|Class name: Callee Deprecated version: 9 New API: ohos.app.ability.UIAbility |@ohos.application.Ability.d.ts|
+|Deprecated version changed|Class name: Ability Deprecated version: N/A|Class name: Ability Deprecated version: 9 New API: ohos.app.ability.UIAbility |@ohos.application.Ability.d.ts|
+|Deprecated version changed|Class name: AbilityConstant Deprecated version: N/A|Class name: AbilityConstant Deprecated version: 9 New API: ohos.app.ability.AbilityConstant |@ohos.application.AbilityConstant.d.ts|
+|Deprecated version changed|Class name: abilityDelegatorRegistry Deprecated version: N/A|Class name: abilityDelegatorRegistry Deprecated version: 9 New API: ohos.app.ability.abilityDelegatorRegistry |@ohos.application.abilityDelegatorRegistry.d.ts|
+|Deprecated version changed|Class name: AbilityLifecycleCallback Deprecated version: N/A|Class name: AbilityLifecycleCallback Deprecated version: 9 New API: ohos.app.ability.AbilityLifecycleCallback |@ohos.application.AbilityLifecycleCallback.d.ts|
+|Deprecated version changed|Class name: abilityManager Deprecated version: N/A|Class name: abilityManager Deprecated version: 9 New API: ohos.app.ability.abilityManager |@ohos.application.abilityManager.d.ts|
+|Deprecated version changed|Class name: AbilityStage Deprecated version: N/A|Class name: AbilityStage Deprecated version: 9 New API: ohos.app.ability.AbilityStage |@ohos.application.AbilityStage.d.ts|
+|Deprecated version changed|Class name: appManager Deprecated version: N/A|Class name: appManager Deprecated version: 9 New API: ohos.app.ability.appManager |@ohos.application.appManager.d.ts|
+|Deprecated version changed|Class name: Configuration Deprecated version: N/A|Class name: Configuration Deprecated version: 9 New API: ohos.app.ability.Configuration |@ohos.application.Configuration.d.ts|
+|Deprecated version changed|Class name: ConfigurationConstant Deprecated version: N/A|Class name: ConfigurationConstant Deprecated version: 9 New API: ohos.app.ability.ConfigurationConstant |@ohos.application.ConfigurationConstant.d.ts|
+|Deprecated version changed|Class name: context Deprecated version: N/A|Class name: context Deprecated version: 9 New API: ohos.app.ability.common |@ohos.application.context.d.ts|
+|Deprecated version changed|Class name: EnvironmentCallback Deprecated version: N/A|Class name: EnvironmentCallback Deprecated version: 9 New API: ohos.app.ability.EnvironmentCallback |@ohos.application.EnvironmentCallback.d.ts|
+|Deprecated version changed|Class name: errorManager Deprecated version: N/A|Class name: errorManager Deprecated version: 9 New API: ohos.app.ability.errorManager |@ohos.application.errorManager.d.ts|
+|Deprecated version changed|Class name: formBindingData Deprecated version: N/A|Class name: formBindingData Deprecated version: 9 New API: ohos.app.form.formBindingData |@ohos.application.formBindingData.d.ts|
+|Deprecated version changed|Class name: FormExtension Deprecated version: N/A|Class name: FormExtension Deprecated version: 9 New API: ohos.app.form.FormExtensionAbility |@ohos.application.FormExtension.d.ts|
+|Deprecated version changed|Class name: formHost Deprecated version: N/A|Class name: formHost Deprecated version: 9 New API: ohos.app.form.formHost |@ohos.application.formHost.d.ts|
+|Deprecated version changed|Class name: formInfo Deprecated version: N/A|Class name: formInfo Deprecated version: 9 New API: ohos.app.form.formInfo |@ohos.application.formInfo.d.ts|
+|Deprecated version changed|Class name: formProvider Deprecated version: N/A|Class name: formProvider Deprecated version: 9 New API: ohos.app.form.formProvider |@ohos.application.formProvider.d.ts|
+|Deprecated version changed|Class name: missionManager Deprecated version: N/A|Class name: missionManager Deprecated version: 9 New API: ohos.app.ability.missionManager |@ohos.application.missionManager.d.ts|
+|Deprecated version changed|Class name: ServiceExtensionAbility Deprecated version: N/A|Class name: ServiceExtensionAbility Deprecated version: 9 New API: ohos.app.ability.ServiceExtensionAbility |@ohos.application.ServiceExtensionAbility.d.ts|
+|Deprecated version changed|Class name: StartOptions Deprecated version: N/A|Class name: StartOptions Deprecated version: 9 New API: ohos.app.ability.StartOptions |@ohos.application.StartOptions.d.ts|
+|Deprecated version changed|Class name: Want Deprecated version: N/A|Class name: Want Deprecated version: 9 New API: ohos.app.ability.Want |@ohos.application.Want.d.ts|
+|Deprecated version changed|Method or attribute name: register Deprecated version: N/A|Method or attribute name: register Deprecated version: 9 New API: ohos.continuation.continuationManager.registerContinuation |@ohos.continuation.continuationManager.d.ts|
+|Deprecated version changed|Method or attribute name: register Deprecated version: N/A|Method or attribute name: register Deprecated version: 9|@ohos.continuation.continuationManager.d.ts|
+|Deprecated version changed|Method or attribute name: register Deprecated version: N/A|Method or attribute name: register Deprecated version: 9|@ohos.continuation.continuationManager.d.ts|
+|Deprecated version changed|Method or attribute name: unregister Deprecated version: N/A|Method or attribute name: unregister Deprecated version: 9 New API: ohos.continuation.continuationManager.unregisterContinuation |@ohos.continuation.continuationManager.d.ts|
+|Deprecated version changed|Method or attribute name: unregister Deprecated version: N/A|Method or attribute name: unregister Deprecated version: 9|@ohos.continuation.continuationManager.d.ts|
+|Deprecated version changed|Method or attribute name: updateConnectStatus Deprecated version: N/A|Method or attribute name: updateConnectStatus Deprecated version: 9 New API: ohos.continuation.continuationManager.updateContinuationState |@ohos.continuation.continuationManager.d.ts|
+|Deprecated version changed|Method or attribute name: updateConnectStatus Deprecated version: N/A|Method or attribute name: updateConnectStatus Deprecated version: 9|@ohos.continuation.continuationManager.d.ts|
+|Deprecated version changed|Method or attribute name: startDeviceManager Deprecated version: N/A|Method or attribute name: startDeviceManager Deprecated version: 9 New API: ohos.continuation.continuationManager.startContinuationDeviceManager |@ohos.continuation.continuationManager.d.ts|
+|Deprecated version changed|Method or attribute name: startDeviceManager Deprecated version: N/A|Method or attribute name: startDeviceManager Deprecated version: 9|@ohos.continuation.continuationManager.d.ts|
+|Deprecated version changed|Method or attribute name: startDeviceManager Deprecated version: N/A|Method or attribute name: startDeviceManager Deprecated version: 9|@ohos.continuation.continuationManager.d.ts|
+|Deprecated version changed|Class name: wantAgent Deprecated version: N/A|Class name: wantAgent Deprecated version: 9 New API: ohos.app.ability.wantAgent |@ohos.wantAgent.d.ts|
+|Deprecated version changed|Method or attribute name: connectAbility Deprecated version: N/A|Method or attribute name: connectAbility Deprecated version: 9 New API: connectServiceExtensionAbility |AbilityContext.d.ts|
+|Deprecated version changed|Method or attribute name: connectAbilityWithAccount Deprecated version: N/A|Method or attribute name: connectAbilityWithAccount Deprecated version: 9 New API: connectServiceExtensionAbilityWithAccount |AbilityContext.d.ts|
+|Deprecated version changed|Method or attribute name: disconnectAbility Deprecated version: N/A|Method or attribute name: disconnectAbility Deprecated version: 9 New API: disconnectServiceExtensionAbility |AbilityContext.d.ts|
+|Deprecated version changed|Method or attribute name: disconnectAbility Deprecated version: N/A|Method or attribute name: disconnectAbility Deprecated version: 9|AbilityContext.d.ts|
+|Deprecated version changed|Method or attribute name: registerAbilityLifecycleCallback Deprecated version: N/A|Method or attribute name: registerAbilityLifecycleCallback Deprecated version: 9 New API: on |ApplicationContext.d.ts|
+|Deprecated version changed|Method or attribute name: unregisterAbilityLifecycleCallback Deprecated version: N/A|Method or attribute name: unregisterAbilityLifecycleCallback Deprecated version: 9 New API: off |ApplicationContext.d.ts|
+|Deprecated version changed|Method or attribute name: unregisterAbilityLifecycleCallback Deprecated version: N/A|Method or attribute name: unregisterAbilityLifecycleCallback Deprecated version: 9|ApplicationContext.d.ts|
+|Deprecated version changed|Method or attribute name: registerEnvironmentCallback Deprecated version: N/A|Method or attribute name: registerEnvironmentCallback Deprecated version: 9 New API: on |ApplicationContext.d.ts|
+|Deprecated version changed|Method or attribute name: unregisterEnvironmentCallback Deprecated version: N/A|Method or attribute name: unregisterEnvironmentCallback Deprecated version: 9 New API: off |ApplicationContext.d.ts|
+|Deprecated version changed|Method or attribute name: unregisterEnvironmentCallback Deprecated version: N/A|Method or attribute name: unregisterEnvironmentCallback Deprecated version: 9|ApplicationContext.d.ts|
+|Deprecated version changed|Method or attribute name: connectAbility Deprecated version: N/A|Method or attribute name: connectAbility Deprecated version: 9 New API: connectServiceExtensionAbility |ServiceExtensionContext.d.ts|
+|Deprecated version changed|Method or attribute name: connectAbilityWithAccount Deprecated version: N/A|Method or attribute name: connectAbilityWithAccount Deprecated version: 9 New API: connectServiceExtensionAbilityWithAccount |ServiceExtensionContext.d.ts|
+|Deprecated version changed|Method or attribute name: disconnectAbility Deprecated version: N/A|Method or attribute name: disconnectAbility Deprecated version: 9 New API: disconnectServiceExtensionAbility |ServiceExtensionContext.d.ts|
+|Deprecated version changed|Method or attribute name: disconnectAbility Deprecated version: N/A|Method or attribute name: disconnectAbility Deprecated version: 9|ServiceExtensionContext.d.ts|
+|Initial version changed|Class name: AbilityDelegator Initial version: 8|Class name: AbilityDelegator Initial version: 9|abilityDelegator.d.ts|
+|Permission deleted|Class name: distributedMissionManager Permission: ohos.permission.MANAGE_MISSIONS|Class name: distributedMissionManager Permission: N/A|@ohos.distributedMissionManager.d.ts|
+|Error code added||Method or attribute name: on_deviceConnect Error code: 401, 16600001, 16600002, 16600004|@ohos.continuation.continuationManager.d.ts|
+|Error code added||Method or attribute name: on_deviceDisconnect Error code: 401, 16600001, 16600002, 16600004|@ohos.continuation.continuationManager.d.ts|
+|Error code added||Method or attribute name: startSyncRemoteMissions Error code: 201, 401|@ohos.distributedMissionManager.d.ts|
+|Error code added||Method or attribute name: stopSyncRemoteMissions Error code: 201, 401|@ohos.distributedMissionManager.d.ts|
+|Error code added||Method or attribute name: registerMissionListener Error code: 201, 401|@ohos.distributedMissionManager.d.ts|
+|Error code added||Method or attribute name: startAbility Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbility Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbility Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbilityByCall Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbilityWithAccount Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbilityWithAccount Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbilityWithAccount Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbilityForResult Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbilityForResult Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbilityForResult Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbilityForResultWithAccount Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbilityForResultWithAccount Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startAbilityForResultWithAccount Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startServiceExtensionAbility Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startServiceExtensionAbility Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startServiceExtensionAbilityWithAccount Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: startServiceExtensionAbilityWithAccount Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: stopServiceExtensionAbility Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: stopServiceExtensionAbility Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: stopServiceExtensionAbilityWithAccount Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: stopServiceExtensionAbilityWithAccount Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: terminateSelf Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: terminateSelf Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: terminateSelfWithResult Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: terminateSelfWithResult Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: setMissionLabel Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: setMissionIcon Error code: 401|AbilityContext.d.ts|
+|Error code added||Method or attribute name: addAbilityMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: addAbilityMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: addAbilityStageMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: addAbilityStageMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: removeAbilityMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: removeAbilityMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: removeAbilityStageMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: removeAbilityStageMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: waitAbilityStageMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: waitAbilityStageMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: waitAbilityStageMonitor Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: startAbility Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: startAbility Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: printSync Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: finishTest Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: finishTest Error code: 401|abilityDelegator.d.ts|
+|Error code added||Method or attribute name: createBundleContext Error code: 401|Context.d.ts|
+|Error code added||Method or attribute name: createModuleContext Error code: 401|Context.d.ts|
+|Error code added||Method or attribute name: createModuleContext Error code: 401|Context.d.ts|
+|Error code added||Method or attribute name: on Error code: 401|EventHub.d.ts|
+|Error code added||Method or attribute name: off Error code: 401|EventHub.d.ts|
+|Error code added||Method or attribute name: emit Error code: 401|EventHub.d.ts|
+|Error code added||Method or attribute name: startAbility Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: startAbility Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: startAbility Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: startAbilityWithAccount Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: startAbilityWithAccount Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: startAbilityWithAccount Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: startServiceExtensionAbility Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: startServiceExtensionAbility Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: startServiceExtensionAbilityWithAccount Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: startServiceExtensionAbilityWithAccount Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: stopServiceExtensionAbility Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: stopServiceExtensionAbility Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: stopServiceExtensionAbilityWithAccount Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: stopServiceExtensionAbilityWithAccount Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: terminateSelf Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: terminateSelf Error code: 401|ServiceExtensionContext.d.ts|
+|Error code added||Method or attribute name: startAbilityByCall Error code: 401|ServiceExtensionContext.d.ts|
+|Permission added|Method or attribute name: startSyncRemoteMissions Permission: N/A|Method or attribute name: startSyncRemoteMissions Permission: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts|
+|Permission added|Method or attribute name: startSyncRemoteMissions Permission: N/A|Method or attribute name: startSyncRemoteMissions Permission: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts|
+|Permission added|Method or attribute name: stopSyncRemoteMissions Permission: N/A|Method or attribute name: stopSyncRemoteMissions Permission: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts|
+|Permission added|Method or attribute name: stopSyncRemoteMissions Permission: N/A|Method or attribute name: stopSyncRemoteMissions Permission: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts|
+|Permission added|Method or attribute name: registerMissionListener Permission: N/A|Method or attribute name: registerMissionListener Permission: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts|
+|Permission added|Method or attribute name: registerMissionListener Permission: N/A|Method or attribute name: registerMissionListener Permission: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts|
+|Permission added|Method or attribute name: unRegisterMissionListener Permission: N/A|Method or attribute name: unRegisterMissionListener Permission: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts|
+|Access level changed|Method or attribute name: startAbilityByCall Access level: public API|Method or attribute name: startAbilityByCall Access level: system API|AbilityContext.d.ts|
+|Access level changed|Method or attribute name: isTerminating Access level: public API|Method or attribute name: isTerminating Access level: system API|AbilityContext.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-accessibility.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-accessibility.md
new file mode 100644
index 0000000000000000000000000000000000000000..9ddac51d885c1cd11d4ef4bbc40e659a61d677b9
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-accessibility.md
@@ -0,0 +1,52 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.accessibility.config Class name: config Method or attribute name: on_enabledAccessibilityExtensionListChange|@ohos.accessibility.config.d.ts|
+|Added||Module name: ohos.accessibility.config Class name: config Method or attribute name: off_enabledAccessibilityExtensionListChange|@ohos.accessibility.config.d.ts|
+|Added||Module name: ohos.accessibility Class name: accessibility Method or attribute name: getAccessibilityExtensionList|@ohos.accessibility.d.ts|
+|Added||Module name: ohos.accessibility Class name: accessibility Method or attribute name: getAccessibilityExtensionList|@ohos.accessibility.d.ts|
+|Added||Module name: ohos.accessibility Class name: accessibility Method or attribute name: sendAccessibilityEvent|@ohos.accessibility.d.ts|
+|Added||Module name: ohos.accessibility Class name: accessibility Method or attribute name: sendAccessibilityEvent|@ohos.accessibility.d.ts|
+|Added||Module name: ohos.accessibility.GesturePath Class name: GesturePath|@ohos.accessibility.GesturePath.d.ts|
+|Added||Module name: ohos.accessibility.GesturePath Class name: GesturePath Method or attribute name: ructor(durationTime|@ohos.accessibility.GesturePath.d.ts|
+|Added||Module name: ohos.accessibility.GesturePath Class name: GesturePath Method or attribute name: points|@ohos.accessibility.GesturePath.d.ts|
+|Added||Module name: ohos.accessibility.GesturePath Class name: GesturePath Method or attribute name: durationTime|@ohos.accessibility.GesturePath.d.ts|
+|Added||Module name: ohos.accessibility.GesturePoint Class name: GesturePoint|@ohos.accessibility.GesturePoint.d.ts|
+|Added||Module name: ohos.accessibility.GesturePoint Class name: GesturePoint Method or attribute name: ructor(positionX|@ohos.accessibility.GesturePoint.d.ts|
+|Added||Module name: ohos.accessibility.GesturePoint Class name: GesturePoint Method or attribute name: positionX|@ohos.accessibility.GesturePoint.d.ts|
+|Added||Module name: ohos.accessibility.GesturePoint Class name: GesturePoint Method or attribute name: positionY|@ohos.accessibility.GesturePoint.d.ts|
+|Added||Method or attribute name: performAction Function name: performAction(actionName: string, parameters?: object): Promise;|AccessibilityExtensionContext.d.ts|
+|Added||Method or attribute name: performAction Function name: performAction(actionName: string, callback: AsyncCallback): void;|AccessibilityExtensionContext.d.ts|
+|Added||Method or attribute name: performAction Function name: performAction(actionName: string, parameters: object, callback: AsyncCallback): void;|AccessibilityExtensionContext.d.ts|
+|Deleted|Module name: ohos.accessibility.config Class name: config Method or attribute name: on_enableAbilityListsStateChanged||@ohos.accessibility.config.d.ts|
+|Deleted|Module name: ohos.accessibility.config Class name: config Method or attribute name: off_enableAbilityListsStateChanged||@ohos.accessibility.config.d.ts|
+|Deleted|Module name: ohos.application.AccessibilityExtensionAbility Class name: GesturePath||@ohos.application.AccessibilityExtensionAbility.d.ts|
+|Deleted|Module name: ohos.application.AccessibilityExtensionAbility Class name: GesturePath Method or attribute name: points||@ohos.application.AccessibilityExtensionAbility.d.ts|
+|Deleted|Module name: ohos.application.AccessibilityExtensionAbility Class name: GesturePath Method or attribute name: durationTime||@ohos.application.AccessibilityExtensionAbility.d.ts|
+|Deleted|Module name: ohos.application.AccessibilityExtensionAbility Class name: GesturePoint||@ohos.application.AccessibilityExtensionAbility.d.ts|
+|Deleted|Module name: ohos.application.AccessibilityExtensionAbility Class name: GesturePoint Method or attribute name: positionX||@ohos.application.AccessibilityExtensionAbility.d.ts|
+|Deleted|Module name: ohos.application.AccessibilityExtensionAbility Class name: GesturePoint Method or attribute name: positionY||@ohos.application.AccessibilityExtensionAbility.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityLists Deprecated version: N/A|Method or attribute name: getAbilityLists Deprecated version: 9 New API: ohos.accessibility|@ohos.accessibility.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityLists Deprecated version: N/A|Method or attribute name: getAbilityLists Deprecated version: 9|@ohos.accessibility.d.ts|
+|Deprecated version changed|Method or attribute name: sendEvent Deprecated version: N/A|Method or attribute name: sendEvent Deprecated version: 9 New API: ohos.accessibility|@ohos.accessibility.d.ts|
+|Deprecated version changed|Method or attribute name: sendEvent Deprecated version: N/A|Method or attribute name: sendEvent Deprecated version: 9|@ohos.accessibility.d.ts|
+|Error code added||Method or attribute name: enableAbility Error code: 201, 401, 9300001, 9300002|@ohos.accessibility.config.d.ts|
+|Error code added||Method or attribute name: disableAbility Error code: 201, 401, 9300001|@ohos.accessibility.config.d.ts|
+|Error code added||Method or attribute name: set Error code: 201, 401|@ohos.accessibility.config.d.ts|
+|Error code added||Method or attribute name: on Error code: 401|@ohos.accessibility.config.d.ts|
+|Error code added||Method or attribute name: on_accessibilityStateChange Error code: 401|@ohos.accessibility.d.ts|
+|Error code added||Method or attribute name: on_touchGuideStateChange Error code: 401|@ohos.accessibility.d.ts|
+|Error code added||Method or attribute name: off_accessibilityStateChange Error code: 401|@ohos.accessibility.d.ts|
+|Error code added||Method or attribute name: off_touchGuideStateChange Error code: 401|@ohos.accessibility.d.ts|
+|Error code added||Method or attribute name: on_enableChange Error code: 401|@ohos.accessibility.d.ts|
+|Error code added||Method or attribute name: on_styleChange Error code: 401|@ohos.accessibility.d.ts|
+|Error code added||Method or attribute name: off_enableChange Error code: 401|@ohos.accessibility.d.ts|
+|Error code added||Method or attribute name: off_styleChange Error code: 401|@ohos.accessibility.d.ts|
+|Error code added||Method or attribute name: setTargetBundleName Error code: 401|AccessibilityExtensionContext.d.ts|
+|Error code added||Method or attribute name: getFocusElement Error code: 9300003|AccessibilityExtensionContext.d.ts|
+|Error code added||Method or attribute name: getWindowRootElement Error code: 9300003|AccessibilityExtensionContext.d.ts|
+|Error code added||Method or attribute name: getWindows Error code: 9300003|AccessibilityExtensionContext.d.ts|
+|Error code added||Method or attribute name: injectGesture Error code: 401, 9300003|AccessibilityExtensionContext.d.ts|
+|Error code added||Method or attribute name: attributeValue Error code: 401, 9300004|AccessibilityExtensionContext.d.ts|
+|Error code added||Method or attribute name: findElement Error code: 401|AccessibilityExtensionContext.d.ts|
+|Error code added||Method or attribute name: findElement Error code: 401|AccessibilityExtensionContext.d.ts|
+|Error code added||Method or attribute name: findElement Error code: 401|AccessibilityExtensionContext.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-account.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-account.md
new file mode 100644
index 0000000000000000000000000000000000000000..363817022ff3350edb2335abeab8a9f37e669327
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-account.md
@@ -0,0 +1,225 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: createAccount|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: createAccount|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: createAccount|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: createAccountImplicitly|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: createAccountImplicitly|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: removeAccount|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: removeAccount|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setAppAccess|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setAppAccess|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: checkDataSyncEnabled|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: checkDataSyncEnabled|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setCredential|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setCredential|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setDataSyncEnabled|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setDataSyncEnabled|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setCustomData|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setCustomData|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: getAllAccounts Function name: getAllAccounts(callback: AsyncCallback>): void;|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: getAllAccounts Function name: getAllAccounts(): Promise>;|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAccountsByOwner|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAccountsByOwner|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getCredential|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getCredential|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getCustomData|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getCustomData|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getCustomDataSync|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: on_accountChange|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: off_accountChange|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: auth|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: auth|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAuthToken|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAuthToken|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setAuthToken|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setAuthToken|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: deleteAuthToken|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: deleteAuthToken|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setAuthTokenVisibility|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: setAuthTokenVisibility|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: checkAuthTokenVisibility|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: checkAuthTokenVisibility|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAllAuthTokens|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAllAuthTokens|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAuthList|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAuthList|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAuthCallback|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAuthCallback|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: queryAuthenticatorInfo|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: queryAuthenticatorInfo|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: deleteCredential|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: deleteCredential|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: selectAccountsByOptions Function name: selectAccountsByOptions(options: SelectAccountsOptions, callback: AsyncCallback>): void;|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: verifyCredential Function name: verifyCredential(name: string, owner: string, callback: AuthCallback): void;|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: verifyCredential Function name: verifyCredential(name: string, owner: string, options: VerifyCredentialOptions, callback: AuthCallback): void;|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: setAuthenticatorProperties Function name: setAuthenticatorProperties(owner: string, callback: AuthCallback): void;|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: setAuthenticatorProperties Function name: setAuthenticatorProperties(owner: string, options: SetPropertiesOptions, callback: AuthCallback): void;|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthTokenInfo|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthTokenInfo Method or attribute name: authType|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthTokenInfo Method or attribute name: token|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthTokenInfo Method or attribute name: account|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthResult|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthResult Method or attribute name: account|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthResult Method or attribute name: tokenInfo|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: CreateAccountOptions|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: CreateAccountOptions Method or attribute name: customData|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: CreateAccountImplicitlyOptions|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: CreateAccountImplicitlyOptions Method or attribute name: requiredLabels|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: CreateAccountImplicitlyOptions Method or attribute name: authType|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: CreateAccountImplicitlyOptions Method or attribute name: parameters|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: Constants Method or attribute name: ACTION_CREATE_ACCOUNT_IMPLICITLY|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: Constants Method or attribute name: ACTION_AUTH|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: Constants Method or attribute name: ACTION_VERIFY_CREDENTIAL|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: Constants Method or attribute name: ACTION_SET_AUTHENTICATOR_PROPERTIES|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthCallback|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthCallback Method or attribute name: onResult|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthCallback Method or attribute name: onRequestRedirected|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: AuthCallback Method or attribute name: onRequestContinued|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: Authenticator Method or attribute name: createAccountImplicitly|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.appAccount Class name: Authenticator Method or attribute name: auth|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: verifyCredential Function name: verifyCredential(name: string, options: VerifyCredentialOptions, callback: AuthCallback): void;|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: setProperties Function name: setProperties(options: SetPropertiesOptions, callback: AuthCallback): void;|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: checkAccountLabels Function name: checkAccountLabels(name: string, labels: Array, callback: AuthCallback): void;|@ohos.account.appAccount.d.ts|
+|Added||Method or attribute name: isAccountRemovable Function name: isAccountRemovable(name: string, callback: AuthCallback): void;|@ohos.account.appAccount.d.ts|
+|Added||Module name: ohos.account.distributedAccount Class name: DistributedAccountAbility Method or attribute name: getOsAccountDistributedInfo|@ohos.account.distributedAccount.d.ts|
+|Added||Module name: ohos.account.distributedAccount Class name: DistributedAccountAbility Method or attribute name: getOsAccountDistributedInfo|@ohos.account.distributedAccount.d.ts|
+|Added||Module name: ohos.account.distributedAccount Class name: DistributedAccountAbility Method or attribute name: setOsAccountDistributedInfo|@ohos.account.distributedAccount.d.ts|
+|Added||Module name: ohos.account.distributedAccount Class name: DistributedAccountAbility Method or attribute name: setOsAccountDistributedInfo|@ohos.account.distributedAccount.d.ts|
+|Added||Module name: ohos.account.distributedAccount Class name: DistributedInfo Method or attribute name: nickname|@ohos.account.distributedAccount.d.ts|
+|Added||Module name: ohos.account.distributedAccount Class name: DistributedInfo Method or attribute name: avatar|@ohos.account.distributedAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkMultiOsAccountEnabled|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkMultiOsAccountEnabled|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkOsAccountActivated|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkOsAccountActivated|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkConstraintEnabled|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkConstraintEnabled|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkOsAccountTestable|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkOsAccountTestable|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkOsAccountVerified|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkOsAccountVerified|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: checkOsAccountVerified|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: getOsAccountCount|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: getOsAccountCount|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: queryOsAccountLocalIdFromProcess|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: queryOsAccountLocalIdFromProcess|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: queryOsAccountLocalIdFromUid|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: queryOsAccountLocalIdFromUid|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: queryOsAccountLocalIdFromDomain|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: queryOsAccountLocalIdFromDomain|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: getOsAccountConstraints|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: getOsAccountConstraints|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: getActivatedOsAccountIds|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: getActivatedOsAccountIds|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: getCurrentOsAccount|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: getCurrentOsAccount|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: getOsAccountType|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: getOsAccountType|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: queryDistributedVirtualDeviceId|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: queryDistributedVirtualDeviceId|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: queryOsAccountLocalIdBySerialNumber|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: queryOsAccountLocalIdBySerialNumber|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: querySerialNumberByOsAccountLocalId|@ohos.account.osAccount.d.ts|
+|Added||Module name: ohos.account.osAccount Class name: AccountManager Method or attribute name: querySerialNumberByOsAccountLocalId|@ohos.account.osAccount.d.ts|
+|Added||Method or attribute name: cancelAuth Function name: cancelAuth(contextID: Uint8Array): void;|@ohos.account.osAccount.d.ts|
+|Added||Method or attribute name: registerInputer Function name: registerInputer(inputer: IInputer): void;|@ohos.account.osAccount.d.ts|
+|Added||Method or attribute name: cancel Function name: cancel(challenge: Uint8Array): void;|@ohos.account.osAccount.d.ts|
+|Deleted|Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: getAssociatedDataSync||@ohos.account.appAccount.d.ts|
+|Deleted|Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: deleteAccountCredential||@ohos.account.appAccount.d.ts|
+|Deleted|Module name: ohos.account.appAccount Class name: AppAccountManager Method or attribute name: deleteAccountCredential||@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: addAccount Deprecated version: N/A|Method or attribute name: addAccount Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: addAccount Deprecated version: N/A|Method or attribute name: addAccount Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: addAccount Deprecated version: N/A|Method or attribute name: addAccount Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: addAccountImplicitly Deprecated version: N/A|Method or attribute name: addAccountImplicitly Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: deleteAccount Deprecated version: N/A|Method or attribute name: deleteAccount Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: deleteAccount Deprecated version: N/A|Method or attribute name: deleteAccount Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: disableAppAccess Deprecated version: N/A|Method or attribute name: disableAppAccess Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: disableAppAccess Deprecated version: N/A|Method or attribute name: disableAppAccess Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: enableAppAccess Deprecated version: N/A|Method or attribute name: enableAppAccess Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: enableAppAccess Deprecated version: N/A|Method or attribute name: enableAppAccess Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: checkAppAccountSyncEnable Deprecated version: N/A|Method or attribute name: checkAppAccountSyncEnable Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: checkAppAccountSyncEnable Deprecated version: N/A|Method or attribute name: checkAppAccountSyncEnable Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setAccountCredential Deprecated version: N/A|Method or attribute name: setAccountCredential Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setAccountCredential Deprecated version: N/A|Method or attribute name: setAccountCredential Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setAccountExtraInfo Deprecated version: N/A|Method or attribute name: setAccountExtraInfo Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setAccountExtraInfo Deprecated version: N/A|Method or attribute name: setAccountExtraInfo Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setAppAccountSyncEnable Deprecated version: N/A|Method or attribute name: setAppAccountSyncEnable Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setAppAccountSyncEnable Deprecated version: N/A|Method or attribute name: setAppAccountSyncEnable Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setAssociatedData Deprecated version: N/A|Method or attribute name: setAssociatedData Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setAssociatedData Deprecated version: N/A|Method or attribute name: setAssociatedData Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAllAccessibleAccounts Deprecated version: N/A|Method or attribute name: getAllAccessibleAccounts Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAllAccessibleAccounts Deprecated version: N/A|Method or attribute name: getAllAccessibleAccounts Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAllAccounts Deprecated version: N/A|Method or attribute name: getAllAccounts Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAllAccounts Deprecated version: N/A|Method or attribute name: getAllAccounts Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAccountCredential Deprecated version: N/A|Method or attribute name: getAccountCredential Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAccountCredential Deprecated version: N/A|Method or attribute name: getAccountCredential Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAccountExtraInfo Deprecated version: N/A|Method or attribute name: getAccountExtraInfo Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAccountExtraInfo Deprecated version: N/A|Method or attribute name: getAccountExtraInfo Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAssociatedData Deprecated version: N/A|Method or attribute name: getAssociatedData Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAssociatedData Deprecated version: N/A|Method or attribute name: getAssociatedData Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: on_change Deprecated version: N/A|Method or attribute name: on_change Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: off_change Deprecated version: N/A|Method or attribute name: off_change Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: authenticate Deprecated version: N/A|Method or attribute name: authenticate Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOAuthToken Deprecated version: N/A|Method or attribute name: getOAuthToken Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOAuthToken Deprecated version: N/A|Method or attribute name: getOAuthToken Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setOAuthToken Deprecated version: N/A|Method or attribute name: setOAuthToken Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setOAuthToken Deprecated version: N/A|Method or attribute name: setOAuthToken Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: deleteOAuthToken Deprecated version: N/A|Method or attribute name: deleteOAuthToken Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: deleteOAuthToken Deprecated version: N/A|Method or attribute name: deleteOAuthToken Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setOAuthTokenVisibility Deprecated version: N/A|Method or attribute name: setOAuthTokenVisibility Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: setOAuthTokenVisibility Deprecated version: N/A|Method or attribute name: setOAuthTokenVisibility Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: checkOAuthTokenVisibility Deprecated version: N/A|Method or attribute name: checkOAuthTokenVisibility Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: checkOAuthTokenVisibility Deprecated version: N/A|Method or attribute name: checkOAuthTokenVisibility Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAllOAuthTokens Deprecated version: N/A|Method or attribute name: getAllOAuthTokens Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAllOAuthTokens Deprecated version: N/A|Method or attribute name: getAllOAuthTokens Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOAuthList Deprecated version: N/A|Method or attribute name: getOAuthList Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOAuthList Deprecated version: N/A|Method or attribute name: getOAuthList Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAuthenticatorCallback Deprecated version: N/A|Method or attribute name: getAuthenticatorCallback Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAuthenticatorCallback Deprecated version: N/A|Method or attribute name: getAuthenticatorCallback Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAuthenticatorInfo Deprecated version: N/A|Method or attribute name: getAuthenticatorInfo Deprecated version: 9 New API: appAccount.AppAccountManager|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getAuthenticatorInfo Deprecated version: N/A|Method or attribute name: getAuthenticatorInfo Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Class name: OAuthTokenInfo Deprecated version: N/A|Class name: OAuthTokenInfo Deprecated version: 9 New API: appAccount.AuthTokenInfo |@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: ACTION_ADD_ACCOUNT_IMPLICITLY Deprecated version: N/A|Method or attribute name: ACTION_ADD_ACCOUNT_IMPLICITLY Deprecated version: 9 New API: appAccount.Constants|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: ACTION_AUTHENTICATE Deprecated version: N/A|Method or attribute name: ACTION_AUTHENTICATE Deprecated version: 9 New API: appAccount.Constants|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Class name: ResultCode Deprecated version: N/A|Class name: ResultCode Deprecated version: 9|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Class name: AuthenticatorCallback Deprecated version: N/A|Class name: AuthenticatorCallback Deprecated version: 9 New API: AppAccount.AuthCallback |@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: addAccountImplicitly Deprecated version: N/A|Method or attribute name: addAccountImplicitly Deprecated version: 9 New API: appAccount.Authenticator|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: authenticate Deprecated version: N/A|Method or attribute name: authenticate Deprecated version: 9 New API: appAccount.Authenticator|@ohos.account.appAccount.d.ts|
+|Deprecated version changed|Method or attribute name: queryOsAccountDistributedInfo Deprecated version: N/A|Method or attribute name: queryOsAccountDistributedInfo Deprecated version: 9 New API: distributedAccount.DistributedAccountAbility|@ohos.account.distributedAccount.d.ts|
+|Deprecated version changed|Method or attribute name: queryOsAccountDistributedInfo Deprecated version: N/A|Method or attribute name: queryOsAccountDistributedInfo Deprecated version: 9|@ohos.account.distributedAccount.d.ts|
+|Deprecated version changed|Method or attribute name: updateOsAccountDistributedInfo Deprecated version: N/A|Method or attribute name: updateOsAccountDistributedInfo Deprecated version: 9 New API: distributedAccount.DistributedAccountAbility|@ohos.account.distributedAccount.d.ts|
+|Deprecated version changed|Method or attribute name: updateOsAccountDistributedInfo Deprecated version: N/A|Method or attribute name: updateOsAccountDistributedInfo Deprecated version: 9|@ohos.account.distributedAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isMultiOsAccountEnable Deprecated version: N/A|Method or attribute name: isMultiOsAccountEnable Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isMultiOsAccountEnable Deprecated version: N/A|Method or attribute name: isMultiOsAccountEnable Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isOsAccountActived Deprecated version: N/A|Method or attribute name: isOsAccountActived Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isOsAccountActived Deprecated version: N/A|Method or attribute name: isOsAccountActived Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isOsAccountConstraintEnable Deprecated version: N/A|Method or attribute name: isOsAccountConstraintEnable Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isOsAccountConstraintEnable Deprecated version: N/A|Method or attribute name: isOsAccountConstraintEnable Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isTestOsAccount Deprecated version: N/A|Method or attribute name: isTestOsAccount Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isTestOsAccount Deprecated version: N/A|Method or attribute name: isTestOsAccount Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isOsAccountVerified Deprecated version: N/A|Method or attribute name: isOsAccountVerified Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isOsAccountVerified Deprecated version: N/A|Method or attribute name: isOsAccountVerified Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: isOsAccountVerified Deprecated version: N/A|Method or attribute name: isOsAccountVerified Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getCreatedOsAccountsCount Deprecated version: N/A|Method or attribute name: getCreatedOsAccountsCount Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getCreatedOsAccountsCount Deprecated version: N/A|Method or attribute name: getCreatedOsAccountsCount Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountLocalIdFromProcess Deprecated version: N/A|Method or attribute name: getOsAccountLocalIdFromProcess Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountLocalIdFromProcess Deprecated version: N/A|Method or attribute name: getOsAccountLocalIdFromProcess Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountLocalIdFromUid Deprecated version: N/A|Method or attribute name: getOsAccountLocalIdFromUid Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountLocalIdFromUid Deprecated version: N/A|Method or attribute name: getOsAccountLocalIdFromUid Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountLocalIdFromDomain Deprecated version: N/A|Method or attribute name: getOsAccountLocalIdFromDomain Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountLocalIdFromDomain Deprecated version: N/A|Method or attribute name: getOsAccountLocalIdFromDomain Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountAllConstraints Deprecated version: N/A|Method or attribute name: getOsAccountAllConstraints Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountAllConstraints Deprecated version: N/A|Method or attribute name: getOsAccountAllConstraints Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: queryActivatedOsAccountIds Deprecated version: N/A|Method or attribute name: queryActivatedOsAccountIds Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: queryActivatedOsAccountIds Deprecated version: N/A|Method or attribute name: queryActivatedOsAccountIds Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: queryCurrentOsAccount Deprecated version: N/A|Method or attribute name: queryCurrentOsAccount Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: queryCurrentOsAccount Deprecated version: N/A|Method or attribute name: queryCurrentOsAccount Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountTypeFromProcess Deprecated version: N/A|Method or attribute name: getOsAccountTypeFromProcess Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountTypeFromProcess Deprecated version: N/A|Method or attribute name: getOsAccountTypeFromProcess Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getDistributedVirtualDeviceId Deprecated version: N/A|Method or attribute name: getDistributedVirtualDeviceId Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getDistributedVirtualDeviceId Deprecated version: N/A|Method or attribute name: getDistributedVirtualDeviceId Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountLocalIdBySerialNumber Deprecated version: N/A|Method or attribute name: getOsAccountLocalIdBySerialNumber Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getOsAccountLocalIdBySerialNumber Deprecated version: N/A|Method or attribute name: getOsAccountLocalIdBySerialNumber Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getSerialNumberByOsAccountLocalId Deprecated version: N/A|Method or attribute name: getSerialNumberByOsAccountLocalId Deprecated version: 9 New API: osAccount.AccountManager|@ohos.account.osAccount.d.ts|
+|Deprecated version changed|Method or attribute name: getSerialNumberByOsAccountLocalId Deprecated version: N/A|Method or attribute name: getSerialNumberByOsAccountLocalId Deprecated version: 9|@ohos.account.osAccount.d.ts|
+|Permission added|Method or attribute name: isOsAccountVerified Permission: N/A|Method or attribute name: isOsAccountVerified Permission: ohos.permission.MANAGE_LOCAL_ACCOUNTS or ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS.|@ohos.account.osAccount.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-application.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-application.md
new file mode 100644
index 0000000000000000000000000000000000000000..429c2fe80a5e81c6f026783204aba88bf877e8ee
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-application.md
@@ -0,0 +1,170 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.contact Class name: Contact|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: INVALID_CONTACT_ID|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: id|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: key|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: contactAttributes|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: emails|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: events|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: groups|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: imAddresses|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: phoneNumbers|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: portrait|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: postalAddresses|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: relations|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: sipAddresses|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: websites|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: name|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: nickName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: note|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Contact Method or attribute name: organization|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ContactAttributes|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ContactAttributes Method or attribute name: attributes|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_CONTACT_EVENT|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_EMAIL|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_GROUP_MEMBERSHIP|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_IM|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_NAME|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_NICKNAME|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_NOTE|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_ORGANIZATION|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_PHONE|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_PORTRAIT|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_POSTAL_ADDRESS|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_RELATION|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_SIP_ADDRESS|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Attribute Method or attribute name: ATTR_WEBSITE|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Email|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Email Method or attribute name: CUSTOM_LABEL|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Email Method or attribute name: EMAIL_HOME|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Email Method or attribute name: EMAIL_WORK|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Email Method or attribute name: EMAIL_OTHER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Email Method or attribute name: INVALID_LABEL_ID|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Email Method or attribute name: email|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Email Method or attribute name: labelName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Email Method or attribute name: displayName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Email Method or attribute name: labelId|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Event|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Event Method or attribute name: CUSTOM_LABEL|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Event Method or attribute name: EVENT_ANNIVERSARY|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Event Method or attribute name: EVENT_OTHER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Event Method or attribute name: EVENT_BIRTHDAY|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Event Method or attribute name: INVALID_LABEL_ID|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Event Method or attribute name: eventDate|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Event Method or attribute name: labelName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Event Method or attribute name: labelId|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Group|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Group Method or attribute name: groupId|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Group Method or attribute name: title|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Holder|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Holder Method or attribute name: bundleName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Holder Method or attribute name: displayName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Holder Method or attribute name: holderId|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: CUSTOM_LABEL|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: IM_AIM|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: IM_MSN|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: IM_YAHOO|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: IM_SKYPE|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: IM_QQ|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: IM_ICQ|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: IM_JABBER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: INVALID_LABEL_ID|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: imAddress|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: labelName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: ImAddress Method or attribute name: labelId|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Name|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Name Method or attribute name: familyName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Name Method or attribute name: familyNamePhonetic|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Name Method or attribute name: fullName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Name Method or attribute name: givenName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Name Method or attribute name: givenNamePhonetic|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Name Method or attribute name: middleName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Name Method or attribute name: middleNamePhonetic|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Name Method or attribute name: namePrefix|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Name Method or attribute name: nameSuffix|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: NickName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: NickName Method or attribute name: nickName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Note|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Note Method or attribute name: noteContent|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Organization|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Organization Method or attribute name: name|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Organization Method or attribute name: title|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: CUSTOM_LABEL|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_HOME|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_MOBILE|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_WORK|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_FAX_WORK|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_FAX_HOME|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_PAGER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_OTHER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_CALLBACK|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_CAR|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_COMPANY_MAIN|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_ISDN|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_MAIN|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_OTHER_FAX|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_RADIO|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_TELEX|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_TTY_TDD|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_WORK_MOBILE|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_WORK_PAGER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_ASSISTANT|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: NUM_MMS|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: INVALID_LABEL_ID|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: labelName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: phoneNumber|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PhoneNumber Method or attribute name: labelId|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Portrait|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Portrait Method or attribute name: uri|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: CUSTOM_LABEL|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: ADDR_HOME|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: ADDR_WORK|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: ADDR_OTHER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: INVALID_LABEL_ID|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: city|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: country|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: labelName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: neighborhood|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: pobox|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: postalAddress|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: postcode|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: region|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: street|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: PostalAddress Method or attribute name: labelId|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: CUSTOM_LABEL|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_ASSISTANT|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_BROTHER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_CHILD|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_DOMESTIC_PARTNER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_FATHER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_FRIEND|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_MANAGER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_MOTHER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_PARENT|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_PARTNER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_REFERRED_BY|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_RELATIVE|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_SISTER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: RELATION_SPOUSE|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: INVALID_LABEL_ID|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: labelName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: relationName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Relation Method or attribute name: labelId|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: SipAddress|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: SipAddress Method or attribute name: CUSTOM_LABEL|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: SipAddress Method or attribute name: SIP_HOME|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: SipAddress Method or attribute name: SIP_WORK|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: SipAddress Method or attribute name: SIP_OTHER|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: SipAddress Method or attribute name: INVALID_LABEL_ID|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: SipAddress Method or attribute name: labelName|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: SipAddress Method or attribute name: sipAddress|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: SipAddress Method or attribute name: labelId|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Website|@ohos.contact.d.ts|
+|Added||Module name: ohos.contact Class name: Website Method or attribute name: website|@ohos.contact.d.ts|
+|Added||Module name: ohos.telephony.call Class name: AudioDevice Method or attribute name: DEVICE_MIC|@ohos.telephony.call.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-arkui.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-arkui.md
new file mode 100644
index 0000000000000000000000000000000000000000..4e45de29dbe37a829a9dd618b97f5a7fec877d4b
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-arkui.md
@@ -0,0 +1,183 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.animator Class name: AnimatorResult Method or attribute name: reset|@ohos.animator.d.ts|
+|Added||Module name: ohos.animator Class name: Animator Method or attribute name: create|@ohos.animator.d.ts|
+|Added||Module name: ohos.promptAction Class name: promptAction|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ShowToastOptions|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ShowToastOptions Method or attribute name: message|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ShowToastOptions Method or attribute name: duration|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ShowToastOptions Method or attribute name: bottom|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: Button|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: Button Method or attribute name: text|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: Button Method or attribute name: color|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ShowDialogSuccessResponse|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ShowDialogSuccessResponse Method or attribute name: index|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ShowDialogOptions|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ShowDialogOptions Method or attribute name: title|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ShowDialogOptions Method or attribute name: message|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ShowDialogOptions Method or attribute name: buttons|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ActionMenuSuccessResponse|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ActionMenuSuccessResponse Method or attribute name: index|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ActionMenuOptions|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ActionMenuOptions Method or attribute name: title|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: ActionMenuOptions Method or attribute name: buttons|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: promptAction Method or attribute name: showToast|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: promptAction Method or attribute name: showDialog|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: promptAction Method or attribute name: showDialog|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: promptAction Method or attribute name: showActionMenu|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.promptAction Class name: promptAction Method or attribute name: showActionMenu|@ohos.promptAction.d.ts|
+|Added||Module name: ohos.router Class name: RouterOptions|@ohos.router.d.ts|
+|Added||Module name: ohos.router Class name: router Method or attribute name: pushUrl|@ohos.router.d.ts|
+|Added||Module name: ohos.router Class name: router Method or attribute name: pushUrl|@ohos.router.d.ts|
+|Added||Module name: ohos.router Class name: router Method or attribute name: pushUrl|@ohos.router.d.ts|
+|Added||Module name: ohos.router Class name: router Method or attribute name: pushUrl|@ohos.router.d.ts|
+|Added||Module name: ohos.router Class name: router Method or attribute name: replaceUrl|@ohos.router.d.ts|
+|Added||Module name: ohos.router Class name: router Method or attribute name: replaceUrl|@ohos.router.d.ts|
+|Added||Module name: ohos.router Class name: router Method or attribute name: replaceUrl|@ohos.router.d.ts|
+|Added||Module name: ohos.router Class name: router Method or attribute name: replaceUrl|@ohos.router.d.ts|
+|Added||Module name: ohos.router Class name: router Method or attribute name: enableBackPageAlert|@ohos.router.d.ts|
+|Added||Module name: common Class name: Method or attribute name: postCardAction|common.d.ts|
+|Added||Module name: common Class name: PopupOptions Method or attribute name: showInSubWindow|common.d.ts|
+|Added||Module name: common Class name: CustomPopupOptions Method or attribute name: showInSubWindow|common.d.ts|
+|Added||Module name: common Class name: LayoutBorderInfo|common.d.ts|
+|Added||Module name: common Class name: LayoutBorderInfo Method or attribute name: borderWidth|common.d.ts|
+|Added||Module name: common Class name: LayoutBorderInfo Method or attribute name: margin|common.d.ts|
+|Added||Module name: common Class name: LayoutBorderInfo Method or attribute name: padding|common.d.ts|
+|Added||Module name: common Class name: LayoutInfo|common.d.ts|
+|Added||Module name: common Class name: LayoutInfo Method or attribute name: position|common.d.ts|
+|Added||Module name: common Class name: LayoutInfo Method or attribute name: constraint|common.d.ts|
+|Added||Module name: common Class name: LayoutChild|common.d.ts|
+|Added||Module name: common Class name: LayoutChild Method or attribute name: name|common.d.ts|
+|Added||Module name: common Class name: LayoutChild Method or attribute name: id|common.d.ts|
+|Added||Module name: common Class name: LayoutChild Method or attribute name: constraint|common.d.ts|
+|Added||Module name: common Class name: LayoutChild Method or attribute name: borderInfo|common.d.ts|
+|Added||Module name: common Class name: LayoutChild Method or attribute name: position|common.d.ts|
+|Added||Module name: common Class name: LayoutChild Method or attribute name: measure|common.d.ts|
+|Added||Module name: common Class name: LayoutChild Method or attribute name: layout|common.d.ts|
+|Added||Module name: common Class name: CustomComponent Method or attribute name: onLayout|common.d.ts|
+|Added||Module name: common Class name: CustomComponent Method or attribute name: onMeasure|common.d.ts|
+|Added||Module name: common Class name: CustomComponent Method or attribute name: pageTransition|common.d.ts|
+|Added||Module name: common_ts_ets_api Class name: AppStorage Method or attribute name: Clear|common_ts_ets_api.d.ts|
+|Added||Module name: enums Class name: TitleHeight|enums.d.ts|
+|Added||Module name: enums Class name: TitleHeight Method or attribute name: MainOnly|enums.d.ts|
+|Added||Module name: enums Class name: TitleHeight Method or attribute name: MainWithSub|enums.d.ts|
+|Added||Module name: flow_item Class name: FlowItemInterface|flow_item.d.ts|
+|Added||Module name: flow_item Class name: FlowItemInterface Method or attribute name: FlowItemInterface|flow_item.d.ts|
+|Added||Module name: flow_item Class name: FlowItemAttribute|flow_item.d.ts|
+|Added||Method or attribute name: FormComponentInterface Function name: (value: { id: number; name: string; bundle: string; ability: string; module: string; dimension?: FormDimension; temporary?: boolean; want?: import('../api/@ohos.application.Want').default; }): FormComponentAttribute;|form_component.d.ts|
+|Added||Module name: navigation Class name: NavigationCommonTitle|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationCommonTitle Method or attribute name: main|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationCommonTitle Method or attribute name: sub|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationCustomTitle|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationCustomTitle Method or attribute name: builder|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationCustomTitle Method or attribute name: height|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationMode|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationMode Method or attribute name: Stack|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationMode Method or attribute name: Split|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationMode Method or attribute name: Auto|navigation.d.ts|
+|Added||Module name: navigation Class name: NavBarPosition|navigation.d.ts|
+|Added||Module name: navigation Class name: NavBarPosition Method or attribute name: Start|navigation.d.ts|
+|Added||Module name: navigation Class name: NavBarPosition Method or attribute name: End|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationAttribute Method or attribute name: navBarWidth|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationAttribute Method or attribute name: navBarPosition|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationAttribute Method or attribute name: mode|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationAttribute Method or attribute name: backButtonIcon|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationAttribute Method or attribute name: hideNavBar|navigation.d.ts|
+|Added||Method or attribute name: title Function name: title(value: string \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle): NavigationAttribute;|navigation.d.ts|
+|Added||Module name: navigation Class name: NavigationAttribute Method or attribute name: onNavBarStateChange|navigation.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationCommonTitle|nav_destination.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationCommonTitle Method or attribute name: main|nav_destination.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationCommonTitle Method or attribute name: sub|nav_destination.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationCustomTitle|nav_destination.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationCustomTitle Method or attribute name: builder|nav_destination.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationCustomTitle Method or attribute name: height|nav_destination.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationInterface|nav_destination.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationInterface Method or attribute name: NavDestinationInterface|nav_destination.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationAttribute|nav_destination.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationAttribute Method or attribute name: title|nav_destination.d.ts|
+|Added||Module name: nav_destination Class name: NavDestinationAttribute Method or attribute name: hideTitleBar|nav_destination.d.ts|
+|Added||Module name: nav_router Class name: NavRouterInterface|nav_router.d.ts|
+|Added||Module name: nav_router Class name: NavRouterInterface Method or attribute name: NavRouterInterface|nav_router.d.ts|
+|Added||Module name: nav_router Class name: NavRouterAttribute|nav_router.d.ts|
+|Added||Module name: nav_router Class name: NavRouterAttribute Method or attribute name: onStateChange|nav_router.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowOptions|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowOptions Method or attribute name: footer|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowOptions Method or attribute name: scroller|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowInterface|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowInterface Method or attribute name: WaterFlowInterface|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowAttribute|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowAttribute Method or attribute name: columnsTemplate|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowAttribute Method or attribute name: itemConstraintSize|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowAttribute Method or attribute name: rowsTemplate|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowAttribute Method or attribute name: columnsGap|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowAttribute Method or attribute name: rowsGap|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowAttribute Method or attribute name: layoutDirection|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowAttribute Method or attribute name: onReachStart|water_flow.d.ts|
+|Added||Module name: water_flow Class name: WaterFlowAttribute Method or attribute name: onReachEnd|water_flow.d.ts|
+|Added||Module name: web Class name: FullScreenExitHandler|web.d.ts|
+|Added||Module name: web Class name: FullScreenExitHandler Method or attribute name: exitFullScreen|web.d.ts|
+|Added||Module name: web Class name: ControllerHandler|web.d.ts|
+|Added||Module name: web Class name: ControllerHandler Method or attribute name: setWebController|web.d.ts|
+|Added||Module name: web Class name: WebController Method or attribute name: getUrl|web.d.ts|
+|Added||Method or attribute name: controller Function name: controller: WebController \| WebviewController;|web.d.ts|
+|Added||Method or attribute name: javaScriptProxy Function name: javaScriptProxy(javaScriptProxy: { object: object, name: string, methodList: Array, controller: WebController \| WebviewController }): WebAttribute;|web.d.ts|
+|Added||Module name: web Class name: WebAttribute Method or attribute name: onFullScreenExit|web.d.ts|
+|Added||Module name: web Class name: WebAttribute Method or attribute name: onFullScreenEnter|web.d.ts|
+|Added||Module name: web Class name: WebAttribute Method or attribute name: onWindowNew|web.d.ts|
+|Added||Module name: web Class name: WebAttribute Method or attribute name: onWindowExit|web.d.ts|
+|Added||Module name: web Class name: WebAttribute Method or attribute name: multiWindowAccess|web.d.ts|
+|Added||Module name: viewmodel Class name: ViewModel Method or attribute name: $t|viewmodel.d.ts|
+|Added||Module name: viewmodel Class name: ElementReferences Method or attribute name: ElementReferences|viewmodel.d.ts|
+|Deleted|Module name: ohos.uiAppearance Class name: uiAppearance||@ohos.uiAppearance.d.ts|
+|Deleted|Module name: ohos.uiAppearance Class name: DarkMode||@ohos.uiAppearance.d.ts|
+|Deleted|Module name: ohos.uiAppearance Class name: DarkMode Method or attribute name: ALWAYS_DARK||@ohos.uiAppearance.d.ts|
+|Deleted|Module name: ohos.uiAppearance Class name: DarkMode Method or attribute name: ALWAYS_LIGHT||@ohos.uiAppearance.d.ts|
+|Deleted|Module name: ohos.uiAppearance Class name: uiAppearance Method or attribute name: setDarkMode||@ohos.uiAppearance.d.ts|
+|Deleted|Module name: ohos.uiAppearance Class name: uiAppearance Method or attribute name: setDarkMode||@ohos.uiAppearance.d.ts|
+|Deleted|Module name: ohos.uiAppearance Class name: uiAppearance Method or attribute name: getDarkMode||@ohos.uiAppearance.d.ts|
+|Deleted|Module name: web Class name: WebAttribute Method or attribute name: fileFromUrlAccess||web.d.ts|
+|Access level changed|Method or attribute name: springMotion Access level: public API|Method or attribute name: springMotion Access level: system API|@ohos.curves.d.ts|
+|Access level changed|Method or attribute name: responsiveSpringMotion Access level: public API|Method or attribute name: responsiveSpringMotion Access level: system API|@ohos.curves.d.ts|
+|Access level changed|Class name: BlurStyle Access level: public API|Class name: BlurStyle Access level: system API|common.d.ts|
+|Access level changed|Method or attribute name: Thin Access level: public API|Method or attribute name: Thin Access level: system API|common.d.ts|
+|Access level changed|Method or attribute name: Regular Access level: public API|Method or attribute name: Regular Access level: system API|common.d.ts|
+|Access level changed|Method or attribute name: Thick Access level: public API|Method or attribute name: Thick Access level: system API|common.d.ts|
+|Access level changed|Method or attribute name: backgroundBlurStyle Access level: public API|Method or attribute name: backgroundBlurStyle Access level: system API|common.d.ts|
+|Access level changed|Method or attribute name: extendViewModel Access level: public API|Method or attribute name: extendViewModel Access level: system API|viewmodel.d.ts|
+|Deprecated version changed|Method or attribute name: update Deprecated version: N/A|Method or attribute name: update Deprecated version: 9 New API: ohos.animator.reset |@ohos.animator.d.ts|
+|Deprecated version changed|Method or attribute name: createAnimator Deprecated version: N/A|Method or attribute name: createAnimator Deprecated version: 9 New API: ohos.animator.create |@ohos.animator.d.ts|
+|Deprecated version changed|Class name: prompt Deprecated version: N/A|Class name: prompt Deprecated version: 9 New API: ohos.promptAction |@ohos.prompt.d.ts|
+|Deprecated version changed|Method or attribute name: push Deprecated version: N/A|Method or attribute name: push Deprecated version: 9 New API: ohos.router.router|@ohos.router.d.ts|
+|Deprecated version changed|Method or attribute name: replace Deprecated version: N/A|Method or attribute name: replace Deprecated version: 9 New API: ohos.router.router|@ohos.router.d.ts|
+|Deprecated version changed|Method or attribute name: enableAlertBeforeBackPage Deprecated version: N/A|Method or attribute name: enableAlertBeforeBackPage Deprecated version: 9 New API: ohos.router.router|@ohos.router.d.ts|
+|Deprecated version changed|Method or attribute name: staticClear Deprecated version: N/A|Method or attribute name: staticClear Deprecated version: 9 New API: AppStorage.Clear |common_ts_ets_api.d.ts|
+|Deprecated version changed|Method or attribute name: subTitle Deprecated version: N/A|Method or attribute name: subTitle Deprecated version: 9 New API: title |navigation.d.ts|
+|Deprecated version changed|Method or attribute name: ructor(message Deprecated version: N/A|Method or attribute name: ructor(message Deprecated version: 9 New API: ohos.web.ConsoleMessage|web.d.ts|
+|Deprecated version changed|Class name: WebController Deprecated version: N/A|Class name: WebController Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController |web.d.ts|
+|Deprecated version changed|Method or attribute name: onInactive Deprecated version: N/A|Method or attribute name: onInactive Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: onActive Deprecated version: N/A|Method or attribute name: onActive Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: zoom Deprecated version: N/A|Method or attribute name: zoom Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: clearHistory Deprecated version: N/A|Method or attribute name: clearHistory Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: runJavaScript Deprecated version: N/A|Method or attribute name: runJavaScript Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: loadData Deprecated version: N/A|Method or attribute name: loadData Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: loadUrl Deprecated version: N/A|Method or attribute name: loadUrl Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: refresh Deprecated version: N/A|Method or attribute name: refresh Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: stop Deprecated version: N/A|Method or attribute name: stop Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: registerJavaScriptProxy Deprecated version: N/A|Method or attribute name: registerJavaScriptProxy Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: deleteJavaScriptRegister Deprecated version: N/A|Method or attribute name: deleteJavaScriptRegister Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: getHitTest Deprecated version: N/A|Method or attribute name: getHitTest Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: requestFocus Deprecated version: N/A|Method or attribute name: requestFocus Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: accessBackward Deprecated version: N/A|Method or attribute name: accessBackward Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: accessForward Deprecated version: N/A|Method or attribute name: accessForward Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: accessStep Deprecated version: N/A|Method or attribute name: accessStep Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: backward Deprecated version: N/A|Method or attribute name: backward Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Deprecated version changed|Method or attribute name: forward Deprecated version: N/A|Method or attribute name: forward Deprecated version: 9 New API: ohos.web.webview.webview.WebviewController|web.d.ts|
+|Initial version changed|Method or attribute name: extendViewModel Initial version: |Method or attribute name: extendViewModel Initial version: 4|viewmodel.d.ts|
+|Access level changed|Method or attribute name: springMotion Access level: public API|Method or attribute name: springMotion Access level: system API|@ohos.curves.d.ts|
+|Access level changed|Method or attribute name: responsiveSpringMotion Access level: public API|Method or attribute name: responsiveSpringMotion Access level: system API|@ohos.curves.d.ts|
+|Access level changed|Class name: BlurStyle Access level: public API|Class name: BlurStyle Access level: system API|common.d.ts|
+|Access level changed|Method or attribute name: Thin Access level: public API|Method or attribute name: Thin Access level: system API|common.d.ts|
+|Access level changed|Method or attribute name: Regular Access level: public API|Method or attribute name: Regular Access level: system API|common.d.ts|
+|Access level changed|Method or attribute name: Thick Access level: public API|Method or attribute name: Thick Access level: system API|common.d.ts|
+|Access level changed|Method or attribute name: backgroundBlurStyle Access level: public API|Method or attribute name: backgroundBlurStyle Access level: system API|common.d.ts|
+|Access level changed|Method or attribute name: extendViewModel Access level: public API|Method or attribute name: extendViewModel Access level: system API|viewmodel.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-battery.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-battery.md
new file mode 100644
index 0000000000000000000000000000000000000000..5a64b73afc104608ed9bef532f31bfbfee8c838a
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-battery.md
@@ -0,0 +1,75 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.power Class name: power Method or attribute name: shutdown|@ohos.power.d.ts|
+|Added||Module name: ohos.power Class name: power Method or attribute name: reboot|@ohos.power.d.ts|
+|Added||Module name: ohos.power Class name: power Method or attribute name: isActive|@ohos.power.d.ts|
+|Added||Module name: ohos.power Class name: power Method or attribute name: wakeup|@ohos.power.d.ts|
+|Added||Module name: ohos.power Class name: power Method or attribute name: suspend|@ohos.power.d.ts|
+|Added||Method or attribute name: getPowerMode Function name: function getPowerMode(): DevicePowerMode;|@ohos.power.d.ts|
+|Added||Module name: ohos.runningLock Class name: RunningLock Method or attribute name: hold|@ohos.runningLock.d.ts|
+|Added||Module name: ohos.runningLock Class name: RunningLock Method or attribute name: isHolding|@ohos.runningLock.d.ts|
+|Added||Module name: ohos.runningLock Class name: RunningLock Method or attribute name: unhold|@ohos.runningLock.d.ts|
+|Added||Module name: ohos.runningLock Class name: runningLock Method or attribute name: isSupported|@ohos.runningLock.d.ts|
+|Added||Module name: ohos.runningLock Class name: runningLock Method or attribute name: create|@ohos.runningLock.d.ts|
+|Added||Module name: ohos.runningLock Class name: runningLock Method or attribute name: create|@ohos.runningLock.d.ts|
+|Added||Module name: ohos.thermal Class name: thermal Method or attribute name: registerThermalLevelCallback|@ohos.thermal.d.ts|
+|Added||Module name: ohos.thermal Class name: thermal Method or attribute name: unregisterThermalLevelCallback|@ohos.thermal.d.ts|
+|Added||Module name: ohos.thermal Class name: thermal Method or attribute name: getLevel|@ohos.thermal.d.ts|
+|Deleted|Module name: ohos.power Class name: power Method or attribute name: shutdownDevice||@ohos.power.d.ts|
+|Deleted|Module name: ohos.power Class name: power Method or attribute name: wakeupDevice||@ohos.power.d.ts|
+|Deleted|Module name: ohos.power Class name: power Method or attribute name: suspendDevice||@ohos.power.d.ts|
+|Deprecated version changed|Method or attribute name: rebootDevice Deprecated version: N/A|Method or attribute name: rebootDevice Deprecated version: 9 New API: {@link power|@ohos.power.d.ts|
+|Deprecated version changed|Method or attribute name: isScreenOn Deprecated version: N/A|Method or attribute name: isScreenOn Deprecated version: 9 New API: {@link power|@ohos.power.d.ts|
+|Deprecated version changed|Method or attribute name: isScreenOn Deprecated version: N/A|Method or attribute name: isScreenOn Deprecated version: 9|@ohos.power.d.ts|
+|Deprecated version changed|Method or attribute name: lock Deprecated version: N/A|Method or attribute name: lock Deprecated version: 9 New API: {@link RunningLock|@ohos.runningLock.d.ts|
+|Deprecated version changed|Method or attribute name: isUsed Deprecated version: N/A|Method or attribute name: isUsed Deprecated version: 9 New API: {@link RunningLock|@ohos.runningLock.d.ts|
+|Deprecated version changed|Method or attribute name: unlock Deprecated version: N/A|Method or attribute name: unlock Deprecated version: 9 New API: {@link RunningLock|@ohos.runningLock.d.ts|
+|Deprecated version changed|Method or attribute name: isRunningLockTypeSupported Deprecated version: N/A|Method or attribute name: isRunningLockTypeSupported Deprecated version: 9 New API: {@link RunningLock|@ohos.runningLock.d.ts|
+|Deprecated version changed|Method or attribute name: isRunningLockTypeSupported Deprecated version: N/A|Method or attribute name: isRunningLockTypeSupported Deprecated version: 9|@ohos.runningLock.d.ts|
+|Deprecated version changed|Method or attribute name: createRunningLock Deprecated version: N/A|Method or attribute name: createRunningLock Deprecated version: 9 New API: {@link RunningLock|@ohos.runningLock.d.ts|
+|Deprecated version changed|Method or attribute name: createRunningLock Deprecated version: N/A|Method or attribute name: createRunningLock Deprecated version: 9|@ohos.runningLock.d.ts|
+|Deprecated version changed|Method or attribute name: subscribeThermalLevel Deprecated version: N/A|Method or attribute name: subscribeThermalLevel Deprecated version: 9 New API: {@link thermal|@ohos.thermal.d.ts|
+|Deprecated version changed|Method or attribute name: unsubscribeThermalLevel Deprecated version: N/A|Method or attribute name: unsubscribeThermalLevel Deprecated version: 9 New API: {@link thermal|@ohos.thermal.d.ts|
+|Deprecated version changed|Method or attribute name: getThermalLevel Deprecated version: N/A|Method or attribute name: getThermalLevel Deprecated version: 9 New API: {@link thermal|@ohos.thermal.d.ts|
+|Deprecated version changed|Class name: BatteryResponse Deprecated version: 9|Class name: BatteryResponse Deprecated version: 6|@system.battery.d.ts|
+|Deprecated version changed|Method or attribute name: charging Deprecated version: 9|Method or attribute name: charging Deprecated version: 6|@system.battery.d.ts|
+|Deprecated version changed|Method or attribute name: level Deprecated version: 9|Method or attribute name: level Deprecated version: 6|@system.battery.d.ts|
+|Deprecated version changed|Class name: GetStatusOptions Deprecated version: 9|Class name: GetStatusOptions Deprecated version: 6|@system.battery.d.ts|
+|Deprecated version changed|Method or attribute name: success Deprecated version: 9|Method or attribute name: success Deprecated version: 6|@system.battery.d.ts|
+|Deprecated version changed|Method or attribute name: fail Deprecated version: 9|Method or attribute name: fail Deprecated version: 6|@system.battery.d.ts|
+|Deprecated version changed|Method or attribute name: complete Deprecated version: 9|Method or attribute name: complete Deprecated version: 6|@system.battery.d.ts|
+|Deprecated version changed|Class name: Battery Deprecated version: 9|Class name: Battery Deprecated version: 6|@system.battery.d.ts|
+|Deprecated version changed|Method or attribute name: getStatus Deprecated version: 9|Method or attribute name: getStatus Deprecated version: 6|@system.battery.d.ts|
+|Deprecated version changed|Class name: BrightnessResponse Deprecated version: 9|Class name: BrightnessResponse Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: value Deprecated version: 9|Method or attribute name: value Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Class name: GetBrightnessOptions Deprecated version: 9|Class name: GetBrightnessOptions Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: success Deprecated version: 9|Method or attribute name: success Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: fail Deprecated version: 9|Method or attribute name: fail Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: complete Deprecated version: 9|Method or attribute name: complete Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Class name: SetBrightnessOptions Deprecated version: 9|Class name: SetBrightnessOptions Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: value Deprecated version: 9|Method or attribute name: value Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: success Deprecated version: 9|Method or attribute name: success Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: fail Deprecated version: 9|Method or attribute name: fail Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: complete Deprecated version: 9|Method or attribute name: complete Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Class name: BrightnessModeResponse Deprecated version: 9|Class name: BrightnessModeResponse Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: mode Deprecated version: 9|Method or attribute name: mode Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Class name: GetBrightnessModeOptions Deprecated version: 9|Class name: GetBrightnessModeOptions Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: success Deprecated version: 9|Method or attribute name: success Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: fail Deprecated version: 9|Method or attribute name: fail Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: complete Deprecated version: 9|Method or attribute name: complete Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Class name: SetBrightnessModeOptions Deprecated version: 9|Class name: SetBrightnessModeOptions Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: mode Deprecated version: 9|Method or attribute name: mode Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: success Deprecated version: 9|Method or attribute name: success Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: fail Deprecated version: 9|Method or attribute name: fail Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: complete Deprecated version: 9|Method or attribute name: complete Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Class name: SetKeepScreenOnOptions Deprecated version: 9|Class name: SetKeepScreenOnOptions Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: keepScreenOn Deprecated version: 9|Method or attribute name: keepScreenOn Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: success Deprecated version: 9|Method or attribute name: success Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: fail Deprecated version: 9|Method or attribute name: fail Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: complete Deprecated version: 9|Method or attribute name: complete Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Class name: Brightness Deprecated version: 9|Class name: Brightness Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: getValue Deprecated version: 9|Method or attribute name: getValue Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: setValue Deprecated version: 9|Method or attribute name: setValue Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: getMode Deprecated version: 9|Method or attribute name: getMode Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: setMode Deprecated version: 9|Method or attribute name: setMode Deprecated version: 7|@system.brightness.d.ts|
+|Deprecated version changed|Method or attribute name: setKeepScreenOn Deprecated version: 9|Method or attribute name: setKeepScreenOn Deprecated version: 7|@system.brightness.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-bundle.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-bundle.md
new file mode 100644
index 0000000000000000000000000000000000000000..d69e86233f8fc50471910d95003caaf79e8c9d63
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-bundle.md
@@ -0,0 +1,385 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.bundle.appControl Class name: appControl|@ohos.bundle.appControl.d.ts|
+|Added||Module name: ohos.bundle.appControl Class name: appControl Method or attribute name: setDisposedStatus|@ohos.bundle.appControl.d.ts|
+|Added||Module name: ohos.bundle.appControl Class name: appControl Method or attribute name: setDisposedStatus|@ohos.bundle.appControl.d.ts|
+|Added||Module name: ohos.bundle.appControl Class name: appControl Method or attribute name: getDisposedStatus|@ohos.bundle.appControl.d.ts|
+|Added||Module name: ohos.bundle.appControl Class name: appControl Method or attribute name: getDisposedStatus|@ohos.bundle.appControl.d.ts|
+|Added||Module name: ohos.bundle.appControl Class name: appControl Method or attribute name: deleteDisposedStatus|@ohos.bundle.appControl.d.ts|
+|Added||Module name: ohos.bundle.appControl Class name: appControl Method or attribute name: deleteDisposedStatus|@ohos.bundle.appControl.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: BundleFlag|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: BundleFlag Method or attribute name: GET_BUNDLE_INFO_DEFAULT|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: BundleFlag Method or attribute name: GET_BUNDLE_INFO_WITH_APPLICATION|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: BundleFlag Method or attribute name: GET_BUNDLE_INFO_WITH_HAP_MODULE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: BundleFlag Method or attribute name: GET_BUNDLE_INFO_WITH_ABILITY|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: BundleFlag Method or attribute name: GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: BundleFlag Method or attribute name: GET_BUNDLE_INFO_WITH_REQUESTED_PERMISSION|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: BundleFlag Method or attribute name: GET_BUNDLE_INFO_WITH_METADATA|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: BundleFlag Method or attribute name: GET_BUNDLE_INFO_WITH_DISABLE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: BundleFlag Method or attribute name: GET_BUNDLE_INFO_WITH_SIGNATURE_INFO|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ApplicationFlag|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ApplicationFlag Method or attribute name: GET_APPLICATION_INFO_DEFAULT|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ApplicationFlag Method or attribute name: GET_APPLICATION_INFO_WITH_PERMISSION|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ApplicationFlag Method or attribute name: GET_APPLICATION_INFO_WITH_METADATA|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ApplicationFlag Method or attribute name: GET_APPLICATION_INFO_WITH_DISABLE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityFlag|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityFlag Method or attribute name: GET_ABILITY_INFO_DEFAULT|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityFlag Method or attribute name: GET_ABILITY_INFO_WITH_PERMISSION|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityFlag Method or attribute name: GET_ABILITY_INFO_WITH_APPLICATION|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityFlag Method or attribute name: GET_ABILITY_INFO_WITH_METADATA|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityFlag Method or attribute name: GET_ABILITY_INFO_WITH_DISABLE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityFlag Method or attribute name: GET_ABILITY_INFO_ONLY_SYSTEM_APP|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityFlag|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityFlag Method or attribute name: GET_EXTENSION_ABILITY_INFO_DEFAULT|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityFlag Method or attribute name: GET_EXTENSION_ABILITY_INFO_WITH_PERMISSION|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityFlag Method or attribute name: GET_EXTENSION_ABILITY_INFO_WITH_APPLICATION|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityFlag Method or attribute name: GET_EXTENSION_ABILITY_INFO_WITH_METADATA|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: FORM|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: WORK_SCHEDULER|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: INPUT_METHOD|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: SERVICE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: ACCESSIBILITY|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: DATA_SHARE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: FILE_SHARE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: STATIC_SUBSCRIBER|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: WALLPAPER|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: BACKUP|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: WINDOW|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: ENTERPRISE_ADMIN|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: THUMBNAIL|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: PREVIEW|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: ExtensionAbilityType Method or attribute name: UNSPECIFIED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: PermissionGrantState|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: PermissionGrantState Method or attribute name: PERMISSION_DENIED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: PermissionGrantState Method or attribute name: PERMISSION_GRANTED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: SupportWindowMode|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: SupportWindowMode Method or attribute name: FULL_SCREEN|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: SupportWindowMode Method or attribute name: SPLIT|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: SupportWindowMode Method or attribute name: FLOATING|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: LaunchType|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: LaunchType Method or attribute name: SINGLETON|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: LaunchType Method or attribute name: STANDARD|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: LaunchType Method or attribute name: SPECIFIED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityType|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityType Method or attribute name: PAGE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityType Method or attribute name: SERVICE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: AbilityType Method or attribute name: DATA|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: UNSPECIFIED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: LANDSCAPE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: PORTRAIT|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: FOLLOW_RECENT|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: LANDSCAPE_INVERTED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: PORTRAIT_INVERTED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: AUTO_ROTATION|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: AUTO_ROTATION_LANDSCAPE|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: AUTO_ROTATION_PORTRAIT|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: AUTO_ROTATION_RESTRICTED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: AUTO_ROTATION_LANDSCAPE_RESTRICTED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: AUTO_ROTATION_PORTRAIT_RESTRICTED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: DisplayOrientation Method or attribute name: LOCKED|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleInfoForSelf|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleInfoForSelf|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getApplicationInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getApplicationInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getApplicationInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getAllBundleInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getAllBundleInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getAllBundleInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getAllApplicationInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getAllApplicationInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getAllApplicationInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: queryAbilityInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: queryAbilityInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: queryAbilityInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: queryExtensionAbilityInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: queryExtensionAbilityInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: queryExtensionAbilityInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleNameByUid|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleNameByUid|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleArchiveInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleArchiveInfo|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: cleanBundleCacheFiles|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: cleanBundleCacheFiles|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: setApplicationEnabled|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: setApplicationEnabled|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: setAbilityEnabled|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: setAbilityEnabled|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: isApplicationEnabled|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: isApplicationEnabled|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: isAbilityEnabled|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: isAbilityEnabled|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getLaunchWantForBundle|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getLaunchWantForBundle|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getLaunchWantForBundle|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getProfileByAbility|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getProfileByAbility|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getProfileByExtensionAbility|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getProfileByExtensionAbility|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getPermissionDef|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getPermissionDef|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getAbilityLabel|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getAbilityLabel|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getAbilityIcon|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getAbilityIcon|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getApplicationInfoSync|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getApplicationInfoSync|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleInfoSync|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleManager Class name: bundleManager Method or attribute name: getBundleInfoSync|@ohos.bundle.bundleManager.d.ts|
+|Added||Module name: ohos.bundle.bundleMonitor Class name: bundleMonitor|@ohos.bundle.bundleMonitor.d.ts|
+|Added||Module name: ohos.bundle.bundleMonitor Class name: BundleChangedInfo|@ohos.bundle.bundleMonitor.d.ts|
+|Added||Module name: ohos.bundle.bundleMonitor Class name: BundleChangedInfo Method or attribute name: bundleName|@ohos.bundle.bundleMonitor.d.ts|
+|Added||Module name: ohos.bundle.bundleMonitor Class name: BundleChangedInfo Method or attribute name: userId|@ohos.bundle.bundleMonitor.d.ts|
+|Added||Module name: ohos.bundle.bundleMonitor Class name: bundleMonitor Method or attribute name: on_add|@ohos.bundle.bundleMonitor.d.ts|
+|Added||Module name: ohos.bundle.bundleMonitor Class name: bundleMonitor Method or attribute name: on_update|@ohos.bundle.bundleMonitor.d.ts|
+|Added||Module name: ohos.bundle.bundleMonitor Class name: bundleMonitor Method or attribute name: on_remove|@ohos.bundle.bundleMonitor.d.ts|
+|Added||Module name: ohos.bundle.bundleMonitor Class name: bundleMonitor Method or attribute name: off_add|@ohos.bundle.bundleMonitor.d.ts|
+|Added||Module name: ohos.bundle.bundleMonitor Class name: bundleMonitor Method or attribute name: off_update|@ohos.bundle.bundleMonitor.d.ts|
+|Added||Module name: ohos.bundle.bundleMonitor Class name: bundleMonitor Method or attribute name: off_remove|@ohos.bundle.bundleMonitor.d.ts|
+|Added||Module name: ohos.bundle.defaultAppManager Class name: ApplicationType|@ohos.bundle.defaultAppManager.d.ts|
+|Added||Method or attribute name: BROWSER Function name: BROWSER = "Web Browser"|@ohos.bundle.defaultAppManager.d.ts|
+|Added||Method or attribute name: IMAGE Function name: IMAGE = "Image Gallery"|@ohos.bundle.defaultAppManager.d.ts|
+|Added||Method or attribute name: AUDIO Function name: AUDIO = "Audio Player"|@ohos.bundle.defaultAppManager.d.ts|
+|Added||Method or attribute name: VIDEO Function name: VIDEO = "Video Player"|@ohos.bundle.defaultAppManager.d.ts|
+|Added||Method or attribute name: PDF Function name: PDF = "PDF Viewer"|@ohos.bundle.defaultAppManager.d.ts|
+|Added||Method or attribute name: WORD Function name: WORD = "Word Viewer"|@ohos.bundle.defaultAppManager.d.ts|
+|Added||Method or attribute name: EXCEL Function name: EXCEL = "Excel Viewer"|@ohos.bundle.defaultAppManager.d.ts|
+|Added||Method or attribute name: PPT Function name: PPT = "PPT Viewer"|@ohos.bundle.defaultAppManager.d.ts|
+|Added||Module name: ohos.bundle.distributedBundle Class name: distributedBundle|@ohos.bundle.distributedBundle.d.ts|
+|Added||Module name: ohos.bundle.distributedBundle Class name: distributedBundle Method or attribute name: getRemoteAbilityInfo|@ohos.bundle.distributedBundle.d.ts|
+|Added||Module name: ohos.bundle.distributedBundle Class name: distributedBundle Method or attribute name: getRemoteAbilityInfo|@ohos.bundle.distributedBundle.d.ts|
+|Added||Module name: ohos.bundle.distributedBundle Class name: distributedBundle Method or attribute name: getRemoteAbilityInfo|@ohos.bundle.distributedBundle.d.ts|
+|Added||Module name: ohos.bundle.distributedBundle Class name: distributedBundle Method or attribute name: getRemoteAbilityInfo|@ohos.bundle.distributedBundle.d.ts|
+|Added||Module name: ohos.bundle.distributedBundle Class name: distributedBundle Method or attribute name: getRemoteAbilityInfo|@ohos.bundle.distributedBundle.d.ts|
+|Added||Module name: ohos.bundle.distributedBundle Class name: distributedBundle Method or attribute name: getRemoteAbilityInfo|@ohos.bundle.distributedBundle.d.ts|
+|Added||Module name: ohos.bundle.distributedBundle Class name: distributedBundle Method or attribute name: getRemoteAbilityInfo|@ohos.bundle.distributedBundle.d.ts|
+|Added||Module name: ohos.bundle.distributedBundle Class name: distributedBundle Method or attribute name: getRemoteAbilityInfo|@ohos.bundle.distributedBundle.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: freeInstall|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: UpgradeFlag|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: UpgradeFlag Method or attribute name: NOT_UPGRADE|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: UpgradeFlag Method or attribute name: SINGLE_UPGRADE|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: UpgradeFlag Method or attribute name: RELATION_UPGRADE|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: BundlePackFlag|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: BundlePackFlag Method or attribute name: GET_PACK_INFO_ALL|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: BundlePackFlag Method or attribute name: GET_PACKAGES|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: BundlePackFlag Method or attribute name: GET_BUNDLE_SUMMARY|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: BundlePackFlag Method or attribute name: GET_MODULE_SUMMARY|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: freeInstall Method or attribute name: setHapModuleUpgradeFlag|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: freeInstall Method or attribute name: setHapModuleUpgradeFlag|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: freeInstall Method or attribute name: isHapModuleRemovable|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: freeInstall Method or attribute name: isHapModuleRemovable|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: freeInstall Method or attribute name: getBundlePackInfo|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: freeInstall Method or attribute name: getBundlePackInfo|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: freeInstall Method or attribute name: getDispatchInfo|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.freeInstall Class name: freeInstall Method or attribute name: getDispatchInfo|@ohos.bundle.freeInstall.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: installer|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: installer Method or attribute name: getBundleInstaller|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: installer Method or attribute name: getBundleInstaller|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: BundleInstaller|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: BundleInstaller Method or attribute name: install|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: BundleInstaller Method or attribute name: uninstall|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: BundleInstaller Method or attribute name: recover|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: HashParam|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: HashParam Method or attribute name: moduleName|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: HashParam Method or attribute name: hashValue|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: InstallParam|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: InstallParam Method or attribute name: userId|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: InstallParam Method or attribute name: installFlag|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: InstallParam Method or attribute name: isKeepData|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: InstallParam Method or attribute name: hashParams|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.installer Class name: InstallParam Method or attribute name: crowdtestDeadline|@ohos.bundle.installer.d.ts|
+|Added||Module name: ohos.bundle.launcherBundleManager Class name: launcherBundleManager|@ohos.bundle.launcherBundleManager.d.ts|
+|Added||Module name: ohos.bundle.launcherBundleManager Class name: launcherBundleManager Method or attribute name: getLauncherAbilityInfo|@ohos.bundle.launcherBundleManager.d.ts|
+|Added||Module name: ohos.bundle.launcherBundleManager Class name: launcherBundleManager Method or attribute name: getLauncherAbilityInfo|@ohos.bundle.launcherBundleManager.d.ts|
+|Added||Module name: ohos.bundle.launcherBundleManager Class name: launcherBundleManager Method or attribute name: getAllLauncherAbilityInfo|@ohos.bundle.launcherBundleManager.d.ts|
+|Added||Module name: ohos.bundle.launcherBundleManager Class name: launcherBundleManager Method or attribute name: getAllLauncherAbilityInfo|@ohos.bundle.launcherBundleManager.d.ts|
+|Added||Module name: ohos.bundle.launcherBundleManager Class name: launcherBundleManager Method or attribute name: getShortcutInfo|@ohos.bundle.launcherBundleManager.d.ts|
+|Added||Module name: ohos.bundle.launcherBundleManager Class name: launcherBundleManager Method or attribute name: getShortcutInfo|@ohos.bundle.launcherBundleManager.d.ts|
+|Added||Module name: ohos.zlib Class name: zlib Method or attribute name: compressFile|@ohos.zlib.d.ts|
+|Added||Module name: ohos.zlib Class name: zlib Method or attribute name: compressFile|@ohos.zlib.d.ts|
+|Added||Module name: ohos.zlib Class name: zlib Method or attribute name: decompressFile|@ohos.zlib.d.ts|
+|Added||Module name: ohos.zlib Class name: zlib Method or attribute name: decompressFile|@ohos.zlib.d.ts|
+|Added||Module name: abilityInfo Class name: AbilityInfo Method or attribute name: type|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: AbilityInfo Method or attribute name: orientation|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: AbilityInfo Method or attribute name: launchType|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: AbilityInfo Method or attribute name: supportWindowModes|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: AbilityInfo Method or attribute name: windowSize|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: WindowSize|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: WindowSize Method or attribute name: maxWindowRatio|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: WindowSize Method or attribute name: minWindowRatio|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: WindowSize Method or attribute name: maxWindowWidth|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: WindowSize Method or attribute name: minWindowWidth|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: WindowSize Method or attribute name: maxWindowHeight|abilityInfo.d.ts|
+|Added||Module name: abilityInfo Class name: WindowSize Method or attribute name: minWindowHeight|abilityInfo.d.ts|
+|Added||Module name: applicationInfo Class name: ApplicationInfo Method or attribute name: labelId|applicationInfo.d.ts|
+|Added||Module name: applicationInfo Class name: ApplicationInfo Method or attribute name: iconId|applicationInfo.d.ts|
+|Added||Module name: bundleInfo Class name: BundleInfo Method or attribute name: hapModulesInfo|bundleInfo.d.ts|
+|Added||Module name: bundleInfo Class name: BundleInfo Method or attribute name: permissionGrantStates|bundleInfo.d.ts|
+|Added||Module name: bundleInfo Class name: BundleInfo Method or attribute name: signatureInfo|bundleInfo.d.ts|
+|Added||Module name: bundleInfo Class name: SignatureInfo|bundleInfo.d.ts|
+|Added||Module name: bundleInfo Class name: SignatureInfo Method or attribute name: appId|bundleInfo.d.ts|
+|Added||Module name: bundleInfo Class name: SignatureInfo Method or attribute name: fingerprint|bundleInfo.d.ts|
+|Added||Module name: dispatchInfo Class name: DispatchInfo Method or attribute name: dispatchAPIVersion|dispatchInfo.d.ts|
+|Added||Module name: extensionAbilityInfo Class name: ExtensionAbilityInfo Method or attribute name: extensionAbilityType|extensionAbilityInfo.d.ts|
+|Added||Module name: hapModuleInfo Class name: HapModuleInfo Method or attribute name: abilitiesInfo|hapModuleInfo.d.ts|
+|Added||Module name: hapModuleInfo Class name: HapModuleInfo Method or attribute name: extensionAbilitiesInfo|hapModuleInfo.d.ts|
+|Added||Module name: hapModuleInfo Class name: HapModuleInfo Method or attribute name: moduleSourceDir|hapModuleInfo.d.ts|
+|Added||Module name: packInfo Class name: PackageConfig Method or attribute name: deviceTypes|packInfo.d.ts|
+|Added||Module name: packInfo Class name: ExtensionAbility|packInfo.d.ts|
+|Added||Module name: packInfo Class name: ExtensionAbility Method or attribute name: name|packInfo.d.ts|
+|Added||Module name: packInfo Class name: ExtensionAbility Method or attribute name: forms|packInfo.d.ts|
+|Added||Module name: packInfo Class name: ModuleConfigInfo Method or attribute name: mainAbility|packInfo.d.ts|
+|Added||Module name: packInfo Class name: ModuleConfigInfo Method or attribute name: deviceTypes|packInfo.d.ts|
+|Added||Module name: packInfo Class name: ModuleConfigInfo Method or attribute name: extensionAbilities|packInfo.d.ts|
+|Added||Module name: packInfo Class name: AbilityFormInfo Method or attribute name: supportDimensions|packInfo.d.ts|
+|Added||Module name: packInfo Class name: AbilityFormInfo Method or attribute name: defaultDimension|packInfo.d.ts|
+|Added||Module name: permissionDef Class name: PermissionDef|permissionDef.d.ts|
+|Added||Module name: permissionDef Class name: PermissionDef Method or attribute name: permissionName|permissionDef.d.ts|
+|Added||Module name: permissionDef Class name: PermissionDef Method or attribute name: grantMode|permissionDef.d.ts|
+|Added||Module name: permissionDef Class name: PermissionDef Method or attribute name: labelId|permissionDef.d.ts|
+|Added||Module name: permissionDef Class name: PermissionDef Method or attribute name: descriptionId|permissionDef.d.ts|
+|Added||Module name: shortcutInfo Class name: ShortcutInfo Method or attribute name: moduleName|shortcutInfo.d.ts|
+|Added||Module name: shortcutInfo Class name: ShortcutWant Method or attribute name: targetAbility|shortcutInfo.d.ts|
+|Deprecated version changed|Class name: bundle Deprecated version: N/A|Class name: bundle Deprecated version: 9 New API: ohos.bundle.bundleManager |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: BundleFlag Deprecated version: N/A|Class name: BundleFlag Deprecated version: 9 New API: ohos.bundle.bundleManager.BundleFlag|@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: ExtensionFlag Deprecated version: N/A|Class name: ExtensionFlag Deprecated version: 9 New API: ohos.bundle.bundleManager.ExtensionAbilityFlag |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: ColorMode Deprecated version: N/A|Class name: ColorMode Deprecated version: 9 New API: ohos.bundle.bundleManager |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: GrantStatus Deprecated version: N/A|Class name: GrantStatus Deprecated version: 9 New API: bundleInfo.PermissionGrantStatus |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: AbilityType Deprecated version: N/A|Class name: AbilityType Deprecated version: 9 New API: abilityInfo.AbilityType |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: AbilitySubType Deprecated version: N/A|Class name: AbilitySubType Deprecated version: 9 New API: ohos.bundle.bundleManager |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: DisplayOrientation Deprecated version: N/A|Class name: DisplayOrientation Deprecated version: 9 New API: abilityInfo.DisplayOrientation |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: LaunchMode Deprecated version: N/A|Class name: LaunchMode Deprecated version: 9 New API: bundleManager/AbilityInfo.LaunchType |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: ExtensionAbilityType Deprecated version: N/A|Class name: ExtensionAbilityType Deprecated version: 9 New API: bundleManager/ExtensionAbilityInfo.ExtensionAbilityType |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: BundleOptions Deprecated version: N/A|Class name: BundleOptions Deprecated version: 9 New API: ohos.bundle.bundleManager |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: InstallErrorCode Deprecated version: N/A|Class name: InstallErrorCode Deprecated version: 9 New API: ohos.bundle.bundleManager |@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: UpgradeFlag Deprecated version: N/A|Class name: UpgradeFlag Deprecated version: 9 New API: ohos.bundle.freeInstall|@ohos.bundle.d.ts|
+|Deprecated version changed|Class name: SupportWindowMode Deprecated version: N/A|Class name: SupportWindowMode Deprecated version: 9 New API: bundleManager/AbilityInfo.SupportWindowMode |@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundleInfo Deprecated version: N/A|Method or attribute name: getBundleInfo Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundleInfo Deprecated version: N/A|Method or attribute name: getBundleInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundleInfo Deprecated version: N/A|Method or attribute name: getBundleInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundleInstaller Deprecated version: N/A|Method or attribute name: getBundleInstaller Deprecated version: 9 New API: ohos.bundle.installer|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundleInstaller Deprecated version: N/A|Method or attribute name: getBundleInstaller Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityInfo Deprecated version: N/A|Method or attribute name: getAbilityInfo Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityInfo Deprecated version: N/A|Method or attribute name: getAbilityInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getApplicationInfo Deprecated version: N/A|Method or attribute name: getApplicationInfo Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getApplicationInfo Deprecated version: N/A|Method or attribute name: getApplicationInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getApplicationInfo Deprecated version: N/A|Method or attribute name: getApplicationInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: queryAbilityByWant Deprecated version: N/A|Method or attribute name: queryAbilityByWant Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: queryAbilityByWant Deprecated version: N/A|Method or attribute name: queryAbilityByWant Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: queryAbilityByWant Deprecated version: N/A|Method or attribute name: queryAbilityByWant Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAllBundleInfo Deprecated version: N/A|Method or attribute name: getAllBundleInfo Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAllBundleInfo Deprecated version: N/A|Method or attribute name: getAllBundleInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAllBundleInfo Deprecated version: N/A|Method or attribute name: getAllBundleInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAllApplicationInfo Deprecated version: N/A|Method or attribute name: getAllApplicationInfo Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAllApplicationInfo Deprecated version: N/A|Method or attribute name: getAllApplicationInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAllApplicationInfo Deprecated version: N/A|Method or attribute name: getAllApplicationInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getNameForUid Deprecated version: N/A|Method or attribute name: getNameForUid Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getNameForUid Deprecated version: N/A|Method or attribute name: getNameForUid Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundleArchiveInfo Deprecated version: N/A|Method or attribute name: getBundleArchiveInfo Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundleArchiveInfo Deprecated version: N/A|Method or attribute name: getBundleArchiveInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getLaunchWantForBundle Deprecated version: N/A|Method or attribute name: getLaunchWantForBundle Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getLaunchWantForBundle Deprecated version: N/A|Method or attribute name: getLaunchWantForBundle Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: cleanBundleCacheFiles Deprecated version: N/A|Method or attribute name: cleanBundleCacheFiles Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: cleanBundleCacheFiles Deprecated version: N/A|Method or attribute name: cleanBundleCacheFiles Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: setApplicationEnabled Deprecated version: N/A|Method or attribute name: setApplicationEnabled Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: setApplicationEnabled Deprecated version: N/A|Method or attribute name: setApplicationEnabled Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: setAbilityEnabled Deprecated version: N/A|Method or attribute name: setAbilityEnabled Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: setAbilityEnabled Deprecated version: N/A|Method or attribute name: setAbilityEnabled Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: queryExtensionAbilityInfos Deprecated version: N/A|Method or attribute name: queryExtensionAbilityInfos Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: queryExtensionAbilityInfos Deprecated version: N/A|Method or attribute name: queryExtensionAbilityInfos Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: queryExtensionAbilityInfos Deprecated version: N/A|Method or attribute name: queryExtensionAbilityInfos Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getPermissionDef Deprecated version: N/A|Method or attribute name: getPermissionDef Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getPermissionDef Deprecated version: N/A|Method or attribute name: getPermissionDef Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityLabel Deprecated version: N/A|Method or attribute name: getAbilityLabel Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityLabel Deprecated version: N/A|Method or attribute name: getAbilityLabel Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityIcon Deprecated version: N/A|Method or attribute name: getAbilityIcon Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityIcon Deprecated version: N/A|Method or attribute name: getAbilityIcon Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: isAbilityEnabled Deprecated version: N/A|Method or attribute name: isAbilityEnabled Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: isAbilityEnabled Deprecated version: N/A|Method or attribute name: isAbilityEnabled Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: isApplicationEnabled Deprecated version: N/A|Method or attribute name: isApplicationEnabled Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: isApplicationEnabled Deprecated version: N/A|Method or attribute name: isApplicationEnabled Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: setModuleUpgradeFlag Deprecated version: N/A|Method or attribute name: setModuleUpgradeFlag Deprecated version: 9 New API: ohos.bundle.freeInstall|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: setModuleUpgradeFlag Deprecated version: N/A|Method or attribute name: setModuleUpgradeFlag Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: isModuleRemovable Deprecated version: N/A|Method or attribute name: isModuleRemovable Deprecated version: 9 New API: ohos.bundle.freeInstall|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: isModuleRemovable Deprecated version: N/A|Method or attribute name: isModuleRemovable Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundlePackInfo Deprecated version: N/A|Method or attribute name: getBundlePackInfo Deprecated version: 9 New API: ohos.bundle.freeInstall|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundlePackInfo Deprecated version: N/A|Method or attribute name: getBundlePackInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityInfo Deprecated version: N/A|Method or attribute name: getAbilityInfo Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityInfo Deprecated version: N/A|Method or attribute name: getAbilityInfo Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getDispatcherVersion Deprecated version: N/A|Method or attribute name: getDispatcherVersion Deprecated version: 9 New API: ohos.bundle.freeInstall|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getDispatcherVersion Deprecated version: N/A|Method or attribute name: getDispatcherVersion Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityLabel Deprecated version: N/A|Method or attribute name: getAbilityLabel Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityLabel Deprecated version: N/A|Method or attribute name: getAbilityLabel Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityIcon Deprecated version: N/A|Method or attribute name: getAbilityIcon Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getAbilityIcon Deprecated version: N/A|Method or attribute name: getAbilityIcon Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getProfileByAbility Deprecated version: N/A|Method or attribute name: getProfileByAbility Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getProfileByAbility Deprecated version: N/A|Method or attribute name: getProfileByAbility Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getProfileByExtensionAbility Deprecated version: N/A|Method or attribute name: getProfileByExtensionAbility Deprecated version: 9 New API: ohos.bundle.bundleManager|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getProfileByExtensionAbility Deprecated version: N/A|Method or attribute name: getProfileByExtensionAbility Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: setDisposedStatus Deprecated version: N/A|Method or attribute name: setDisposedStatus Deprecated version: 9 New API: ohos.bundle.appControl|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: setDisposedStatus Deprecated version: N/A|Method or attribute name: setDisposedStatus Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getDisposedStatus Deprecated version: N/A|Method or attribute name: getDisposedStatus Deprecated version: 9 New API: ohos.bundle.appControl|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getDisposedStatus Deprecated version: N/A|Method or attribute name: getDisposedStatus Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getApplicationInfoSync Deprecated version: N/A|Method or attribute name: getApplicationInfoSync Deprecated version: 9 New API: ohos.bundle.appControl|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getApplicationInfoSync Deprecated version: N/A|Method or attribute name: getApplicationInfoSync Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundleInfoSync Deprecated version: N/A|Method or attribute name: getBundleInfoSync Deprecated version: 9 New API: ohos.bundle.appControl|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getBundleInfoSync Deprecated version: N/A|Method or attribute name: getBundleInfoSync Deprecated version: 9|@ohos.bundle.d.ts|
+|Deprecated version changed|Method or attribute name: getLauncherAbilityInfos Deprecated version: N/A|Method or attribute name: getLauncherAbilityInfos Deprecated version: 9 New API: ohos.bundle.launcherBundleManager|@ohos.bundle.innerBundleManager.d.ts|
+|Deprecated version changed|Method or attribute name: getLauncherAbilityInfos Deprecated version: N/A|Method or attribute name: getLauncherAbilityInfos Deprecated version: 9|@ohos.bundle.innerBundleManager.d.ts|
+|Deprecated version changed|Method or attribute name: on_BundleStatusChange Deprecated version: N/A|Method or attribute name: on_BundleStatusChange Deprecated version: 9 New API: ohos.bundle.bundleMonitor|@ohos.bundle.innerBundleManager.d.ts|
+|Deprecated version changed|Method or attribute name: on_BundleStatusChange Deprecated version: N/A|Method or attribute name: on_BundleStatusChange Deprecated version: 9|@ohos.bundle.innerBundleManager.d.ts|
+|Deprecated version changed|Method or attribute name: off_BundleStatusChange Deprecated version: N/A|Method or attribute name: off_BundleStatusChange Deprecated version: 9 New API: ohos.bundle.bundleMonitor|@ohos.bundle.innerBundleManager.d.ts|
+|Deprecated version changed|Method or attribute name: off_BundleStatusChange Deprecated version: N/A|Method or attribute name: off_BundleStatusChange Deprecated version: 9|@ohos.bundle.innerBundleManager.d.ts|
+|Deprecated version changed|Method or attribute name: getAllLauncherAbilityInfos Deprecated version: N/A|Method or attribute name: getAllLauncherAbilityInfos Deprecated version: 9 New API: ohos.bundle.launcherBundleManager|@ohos.bundle.innerBundleManager.d.ts|
+|Deprecated version changed|Method or attribute name: getAllLauncherAbilityInfos Deprecated version: N/A|Method or attribute name: getAllLauncherAbilityInfos Deprecated version: 9|@ohos.bundle.innerBundleManager.d.ts|
+|Deprecated version changed|Method or attribute name: getShortcutInfos Deprecated version: N/A|Method or attribute name: getShortcutInfos Deprecated version: 9 New API: ohos.bundle.launcherBundleManager|@ohos.bundle.innerBundleManager.d.ts|
+|Deprecated version changed|Method or attribute name: getShortcutInfos Deprecated version: N/A|Method or attribute name: getShortcutInfos Deprecated version: 9|@ohos.bundle.innerBundleManager.d.ts|
+|Deprecated version changed|Class name: distributedBundle Deprecated version: N/A|Class name: distributedBundle Deprecated version: 9 New API: ohos.bundle.distributeBundle |@ohos.distributedBundle.d.ts|
+|Deprecated version changed|Method or attribute name: getRemoteAbilityInfo Deprecated version: N/A|Method or attribute name: getRemoteAbilityInfo Deprecated version: 9 New API: ohos.bundle.distributeBundle|@ohos.distributedBundle.d.ts|
+|Deprecated version changed|Method or attribute name: getRemoteAbilityInfo Deprecated version: N/A|Method or attribute name: getRemoteAbilityInfo Deprecated version: 9|@ohos.distributedBundle.d.ts|
+|Deprecated version changed|Method or attribute name: getRemoteAbilityInfos Deprecated version: N/A|Method or attribute name: getRemoteAbilityInfos Deprecated version: 9 New API: ohos.bundle.distributeBundle|@ohos.distributedBundle.d.ts|
+|Deprecated version changed|Method or attribute name: getRemoteAbilityInfos Deprecated version: N/A|Method or attribute name: getRemoteAbilityInfos Deprecated version: 9|@ohos.distributedBundle.d.ts|
+|Deprecated version changed|Class name: ErrorCode Deprecated version: N/A|Class name: ErrorCode Deprecated version: 9|@ohos.zlib.d.ts|
+|Deprecated version changed|Method or attribute name: zipFile Deprecated version: N/A|Method or attribute name: zipFile Deprecated version: 9 New API: ohos.zlib|@ohos.zlib.d.ts|
+|Deprecated version changed|Method or attribute name: unzipFile Deprecated version: N/A|Method or attribute name: unzipFile Deprecated version: 9 New API: ohos.zlib|@ohos.zlib.d.ts|
+|Deprecated version changed|Class name: AbilityInfo Deprecated version: N/A|Class name: AbilityInfo Deprecated version: 9 New API: ohos.bundle.bundleManager.AbilityInfo |abilityInfo.d.ts|
+|Deprecated version changed|Class name: ApplicationInfo Deprecated version: N/A|Class name: ApplicationInfo Deprecated version: 9 New API: ohos.bundle.bundleManager.ApplicationInfo |applicationInfo.d.ts|
+|Deprecated version changed|Class name: UsedScene Deprecated version: N/A|Class name: UsedScene Deprecated version: 9 New API: ohos.bundle.bundleManager.UsedScene |bundleInfo.d.ts|
+|Deprecated version changed|Class name: ReqPermissionDetail Deprecated version: N/A|Class name: ReqPermissionDetail Deprecated version: 9 New API: ohos.bundle.bundleManager.ReqPermissionDetail |bundleInfo.d.ts|
+|Deprecated version changed|Class name: BundleInfo Deprecated version: N/A|Class name: BundleInfo Deprecated version: 9 New API: ohos.bundle.bundleManager.BundleInfo |bundleInfo.d.ts|
+|Deprecated version changed|Class name: InstallParam Deprecated version: N/A|Class name: InstallParam Deprecated version: 9 New API: ohos.bundle.installer|bundleInstaller.d.ts|
+|Deprecated version changed|Method or attribute name: userId Deprecated version: N/A|Method or attribute name: userId Deprecated version: 9 New API: ohos.bundle.installer.InstallParam|bundleInstaller.d.ts|
+|Deprecated version changed|Method or attribute name: installFlag Deprecated version: N/A|Method or attribute name: installFlag Deprecated version: 9 New API: ohos.bundle.installer.InstallParam|bundleInstaller.d.ts|
+|Deprecated version changed|Method or attribute name: isKeepData Deprecated version: N/A|Method or attribute name: isKeepData Deprecated version: 9 New API: ohos.bundle.installer.InstallParam|bundleInstaller.d.ts|
+|Deprecated version changed|Class name: InstallStatus Deprecated version: N/A|Class name: InstallStatus Deprecated version: 9|bundleInstaller.d.ts|
+|Deprecated version changed|Method or attribute name: status Deprecated version: N/A|Method or attribute name: status Deprecated version: 9|bundleInstaller.d.ts|
+|Deprecated version changed|Method or attribute name: statusMessage Deprecated version: N/A|Method or attribute name: statusMessage Deprecated version: 9|bundleInstaller.d.ts|
+|Deprecated version changed|Class name: BundleInstaller Deprecated version: N/A|Class name: BundleInstaller Deprecated version: 9 New API: ohos.bundle.installer|bundleInstaller.d.ts|
+|Deprecated version changed|Method or attribute name: install Deprecated version: N/A|Method or attribute name: install Deprecated version: 9 New API: ohos.bundle.installer.BundleInstaller|bundleInstaller.d.ts|
+|Deprecated version changed|Method or attribute name: uninstall Deprecated version: N/A|Method or attribute name: uninstall Deprecated version: 9 New API: ohos.bundle.installer.BundleInstaller|bundleInstaller.d.ts|
+|Deprecated version changed|Method or attribute name: recover Deprecated version: N/A|Method or attribute name: recover Deprecated version: 9 New API: ohos.bundle.installer.BundleInstaller|bundleInstaller.d.ts|
+|Deprecated version changed|Class name: BundleStatusCallback Deprecated version: N/A|Class name: BundleStatusCallback Deprecated version: 9|bundleStatusCallback.d.ts|
+|Deprecated version changed|Class name: CustomizeData Deprecated version: N/A|Class name: CustomizeData Deprecated version: 9 New API: ohos.bundle.bundleManager.Metadata |customizeData.d.ts|
+|Deprecated version changed|Class name: ElementName Deprecated version: N/A|Class name: ElementName Deprecated version: 9 New API: ohos.bundle.bundleManager.ElementName |elementName.d.ts|
+|Deprecated version changed|Class name: ExtensionAbilityInfo Deprecated version: N/A|Class name: ExtensionAbilityInfo Deprecated version: 9 New API: ohos.bundle.bundleManager.ExtensionAbilityInfo |extensionAbilityInfo.d.ts|
+|Deprecated version changed|Class name: HapModuleInfo Deprecated version: N/A|Class name: HapModuleInfo Deprecated version: 9 New API: ohos.bundle.bundleManager.HapModuleInfo |hapModuleInfo.d.ts|
+|Deprecated version changed|Class name: LauncherAbilityInfo Deprecated version: N/A|Class name: LauncherAbilityInfo Deprecated version: 9 New API: ohos.bundle.bundleManager.LauncherAbilityInfo |launcherAbilityInfo.d.ts|
+|Deprecated version changed|Class name: Metadata Deprecated version: N/A|Class name: Metadata Deprecated version: 9 New API: ohos.bundle.bundleManager.Metadata |metadata.d.ts|
+|Deprecated version changed|Class name: ModuleInfo Deprecated version: N/A|Class name: ModuleInfo Deprecated version: 9 New API: ohos.bundle.bundleManager.HapModuleInfo |moduleInfo.d.ts|
+|Deprecated version changed|Class name: PermissionDef Deprecated version: N/A|Class name: PermissionDef Deprecated version: 9 New API: ohos.bundle.bundleManager.PermissionDef |PermissionDef.d.ts|
+|Deprecated version changed|Class name: RemoteAbilityInfo Deprecated version: N/A|Class name: RemoteAbilityInfo Deprecated version: 9 New API: ohos.bundle.distributedBundle.RemoteAbilityInfo |remoteAbilityInfo.d.ts|
+|Deprecated version changed|Class name: ShortcutWant Deprecated version: N/A|Class name: ShortcutWant Deprecated version: 9 New API: ohos.bundle.launcherBundleManager.ShortcutWant |shortcutInfo.d.ts|
+|Deprecated version changed|Class name: ShortcutInfo Deprecated version: N/A|Class name: ShortcutInfo Deprecated version: 9 New API: ohos.bundle.launcherBundleManager.ShortcutInfo |shortcutInfo.d.ts|
+|Error code added||Method or attribute name: isDefaultApplication Error code: 401, 801|@ohos.bundle.defaultAppManager.d.ts|
+|Error code added||Method or attribute name: isDefaultApplication Error code: 401, 801|@ohos.bundle.defaultAppManager.d.ts|
+|Error code added||Method or attribute name: getDefaultApplication Error code: 201, 401, 801, 17700004, 17700023, 17700025|@ohos.bundle.defaultAppManager.d.ts|
+|Error code added||Method or attribute name: getDefaultApplication Error code: 201, 401, 801, 17700004, 17700023, 17700025|@ohos.bundle.defaultAppManager.d.ts|
+|Error code added||Method or attribute name: setDefaultApplication Error code: 201, 401, 801, 17700004, 17700025, 17700028|@ohos.bundle.defaultAppManager.d.ts|
+|Error code added||Method or attribute name: setDefaultApplication Error code: 201, 401, 801, 17700004, 17700025, 17700028|@ohos.bundle.defaultAppManager.d.ts|
+|Error code added||Method or attribute name: resetDefaultApplication Error code: 201, 401, 801, 17700004, 17700025|@ohos.bundle.defaultAppManager.d.ts|
+|Error code added||Method or attribute name: resetDefaultApplication Error code: 201, 401, 801, 17700004, 17700025|@ohos.bundle.defaultAppManager.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-communication.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-communication.md
new file mode 100644
index 0000000000000000000000000000000000000000..4c173e4a8ea77ac52d79faa923370e4fbf730903
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-communication.md
@@ -0,0 +1,837 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.net.connection Class name: NetHandle Method or attribute name: bindSocket|@ohos.net.connection.d.ts|
+|Added||Module name: ohos.net.connection Class name: NetHandle Method or attribute name: bindSocket|@ohos.net.connection.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: ethernet|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: ethernet Method or attribute name: getIfaceConfig|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: ethernet Method or attribute name: getIfaceConfig|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: ethernet Method or attribute name: setIfaceConfig|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: ethernet Method or attribute name: setIfaceConfig|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: ethernet Method or attribute name: isIfaceActive|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: ethernet Method or attribute name: isIfaceActive|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: ethernet Method or attribute name: getAllActiveIfaces|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: ethernet Method or attribute name: getAllActiveIfaces|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: InterfaceConfiguration|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: InterfaceConfiguration Method or attribute name: mode|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: InterfaceConfiguration Method or attribute name: ipAddr|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: InterfaceConfiguration Method or attribute name: route|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: InterfaceConfiguration Method or attribute name: gateway|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: InterfaceConfiguration Method or attribute name: netMask|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: InterfaceConfiguration Method or attribute name: dnsServers|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: IPSetMode|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: IPSetMode Method or attribute name: STATIC|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.ethernet Class name: IPSetMode Method or attribute name: DHCP|@ohos.net.ethernet.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpRequestOptions Method or attribute name: expectDataType|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpRequestOptions Method or attribute name: usingCache|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpRequestOptions Method or attribute name: priority|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpRequestOptions Method or attribute name: usingProtocol|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpProtocol|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpProtocol Method or attribute name: HTTP1_1|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpProtocol Method or attribute name: HTTP2|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpDataType|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpDataType Method or attribute name: STRING|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpDataType Method or attribute name: OBJECT|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpDataType Method or attribute name: ARRAY_BUFFER|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpResponse Method or attribute name: resultType|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: http Method or attribute name: createHttpResponseCache|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpResponseCache|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpResponseCache Method or attribute name: flush|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpResponseCache Method or attribute name: flush|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpResponseCache Method or attribute name: delete|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.http Class name: HttpResponseCache Method or attribute name: delete|@ohos.net.http.d.ts|
+|Added||Module name: ohos.net.socket Class name: socket Method or attribute name: constructTLSSocketInstance|@ohos.net.socket.d.ts|
+|Added||Method or attribute name: socketLinger Function name: socketLinger?: {on: boolean, linger: number};|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: getCertificate|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: getCertificate|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: getRemoteCertificate|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: getRemoteCertificate|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: getProtocol|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: getProtocol|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: getCipherSuite|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: getCipherSuite|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: getSignatureAlgorithms|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: getSignatureAlgorithms|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: connect|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: connect|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: send|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSocket Method or attribute name: send|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSecureOptions|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSecureOptions Method or attribute name: ca|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSecureOptions Method or attribute name: cert|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSecureOptions Method or attribute name: key|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSecureOptions Method or attribute name: passwd|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSecureOptions Method or attribute name: protocols|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSecureOptions Method or attribute name: useRemoteCipherPrefer|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSecureOptions Method or attribute name: signatureAlgorithms|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSSecureOptions Method or attribute name: cipherSuite|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSConnectOptions|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSConnectOptions Method or attribute name: address|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSConnectOptions Method or attribute name: secureOptions|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: TLSConnectOptions Method or attribute name: ALPNProtocols|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: Protocol|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: Protocol Method or attribute name: TLSv12|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.net.socket Class name: Protocol Method or attribute name: TLSv13|@ohos.net.socket.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: TnfType|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: TnfType Method or attribute name: TNF_EMPTY|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: TnfType Method or attribute name: TNF_WELL_KNOWN|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: TnfType Method or attribute name: TNF_MEDIA|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: TnfType Method or attribute name: TNF_ABSOLUTE_URI|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: TnfType Method or attribute name: TNF_EXT_APP|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: TnfType Method or attribute name: TNF_UNKNOWN|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: TnfType Method or attribute name: TNF_UNCHANGED|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NfcForumType|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NfcForumType Method or attribute name: NFC_FORUM_TYPE_1|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NfcForumType Method or attribute name: NFC_FORUM_TYPE_2|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NfcForumType Method or attribute name: NFC_FORUM_TYPE_3|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NfcForumType Method or attribute name: NFC_FORUM_TYPE_4|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NfcForumType Method or attribute name: MIFARE_CLASSIC|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: tag Method or attribute name: RTD_TEXT|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: tag Method or attribute name: RTD_URI|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareClassicType|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareClassicType Method or attribute name: TYPE_UNKNOWN|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareClassicType Method or attribute name: TYPE_CLASSIC|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareClassicType Method or attribute name: TYPE_PLUS|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareClassicType Method or attribute name: TYPE_PRO|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareClassicSize|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareClassicSize Method or attribute name: MC_SIZE_MINI|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareClassicSize Method or attribute name: MC_SIZE_1K|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareClassicSize Method or attribute name: MC_SIZE_2K|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareClassicSize Method or attribute name: MC_SIZE_4K|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareUltralightType|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareUltralightType Method or attribute name: TYPE_UNKNOWN|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareUltralightType Method or attribute name: TYPE_ULTRALIGHT|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: MifareUltralightType Method or attribute name: TYPE_ULTRALIGHT_C|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: tag Method or attribute name: getIsoDep|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: tag Method or attribute name: getNdef|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: tag Method or attribute name: getMifareClassic|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: tag Method or attribute name: getMifareUltralight|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: tag Method or attribute name: getNdefFormatable|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: tag Method or attribute name: getTagInfo|@ohos.nfc.tag.d.ts|
+|Added||Method or attribute name: uid Function name: uid: number[];|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NdefRecord|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NdefRecord Method or attribute name: tnf|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NdefRecord Method or attribute name: rtdType|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NdefRecord Method or attribute name: id|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.nfc.tag Class name: NdefRecord Method or attribute name: payload|@ohos.nfc.tag.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: CHECK_PARAM_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: OS_MMAP_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: OS_IOCTL_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: WRITE_TO_ASHMEM_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: READ_FROM_ASHMEM_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: ONLY_PROXY_OBJECT_PERMITTED_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: ONLY_REMOTE_OBJECT_PERMITTED_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: COMMUNICATION_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: PROXY_OR_REMOTE_OBJECT_INVALID_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: WRITE_DATA_TO_MESSAGE_SEQUENCE_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: READ_DATA_FROM_MESSAGE_SEQUENCE_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: PARCEL_MEMORY_ALLOC_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: CALL_JS_METHOD_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: ErrorCode Method or attribute name: OS_DUP_ERROR|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: create|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: reclaim|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeRemoteObject|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readRemoteObject|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeInterfaceToken|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readInterfaceToken|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: getSize|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: getCapacity|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: setSize|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: setCapacity|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: getWritableBytes|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: getReadableBytes|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: getReadPosition|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: getWritePosition|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: rewindRead|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: rewindWrite|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeNoException|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readException|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeByte|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeShort|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeInt|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeLong|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeFloat|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeDouble|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeBoolean|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeChar|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeString|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeParcelable|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeByteArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeShortArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeIntArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeLongArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeFloatArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeDoubleArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeBooleanArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeCharArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeStringArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeParcelableArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeRemoteObjectArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readByte|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readShort|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readInt|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readLong|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readFloat|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readDouble|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readBoolean|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readChar|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readString|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readParcelable|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readByteArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readByteArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readShortArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readShortArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readIntArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readIntArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readLongArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readLongArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readFloatArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readFloatArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readDoubleArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readDoubleArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readBooleanArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readBooleanArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readCharArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readCharArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readStringArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readStringArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readParcelableArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readRemoteObjectArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readRemoteObjectArray|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: closeFileDescriptor|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: dupFileDescriptor|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: containFileDescriptors|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeFileDescriptor|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readFileDescriptor|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeAshmem|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readAshmem|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: getRawDataCapacity|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: writeRawData|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageSequence Method or attribute name: readRawData|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Parcelable|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Parcelable Method or attribute name: marshalling|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Parcelable Method or attribute name: unmarshalling|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RequestResult|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RequestResult Method or attribute name: errCode|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RequestResult Method or attribute name: code|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RequestResult Method or attribute name: data|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RequestResult Method or attribute name: reply|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: IRemoteObject Method or attribute name: getLocalInterface|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: IRemoteObject Method or attribute name: sendMessageRequest|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: IRemoteObject Method or attribute name: sendMessageRequest|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: IRemoteObject Method or attribute name: registerDeathRecipient|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: IRemoteObject Method or attribute name: unregisterDeathRecipient|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageOption Method or attribute name: ructor(async?|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageOption Method or attribute name: isAsync|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: MessageOption Method or attribute name: setAsync|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteObject Method or attribute name: getLocalInterface|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteObject Method or attribute name: getDescriptor|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteObject Method or attribute name: onRemoteMessageRequest|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteObject Method or attribute name: sendMessageRequest|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteObject Method or attribute name: sendMessageRequest|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteObject Method or attribute name: modifyLocalInterface|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteProxy Method or attribute name: getLocalInterface|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteProxy Method or attribute name: registerDeathRecipient|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteProxy Method or attribute name: unregisterDeathRecipient|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteProxy Method or attribute name: getDescriptor|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteProxy Method or attribute name: sendMessageRequest|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: RemoteProxy Method or attribute name: sendMessageRequest|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: IPCSkeleton Method or attribute name: flushCmdBuffer|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: IPCSkeleton Method or attribute name: restoreCallingIdentity|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Ashmem Method or attribute name: create|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Ashmem Method or attribute name: create|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Ashmem Method or attribute name: mapTypedAshmem|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Ashmem Method or attribute name: mapReadWriteAshmem|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Ashmem Method or attribute name: mapReadonlyAshmem|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Ashmem Method or attribute name: setProtectionType|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Ashmem Method or attribute name: writeAshmem|@ohos.rpc.d.ts|
+|Added||Module name: ohos.rpc Class name: Ashmem Method or attribute name: readAshmem|@ohos.rpc.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: enableWifi|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: disableWifi|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: isWifiActive|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: scan|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getScanResults|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getScanResults|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getScanResultsSync|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: addDeviceConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: addDeviceConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: addCandidateConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: addCandidateConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: removeCandidateConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: removeCandidateConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getCandidateConfigs|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: connectToCandidateConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: connectToNetwork|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: connectToDevice|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: disconnect|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getSignalLevel|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getLinkedInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getLinkedInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: isConnected|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getSupportedFeatures|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: isFeatureSupported|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getDeviceMacAddress|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getIpInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getCountryCode|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: reassociate|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: reconnect|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getDeviceConfigs|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: updateNetwork|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: disableNetwork|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: removeAllNetwork|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: removeDevice|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: enableHotspot|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: disableHotspot|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: isHotspotDualBandSupported|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: isHotspotActive|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: setHotspotConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getHotspotConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getStations|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getP2pLinkedInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getP2pLinkedInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getCurrentGroup|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getCurrentGroup|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getP2pPeerDevices|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getP2pPeerDevices|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getP2pLocalDevice|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getP2pLocalDevice|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: createGroup|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: removeGroup|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: p2pConnect|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: p2pDisconnect|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: startDiscoverDevices|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: stopDiscoverDevices|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: deletePersistentGroup|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getP2pGroups|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: getP2pGroups|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: setDeviceName|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_wifiStateChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_wifiStateChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_wifiConnectionChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_wifiConnectionChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_wifiScanStateChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_wifiScanStateChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_wifiRssiChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_wifiRssiChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_streamChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_streamChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_deviceConfigChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_deviceConfigChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_hotspotStateChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_hotspotStateChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_hotspotStaJoin|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_hotspotStaJoin|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_hotspotStaLeave|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_hotspotStaLeave|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_p2pStateChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_p2pStateChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_p2pConnectionChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_p2pConnectionChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_p2pDeviceChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_p2pDeviceChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_p2pPeerDeviceChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_p2pPeerDeviceChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_p2pPersistentGroupChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_p2pPersistentGroupChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: on_p2pDiscoveryChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: wifiManager Method or attribute name: off_p2pDiscoveryChange|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: EapMethod|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: EapMethod Method or attribute name: EAP_NONE|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: EapMethod Method or attribute name: EAP_PEAP|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: EapMethod Method or attribute name: EAP_TLS|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: EapMethod Method or attribute name: EAP_TTLS|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: EapMethod Method or attribute name: EAP_PWD|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: EapMethod Method or attribute name: EAP_SIM|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: EapMethod Method or attribute name: EAP_AKA|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: EapMethod Method or attribute name: EAP_AKA_PRIME|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: EapMethod Method or attribute name: EAP_UNAUTH_TLS|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: Phase2Method|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: Phase2Method Method or attribute name: PHASE2_NONE|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: Phase2Method Method or attribute name: PHASE2_PAP|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: Phase2Method Method or attribute name: PHASE2_MSCHAP|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: Phase2Method Method or attribute name: PHASE2_MSCHAPV2|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: Phase2Method Method or attribute name: PHASE2_GTC|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: Phase2Method Method or attribute name: PHASE2_SIM|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: Phase2Method Method or attribute name: PHASE2_AKA|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: Phase2Method Method or attribute name: PHASE2_AKA_PRIME|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: eapMethod|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: phase2Method|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: identity|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: anonymousIdentity|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: password|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: caCertAliases|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: caPath|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: clientCertAliases|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: altSubjectMatch|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: domainSuffixMatch|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: realm|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: plmn|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiEapConfig Method or attribute name: eapSubId|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: ssid|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: bssid|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: preSharedKey|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: isHiddenSsid|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: securityType|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: creatorUid|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: disableReason|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: netId|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: randomMacType|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: randomMacAddr|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: ipType|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: staticIp|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiDeviceConfig Method or attribute name: eapConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpConfig Method or attribute name: ipAddress|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpConfig Method or attribute name: gateway|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpConfig Method or attribute name: prefixLength|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpConfig Method or attribute name: dnsServers|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpConfig Method or attribute name: domains|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiInfoElem|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiInfoElem Method or attribute name: eid|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiInfoElem Method or attribute name: content|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiChannelWidth|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiChannelWidth Method or attribute name: WIDTH_20MHZ|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiChannelWidth Method or attribute name: WIDTH_40MHZ|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiChannelWidth Method or attribute name: WIDTH_80MHZ|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiChannelWidth Method or attribute name: WIDTH_160MHZ|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiChannelWidth Method or attribute name: WIDTH_80MHZ_PLUS|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiChannelWidth Method or attribute name: WIDTH_INVALID|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: ssid|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: bssid|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: capabilities|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: securityType|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: rssi|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: band|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: frequency|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: channelWidth|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: centerFrequency0|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: centerFrequency1|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: infoElems|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiScanInfo Method or attribute name: timestamp|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_INVALID|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_OPEN|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_WEP|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_PSK|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_SAE|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_EAP|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_EAP_SUITE_B|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_OWE|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_WAPI_CERT|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_WAPI_PSK|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: ssid|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: bssid|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: networkId|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: rssi|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: band|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: linkSpeed|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: frequency|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: isHidden|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: isRestricted|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: chload|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: snr|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: macType|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: macAddress|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: ipAddress|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: suppState|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiLinkedInfo Method or attribute name: connState|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpInfo Method or attribute name: ipAddress|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpInfo Method or attribute name: gateway|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpInfo Method or attribute name: netmask|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpInfo Method or attribute name: primaryDns|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpInfo Method or attribute name: secondDns|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpInfo Method or attribute name: serverIp|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpInfo Method or attribute name: leaseDuration|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: HotspotConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: HotspotConfig Method or attribute name: ssid|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: HotspotConfig Method or attribute name: securityType|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: HotspotConfig Method or attribute name: band|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: HotspotConfig Method or attribute name: preSharedKey|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: HotspotConfig Method or attribute name: maxConn|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: StationInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: StationInfo Method or attribute name: name|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: StationInfo Method or attribute name: macAddress|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: StationInfo Method or attribute name: ipAddress|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpType|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpType Method or attribute name: STATIC|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpType Method or attribute name: DHCP|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: IpType Method or attribute name: UNKNOWN|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: DISCONNECTED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: INTERFACE_DISABLED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: INACTIVE|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: SCANNING|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: AUTHENTICATING|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: ASSOCIATING|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: ASSOCIATED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: FOUR_WAY_HANDSHAKE|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: GROUP_HANDSHAKE|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: COMPLETED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: UNINITIALIZED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: SuppState Method or attribute name: INVALID|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: ConnState|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: ConnState Method or attribute name: SCANNING|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: ConnState Method or attribute name: CONNECTING|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: ConnState Method or attribute name: AUTHENTICATING|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: ConnState Method or attribute name: OBTAINING_IPADDR|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: ConnState Method or attribute name: CONNECTED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: ConnState Method or attribute name: DISCONNECTING|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: ConnState Method or attribute name: DISCONNECTED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: ConnState Method or attribute name: UNKNOWN|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pDevice|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pDevice Method or attribute name: deviceName|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pDevice Method or attribute name: deviceAddress|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pDevice Method or attribute name: primaryDeviceType|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pDevice Method or attribute name: deviceStatus|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pDevice Method or attribute name: groupCapabilities|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2PConfig|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2PConfig Method or attribute name: deviceAddress|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2PConfig Method or attribute name: netId|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2PConfig Method or attribute name: passphrase|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2PConfig Method or attribute name: groupName|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2PConfig Method or attribute name: goBand|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pGroupInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pGroupInfo Method or attribute name: isP2pGo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pGroupInfo Method or attribute name: ownerInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pGroupInfo Method or attribute name: passphrase|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pGroupInfo Method or attribute name: interface|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pGroupInfo Method or attribute name: groupName|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pGroupInfo Method or attribute name: networkId|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pGroupInfo Method or attribute name: frequency|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pGroupInfo Method or attribute name: clientDevices|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pGroupInfo Method or attribute name: goIpAddress|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: P2pConnectState|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: P2pConnectState Method or attribute name: DISCONNECTED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: P2pConnectState Method or attribute name: CONNECTED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pLinkedInfo|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pLinkedInfo Method or attribute name: connectState|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pLinkedInfo Method or attribute name: isGroupOwner|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: WifiP2pLinkedInfo Method or attribute name: groupOwnerAddr|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: P2pDeviceStatus|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: P2pDeviceStatus Method or attribute name: CONNECTED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: P2pDeviceStatus Method or attribute name: INVITED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: P2pDeviceStatus Method or attribute name: FAILED|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: P2pDeviceStatus Method or attribute name: AVAILABLE|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: P2pDeviceStatus Method or attribute name: UNAVAILABLE|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: GroupOwnerBand|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: GroupOwnerBand Method or attribute name: GO_BAND_AUTO|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: GroupOwnerBand Method or attribute name: GO_BAND_2GHZ|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManager Class name: GroupOwnerBand Method or attribute name: GO_BAND_5GHZ|@ohos.wifiManager.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: wifiManagerExt|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: wifiManagerExt Method or attribute name: enableHotspot|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: wifiManagerExt Method or attribute name: disableHotspot|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: wifiManagerExt Method or attribute name: getSupportedPowerMode|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: wifiManagerExt Method or attribute name: getSupportedPowerMode|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: wifiManagerExt Method or attribute name: getPowerMode|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: wifiManagerExt Method or attribute name: getPowerMode|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: wifiManagerExt Method or attribute name: setPowerMode|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: PowerMode|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: PowerMode Method or attribute name: SLEEPING|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: PowerMode Method or attribute name: GENERAL|@ohos.wifiManagerExt.d.ts|
+|Added||Module name: ohos.wifiManagerExt Class name: PowerMode Method or attribute name: THROUGH_WALL|@ohos.wifiManagerExt.d.ts|
+|Added||Method or attribute name: getHistoricalBytes Function name: getHistoricalBytes(): number[];|nfctech.d.ts|
+|Added||Method or attribute name: getHiLayerResponse Function name: getHiLayerResponse(): number[];|nfctech.d.ts|
+|Added||Method or attribute name: getNdefRecords Function name: getNdefRecords(): tag.NdefRecord[];|nfctech.d.ts|
+|Added||Method or attribute name: makeUriRecord Function name: makeUriRecord(uri: string): tag.NdefRecord;|nfctech.d.ts|
+|Added||Method or attribute name: makeTextRecord Function name: makeTextRecord(text: string, locale: string): tag.NdefRecord;|nfctech.d.ts|
+|Added||Method or attribute name: makeMimeRecord Function name: makeMimeRecord(mimeType: string, mimeData: number[]): tag.NdefRecord;|nfctech.d.ts|
+|Added||Method or attribute name: makeExternalRecord Function name: makeExternalRecord(domainName: string, serviceName: string, externalData: number[]): tag.NdefRecord;|nfctech.d.ts|
+|Added||Module name: nfctech Class name: NdefMessage Method or attribute name: messageToBytes|nfctech.d.ts|
+|Added||Method or attribute name: createNdefMessage Function name: createNdefMessage(data: number[]): NdefMessage;|nfctech.d.ts|
+|Added||Method or attribute name: createNdefMessage Function name: createNdefMessage(ndefRecords: tag.NdefRecord[]): NdefMessage;|nfctech.d.ts|
+|Added||Method or attribute name: getNdefTagType Function name: getNdefTagType(): tag.NfcForumType;|nfctech.d.ts|
+|Added||Method or attribute name: isNdefWritable Function name: isNdefWritable(): boolean;|nfctech.d.ts|
+|Added||Method or attribute name: writeNdef Function name: writeNdef(msg: NdefMessage): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: writeNdef Function name: writeNdef(msg: NdefMessage, callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Method or attribute name: canSetReadOnly Function name: canSetReadOnly(): boolean;|nfctech.d.ts|
+|Added||Method or attribute name: setReadOnly Function name: setReadOnly(): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: setReadOnly Function name: setReadOnly(callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Method or attribute name: getNdefTagTypeString Function name: getNdefTagTypeString(type: tag.NfcForumType): string;|nfctech.d.ts|
+|Added||Method or attribute name: authenticateSector Function name: authenticateSector(sectorIndex: number, key: number[], isKeyA: boolean): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: authenticateSector Function name: authenticateSector(sectorIndex: number, key: number[], isKeyA: boolean, callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Method or attribute name: readSingleBlock Function name: readSingleBlock(blockIndex: number): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: readSingleBlock Function name: readSingleBlock(blockIndex: number, callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Method or attribute name: writeSingleBlock Function name: writeSingleBlock(blockIndex: number, data: number[]): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: writeSingleBlock Function name: writeSingleBlock(blockIndex: number, data: number[], callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Method or attribute name: incrementBlock Function name: incrementBlock(blockIndex: number, value: number): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: incrementBlock Function name: incrementBlock(blockIndex: number, value: number, callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Method or attribute name: decrementBlock Function name: decrementBlock(blockIndex: number, value: number): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: decrementBlock Function name: decrementBlock(blockIndex: number, value: number, callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Method or attribute name: transferToBlock Function name: transferToBlock(blockIndex: number): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: transferToBlock Function name: transferToBlock(blockIndex: number, callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Method or attribute name: restoreFromBlock Function name: restoreFromBlock(blockIndex: number): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: restoreFromBlock Function name: restoreFromBlock(blockIndex: number, callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Method or attribute name: getType Function name: getType(): tag.MifareClassicType;|nfctech.d.ts|
+|Added||Method or attribute name: readMultiplePages Function name: readMultiplePages(pageIndex: number): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: readMultiplePages Function name: readMultiplePages(pageIndex: number, callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Module name: nfctech Class name: MifareUltralightTag Method or attribute name: writeSinglePage|nfctech.d.ts|
+|Added||Module name: nfctech Class name: MifareUltralightTag Method or attribute name: writeSinglePage|nfctech.d.ts|
+|Added||Method or attribute name: getType Function name: getType(): tag.MifareUltralightType;|nfctech.d.ts|
+|Added||Method or attribute name: format Function name: format(message: NdefMessage): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: format Function name: format(message: NdefMessage, callback: AsyncCallback): void;|nfctech.d.ts|
+|Added||Method or attribute name: formatReadOnly Function name: formatReadOnly(message: NdefMessage): Promise;|nfctech.d.ts|
+|Added||Method or attribute name: formatReadOnly Function name: formatReadOnly(message: NdefMessage, callback: AsyncCallback): void;|nfctech.d.ts|
+|Deleted|Module name: ohos.nfc.tag Class name: tag Method or attribute name: getIsoDepTag||@ohos.nfc.tag.d.ts|
+|Deleted|Module name: ohos.nfc.tag Class name: tag Method or attribute name: getNdefTag||@ohos.nfc.tag.d.ts|
+|Deleted|Module name: ohos.nfc.tag Class name: tag Method or attribute name: getMifareClassicTag||@ohos.nfc.tag.d.ts|
+|Deleted|Module name: ohos.nfc.tag Class name: tag Method or attribute name: getMifareUltralightTag||@ohos.nfc.tag.d.ts|
+|Deleted|Module name: ohos.nfc.tag Class name: tag Method or attribute name: getNdefFormatableTag||@ohos.nfc.tag.d.ts|
+|Deleted|Module name: ohos.rpc Class name: IRemoteObject Method or attribute name: sendRequestAsync||@ohos.rpc.d.ts|
+|Deleted|Module name: ohos.rpc Class name: RemoteObject Method or attribute name: onRemoteRequestEx||@ohos.rpc.d.ts|
+|Deleted|Module name: ohos.rpc Class name: RemoteObject Method or attribute name: sendRequestAsync||@ohos.rpc.d.ts|
+|Deleted|Module name: ohos.rpc Class name: RemoteProxy Method or attribute name: sendRequestAsync||@ohos.rpc.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: getScanInfosSync||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: addCandidateConfig||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: addCandidateConfig||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: removeCandidateConfig||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: removeCandidateConfig||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: getCandidateConfigs||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: connectToCandidateConfig||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: getP2pLocalDevice||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: getP2pLocalDevice||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: getP2pGroups||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: getP2pGroups||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: on_deviceConfigChange||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: wifi Method or attribute name: off_deviceConfigChange||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: EapMethod||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: EapMethod Method or attribute name: EAP_NONE||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: EapMethod Method or attribute name: EAP_PEAP||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: EapMethod Method or attribute name: EAP_TLS||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: EapMethod Method or attribute name: EAP_TTLS||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: EapMethod Method or attribute name: EAP_PWD||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: EapMethod Method or attribute name: EAP_SIM||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: EapMethod Method or attribute name: EAP_AKA||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: EapMethod Method or attribute name: EAP_AKA_PRIME||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: EapMethod Method or attribute name: EAP_UNAUTH_TLS||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: Phase2Method||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: Phase2Method Method or attribute name: PHASE2_NONE||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: Phase2Method Method or attribute name: PHASE2_PAP||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: Phase2Method Method or attribute name: PHASE2_MSCHAP||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: Phase2Method Method or attribute name: PHASE2_MSCHAPV2||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: Phase2Method Method or attribute name: PHASE2_GTC||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: Phase2Method Method or attribute name: PHASE2_SIM||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: Phase2Method Method or attribute name: PHASE2_AKA||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: Phase2Method Method or attribute name: PHASE2_AKA_PRIME||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: eapMethod||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: phase2Method||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: identity||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: anonymousIdentity||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: password||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: caCertAliases||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: caPath||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: clientCertAliases||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: altSubjectMatch||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: domainSuffixMatch||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: realm||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: plmn||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiEapConfig Method or attribute name: eapSubId||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiDeviceConfig Method or attribute name: eapConfig||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiInfoElem||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiInfoElem Method or attribute name: eid||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiInfoElem Method or attribute name: content||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiChannelWidth||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiChannelWidth Method or attribute name: WIDTH_20MHZ||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiChannelWidth Method or attribute name: WIDTH_40MHZ||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiChannelWidth Method or attribute name: WIDTH_80MHZ||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiChannelWidth Method or attribute name: WIDTH_160MHZ||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiChannelWidth Method or attribute name: WIDTH_80MHZ_PLUS||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiChannelWidth Method or attribute name: WIDTH_INVALID||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiScanInfo Method or attribute name: centerFrequency0||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiScanInfo Method or attribute name: centerFrequency1||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiScanInfo Method or attribute name: infoElems||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_EAP||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_EAP_SUITE_B||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_OWE||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_WAPI_CERT||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiSecurityType Method or attribute name: WIFI_SEC_TYPE_WAPI_PSK||@ohos.wifi.d.ts|
+|Deleted|Module name: ohos.wifi Class name: WifiLinkedInfo Method or attribute name: macType||@ohos.wifi.d.ts|
+|Deleted|Module name: nfctech Class name: NdefRecord||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NdefRecord Method or attribute name: tnf||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NdefRecord Method or attribute name: rtdType||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NdefRecord Method or attribute name: id||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NdefRecord Method or attribute name: payload||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: TnfType||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: TnfType Method or attribute name: TNF_EMPTY||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: TnfType Method or attribute name: TNF_WELL_KNOWN||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: TnfType Method or attribute name: TNF_MEDIA||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: TnfType Method or attribute name: TNF_ABSOLUTE_URI||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: TnfType Method or attribute name: TNF_EXT_APP||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: TnfType Method or attribute name: TNF_UNKNOWN||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: TnfType Method or attribute name: TNF_UNCHANGED||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: RtdType||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: RtdType Method or attribute name: RTD_TEXT||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: RtdType Method or attribute name: RTD_URI||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NdefMessage Method or attribute name: messageToString||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NfcForumType||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NfcForumType Method or attribute name: NFC_FORUM_TYPE_1||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NfcForumType Method or attribute name: NFC_FORUM_TYPE_2||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NfcForumType Method or attribute name: NFC_FORUM_TYPE_3||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NfcForumType Method or attribute name: NFC_FORUM_TYPE_4||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: NfcForumType Method or attribute name: MIFARE_CLASSIC||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareClassicType||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareClassicType Method or attribute name: TYPE_UNKNOWN||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareClassicType Method or attribute name: TYPE_CLASSIC||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareClassicType Method or attribute name: TYPE_PLUS||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareClassicType Method or attribute name: TYPE_PRO||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareTagSize||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareTagSize Method or attribute name: MC_SIZE_MINI||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareTagSize Method or attribute name: MC_SIZE_1K||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareTagSize Method or attribute name: MC_SIZE_2K||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareTagSize Method or attribute name: MC_SIZE_4K||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareUltralightType||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareUltralightType Method or attribute name: TYPE_UNKOWN||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareUltralightType Method or attribute name: TYPE_ULTRALIGHT||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareUltralightType Method or attribute name: TYPE_ULTRALIGHT_C||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareUltralightTag Method or attribute name: writeSinglePages||nfctech.d.ts|
+|Deleted|Module name: nfctech Class name: MifareUltralightTag Method or attribute name: writeSinglePages||nfctech.d.ts|
+|Deprecated version changed|Class name: MessageParcel Deprecated version: N/A|Class name: MessageParcel Deprecated version: 9 New API: ohos.rpc.MessageSequence |@ohos.rpc.d.ts|
+|Deprecated version changed|Class name: Sequenceable Deprecated version: N/A|Class name: Sequenceable Deprecated version: 9 New API: ohos.rpc.Parcelable |@ohos.rpc.d.ts|
+|Deprecated version changed|Class name: SendRequestResult Deprecated version: N/A|Class name: SendRequestResult Deprecated version: 9 New API: ohos.rpc.RequestResult |@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: queryLocalInterface Deprecated version: N/A|Method or attribute name: queryLocalInterface Deprecated version: 9 New API: ohos.rpc.IRemoteObject|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: sendRequest Deprecated version: 8|Method or attribute name: sendRequest Deprecated version: 9|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: sendRequest Deprecated version: N/A|Method or attribute name: sendRequest Deprecated version: 9 New API: ohos.rpc.IRemoteObject|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: addDeathRecipient Deprecated version: N/A|Method or attribute name: addDeathRecipient Deprecated version: 9 New API: ohos.rpc.IRemoteObject|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: removeDeathRecipient Deprecated version: N/A|Method or attribute name: removeDeathRecipient Deprecated version: 9 New API: ohos.rpc.IRemoteObject|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: getInterfaceDescriptor Deprecated version: N/A|Method or attribute name: getInterfaceDescriptor Deprecated version: 9 New API: ohos.rpc.IRemoteObject|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: queryLocalInterface Deprecated version: N/A|Method or attribute name: queryLocalInterface Deprecated version: 9 New API: ohos.rpc.RemoteObject|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: getInterfaceDescriptor Deprecated version: N/A|Method or attribute name: getInterfaceDescriptor Deprecated version: 9 New API: ohos.rpc.RemoteObject|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: sendRequest Deprecated version: N/A|Method or attribute name: sendRequest Deprecated version: 9 New API: ohos.rpc.RemoteObject|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: attachLocalInterface Deprecated version: N/A|Method or attribute name: attachLocalInterface Deprecated version: 9 New API: ohos.rpc.RemoteObject|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: queryLocalInterface Deprecated version: N/A|Method or attribute name: queryLocalInterface Deprecated version: 9 New API: ohos.rpc.RemoteProxy|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: addDeathRecipient Deprecated version: N/A|Method or attribute name: addDeathRecipient Deprecated version: 9 New API: ohos.rpc.RemoteProxy|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: removeDeathRecipient Deprecated version: N/A|Method or attribute name: removeDeathRecipient Deprecated version: 9 New API: ohos.rpc.RemoteProxy|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: getInterfaceDescriptor Deprecated version: N/A|Method or attribute name: getInterfaceDescriptor Deprecated version: 9 New API: ohos.rpc.RemoteProxy|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: sendRequest Deprecated version: N/A|Method or attribute name: sendRequest Deprecated version: 9 New API: ohos.rpc.RemoteProxy|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: flushCommands Deprecated version: N/A|Method or attribute name: flushCommands Deprecated version: 9 New API: ohos.rpc.IPCSkeleton|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: setCallingIdentity Deprecated version: N/A|Method or attribute name: setCallingIdentity Deprecated version: 9 New API: ohos.rpc.IPCSkeleton|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: createAshmem Deprecated version: N/A|Method or attribute name: createAshmem Deprecated version: 9 New API: ohos.rpc.Ashmem|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: createAshmemFromExisting Deprecated version: N/A|Method or attribute name: createAshmemFromExisting Deprecated version: 9 New API: ohos.rpc.Ashmem|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: mapAshmem Deprecated version: N/A|Method or attribute name: mapAshmem Deprecated version: 9 New API: ohos.rpc.Ashmem|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: mapReadAndWriteAshmem Deprecated version: N/A|Method or attribute name: mapReadAndWriteAshmem Deprecated version: 9 New API: ohos.rpc.Ashmem|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: mapReadOnlyAshmem Deprecated version: N/A|Method or attribute name: mapReadOnlyAshmem Deprecated version: 9 New API: ohos.rpc.Ashmem|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: setProtection Deprecated version: N/A|Method or attribute name: setProtection Deprecated version: 9 New API: ohos.rpc.Ashmem|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: writeToAshmem Deprecated version: N/A|Method or attribute name: writeToAshmem Deprecated version: 9 New API: ohos.rpc.Ashmem|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: readFromAshmem Deprecated version: N/A|Method or attribute name: readFromAshmem Deprecated version: 9 New API: ohos.rpc.Ashmem|@ohos.rpc.d.ts|
+|Deprecated version changed|Method or attribute name: enableWifi Deprecated version: N/A|Method or attribute name: enableWifi Deprecated version: 9 New API: ohos.wifiManager/wifiManager.enableWifi |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: disableWifi Deprecated version: N/A|Method or attribute name: disableWifi Deprecated version: 9 New API: ohos.wifiManager/wifiManager.disableWifi |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: isWifiActive Deprecated version: N/A|Method or attribute name: isWifiActive Deprecated version: 9 New API: ohos.wifiManager/wifiManager.isWifiActive |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: scan Deprecated version: N/A|Method or attribute name: scan Deprecated version: 9 New API: ohos.wifiManager/wifiManager.scan |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getScanInfos Deprecated version: N/A|Method or attribute name: getScanInfos Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getScanResults |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getScanInfos Deprecated version: N/A|Method or attribute name: getScanInfos Deprecated version: 9|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: addDeviceConfig Deprecated version: N/A|Method or attribute name: addDeviceConfig Deprecated version: 9 New API: ohos.wifiManager/wifiManager.addDeviceConfig |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: addDeviceConfig Deprecated version: N/A|Method or attribute name: addDeviceConfig Deprecated version: 9|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: connectToNetwork Deprecated version: N/A|Method or attribute name: connectToNetwork Deprecated version: 9 New API: ohos.wifiManager/wifiManager.connectToNetwork |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: connectToDevice Deprecated version: N/A|Method or attribute name: connectToDevice Deprecated version: 9 New API: ohos.wifiManager/wifiManager.connectToDevice |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: disconnect Deprecated version: N/A|Method or attribute name: disconnect Deprecated version: 9 New API: ohos.wifiManager/wifiManager.disconnect |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getSignalLevel Deprecated version: N/A|Method or attribute name: getSignalLevel Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getSignalLevel |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getLinkedInfo Deprecated version: N/A|Method or attribute name: getLinkedInfo Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getLinkedInfo |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getLinkedInfo Deprecated version: N/A|Method or attribute name: getLinkedInfo Deprecated version: 9|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: isConnected Deprecated version: N/A|Method or attribute name: isConnected Deprecated version: 9 New API: ohos.wifiManager/wifiManager.isConnected |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getSupportedFeatures Deprecated version: N/A|Method or attribute name: getSupportedFeatures Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getSupportedFeatures |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: isFeatureSupported Deprecated version: N/A|Method or attribute name: isFeatureSupported Deprecated version: 9 New API: ohos.wifiManager/wifiManager.isFeatureSupported |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getDeviceMacAddress Deprecated version: N/A|Method or attribute name: getDeviceMacAddress Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getDeviceMacAddress |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getIpInfo Deprecated version: N/A|Method or attribute name: getIpInfo Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getIpInfo |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getCountryCode Deprecated version: N/A|Method or attribute name: getCountryCode Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getCountryCode |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: reassociate Deprecated version: N/A|Method or attribute name: reassociate Deprecated version: 9 New API: ohos.wifiManager/wifiManager.reassociate |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: reconnect Deprecated version: N/A|Method or attribute name: reconnect Deprecated version: 9 New API: ohos.wifiManager/wifiManager.reconnect |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getDeviceConfigs Deprecated version: N/A|Method or attribute name: getDeviceConfigs Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getDeviceConfigs |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: updateNetwork Deprecated version: N/A|Method or attribute name: updateNetwork Deprecated version: 9 New API: ohos.wifiManager/wifiManager.updateNetwork |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: disableNetwork Deprecated version: N/A|Method or attribute name: disableNetwork Deprecated version: 9 New API: ohos.wifiManager/wifiManager.disableNetwork |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: removeAllNetwork Deprecated version: N/A|Method or attribute name: removeAllNetwork Deprecated version: 9 New API: ohos.wifiManager/wifiManager.removeAllNetwork |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: removeDevice Deprecated version: N/A|Method or attribute name: removeDevice Deprecated version: 9 New API: ohos.wifiManager/wifiManager.removeDevice |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: enableHotspot Deprecated version: N/A|Method or attribute name: enableHotspot Deprecated version: 9 New API: ohos.wifiManager/wifiManager.enableHotspot |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: disableHotspot Deprecated version: N/A|Method or attribute name: disableHotspot Deprecated version: 9 New API: ohos.wifiManager/wifiManager.disableHotspot |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: isHotspotDualBandSupported Deprecated version: N/A|Method or attribute name: isHotspotDualBandSupported Deprecated version: 9 New API: ohos.wifiManager/wifiManager.isHotspotDualBandSupported |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: isHotspotActive Deprecated version: N/A|Method or attribute name: isHotspotActive Deprecated version: 9 New API: ohos.wifiManager/wifiManager.isHotspotActive |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: setHotspotConfig Deprecated version: N/A|Method or attribute name: setHotspotConfig Deprecated version: 9 New API: ohos.wifiManager/wifiManager.setHotspotConfig |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getHotspotConfig Deprecated version: N/A|Method or attribute name: getHotspotConfig Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getHotspotConfig |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getStations Deprecated version: N/A|Method or attribute name: getStations Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getStations |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getP2pLinkedInfo Deprecated version: N/A|Method or attribute name: getP2pLinkedInfo Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getP2pLinkedInfo |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getP2pLinkedInfo Deprecated version: N/A|Method or attribute name: getP2pLinkedInfo Deprecated version: 9|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getCurrentGroup Deprecated version: N/A|Method or attribute name: getCurrentGroup Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getCurrentGroup |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getCurrentGroup Deprecated version: N/A|Method or attribute name: getCurrentGroup Deprecated version: 9|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getP2pPeerDevices Deprecated version: N/A|Method or attribute name: getP2pPeerDevices Deprecated version: 9 New API: ohos.wifiManager/wifiManager.getP2pPeerDevices |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: getP2pPeerDevices Deprecated version: N/A|Method or attribute name: getP2pPeerDevices Deprecated version: 9|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: createGroup Deprecated version: N/A|Method or attribute name: createGroup Deprecated version: 9 New API: ohos.wifiManager/wifiManager.createGroup |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: removeGroup Deprecated version: N/A|Method or attribute name: removeGroup Deprecated version: 9 New API: ohos.wifiManager/wifiManager.removeGroup |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: p2pConnect Deprecated version: N/A|Method or attribute name: p2pConnect Deprecated version: 9 New API: ohos.wifiManager/wifiManager.p2pConnect |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: p2pCancelConnect Deprecated version: N/A|Method or attribute name: p2pCancelConnect Deprecated version: 9 New API: ohos.wifiManager/wifiManager.p2pDisonnect |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: startDiscoverDevices Deprecated version: N/A|Method or attribute name: startDiscoverDevices Deprecated version: 9 New API: ohos.wifiManager/wifiManager.startDiscoverDevices |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: stopDiscoverDevices Deprecated version: N/A|Method or attribute name: stopDiscoverDevices Deprecated version: 9 New API: ohos.wifiManager/wifiManager.stopDiscoverDevices |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: deletePersistentGroup Deprecated version: N/A|Method or attribute name: deletePersistentGroup Deprecated version: 9 New API: ohos.wifiManager/wifiManager.deletePersistentGroup |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: setDeviceName Deprecated version: N/A|Method or attribute name: setDeviceName Deprecated version: 9 New API: ohos.wifiManager/wifiManager.setDeviceName |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_wifiStateChange Deprecated version: N/A|Method or attribute name: on_wifiStateChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_wifiStateChange Deprecated version: N/A|Method or attribute name: off_wifiStateChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_wifiConnectionChange Deprecated version: N/A|Method or attribute name: on_wifiConnectionChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_wifiConnectionChange Deprecated version: N/A|Method or attribute name: off_wifiConnectionChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_wifiScanStateChange Deprecated version: N/A|Method or attribute name: on_wifiScanStateChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_wifiScanStateChange Deprecated version: N/A|Method or attribute name: off_wifiScanStateChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_wifiRssiChange Deprecated version: N/A|Method or attribute name: on_wifiRssiChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_wifiRssiChange Deprecated version: N/A|Method or attribute name: off_wifiRssiChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_streamChange Deprecated version: N/A|Method or attribute name: on_streamChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_streamChange Deprecated version: N/A|Method or attribute name: off_streamChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_hotspotStateChange Deprecated version: N/A|Method or attribute name: on_hotspotStateChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_hotspotStateChange Deprecated version: N/A|Method or attribute name: off_hotspotStateChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_hotspotStaJoin Deprecated version: N/A|Method or attribute name: on_hotspotStaJoin Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_hotspotStaJoin Deprecated version: N/A|Method or attribute name: off_hotspotStaJoin Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_hotspotStaLeave Deprecated version: N/A|Method or attribute name: on_hotspotStaLeave Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_hotspotStaLeave Deprecated version: N/A|Method or attribute name: off_hotspotStaLeave Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_p2pStateChange Deprecated version: N/A|Method or attribute name: on_p2pStateChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_p2pStateChange Deprecated version: N/A|Method or attribute name: off_p2pStateChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_p2pConnectionChange Deprecated version: N/A|Method or attribute name: on_p2pConnectionChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_p2pConnectionChange Deprecated version: N/A|Method or attribute name: off_p2pConnectionChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_p2pDeviceChange Deprecated version: N/A|Method or attribute name: on_p2pDeviceChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_p2pDeviceChange Deprecated version: N/A|Method or attribute name: off_p2pDeviceChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_p2pPeerDeviceChange Deprecated version: N/A|Method or attribute name: on_p2pPeerDeviceChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_p2pPeerDeviceChange Deprecated version: N/A|Method or attribute name: off_p2pPeerDeviceChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_p2pPersistentGroupChange Deprecated version: N/A|Method or attribute name: on_p2pPersistentGroupChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_p2pPersistentGroupChange Deprecated version: N/A|Method or attribute name: off_p2pPersistentGroupChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: on_p2pDiscoveryChange Deprecated version: N/A|Method or attribute name: on_p2pDiscoveryChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.on|@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: off_p2pDiscoveryChange Deprecated version: N/A|Method or attribute name: off_p2pDiscoveryChange Deprecated version: 9 New API: ohos.wifiManager/wifiManager.off|@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: WifiDeviceConfig Deprecated version: N/A|Class name: WifiDeviceConfig Deprecated version: 9 New API: ohos.wifiManager/wifiManager.WifiDeviceConfig |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: IpConfig Deprecated version: N/A|Class name: IpConfig Deprecated version: 9 New API: ohos.wifiManager/wifiManager.IpConfig |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: WifiScanInfo Deprecated version: N/A|Class name: WifiScanInfo Deprecated version: 9 New API: ohos.wifiManager/wifiManager.WifiScanInfo |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: WifiSecurityType Deprecated version: N/A|Class name: WifiSecurityType Deprecated version: 9 New API: ohos.wifiManager/wifiManager.WifiSecurityType |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: WifiLinkedInfo Deprecated version: N/A|Class name: WifiLinkedInfo Deprecated version: 9 New API: ohos.wifiManager/wifiManager.WifiLinkedInfo |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: IpInfo Deprecated version: N/A|Class name: IpInfo Deprecated version: 9 New API: ohos.wifiManager/wifiManager.IpInfo |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: HotspotConfig Deprecated version: N/A|Class name: HotspotConfig Deprecated version: 9 New API: ohos.wifiManager/wifiManager.HotspotConfig |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: StationInfo Deprecated version: N/A|Class name: StationInfo Deprecated version: 9 New API: ohos.wifiManager/wifiManager.StationInfo |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: IpType Deprecated version: N/A|Class name: IpType Deprecated version: 9 New API: ohos.wifiManager/wifiManager.IpType |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: SuppState Deprecated version: N/A|Class name: SuppState Deprecated version: 9 New API: ohos.wifiManager/wifiManager.SuppState |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: ConnState Deprecated version: N/A|Class name: ConnState Deprecated version: 9 New API: ohos.wifiManager/wifiManager.ConnState |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: WifiP2pDevice Deprecated version: N/A|Class name: WifiP2pDevice Deprecated version: 9 New API: ohos.wifiManager/wifiManager.WifiP2pDevice |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: WifiP2PConfig Deprecated version: N/A|Class name: WifiP2PConfig Deprecated version: 9 New API: ohos.wifiManager/wifiManager.WifiP2PConfig |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: WifiP2pGroupInfo Deprecated version: N/A|Class name: WifiP2pGroupInfo Deprecated version: 9 New API: ohos.wifiManager/wifiManager.WifiP2pGroupInfo |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: P2pConnectState Deprecated version: N/A|Class name: P2pConnectState Deprecated version: 9 New API: ohos.wifiManager/wifiManager.P2pConnectState |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: WifiP2pLinkedInfo Deprecated version: N/A|Class name: WifiP2pLinkedInfo Deprecated version: 9 New API: ohos.wifiManager/wifiManager.WifiP2pLinkedInfo |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: P2pDeviceStatus Deprecated version: N/A|Class name: P2pDeviceStatus Deprecated version: 9 New API: ohos.wifiManager/wifiManager.P2pDeviceStatus |@ohos.wifi.d.ts|
+|Deprecated version changed|Class name: GroupOwnerBand Deprecated version: N/A|Class name: GroupOwnerBand Deprecated version: 9 New API: ohos.wifiManager/wifiManager.GroupOwnerBand |@ohos.wifi.d.ts|
+|Deprecated version changed|Method or attribute name: enableHotspot Deprecated version: N/A|Method or attribute name: enableHotspot Deprecated version: 9 New API: ohos.wifiManagerExt/wifiManagerExt.enableHotspot |@ohos.wifiext.d.ts|
+|Deprecated version changed|Method or attribute name: disableHotspot Deprecated version: N/A|Method or attribute name: disableHotspot Deprecated version: 9 New API: ohos.wifiManagerExt/wifiManagerExt.disableHotspot |@ohos.wifiext.d.ts|
+|Deprecated version changed|Method or attribute name: getSupportedPowerModel Deprecated version: N/A|Method or attribute name: getSupportedPowerModel Deprecated version: 9 New API: ohos.wifiManagerExt/wifiManagerExt.getSupportedPowerMode |@ohos.wifiext.d.ts|
+|Deprecated version changed|Method or attribute name: getSupportedPowerModel Deprecated version: N/A|Method or attribute name: getSupportedPowerModel Deprecated version: 9|@ohos.wifiext.d.ts|
+|Deprecated version changed|Method or attribute name: getPowerModel Deprecated version: N/A|Method or attribute name: getPowerModel Deprecated version: 9 New API: ohos.wifiManagerExt/wifiManagerExt.getPowerMode |@ohos.wifiext.d.ts|
+|Deprecated version changed|Method or attribute name: getPowerModel Deprecated version: N/A|Method or attribute name: getPowerModel Deprecated version: 9|@ohos.wifiext.d.ts|
+|Deprecated version changed|Method or attribute name: setPowerModel Deprecated version: N/A|Method or attribute name: setPowerModel Deprecated version: 9 New API: ohos.wifiManagerExt/wifiManagerExt.setPowerMode |@ohos.wifiext.d.ts|
+|Deprecated version changed|Class name: PowerModel Deprecated version: N/A|Class name: PowerModel Deprecated version: 9 New API: ohos.wifiManagerExt/wifiManagerExt.PowerMode |@ohos.wifiext.d.ts|
+|Permission deleted|Method or attribute name: getNdefMessage Permission: ohos.permission.NFC_TAG|Method or attribute name: getNdefMessage Permission: N/A|nfctech.d.ts|
+|Permission deleted|Method or attribute name: getSectorCount Permission: ohos.permission.NFC_TAG|Method or attribute name: getSectorCount Permission: N/A|nfctech.d.ts|
+|Permission deleted|Method or attribute name: getBlockCountInSector Permission: ohos.permission.NFC_TAG|Method or attribute name: getBlockCountInSector Permission: N/A|nfctech.d.ts|
+|Permission deleted|Method or attribute name: getTagSize Permission: ohos.permission.NFC_TAG|Method or attribute name: getTagSize Permission: N/A|nfctech.d.ts|
+|Permission deleted|Method or attribute name: isEmulatedTag Permission: ohos.permission.NFC_TAG|Method or attribute name: isEmulatedTag Permission: N/A|nfctech.d.ts|
+|Permission deleted|Method or attribute name: getBlockIndex Permission: ohos.permission.NFC_TAG|Method or attribute name: getBlockIndex Permission: N/A|nfctech.d.ts|
+|Permission deleted|Method or attribute name: getSectorIndex Permission: ohos.permission.NFC_TAG|Method or attribute name: getSectorIndex Permission: N/A|nfctech.d.ts|
+|Error code added||Method or attribute name: isExtendedApduSupported Error code: 201, 401, 3100201|nfctech.d.ts|
+|Error code added||Method or attribute name: readNdef Error code: 201, 401, 3100201|nfctech.d.ts|
+|Error code added||Method or attribute name: getBlockCountInSector Error code: 401|nfctech.d.ts|
+|Error code added||Method or attribute name: getBlockIndex Error code: 401|nfctech.d.ts|
+|Error code added||Method or attribute name: getSectorIndex Error code: 401|nfctech.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-compiler-and-runtime.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-compiler-and-runtime.md
new file mode 100644
index 0000000000000000000000000000000000000000..cc527a22cc65e0be3472cbcdca0414508c48fd47
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-compiler-and-runtime.md
@@ -0,0 +1,221 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.convertxml Class name: ConvertXML Method or attribute name: convertToJSObject|@ohos.convertxml.d.ts|
+|Added||Module name: ohos.process Class name: ProcessManager|@ohos.process.d.ts|
+|Added||Module name: ohos.process Class name: ProcessManager Method or attribute name: isAppUid|@ohos.process.d.ts|
+|Added||Module name: ohos.process Class name: ProcessManager Method or attribute name: getUidForName|@ohos.process.d.ts|
+|Added||Module name: ohos.process Class name: ProcessManager Method or attribute name: getThreadPriority|@ohos.process.d.ts|
+|Added||Module name: ohos.process Class name: ProcessManager Method or attribute name: getSystemConfig|@ohos.process.d.ts|
+|Added||Module name: ohos.process Class name: ProcessManager Method or attribute name: getEnvironmentVar|@ohos.process.d.ts|
+|Added||Module name: ohos.process Class name: ProcessManager Method or attribute name: exit|@ohos.process.d.ts|
+|Added||Module name: ohos.process Class name: ProcessManager Method or attribute name: kill|@ohos.process.d.ts|
+|Added||Module name: ohos.uri Class name: URI Method or attribute name: equalsTo|@ohos.uri.d.ts|
+|Added||Module name: ohos.url Class name: URLParams|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: ructor(init?|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: append|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: delete|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: getAll|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: entries|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: forEach|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: get|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: has|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: set|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: sort|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: keys|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: values|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: [Symbol.iterator]|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URLParams Method or attribute name: toString|@ohos.url.d.ts|
+|Added||Module name: ohos.url Class name: URL Method or attribute name: parseURL|@ohos.url.d.ts|
+|Added||Module name: ohos.util Class name: util Method or attribute name: format|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: util Method or attribute name: errnoToString|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: TextDecoder Method or attribute name: create|@ohos.util.d.ts|
+|Added||Method or attribute name: encodeInto Function name: encodeInto(input?: string): Uint8Array;|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: TextEncoder Method or attribute name: encodeIntoUint8Array|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: RationalNumber Method or attribute name: parseRationalNumber|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: RationalNumber Method or attribute name: compare|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: RationalNumber Method or attribute name: getCommonFactor|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: ructor(capacity?|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: updateCapacity|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: toString|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: length|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: getCapacity|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: clear|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: getCreateCount|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: getMissCount|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: getRemovalCount|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: getMatchCount|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: getPutCount|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: isEmpty|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: get|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: put|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: values|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: keys|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: remove|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: afterRemoval|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: contains|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: createDefault|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: entries|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: LRUCache Method or attribute name: [Symbol.iterator]|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: ructor(lowerObj|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: toString|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: intersect|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: intersect|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: getUpper|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: getLower|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: expand|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: expand|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: expand|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: contains|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: contains|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: ScopeHelper Method or attribute name: clamp|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: Base64Helper|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: Base64Helper Method or attribute name: encodeSync|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: Base64Helper Method or attribute name: encodeToStringSync|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: Base64Helper Method or attribute name: decodeSync|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: Base64Helper Method or attribute name: encode|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: Base64Helper Method or attribute name: encodeToString|@ohos.util.d.ts|
+|Added||Module name: ohos.util Class name: Base64Helper Method or attribute name: decode|@ohos.util.d.ts|
+|Added||Module name: ohos.worker Class name: WorkerEventListener|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: WorkerEventListener Method or attribute name: WorkerEventListener|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: WorkerEventTarget|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: WorkerEventTarget Method or attribute name: addEventListener|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: WorkerEventTarget Method or attribute name: dispatchEvent|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: WorkerEventTarget Method or attribute name: removeEventListener|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: WorkerEventTarget Method or attribute name: removeAllListener|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: GlobalScope|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: GlobalScope Method or attribute name: name|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: GlobalScope Method or attribute name: onerror|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: GlobalScope Method or attribute name: self|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorkerGlobalScope|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorkerGlobalScope Method or attribute name: onmessage|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorkerGlobalScope Method or attribute name: onmessageerror|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorkerGlobalScope Method or attribute name: close|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorkerGlobalScope Method or attribute name: postMessage|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorkerGlobalScope Method or attribute name: postMessage|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: ructor(scriptURL|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: onexit|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: onerror|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: onmessage|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: onmessageerror|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: postMessage|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: postMessage|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: on|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: once|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: off|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: terminate|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: addEventListener|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: dispatchEvent|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: removeEventListener|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: ThreadWorker Method or attribute name: removeAllListener|@ohos.worker.d.ts|
+|Added||Module name: ohos.worker Class name: worker Method or attribute name: workerPort|@ohos.worker.d.ts|
+|Deleted|Module name: ohos.worker Class name: Worker Method or attribute name: addEventListener||@ohos.worker.d.ts|
+|Deleted|Module name: ohos.worker Class name: Worker Method or attribute name: dispatchEvent||@ohos.worker.d.ts|
+|Deleted|Module name: ohos.worker Class name: Worker Method or attribute name: removeEventListener||@ohos.worker.d.ts|
+|Deleted|Module name: ohos.worker Class name: Worker Method or attribute name: removeAllListener||@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: convert Deprecated version: N/A|Method or attribute name: convert Deprecated version: 9 New API: ohos.convertxml.ConvertXML.convertToJSObject |@ohos.convertxml.d.ts|
+|Deprecated version changed|Method or attribute name: isAppUid Deprecated version: N/A|Method or attribute name: isAppUid Deprecated version: 9 New API: ohos.process.ProcessManager.isAppUid |@ohos.process.d.ts|
+|Deprecated version changed|Method or attribute name: getUidForName Deprecated version: N/A|Method or attribute name: getUidForName Deprecated version: 9 New API: ohos.process.ProcessManager.getUidForName |@ohos.process.d.ts|
+|Deprecated version changed|Method or attribute name: getThreadPriority Deprecated version: N/A|Method or attribute name: getThreadPriority Deprecated version: 9 New API: ohos.process.ProcessManager.getThreadPriority |@ohos.process.d.ts|
+|Deprecated version changed|Method or attribute name: getSystemConfig Deprecated version: N/A|Method or attribute name: getSystemConfig Deprecated version: 9 New API: ohos.process.ProcessManager.getSystemConfig |@ohos.process.d.ts|
+|Deprecated version changed|Method or attribute name: getEnvironmentVar Deprecated version: N/A|Method or attribute name: getEnvironmentVar Deprecated version: 9 New API: ohos.process.ProcessManager.getEnvironmentVar |@ohos.process.d.ts|
+|Deprecated version changed|Method or attribute name: exit Deprecated version: N/A|Method or attribute name: exit Deprecated version: 9 New API: ohos.process.ProcessManager.exit |@ohos.process.d.ts|
+|Deprecated version changed|Method or attribute name: kill Deprecated version: N/A|Method or attribute name: kill Deprecated version: 9 New API: ohos.process.ProcessManager.kill |@ohos.process.d.ts|
+|Deprecated version changed|Method or attribute name: equals Deprecated version: N/A|Method or attribute name: equals Deprecated version: 9 New API: ohos.uri.URI.equalsTo |@ohos.uri.d.ts|
+|Deprecated version changed|Class name: URLSearchParams Deprecated version: N/A|Class name: URLSearchParams Deprecated version: 9 New API: ohos.url.URLParams |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: ructor(init? Deprecated version: N/A|Method or attribute name: ructor(init? Deprecated version: 9 New API: ohos.url.URLParams.constructor |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: append Deprecated version: N/A|Method or attribute name: append Deprecated version: 9 New API: ohos.url.URLParams.append |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: delete Deprecated version: N/A|Method or attribute name: delete Deprecated version: 9 New API: ohos.url.URLParams.delete |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: getAll Deprecated version: N/A|Method or attribute name: getAll Deprecated version: 9 New API: ohos.url.URLParams.getAll |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: entries Deprecated version: N/A|Method or attribute name: entries Deprecated version: 9 New API: ohos.url.URLParams.entries |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: forEach Deprecated version: N/A|Method or attribute name: forEach Deprecated version: 9 New API: ohos.url.URLParams.forEach |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: get Deprecated version: N/A|Method or attribute name: get Deprecated version: 9 New API: ohos.url.URLParams.get |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: has Deprecated version: N/A|Method or attribute name: has Deprecated version: 9 New API: ohos.url.URLParams.has |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: set Deprecated version: N/A|Method or attribute name: set Deprecated version: 9 New API: ohos.url.URLParams.set |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: sort Deprecated version: N/A|Method or attribute name: sort Deprecated version: 9 New API: ohos.url.URLParams.sort |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: keys Deprecated version: N/A|Method or attribute name: keys Deprecated version: 9 New API: ohos.url.URLParams.keys |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: values Deprecated version: N/A|Method or attribute name: values Deprecated version: 9 New API: ohos.url.URLParams.values |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: [Symbol.iterator] Deprecated version: N/A|Method or attribute name: [Symbol.iterator] Deprecated version: 9 New API: ohos.url.URLParams.|@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: toString Deprecated version: N/A|Method or attribute name: toString Deprecated version: 9 New API: ohos.url.URLParams.toString |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: ructor(url Deprecated version: N/A|Method or attribute name: ructor(url Deprecated version: 9 New API: ohos.URL.constructor |@ohos.url.d.ts|
+|Deprecated version changed|Method or attribute name: printf Deprecated version: N/A|Method or attribute name: printf Deprecated version: 9 New API: ohos.util.format |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: getErrorString Deprecated version: N/A|Method or attribute name: getErrorString Deprecated version: 9 New API: ohos.util.errnoToString |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: ructor(
encoding? Deprecated version: N/A|Method or attribute name: ructor(
encoding? Deprecated version: 9 New API: ohos.util.constructor |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: decode Deprecated version: N/A|Method or attribute name: decode Deprecated version: 9 New API: ohos.util.decodeWithStream |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: encode Deprecated version: N/A|Method or attribute name: encode Deprecated version: 9 New API: ohos.util.encodeInto |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: encodeInto Deprecated version: N/A|Method or attribute name: encodeInto Deprecated version: 9 New API: ohos.util.encodeIntoUint8Array |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: ructor(numerator Deprecated version: N/A|Method or attribute name: ructor(numerator Deprecated version: 9 New API: ohos.util.constructor |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: compareTo Deprecated version: N/A|Method or attribute name: compareTo Deprecated version: 9 New API: ohos.util.compare |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: getCommonDivisor Deprecated version: N/A|Method or attribute name: getCommonDivisor Deprecated version: 9 New API: ohos.util.getCommonFactor |@ohos.util.d.ts|
+|Deprecated version changed|Class name: LruBuffer Deprecated version: N/A|Class name: LruBuffer Deprecated version: 9 New API: ohos.util.LRUCache |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: updateCapacity Deprecated version: N/A|Method or attribute name: updateCapacity Deprecated version: 9 New API: ohos.util.LRUCache.updateCapacity |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: getCapacity Deprecated version: N/A|Method or attribute name: getCapacity Deprecated version: 9 New API: ohos.util.LRUCache.getCapacity |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: clear Deprecated version: N/A|Method or attribute name: clear Deprecated version: 9 New API: ohos.util.LRUCache.clear |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: getCreateCount Deprecated version: N/A|Method or attribute name: getCreateCount Deprecated version: 9 New API: ohos.util.LRUCache.getCreateCount |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: getMissCount Deprecated version: N/A|Method or attribute name: getMissCount Deprecated version: 9 New API: ohos.util.LRUCache.getMissCount |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: getRemovalCount Deprecated version: N/A|Method or attribute name: getRemovalCount Deprecated version: 9 New API: ohos.util.LRUCache.getRemovalCount |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: getMatchCount Deprecated version: N/A|Method or attribute name: getMatchCount Deprecated version: 9 New API: ohos.util.LRUCache.getMatchCount |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: getPutCount Deprecated version: N/A|Method or attribute name: getPutCount Deprecated version: 9 New API: ohos.util.LRUCache.getPutCount |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: isEmpty Deprecated version: N/A|Method or attribute name: isEmpty Deprecated version: 9 New API: ohos.util.LRUCache.isEmpty |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: get Deprecated version: N/A|Method or attribute name: get Deprecated version: 9 New API: ohos.util.LRUCache.get |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: put Deprecated version: N/A|Method or attribute name: put Deprecated version: 9 New API: ohos.util.LRUCache.put |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: values Deprecated version: N/A|Method or attribute name: values Deprecated version: 9 New API: ohos.util.LRUCache.values |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: keys Deprecated version: N/A|Method or attribute name: keys Deprecated version: 9 New API: ohos.util.LRUCache.keys |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: remove Deprecated version: N/A|Method or attribute name: remove Deprecated version: 9 New API: ohos.util.LRUCache.remove |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: afterRemoval Deprecated version: N/A|Method or attribute name: afterRemoval Deprecated version: 9 New API: ohos.util.LRUCache.afterRemoval |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: contains Deprecated version: N/A|Method or attribute name: contains Deprecated version: 9 New API: ohos.util.LRUCache.contains |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: createDefault Deprecated version: N/A|Method or attribute name: createDefault Deprecated version: 9 New API: ohos.util.LRUCache.createDefault |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: entries Deprecated version: N/A|Method or attribute name: entries Deprecated version: 9 New API: ohos.util.LRUCache.entries |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: [Symbol.iterator] Deprecated version: N/A|Method or attribute name: [Symbol.iterator] Deprecated version: 9 New API: ohos.util.LRUCache.|@ohos.util.d.ts|
+|Deprecated version changed|Class name: Scope Deprecated version: N/A|Class name: Scope Deprecated version: 9 New API: ohos.util.ScopeHelper |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: ructor(lowerObj Deprecated version: N/A|Method or attribute name: ructor(lowerObj Deprecated version: 9 New API: ohos.util.ScopeHelper.constructor |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: toString Deprecated version: N/A|Method or attribute name: toString Deprecated version: 9 New API: ohos.util.ScopeHelper.toString |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: intersect Deprecated version: N/A|Method or attribute name: intersect Deprecated version: 9 New API: ohos.util.ScopeHelper.intersect |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: intersect Deprecated version: N/A|Method or attribute name: intersect Deprecated version: 9 New API: ohos.util.ScopeHelper.intersect |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: getUpper Deprecated version: N/A|Method or attribute name: getUpper Deprecated version: 9 New API: ohos.util.ScopeHelper.getUpper |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: getLower Deprecated version: N/A|Method or attribute name: getLower Deprecated version: 9 New API: ohos.util.ScopeHelper.getLower |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: expand Deprecated version: N/A|Method or attribute name: expand Deprecated version: 9 New API: ohos.util.ScopeHelper.expand |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: expand Deprecated version: N/A|Method or attribute name: expand Deprecated version: 9 New API: ohos.util.ScopeHelper.expand |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: expand Deprecated version: N/A|Method or attribute name: expand Deprecated version: 9 New API: ohos.util.ScopeHelper.expand |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: contains Deprecated version: N/A|Method or attribute name: contains Deprecated version: 9 New API: ohos.util.ScopeHelper.contains |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: contains Deprecated version: N/A|Method or attribute name: contains Deprecated version: 9 New API: ohos.util.ScopeHelper.contains |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: clamp Deprecated version: N/A|Method or attribute name: clamp Deprecated version: 9 New API: ohos.util.ScopeHelper.clamp |@ohos.util.d.ts|
+|Deprecated version changed|Class name: Base64 Deprecated version: N/A|Class name: Base64 Deprecated version: 9 New API: ohos.util.Base64Helper |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: encodeSync Deprecated version: N/A|Method or attribute name: encodeSync Deprecated version: 9 New API: ohos.util.Base64Helper.encodeSync |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: encodeToStringSync Deprecated version: N/A|Method or attribute name: encodeToStringSync Deprecated version: 9 New API: ohos.util.Base64Helper.encodeToStringSync |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: decodeSync Deprecated version: N/A|Method or attribute name: decodeSync Deprecated version: 9 New API: ohos.util.Base64Helper.decodeSync |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: encode Deprecated version: N/A|Method or attribute name: encode Deprecated version: 9 New API: ohos.util.Base64Helper.encode |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: encodeToString Deprecated version: N/A|Method or attribute name: encodeToString Deprecated version: 9 New API: ohos.util.Base64Helper.encodeToString |@ohos.util.d.ts|
+|Deprecated version changed|Method or attribute name: decode Deprecated version: N/A|Method or attribute name: decode Deprecated version: 9 New API: ohos.util.Base64Helper.decode |@ohos.util.d.ts|
+|Deprecated version changed|Class name: EventListener Deprecated version: N/A|Class name: EventListener Deprecated version: 9 New API: ohos.worker.WorkerEventListener |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: EventListener Deprecated version: N/A|Method or attribute name: EventListener Deprecated version: 9 New API: ohos.worker.WorkerEventListener.|@ohos.worker.d.ts|
+|Deprecated version changed|Class name: EventTarget Deprecated version: N/A|Class name: EventTarget Deprecated version: 9 New API: ohos.worker.WorkerEventTarget |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: addEventListener Deprecated version: N/A|Method or attribute name: addEventListener Deprecated version: 9 New API: ohos.worker.WorkerEventTarget.addEventListener |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: dispatchEvent Deprecated version: N/A|Method or attribute name: dispatchEvent Deprecated version: 9 New API: ohos.worker.WorkerEventTarget.dispatchEvent |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: removeEventListener Deprecated version: N/A|Method or attribute name: removeEventListener Deprecated version: 9 New API: ohos.worker.WorkerEventTarget.removeEventListener |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: removeAllListener Deprecated version: N/A|Method or attribute name: removeAllListener Deprecated version: 9 New API: ohos.worker.WorkerEventTarget.removeAllListener |@ohos.worker.d.ts|
+|Deprecated version changed|Class name: WorkerGlobalScope Deprecated version: N/A|Class name: WorkerGlobalScope Deprecated version: 9 New API: ohos.worker.GlobalScope |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: name Deprecated version: N/A|Method or attribute name: name Deprecated version: 9 New API: ohos.worker.GlobalScope.name |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: onerror Deprecated version: N/A|Method or attribute name: onerror Deprecated version: 9 New API: ohos.worker.GlobalScope.onerror |@ohos.worker.d.ts|
+|Deprecated version changed|Class name: DedicatedWorkerGlobalScope Deprecated version: N/A|Class name: DedicatedWorkerGlobalScope Deprecated version: 9 New API: ohos.worker.ThreadWorkerGlobalScope |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: onmessage Deprecated version: N/A|Method or attribute name: onmessage Deprecated version: 9 New API: ohos.worker.ThreadWorkerGlobalScope.onmessage |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: onmessageerror Deprecated version: N/A|Method or attribute name: onmessageerror Deprecated version: 9 New API: ohos.worker.ThreadWorkerGlobalScope.onmessageerror |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: close Deprecated version: N/A|Method or attribute name: close Deprecated version: 9 New API: ohos.worker.ThreadWorkerGlobalScope.close |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: ructor(scriptURL Deprecated version: N/A|Method or attribute name: ructor(scriptURL Deprecated version: 9 New API: ohos.worker.ThreadWorker.constructor |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: onexit Deprecated version: N/A|Method or attribute name: onexit Deprecated version: 9 New API: ohos.worker.ThreadWorker.onexit |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: onerror Deprecated version: N/A|Method or attribute name: onerror Deprecated version: 9 New API: ohos.worker.ThreadWorker.onerror |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: onmessage Deprecated version: N/A|Method or attribute name: onmessage Deprecated version: 9 New API: ohos.worker.ThreadWorker.onmessage |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: onmessageerror Deprecated version: N/A|Method or attribute name: onmessageerror Deprecated version: 9 New API: ohos.worker.ThreadWorker.onmessageerror |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: postMessage Deprecated version: N/A|Method or attribute name: postMessage Deprecated version: 9 New API: ohos.worker.ThreadWorker.postMessage |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: postMessage Deprecated version: N/A|Method or attribute name: postMessage Deprecated version: 9|@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: on Deprecated version: N/A|Method or attribute name: on Deprecated version: 9 New API: ohos.worker.ThreadWorker.on |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: once Deprecated version: N/A|Method or attribute name: once Deprecated version: 9 New API: ohos.worker.ThreadWorker.once |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: off Deprecated version: N/A|Method or attribute name: off Deprecated version: 9 New API: ohos.worker.ThreadWorker.off |@ohos.worker.d.ts|
+|Deprecated version changed|Method or attribute name: terminate Deprecated version: N/A|Method or attribute name: terminate Deprecated version: 9 New API: ohos.worker.ThreadWorker.terminate |@ohos.worker.d.ts|
+|Initial version changed|Class name: RationalNumber Initial version: 7|Class name: RationalNumber Initial version: 8|@ohos.util.d.ts|
+|Initial version changed|Class name: LruBuffer Initial version: 7|Class name: LruBuffer Initial version: 8|@ohos.util.d.ts|
+|Initial version changed|Class name: Scope Initial version: 7|Class name: Scope Initial version: 8|@ohos.util.d.ts|
+|Initial version changed|Class name: Base64 Initial version: 7|Class name: Base64 Initial version: 8|@ohos.util.d.ts|
+|Initial version changed|Class name: types Initial version: 7|Class name: types Initial version: 8|@ohos.util.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-customization.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-customization.md
new file mode 100644
index 0000000000000000000000000000000000000000..445bc8b0c063ce90687c3ce620d9605c0a76de28
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-customization.md
@@ -0,0 +1,63 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.EnterpriseAdminExtensionAbility Class name: EnterpriseAdminExtensionAbility Method or attribute name: onBundleAdded|@ohos.EnterpriseAdminExtensionAbility.d.ts|
+|Added||Module name: ohos.EnterpriseAdminExtensionAbility Class name: EnterpriseAdminExtensionAbility Method or attribute name: onBundleRemoved|@ohos.EnterpriseAdminExtensionAbility.d.ts|
+|Added||Module name: ohos.enterpriseDeviceManager Class name: ManagedEvent|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Module name: ohos.enterpriseDeviceManager Class name: ManagedEvent Method or attribute name: MANAGED_EVENT_BUNDLE_ADDED|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Module name: ohos.enterpriseDeviceManager Class name: ManagedEvent Method or attribute name: MANAGED_EVENT_BUNDLE_REMOVED|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Method or attribute name: enableAdmin Function name: function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback): void;|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Method or attribute name: enableAdmin Function name: function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId: number, callback: AsyncCallback): void;|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Method or attribute name: enableAdmin Function name: function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId?: number): Promise;|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Method or attribute name: disableAdmin Function name: function disableAdmin(admin: Want, callback: AsyncCallback): void;|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Method or attribute name: disableAdmin Function name: function disableAdmin(admin: Want, userId: number, callback: AsyncCallback): void;|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Method or attribute name: disableAdmin Function name: function disableAdmin(admin: Want, userId?: number): Promise;|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Method or attribute name: disableSuperAdmin Function name: function disableSuperAdmin(bundleName: String, callback: AsyncCallback): void;|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Method or attribute name: disableSuperAdmin Function name: function disableSuperAdmin(bundleName: String): Promise;|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Method or attribute name: setEnterpriseInfo Function name: function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo, callback: AsyncCallback): void;|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Method or attribute name: setEnterpriseInfo Function name: function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo): Promise;|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Module name: ohos.enterpriseDeviceManager Class name: enterpriseDeviceManager Method or attribute name: subscribeManagedEvent|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Module name: ohos.enterpriseDeviceManager Class name: enterpriseDeviceManager Method or attribute name: subscribeManagedEvent|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Module name: ohos.enterpriseDeviceManager Class name: enterpriseDeviceManager Method or attribute name: unsubscribeManagedEvent|@ohos.enterpriseDeviceManager.d.ts|
+|Added||Module name: ohos.enterpriseDeviceManager Class name: enterpriseDeviceManager Method or attribute name: unsubscribeManagedEvent|@ohos.enterpriseDeviceManager.d.ts|
+|Model changed|Method or attribute name: isAdminEnabled model:|Method or attribute name: isAdminEnabled model: @stage model only|@ohos.enterpriseDeviceManager.d.ts|
+|Model changed|Method or attribute name: isAdminEnabled model:|Method or attribute name: isAdminEnabled model: @stage model only|@ohos.enterpriseDeviceManager.d.ts|
+|Model changed|Method or attribute name: isAdminEnabled model:|Method or attribute name: isAdminEnabled model: @stage model only|@ohos.enterpriseDeviceManager.d.ts|
+|Model changed|Method or attribute name: getEnterpriseInfo model:|Method or attribute name: getEnterpriseInfo model: @stage model only|@ohos.enterpriseDeviceManager.d.ts|
+|Model changed|Method or attribute name: getEnterpriseInfo model:|Method or attribute name: getEnterpriseInfo model: @stage model only|@ohos.enterpriseDeviceManager.d.ts|
+|Model changed|Method or attribute name: isSuperAdmin model:|Method or attribute name: isSuperAdmin model: @stage model only|@ohos.enterpriseDeviceManager.d.ts|
+|Model changed|Method or attribute name: isSuperAdmin model:|Method or attribute name: isSuperAdmin model: @stage model only|@ohos.enterpriseDeviceManager.d.ts|
+|Model changed|Method or attribute name: setDateTime model:|Method or attribute name: setDateTime model: @stage model only|DeviceSettingsManager.d.ts|
+|Model changed|Method or attribute name: setDateTime model:|Method or attribute name: setDateTime model: @stage model only|DeviceSettingsManager.d.ts|
+|Access level changed|Class name: configPolicy Access level: public API|Class name: configPolicy Access level: system API|@ohos.configPolicy.d.ts|
+|Access level changed|Method or attribute name: isAdminEnabled Access level: public API|Method or attribute name: isAdminEnabled Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: isAdminEnabled Access level: public API|Method or attribute name: isAdminEnabled Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: isAdminEnabled Access level: public API|Method or attribute name: isAdminEnabled Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: getEnterpriseInfo Access level: public API|Method or attribute name: getEnterpriseInfo Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: getEnterpriseInfo Access level: public API|Method or attribute name: getEnterpriseInfo Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: isSuperAdmin Access level: public API|Method or attribute name: isSuperAdmin Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: isSuperAdmin Access level: public API|Method or attribute name: isSuperAdmin Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: setDateTime Access level: public API|Method or attribute name: setDateTime Access level: system API|DeviceSettingsManager.d.ts|
+|Access level changed|Method or attribute name: setDateTime Access level: public API|Method or attribute name: setDateTime Access level: system API|DeviceSettingsManager.d.ts|
+|Permission changed|Method or attribute name: setDateTime Permission: ohos.permission.EDM_MANAGE_DATETIME|Method or attribute name: setDateTime Permission: ohos.permission.ENTERPRISE_SET_DATETIME|DeviceSettingsManager.d.ts|
+|Permission changed|Method or attribute name: setDateTime Permission: ohos.permission.EDM_MANAGE_DATETIME|Method or attribute name: setDateTime Permission: ohos.permission.ENTERPRISE_SET_DATETIME|DeviceSettingsManager.d.ts|
+|Error code added||Method or attribute name: getOneCfgFile Error code: 401|@ohos.configPolicy.d.ts|
+|Error code added||Method or attribute name: getCfgFiles Error code: 401|@ohos.configPolicy.d.ts|
+|Error code added||Method or attribute name: getCfgDirList Error code: 401|@ohos.configPolicy.d.ts|
+|Error code added||Method or attribute name: isAdminEnabled Error code: 401|@ohos.enterpriseDeviceManager.d.ts|
+|Error code added||Method or attribute name: isAdminEnabled Error code: 401|@ohos.enterpriseDeviceManager.d.ts|
+|Error code added||Method or attribute name: isAdminEnabled Error code: 401|@ohos.enterpriseDeviceManager.d.ts|
+|Error code added||Method or attribute name: getEnterpriseInfo Error code: 9200001, 401|@ohos.enterpriseDeviceManager.d.ts|
+|Error code added||Method or attribute name: getEnterpriseInfo Error code: 9200001, 401|@ohos.enterpriseDeviceManager.d.ts|
+|Error code added||Method or attribute name: isSuperAdmin Error code: 401|@ohos.enterpriseDeviceManager.d.ts|
+|Error code added||Method or attribute name: isSuperAdmin Error code: 401|@ohos.enterpriseDeviceManager.d.ts|
+|Error code added||Method or attribute name: setDateTime Error code: 9200001, 9200002, 201, 401|DeviceSettingsManager.d.ts|
+|Access level changed|Class name: configPolicy Access level: public API|Class name: configPolicy Access level: system API|@ohos.configPolicy.d.ts|
+|Access level changed|Method or attribute name: isAdminEnabled Access level: public API|Method or attribute name: isAdminEnabled Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: isAdminEnabled Access level: public API|Method or attribute name: isAdminEnabled Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: isAdminEnabled Access level: public API|Method or attribute name: isAdminEnabled Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: getEnterpriseInfo Access level: public API|Method or attribute name: getEnterpriseInfo Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: getEnterpriseInfo Access level: public API|Method or attribute name: getEnterpriseInfo Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: isSuperAdmin Access level: public API|Method or attribute name: isSuperAdmin Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: isSuperAdmin Access level: public API|Method or attribute name: isSuperAdmin Access level: system API|@ohos.enterpriseDeviceManager.d.ts|
+|Access level changed|Method or attribute name: setDateTime Access level: public API|Method or attribute name: setDateTime Access level: system API|DeviceSettingsManager.d.ts|
+|Access level changed|Method or attribute name: setDateTime Access level: public API|Method or attribute name: setDateTime Access level: system API|DeviceSettingsManager.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-dfx.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-dfx.md
new file mode 100644
index 0000000000000000000000000000000000000000..92b16c9747665852a9dd282512e6641623ee316e
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-dfx.md
@@ -0,0 +1,104 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.faultLogger Class name: FaultLogger Method or attribute name: query|@ohos.faultLogger.d.ts|
+|Added||Module name: ohos.faultLogger Class name: FaultLogger Method or attribute name: query|@ohos.faultLogger.d.ts|
+|Added||Module name: ohos.hichecker Class name: hichecker Method or attribute name: addCheckRule|@ohos.hichecker.d.ts|
+|Added||Module name: ohos.hichecker Class name: hichecker Method or attribute name: removeCheckRule|@ohos.hichecker.d.ts|
+|Added||Module name: ohos.hichecker Class name: hichecker Method or attribute name: containsCheckRule|@ohos.hichecker.d.ts|
+|Added||Module name: ohos.hidebug Class name: hidebug Method or attribute name: startJsCpuProfiling|@ohos.hidebug.d.ts|
+|Added||Module name: ohos.hidebug Class name: hidebug Method or attribute name: stopJsCpuProfiling|@ohos.hidebug.d.ts|
+|Added||Module name: ohos.hidebug Class name: hidebug Method or attribute name: dumpJsHeapData|@ohos.hidebug.d.ts|
+|Added||Method or attribute name: getServiceDump Function name: function getServiceDump(serviceid : number, fd : number, args : Array) : void;|@ohos.hidebug.d.ts|
+|Added||Method or attribute name: onQuery Function name: onQuery: (infos: SysEventInfo[]) => void;|@ohos.hiSysEvent.d.ts|
+|Added||Method or attribute name: addWatcher Function name: function addWatcher(watcher: Watcher): void;|@ohos.hiSysEvent.d.ts|
+|Added||Method or attribute name: removeWatcher Function name: function removeWatcher(watcher: Watcher): void;|@ohos.hiSysEvent.d.ts|
+|Added||Method or attribute name: query Function name: function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void;|@ohos.hiSysEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: hiAppEvent|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: EventType|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: EventType Method or attribute name: FAULT|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: EventType Method or attribute name: STATISTIC|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: EventType Method or attribute name: SECURITY|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: EventType Method or attribute name: BEHAVIOR|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Event|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Event Method or attribute name: USER_LOGIN|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Event Method or attribute name: USER_LOGOUT|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Event Method or attribute name: DISTRIBUTED_SERVICE_START|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Param|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Param Method or attribute name: USER_ID|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Param Method or attribute name: DISTRIBUTED_SERVICE_NAME|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Param Method or attribute name: DISTRIBUTED_SERVICE_INSTANCE_ID|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: hiAppEvent Method or attribute name: configure|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: ConfigOption|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: ConfigOption Method or attribute name: disable|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: ConfigOption Method or attribute name: maxStorage|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventInfo|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventInfo Method or attribute name: domain|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventInfo Method or attribute name: name|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventInfo Method or attribute name: eventType|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventInfo Method or attribute name: params|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: hiAppEvent Method or attribute name: write|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: hiAppEvent Method or attribute name: write|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventPackage|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventPackage Method or attribute name: packageId|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventPackage Method or attribute name: row|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventPackage Method or attribute name: size|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventPackage Method or attribute name: data|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventPackageHolder|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventPackageHolder Method or attribute name: ructor(watcherName|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventPackageHolder Method or attribute name: setSize|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventPackageHolder Method or attribute name: takeNext|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: TriggerCondition|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: TriggerCondition Method or attribute name: row|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: TriggerCondition Method or attribute name: size|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: TriggerCondition Method or attribute name: timeOut|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventFilter|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventFilter Method or attribute name: domain|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: AppEventFilter Method or attribute name: eventTypes|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Watcher|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Watcher Method or attribute name: name|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Watcher Method or attribute name: triggerCondition|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Watcher Method or attribute name: appEventFilters|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: Watcher Method or attribute name: onTrigger|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: hiAppEvent Method or attribute name: addWatcher|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: hiAppEvent Method or attribute name: removeWatcher|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Added||Module name: ohos.hiviewdfx.hiAppEvent Class name: hiAppEvent Method or attribute name: clearData|@ohos.hiviewdfx.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventInfo||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventInfo Method or attribute name: domain||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventInfo Method or attribute name: name||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventInfo Method or attribute name: eventType||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventInfo Method or attribute name: params||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventPackage||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventPackage Method or attribute name: packageId||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventPackage Method or attribute name: row||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventPackage Method or attribute name: size||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventPackage Method or attribute name: data||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventPackageHolder||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventPackageHolder Method or attribute name: ructor(watcherName||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventPackageHolder Method or attribute name: setSize||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventPackageHolder Method or attribute name: takeNext||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: TriggerCondition||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: TriggerCondition Method or attribute name: row||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: TriggerCondition Method or attribute name: size||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: TriggerCondition Method or attribute name: timeOut||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventFilter||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventFilter Method or attribute name: domain||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: AppEventFilter Method or attribute name: eventTypes||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: Watcher||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: Watcher Method or attribute name: name||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: Watcher Method or attribute name: triggerCondition||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: Watcher Method or attribute name: appEventFilters||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: Watcher Method or attribute name: onTrigger||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: hiAppEvent Method or attribute name: addWatcher||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: hiAppEvent Method or attribute name: removeWatcher||@ohos.hiAppEvent.d.ts|
+|Deleted|Module name: ohos.hiAppEvent Class name: hiAppEvent Method or attribute name: clearData||@ohos.hiAppEvent.d.ts|
+|Deprecated version changed|Method or attribute name: querySelfFaultLog Deprecated version: N/A|Method or attribute name: querySelfFaultLog Deprecated version: 9 New API: ohos.faultlogger/FaultLogger|@ohos.faultLogger.d.ts|
+|Deprecated version changed|Method or attribute name: querySelfFaultLog Deprecated version: N/A|Method or attribute name: querySelfFaultLog Deprecated version: 9 New API: ohos.faultlogger/FaultLogger|@ohos.faultLogger.d.ts|
+|Deprecated version changed|Class name: hiAppEvent Deprecated version: N/A|Class name: hiAppEvent Deprecated version: 9 New API: ohos.hiviewdfx.hiAppEvent |@ohos.hiAppEvent.d.ts|
+|Deprecated version changed|Method or attribute name: write Deprecated version: 9|Method or attribute name: write Deprecated version: N/A New API: ohos.hiviewdfx.hiAppEvent |@ohos.hiAppEvent.d.ts|
+|Deprecated version changed|Method or attribute name: write Deprecated version: 9|Method or attribute name: write Deprecated version: N/A|@ohos.hiAppEvent.d.ts|
+|Deprecated version changed|Method or attribute name: addRule Deprecated version: N/A|Method or attribute name: addRule Deprecated version: 9 New API: ohos.hichecker/hichecker|@ohos.hichecker.d.ts|
+|Deprecated version changed|Method or attribute name: removeRule Deprecated version: N/A|Method or attribute name: removeRule Deprecated version: 9 New API: ohos.hichecker/hichecker|@ohos.hichecker.d.ts|
+|Deprecated version changed|Method or attribute name: contains Deprecated version: N/A|Method or attribute name: contains Deprecated version: 9 New API: ohos.hichecker/hichecker|@ohos.hichecker.d.ts|
+|Deprecated version changed|Method or attribute name: startProfiling Deprecated version: N/A|Method or attribute name: startProfiling Deprecated version: 9 New API: ohos.hidebug/hidebug.startJsCpuProfiling |@ohos.hidebug.d.ts|
+|Deprecated version changed|Method or attribute name: stopProfiling Deprecated version: N/A|Method or attribute name: stopProfiling Deprecated version: 9 New API: ohos.hidebug/hidebug.stopJsCpuProfiling |@ohos.hidebug.d.ts|
+|Deprecated version changed|Method or attribute name: dumpHeapData Deprecated version: N/A|Method or attribute name: dumpHeapData Deprecated version: 9 New API: ohos.hidebug/hidebug.dumpJsHeapData |@ohos.hidebug.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-distributed-data.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-distributed-data.md
new file mode 100644
index 0000000000000000000000000000000000000000..74b8dd05344dbb7c3a5c2249c19b4c1bd464c9df
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-distributed-data.md
@@ -0,0 +1,622 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.data.distributedDataObject Class name: distributedDataObject Method or attribute name: create|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: setSessionId|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: setSessionId|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: setSessionId|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: on_change|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: off_change|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: on_status|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: off_status|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: save|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: save|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: revokeSave|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedDataObject Class name: DistributedObjectV9 Method or attribute name: revokeSave|@ohos.data.distributedDataObject.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: distributedKVStore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManagerConfig|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManagerConfig Method or attribute name: bundleName|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManagerConfig Method or attribute name: context|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Constants|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Constants Method or attribute name: MAX_KEY_LENGTH|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Constants Method or attribute name: MAX_VALUE_LENGTH|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Constants Method or attribute name: MAX_KEY_LENGTH_DEVICE|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Constants Method or attribute name: MAX_STORE_ID_LENGTH|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Constants Method or attribute name: MAX_QUERY_LENGTH|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Constants Method or attribute name: MAX_BATCH_SIZE|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ValueType|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ValueType Method or attribute name: STRING|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ValueType Method or attribute name: INTEGER|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ValueType Method or attribute name: FLOAT|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ValueType Method or attribute name: BYTE_ARRAY|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ValueType Method or attribute name: BOOLEAN|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ValueType Method or attribute name: DOUBLE|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Value|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Value Method or attribute name: type|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Value Method or attribute name: value|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Entry|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Entry Method or attribute name: key|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Entry Method or attribute name: value|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ChangeNotification|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ChangeNotification Method or attribute name: insertEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ChangeNotification Method or attribute name: updateEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ChangeNotification Method or attribute name: deleteEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: ChangeNotification Method or attribute name: deviceId|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SyncMode|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SyncMode Method or attribute name: PULL_ONLY|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SyncMode Method or attribute name: PUSH_ONLY|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SyncMode Method or attribute name: PUSH_PULL|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SubscribeType|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SubscribeType Method or attribute name: SUBSCRIBE_TYPE_LOCAL|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SubscribeType Method or attribute name: SUBSCRIBE_TYPE_REMOTE|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SubscribeType Method or attribute name: SUBSCRIBE_TYPE_ALL|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreType|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreType Method or attribute name: DEVICE_COLLABORATION|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreType Method or attribute name: SINGLE_VERSION|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SecurityLevel|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SecurityLevel Method or attribute name: S1|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SecurityLevel Method or attribute name: S2|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SecurityLevel Method or attribute name: S3|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SecurityLevel Method or attribute name: S4|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Options|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Options Method or attribute name: createIfMissing|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Options Method or attribute name: encrypt|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Options Method or attribute name: backup|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Options Method or attribute name: autoSync|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Options Method or attribute name: kvStoreType|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Options Method or attribute name: securityLevel|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Options Method or attribute name: schema|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Schema|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Schema Method or attribute name: root|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Schema Method or attribute name: indexes|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Schema Method or attribute name: mode|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Schema Method or attribute name: skip|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: FieldNode|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: FieldNode Method or attribute name: ructor(name|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: FieldNode Method or attribute name: appendChild|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: FieldNode Method or attribute name: default|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: FieldNode Method or attribute name: nullable|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: FieldNode Method or attribute name: type|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: getCount|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: getPosition|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: moveToFirst|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: moveToLast|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: moveToNext|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: moveToPrevious|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: move|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: moveToPosition|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: isFirst|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: isLast|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: isBeforeFirst|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: isAfterLast|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVStoreResultSet Method or attribute name: getEntry|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: reset|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: equalTo|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: notEqualTo|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: greaterThan|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: lessThan|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: greaterThanOrEqualTo|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: lessThanOrEqualTo|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: isNull|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: inNumber|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: inString|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: notInNumber|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: notInString|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: like|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: unlike|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: and|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: or|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: orderByAsc|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: orderByDesc|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: limit|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: isNotNull|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: beginGroup|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: endGroup|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: prefixKey|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: setSuggestIndex|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: deviceId|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: Query Method or attribute name: getSqlLike|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: put|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: put|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: putBatch|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: putBatch|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: putBatch|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: putBatch|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: delete|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: delete|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: delete|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: delete|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: deleteBatch|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: deleteBatch|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: removeDeviceData|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: removeDeviceData|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: get|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: get|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: closeResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: closeResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getResultSize|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getResultSize|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: backup|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: backup|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: restore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: restore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: deleteBackup|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: deleteBackup|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: startTransaction|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: startTransaction|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: commit|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: commit|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: rollback|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: rollback|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: enableSync|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: enableSync|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: setSyncRange|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: setSyncRange|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: setSyncParam|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: setSyncParam|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: sync|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: sync|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: on_dataChange|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: on_syncComplete|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: off_dataChange|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: off_syncComplete|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getSecurityLevel|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: SingleKVStore Method or attribute name: getSecurityLevel|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: get|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: get|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getEntries|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getResultSet|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getResultSize|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: DeviceKVStore Method or attribute name: getResultSize|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: distributedKVStore Method or attribute name: createKVManager|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: distributedKVStore Method or attribute name: createKVManager|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager Method or attribute name: getKVStore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager Method or attribute name: getKVStore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager Method or attribute name: closeKVStore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager Method or attribute name: closeKVStore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager Method or attribute name: deleteKVStore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager Method or attribute name: deleteKVStore|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager Method or attribute name: getAllKVStoreId|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager Method or attribute name: getAllKVStoreId|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager Method or attribute name: on_distributedDataServiceDie|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.distributedKVStore Class name: KVManager Method or attribute name: off_distributedDataServiceDie|@ohos.data.distributedKVStore.d.ts|
+|Added||Module name: ohos.data.rdb Class name: rdb Method or attribute name: getRdbStoreV9|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: rdb Method or attribute name: getRdbStoreV9|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: rdb Method or attribute name: deleteRdbStoreV9|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: rdb Method or attribute name: deleteRdbStoreV9|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: SecurityLevel|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: SecurityLevel Method or attribute name: S1|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: SecurityLevel Method or attribute name: S2|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: SecurityLevel Method or attribute name: S3|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: SecurityLevel Method or attribute name: S4|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: insert|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: insert|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: batchInsert|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: batchInsert|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: update|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: update|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: update|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: update|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: delete|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: delete|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: delete|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: delete|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: query|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: query|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: query|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: query|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: remoteQuery|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: remoteQuery|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: querySql|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: querySql|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: executeSql|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: executeSql|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: beginTransaction|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: commit|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: rollBack|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: backup|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: backup|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: restore|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: restore|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: setDistributedTables|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: setDistributedTables|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: obtainDistributedTableName|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: obtainDistributedTableName|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: sync|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: sync|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: on_dataChange|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbStoreV9 Method or attribute name: off_dataChange|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: StoreConfigV9|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: StoreConfigV9 Method or attribute name: name|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: StoreConfigV9 Method or attribute name: securityLevel|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: StoreConfigV9 Method or attribute name: encrypt|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: ructor(name|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: inDevices|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: inAllDevices|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: equalTo|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: notEqualTo|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: beginWrap|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: endWrap|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: or|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: and|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: contains|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: beginsWith|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: endsWith|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: isNull|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: isNotNull|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: like|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: glob|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: between|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: notBetween|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: greaterThan|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: lessThan|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: greaterThanOrEqualTo|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: lessThanOrEqualTo|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: orderByAsc|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: orderByDesc|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: distinct|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: limitAs|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: offsetAs|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: groupBy|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: indexedBy|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: in|@ohos.data.rdb.d.ts|
+|Added||Module name: ohos.data.rdb Class name: RdbPredicatesV9 Method or attribute name: notIn|@ohos.data.rdb.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: columnNames|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: columnCount|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: rowCount|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: rowIndex|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: isAtFirstRow|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: isAtLastRow|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: isEnded|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: isStarted|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: isClosed|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: getColumnIndex|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: getColumnName|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: goTo|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: goToRow|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: goToFirstRow|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: goToLastRow|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: goToNextRow|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: goToPreviousRow|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: getBlob|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: getString|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: getLong|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: getDouble|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: isColumnNull|resultSet.d.ts|
+|Added||Module name: resultSet Class name: ResultSetV9 Method or attribute name: close|resultSet.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: KVManagerConfig Method or attribute name: context||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: KVStore Method or attribute name: backup||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: KVStore Method or attribute name: backup||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: KVStore Method or attribute name: restore||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: KVStore Method or attribute name: restore||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: KVStore Method or attribute name: deleteBackup||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: KVStore Method or attribute name: deleteBackup||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: KVStore Method or attribute name: off_syncComplete||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: SingleKVStore Method or attribute name: on_dataChange||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: SingleKVStore Method or attribute name: off_dataChange||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: DeviceKVStore Method or attribute name: on_dataChange||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedData Class name: DeviceKVStore Method or attribute name: off_dataChange||@ohos.data.distributedData.d.ts|
+|Deleted|Module name: ohos.data.distributedDataObject Class name: DistributedObject Method or attribute name: save||@ohos.data.distributedDataObject.d.ts|
+|Deleted|Module name: ohos.data.distributedDataObject Class name: DistributedObject Method or attribute name: save||@ohos.data.distributedDataObject.d.ts|
+|Deleted|Module name: ohos.data.distributedDataObject Class name: DistributedObject Method or attribute name: revokeSave||@ohos.data.distributedDataObject.d.ts|
+|Deleted|Module name: ohos.data.distributedDataObject Class name: DistributedObject Method or attribute name: revokeSave||@ohos.data.distributedDataObject.d.ts|
+|Deleted|Module name: ohos.data.rdb Class name: RdbStore Method or attribute name: remoteQuery||@ohos.data.rdb.d.ts|
+|Deleted|Module name: ohos.data.rdb Class name: RdbStore Method or attribute name: remoteQuery||@ohos.data.rdb.d.ts|
+|Deleted|Module name: ohos.data.rdb Class name: RdbStore Method or attribute name: backup||@ohos.data.rdb.d.ts|
+|Deleted|Module name: ohos.data.rdb Class name: RdbStore Method or attribute name: backup||@ohos.data.rdb.d.ts|
+|Deleted|Module name: ohos.data.rdb Class name: RdbStore Method or attribute name: restore||@ohos.data.rdb.d.ts|
+|Deleted|Module name: ohos.data.rdb Class name: RdbStore Method or attribute name: restore||@ohos.data.rdb.d.ts|
+|Deleted|Module name: ohos.data.rdb Class name: StoreConfig Method or attribute name: encrypt||@ohos.data.rdb.d.ts|
+|Model changed|Class name: dataShare model:|Class name: dataShare model:@StageModelOnly|@ohos.data.dataShare.d.ts|
+|Access level changed|Class name: dataShare Access level: public API|Class name: dataShare Access level: system API|@ohos.data.dataShare.d.ts|
+|Deprecated version changed|Class name: distributedData Deprecated version: N/A|Class name: distributedData Deprecated version: 9 New API: ohos.data.distributedKVStore |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: KVManagerConfig Deprecated version: N/A|Class name: KVManagerConfig Deprecated version: 9 New API: ohos.data.distributedKVStore.KVManagerConfig |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: userInfo Deprecated version: N/A|Method or attribute name: userInfo Deprecated version: 9 New API: ohos.data.distributedKVStore.KVManagerConfig |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: bundleName Deprecated version: N/A|Method or attribute name: bundleName Deprecated version: 9 New API: ohos.data.distributedKVStore.KVManagerConfig|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: UserInfo Deprecated version: N/A|Class name: UserInfo Deprecated version: 9 New API: ohos.data.distributedKVStore |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: userId Deprecated version: N/A|Method or attribute name: userId Deprecated version: 9 New API: ohos.data.distributedKVStore |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: userType Deprecated version: N/A|Method or attribute name: userType Deprecated version: 9 New API: ohos.data.distributedKVStore |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: UserType Deprecated version: N/A|Class name: UserType Deprecated version: 9 New API: ohos.data.distributedKVStore |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: SAME_USER_ID Deprecated version: N/A|Method or attribute name: SAME_USER_ID Deprecated version: 9 New API: ohos.data.distributedKVStore |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: Constants Deprecated version: N/A|Class name: Constants Deprecated version: 9 New API: ohos.data.distributedKVStore.Constants |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: MAX_KEY_LENGTH Deprecated version: N/A|Method or attribute name: MAX_KEY_LENGTH Deprecated version: 9 New API: ohos.data.distributedKVStore.Constants|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: MAX_VALUE_LENGTH Deprecated version: N/A|Method or attribute name: MAX_VALUE_LENGTH Deprecated version: 9 New API: ohos.data.distributedKVStore.Constants|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: MAX_KEY_LENGTH_DEVICE Deprecated version: N/A|Method or attribute name: MAX_KEY_LENGTH_DEVICE Deprecated version: 9 New API: ohos.data.distributedKVStore.Constants|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: MAX_STORE_ID_LENGTH Deprecated version: N/A|Method or attribute name: MAX_STORE_ID_LENGTH Deprecated version: 9 New API: ohos.data.distributedKVStore.Constants|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: MAX_QUERY_LENGTH Deprecated version: N/A|Method or attribute name: MAX_QUERY_LENGTH Deprecated version: 9 New API: ohos.data.distributedKVStore.Constants|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: MAX_BATCH_SIZE Deprecated version: N/A|Method or attribute name: MAX_BATCH_SIZE Deprecated version: 9 New API: ohos.data.distributedKVStore.Constants|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: ValueType Deprecated version: N/A|Class name: ValueType Deprecated version: 9 New API: ohos.data.distributedKVStore.ValueType |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: STRING Deprecated version: N/A|Method or attribute name: STRING Deprecated version: 9 New API: ohos.data.distributedKVStore.ValueType|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: INTEGER Deprecated version: N/A|Method or attribute name: INTEGER Deprecated version: 9 New API: ohos.data.distributedKVStore.ValueType|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: FLOAT Deprecated version: N/A|Method or attribute name: FLOAT Deprecated version: 9 New API: ohos.data.distributedKVStore.ValueType|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: BYTE_ARRAY Deprecated version: N/A|Method or attribute name: BYTE_ARRAY Deprecated version: 9 New API: ohos.data.distributedKVStore.ValueTypeB|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: BOOLEAN Deprecated version: N/A|Method or attribute name: BOOLEAN Deprecated version: 9 New API: ohos.data.distributedKVStore.ValueType|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: DOUBLE Deprecated version: N/A|Method or attribute name: DOUBLE Deprecated version: 9 New API: ohos.data.distributedKVStore.ValueType|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: Value Deprecated version: N/A|Class name: Value Deprecated version: 9 New API: ohos.data.distributedKVStore.Value |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: type Deprecated version: N/A|Method or attribute name: type Deprecated version: 9 New API: ohos.data.distributedKVStore.Value|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: value Deprecated version: N/A|Method or attribute name: value Deprecated version: 9 New API: ohos.data.distributedKVStore.Value|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: Entry Deprecated version: N/A|Class name: Entry Deprecated version: 9 New API: ohos.data.distributedKVStore.Entry |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: key Deprecated version: N/A|Method or attribute name: key Deprecated version: 9 New API: ohos.data.distributedKVStore.Entry|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: value Deprecated version: N/A|Method or attribute name: value Deprecated version: 9 New API: ohos.data.distributedKVStore.Entry|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: ChangeNotification Deprecated version: N/A|Class name: ChangeNotification Deprecated version: 9 New API: ohos.data.distributedKVStore.ChangeNotification |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: insertEntries Deprecated version: N/A|Method or attribute name: insertEntries Deprecated version: 9 New API: ohos.data.distributedKVStore.ChangeNotification|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: updateEntries Deprecated version: N/A|Method or attribute name: updateEntries Deprecated version: 9 New API: ohos.data.distributedKVStore.ChangeNotification|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: deleteEntries Deprecated version: N/A|Method or attribute name: deleteEntries Deprecated version: 9 New API: ohos.data.distributedKVStore.ChangeNotification|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: deviceId Deprecated version: N/A|Method or attribute name: deviceId Deprecated version: 9 New API: ohos.data.distributedKVStore.ChangeNotification|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: SyncMode Deprecated version: N/A|Class name: SyncMode Deprecated version: 9 New API: ohos.data.distributedKVStore.SyncMode |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: PULL_ONLY Deprecated version: N/A|Method or attribute name: PULL_ONLY Deprecated version: 9 New API: ohos.data.distributedKVStore.SyncMode|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: PUSH_ONLY Deprecated version: N/A|Method or attribute name: PUSH_ONLY Deprecated version: 9 New API: ohos.data.distributedKVStore.SyncMode|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: PUSH_PULL Deprecated version: N/A|Method or attribute name: PUSH_PULL Deprecated version: 9 New API: ohos.data.distributedKVStore.SyncMode|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: SubscribeType Deprecated version: N/A|Class name: SubscribeType Deprecated version: 9 New API: ohos.data.distributedKVStore.SubscribeType |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: SUBSCRIBE_TYPE_LOCAL Deprecated version: N/A|Method or attribute name: SUBSCRIBE_TYPE_LOCAL Deprecated version: 9 New API: ohos.data.distributedKVStore.SubscribeType|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: SUBSCRIBE_TYPE_REMOTE Deprecated version: N/A|Method or attribute name: SUBSCRIBE_TYPE_REMOTE Deprecated version: 9 New API: ohos.data.distributedKVStore.SubscribeType|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: SUBSCRIBE_TYPE_ALL Deprecated version: N/A|Method or attribute name: SUBSCRIBE_TYPE_ALL Deprecated version: 9 New API: ohos.data.distributedKVStore.SubscribeType|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: KVStoreType Deprecated version: N/A|Class name: KVStoreType Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreType |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: DEVICE_COLLABORATION Deprecated version: N/A|Method or attribute name: DEVICE_COLLABORATION Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreType|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: SINGLE_VERSION Deprecated version: N/A|Method or attribute name: SINGLE_VERSION Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreType|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: MULTI_VERSION Deprecated version: N/A|Method or attribute name: MULTI_VERSION Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreType |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: SecurityLevel Deprecated version: N/A|Class name: SecurityLevel Deprecated version: 9 New API: ohos.data.distributedKVStore.SecurityLevel |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: NO_LEVEL Deprecated version: N/A|Method or attribute name: NO_LEVEL Deprecated version: 9 New API: ohos.data.distributedKVStore.SecurityLevel |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: S0 Deprecated version: N/A|Method or attribute name: S0 Deprecated version: 9 New API: ohos.data.distributedKVStore.SecurityLevel |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: S1 Deprecated version: N/A|Method or attribute name: S1 Deprecated version: 9 New API: ohos.data.distributedKVStore.SecurityLevel|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: S2 Deprecated version: N/A|Method or attribute name: S2 Deprecated version: 9 New API: ohos.data.distributedKVStore.SecurityLevel|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: S3 Deprecated version: N/A|Method or attribute name: S3 Deprecated version: 9 New API: ohos.data.distributedKVStore.SecurityLevel|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: S4 Deprecated version: N/A|Method or attribute name: S4 Deprecated version: 9 New API: ohos.data.distributedKVStore.SecurityLevel|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: Options Deprecated version: N/A|Class name: Options Deprecated version: 9 New API: ohos.data.distributedKVStore.Options |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: createIfMissing Deprecated version: N/A|Method or attribute name: createIfMissing Deprecated version: 9 New API: ohos.data.distributedKVStore.Options|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: encrypt Deprecated version: N/A|Method or attribute name: encrypt Deprecated version: 9 New API: ohos.data.distributedKVStore.Options|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: backup Deprecated version: N/A|Method or attribute name: backup Deprecated version: 9 New API: ohos.data.distributedKVStore.Options|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: autoSync Deprecated version: N/A|Method or attribute name: autoSync Deprecated version: 9 New API: ohos.data.distributedKVStore.Options|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: kvStoreType Deprecated version: N/A|Method or attribute name: kvStoreType Deprecated version: 9 New API: ohos.data.distributedKVStore.Options|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: securityLevel Deprecated version: N/A|Method or attribute name: securityLevel Deprecated version: 9 New API: ohos.data.distributedKVStore.Options|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: schema Deprecated version: N/A|Method or attribute name: schema Deprecated version: 9 New API: ohos.data.distributedKVStore.Options|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: Schema Deprecated version: N/A|Class name: Schema Deprecated version: 9 New API: ohos.data.distributedKVStore.Schema |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: root Deprecated version: N/A|Method or attribute name: root Deprecated version: 9 New API: ohos.data.distributedKVStore.Schema|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: indexes Deprecated version: N/A|Method or attribute name: indexes Deprecated version: 9 New API: ohos.data.distributedKVStore.Schema|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: mode Deprecated version: N/A|Method or attribute name: mode Deprecated version: 9 New API: ohos.data.distributedKVStore.Schema|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: skip Deprecated version: N/A|Method or attribute name: skip Deprecated version: 9 New API: ohos.data.distributedKVStore.Schema|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: FieldNode Deprecated version: N/A|Class name: FieldNode Deprecated version: 9 New API: ohos.data.distributedKVStore.FieldNode |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: ructor(name Deprecated version: N/A|Method or attribute name: ructor(name Deprecated version: 9 New API: ohos.data.distributedKVStore.FieldNode|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: appendChild Deprecated version: N/A|Method or attribute name: appendChild Deprecated version: 9 New API: ohos.data.distributedKVStore.FieldNode|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: default Deprecated version: N/A|Method or attribute name: default Deprecated version: 9 New API: ohos.data.distributedKVStore.FieldNode|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: nullable Deprecated version: N/A|Method or attribute name: nullable Deprecated version: 9 New API: ohos.data.distributedKVStore.FieldNode|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: type Deprecated version: N/A|Method or attribute name: type Deprecated version: 9 New API: ohos.data.distributedKVStore.FieldNode|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: KvStoreResultSet Deprecated version: N/A|Class name: KvStoreResultSet Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getCount Deprecated version: N/A|Method or attribute name: getCount Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getPosition Deprecated version: N/A|Method or attribute name: getPosition Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: moveToFirst Deprecated version: N/A|Method or attribute name: moveToFirst Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: moveToLast Deprecated version: N/A|Method or attribute name: moveToLast Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: moveToNext Deprecated version: N/A|Method or attribute name: moveToNext Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: moveToPrevious Deprecated version: N/A|Method or attribute name: moveToPrevious Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: move Deprecated version: N/A|Method or attribute name: move Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: moveToPosition Deprecated version: N/A|Method or attribute name: moveToPosition Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: isFirst Deprecated version: N/A|Method or attribute name: isFirst Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: isLast Deprecated version: N/A|Method or attribute name: isLast Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: isBeforeFirst Deprecated version: N/A|Method or attribute name: isBeforeFirst Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: isAfterLast Deprecated version: N/A|Method or attribute name: isAfterLast Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntry Deprecated version: N/A|Method or attribute name: getEntry Deprecated version: 9 New API: ohos.data.distributedKVStore.KVStoreResultSet|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: Query Deprecated version: N/A|Class name: Query Deprecated version: 9 New API: ohos.data.distributedKVStore.Query |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: reset Deprecated version: N/A|Method or attribute name: reset Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: equalTo Deprecated version: N/A|Method or attribute name: equalTo Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: notEqualTo Deprecated version: N/A|Method or attribute name: notEqualTo Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: greaterThan Deprecated version: N/A|Method or attribute name: greaterThan Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: lessThan Deprecated version: N/A|Method or attribute name: lessThan Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: greaterThanOrEqualTo Deprecated version: N/A|Method or attribute name: greaterThanOrEqualTo Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: lessThanOrEqualTo Deprecated version: N/A|Method or attribute name: lessThanOrEqualTo Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: isNull Deprecated version: N/A|Method or attribute name: isNull Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: inNumber Deprecated version: N/A|Method or attribute name: inNumber Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: inString Deprecated version: N/A|Method or attribute name: inString Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: notInNumber Deprecated version: N/A|Method or attribute name: notInNumber Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: notInString Deprecated version: N/A|Method or attribute name: notInString Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: like Deprecated version: N/A|Method or attribute name: like Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: unlike Deprecated version: N/A|Method or attribute name: unlike Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: and Deprecated version: N/A|Method or attribute name: and Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: or Deprecated version: N/A|Method or attribute name: or Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: orderByAsc Deprecated version: N/A|Method or attribute name: orderByAsc Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: orderByDesc Deprecated version: N/A|Method or attribute name: orderByDesc Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: limit Deprecated version: N/A|Method or attribute name: limit Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: isNotNull Deprecated version: N/A|Method or attribute name: isNotNull Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: beginGroup Deprecated version: N/A|Method or attribute name: beginGroup Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: endGroup Deprecated version: N/A|Method or attribute name: endGroup Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: prefixKey Deprecated version: N/A|Method or attribute name: prefixKey Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: setSuggestIndex Deprecated version: N/A|Method or attribute name: setSuggestIndex Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: deviceId Deprecated version: N/A|Method or attribute name: deviceId Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getSqlLike Deprecated version: N/A|Method or attribute name: getSqlLike Deprecated version: 9 New API: ohos.data.distributedKVStore.Query|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: KVStore Deprecated version: N/A|Class name: KVStore Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: put Deprecated version: N/A|Method or attribute name: put Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: put Deprecated version: N/A|Method or attribute name: put Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: delete Deprecated version: N/A|Method or attribute name: delete Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: delete Deprecated version: N/A|Method or attribute name: delete Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: on_dataChange Deprecated version: N/A|Method or attribute name: on_dataChange Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: on_syncComplete Deprecated version: N/A|Method or attribute name: on_syncComplete Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: putBatch Deprecated version: N/A|Method or attribute name: putBatch Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: putBatch Deprecated version: N/A|Method or attribute name: putBatch Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: deleteBatch Deprecated version: N/A|Method or attribute name: deleteBatch Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: deleteBatch Deprecated version: N/A|Method or attribute name: deleteBatch Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: startTransaction Deprecated version: N/A|Method or attribute name: startTransaction Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: startTransaction Deprecated version: N/A|Method or attribute name: startTransaction Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: commit Deprecated version: N/A|Method or attribute name: commit Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: commit Deprecated version: N/A|Method or attribute name: commit Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: rollback Deprecated version: N/A|Method or attribute name: rollback Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: rollback Deprecated version: N/A|Method or attribute name: rollback Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: enableSync Deprecated version: N/A|Method or attribute name: enableSync Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: enableSync Deprecated version: N/A|Method or attribute name: enableSync Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: setSyncRange Deprecated version: N/A|Method or attribute name: setSyncRange Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: setSyncRange Deprecated version: N/A|Method or attribute name: setSyncRange Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: SingleKVStore Deprecated version: N/A|Class name: SingleKVStore Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: get Deprecated version: N/A|Method or attribute name: get Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: get Deprecated version: N/A|Method or attribute name: get Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntries Deprecated version: N/A|Method or attribute name: getEntries Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntries Deprecated version: N/A|Method or attribute name: getEntries Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntries Deprecated version: N/A|Method or attribute name: getEntries Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntries Deprecated version: N/A|Method or attribute name: getEntries Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSet Deprecated version: N/A|Method or attribute name: getResultSet Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSet Deprecated version: N/A|Method or attribute name: getResultSet Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSet Deprecated version: N/A|Method or attribute name: getResultSet Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSet Deprecated version: N/A|Method or attribute name: getResultSet Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: closeResultSet Deprecated version: N/A|Method or attribute name: closeResultSet Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: closeResultSet Deprecated version: N/A|Method or attribute name: closeResultSet Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSize Deprecated version: N/A|Method or attribute name: getResultSize Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSize Deprecated version: N/A|Method or attribute name: getResultSize Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: removeDeviceData Deprecated version: N/A|Method or attribute name: removeDeviceData Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: removeDeviceData Deprecated version: N/A|Method or attribute name: removeDeviceData Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: on_syncComplete Deprecated version: N/A|Method or attribute name: on_syncComplete Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: off_syncComplete Deprecated version: N/A|Method or attribute name: off_syncComplete Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: setSyncParam Deprecated version: N/A|Method or attribute name: setSyncParam Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: setSyncParam Deprecated version: N/A|Method or attribute name: setSyncParam Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getSecurityLevel Deprecated version: N/A|Method or attribute name: getSecurityLevel Deprecated version: 9 New API: ohos.data.distributedKVStore.SingleKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getSecurityLevel Deprecated version: N/A|Method or attribute name: getSecurityLevel Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: DeviceKVStore Deprecated version: N/A|Class name: DeviceKVStore Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: get Deprecated version: N/A|Method or attribute name: get Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: get Deprecated version: N/A|Method or attribute name: get Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntries Deprecated version: N/A|Method or attribute name: getEntries Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntries Deprecated version: N/A|Method or attribute name: getEntries Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntries Deprecated version: N/A|Method or attribute name: getEntries Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntries Deprecated version: N/A|Method or attribute name: getEntries Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntries Deprecated version: N/A|Method or attribute name: getEntries Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getEntries Deprecated version: N/A|Method or attribute name: getEntries Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSet Deprecated version: N/A|Method or attribute name: getResultSet Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSet Deprecated version: N/A|Method or attribute name: getResultSet Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSet Deprecated version: N/A|Method or attribute name: getResultSet Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSet Deprecated version: N/A|Method or attribute name: getResultSet Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSet Deprecated version: N/A|Method or attribute name: getResultSet Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSet Deprecated version: N/A|Method or attribute name: getResultSet Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: closeResultSet Deprecated version: N/A|Method or attribute name: closeResultSet Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: closeResultSet Deprecated version: N/A|Method or attribute name: closeResultSet Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSize Deprecated version: N/A|Method or attribute name: getResultSize Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSize Deprecated version: N/A|Method or attribute name: getResultSize Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSize Deprecated version: N/A|Method or attribute name: getResultSize Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getResultSize Deprecated version: N/A|Method or attribute name: getResultSize Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: removeDeviceData Deprecated version: N/A|Method or attribute name: removeDeviceData Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: removeDeviceData Deprecated version: N/A|Method or attribute name: removeDeviceData Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: sync Deprecated version: N/A|Method or attribute name: sync Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: on_syncComplete Deprecated version: N/A|Method or attribute name: on_syncComplete Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: off_syncComplete Deprecated version: N/A|Method or attribute name: off_syncComplete Deprecated version: 9 New API: ohos.data.distributedKVStore.DeviceKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: createKVManager Deprecated version: N/A|Method or attribute name: createKVManager Deprecated version: 9 New API: ohos.data.distributedKVStore|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: createKVManager Deprecated version: N/A|Method or attribute name: createKVManager Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Class name: KVManager Deprecated version: N/A|Class name: KVManager Deprecated version: 9 New API: ohos.data.distributedKVStore.KVManager |@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getKVStore Deprecated version: N/A|Method or attribute name: getKVStore Deprecated version: 9 New API: ohos.data.distributedKVStore.KVManager|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getKVStore Deprecated version: N/A|Method or attribute name: getKVStore Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: closeKVStore Deprecated version: N/A|Method or attribute name: closeKVStore Deprecated version: 9 New API: ohos.data.distributedKVStore.KVManager|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: closeKVStore Deprecated version: N/A|Method or attribute name: closeKVStore Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: deleteKVStore Deprecated version: N/A|Method or attribute name: deleteKVStore Deprecated version: 9 New API: ohos.data.distributedKVStore.KVManager|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: deleteKVStore Deprecated version: N/A|Method or attribute name: deleteKVStore Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getAllKVStoreId Deprecated version: N/A|Method or attribute name: getAllKVStoreId Deprecated version: 9 New API: ohos.data.distributedKVStore.KVManager|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: getAllKVStoreId Deprecated version: N/A|Method or attribute name: getAllKVStoreId Deprecated version: 9|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: on_distributedDataServiceDie Deprecated version: N/A|Method or attribute name: on_distributedDataServiceDie Deprecated version: 9 New API: ohos.data.distributedKVStore.KVManager|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: off_distributedDataServiceDie Deprecated version: N/A|Method or attribute name: off_distributedDataServiceDie Deprecated version: 9 New API: ohos.data.distributedKVStore.KVManager|@ohos.data.distributedData.d.ts|
+|Deprecated version changed|Method or attribute name: createDistributedObject Deprecated version: N/A|Method or attribute name: createDistributedObject Deprecated version: 9 New API: ohos.distributedDataObject.create |@ohos.data.distributedDataObject.d.ts|
+|Deprecated version changed|Class name: DistributedObject Deprecated version: N/A|Class name: DistributedObject Deprecated version: 9 New API: ohos.distributedDataObject.DistributedObjectV9 |@ohos.data.distributedDataObject.d.ts|
+|Deprecated version changed|Method or attribute name: setSessionId Deprecated version: N/A|Method or attribute name: setSessionId Deprecated version: 9 New API: ohos.distributedDataObject.DistributedObjectV9.setSessionId |@ohos.data.distributedDataObject.d.ts|
+|Deprecated version changed|Method or attribute name: on_change Deprecated version: N/A|Method or attribute name: on_change Deprecated version: 9 New API: ohos.distributedDataObject.DistributedObjectV9.on |@ohos.data.distributedDataObject.d.ts|
+|Deprecated version changed|Method or attribute name: off_change Deprecated version: N/A|Method or attribute name: off_change Deprecated version: 9 New API: ohos.distributedDataObject.DistributedObjectV9.off |@ohos.data.distributedDataObject.d.ts|
+|Deprecated version changed|Method or attribute name: getRdbStore Deprecated version: N/A|Method or attribute name: getRdbStore Deprecated version: 9 New API: ohos.data.rdb.getRdbStoreV9 |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: getRdbStore Deprecated version: N/A|Method or attribute name: getRdbStore Deprecated version: 9 New API: ohos.data.rdb.getRdbStoreV9 |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: deleteRdbStore Deprecated version: N/A|Method or attribute name: deleteRdbStore Deprecated version: 9 New API: ohos.data.rdb.deleteRdbStoreV9 |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: deleteRdbStore Deprecated version: N/A|Method or attribute name: deleteRdbStore Deprecated version: 9 New API: ohos.data.rdb.deleteRdbStoreV9 |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Class name: RdbStore Deprecated version: N/A|Class name: RdbStore Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9 |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: insert Deprecated version: N/A|Method or attribute name: insert Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.insert |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: insert Deprecated version: N/A|Method or attribute name: insert Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.insert |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: batchInsert Deprecated version: N/A|Method or attribute name: batchInsert Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.batchInsert |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: batchInsert Deprecated version: N/A|Method or attribute name: batchInsert Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.batchInsert |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: update Deprecated version: N/A|Method or attribute name: update Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.update |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: update Deprecated version: N/A|Method or attribute name: update Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.update |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: delete Deprecated version: N/A|Method or attribute name: delete Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.delete |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: delete Deprecated version: N/A|Method or attribute name: delete Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.delete |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: query Deprecated version: N/A|Method or attribute name: query Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.query |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: querySql Deprecated version: N/A|Method or attribute name: querySql Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.querySql |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: executeSql Deprecated version: N/A|Method or attribute name: executeSql Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.executeSql |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: setDistributedTables Deprecated version: N/A|Method or attribute name: setDistributedTables Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.setDistributedTables |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: setDistributedTables Deprecated version: N/A|Method or attribute name: setDistributedTables Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.setDistributedTables |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: obtainDistributedTableName Deprecated version: N/A|Method or attribute name: obtainDistributedTableName Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.obtainDistributedTableName |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: obtainDistributedTableName Deprecated version: N/A|Method or attribute name: obtainDistributedTableName Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.obtainDistributedTableName |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: on_dataChange Deprecated version: N/A|Method or attribute name: on_dataChange Deprecated version: 9 New API: ohos.data.rdb.RdbStoreV9.on |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Class name: StoreConfig Deprecated version: N/A|Class name: StoreConfig Deprecated version: 9 New API: ohos.data.rdb.StoreConfigV9 |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Class name: RdbPredicates Deprecated version: N/A|Class name: RdbPredicates Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9 |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: ructor(name Deprecated version: N/A|Method or attribute name: ructor(name Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.constructor |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: inDevices Deprecated version: N/A|Method or attribute name: inDevices Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.inDevices |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: inAllDevices Deprecated version: N/A|Method or attribute name: inAllDevices Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.inAllDevices |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: equalTo Deprecated version: N/A|Method or attribute name: equalTo Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.equalTo |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: notEqualTo Deprecated version: N/A|Method or attribute name: notEqualTo Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.notEqualTo |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: beginWrap Deprecated version: N/A|Method or attribute name: beginWrap Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.beginWrap |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: endWrap Deprecated version: N/A|Method or attribute name: endWrap Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.endWrap |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: or Deprecated version: N/A|Method or attribute name: or Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.or |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: and Deprecated version: N/A|Method or attribute name: and Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.and |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: contains Deprecated version: N/A|Method or attribute name: contains Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.contains |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: beginsWith Deprecated version: N/A|Method or attribute name: beginsWith Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.beginsWith |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: endsWith Deprecated version: N/A|Method or attribute name: endsWith Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.endsWith |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: isNull Deprecated version: N/A|Method or attribute name: isNull Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.isNull |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: isNotNull Deprecated version: N/A|Method or attribute name: isNotNull Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.isNotNull |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: like Deprecated version: N/A|Method or attribute name: like Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.like |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: glob Deprecated version: N/A|Method or attribute name: glob Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.glob |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: between Deprecated version: N/A|Method or attribute name: between Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.between |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: notBetween Deprecated version: N/A|Method or attribute name: notBetween Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.notBetween |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: greaterThan Deprecated version: N/A|Method or attribute name: greaterThan Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.greaterThan |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: lessThan Deprecated version: N/A|Method or attribute name: lessThan Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.lessThan |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: greaterThanOrEqualTo Deprecated version: N/A|Method or attribute name: greaterThanOrEqualTo Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.greaterThanOrEqualTo |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: lessThanOrEqualTo Deprecated version: N/A|Method or attribute name: lessThanOrEqualTo Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.lessThanOrEqualTo |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: orderByAsc Deprecated version: N/A|Method or attribute name: orderByAsc Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.orderByAsc |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: orderByDesc Deprecated version: N/A|Method or attribute name: orderByDesc Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.orderByDesc |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: distinct Deprecated version: N/A|Method or attribute name: distinct Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.distinct |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: limitAs Deprecated version: N/A|Method or attribute name: limitAs Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.limitAs |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: offsetAs Deprecated version: N/A|Method or attribute name: offsetAs Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.offsetAs |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: groupBy Deprecated version: N/A|Method or attribute name: groupBy Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.groupBy |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: indexedBy Deprecated version: N/A|Method or attribute name: indexedBy Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.indexedBy |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: in Deprecated version: N/A|Method or attribute name: in Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.in |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Method or attribute name: notIn Deprecated version: N/A|Method or attribute name: notIn Deprecated version: 9 New API: ohos.data.rdb.RdbPredicatesV9.notIn |@ohos.data.rdb.d.ts|
+|Deprecated version changed|Class name: ResultSet Deprecated version: N/A|Class name: ResultSet Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9 |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: columnNames Deprecated version: N/A|Method or attribute name: columnNames Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.columnNames |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: columnCount Deprecated version: N/A|Method or attribute name: columnCount Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.columnCount |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: rowCount Deprecated version: N/A|Method or attribute name: rowCount Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.rowCount |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: rowIndex Deprecated version: N/A|Method or attribute name: rowIndex Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.rowIndex |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: isAtFirstRow Deprecated version: N/A|Method or attribute name: isAtFirstRow Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.isAtFirstRow |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: isAtLastRow Deprecated version: N/A|Method or attribute name: isAtLastRow Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.isAtLastRow |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: isEnded Deprecated version: N/A|Method or attribute name: isEnded Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.isEnded |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: isStarted Deprecated version: N/A|Method or attribute name: isStarted Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.isStarted |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: isClosed Deprecated version: N/A|Method or attribute name: isClosed Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.isClosed |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: getColumnIndex Deprecated version: N/A|Method or attribute name: getColumnIndex Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.getColumnIndex |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: getColumnName Deprecated version: N/A|Method or attribute name: getColumnName Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.getColumnName |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: goTo Deprecated version: N/A|Method or attribute name: goTo Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.goTo |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: goToRow Deprecated version: N/A|Method or attribute name: goToRow Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.goToRow |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: goToFirstRow Deprecated version: N/A|Method or attribute name: goToFirstRow Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.goToFirstRow |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: goToLastRow Deprecated version: N/A|Method or attribute name: goToLastRow Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.goToLastRow |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: goToNextRow Deprecated version: N/A|Method or attribute name: goToNextRow Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.goToNextRow |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: goToPreviousRow Deprecated version: N/A|Method or attribute name: goToPreviousRow Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.goToPreviousRow |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: getBlob Deprecated version: N/A|Method or attribute name: getBlob Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.getBlob |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: getString Deprecated version: N/A|Method or attribute name: getString Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.getString |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: getLong Deprecated version: N/A|Method or attribute name: getLong Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.getLong |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: getDouble Deprecated version: N/A|Method or attribute name: getDouble Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.getDouble |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: isColumnNull Deprecated version: N/A|Method or attribute name: isColumnNull Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.isColumnNull |resultSet.d.ts|
+|Deprecated version changed|Method or attribute name: close Deprecated version: N/A|Method or attribute name: close Deprecated version: 9 New API: ohos.data.rdb.ResultSetV9.close |resultSet.d.ts|
+|Initial version changed|Class name: dataShare Initial version: |Class name: dataShare Initial version: 9|@ohos.data.dataShare.d.ts|
+|Initial version changed|Method or attribute name: batchInsert Initial version: 9|Method or attribute name: batchInsert Initial version: 7|@ohos.data.rdb.d.ts|
+|Initial version changed|Method or attribute name: batchInsert Initial version: 9|Method or attribute name: batchInsert Initial version: 7|@ohos.data.rdb.d.ts|
+|Initial version changed|Method or attribute name: executeSql Initial version: 7|Method or attribute name: executeSql Initial version: 8|@ohos.data.rdb.d.ts|
+|Permission deleted|Method or attribute name: on_dataChange Permission: ohos.permission.DISTRIBUTED_DATASYNC|Method or attribute name: on_dataChange Permission: N/A|@ohos.data.rdb.d.ts|
+|Access level changed|Class name: dataShare Access level: public API|Class name: dataShare Access level: system API|@ohos.data.dataShare.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-distributed-hardware.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-distributed-hardware.md
new file mode 100644
index 0000000000000000000000000000000000000000..7065876b974c7fdce95939d6a3a207b89366ebac
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-distributed-hardware.md
@@ -0,0 +1,5 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.distributedHardware.deviceManager Class name: DeviceManager Method or attribute name: setUserOperation|@ohos.distributedHardware.deviceManager.d.ts|
+|Added||Module name: ohos.distributedHardware.deviceManager Class name: DeviceManager Method or attribute name: on_uiStateChange|@ohos.distributedHardware.deviceManager.d.ts|
+|Added||Module name: ohos.distributedHardware.deviceManager Class name: DeviceManager Method or attribute name: off_uiStateChange|@ohos.distributedHardware.deviceManager.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-file-management.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-file-management.md
new file mode 100644
index 0000000000000000000000000000000000000000..a3d85a5007d8e4403af079df61680a4aa06f49eb
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-file-management.md
@@ -0,0 +1,294 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.filemanagement.userFileManager Class name: userFileManager|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: userFileManager Method or attribute name: getUserFileMgr|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileType|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileType Method or attribute name: IMAGE|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileType Method or attribute name: VIDEO|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileType Method or attribute name: AUDIO|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: uri|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: fileType|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: displayName|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: get|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: set|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: commitModify|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: commitModify|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: open|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: open|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: close|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: close|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: getThumbnail|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: getThumbnail|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: getThumbnail|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: favorite|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: favorite|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AudioKey|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: URI|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: DISPLAY_NAME|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: DATE_ADDED|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: DATE_MODIFIED|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: TITLE|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: ARTIST|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: AUDIOALBUM|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: DURATION|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: FAVORITE|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: URI|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: FILE_TYPE|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: DISPLAY_NAME|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: DATE_ADDED|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: DATE_MODIFIED|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: TITLE|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: DURATION|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: WIDTH|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: HEIGHT|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: DATE_TAKEN|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: ORIENTATION|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: FAVORITE|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AlbumKey|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AlbumKey Method or attribute name: URI|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AlbumKey Method or attribute name: FILE_TYPE|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AlbumKey Method or attribute name: ALBUM_NAME|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AlbumKey Method or attribute name: DATE_ADDED|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AlbumKey Method or attribute name: DATE_MODIFIED|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchOptions|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchOptions Method or attribute name: fetchColumns|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchOptions Method or attribute name: predicates|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AlbumFetchOptions|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AlbumFetchOptions Method or attribute name: predicates|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getCount|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: isAfterLast|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: close|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getFirstObject|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getFirstObject|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getNextObject|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getNextObject|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getLastObject|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getLastObject|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getPositionObject|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getPositionObject|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: albumName|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: albumUri|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: dateModified|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: count|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: coverUri|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: getPhotoAssets|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: getPhotoAssets|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: Album|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: Album Method or attribute name: commitModify|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: Album Method or attribute name: commitModify|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPhotoAssets|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPhotoAssets|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: createPhotoAsset|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: createPhotoAsset|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: createPhotoAsset|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPhotoAlbums|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPhotoAlbums|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPrivateAlbum|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPrivateAlbum|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getAudioAssets|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getAudioAssets|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: delete|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: delete|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on_deviceChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on_albumChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on_imageChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on_audioChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on_videoChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on_remoteFileChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off_deviceChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off_albumChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off_imageChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off_audioChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off_videoChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off_remoteFileChange|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getActivePeers|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getActivePeers|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getAllPeers|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getAllPeers|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: release|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: release|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PeerInfo|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PeerInfo Method or attribute name: deviceName|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PeerInfo Method or attribute name: networkId|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PeerInfo Method or attribute name: isOnline|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbumType|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbumType Method or attribute name: TYPE_FAVORITE|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbumType Method or attribute name: TYPE_TRASH|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbum|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbum Method or attribute name: delete|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbum Method or attribute name: delete|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbum Method or attribute name: recover|@ohos.filemanagement.userFileManager.d.ts|
+|Added||Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbum Method or attribute name: recover|@ohos.filemanagement.userFileManager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: userfile_manager||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: userfile_manager Method or attribute name: getUserFileMgr||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: userfile_manager Method or attribute name: getUserFileMgr||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: MediaType||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: MediaType Method or attribute name: FILE||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: MediaType Method or attribute name: IMAGE||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: MediaType Method or attribute name: VIDEO||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: MediaType Method or attribute name: AUDIO||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: uri||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: mediaType||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: displayName||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: isDirectory||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: isDirectory||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: commitModify||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: commitModify||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: open||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: open||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: close||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: close||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: getThumbnail||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: getThumbnail||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: getThumbnail||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: favorite||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: favorite||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: isFavorite||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: isFavorite||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: trash||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: trash||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: isTrash||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileAsset Method or attribute name: isTrash||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileKey||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileKey Method or attribute name: URI||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileKey Method or attribute name: RELATIVE_PATH||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileKey Method or attribute name: DISPLAY_NAME||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileKey Method or attribute name: DATE_ADDED||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileKey Method or attribute name: DATE_MODIFIED||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FileKey Method or attribute name: TITLE||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AudioKey||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AudioKey Method or attribute name: URI||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AudioKey Method or attribute name: RELATIVE_PATH||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AudioKey Method or attribute name: DISPLAY_NAME||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AudioKey Method or attribute name: DATE_ADDED||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AudioKey Method or attribute name: DATE_MODIFIED||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AudioKey Method or attribute name: TITLE||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AudioKey Method or attribute name: ARTIST||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AudioKey Method or attribute name: AUDIOALBUM||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AudioKey Method or attribute name: DURATION||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey Method or attribute name: URI||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey Method or attribute name: RELATIVE_PATH||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey Method or attribute name: DISPLAY_NAME||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey Method or attribute name: DATE_ADDED||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey Method or attribute name: DATE_MODIFIED||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey Method or attribute name: TITLE||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey Method or attribute name: DURATION||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey Method or attribute name: WIDTH||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey Method or attribute name: HEIGHT||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: ImageVideoKey Method or attribute name: DATE_TAKEN||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AlbumKey||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AlbumKey Method or attribute name: URI||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AlbumKey Method or attribute name: RELATIVE_PATH||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AlbumKey Method or attribute name: DISPLAY_NAME||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AlbumKey Method or attribute name: DATE_ADDED||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: AlbumKey Method or attribute name: DATE_MODIFIED||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: MediaFetchOptions||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: MediaFetchOptions Method or attribute name: selections||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: MediaFetchOptions Method or attribute name: selectionArgs||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: getCount||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: isAfterLast||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: close||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: getFirstObject||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: getFirstObject||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: getNextObject||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: getNextObject||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: getLastObject||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: getLastObject||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: getPositionObject||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: FetchFileResult Method or attribute name: getPositionObject||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: albumName||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: albumUri||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: dateModified||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: count||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: relativePath||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: coverUri||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: commitModify||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: commitModify||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: getFileAssets||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: getFileAssets||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Album Method or attribute name: getFileAssets||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: DirectoryType||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: DirectoryType Method or attribute name: DIR_CAMERA||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: DirectoryType Method or attribute name: DIR_VIDEO||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: DirectoryType Method or attribute name: DIR_IMAGE||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: DirectoryType Method or attribute name: DIR_AUDIO||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: DirectoryType Method or attribute name: DIR_DOCUMENTS||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: DirectoryType Method or attribute name: DIR_DOWNLOAD||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getPublicDirectory||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getPublicDirectory||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getFileAssets||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getFileAssets||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: on_deviceChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: on_albumChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: on_imageChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: on_audioChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: on_videoChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: on_fileChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: on_remoteFileChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: off_deviceChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: off_albumChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: off_imageChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: off_audioChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: off_videoChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: off_fileChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: off_remoteFileChange||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: createAsset||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: createAsset||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: deleteAsset||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: deleteAsset||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getAlbums||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getAlbums||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getPrivateAlbum||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getPrivateAlbum||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getActivePeers||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getActivePeers||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getAllPeers||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: getAllPeers||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: release||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: UserFileManager Method or attribute name: release||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Size||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Size Method or attribute name: width||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: Size Method or attribute name: height||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: PeerInfo||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: PeerInfo Method or attribute name: deviceName||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: PeerInfo Method or attribute name: networkId||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: PeerInfo Method or attribute name: isOnline||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: VirtualAlbumType||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: VirtualAlbumType Method or attribute name: TYPE_FAVORITE||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: VirtualAlbumType Method or attribute name: TYPE_TRASH||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: VirtualAlbum||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: VirtualAlbum Method or attribute name: getFileAssets||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.filemanagement.userfile_manager Class name: VirtualAlbum Method or attribute name: getFileAssets||@ohos.filemanagement.userfile_manager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: filemanager||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: filemanager Method or attribute name: listFile||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: filemanager Method or attribute name: listFile||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: filemanager Method or attribute name: listFile||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: filemanager Method or attribute name: getRoot||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: filemanager Method or attribute name: getRoot||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: filemanager Method or attribute name: getRoot||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: filemanager Method or attribute name: createFile||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: filemanager Method or attribute name: createFile||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: filemanager Method or attribute name: createFile||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: FileInfo||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: FileInfo Method or attribute name: name||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: FileInfo Method or attribute name: path||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: FileInfo Method or attribute name: type||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: FileInfo Method or attribute name: size||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: FileInfo Method or attribute name: addedTime||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: FileInfo Method or attribute name: modifiedTime||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: DevInfo||@ohos.fileManager.d.ts|
+|Deleted|Module name: ohos.fileManager Class name: DevInfo Method or attribute name: name||@ohos.fileManager.d.ts|
+|Permission changed|Method or attribute name: getFileAccessAbilityInfo Permission: ohos.permission.FILE_ACCESS_MANAGER|Method or attribute name: getFileAccessAbilityInfo Permission: ohos.permission.FILE_ACCESS_MANAGER and ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.data.fileAccess.d.ts|
+|Permission changed|Method or attribute name: getFileAccessAbilityInfo Permission: ohos.permission.FILE_ACCESS_MANAGER|Method or attribute name: getFileAccessAbilityInfo Permission: ohos.permission.FILE_ACCESS_MANAGER and ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.data.fileAccess.d.ts|
+|Permission changed|Method or attribute name: createFileAccessHelper Permission: ohos.permission.FILE_ACCESS_MANAGER|Method or attribute name: createFileAccessHelper Permission: ohos.permission.FILE_ACCESS_MANAGER and ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.data.fileAccess.d.ts|
+|Permission changed|Method or attribute name: createFileAccessHelper Permission: ohos.permission.FILE_ACCESS_MANAGER|Method or attribute name: createFileAccessHelper Permission: ohos.permission.FILE_ACCESS_MANAGER and ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.data.fileAccess.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-geolocation.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-geolocation.md
new file mode 100644
index 0000000000000000000000000000000000000000..c20d0b35204c56ac7d0ca66f0f70e71bdc5844c1
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-geolocation.md
@@ -0,0 +1,173 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: on_countryCodeChange|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: off_countryCodeChange|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: enableLocation|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: enableLocation|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: disableLocation|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: disableLocation|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: getCountryCode|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: getCountryCode|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: enableLocationMock|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: enableLocationMock|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: disableLocationMock|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: disableLocationMock|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: setMockedLocations|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: setMockedLocations|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: enableReverseGeocodingMock|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: enableReverseGeocodingMock|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: disableReverseGeocodingMock|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: disableReverseGeocodingMock|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: setReverseGeocodingMockInfo|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: setReverseGeocodingMockInfo|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: isLocationPrivacyConfirmed|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: isLocationPrivacyConfirmed|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: setLocationPrivacyConfirmStatus|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: geoLocationManager Method or attribute name: setLocationPrivacyConfirmStatus|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: ReverseGeocodingMockInfo|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: ReverseGeocodingMockInfo Method or attribute name: location|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: ReverseGeocodingMockInfo Method or attribute name: geoAddress|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationMockConfig|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationMockConfig Method or attribute name: timeInterval|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationMockConfig Method or attribute name: locations|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: SatelliteStatusInfo|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: SatelliteStatusInfo Method or attribute name: satellitesNumber|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: SatelliteStatusInfo Method or attribute name: satelliteIds|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: SatelliteStatusInfo Method or attribute name: carrierToNoiseDensitys|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: SatelliteStatusInfo Method or attribute name: altitudes|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: SatelliteStatusInfo Method or attribute name: azimuths|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: SatelliteStatusInfo Method or attribute name: carrierFrequencies|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CachedGnssLocationsRequest|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CachedGnssLocationsRequest Method or attribute name: reportingPeriodSec|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CachedGnssLocationsRequest Method or attribute name: wakeUpCacheQueueFull|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeofenceRequest|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeofenceRequest Method or attribute name: priority|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeofenceRequest Method or attribute name: scenario|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeofenceRequest Method or attribute name: geofence|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Geofence|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Geofence Method or attribute name: latitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Geofence Method or attribute name: longitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Geofence Method or attribute name: radius|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Geofence Method or attribute name: expiration|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: ReverseGeoCodeRequest|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: ReverseGeoCodeRequest Method or attribute name: locale|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: ReverseGeoCodeRequest Method or attribute name: latitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: ReverseGeoCodeRequest Method or attribute name: longitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: ReverseGeoCodeRequest Method or attribute name: maxItems|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoCodeRequest|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoCodeRequest Method or attribute name: locale|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoCodeRequest Method or attribute name: description|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoCodeRequest Method or attribute name: maxItems|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoCodeRequest Method or attribute name: minLatitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoCodeRequest Method or attribute name: minLongitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoCodeRequest Method or attribute name: maxLatitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoCodeRequest Method or attribute name: maxLongitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: latitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: longitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: locale|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: placeName|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: countryCode|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: countryName|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: administrativeArea|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: subAdministrativeArea|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: locality|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: subLocality|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: roadName|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: subRoadName|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: premises|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: postalCode|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: phoneNumber|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: addressUrl|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: descriptions|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: descriptionsSize|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: GeoAddress Method or attribute name: isFromMock|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequest|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequest Method or attribute name: priority|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequest Method or attribute name: scenario|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequest Method or attribute name: timeInterval|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequest Method or attribute name: distanceInterval|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequest Method or attribute name: maxAccuracy|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CurrentLocationRequest|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CurrentLocationRequest Method or attribute name: priority|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CurrentLocationRequest Method or attribute name: scenario|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CurrentLocationRequest Method or attribute name: maxAccuracy|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CurrentLocationRequest Method or attribute name: timeoutMs|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: latitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: longitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: altitude|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: accuracy|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: speed|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: timeStamp|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: direction|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: timeSinceBoot|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: additions|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: additionSize|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: Location Method or attribute name: isFromMock|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestPriority|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestPriority Method or attribute name: UNSET|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestPriority Method or attribute name: ACCURACY|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestPriority Method or attribute name: LOW_POWER|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestPriority Method or attribute name: FIRST_FIX|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestScenario|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestScenario Method or attribute name: UNSET|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestScenario Method or attribute name: NAVIGATION|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestScenario Method or attribute name: TRAJECTORY_TRACKING|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestScenario Method or attribute name: CAR_HAILING|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestScenario Method or attribute name: DAILY_LIFE_SERVICE|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationRequestScenario Method or attribute name: NO_POWER|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationPrivacyType|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationPrivacyType Method or attribute name: OTHERS|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationPrivacyType Method or attribute name: STARTUP|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationPrivacyType Method or attribute name: CORE_LOCATION|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationCommand|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationCommand Method or attribute name: scenario|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: LocationCommand Method or attribute name: command|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CountryCode|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CountryCode Method or attribute name: country|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CountryCode Method or attribute name: type|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CountryCodeType|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CountryCodeType Method or attribute name: COUNTRY_CODE_FROM_LOCALE|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CountryCodeType Method or attribute name: COUNTRY_CODE_FROM_SIM|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CountryCodeType Method or attribute name: COUNTRY_CODE_FROM_LOCATION|@ohos.geoLocationManager.d.ts|
+|Added||Module name: ohos.geoLocationManager Class name: CountryCodeType Method or attribute name: COUNTRY_CODE_FROM_NETWORK|@ohos.geoLocationManager.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: on_countryCodeChange||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: off_countryCodeChange||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: getCountryCode||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: getCountryCode||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: enableLocationMock||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: enableLocationMock||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: disableLocationMock||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: disableLocationMock||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: setMockedLocations||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: setMockedLocations||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: enableReverseGeocodingMock||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: enableReverseGeocodingMock||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: disableReverseGeocodingMock||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: disableReverseGeocodingMock||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: setReverseGeocodingMockInfo||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: setReverseGeocodingMockInfo||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: ReverseGeocodingMockInfo||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: ReverseGeocodingMockInfo Method or attribute name: location||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: ReverseGeocodingMockInfo Method or attribute name: geoAddress||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: LocationMockConfig||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: LocationMockConfig Method or attribute name: timeInterval||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: LocationMockConfig Method or attribute name: locations||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: isLocationPrivacyConfirmed||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: isLocationPrivacyConfirmed||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: setLocationPrivacyConfirmStatus||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: geolocation Method or attribute name: setLocationPrivacyConfirmStatus||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: GeoAddress Method or attribute name: isFromMock||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: Location Method or attribute name: isFromMock||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: GeoLocationErrorCode Method or attribute name: NOT_SUPPORTED||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: GeoLocationErrorCode Method or attribute name: QUERY_COUNTRY_CODE_ERROR||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: CountryCode||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: CountryCode Method or attribute name: country||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: CountryCode Method or attribute name: type||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: CountryCodeType||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: CountryCodeType Method or attribute name: COUNTRY_CODE_FROM_LOCALE||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: CountryCodeType Method or attribute name: COUNTRY_CODE_FROM_SIM||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: CountryCodeType Method or attribute name: COUNTRY_CODE_FROM_LOCATION||@ohos.geolocation.d.ts|
+|Deleted||Module name: ohos.geolocation Class name: CountryCodeType Method or attribute name: COUNTRY_CODE_FROM_NETWORK||@ohos.geolocation.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-global.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-global.md
new file mode 100644
index 0000000000000000000000000000000000000000..fb7d92d30f34b97292d69a4882dced394f0b5db2
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-global.md
@@ -0,0 +1,106 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.i18n Class name: System|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getDisplayCountry|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getDisplayLanguage|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getSystemLanguages|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getSystemCountries|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: isSuggested|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getSystemLanguage|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: setSystemLanguage|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getSystemRegion|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: setSystemRegion|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getSystemLocale|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: setSystemLocale|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: is24HourClock|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: set24HourClock|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: addPreferredLanguage|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: removePreferredLanguage|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getPreferredLanguageList|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getFirstPreferredLanguage|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getAppPreferredLanguage|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: setUsingLocalDigit|@ohos.i18n.d.ts|
+|Added||Module name: ohos.i18n Class name: System Method or attribute name: getUsingLocalDigit|@ohos.i18n.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getStringValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getStringValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getStringArrayValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getStringArrayValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getMediaContent|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getMediaContent|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getMediaContentBase64|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getMediaContentBase64|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getPluralStringValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getPluralStringValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getStringValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getStringValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getStringArrayValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getStringArrayValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getPluralStringValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getPluralStringValue|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getMediaContent|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getMediaContent|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getMediaContentBase64|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getMediaContentBase64|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getRawFileContent|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getRawFileContent|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getRawFd|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: getRawFd|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: closeRawFd|@ohos.resourceManager.d.ts|
+|Added||Module name: ohos.resourceManager Class name: ResourceManager Method or attribute name: closeRawFd|@ohos.resourceManager.d.ts|
+|Deleted||Module name: ohos.i18n Class name: i18n Method or attribute name: getSystemLanguages||@ohos.i18n.d.ts|
+|Deleted||Module name: ohos.i18n Class name: i18n Method or attribute name: getSystemCountries||@ohos.i18n.d.ts|
+|Deleted||Module name: ohos.i18n Class name: i18n Method or attribute name: isSuggested||@ohos.i18n.d.ts|
+|Deleted||Module name: ohos.i18n Class name: i18n Method or attribute name: setSystemLanguage||@ohos.i18n.d.ts|
+|Deleted||Module name: ohos.i18n Class name: i18n Method or attribute name: setSystemRegion||@ohos.i18n.d.ts|
+|Deleted||Module name: ohos.i18n Class name: i18n Method or attribute name: setSystemLocale||@ohos.i18n.d.ts|
+|Deleted||Module name: ohos.i18n Class name: i18n Method or attribute name: getAppPreferredLanguage||@ohos.i18n.d.ts|
+|Deleted||Module name: ohos.i18n Class name: i18n Method or attribute name: setUsingLocalDigit||@ohos.i18n.d.ts|
+|Deleted||Module name: ohos.i18n Class name: i18n Method or attribute name: getUsingLocalDigit||@ohos.i18n.d.ts|
+|Deleted||Module name: ohos.resourceManager Class name: AsyncCallback||@ohos.resourceManager.d.ts|
+|Deleted||Module name: ohos.resourceManager Class name: AsyncCallback Method or attribute name: AsyncCallback||@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getDisplayCountry Deprecated version: N/A|Method or attribute name: getDisplayCountry Deprecated version: 9 New API: ohos.System.getDisplayCountry |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: getDisplayLanguage Deprecated version: N/A|Method or attribute name: getDisplayLanguage Deprecated version: 9 New API: ohos.System.getDisplayLanguage |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: getSystemLanguage Deprecated version: N/A|Method or attribute name: getSystemLanguage Deprecated version: 9 New API: ohos.System.getSystemLanguage |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: getSystemRegion Deprecated version: N/A|Method or attribute name: getSystemRegion Deprecated version: 9 New API: ohos.System.getSystemRegion |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: getSystemLocale Deprecated version: N/A|Method or attribute name: getSystemLocale Deprecated version: 9 New API: ohos.System.getSystemLocale |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: is24HourClock Deprecated version: N/A|Method or attribute name: is24HourClock Deprecated version: 9 New API: ohos.System.is24HourClock |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: set24HourClock Deprecated version: N/A|Method or attribute name: set24HourClock Deprecated version: 9 New API: ohos.System.set24HourClock |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: addPreferredLanguage Deprecated version: N/A|Method or attribute name: addPreferredLanguage Deprecated version: 9 New API: ohos.System.addPreferredLanguage |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: removePreferredLanguage Deprecated version: N/A|Method or attribute name: removePreferredLanguage Deprecated version: 9 New API: ohos.System.removePreferredLanguage |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: getPreferredLanguageList Deprecated version: N/A|Method or attribute name: getPreferredLanguageList Deprecated version: 9 New API: ohos.System.getPreferredLanguageList |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: getFirstPreferredLanguage Deprecated version: N/A|Method or attribute name: getFirstPreferredLanguage Deprecated version: 9 New API: ohos.System.getFirstPreferredLanguage |@ohos.i18n.d.ts|
+|Deprecated version changed|Method or attribute name: getString Deprecated version: N/A|Method or attribute name: getString Deprecated version: 9 New API: ohos.resourceManager.getStringValue |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getString Deprecated version: N/A|Method or attribute name: getString Deprecated version: 9 New API: ohos.resourceManager.getStringValue |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getStringArray Deprecated version: N/A|Method or attribute name: getStringArray Deprecated version: 9 New API: ohos.resourceManager.getStringArrayValue |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getStringArray Deprecated version: N/A|Method or attribute name: getStringArray Deprecated version: 9 New API: ohos.resourceManager.getStringArrayValue |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getMedia Deprecated version: N/A|Method or attribute name: getMedia Deprecated version: 9 New API: ohos.resourceManager.getMediaContent |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getMedia Deprecated version: N/A|Method or attribute name: getMedia Deprecated version: 9 New API: ohos.resourceManager.getMediaContent |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getMediaBase64 Deprecated version: N/A|Method or attribute name: getMediaBase64 Deprecated version: 9 New API: ohos.resourceManager.getMediaContentBase64 |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getMediaBase64 Deprecated version: N/A|Method or attribute name: getMediaBase64 Deprecated version: 9 New API: ohos.resourceManager.getMediaContentBase64 |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getPluralString Deprecated version: N/A|Method or attribute name: getPluralString Deprecated version: 9 New API: ohos.resourceManager.getPluralStringValue |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getPluralString Deprecated version: N/A|Method or attribute name: getPluralString Deprecated version: 9 New API: ohos.resourceManager.getPluralStringValue |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getRawFile Deprecated version: N/A|Method or attribute name: getRawFile Deprecated version: 9 New API: ohos.resourceManager.getRawFileContent |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getRawFile Deprecated version: N/A|Method or attribute name: getRawFile Deprecated version: 9 New API: ohos.resourceManager.getRawFileContent |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getRawFileDescriptor Deprecated version: N/A|Method or attribute name: getRawFileDescriptor Deprecated version: 9 New API: ohos.resourceManager.getRawFd |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: getRawFileDescriptor Deprecated version: N/A|Method or attribute name: getRawFileDescriptor Deprecated version: 9 New API: ohos.resourceManager.getRawFd |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: closeRawFileDescriptor Deprecated version: N/A|Method or attribute name: closeRawFileDescriptor Deprecated version: 9 New API: ohos.resourceManager.closeRawFd |@ohos.resourceManager.d.ts|
+|Deprecated version changed|Method or attribute name: closeRawFileDescriptor Deprecated version: N/A|Method or attribute name: closeRawFileDescriptor Deprecated version: 9 New API: ohos.resourceManager.closeRawFd |@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getStringByName Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getStringByName Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getStringArrayByName Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getStringArrayByName Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getMediaByName Error code: 401, 9001003, 9001004|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getMediaByName Error code: 401, 9001003, 9001004|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getMediaBase64ByName Error code: 401, 9001003, 9001004|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getMediaBase64ByName Error code: 401, 9001003, 9001004|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getPluralStringByName Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getPluralStringByName Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getStringSync Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getStringSync Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getStringByNameSync Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getBoolean Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getBoolean Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getBooleanByName Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getNumber Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getNumber Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
+|Error code added||Method or attribute name: getNumberByName Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-misc.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-misc.md
new file mode 100644
index 0000000000000000000000000000000000000000..7d608307abae655ae2cc0fd7c21b0e70cc6b7d60
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-misc.md
@@ -0,0 +1,329 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_PERMISSION|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_PARAMCHECK|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_UNSUPPORTED|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_PACKAGEMANAGER|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_IMENGINE|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_IMCLIENT|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_KEYEVENT|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_CONFPERSIST|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_CONTROLLER|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_SETTINGS|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_IMMS|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: EXCEPTION_OTHERS|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: getSetting|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: getController|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: switchCurrentInputMethodSubtype|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: switchCurrentInputMethodSubtype|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: getCurrentInputMethodSubtype|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: switchCurrentInputMethodAndSubtype|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: inputMethod Method or attribute name: switchCurrentInputMethodAndSubtype|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodSetting Method or attribute name: on_imeChange|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodSetting Method or attribute name: off_imeChange|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodSetting Method or attribute name: listInputMethodSubtype|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodSetting Method or attribute name: listInputMethodSubtype|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodSetting Method or attribute name: listCurrentInputMethodSubtype|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodSetting Method or attribute name: listCurrentInputMethodSubtype|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodSetting Method or attribute name: getInputMethods|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodSetting Method or attribute name: getInputMethods|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodSetting Method or attribute name: showOptionalInputMethods|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodSetting Method or attribute name: showOptionalInputMethods|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodController Method or attribute name: stopInputSession|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodController Method or attribute name: stopInputSession|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodProperty Method or attribute name: name|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodProperty Method or attribute name: id|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodProperty Method or attribute name: label|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodProperty Method or attribute name: icon|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodProperty Method or attribute name: iconId|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethod Class name: InputMethodProperty Method or attribute name: extra|@ohos.inputmethod.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: inputMethodEngine Method or attribute name: getInputMethodAbility|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: inputMethodEngine Method or attribute name: getKeyboardDelegate|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: KeyboardController Method or attribute name: hide|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: KeyboardController Method or attribute name: hide|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: on_inputStart|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: off_inputStart|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: on_inputStop|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: off_inputStop|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: on_setCallingWindow|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: off_setCallingWindow|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: on_keyboardShow|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: on_keyboardHide|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: off_keyboardShow|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: off_keyboardHide|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: on_setSubtype|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputMethodAbility Method or attribute name: off|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: sendKeyFunction|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: sendKeyFunction|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: deleteForward|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: deleteForward|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: deleteBackward|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: deleteBackward|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: insertText|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: insertText|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: getForward|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: getForward|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: getBackward|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: getBackward|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: getEditorAttribute|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: getEditorAttribute|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: moveCursor|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodengine Class name: InputClient Method or attribute name: moveCursor|@ohos.inputmethodengine.d.ts|
+|Added||Module name: ohos.inputmethodextensioncontext Class name: InputMethodExtensionContext Method or attribute name: destroy|@ohos.inputmethodextensioncontext.d.ts|
+|Added||Module name: ohos.inputmethodextensioncontext Class name: InputMethodExtensionContext Method or attribute name: destroy|@ohos.inputmethodextensioncontext.d.ts|
+|Added||Module name: ohos.inputMethodSubtype Class name: InputMethodSubtype|@ohos.inputMethodSubtype.d.ts|
+|Added||Module name: ohos.inputMethodSubtype Class name: InputMethodSubtype Method or attribute name: label|@ohos.inputMethodSubtype.d.ts|
+|Added||Module name: ohos.inputMethodSubtype Class name: InputMethodSubtype Method or attribute name: name|@ohos.inputMethodSubtype.d.ts|
+|Added||Module name: ohos.inputMethodSubtype Class name: InputMethodSubtype Method or attribute name: id|@ohos.inputMethodSubtype.d.ts|
+|Added||Module name: ohos.inputMethodSubtype Class name: InputMethodSubtype Method or attribute name: mode|@ohos.inputMethodSubtype.d.ts|
+|Added||Module name: ohos.inputMethodSubtype Class name: InputMethodSubtype Method or attribute name: locale|@ohos.inputMethodSubtype.d.ts|
+|Added||Module name: ohos.inputMethodSubtype Class name: InputMethodSubtype Method or attribute name: language|@ohos.inputMethodSubtype.d.ts|
+|Added||Module name: ohos.inputMethodSubtype Class name: InputMethodSubtype Method or attribute name: icon|@ohos.inputMethodSubtype.d.ts|
+|Added||Module name: ohos.inputMethodSubtype Class name: InputMethodSubtype Method or attribute name: iconId|@ohos.inputMethodSubtype.d.ts|
+|Added||Module name: ohos.inputMethodSubtype Class name: InputMethodSubtype Method or attribute name: extra|@ohos.inputMethodSubtype.d.ts|
+|Added||Method or attribute name: createData Function name: function createData(mimeType: string, value: ValueType): PasteData;|@ohos.pasteboard.d.ts|
+|Added||Method or attribute name: createRecord Function name: function createRecord(mimeType: string, value: ValueType): PasteDataRecord;|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: PasteDataRecord Method or attribute name: convertToTextV9|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: PasteDataRecord Method or attribute name: convertToTextV9|@ohos.pasteboard.d.ts|
+|Added||Method or attribute name: addRecord Function name: addRecord(mimeType: string, value: ValueType): void;|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: PasteData Method or attribute name: getRecord|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: PasteData Method or attribute name: hasType|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: PasteData Method or attribute name: removeRecord|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: PasteData Method or attribute name: replaceRecord|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: SystemPasteboard Method or attribute name: clearData|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: SystemPasteboard Method or attribute name: clearData|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: SystemPasteboard Method or attribute name: getData|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: SystemPasteboard Method or attribute name: getData|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: SystemPasteboard Method or attribute name: hasData|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: SystemPasteboard Method or attribute name: hasData|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: SystemPasteboard Method or attribute name: setData|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.pasteboard Class name: SystemPasteboard Method or attribute name: setData|@ohos.pasteboard.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: EXCEPTION_PERMISSION|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: EXCEPTION_PARAMCHECK|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: EXCEPTION_UNSUPPORTED|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: EXCEPTION_FILEIO|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: EXCEPTION_FILEPATH|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: EXCEPTION_SERVICE|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: EXCEPTION_OTHERS|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: ERROR_OFFLINE|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: ERROR_UNSUPPORTED_NETWORK_TYPE|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: downloadFile|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: downloadFile|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: uploadFile|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: request Method or attribute name: uploadFile|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: DownloadTask Method or attribute name: delete|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: DownloadTask Method or attribute name: delete|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: DownloadTask Method or attribute name: suspend|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: DownloadTask Method or attribute name: suspend|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: DownloadTask Method or attribute name: restore|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: DownloadTask Method or attribute name: restore|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: DownloadTask Method or attribute name: getTaskInfo|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: DownloadTask Method or attribute name: getTaskInfo|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: DownloadTask Method or attribute name: getTaskMimeType|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: DownloadTask Method or attribute name: getTaskMimeType|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: UploadTask Method or attribute name: delete|@ohos.request.d.ts|
+|Added||Module name: ohos.request Class name: UploadTask Method or attribute name: delete|@ohos.request.d.ts|
+|Added||Module name: ohos.screenLock Class name: screenLock Method or attribute name: isLocked|@ohos.screenLock.d.ts|
+|Added||Module name: ohos.screenLock Class name: screenLock Method or attribute name: isSecure|@ohos.screenLock.d.ts|
+|Added||Module name: ohos.screenLock Class name: screenLock Method or attribute name: unlock|@ohos.screenLock.d.ts|
+|Added||Module name: ohos.screenLock Class name: screenLock Method or attribute name: unlock|@ohos.screenLock.d.ts|
+|Added||Module name: ohos.screenLock Class name: screenLock Method or attribute name: lock|@ohos.screenLock.d.ts|
+|Added||Module name: ohos.screenLock Class name: screenLock Method or attribute name: lock|@ohos.screenLock.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: getColorsSync|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: getIdSync|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: getFileSync|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: getMinHeightSync|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: getMinWidthSync|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: isChangeAllowed|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: isUserChangeAllowed|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: restore|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: restore|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: setImage|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: setImage|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: getImage|@ohos.wallpaper.d.ts|
+|Added||Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: getImage|@ohos.wallpaper.d.ts|
+|Deleted|Module name: ohos.inputmethodengine Class name: InputMethodEngine Method or attribute name: on_inputStop||@ohos.inputmethodengine.d.ts|
+|Deleted|Module name: ohos.inputmethodengine Class name: InputMethodEngine Method or attribute name: off_inputStop||@ohos.inputmethodengine.d.ts|
+|Deleted|Module name: ohos.inputmethodengine Class name: InputMethodEngine Method or attribute name: on_setCallingWindow||@ohos.inputmethodengine.d.ts|
+|Deleted|Module name: ohos.inputmethodengine Class name: InputMethodEngine Method or attribute name: off_setCallingWindow||@ohos.inputmethodengine.d.ts|
+|Deleted|Module name: ohos.inputmethodengine Class name: TextInputClient Method or attribute name: moveCursor||@ohos.inputmethodengine.d.ts|
+|Deleted|Module name: ohos.inputmethodengine Class name: TextInputClient Method or attribute name: moveCursor||@ohos.inputmethodengine.d.ts|
+|Deleted|Module name: ohos.inputmethodextensioncontext Class name: InputMethodExtensionContext Method or attribute name: startAbility||@ohos.inputmethodextensioncontext.d.ts|
+|Deleted|Module name: ohos.inputmethodextensioncontext Class name: InputMethodExtensionContext Method or attribute name: startAbility||@ohos.inputmethodextensioncontext.d.ts|
+|Deleted|Module name: ohos.inputmethodextensioncontext Class name: InputMethodExtensionContext Method or attribute name: startAbility||@ohos.inputmethodextensioncontext.d.ts|
+|Deleted|Module name: ohos.inputmethodextensioncontext Class name: InputMethodExtensionContext Method or attribute name: terminateSelf||@ohos.inputmethodextensioncontext.d.ts|
+|Deleted|Module name: ohos.inputmethodextensioncontext Class name: InputMethodExtensionContext Method or attribute name: terminateSelf||@ohos.inputmethodextensioncontext.d.ts|
+|Deleted|Module name: ohos.pasteboard Class name: pasteboard Method or attribute name: createPixelMapData||@ohos.pasteboard.d.ts|
+|Deleted|Module name: ohos.pasteboard Class name: pasteboard Method or attribute name: createPixelMapRecord||@ohos.pasteboard.d.ts|
+|Deleted|Module name: ohos.pasteboard Class name: PasteData Method or attribute name: addPixelMapRecord||@ohos.pasteboard.d.ts|
+|Deleted|Module name: ohos.screenLock Class name: screenLock Method or attribute name: lockScreen||@ohos.screenLock.d.ts|
+|Deleted|Module name: ohos.screenLock Class name: screenLock Method or attribute name: lockScreen||@ohos.screenLock.d.ts|
+|Deleted|Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: screenshotLiveWallpaper||@ohos.wallpaper.d.ts|
+|Deleted|Module name: ohos.wallpaper Class name: wallpaper Method or attribute name: screenshotLiveWallpaper||@ohos.wallpaper.d.ts|
+|Model changed|Method or attribute name: switchInputMethod model: @Stage Model Only|Method or attribute name: switchInputMethod model:|@ohos.inputmethod.d.ts|
+|Model changed|Method or attribute name: switchInputMethod model: @Stage Model Only|Method or attribute name: switchInputMethod model:|@ohos.inputmethod.d.ts|
+|Model changed|Method or attribute name: getCurrentInputMethod model: @Stage Model Only|Method or attribute name: getCurrentInputMethod model:|@ohos.inputmethod.d.ts|
+|Model changed|Class name: InputMethodExtensionAbility model: @Stage Model Only|Class name: InputMethodExtensionAbility model:|@ohos.inputmethodextensionability.d.ts|
+|Model changed|Method or attribute name: context model: @Stage Model Only|Method or attribute name: context model:|@ohos.inputmethodextensionability.d.ts|
+|Model changed|Method or attribute name: onCreate model: @Stage Model Only|Method or attribute name: onCreate model:|@ohos.inputmethodextensionability.d.ts|
+|Model changed|Method or attribute name: onDestroy model: @Stage Model Only|Method or attribute name: onDestroy model:|@ohos.inputmethodextensionability.d.ts|
+|Model changed|Class name: InputMethodExtensionContext model: @Stage Model Only|Class name: InputMethodExtensionContext model:|@ohos.inputmethodextensioncontext.d.ts|
+|Deprecated version changed|Method or attribute name: getInputMethodSetting Deprecated version: N/A|Method or attribute name: getInputMethodSetting Deprecated version: 9 New API: ohos.inputmethod.getController |@ohos.inputmethod.d.ts|
+|Deprecated version changed|Method or attribute name: getInputMethodController Deprecated version: N/A|Method or attribute name: getInputMethodController Deprecated version: 9 New API: ohos.inputmethod.getController |@ohos.inputmethod.d.ts|
+|Deprecated version changed|Method or attribute name: listInputMethod Deprecated version: N/A|Method or attribute name: listInputMethod Deprecated version: 9 New API: ohos.inputmethod.InputMethodSetting.getInputMethods |@ohos.inputmethod.d.ts|
+|Deprecated version changed|Method or attribute name: listInputMethod Deprecated version: N/A|Method or attribute name: listInputMethod Deprecated version: 9 New API: ohos.inputmethod.InputMethodSetting.getInputMethods |@ohos.inputmethod.d.ts|
+|Deprecated version changed|Method or attribute name: displayOptionalInputMethod Deprecated version: N/A|Method or attribute name: displayOptionalInputMethod Deprecated version: 9 New API: ohos.inputmethod.InputMethodSetting.showOptionalInputMethods |@ohos.inputmethod.d.ts|
+|Deprecated version changed|Method or attribute name: displayOptionalInputMethod Deprecated version: N/A|Method or attribute name: displayOptionalInputMethod Deprecated version: 9 New API: ohos.inputmethod.InputMethodSetting.showOptionalInputMethods |@ohos.inputmethod.d.ts|
+|Deprecated version changed|Method or attribute name: stopInput Deprecated version: N/A|Method or attribute name: stopInput Deprecated version: 9 New API: ohos.inputmethod.InputMethodController.stopInputSession |@ohos.inputmethod.d.ts|
+|Deprecated version changed|Method or attribute name: stopInput Deprecated version: N/A|Method or attribute name: stopInput Deprecated version: 9 New API: ohos.inputmethod.InputMethodController.stopInputSession |@ohos.inputmethod.d.ts|
+|Deprecated version changed|Method or attribute name: packageName Deprecated version: N/A|Method or attribute name: packageName Deprecated version: 9 New API: ohos.inputmethod.InputMethodProperty.name |@ohos.inputmethod.d.ts|
+|Deprecated version changed|Method or attribute name: methodId Deprecated version: N/A|Method or attribute name: methodId Deprecated version: 9 New API: ohos.inputmethod.InputMethodProperty.id |@ohos.inputmethod.d.ts|
+|Deprecated version changed|Method or attribute name: getInputMethodEngine Deprecated version: N/A|Method or attribute name: getInputMethodEngine Deprecated version: 9 New API: ohos.inputmethodengine.getInputMethodAbility |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: createKeyboardDelegate Deprecated version: N/A|Method or attribute name: createKeyboardDelegate Deprecated version: 9 New API: ohos.inputmethodengine.getKeyboardDelegate |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: hideKeyboard Deprecated version: N/A|Method or attribute name: hideKeyboard Deprecated version: 9 New API: ohos.inputmethodengine.KeyboardController.hide |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: hideKeyboard Deprecated version: N/A|Method or attribute name: hideKeyboard Deprecated version: 9 New API: ohos.inputmethodengine.KeyboardController.hide |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Class name: TextInputClient Deprecated version: N/A|Class name: TextInputClient Deprecated version: 9 New API: ohos.inputmethodengine.InputClient |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: sendKeyFunction Deprecated version: N/A|Method or attribute name: sendKeyFunction Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.sendKeyFunction |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: sendKeyFunction Deprecated version: N/A|Method or attribute name: sendKeyFunction Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.sendKeyFunction |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: deleteForward Deprecated version: N/A|Method or attribute name: deleteForward Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.deleteForward |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: deleteForward Deprecated version: N/A|Method or attribute name: deleteForward Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.deleteForward |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: deleteBackward Deprecated version: N/A|Method or attribute name: deleteBackward Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.deleteBackward |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: deleteBackward Deprecated version: N/A|Method or attribute name: deleteBackward Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.deleteBackward |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: insertText Deprecated version: N/A|Method or attribute name: insertText Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.insertText |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: insertText Deprecated version: N/A|Method or attribute name: insertText Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.insertText |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: getForward Deprecated version: N/A|Method or attribute name: getForward Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.getForward |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: getForward Deprecated version: N/A|Method or attribute name: getForward Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.getForward |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: getBackward Deprecated version: N/A|Method or attribute name: getBackward Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.getBackward |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: getBackward Deprecated version: N/A|Method or attribute name: getBackward Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.getBackward |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: getEditorAttribute Deprecated version: N/A|Method or attribute name: getEditorAttribute Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.getEditorAttribute |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: getEditorAttribute Deprecated version: N/A|Method or attribute name: getEditorAttribute Deprecated version: 9 New API: ohos.inputmethodengine.InputClient.getEditorAttribute |@ohos.inputmethodengine.d.ts|
+|Deprecated version changed|Method or attribute name: createHtmlData Deprecated version: N/A|Method or attribute name: createHtmlData Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: createWantData Deprecated version: N/A|Method or attribute name: createWantData Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: createPlainTextData Deprecated version: N/A|Method or attribute name: createPlainTextData Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: createUriData Deprecated version: N/A|Method or attribute name: createUriData Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: createHtmlTextRecord Deprecated version: N/A|Method or attribute name: createHtmlTextRecord Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: createWantRecord Deprecated version: N/A|Method or attribute name: createWantRecord Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: createPlainTextRecord Deprecated version: N/A|Method or attribute name: createPlainTextRecord Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: createUriRecord Deprecated version: N/A|Method or attribute name: createUriRecord Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: convertToText Deprecated version: N/A|Method or attribute name: convertToText Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: convertToText Deprecated version: N/A|Method or attribute name: convertToText Deprecated version: 9|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: addHtmlRecord Deprecated version: N/A|Method or attribute name: addHtmlRecord Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: addWantRecord Deprecated version: N/A|Method or attribute name: addWantRecord Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: addTextRecord Deprecated version: N/A|Method or attribute name: addTextRecord Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: addUriRecord Deprecated version: N/A|Method or attribute name: addUriRecord Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: getRecordAt Deprecated version: N/A|Method or attribute name: getRecordAt Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: hasMimeType Deprecated version: N/A|Method or attribute name: hasMimeType Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: removeRecordAt Deprecated version: N/A|Method or attribute name: removeRecordAt Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: replaceRecordAt Deprecated version: N/A|Method or attribute name: replaceRecordAt Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: clear Deprecated version: N/A|Method or attribute name: clear Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: clear Deprecated version: N/A|Method or attribute name: clear Deprecated version: 9|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: getPasteData Deprecated version: N/A|Method or attribute name: getPasteData Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: getPasteData Deprecated version: N/A|Method or attribute name: getPasteData Deprecated version: 9|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: hasPasteData Deprecated version: N/A|Method or attribute name: hasPasteData Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: hasPasteData Deprecated version: N/A|Method or attribute name: hasPasteData Deprecated version: 9|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: setPasteData Deprecated version: N/A|Method or attribute name: setPasteData Deprecated version: 9 New API: ohos.pasteboard.pasteboard|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: setPasteData Deprecated version: N/A|Method or attribute name: setPasteData Deprecated version: 9|@ohos.pasteboard.d.ts|
+|Deprecated version changed|Method or attribute name: download Deprecated version: N/A|Method or attribute name: download Deprecated version: 9 New API: ohos.request.downloadFile |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: download Deprecated version: N/A|Method or attribute name: download Deprecated version: 9 New API: ohos.request.downloadFile |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: download Deprecated version: N/A|Method or attribute name: download Deprecated version: 9 New API: ohos.request.downloadFile |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: download Deprecated version: N/A|Method or attribute name: download Deprecated version: 9 New API: ohos.request.downloadFile |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: upload Deprecated version: N/A|Method or attribute name: upload Deprecated version: 9 New API: ohos.request.uploadFile |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: upload Deprecated version: N/A|Method or attribute name: upload Deprecated version: 9 New API: ohos.request.uploadFile |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: upload Deprecated version: N/A|Method or attribute name: upload Deprecated version: 9 New API: ohos.request.uploadFile |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: upload Deprecated version: N/A|Method or attribute name: upload Deprecated version: 9 New API: ohos.request.uploadFile |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: remove Deprecated version: N/A|Method or attribute name: remove Deprecated version: 9 New API: ohos.request.delete |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: remove Deprecated version: N/A|Method or attribute name: remove Deprecated version: 9 New API: ohos.request.delete |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: pause Deprecated version: N/A|Method or attribute name: pause Deprecated version: 9 New API: ohos.request.suspend |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: pause Deprecated version: N/A|Method or attribute name: pause Deprecated version: 9 New API: ohos.request.suspend |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: resume Deprecated version: N/A|Method or attribute name: resume Deprecated version: 9 New API: ohos.request.restore |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: resume Deprecated version: N/A|Method or attribute name: resume Deprecated version: 9 New API: ohos.request.restore |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: query Deprecated version: N/A|Method or attribute name: query Deprecated version: 9 New API: ohos.request.getTaskInfo |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: query Deprecated version: N/A|Method or attribute name: query Deprecated version: 9 New API: ohos.request.getTaskInfo |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: queryMimeType Deprecated version: N/A|Method or attribute name: queryMimeType Deprecated version: 9 New API: ohos.request.getTaskMimeType |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: queryMimeType Deprecated version: N/A|Method or attribute name: queryMimeType Deprecated version: 9 New API: ohos.request.getTaskMimeType |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: remove Deprecated version: N/A|Method or attribute name: remove Deprecated version: 9 New API: ohos.request.delete |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: remove Deprecated version: N/A|Method or attribute name: remove Deprecated version: 9 New API: ohos.request.delete |@ohos.request.d.ts|
+|Deprecated version changed|Method or attribute name: isScreenLocked Deprecated version: N/A|Method or attribute name: isScreenLocked Deprecated version: 9 New API: ohos.screenLock.isLocked |@ohos.screenLock.d.ts|
+|Deprecated version changed|Method or attribute name: isScreenLocked Deprecated version: N/A|Method or attribute name: isScreenLocked Deprecated version: 9|@ohos.screenLock.d.ts|
+|Deprecated version changed|Method or attribute name: isSecureMode Deprecated version: N/A|Method or attribute name: isSecureMode Deprecated version: 9 New API: ohos.screenLock.isSecure |@ohos.screenLock.d.ts|
+|Deprecated version changed|Method or attribute name: isSecureMode Deprecated version: N/A|Method or attribute name: isSecureMode Deprecated version: 9|@ohos.screenLock.d.ts|
+|Deprecated version changed|Method or attribute name: unlockScreen Deprecated version: N/A|Method or attribute name: unlockScreen Deprecated version: 9 New API: ohos.screenLock.unlock |@ohos.screenLock.d.ts|
+|Deprecated version changed|Method or attribute name: unlockScreen Deprecated version: N/A|Method or attribute name: unlockScreen Deprecated version: 9|@ohos.screenLock.d.ts|
+|Deprecated version changed|Method or attribute name: getColors Deprecated version: N/A|Method or attribute name: getColors Deprecated version: 9 New API: ohos.wallpaper.getColorsSync |@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getColors Deprecated version: N/A|Method or attribute name: getColors Deprecated version: 9|@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getId Deprecated version: N/A|Method or attribute name: getId Deprecated version: 9 New API: ohos.wallpaper.getIdSync |@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getId Deprecated version: N/A|Method or attribute name: getId Deprecated version: 9|@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getFile Deprecated version: N/A|Method or attribute name: getFile Deprecated version: 9 New API: ohos.wallpaper.getFileSync |@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getFile Deprecated version: N/A|Method or attribute name: getFile Deprecated version: 9|@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getMinHeight Deprecated version: N/A|Method or attribute name: getMinHeight Deprecated version: 9 New API: ohos.wallpaper.getMinHeightSync |@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getMinHeight Deprecated version: N/A|Method or attribute name: getMinHeight Deprecated version: 9|@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getMinWidth Deprecated version: N/A|Method or attribute name: getMinWidth Deprecated version: 9 New API: ohos.wallpaper.getMinWidthSync |@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getMinWidth Deprecated version: N/A|Method or attribute name: getMinWidth Deprecated version: 9|@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: isChangePermitted Deprecated version: N/A|Method or attribute name: isChangePermitted Deprecated version: 9 New API: ohos.wallpaper.isChangeAllowed |@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: isChangePermitted Deprecated version: N/A|Method or attribute name: isChangePermitted Deprecated version: 9|@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: isOperationAllowed Deprecated version: N/A|Method or attribute name: isOperationAllowed Deprecated version: 9 New API: ohos.wallpaper.isUserChangeAllowed |@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: isOperationAllowed Deprecated version: N/A|Method or attribute name: isOperationAllowed Deprecated version: 9|@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: reset Deprecated version: N/A|Method or attribute name: reset Deprecated version: 9 New API: ohos.wallpaper.recovery |@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: reset Deprecated version: N/A|Method or attribute name: reset Deprecated version: 9|@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: setWallpaper Deprecated version: N/A|Method or attribute name: setWallpaper Deprecated version: 9 New API: ohos.wallpaper.setImage |@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: setWallpaper Deprecated version: N/A|Method or attribute name: setWallpaper Deprecated version: 9|@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getPixelMap Deprecated version: N/A|Method or attribute name: getPixelMap Deprecated version: 9 New API: ohos.wallpaper.getImage |@ohos.wallpaper.d.ts|
+|Deprecated version changed|Method or attribute name: getPixelMap Deprecated version: N/A|Method or attribute name: getPixelMap Deprecated version: 9|@ohos.wallpaper.d.ts|
+|Deprecated version changed|Class name: UploadResponse Deprecated version: N/A|Class name: UploadResponse Deprecated version: 9 New API: ohos.request |@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: code Deprecated version: N/A|Method or attribute name: code Deprecated version: 9 New API: ohos.request |@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: data Deprecated version: N/A|Method or attribute name: data Deprecated version: 9 New API: ohos.request |@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: headers Deprecated version: N/A|Method or attribute name: headers Deprecated version: 9 New API: ohos.request |@system.request.d.ts|
+|Deprecated version changed|Class name: DownloadResponse Deprecated version: N/A|Class name: DownloadResponse Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: token Deprecated version: N/A|Method or attribute name: token Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Class name: OnDownloadCompleteResponse Deprecated version: N/A|Class name: OnDownloadCompleteResponse Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: uri Deprecated version: N/A|Method or attribute name: uri Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Class name: RequestFile Deprecated version: N/A|Class name: RequestFile Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: filename Deprecated version: N/A|Method or attribute name: filename Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: name Deprecated version: N/A|Method or attribute name: name Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: uri Deprecated version: N/A|Method or attribute name: uri Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: type Deprecated version: N/A|Method or attribute name: type Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Class name: RequestData Deprecated version: N/A|Class name: RequestData Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: name Deprecated version: N/A|Method or attribute name: name Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: value Deprecated version: N/A|Method or attribute name: value Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Class name: UploadRequestOptions Deprecated version: N/A|Class name: UploadRequestOptions Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: url Deprecated version: N/A|Method or attribute name: url Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: data Deprecated version: N/A|Method or attribute name: data Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: files Deprecated version: N/A|Method or attribute name: files Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: header Deprecated version: N/A|Method or attribute name: header Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: method Deprecated version: N/A|Method or attribute name: method Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: success Deprecated version: N/A|Method or attribute name: success Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: fail Deprecated version: N/A|Method or attribute name: fail Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: complete Deprecated version: N/A|Method or attribute name: complete Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Class name: DownloadRequestOptions Deprecated version: N/A|Class name: DownloadRequestOptions Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: url Deprecated version: N/A|Method or attribute name: url Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: filename Deprecated version: N/A|Method or attribute name: filename Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: header Deprecated version: N/A|Method or attribute name: header Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: description Deprecated version: N/A|Method or attribute name: description Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: success Deprecated version: N/A|Method or attribute name: success Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: fail Deprecated version: N/A|Method or attribute name: fail Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: complete Deprecated version: N/A|Method or attribute name: complete Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Class name: OnDownloadCompleteOptions Deprecated version: N/A|Class name: OnDownloadCompleteOptions Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: token Deprecated version: N/A|Method or attribute name: token Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: success Deprecated version: N/A|Method or attribute name: success Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: fail Deprecated version: N/A|Method or attribute name: fail Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: complete Deprecated version: N/A|Method or attribute name: complete Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Class name: Request Deprecated version: N/A|Class name: Request Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: upload Deprecated version: N/A|Method or attribute name: upload Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: download Deprecated version: N/A|Method or attribute name: download Deprecated version: 9|@system.request.d.ts|
+|Deprecated version changed|Method or attribute name: onDownloadComplete Deprecated version: N/A|Method or attribute name: onDownloadComplete Deprecated version: 9|@system.request.d.ts|
+|Initial version changed|Class name: inputMethod Initial version: |Class name: inputMethod Initial version: 6|@ohos.inputmethod.d.ts|
+|Initial version changed|Method or attribute name: getFile Initial version: 9|Method or attribute name: getFile Initial version: 8|@ohos.wallpaper.d.ts|
+|Initial version changed|Method or attribute name: getFile Initial version: 9|Method or attribute name: getFile Initial version: 8|@ohos.wallpaper.d.ts|
+|Initial version changed|Method or attribute name: on_colorChange Initial version: 7|Method or attribute name: on_colorChange Initial version: 9|@ohos.wallpaper.d.ts|
+|Initial version changed|Method or attribute name: off_colorChange Initial version: 7|Method or attribute name: off_colorChange Initial version: 9|@ohos.wallpaper.d.ts|
+|Error code added||Method or attribute name: setProperty Error code: 401|@ohos.pasteboard.d.ts|
+|Error code added||Method or attribute name: on_update Error code: 401|@ohos.pasteboard.d.ts|
+|Error code added||Method or attribute name: off_update Error code: 401|@ohos.pasteboard.d.ts|
+|Permission added|Method or attribute name: switchInputMethod Permission: N/A|Method or attribute name: switchInputMethod Permission: ohos.permission.CONNECT_IME_ABILITY|@ohos.inputmethod.d.ts|
+|Permission added|Method or attribute name: switchInputMethod Permission: N/A|Method or attribute name: switchInputMethod Permission: ohos.permission.CONNECT_IME_ABILITY|@ohos.inputmethod.d.ts|
+|Permission added|Method or attribute name: showSoftKeyboard Permission: N/A|Method or attribute name: showSoftKeyboard Permission: ohos.permission.CONNECT_IME_ABILITY|@ohos.inputmethod.d.ts|
+|Permission added|Method or attribute name: showSoftKeyboard Permission: N/A|Method or attribute name: showSoftKeyboard Permission: ohos.permission.CONNECT_IME_ABILITY|@ohos.inputmethod.d.ts|
+|Permission added|Method or attribute name: hideSoftKeyboard Permission: N/A|Method or attribute name: hideSoftKeyboard Permission: ohos.permission.CONNECT_IME_ABILITY|@ohos.inputmethod.d.ts|
+|Permission added|Method or attribute name: hideSoftKeyboard Permission: N/A|Method or attribute name: hideSoftKeyboard Permission: ohos.permission.CONNECT_IME_ABILITY|@ohos.inputmethod.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-multi-modal-input.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-multi-modal-input.md
new file mode 100644
index 0000000000000000000000000000000000000000..3538207e050186a413080acc1c4c911da1b27f60
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-multi-modal-input.md
@@ -0,0 +1,16 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.multimodalInput.inputDevice Class name: inputDevice Method or attribute name: getDeviceList|@ohos.multimodalInput.inputDevice.d.ts|
+|Added||Module name: ohos.multimodalInput.inputDevice Class name: inputDevice Method or attribute name: getDeviceList|@ohos.multimodalInput.inputDevice.d.ts|
+|Added||Module name: ohos.multimodalInput.inputDevice Class name: inputDevice Method or attribute name: getDeviceInfo|@ohos.multimodalInput.inputDevice.d.ts|
+|Added||Module name: ohos.multimodalInput.inputDevice Class name: inputDevice Method or attribute name: getDeviceInfo|@ohos.multimodalInput.inputDevice.d.ts|
+|Added||Module name: ohos.multimodalInput.inputDeviceCooperate Class name: EventMsg|@ohos.multimodalInput.inputDeviceCooperate.d.ts|
+|Added||Module name: ohos.multimodalInput.inputDeviceCooperate Class name: EventMsg Method or attribute name: MSG_COOPERATE_INFO_START|@ohos.multimodalInput.inputDeviceCooperate.d.ts|
+|Added||Module name: ohos.multimodalInput.inputDeviceCooperate Class name: EventMsg Method or attribute name: MSG_COOPERATE_INFO_SUCCESS|@ohos.multimodalInput.inputDeviceCooperate.d.ts|
+|Added||Module name: ohos.multimodalInput.inputDeviceCooperate Class name: EventMsg Method or attribute name: MSG_COOPERATE_INFO_FAIL|@ohos.multimodalInput.inputDeviceCooperate.d.ts|
+|Added||Module name: ohos.multimodalInput.inputDeviceCooperate Class name: EventMsg Method or attribute name: MSG_COOPERATE_STATE_ON|@ohos.multimodalInput.inputDeviceCooperate.d.ts|
+|Added||Module name: ohos.multimodalInput.inputDeviceCooperate Class name: EventMsg Method or attribute name: MSG_COOPERATE_STATE_OFF|@ohos.multimodalInput.inputDeviceCooperate.d.ts|
+|Deprecated version changed|Method or attribute name: getDeviceIds Deprecated version: N/A|Method or attribute name: getDeviceIds Deprecated version: 9 New API: ohos.multimodalInput.inputDevice|@ohos.multimodalInput.inputDevice.d.ts|
+|Deprecated version changed|Method or attribute name: getDeviceIds Deprecated version: N/A|Method or attribute name: getDeviceIds Deprecated version: 9 New API: ohos.multimodalInput.inputDevice|@ohos.multimodalInput.inputDevice.d.ts|
+|Deprecated version changed|Method or attribute name: getDevice Deprecated version: N/A|Method or attribute name: getDevice Deprecated version: 9 New API: ohos.multimodalInput.inputDevice|@ohos.multimodalInput.inputDevice.d.ts|
+|Deprecated version changed|Method or attribute name: getDevice Deprecated version: N/A|Method or attribute name: getDevice Deprecated version: 9 New API: ohos.multimodalInput.inputDevice|@ohos.multimodalInput.inputDevice.d.ts|
diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-multimedia.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-multimedia.md
new file mode 100644
index 0000000000000000000000000000000000000000..f9d53616c3d729fb60ece7202d65dd672c1867fd
--- /dev/null
+++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-multimedia.md
@@ -0,0 +1,886 @@
+| Change Type | New Version | Old Version | d.ts File |
+| ---- | ------ | ------ | -------- |
+|Added||Module name: ohos.multimedia.audio Class name: audio|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioErrors|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioErrors Method or attribute name: ERROR_INVALID_PARAM|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioErrors Method or attribute name: ERROR_NO_MEMORY|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioErrors Method or attribute name: ERROR_ILLEGAL_STATE|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioErrors Method or attribute name: ERROR_UNSUPPORTED|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioErrors Method or attribute name: ERROR_TIMEOUT|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioErrors Method or attribute name: ERROR_STREAM_LIMIT|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioErrors Method or attribute name: ERROR_SYSTEM|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: audio Method or attribute name: DEFAULT_VOLUME_GROUP_ID|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: audio Method or attribute name: DEFAULT_INTERRUPT_GROUP_ID|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: audio Method or attribute name: createTonePlayer|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: audio Method or attribute name: createTonePlayer|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: CommunicationDeviceType|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: CommunicationDeviceType Method or attribute name: SPEAKER|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: StreamUsage Method or attribute name: STREAM_USAGE_VOICE_ASSISTANT|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptRequestType|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptRequestType Method or attribute name: INTERRUPT_REQUEST_TYPE_DEFAULT|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptMode|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptMode Method or attribute name: SHARE_MODE|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptMode Method or attribute name: INDEPENDENT_MODE|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioManager Method or attribute name: getVolumeManager|@ohos.multimedia.audio.d.ts|
+|Added||Method or attribute name: getStreamManager Function name: getStreamManager(): AudioStreamManager;|@ohos.multimedia.audio.d.ts|
+|Added||Method or attribute name: getRoutingManager Function name: getRoutingManager(): AudioRoutingManager;|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptRequestResultType|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptRequestResultType Method or attribute name: INTERRUPT_REQUEST_GRANT|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptRequestResultType Method or attribute name: INTERRUPT_REQUEST_REJECT|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptResult|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptResult Method or attribute name: requestResult|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: InterruptResult Method or attribute name: interruptNode|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRoutingManager Method or attribute name: setCommunicationDevice|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRoutingManager Method or attribute name: setCommunicationDevice|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRoutingManager Method or attribute name: isCommunicationDeviceActive|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRoutingManager Method or attribute name: isCommunicationDeviceActive|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRoutingManager Method or attribute name: selectInputDevice|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRoutingManager Method or attribute name: selectInputDevice|@ohos.multimedia.audio.d.ts|
+|Added||Method or attribute name: off_audioRendererChange Function name: off(type: "audioRendererChange"): void;|@ohos.multimedia.audio.d.ts|
+|Added||Method or attribute name: off_audioCapturerChange Function name: off(type: "audioCapturerChange"): void;|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioStreamManager Method or attribute name: isActive|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioStreamManager Method or attribute name: isActive|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeManager|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeManager Method or attribute name: getVolumeGroupInfos|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeManager Method or attribute name: getVolumeGroupInfos|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeManager Method or attribute name: getVolumeGroupManager|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeManager Method or attribute name: getVolumeGroupManager|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeManager Method or attribute name: on_volumeChange|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: setVolume|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: setVolume|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: getVolume|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: getVolume|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: getMinVolume|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: getMinVolume|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: getMaxVolume|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: getMaxVolume|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: mute|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: mute|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: isMute|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: isMute|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: setRingerMode|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: setRingerMode|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: getRingerMode|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: getRingerMode|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: on_ringerModeChange|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: setMicrophoneMute|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: setMicrophoneMute|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: isMicrophoneMute|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: isMicrophoneMute|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioVolumeGroupManager Method or attribute name: on_micStateChange|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ConnectType Method or attribute name: CONNECT_TYPE_LOCAL|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ConnectType Method or attribute name: CONNECT_TYPE_DISTRIBUTED|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: MicStateChangeEvent|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: MicStateChangeEvent Method or attribute name: mute|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRenderer Method or attribute name: getAudioStreamId|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRenderer Method or attribute name: getAudioStreamId|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRenderer Method or attribute name: setVolume|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRenderer Method or attribute name: setVolume|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioRenderer Method or attribute name: on_audioInterrupt|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: SourceType Method or attribute name: SOURCE_TYPE_VOICE_RECOGNITION|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioCapturer Method or attribute name: getAudioStreamId|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: AudioCapturer Method or attribute name: getAudioStreamId|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_0|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_1|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_2|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_3|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_4|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_5|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_6|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_7|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_8|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_9|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_S|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_P|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_A|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_B|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_C|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_DIAL_D|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_DIAL|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_BUSY|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_CONGESTION|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RINGTONE|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_BEEP|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_ACK|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_PROMPT|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: ToneType Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: TonePlayer|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: TonePlayer Method or attribute name: load|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: TonePlayer Method or attribute name: load|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: TonePlayer Method or attribute name: start|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: TonePlayer Method or attribute name: start|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: TonePlayer Method or attribute name: stop|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: TonePlayer Method or attribute name: stop|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: TonePlayer Method or attribute name: release|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.audio Class name: TonePlayer Method or attribute name: release|@ohos.multimedia.audio.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: createAVSession|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: createAVSession|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: getAllSessionDescriptors|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: getAllSessionDescriptors|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: createController|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: createController|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: castAudio|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: castAudio|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: SessionToken|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: SessionToken Method or attribute name: sessionId|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: SessionToken Method or attribute name: pid|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: SessionToken Method or attribute name: uid|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: on_sessionCreate|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: on_sessionDestroy|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: on_topSessionChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: off_sessionCreate|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: off_sessionDestroy|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: off_topSessionChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: on_sessionServiceDie|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: off_sessionServiceDie|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: sendSystemAVKeyEvent|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: sendSystemAVKeyEvent|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: sendSystemControlCommand|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: avSession Method or attribute name: sendSystemControlCommand|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: sessionId|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: setAVMetadata|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: setAVMetadata|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: setAVPlaybackState|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: setAVPlaybackState|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: setLaunchAbility|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: setLaunchAbility|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: getController|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: getController|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: getOutputDevice|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: getOutputDevice|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_play|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_pause|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_stop|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_playNext|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_playPrevious|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_fastForward|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_rewind|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_play|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_pause|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_stop|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_playNext|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_playPrevious|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_fastForward|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_rewind|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_seek|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_seek|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_setSpeed|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_setSpeed|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_setLoopMode|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_setLoopMode|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_toggleFavorite|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_toggleFavorite|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_handleKeyEvent|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_handleKeyEvent|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: on_outputDeviceChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: off_outputDeviceChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: activate|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: activate|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: deactivate|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: deactivate|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: destroy|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSession Method or attribute name: destroy|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: assetId|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: title|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: artist|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: author|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: album|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: writer|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: composer|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: duration|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: mediaImage|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: publishDate|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: subtitle|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: description|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: lyric|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: previousAssetId|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVMetadata Method or attribute name: nextAssetId|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVPlaybackState|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVPlaybackState Method or attribute name: state|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVPlaybackState Method or attribute name: speed|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVPlaybackState Method or attribute name: position|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVPlaybackState Method or attribute name: bufferedTime|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVPlaybackState Method or attribute name: loopMode|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVPlaybackState Method or attribute name: isFavorite|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackPosition|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackPosition Method or attribute name: elapsedTime|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackPosition Method or attribute name: updateTime|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: OutputDeviceInfo|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: OutputDeviceInfo Method or attribute name: isRemote|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: OutputDeviceInfo Method or attribute name: audioDeviceId|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: OutputDeviceInfo Method or attribute name: deviceName|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: LoopMode|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: LoopMode Method or attribute name: LOOP_MODE_SEQUENCE|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: LoopMode Method or attribute name: LOOP_MODE_SINGLE|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: LoopMode Method or attribute name: LOOP_MODE_LIST|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: LoopMode Method or attribute name: LOOP_MODE_SHUFFLE|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackState|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackState Method or attribute name: PLAYBACK_STATE_INITIAL|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackState Method or attribute name: PLAYBACK_STATE_PREPARE|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackState Method or attribute name: PLAYBACK_STATE_PLAY|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackState Method or attribute name: PLAYBACK_STATE_PAUSE|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackState Method or attribute name: PLAYBACK_STATE_FAST_FORWARD|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackState Method or attribute name: PLAYBACK_STATE_REWIND|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: PlaybackState Method or attribute name: PLAYBACK_STATE_STOP|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionDescriptor|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionDescriptor Method or attribute name: sessionId|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionDescriptor Method or attribute name: type|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionDescriptor Method or attribute name: sessionTag|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionDescriptor Method or attribute name: elementName|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionDescriptor Method or attribute name: isActive|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionDescriptor Method or attribute name: isTopSession|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionDescriptor Method or attribute name: outputDevice|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: sessionId|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getAVPlaybackState|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getAVPlaybackState|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getAVMetadata|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getAVMetadata|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getOutputDevice|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getOutputDevice|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: sendAVKeyEvent|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: sendAVKeyEvent|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getLaunchAbility|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getLaunchAbility|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getRealPlaybackPositionSync|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: isActive|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: isActive|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: destroy|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: destroy|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getValidCommands|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: getValidCommands|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: sendControlCommand|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: sendControlCommand|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: on_metadataChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: off_metadataChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: on_playbackStateChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: off_playbackStateChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: on_sessionDestroy|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: off_sessionDestroy|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: on_activeStateChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: off_activeStateChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: on_validCommandChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: off_validCommandChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: on_outputDeviceChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionController Method or attribute name: off_outputDeviceChange|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVControlCommand|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVControlCommand Method or attribute name: command|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVControlCommand Method or attribute name: parameter|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionErrorCode|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionErrorCode Method or attribute name: ERR_CODE_SERVICE_EXCEPTION|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionErrorCode Method or attribute name: ERR_CODE_SESSION_NOT_EXIST|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionErrorCode Method or attribute name: ERR_CODE_CONTROLLER_NOT_EXIST|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionErrorCode Method or attribute name: ERR_CODE_REMOTE_CONNECTION_ERR|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionErrorCode Method or attribute name: ERR_CODE_COMMAND_INVALID|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionErrorCode Method or attribute name: ERR_CODE_SESSION_INACTIVE|@ohos.multimedia.avsession.d.ts|
+|Added||Module name: ohos.multimedia.avsession Class name: AVSessionErrorCode Method or attribute name: ERR_CODE_MESSAGE_OVERLOAD|@ohos.multimedia.avsession.d.ts|
+|Added||Method or attribute name: CAMERA_STATUS_DISAPPEAR Function name: CAMERA_STATUS_DISAPPEAR = 1|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: CAMERA_STATUS_AVAILABLE Function name: CAMERA_STATUS_AVAILABLE = 2|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: CAMERA_STATUS_UNAVAILABLE Function name: CAMERA_STATUS_UNAVAILABLE = 3|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: Profile|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: Profile Method or attribute name: format|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: Profile Method or attribute name: size|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: FrameRateRange|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: FrameRateRange Method or attribute name: min|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: FrameRateRange Method or attribute name: max|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: VideoProfile|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: VideoProfile Method or attribute name: frameRateRange|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraOutputCapability|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraOutputCapability Method or attribute name: previewProfiles|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraOutputCapability Method or attribute name: photoProfiles|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraOutputCapability Method or attribute name: videoProfiles|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraOutputCapability Method or attribute name: supportedMetadataObjectTypes|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: getSupportedCameras|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: getSupportedCameras|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: getSupportedOutputCapability|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: getSupportedOutputCapability|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: isCameraMuted|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: isCameraMuteSupported|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: muteCamera|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: createCameraInput Function name: createCameraInput(camera: CameraDevice, callback: AsyncCallback): void;|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: createCameraInput Function name: createCameraInput(camera: CameraDevice): Promise;|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: createPreviewOutput|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: createPreviewOutput|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: createPhotoOutput|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: createPhotoOutput|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: createVideoOutput|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: createVideoOutput|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: createMetadataOutput|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: createMetadataOutput|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: createCaptureSession|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: createCaptureSession|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraManager Method or attribute name: on_cameraMute|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: camera Function name: camera: CameraDevice;|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: CAMERA_POSITION_BACK Function name: CAMERA_POSITION_BACK = 1|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: CAMERA_POSITION_FRONT Function name: CAMERA_POSITION_FRONT = 2|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: CAMERA_TYPE_WIDE_ANGLE Function name: CAMERA_TYPE_WIDE_ANGLE = 1|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: CAMERA_TYPE_ULTRA_WIDE Function name: CAMERA_TYPE_ULTRA_WIDE = 2|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: CAMERA_TYPE_TELEPHOTO Function name: CAMERA_TYPE_TELEPHOTO = 3|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: CAMERA_TYPE_TRUE_DEPTH Function name: CAMERA_TYPE_TRUE_DEPTH = 4|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: CAMERA_CONNECTION_USB_PLUGIN Function name: CAMERA_CONNECTION_USB_PLUGIN = 1|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: CAMERA_CONNECTION_REMOTE Function name: CAMERA_CONNECTION_REMOTE = 2|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraDevice|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraDevice Method or attribute name: cameraId|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraDevice Method or attribute name: cameraPosition|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraDevice Method or attribute name: cameraType|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraDevice Method or attribute name: connectionType|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: Point|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: Point Method or attribute name: x|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: Point Method or attribute name: y|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraInput Method or attribute name: open|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraInput Method or attribute name: open|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraInput Method or attribute name: close|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera Class name: CameraInput Method or attribute name: close|@ohos.multimedia.camera.d.ts|
+|Added||Method or attribute name: on_error Function name: on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts|
+|Added||Module name: ohos.multimedia.camera