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. + + ![](figures/UnitTest.PNG) + + The following figure shows the basic unit test process. To start the unit test framework, run the **aa test** command. + + ![](figures/TestFlow.PNG) + +- 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. + + ![](figures/Uitest.PNG) + + +### 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. + +![](figures/Execute.PNG) + +## Viewing the Test Result + +After the test is complete, you can view the test result in DevEco Studio, as shown in the following figure. + +![](figures/TestResult.PNG) + +## 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. + +![SmartPerf](figures/SmartPerfStru.png) + +## 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. + + ![](figures/wukongRandomTest.png) + + The following figure shows the basic running process of the random test, which depends on the **hdc** command. + + ![](figures/wukongRandomTestFlow.png) + +- 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. + + ![](figures/wukongSpecialTest.png) + +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**. - - ![en-us_image_0000001241693881](figures/en-us_image_0000001241693881.png) + ![171e6f30-a8d9-414c-bafa-b430340305fb](figures/171e6f30-a8d9-414c-bafa-b430340305fb.png) 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**. - - ![en-us_image_0000001196654004](figures/en-us_image_0000001196654004.png) + ![65d69983-29f6-4381-80a3-f9ef2ec19e53](figures/65d69983-29f6-4381-80a3-f9ef2ec19e53.png) 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**. - - ![en-us_image_0000001241733907](figures/en-us_image_0000001241733907.png) + ![db5d017d-6c1c-4a71-a2dd-f74b7f23239e](figures/db5d017d-6c1c-4a71-a2dd-f74b7f23239e.png) 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 +!["Add single-operator model"](figures/neural_network_runtime.png) + +## 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 - -> ![icon-note.gif](public_sys-resources/icon-note.gif) **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. -> ![icon-note.gif](public_sys-resources/icon-note.gif) **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 -> ![icon-note.gif](public_sys-resources/icon-note.gif) **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 -> ![icon-note.gif](public_sys-resources/icon-note.gif) **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 -> ![icon-note.gif](public_sys-resources/icon-note.gif) **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 -> ![icon-note.gif](public_sys-resources/icon-note.gif) **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 ``` -![zh-cn_image_0000001173324703](figures/zh-cn_image_0000001173324703.gif) +![zh-cn_image_0000001173324703](figures/en-us_image_0000001173324703.gif) ```html @@ -68,7 +68,7 @@ Not supported ``` -![zh-cn_image_0000001167662852](figures/zh-cn_image_0000001167662852.gif) +![zh-cn_image_0000001167662852](figures/en-us_image_0000001167662852.gif) ```html @@ -83,7 +83,7 @@ Not supported ``` -![zh-cn_image_0000001127284938](figures/zh-cn_image_0000001127284938.gif) +![zh-cn_image_0000001127284938](figures/en-us_image_0000001127284938.gif) ```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 { } ``` -![en-us_image_0000001212378432](figures/en-us_image_0000001212378432.gif) +![progress](figures/progress.png) 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. ![image-20220326064841782](figures/image-20220326064841782.png) 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 ![image-20220326064913834](figures/image-20220326064913834.png) - - ### 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 ![image-20220326064955505](figures/image-20220326064955505.png) - - ### 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). ![image-20220326065043006](figures/image-20220326065043006.png) - - ## 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** ![20220329-103626](figures/20220329-103626.gif) - - ### 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. ![image-20220326065124911](figures/image-20220326065124911.png) - - ### 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. ![image-20220326065201867](figures/image-20220326065201867.png) - - ### 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 { ![en-us_image_0000001267647897](figures/en-us_image_0000001267647897.gif) > **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: +![](figures/flex.png) + +## 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) - ``` +![](figures/direction.png) - ![en-us_image_0000001218579606](figures/en-us_image_0000001218579606.png) +- **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) + ``` + ![en-us_image_0000001218579606](figures/en-us_image_0000001218579606.png) - **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) + ``` - ![en-us_image_0000001218739566](figures/en-us_image_0000001218739566.png) + ![en-us_image_0000001218739566](figures/en-us_image_0000001218739566.png) - **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) + ``` - ![en-us_image_0000001263019457](figures/en-us_image_0000001263019457.png) + ![en-us_image_0000001263019457](figures/en-us_image_0000001263019457.png) - **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) - ``` - - ![en-us_image_0000001263339459](figures/en-us_image_0000001263339459.png) - - -## 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) - ``` - - ![en-us_image_0000001263139409](figures/en-us_image_0000001263139409.png) - -- **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) - ``` - - ![en-us_image_0000001218419614](figures/en-us_image_0000001218419614.png) - -- **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) - ``` - - ![en-us_image_0000001263259399](figures/en-us_image_0000001263259399.png) - - -## 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) + ``` + + ![en-us_image_0000001263339459](figures/en-us_image_0000001263339459.png) + +### 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) + ``` + + ![en-us_image_0000001263139409](figures/en-us_image_0000001263139409.png) + +- **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) + ``` + + ![en-us_image_0000001218419614](figures/en-us_image_0000001218419614.png) + +- **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) + ``` + + ![en-us_image_0000001263259399](figures/en-us_image_0000001263259399.png) + +### 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) - ``` - - ![en-us_image_0000001218259634](figures/en-us_image_0000001218259634.png) - -- **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) - ``` - - ![en-us_image_0000001218579608](figures/en-us_image_0000001218579608.png) +![](figures/justifyContent.png) + +- **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) + ``` + + ![en-us_image_0000001218259634](figures/mainStart.png) + +- **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) + ``` + + ![en-us_image_0000001218579608](figures/mainCenter.png) - **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) - ``` - - ![en-us_image_0000001218739568](figures/en-us_image_0000001218739568.png) - -- **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) - ``` - - ![en-us_image_0000001263019461](figures/en-us_image_0000001263019461.png) - -- **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) - ``` - - ![en-us_image_0000001263339461](figures/en-us_image_0000001263339461.png) + ```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) + ``` + + ![en-us_image_0000001218739568](figures/mainEnd.png) + +- **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) + ``` + + ![en-us_image_0000001263019461](figures/mainSpacebetween.png) + +- **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) + ``` + + ![zh-cn_image_0000001263339461](figures/mainSpacearound.png) - **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) - ``` - - ![en-us_image_0000001263139411](figures/en-us_image_0000001263139411.png) + ```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) + ``` + + ![zh-cn_image_0000001263139411](figures/mainSpaceevenly.png) +#### 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) + ``` - ![en-us_image_0000001218419616](figures/en-us_image_0000001218419616.png) + ![en-us_image_0000001218419616](figures/en-us_image_0000001218419616.png) - **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) - ``` - - ![en-us_image_0000001263259401](figures/en-us_image_0000001263259401.png) + ```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) + ``` + + ![en-us_image_0000001263259401](figures/en-us_image_0000001263259401.png) - **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) - ``` - - ![en-us_image_0000001218259636](figures/en-us_image_0000001218259636.png) + ```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) + ``` + + ![en-us_image_0000001218259636](figures/en-us_image_0000001218259636.png) - **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) - ``` - - ![en-us_image_0000001218579610](figures/en-us_image_0000001218579610.png) + ```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) + ``` + + ![en-us_image_0000001218579610](figures/en-us_image_0000001218579610.png) - **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) - ``` - - ![en-us_image_0000001218739570](figures/en-us_image_0000001218739570.png) + ```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) + ``` + + ![en-us_image_0000001218739570](figures/itemalignstretch.png) - **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) - ``` - - ![en-us_image_0000001263019463](figures/en-us_image_0000001263019463.png) - - -### 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) + ``` + + ![en-us_image_0000001263019463](figures/en-us_image_0000001263019463.png) + +##### 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. +![](figures/alignself.png) + +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) + ``` + + ![crossStart.png](figures/crossStart.png) + +- **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) + ``` + + ![crossCenter.png](figures/crossCenter.png) + +- **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) + ``` + + ![crossEnd.png](figures/crossEnd.png) + +- **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) + ``` + + ![crossSpacebetween.png](figures/crossSpacebetween.png) + +- **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) + ``` + + ![crossSpacearound.png](figures/crossSpacearound.png) + +- **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) + ``` + + ![crossSpaceevenly.png](figures/crossSpaceevenly.png) + +### 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) + ``` + + ![](figures/flexbasis.png) -- **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) + ``` + + ![](figures/flexgrow.png) -- **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) + ``` + + ![](figures/flexshrink.png) ## 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 { } ``` - -![en-us_image_0000001261605867](figures/en-us_image_0000001261605867.png) +![en-us_image_0000001261605867](figures/flexExample.png) 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 ![image](figures/WLAN_architecture.png "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: ![image](figures/WLAN_driver_APIs.png "WLAN Driver 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 -![](figures/architecture-of-the-input-driver-model.png "architecture-of-the-input-driver-model") +![image](figures/architecture-of-the-input-driver-model.png) -- **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 ![](figures/common-pins-of-the-touchscreen.png "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 - ![](figures/architecture-of-the-openharmony-liteos-a-kernel.png "architecture-of-the-openharmony-liteos-a-kernel") + ![](figures/Liteos-a-architecture.png "Liteos-a-architecture.png") ### 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 +> ![icon-note.gif](public_sys-resources/icon-note.gif) **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 ``` - > ![icon-caution.gif](../public_sys-resources/icon-caution.gif) **CAUTION**
+ > ![icon-caution.gif](public_sys-resources/icon-caution.gif) **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 ``` -> ![icon-note.gif](../public_sys-resources/icon-note.gif) **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 ``` - > ![icon-note.gif](../public_sys-resources/icon-note.gif) **NOTE**
+ > ![icon-note.gif](public_sys-resources/icon-note.gif) **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 ``` - > ![icon-note.gif](../public_sys-resources/icon-note.gif) **NOTE**
+ > ![icon-note.gif](public_sys-resources/icon-note.gif) **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 | -> ![icon-caution.gif](../public_sys-resources/icon-caution.gif) **CAUTION**
+> ![icon-caution.gif](public_sys-resources/icon-caution.gif) **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 - ``` - - >![](../public_sys-resources/icon-notice.gif) **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/). -> ![icon-note.gif](public_sys-resources/icon-note.gif) **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 -> ![icon-note.gif](public_sys-resources/icon-note.gif) **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. - - >![](../public_sys-resources/icon-note.gif) **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. - - >![](../public_sys-resources/icon-note.gif) **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 - ``` - - ![](figure/en-us_image_0000001119924146.gif) - - - Execute the test cases of a module \(view specific module information in **\acts\testcases\**). - - ``` - run –l ActsSamgrTest - ``` - - ![](figure/en-us_image_0000001166643927.jpg) - - 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
Class name: CameraInputErrorCode
Method or attribute name: ERROR_NO_PERMISSION|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_PREEMPTED|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_DISCONNECTED|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_IN_USE|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraFormat|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraFormat
Method or attribute name: CAMERA_FORMAT_RGBA_8888|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraFormat
Method or attribute name: CAMERA_FORMAT_YUV_420_SP|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraFormat
Method or attribute name: CAMERA_FORMAT_JPEG|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FLASH_MODE_OPEN
Function name: FLASH_MODE_OPEN = 1|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FLASH_MODE_AUTO
Function name: FLASH_MODE_AUTO = 2|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FLASH_MODE_ALWAYS_OPEN
Function name: FLASH_MODE_ALWAYS_OPEN = 3|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: ExposureMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: ExposureMode
Method or attribute name: EXPOSURE_MODE_LOCKED|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: ExposureMode
Method or attribute name: EXPOSURE_MODE_AUTO|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: ExposureMode
Method or attribute name: EXPOSURE_MODE_CONTINUOUS_AUTO|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FOCUS_MODE_CONTINUOUS_AUTO
Function name: FOCUS_MODE_CONTINUOUS_AUTO = 1|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FOCUS_MODE_AUTO
Function name: FOCUS_MODE_AUTO = 2|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FOCUS_MODE_LOCKED
Function name: FOCUS_MODE_LOCKED = 3|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FOCUS_STATE_FOCUSED
Function name: FOCUS_STATE_FOCUSED = 1|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FOCUS_STATE_UNFOCUSED
Function name: FOCUS_STATE_UNFOCUSED = 2|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode
Method or attribute name: OFF|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode
Method or attribute name: LOW|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode
Method or attribute name: MIDDLE|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode
Method or attribute name: HIGH|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode
Method or attribute name: AUTO|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: addOutput
Function name: addOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: addOutput
Function name: addOutput(cameraOutput: CameraOutput): Promise;|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: removeOutput
Function name: removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: removeOutput
Function name: removeOutput(cameraOutput: CameraOutput): Promise;|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: hasFlash|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: hasFlash|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isFlashModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isFlashModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFlashMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFlashMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFlashMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFlashMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isExposureModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isExposureModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setExposureMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setExposureMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getMeteringPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getMeteringPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setMeteringPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setMeteringPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureBiasRange|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureBiasRange|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setExposureBias|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setExposureBias|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureValue|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureValue|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isFocusModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isFocusModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocusMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocusMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFocusMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFocusMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFocusPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFocusPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocusPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocusPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocalLength|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocalLength|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getZoomRatioRange|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getZoomRatioRange|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getZoomRatio|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getZoomRatio|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setZoomRatio|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setZoomRatio|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isVideoStabilizationModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isVideoStabilizationModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getActiveVideoStabilizationMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getActiveVideoStabilizationMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setVideoStabilizationMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setVideoStabilizationMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: on_focusStateChange|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
Method or attribute name: ERROR_TIMEOUT|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraOutput|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraOutput
Method or attribute name: release|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraOutput
Method or attribute name: release|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: start|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: start|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: stop|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: stop|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Location|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Location
Method or attribute name: latitude|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Location
Method or attribute name: longitude|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Location
Method or attribute name: altitude|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: QUALITY_LEVEL_MEDIUM
Function name: QUALITY_LEVEL_MEDIUM = 1|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: QUALITY_LEVEL_LOW
Function name: QUALITY_LEVEL_LOW = 2|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoCaptureSetting
Method or attribute name: location|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoCaptureSetting
Method or attribute name: mirror|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutput
Method or attribute name: isMirrorSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutput
Method or attribute name: isMirrorSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_TIMEOUT|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoOutputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObjectType|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObjectType
Method or attribute name: FACE_DETECTION|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Rect|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Rect
Method or attribute name: topLeftX|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Rect
Method or attribute name: topLeftY|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Rect
Method or attribute name: width|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Rect
Method or attribute name: height|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getType|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getType|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getTimestamp|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getTimestamp|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getBoundingBox|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getBoundingBox|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataFaceObject|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: start|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: start|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: stop|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: stop|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: on_metadataObjectsAvailable|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: on_error|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode
Method or attribute name: ERROR_UNKNOWN|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutputError|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutputError
Method or attribute name: code|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: image|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PixelMapFormat
Method or attribute name: RGB_888|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PixelMapFormat
Method or attribute name: ALPHA_8|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PixelMapFormat
Method or attribute name: RGBA_F16|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PixelMapFormat
Method or attribute name: NV21|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PixelMapFormat
Method or attribute name: NV12|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PropertyKey
Method or attribute name: DATE_TIME_ORIGINAL|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PropertyKey
Method or attribute name: EXPOSURE_TIME|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PropertyKey
Method or attribute name: SCENE_TYPE|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PropertyKey
Method or attribute name: ISO_SPEED_RATINGS|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PropertyKey
Method or attribute name: F_NUMBER|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageInfo
Method or attribute name: density|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PackingOption
Method or attribute name: bufferSize|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: DecodingOptions
Method or attribute name: fitDensity|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: image
Method or attribute name: createImageCreator|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: capacity|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: format|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: dequeueImage|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: dequeueImage|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: queueImage|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: queueImage|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: on_imageRelease|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: release|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: release|@ohos.multimedia.image.d.ts| +|Added||Method or attribute name: audioSourceType
Function name: audioSourceType?: AudioSourceType;|@ohos.multimedia.media.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: FocusType||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: FocusType
Method or attribute name: FOCUS_TYPE_RECORDING||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: getVolumeGroups||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: getVolumeGroups||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: getGroupManager||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: getGroupManager||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: requestIndependentInterrupt||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: requestIndependentInterrupt||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: abandonIndependentInterrupt||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: abandonIndependentInterrupt||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: on_independentInterrupt||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: off_independentInterrupt||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: setVolume||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: setVolume||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getVolume||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getVolume||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getMinVolume||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getMinVolume||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getMaxVolume||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getMaxVolume||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: mute||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: mute||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: isMute||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: isMute||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.audio
Class name: AudioRenderer
Method or attribute name: on_interrupt||@ohos.multimedia.audio.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraManager
Method or attribute name: getCameras||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraManager
Method or attribute name: getCameras||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: Camera||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: Camera
Method or attribute name: cameraId||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: Camera
Method or attribute name: cameraPosition||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: Camera
Method or attribute name: cameraType||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: Camera
Method or attribute name: connectionType||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getCameraId||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getCameraId||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: hasFlash||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: hasFlash||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: isFlashModeSupported||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: isFlashModeSupported||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getFlashMode||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getFlashMode||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setFlashMode||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setFlashMode||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: isFocusModeSupported||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: isFocusModeSupported||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getFocusMode||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getFocusMode||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setFocusMode||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setFocusMode||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getZoomRatioRange||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getZoomRatioRange||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getZoomRatio||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getZoomRatio||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setZoomRatio||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setZoomRatio||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: on_focusStateChange||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createCaptureSession||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createCaptureSession||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createPreviewOutput||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createPreviewOutput||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createPhotoOutput||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createPhotoOutput||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PhotoOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: PhotoOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createVideoOutput||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createVideoOutput||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: VideoOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.camera
Class name: VideoOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Deleted|Module name: ohos.multimedia.media
Class name: VideoPlayer
Method or attribute name: selectBitrate||@ohos.multimedia.media.d.ts| +|Deleted|Module name: ohos.multimedia.media
Class name: VideoPlayer
Method or attribute name: selectBitrate||@ohos.multimedia.media.d.ts| +|Deleted|Module name: ohos.multimedia.media
Class name: VideoPlayer
Method or attribute name: on_availableBitratesCollect||@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: createVideoRecorder
Access level: public API|Method or attribute name: createVideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: createVideoRecorder
Access level: public API|Method or attribute name: createVideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorder
Access level: public API|Class name: VideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: prepare
Access level: public API|Method or attribute name: prepare
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: prepare
Access level: public API|Method or attribute name: prepare
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: getInputSurface
Access level: public API|Method or attribute name: getInputSurface
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: getInputSurface
Access level: public API|Method or attribute name: getInputSurface
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: start
Access level: public API|Method or attribute name: start
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: start
Access level: public API|Method or attribute name: start
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: pause
Access level: public API|Method or attribute name: pause
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: pause
Access level: public API|Method or attribute name: pause
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: resume
Access level: public API|Method or attribute name: resume
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: resume
Access level: public API|Method or attribute name: resume
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: stop
Access level: public API|Method or attribute name: stop
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: stop
Access level: public API|Method or attribute name: stop
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: release
Access level: public API|Method or attribute name: release
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: release
Access level: public API|Method or attribute name: release
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: reset
Access level: public API|Method or attribute name: reset
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: reset
Access level: public API|Method or attribute name: reset
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: on_error
Access level: public API|Method or attribute name: on_error
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: state
Access level: public API|Method or attribute name: state
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorderProfile
Access level: public API|Class name: VideoRecorderProfile
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioBitrate
Access level: public API|Method or attribute name: audioBitrate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioChannels
Access level: public API|Method or attribute name: audioChannels
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioCodec
Access level: public API|Method or attribute name: audioCodec
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioSampleRate
Access level: public API|Method or attribute name: audioSampleRate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: fileFormat
Access level: public API|Method or attribute name: fileFormat
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoBitrate
Access level: public API|Method or attribute name: videoBitrate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoCodec
Access level: public API|Method or attribute name: videoCodec
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameWidth
Access level: public API|Method or attribute name: videoFrameWidth
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameHeight
Access level: public API|Method or attribute name: videoFrameHeight
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameRate
Access level: public API|Method or attribute name: videoFrameRate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: AudioSourceType
Access level: public API|Class name: AudioSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT
Access level: public API|Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: AUDIO_SOURCE_TYPE_MIC
Access level: public API|Method or attribute name: AUDIO_SOURCE_TYPE_MIC
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoSourceType
Access level: public API|Class name: VideoSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV
Access level: public API|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES
Access level: public API|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorderConfig
Access level: public API|Class name: VideoRecorderConfig
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoSourceType
Access level: public API|Method or attribute name: videoSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: profile
Access level: public API|Method or attribute name: profile
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: url
Access level: public API|Method or attribute name: url
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: rotation
Access level: public API|Method or attribute name: rotation
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: location
Access level: public API|Method or attribute name: location
Access level: system API|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: ActiveDeviceType
Deprecated version: N/A|Class name: ActiveDeviceType
Deprecated version: 9
New API: ohos.multimedia.audio.CommunicationDeviceType |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: SPEAKER
Deprecated version: N/A|Method or attribute name: SPEAKER
Deprecated version: 9
New API: ohos.multimedia.audio.CommunicationDeviceType |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: BLUETOOTH_SCO
Deprecated version: N/A|Method or attribute name: BLUETOOTH_SCO
Deprecated version: 9
New API: ohos.multimedia.audio.CommunicationDeviceType |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Class name: InterruptActionType
Deprecated version: N/A|Class name: InterruptActionType
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_ACTIVATED
Deprecated version: N/A|Method or attribute name: TYPE_ACTIVATED
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_INTERRUPT
Deprecated version: N/A|Method or attribute name: TYPE_INTERRUPT
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setVolume
Deprecated version: N/A|Method or attribute name: setVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setVolume
Deprecated version: N/A|Method or attribute name: setVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getVolume
Deprecated version: N/A|Method or attribute name: getVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getVolume
Deprecated version: N/A|Method or attribute name: getVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getMinVolume
Deprecated version: N/A|Method or attribute name: getMinVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getMinVolume
Deprecated version: N/A|Method or attribute name: getMinVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getMaxVolume
Deprecated version: N/A|Method or attribute name: getMaxVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getMaxVolume
Deprecated version: N/A|Method or attribute name: getMaxVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getDevices
Deprecated version: N/A|Method or attribute name: getDevices
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getDevices
Deprecated version: N/A|Method or attribute name: getDevices
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: mute
Deprecated version: N/A|Method or attribute name: mute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: mute
Deprecated version: N/A|Method or attribute name: mute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isMute
Deprecated version: N/A|Method or attribute name: isMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isMute
Deprecated version: N/A|Method or attribute name: isMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isActive
Deprecated version: N/A|Method or attribute name: isActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioStreamManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isActive
Deprecated version: N/A|Method or attribute name: isActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioStreamManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setMicrophoneMute
Deprecated version: N/A|Method or attribute name: setMicrophoneMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setMicrophoneMute
Deprecated version: N/A|Method or attribute name: setMicrophoneMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isMicrophoneMute
Deprecated version: N/A|Method or attribute name: isMicrophoneMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isMicrophoneMute
Deprecated version: N/A|Method or attribute name: isMicrophoneMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setRingerMode
Deprecated version: N/A|Method or attribute name: setRingerMode
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setRingerMode
Deprecated version: N/A|Method or attribute name: setRingerMode
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getRingerMode
Deprecated version: N/A|Method or attribute name: getRingerMode
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getRingerMode
Deprecated version: N/A|Method or attribute name: getRingerMode
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setDeviceActive
Deprecated version: N/A|Method or attribute name: setDeviceActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setDeviceActive
Deprecated version: N/A|Method or attribute name: setDeviceActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isDeviceActive
Deprecated version: N/A|Method or attribute name: isDeviceActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isDeviceActive
Deprecated version: N/A|Method or attribute name: isDeviceActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: on_volumeChange
Deprecated version: N/A|Method or attribute name: on_volumeChange
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: on_ringerModeChange
Deprecated version: N/A|Method or attribute name: on_ringerModeChange
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: on_deviceChange
Deprecated version: N/A|Method or attribute name: on_deviceChange
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: off_deviceChange
Deprecated version: N/A|Method or attribute name: off_deviceChange
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Class name: InterruptAction
Deprecated version: N/A|Class name: InterruptAction
Deprecated version: 9
New API: ohos.multimedia.audio.InterruptEvent |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: actionType
Deprecated version: N/A|Method or attribute name: actionType
Deprecated version: 9
New API: ohos.multimedia.audio.InterruptEvent |@ohos.multimedia.audio.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.multimedia.audio.InterruptEvent |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: hint
Deprecated version: N/A|Method or attribute name: hint
Deprecated version: 9
New API: ohos.multimedia.audio.InterruptEvent |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: activated
Deprecated version: N/A|Method or attribute name: activated
Deprecated version: 9
New API: ohos.multimedia.audio.InterruptEvent |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Class name: AudioInterrupt
Deprecated version: N/A|Class name: AudioInterrupt
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: streamUsage
Deprecated version: N/A|Method or attribute name: streamUsage
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: contentType
Deprecated version: N/A|Method or attribute name: contentType
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: pauseWhenDucked
Deprecated version: N/A|Method or attribute name: pauseWhenDucked
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Class name: mediaLibrary
Deprecated version: 9|Class name: mediaLibrary
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getMediaLibrary
Deprecated version: 9|Method or attribute name: getMediaLibrary
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getMediaLibrary
Deprecated version: 9|Method or attribute name: getMediaLibrary
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: MediaType
Deprecated version: 9|Class name: MediaType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: FILE
Deprecated version: 9|Method or attribute name: FILE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: IMAGE
Deprecated version: 9|Method or attribute name: IMAGE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: VIDEO
Deprecated version: 9|Method or attribute name: VIDEO
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: AUDIO
Deprecated version: 9|Method or attribute name: AUDIO
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: FileAsset
Deprecated version: 9|Class name: FileAsset
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: id
Deprecated version: 9|Method or attribute name: id
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: uri
Deprecated version: 9|Method or attribute name: uri
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: mimeType
Deprecated version: 9|Method or attribute name: mimeType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: mediaType
Deprecated version: 9|Method or attribute name: mediaType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: displayName
Deprecated version: 9|Method or attribute name: displayName
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: title
Deprecated version: 9|Method or attribute name: title
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: relativePath
Deprecated version: 9|Method or attribute name: relativePath
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: parent
Deprecated version: 9|Method or attribute name: parent
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: size
Deprecated version: 9|Method or attribute name: size
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: dateAdded
Deprecated version: 9|Method or attribute name: dateAdded
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: dateModified
Deprecated version: 9|Method or attribute name: dateModified
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: dateTaken
Deprecated version: 9|Method or attribute name: dateTaken
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: artist
Deprecated version: 9|Method or attribute name: artist
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: audioAlbum
Deprecated version: 9|Method or attribute name: audioAlbum
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: width
Deprecated version: 9|Method or attribute name: width
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: height
Deprecated version: 9|Method or attribute name: height
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: orientation
Deprecated version: 9|Method or attribute name: orientation
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: duration
Deprecated version: 9|Method or attribute name: duration
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumId
Deprecated version: 9|Method or attribute name: albumId
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumUri
Deprecated version: 9|Method or attribute name: albumUri
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumName
Deprecated version: 9|Method or attribute name: albumName
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isDirectory
Deprecated version: 9|Method or attribute name: isDirectory
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isDirectory
Deprecated version: 9|Method or attribute name: isDirectory
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: commitModify
Deprecated version: 9|Method or attribute name: commitModify
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: commitModify
Deprecated version: 9|Method or attribute name: commitModify
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: 9|Method or attribute name: open
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: 9|Method or attribute name: open
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: close
Deprecated version: 9|Method or attribute name: close
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: close
Deprecated version: 9|Method or attribute name: close
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getThumbnail
Deprecated version: 9|Method or attribute name: getThumbnail
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getThumbnail
Deprecated version: 9|Method or attribute name: getThumbnail
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getThumbnail
Deprecated version: 9|Method or attribute name: getThumbnail
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: favorite
Deprecated version: 9|Method or attribute name: favorite
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: favorite
Deprecated version: 9|Method or attribute name: favorite
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isFavorite
Deprecated version: 9|Method or attribute name: isFavorite
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isFavorite
Deprecated version: 9|Method or attribute name: isFavorite
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: trash
Deprecated version: 9|Method or attribute name: trash
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: trash
Deprecated version: 9|Method or attribute name: trash
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isTrash
Deprecated version: 9|Method or attribute name: isTrash
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isTrash
Deprecated version: 9|Method or attribute name: isTrash
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: FileKey
Deprecated version: 9|Class name: FileKey
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: ID
Deprecated version: 9|Method or attribute name: ID
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: RELATIVE_PATH
Deprecated version: 9|Method or attribute name: RELATIVE_PATH
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DISPLAY_NAME
Deprecated version: 9|Method or attribute name: DISPLAY_NAME
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: PARENT
Deprecated version: 9|Method or attribute name: PARENT
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: MIME_TYPE
Deprecated version: 9|Method or attribute name: MIME_TYPE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: MEDIA_TYPE
Deprecated version: 9|Method or attribute name: MEDIA_TYPE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: SIZE
Deprecated version: 9|Method or attribute name: SIZE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DATE_ADDED
Deprecated version: 9|Method or attribute name: DATE_ADDED
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DATE_MODIFIED
Deprecated version: 9|Method or attribute name: DATE_MODIFIED
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DATE_TAKEN
Deprecated version: 9|Method or attribute name: DATE_TAKEN
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TITLE
Deprecated version: 9|Method or attribute name: TITLE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: ARTIST
Deprecated version: 9|Method or attribute name: ARTIST
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: AUDIOALBUM
Deprecated version: 9|Method or attribute name: AUDIOALBUM
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DURATION
Deprecated version: 9|Method or attribute name: DURATION
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: WIDTH
Deprecated version: 9|Method or attribute name: WIDTH
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: HEIGHT
Deprecated version: 9|Method or attribute name: HEIGHT
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: ORIENTATION
Deprecated version: 9|Method or attribute name: ORIENTATION
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: ALBUM_ID
Deprecated version: 9|Method or attribute name: ALBUM_ID
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: ALBUM_NAME
Deprecated version: 9|Method or attribute name: ALBUM_NAME
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: MediaFetchOptions
Deprecated version: 9|Class name: MediaFetchOptions
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: selections
Deprecated version: 9|Method or attribute name: selections
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: selectionArgs
Deprecated version: 9|Method or attribute name: selectionArgs
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: order
Deprecated version: 9|Method or attribute name: order
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: uri
Deprecated version: 9|Method or attribute name: uri
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: networkId
Deprecated version: 9|Method or attribute name: networkId
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: extendArgs
Deprecated version: 9|Method or attribute name: extendArgs
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: FetchFileResult
Deprecated version: 9|Class name: FetchFileResult
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getCount
Deprecated version: 9|Method or attribute name: getCount
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isAfterLast
Deprecated version: 9|Method or attribute name: isAfterLast
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: close
Deprecated version: 9|Method or attribute name: close
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFirstObject
Deprecated version: 9|Method or attribute name: getFirstObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFirstObject
Deprecated version: 9|Method or attribute name: getFirstObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getNextObject
Deprecated version: 9|Method or attribute name: getNextObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getNextObject
Deprecated version: 9|Method or attribute name: getNextObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getLastObject
Deprecated version: 9|Method or attribute name: getLastObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getLastObject
Deprecated version: 9|Method or attribute name: getLastObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getPositionObject
Deprecated version: 9|Method or attribute name: getPositionObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getPositionObject
Deprecated version: 9|Method or attribute name: getPositionObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAllObject
Deprecated version: 9|Method or attribute name: getAllObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAllObject
Deprecated version: 9|Method or attribute name: getAllObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: Album
Deprecated version: 9|Class name: Album
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumId
Deprecated version: 9|Method or attribute name: albumId
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumName
Deprecated version: 9|Method or attribute name: albumName
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumUri
Deprecated version: 9|Method or attribute name: albumUri
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: dateModified
Deprecated version: 9|Method or attribute name: dateModified
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: count
Deprecated version: 9|Method or attribute name: count
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: relativePath
Deprecated version: 9|Method or attribute name: relativePath
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: coverUri
Deprecated version: 9|Method or attribute name: coverUri
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: commitModify
Deprecated version: 9|Method or attribute name: commitModify
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: commitModify
Deprecated version: 9|Method or attribute name: commitModify
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFileAssets
Deprecated version: 9|Method or attribute name: getFileAssets
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFileAssets
Deprecated version: 9|Method or attribute name: getFileAssets
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFileAssets
Deprecated version: 9|Method or attribute name: getFileAssets
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: DirectoryType
Deprecated version: 9|Class name: DirectoryType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_CAMERA
Deprecated version: 9|Method or attribute name: DIR_CAMERA
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_VIDEO
Deprecated version: 9|Method or attribute name: DIR_VIDEO
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_IMAGE
Deprecated version: 9|Method or attribute name: DIR_IMAGE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_AUDIO
Deprecated version: 9|Method or attribute name: DIR_AUDIO
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_DOCUMENTS
Deprecated version: 9|Method or attribute name: DIR_DOCUMENTS
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_DOWNLOAD
Deprecated version: 9|Method or attribute name: DIR_DOWNLOAD
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: MediaLibrary
Deprecated version: 9|Class name: MediaLibrary
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getPublicDirectory
Deprecated version: 9|Method or attribute name: getPublicDirectory
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getPublicDirectory
Deprecated version: 9|Method or attribute name: getPublicDirectory
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFileAssets
Deprecated version: 9|Method or attribute name: getFileAssets
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFileAssets
Deprecated version: 9|Method or attribute name: getFileAssets
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_deviceChange
Deprecated version: 9|Method or attribute name: on_deviceChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_albumChange
Deprecated version: 9|Method or attribute name: on_albumChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_imageChange
Deprecated version: 9|Method or attribute name: on_imageChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_audioChange
Deprecated version: 9|Method or attribute name: on_audioChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_videoChange
Deprecated version: 9|Method or attribute name: on_videoChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_fileChange
Deprecated version: 9|Method or attribute name: on_fileChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_remoteFileChange
Deprecated version: 9|Method or attribute name: on_remoteFileChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_deviceChange
Deprecated version: 9|Method or attribute name: off_deviceChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_albumChange
Deprecated version: 9|Method or attribute name: off_albumChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_imageChange
Deprecated version: 9|Method or attribute name: off_imageChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_audioChange
Deprecated version: 9|Method or attribute name: off_audioChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_videoChange
Deprecated version: 9|Method or attribute name: off_videoChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_fileChange
Deprecated version: 9|Method or attribute name: off_fileChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_remoteFileChange
Deprecated version: 9|Method or attribute name: off_remoteFileChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: createAsset
Deprecated version: 9|Method or attribute name: createAsset
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: createAsset
Deprecated version: 9|Method or attribute name: createAsset
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: deleteAsset
Deprecated version: 9|Method or attribute name: deleteAsset
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: deleteAsset
Deprecated version: 9|Method or attribute name: deleteAsset
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAlbums
Deprecated version: 9|Method or attribute name: getAlbums
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAlbums
Deprecated version: 9|Method or attribute name: getAlbums
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getActivePeers
Deprecated version: 9|Method or attribute name: getActivePeers
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getActivePeers
Deprecated version: 9|Method or attribute name: getActivePeers
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAllPeers
Deprecated version: 9|Method or attribute name: getAllPeers
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAllPeers
Deprecated version: 9|Method or attribute name: getAllPeers
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: release
Deprecated version: 9|Method or attribute name: release
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: release
Deprecated version: 9|Method or attribute name: release
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: Size
Deprecated version: 9|Class name: Size
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: width
Deprecated version: 9|Method or attribute name: width
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: height
Deprecated version: 9|Method or attribute name: height
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: PeerInfo
Deprecated version: 9|Class name: PeerInfo
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: deviceName
Deprecated version: 9|Method or attribute name: deviceName
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: networkId
Deprecated version: 9|Method or attribute name: networkId
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: deviceType
Deprecated version: 9|Method or attribute name: deviceType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isOnline
Deprecated version: 9|Method or attribute name: isOnline
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: DeviceType
Deprecated version: 9|Class name: DeviceType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_UNKNOWN
Deprecated version: 9|Method or attribute name: TYPE_UNKNOWN
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_LAPTOP
Deprecated version: 9|Method or attribute name: TYPE_LAPTOP
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_PHONE
Deprecated version: 9|Method or attribute name: TYPE_PHONE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_TABLET
Deprecated version: 9|Method or attribute name: TYPE_TABLET
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_WATCH
Deprecated version: 9|Method or attribute name: TYPE_WATCH
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_CAR
Deprecated version: 9|Method or attribute name: TYPE_CAR
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_TV
Deprecated version: 9|Method or attribute name: TYPE_TV
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Error code added||Method or attribute name: on_deviceChange
Error code: 401,6800101|@ohos.multimedia.audio.d.ts| +|Error code added||Method or attribute name: off_deviceChange
Error code: 401,6800101|@ohos.multimedia.audio.d.ts| +|Error code added||Method or attribute name: on_audioRendererChange
Error code: 401,6800101|@ohos.multimedia.audio.d.ts| +|Error code added||Method or attribute name: on_audioCapturerChange
Error code: 401,6800101|@ohos.multimedia.audio.d.ts| +|Error code added||Method or attribute name: createVideoRecorder
Error code: 5400101|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: createVideoRecorder
Error code: 5400101|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: prepare
Error code: 201,401,5400102,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: prepare
Error code: 201,401,5400102,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: getInputSurface
Error code: 5400102,5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: getInputSurface
Error code: 5400102,5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: start
Error code: 5400102,5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: start
Error code: 5400102,5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: pause
Error code: 5400102,5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: pause
Error code: 5400102,5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: resume
Error code: 5400102,5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: resume
Error code: 5400102,5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: stop
Error code: 5400102,5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: stop
Error code: 5400102,5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: release
Error code: 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: release
Error code: 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: reset
Error code: 5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: reset
Error code: 5400103,5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: on_error
Error code: 5400103,5400105|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: createVideoRecorder
Access level: public API|Method or attribute name: createVideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: createVideoRecorder
Access level: public API|Method or attribute name: createVideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorder
Access level: public API|Class name: VideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: prepare
Access level: public API|Method or attribute name: prepare
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: prepare
Access level: public API|Method or attribute name: prepare
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: getInputSurface
Access level: public API|Method or attribute name: getInputSurface
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: getInputSurface
Access level: public API|Method or attribute name: getInputSurface
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: start
Access level: public API|Method or attribute name: start
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: start
Access level: public API|Method or attribute name: start
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: pause
Access level: public API|Method or attribute name: pause
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: pause
Access level: public API|Method or attribute name: pause
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: resume
Access level: public API|Method or attribute name: resume
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: resume
Access level: public API|Method or attribute name: resume
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: stop
Access level: public API|Method or attribute name: stop
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: stop
Access level: public API|Method or attribute name: stop
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: release
Access level: public API|Method or attribute name: release
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: release
Access level: public API|Method or attribute name: release
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: reset
Access level: public API|Method or attribute name: reset
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: reset
Access level: public API|Method or attribute name: reset
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: on_error
Access level: public API|Method or attribute name: on_error
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: state
Access level: public API|Method or attribute name: state
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorderProfile
Access level: public API|Class name: VideoRecorderProfile
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioBitrate
Access level: public API|Method or attribute name: audioBitrate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioChannels
Access level: public API|Method or attribute name: audioChannels
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioCodec
Access level: public API|Method or attribute name: audioCodec
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioSampleRate
Access level: public API|Method or attribute name: audioSampleRate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: fileFormat
Access level: public API|Method or attribute name: fileFormat
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoBitrate
Access level: public API|Method or attribute name: videoBitrate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoCodec
Access level: public API|Method or attribute name: videoCodec
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameWidth
Access level: public API|Method or attribute name: videoFrameWidth
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameHeight
Access level: public API|Method or attribute name: videoFrameHeight
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameRate
Access level: public API|Method or attribute name: videoFrameRate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: AudioSourceType
Access level: public API|Class name: AudioSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT
Access level: public API|Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: AUDIO_SOURCE_TYPE_MIC
Access level: public API|Method or attribute name: AUDIO_SOURCE_TYPE_MIC
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoSourceType
Access level: public API|Class name: VideoSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV
Access level: public API|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES
Access level: public API|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorderConfig
Access level: public API|Class name: VideoRecorderConfig
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoSourceType
Access level: public API|Method or attribute name: videoSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: profile
Access level: public API|Method or attribute name: profile
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: url
Access level: public API|Method or attribute name: url
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: rotation
Access level: public API|Method or attribute name: rotation
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: location
Access level: public API|Method or attribute name: location
Access level: system API|@ohos.multimedia.media.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-notification.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-notification.md new file mode 100644 index 0000000000000000000000000000000000000000..83afc38813db78fd6f72ee565df4fc9a3cc16505 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-notification.md @@ -0,0 +1,555 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: publish|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: publish|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: publishAsUser|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: publishAsUser|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: createSubscriber|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: createSubscriber|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: subscribe|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: unsubscribe|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BOOT_COMPLETED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_LOCKED_BOOT_COMPLETED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SHUTDOWN|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BATTERY_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BATTERY_LOW|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BATTERY_OKAY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_POWER_CONNECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_POWER_DISCONNECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SCREEN_OFF|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SCREEN_ON|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_THERMAL_LEVEL_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_PRESENT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_TIME_TICK|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_TIME_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_TIMEZONE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_CLOSE_SYSTEM_DIALOGS|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_ADDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_REPLACED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_MY_PACKAGE_REPLACED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BUNDLE_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_FULLY_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_RESTARTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_DATA_CLEARED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_CACHE_CLEARED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGES_SUSPENDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGES_UNSUSPENDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_MY_PACKAGE_SUSPENDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_MY_PACKAGE_UNSUSPENDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_UID_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_FIRST_LAUNCH|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_VERIFIED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_CONFIGURATION_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_LOCALE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_MANAGE_PACKAGE_STORAGE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DRIVE_MODE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_HOME_MODE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_OFFICE_MODE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_STARTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_BACKGROUND|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_FOREGROUND|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_SWITCHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_STARTING|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_UNLOCKED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_STOPPING|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_STOPPED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_POWER_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_SCAN_FINISHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_RSSI_VALUE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_CONN_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_HOTSPOT_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_AP_STA_JOIN|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_AP_STA_LEAVE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_CONN_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISCHARGING|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_CHARGING|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_POWER_SAVE_MODE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_ADDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_ABILITY_ADDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_ABILITY_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_ABILITY_UPDATED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_LOCATION_MODE_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_SLEEP|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_PAUSE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_STANDBY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_LASTMODE_SAVE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_VOLTAGE_ABNORMAL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_HIGH_TEMPERATURE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_EXTREME_TEMPERATURE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_VOLTAGE_RECOVERY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_TEMPERATURE_RECOVERY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_ACTIVE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_PORT_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_DEVICE_ATTACHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_DEVICE_DETACHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_ACCESSORY_ATTACHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_ACCESSORY_DETACHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_UNMOUNTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_MOUNTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_BAD_REMOVAL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_UNMOUNTABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_EJECT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VOLUME_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VOLUME_UNMOUNTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VOLUME_MOUNTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VOLUME_BAD_REMOVAL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VOLUME_EJECT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_ACCOUNT_DELETED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_FOUNDATION_READY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_AIRPLANE_MODE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SPLIT_SCREEN|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SLOT_CHANGE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SPN_INFO_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_QUICK_FIX_APPLY_RESULT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publish|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publish|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publish|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publish|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publishAsBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publishAsBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancel|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancel|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancel|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelAsBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelAsBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelAll|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelAll|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeAllSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeAllSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setNotificationEnable|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setNotificationEnable|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: displayBadge|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: displayBadge|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isBadgeDisplayed|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isBadgeDisplayed|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setSlotByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setSlotByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlotsByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlotsByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlotNumByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlotNumByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getAllActiveNotifications|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getAllActiveNotifications|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getActiveNotificationCount|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getActiveNotificationCount|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getActiveNotifications|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getActiveNotifications|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelGroup|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelGroup|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeGroupByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeGroupByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: supportDoNotDisturbMode|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: supportDoNotDisturbMode|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isSupportTemplate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isSupportTemplate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: requestEnableNotification|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: requestEnableNotification|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDistributedEnable|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDistributedEnable|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isDistributedEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isDistributedEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDistributedEnableByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDistributedEnableByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isDistributedEnabledByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isDistributedEnabledByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDeviceRemindType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDeviceRemindType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setNotificationEnableSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setNotificationEnableSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationSlotEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationSlotEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setSyncNotificationEnabledWithoutApp|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setSyncNotificationEnabledWithoutApp|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSyncNotificationEnabledWithoutApp|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSyncNotificationEnabledWithoutApp|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType
Method or attribute name: UNKNOWN_TYPE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType
Method or attribute name: SOCIAL_COMMUNICATION|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType
Method or attribute name: SERVICE_INFORMATION|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType
Method or attribute name: CONTENT_INFORMATION|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType
Method or attribute name: OTHER_TYPES|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType
Method or attribute name: NOTIFICATION_CONTENT_BASIC_TEXT|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType
Method or attribute name: NOTIFICATION_CONTENT_LONG_TEXT|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType
Method or attribute name: NOTIFICATION_CONTENT_PICTURE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType
Method or attribute name: NOTIFICATION_CONTENT_CONVERSATION|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType
Method or attribute name: NOTIFICATION_CONTENT_MULTILINE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel
Method or attribute name: LEVEL_NONE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel
Method or attribute name: LEVEL_MIN|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel
Method or attribute name: LEVEL_LOW|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel
Method or attribute name: LEVEL_DEFAULT|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel
Method or attribute name: LEVEL_HIGH|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: BundleOption|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: BundleOption
Method or attribute name: bundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: BundleOption
Method or attribute name: uid|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: NotificationKey|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: NotificationKey
Method or attribute name: id|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: NotificationKey
Method or attribute name: label|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbType
Method or attribute name: TYPE_NONE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbType
Method or attribute name: TYPE_ONCE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbType
Method or attribute name: TYPE_DAILY|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbType
Method or attribute name: TYPE_CLEARLY|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbDate
Method or attribute name: type|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbDate
Method or attribute name: begin|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbDate
Method or attribute name: end|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DeviceRemindType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DeviceRemindType
Method or attribute name: IDLE_DONOT_REMIND|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DeviceRemindType
Method or attribute name: IDLE_REMIND|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DeviceRemindType
Method or attribute name: ACTIVE_DONOT_REMIND|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DeviceRemindType
Method or attribute name: ACTIVE_REMIND|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SourceType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SourceType
Method or attribute name: TYPE_NORMAL|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SourceType
Method or attribute name: TYPE_CONTINUOUS|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SourceType
Method or attribute name: TYPE_TIMER|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: RemoveReason|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: RemoveReason
Method or attribute name: CLICK_REASON_REMOVE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: RemoveReason
Method or attribute name: CANCEL_REASON_REMOVE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: subscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: subscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: subscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: unsubscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: unsubscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: remove|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: remove|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: remove|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: remove|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: removeAll|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: removeAll|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: removeAll|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: removeAll|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: removeAll|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: publishReminder|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: publishReminder|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: cancelReminder|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: cancelReminder|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: getValidReminders|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: getValidReminders|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: cancelAllReminders|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: cancelAllReminders|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: addNotificationSlot|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: addNotificationSlot|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: removeNotificationSlot|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: removeNotificationSlot|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButtonType|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButtonType
Method or attribute name: ACTION_BUTTON_TYPE_CLOSE|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButtonType
Method or attribute name: ACTION_BUTTON_TYPE_SNOOZE|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderType|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderType
Method or attribute name: REMINDER_TYPE_TIMER|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderType
Method or attribute name: REMINDER_TYPE_CALENDAR|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderType
Method or attribute name: REMINDER_TYPE_ALARM|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButton|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButton
Method or attribute name: title|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButton
Method or attribute name: type|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: WantAgent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: WantAgent
Method or attribute name: pkgName|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: WantAgent
Method or attribute name: abilityName|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: MaxScreenWantAgent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: MaxScreenWantAgent
Method or attribute name: pkgName|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: MaxScreenWantAgent
Method or attribute name: abilityName|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: reminderType|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: actionButton|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: wantAgent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: maxScreenWantAgent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: ringDuration|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: snoozeTimes|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: timeInterval|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: title|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: content|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: expiredContent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: snoozeContent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: notificationId|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: slotType|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestCalendar|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestCalendar
Method or attribute name: dateTime|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestCalendar
Method or attribute name: repeatMonths|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestCalendar
Method or attribute name: repeatDays|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestAlarm|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestAlarm
Method or attribute name: hour|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestAlarm
Method or attribute name: minute|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestAlarm
Method or attribute name: daysOfWeek|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestTimer|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestTimer
Method or attribute name: triggerTimeInSeconds|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: year|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: month|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: day|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: hour|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: minute|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: second|@ohos.reminderAgentManager.d.ts| +|Deprecated version changed|Class name: commonEvent
Deprecated version: N/A|Class name: commonEvent
Deprecated version: 9
New API: ohos.commonEventManager |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9
New API: ohos.commonEventManager.publish |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9
New API: ohos.commonEventManager.publish |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: publishAsUser
Deprecated version: N/A|Method or attribute name: publishAsUser
Deprecated version: 9
New API: ohos.commonEventManager.publishAsUser |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: publishAsUser
Deprecated version: N/A|Method or attribute name: publishAsUser
Deprecated version: 9
New API: ohos.commonEventManager.publishAsUser |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: createSubscriber
Deprecated version: N/A|Method or attribute name: createSubscriber
Deprecated version: 9
New API: ohos.commonEventManager.createSubscriber |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: createSubscriber
Deprecated version: N/A|Method or attribute name: createSubscriber
Deprecated version: 9
New API: ohos.commonEventManager.createSubscriber |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: subscribe
Deprecated version: N/A|Method or attribute name: subscribe
Deprecated version: 9
New API: ohos.commonEventManager.subscribe |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: unsubscribe
Deprecated version: N/A|Method or attribute name: unsubscribe
Deprecated version: 9
New API: ohos.commonEventManager.unsubscribe |@ohos.commonEvent.d.ts| +|Deprecated version changed|Class name: Support
Deprecated version: N/A|Class name: Support
Deprecated version: 9
New API: ohos.commonEventManager.Support |@ohos.commonEvent.d.ts| +|Deprecated version changed|Class name: notification
Deprecated version: N/A|Class name: notification
Deprecated version: 9
New API: ohos.notificationManager and ohos.notificationSubscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9
New API: ohos.notificationManager.publish |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9
New API: ohos.notificationManager.publish |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publishAsBundle
Deprecated version: N/A|Method or attribute name: publishAsBundle
Deprecated version: 9
New API: ohos.notificationManager.publishAsBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publishAsBundle
Deprecated version: N/A|Method or attribute name: publishAsBundle
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancel
Deprecated version: N/A|Method or attribute name: cancel
Deprecated version: 9
New API: ohos.notificationManager.cancel |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancel
Deprecated version: N/A|Method or attribute name: cancel
Deprecated version: 9
New API: ohos.notificationManager.cancel |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancel
Deprecated version: N/A|Method or attribute name: cancel
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelAsBundle
Deprecated version: N/A|Method or attribute name: cancelAsBundle
Deprecated version: 9
New API: ohos.notificationManager.cancelAsBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelAsBundle
Deprecated version: N/A|Method or attribute name: cancelAsBundle
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelAll
Deprecated version: N/A|Method or attribute name: cancelAll
Deprecated version: 9
New API: ohos.notificationManager.cancelAll |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelAll
Deprecated version: N/A|Method or attribute name: cancelAll
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlot
Deprecated version: N/A|Method or attribute name: addSlot
Deprecated version: 9
New API: ohos.notificationManager.addSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlot
Deprecated version: N/A|Method or attribute name: addSlot
Deprecated version: 9
New API: ohos.notificationManager.addSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlot
Deprecated version: N/A|Method or attribute name: addSlot
Deprecated version: 9
New API: ohos.notificationManager.addSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlot
Deprecated version: N/A|Method or attribute name: addSlot
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlots
Deprecated version: N/A|Method or attribute name: addSlots
Deprecated version: 9
New API: ohos.notificationManager.addSlots |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlots
Deprecated version: N/A|Method or attribute name: addSlots
Deprecated version: 9
New API: ohos.notificationManager.addSlots |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlot
Deprecated version: N/A|Method or attribute name: getSlot
Deprecated version: 9
New API: ohos.notificationManager.getSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlot
Deprecated version: N/A|Method or attribute name: getSlot
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlots
Deprecated version: N/A|Method or attribute name: getSlots
Deprecated version: 9
New API: ohos.notificationManager.getSlots |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlots
Deprecated version: N/A|Method or attribute name: getSlots
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeSlot
Deprecated version: N/A|Method or attribute name: removeSlot
Deprecated version: 9
New API: ohos.notificationManager.removeSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeSlot
Deprecated version: N/A|Method or attribute name: removeSlot
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAllSlots
Deprecated version: N/A|Method or attribute name: removeAllSlots
Deprecated version: 9
New API: ohos.notificationManager.removeAllSlots |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAllSlots
Deprecated version: N/A|Method or attribute name: removeAllSlots
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Class name: SlotType
Deprecated version: N/A|Class name: SlotType
Deprecated version: 9
New API: ohos.notificationManager.SlotType |@ohos.notification.d.ts| +|Deprecated version changed|Class name: ContentType
Deprecated version: N/A|Class name: ContentType
Deprecated version: 9
New API: ohos.notificationManager.ContentType |@ohos.notification.d.ts| +|Deprecated version changed|Class name: SlotLevel
Deprecated version: N/A|Class name: SlotLevel
Deprecated version: 9
New API: ohos.notificationManager.SlotLevel |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: subscribe
Deprecated version: N/A|Method or attribute name: subscribe
Deprecated version: 9
New API: ohos.notificationSubscribe.subscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: subscribe
Deprecated version: N/A|Method or attribute name: subscribe
Deprecated version: 9
New API: ohos.notificationSubscribe.subscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: subscribe
Deprecated version: N/A|Method or attribute name: subscribe
Deprecated version: 9
New API: ohos.notificationSubscribe.subscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: unsubscribe
Deprecated version: N/A|Method or attribute name: unsubscribe
Deprecated version: 9
New API: ohos.notificationSubscribe.unsubscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: unsubscribe
Deprecated version: N/A|Method or attribute name: unsubscribe
Deprecated version: 9
New API: ohos.notificationSubscribe.unsubscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableNotification
Deprecated version: N/A|Method or attribute name: enableNotification
Deprecated version: 9
New API: ohos.notificationManager.setNotificationEnable |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableNotification
Deprecated version: N/A|Method or attribute name: enableNotification
Deprecated version: 9
New API: ohos.notificationManager.setNotificationEnable |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: displayBadge
Deprecated version: N/A|Method or attribute name: displayBadge
Deprecated version: 9
New API: ohos.notificationManager.displayBadge |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: displayBadge
Deprecated version: N/A|Method or attribute name: displayBadge
Deprecated version: 9
New API: ohos.notificationManager.displayBadge |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isBadgeDisplayed
Deprecated version: N/A|Method or attribute name: isBadgeDisplayed
Deprecated version: 9
New API: ohos.notificationManager.isBadgeDisplayed |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isBadgeDisplayed
Deprecated version: N/A|Method or attribute name: isBadgeDisplayed
Deprecated version: 9
New API: ohos.notificationManager.isBadgeDisplayed |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setSlotByBundle
Deprecated version: N/A|Method or attribute name: setSlotByBundle
Deprecated version: 9
New API: ohos.notificationManager.setSlotByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setSlotByBundle
Deprecated version: N/A|Method or attribute name: setSlotByBundle
Deprecated version: 9
New API: ohos.notificationManager.setSlotByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlotsByBundle
Deprecated version: N/A|Method or attribute name: getSlotsByBundle
Deprecated version: 9
New API: ohos.notificationManager.getSlotsByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlotsByBundle
Deprecated version: N/A|Method or attribute name: getSlotsByBundle
Deprecated version: 9
New API: ohos.notificationManager.getSlotsByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlotNumByBundle
Deprecated version: N/A|Method or attribute name: getSlotNumByBundle
Deprecated version: 9
New API: ohos.notificationManager.getSlotNumByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlotNumByBundle
Deprecated version: N/A|Method or attribute name: getSlotNumByBundle
Deprecated version: 9
New API: ohos.notificationManager.getSlotNumByBundle |@ohos.notification.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.notificationSubscribe.remove |@ohos.notification.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.notificationSubscribe.remove |@ohos.notification.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.notificationSubscribe.remove |@ohos.notification.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.notificationSubscribe.remove |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAll
Deprecated version: N/A|Method or attribute name: removeAll
Deprecated version: 9
New API: ohos.notificationSubscribe.removeAll |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAll
Deprecated version: N/A|Method or attribute name: removeAll
Deprecated version: 9
New API: ohos.notificationSubscribe.removeAll |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAll
Deprecated version: N/A|Method or attribute name: removeAll
Deprecated version: 9
New API: ohos.notificationSubscribe.removeAll |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAll
Deprecated version: N/A|Method or attribute name: removeAll
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAll
Deprecated version: N/A|Method or attribute name: removeAll
Deprecated version: 9
New API: notificationSubscribe.removeAll |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getAllActiveNotifications
Deprecated version: N/A|Method or attribute name: getAllActiveNotifications
Deprecated version: 9
New API: ohos.notificationManager.getAllActiveNotifications |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getAllActiveNotifications
Deprecated version: N/A|Method or attribute name: getAllActiveNotifications
Deprecated version: 9
New API: ohos.notificationManager.getAllActiveNotifications |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getActiveNotificationCount
Deprecated version: N/A|Method or attribute name: getActiveNotificationCount
Deprecated version: 9
New API: ohos.notificationManager.getActiveNotificationCount |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getActiveNotificationCount
Deprecated version: N/A|Method or attribute name: getActiveNotificationCount
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getActiveNotifications
Deprecated version: N/A|Method or attribute name: getActiveNotifications
Deprecated version: 9
New API: ohos.notificationManager.cancelGroup |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getActiveNotifications
Deprecated version: N/A|Method or attribute name: getActiveNotifications
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelGroup
Deprecated version: N/A|Method or attribute name: cancelGroup
Deprecated version: 9
New API: ohos.notificationManager.cancelGroup |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelGroup
Deprecated version: N/A|Method or attribute name: cancelGroup
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeGroupByBundle
Deprecated version: N/A|Method or attribute name: removeGroupByBundle
Deprecated version: 9
New API: ohos.notificationManager.removeGroupByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeGroupByBundle
Deprecated version: N/A|Method or attribute name: removeGroupByBundle
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: setDoNotDisturbDate
Deprecated version: 9
New API: ohos.notificationManager.setDoNotDisturbDate |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: setDoNotDisturbDate
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: setDoNotDisturbDate
Deprecated version: 9
New API: ohos.notificationManager.setDoNotDisturbDate |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: setDoNotDisturbDate
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: getDoNotDisturbDate
Deprecated version: 9
New API: ohos.notificationManager.getDoNotDisturbDate |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: getDoNotDisturbDate
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: getDoNotDisturbDate
Deprecated version: 9
New API: ohos.notificationManager.getDoNotDisturbDate |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: getDoNotDisturbDate
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: supportDoNotDisturbMode
Deprecated version: N/A|Method or attribute name: supportDoNotDisturbMode
Deprecated version: 9
New API: ohos.notificationManager.supportDoNotDisturbMode |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: supportDoNotDisturbMode
Deprecated version: N/A|Method or attribute name: supportDoNotDisturbMode
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isSupportTemplate
Deprecated version: N/A|Method or attribute name: isSupportTemplate
Deprecated version: 9
New API: ohos.notificationManager.isSupportTemplate |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isSupportTemplate
Deprecated version: N/A|Method or attribute name: isSupportTemplate
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: requestEnableNotification
Deprecated version: N/A|Method or attribute name: requestEnableNotification
Deprecated version: 9
New API: ohos.notificationManager.requestEnableNotification |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: requestEnableNotification
Deprecated version: N/A|Method or attribute name: requestEnableNotification
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableDistributed
Deprecated version: N/A|Method or attribute name: enableDistributed
Deprecated version: 9
New API: ohos.notificationManager.setDistributedEnable |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableDistributed
Deprecated version: N/A|Method or attribute name: enableDistributed
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isDistributedEnabled
Deprecated version: N/A|Method or attribute name: isDistributedEnabled
Deprecated version: 9
New API: ohos.notificationManager.isDistributedEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isDistributedEnabled
Deprecated version: N/A|Method or attribute name: isDistributedEnabled
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableDistributedByBundle
Deprecated version: N/A|Method or attribute name: enableDistributedByBundle
Deprecated version: 9
New API: ohos.notificationManager.setDistributedEnableByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableDistributedByBundle
Deprecated version: N/A|Method or attribute name: enableDistributedByBundle
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isDistributedEnabledByBundle
Deprecated version: N/A|Method or attribute name: isDistributedEnabledByBundle
Deprecated version: 9
New API: ohos.notificationManager.isDistributedEnabledByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isDistributedEnabledByBundle
Deprecated version: N/A|Method or attribute name: isDistributedEnabledByBundle
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDeviceRemindType
Deprecated version: N/A|Method or attribute name: getDeviceRemindType
Deprecated version: 9
New API: ohos.notificationManager.getDeviceRemindType |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDeviceRemindType
Deprecated version: N/A|Method or attribute name: getDeviceRemindType
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableNotificationSlot
Deprecated version: N/A|Method or attribute name: enableNotificationSlot
Deprecated version: 9
New API: ohos.notificationManager.setNotificationEnableSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableNotificationSlot
Deprecated version: N/A|Method or attribute name: enableNotificationSlot
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationSlotEnabled
Deprecated version: N/A|Method or attribute name: isNotificationSlotEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationSlotEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationSlotEnabled
Deprecated version: N/A|Method or attribute name: isNotificationSlotEnabled
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setSyncNotificationEnabledWithoutApp
Deprecated version: N/A|Method or attribute name: setSyncNotificationEnabledWithoutApp
Deprecated version: 9
New API: ohos.notificationManager.setSyncNotificationEnabledWithoutApp |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setSyncNotificationEnabledWithoutApp
Deprecated version: N/A|Method or attribute name: setSyncNotificationEnabledWithoutApp
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSyncNotificationEnabledWithoutApp
Deprecated version: N/A|Method or attribute name: getSyncNotificationEnabledWithoutApp
Deprecated version: 9
New API: ohos.notificationManager.getSyncNotificationEnabledWithoutApp |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSyncNotificationEnabledWithoutApp
Deprecated version: N/A|Method or attribute name: getSyncNotificationEnabledWithoutApp
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Class name: BundleOption
Deprecated version: N/A|Class name: BundleOption
Deprecated version: 9
New API: ohos.notificationManager.BundleOption |@ohos.notification.d.ts| +|Deprecated version changed|Class name: NotificationKey
Deprecated version: N/A|Class name: NotificationKey
Deprecated version: 9
New API: ohos.notificationManager.NotificationKey |@ohos.notification.d.ts| +|Deprecated version changed|Class name: DoNotDisturbType
Deprecated version: N/A|Class name: DoNotDisturbType
Deprecated version: 9
New API: ohos.notificationManager.DoNotDisturbType |@ohos.notification.d.ts| +|Deprecated version changed|Class name: DoNotDisturbDate
Deprecated version: N/A|Class name: DoNotDisturbDate
Deprecated version: 9
New API: ohos.notificationManager.DoNotDisturbDate |@ohos.notification.d.ts| +|Deprecated version changed|Class name: DeviceRemindType
Deprecated version: N/A|Class name: DeviceRemindType
Deprecated version: 9
New API: ohos.notificationManager.DeviceRemindType |@ohos.notification.d.ts| +|Deprecated version changed|Class name: SourceType
Deprecated version: N/A|Class name: SourceType
Deprecated version: 9
New API: ohos.notificationManager.SourceType |@ohos.notification.d.ts| +|Deprecated version changed|Class name: RemoveReason
Deprecated version: N/A|Class name: RemoveReason
Deprecated version: 9
New API: ohos.notificationManager.RemoveReason |@ohos.notification.d.ts| +|Deprecated version changed|Class name: reminderAgent
Deprecated version: N/A|Class name: reminderAgent
Deprecated version: 9
New API: reminderAgentManager |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: publishReminder
Deprecated version: N/A|Method or attribute name: publishReminder
Deprecated version: 9
New API: reminderAgentManager.publishReminder |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: publishReminder
Deprecated version: N/A|Method or attribute name: publishReminder
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: cancelReminder
Deprecated version: N/A|Method or attribute name: cancelReminder
Deprecated version: 9
New API: reminderAgentManager.cancelReminder |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: cancelReminder
Deprecated version: N/A|Method or attribute name: cancelReminder
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: getValidReminders
Deprecated version: N/A|Method or attribute name: getValidReminders
Deprecated version: 9
New API: reminderAgentManager.getValidReminders |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: getValidReminders
Deprecated version: N/A|Method or attribute name: getValidReminders
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: cancelAllReminders
Deprecated version: N/A|Method or attribute name: cancelAllReminders
Deprecated version: 9
New API: reminderAgentManager.cancelAllReminders |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: cancelAllReminders
Deprecated version: N/A|Method or attribute name: cancelAllReminders
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: addNotificationSlot
Deprecated version: N/A|Method or attribute name: addNotificationSlot
Deprecated version: 9
New API: reminderAgentManager.addNotificationSlot |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: addNotificationSlot
Deprecated version: N/A|Method or attribute name: addNotificationSlot
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: removeNotificationSlot
Deprecated version: N/A|Method or attribute name: removeNotificationSlot
Deprecated version: 9
New API: reminderAgentManager.removeNotificationSlot |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: removeNotificationSlot
Deprecated version: N/A|Method or attribute name: removeNotificationSlot
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ActionButtonType
Deprecated version: N/A|Class name: ActionButtonType
Deprecated version: 9
New API: reminderAgentManager.ActionButtonType |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: ACTION_BUTTON_TYPE_CLOSE
Deprecated version: N/A|Method or attribute name: ACTION_BUTTON_TYPE_CLOSE
Deprecated version: 9
New API: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_CLOSE |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: ACTION_BUTTON_TYPE_SNOOZE
Deprecated version: N/A|Method or attribute name: ACTION_BUTTON_TYPE_SNOOZE
Deprecated version: 9
New API: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_SNOOZE |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ReminderType
Deprecated version: N/A|Class name: ReminderType
Deprecated version: 9
New API: reminderAgentManager.ReminderType |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: REMINDER_TYPE_TIMER
Deprecated version: N/A|Method or attribute name: REMINDER_TYPE_TIMER
Deprecated version: 9
New API: reminderAgentManager.ReminderType.REMINDER_TYPE_TIMER |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: REMINDER_TYPE_CALENDAR
Deprecated version: N/A|Method or attribute name: REMINDER_TYPE_CALENDAR
Deprecated version: 9
New API: reminderAgentManager.ReminderType.REMINDER_TYPE_CALENDAR |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: REMINDER_TYPE_ALARM
Deprecated version: N/A|Method or attribute name: REMINDER_TYPE_ALARM
Deprecated version: 9
New API: reminderAgentManager.ReminderType.REMINDER_TYPE_ALARM |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ActionButton
Deprecated version: N/A|Class name: ActionButton
Deprecated version: 9
New API: reminderAgentManager.ActionButton |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: title
Deprecated version: N/A|Method or attribute name: title
Deprecated version: 9
New API: reminderAgentManager.ActionButton.title |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: type
Deprecated version: N/A|Method or attribute name: type
Deprecated version: 9
New API: reminderAgentManager.ActionButton.type |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: WantAgent
Deprecated version: N/A|Class name: WantAgent
Deprecated version: 9
New API: reminderAgentManager.WantAgent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: pkgName
Deprecated version: N/A|Method or attribute name: pkgName
Deprecated version: 9
New API: reminderAgentManager.WantAgent.pkgName |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: abilityName
Deprecated version: N/A|Method or attribute name: abilityName
Deprecated version: 9
New API: reminderAgentManager.WantAgent.abilityName |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: MaxScreenWantAgent
Deprecated version: N/A|Class name: MaxScreenWantAgent
Deprecated version: 9
New API: reminderAgentManager.MaxScreenWantAgent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: pkgName
Deprecated version: N/A|Method or attribute name: pkgName
Deprecated version: 9
New API: reminderAgentManager.MaxScreenWantAgent.pkgName |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: abilityName
Deprecated version: N/A|Method or attribute name: abilityName
Deprecated version: 9
New API: reminderAgentManager.MaxScreenWantAgent.abilityName |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ReminderRequest
Deprecated version: N/A|Class name: ReminderRequest
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: reminderType
Deprecated version: N/A|Method or attribute name: reminderType
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.reminderType |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: actionButton
Deprecated version: N/A|Method or attribute name: actionButton
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.actionButton |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: wantAgent
Deprecated version: N/A|Method or attribute name: wantAgent
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.wantAgent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: maxScreenWantAgent
Deprecated version: N/A|Method or attribute name: maxScreenWantAgent
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.maxScreenWantAgent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: ringDuration
Deprecated version: N/A|Method or attribute name: ringDuration
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.ringDuration |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: snoozeTimes
Deprecated version: N/A|Method or attribute name: snoozeTimes
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.snoozeTimes |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: timeInterval
Deprecated version: N/A|Method or attribute name: timeInterval
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.timeInterval |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: title
Deprecated version: N/A|Method or attribute name: title
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.title |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: content
Deprecated version: N/A|Method or attribute name: content
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.content |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: expiredContent
Deprecated version: N/A|Method or attribute name: expiredContent
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.expiredContent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: snoozeContent
Deprecated version: N/A|Method or attribute name: snoozeContent
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.snoozeContent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: notificationId
Deprecated version: N/A|Method or attribute name: notificationId
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.notificationId |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: slotType
Deprecated version: N/A|Method or attribute name: slotType
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.slotType |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ReminderRequestCalendar
Deprecated version: N/A|Class name: ReminderRequestCalendar
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestCalendar |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: dateTime
Deprecated version: N/A|Method or attribute name: dateTime
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestCalendar.dateTime |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: repeatMonths
Deprecated version: N/A|Method or attribute name: repeatMonths
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestCalendar.repeatMonths |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: repeatDays
Deprecated version: N/A|Method or attribute name: repeatDays
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestCalendar.repeatDays |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ReminderRequestAlarm
Deprecated version: N/A|Class name: ReminderRequestAlarm
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestAlarm |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: hour
Deprecated version: N/A|Method or attribute name: hour
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestAlarm.hour |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: minute
Deprecated version: N/A|Method or attribute name: minute
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestAlarm.minute |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: daysOfWeek
Deprecated version: N/A|Method or attribute name: daysOfWeek
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestAlarm.daysOfWeek |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ReminderRequestTimer
Deprecated version: N/A|Class name: ReminderRequestTimer
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: year
Deprecated version: N/A|Method or attribute name: year
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.year |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: month
Deprecated version: N/A|Method or attribute name: month
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.month |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: day
Deprecated version: N/A|Method or attribute name: day
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.day |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: hour
Deprecated version: N/A|Method or attribute name: hour
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.hour |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: minute
Deprecated version: N/A|Method or attribute name: minute
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.minute |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: second
Deprecated version: N/A|Method or attribute name: second
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.second |@ohos.reminderAgent.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-resource-scheduler.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-resource-scheduler.md new file mode 100644 index 0000000000000000000000000000000000000000..23da516361bf8067ac2a893688e3b45187f8f9e4 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-resource-scheduler.md @@ -0,0 +1,277 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: DelaySuspendInfo|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: DelaySuspendInfo
Method or attribute name: requestId|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: DelaySuspendInfo
Method or attribute name: actualDelayTime|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: cancelSuspendDelay|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: getRemainingDelayTime|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: getRemainingDelayTime|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: requestSuspendDelay|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: startBackgroundRunning|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: startBackgroundRunning|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: stopBackgroundRunning|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: stopBackgroundRunning|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: applyEfficiencyResources|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: resetAllEfficiencyResources|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: DATA_TRANSFER|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: AUDIO_PLAYBACK|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: AUDIO_RECORDING|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: LOCATION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: BLUETOOTH_INTERACTION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: MULTI_DEVICE_CONNECTION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: WIFI_INTERACTION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: VOIP|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: TASK_KEEPING|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: CPU|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: COMMON_EVENT|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: TIMER|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: WORK_SCHEDULER|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: BLUETOOTH|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: GPS|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: AUDIO|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: resourceTypes|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isApply|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: timeOut|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isPersist|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isProcess|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: reason|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: id|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: abilityInFgTotalTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: abilityPrevAccessTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: abilityPrevSeenTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: abilitySeenTotalTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: bundleName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: fgAbilityAccessTotalTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: fgAbilityPrevAccessTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: infosBeginTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: infosEndTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo
Method or attribute name: formName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo
Method or attribute name: formDimension|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo
Method or attribute name: formId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo
Method or attribute name: formLastUsedTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo
Method or attribute name: count|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: deviceId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: bundleName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: moduleName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: abilityName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: appLabelId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: labelId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: descriptionId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: abilityLableId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: abilityDescriptionId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: abilityIconId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: launchedCount|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: lastModuleUsedTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: formRecords|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: DeviceEventStats|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: DeviceEventStats
Method or attribute name: name|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: DeviceEventStats
Method or attribute name: eventId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: DeviceEventStats
Method or attribute name: count|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: appGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: bundleName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: indexOfLink|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: nameOfClass|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: eventOccurredTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: eventId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo
Method or attribute name: appOldGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo
Method or attribute name: appNewGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo
Method or attribute name: userId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo
Method or attribute name: changeReason|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo
Method or attribute name: bundleName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: isIdleState|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: isIdleState|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsMap|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsMap
Method or attribute name: BundleStatsMap|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleStatsInfos|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleStatsInfos|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType
Method or attribute name: BY_OPTIMIZED|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType
Method or attribute name: BY_DAILY|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType
Method or attribute name: BY_WEEKLY|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType
Method or attribute name: BY_MONTHLY|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType
Method or attribute name: BY_ANNUALLY|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleStatsInfoByInterval|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleStatsInfoByInterval|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleEvents|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleEvents|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryCurrentBundleEvents|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryCurrentBundleEvents|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryModuleUsageRecords|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryModuleUsageRecords|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryModuleUsageRecords|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryModuleUsageRecords|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: ALIVE_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: DAILY_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: FIXED_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: RARE_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: LIMITED_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: NEVER_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: setAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: setAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: registerAppGroupCallBack|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: registerAppGroupCallBack|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: unregisterAppGroupCallBack|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: unregisterAppGroupCallBack|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryDeviceEventStats|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryDeviceEventStats|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryNotificationEventStats|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryNotificationEventStats|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: workId|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: bundleName|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: abilityName|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: isPersisted|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: networkType|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: isCharging|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: chargerType|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: batteryLevel|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: batteryStatus|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: storageRequest|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: repeatCycleTime|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: isRepeat|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: repeatCount|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: isDeepIdle|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: idleWaitTime|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: parameters|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: startWork|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: stopWork|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: getWorkStatus|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: getWorkStatus|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: obtainAllWorks|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: obtainAllWorks|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: stopAndClearWorks|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: isLastWorkTimeOut|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: isLastWorkTimeOut|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_ANY|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_MOBILE|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_WIFI|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_BLUETOOTH|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_WIFI_P2P|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_ETHERNET|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: ChargingType|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_ANY|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_AC|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_USB|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_WIRELESS|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: BatteryStatus|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: BatteryStatus
Method or attribute name: BATTERY_STATUS_LOW|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: BatteryStatus
Method or attribute name: BATTERY_STATUS_OKAY|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: BatteryStatus
Method or attribute name: BATTERY_STATUS_LOW_OR_OKAY|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: StorageRequest|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: StorageRequest
Method or attribute name: STORAGE_LEVEL_LOW|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: StorageRequest
Method or attribute name: STORAGE_LEVEL_OKAY|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: StorageRequest
Method or attribute name: STORAGE_LEVEL_LOW_OR_OKAY|@ohos.resourceschedule.workScheduler.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveFormInfo||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveFormInfo
Method or attribute name: formName||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveFormInfo
Method or attribute name: formDimension||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveFormInfo
Method or attribute name: formId||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveFormInfo
Method or attribute name: formLastUsedTime||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveFormInfo
Method or attribute name: count||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: deviceId||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: bundleName||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: moduleName||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: abilityName||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: appLabelId||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: labelId||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: descriptionId||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: abilityLableId||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: abilityDescriptionId||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: abilityIconId||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: launchedCount||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: lastModuleUsedTime||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: formRecords||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveEventState||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveEventState
Method or attribute name: name||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveEventState
Method or attribute name: eventId||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveEventState
Method or attribute name: count||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo
Method or attribute name: appUsageOldGroup||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo
Method or attribute name: appUsageNewGroup||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo
Method or attribute name: userId||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo
Method or attribute name: changeReason||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo
Method or attribute name: bundleName||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: getRecentlyUsedModules||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: getRecentlyUsedModules||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: getRecentlyUsedModules||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: GroupType||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_ALIVE||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_DAILY||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_FIXED||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_RARE||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_LIMIT||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_NEVER||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: setBundleGroup||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: setBundleGroup||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: registerGroupCallBack||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: registerGroupCallBack||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: unRegisterGroupCallBack||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: unRegisterGroupCallBack||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: queryBundleActiveEventStates||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: queryBundleActiveEventStates||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: queryAppNotificationNumber||@ohos.bundleState.d.ts| +|Deleted|Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: queryAppNotificationNumber||@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: backgroundTaskManager
Deprecated version: N/A|Class name: backgroundTaskManager
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: DelaySuspendInfo
Deprecated version: N/A|Class name: DelaySuspendInfo
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.DelaySuspendInfo |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: cancelSuspendDelay
Deprecated version: N/A|Method or attribute name: cancelSuspendDelay
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.cancelSuspendDelay |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: getRemainingDelayTime
Deprecated version: N/A|Method or attribute name: getRemainingDelayTime
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.getRemainingDelayTime |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: getRemainingDelayTime
Deprecated version: N/A|Method or attribute name: getRemainingDelayTime
Deprecated version: 9|@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: requestSuspendDelay
Deprecated version: N/A|Method or attribute name: requestSuspendDelay
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.requestSuspendDelay |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: startBackgroundRunning
Deprecated version: N/A|Method or attribute name: startBackgroundRunning
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.startBackgroundRunning |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: startBackgroundRunning
Deprecated version: N/A|Method or attribute name: startBackgroundRunning
Deprecated version: 9|@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: stopBackgroundRunning
Deprecated version: N/A|Method or attribute name: stopBackgroundRunning
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.stopBackgroundRunning |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: stopBackgroundRunning
Deprecated version: N/A|Method or attribute name: stopBackgroundRunning
Deprecated version: 9|@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: applyEfficiencyResources
Deprecated version: N/A|Method or attribute name: applyEfficiencyResources
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.applyEfficiencyResources |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: resetAllEfficiencyResources
Deprecated version: N/A|Method or attribute name: resetAllEfficiencyResources
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.resetAllEfficiencyResources |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: BackgroundMode
Deprecated version: N/A|Class name: BackgroundMode
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.BackgroundMode |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: ResourceType
Deprecated version: N/A|Class name: ResourceType
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.ResourceType |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: EfficiencyResourcesRequest
Deprecated version: N/A|Class name: EfficiencyResourcesRequest
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.EfficiencyResourcesRequest |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: bundleState
Deprecated version: N/A|Class name: bundleState
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics |@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: BundleStateInfo
Deprecated version: N/A|Class name: BundleStateInfo
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.BundleStatsInfo |@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: BundleActiveState
Deprecated version: N/A|Class name: BundleActiveState
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.BundleEvents |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: isIdleState
Deprecated version: N/A|Method or attribute name: isIdleState
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.isIdleState |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: isIdleState
Deprecated version: N/A|Method or attribute name: isIdleState
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryAppUsagePriorityGroup
Deprecated version: N/A|Method or attribute name: queryAppUsagePriorityGroup
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.queryAppGroup |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryAppUsagePriorityGroup
Deprecated version: N/A|Method or attribute name: queryAppUsagePriorityGroup
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: BundleActiveInfoResponse
Deprecated version: N/A|Class name: BundleActiveInfoResponse
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.BundleStatsMap |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleStateInfos
Deprecated version: N/A|Method or attribute name: queryBundleStateInfos
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.queryBundleStatsInfos |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleStateInfos
Deprecated version: N/A|Method or attribute name: queryBundleStateInfos
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: IntervalType
Deprecated version: N/A|Class name: IntervalType
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.IntervalType |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleStateInfoByInterval
Deprecated version: N/A|Method or attribute name: queryBundleStateInfoByInterval
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.queryBundleStatsInfoByInterval |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleStateInfoByInterval
Deprecated version: N/A|Method or attribute name: queryBundleStateInfoByInterval
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleActiveStates
Deprecated version: N/A|Method or attribute name: queryBundleActiveStates
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.queryBundleEvents |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleActiveStates
Deprecated version: N/A|Method or attribute name: queryBundleActiveStates
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryCurrentBundleActiveStates
Deprecated version: N/A|Method or attribute name: queryCurrentBundleActiveStates
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.queryCurrentBundleEvents |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryCurrentBundleActiveStates
Deprecated version: N/A|Method or attribute name: queryCurrentBundleActiveStates
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: workScheduler
Deprecated version: N/A|Class name: workScheduler
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler |@ohos.workScheduler.d.ts| +|Deprecated version changed|Class name: WorkInfo
Deprecated version: N/A|Class name: WorkInfo
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.WorkInfo |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: startWork
Deprecated version: N/A|Method or attribute name: startWork
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.startWork |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: stopWork
Deprecated version: N/A|Method or attribute name: stopWork
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.stopWork |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: getWorkStatus
Deprecated version: N/A|Method or attribute name: getWorkStatus
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.getWorkStatus |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: getWorkStatus
Deprecated version: N/A|Method or attribute name: getWorkStatus
Deprecated version: 9|@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: obtainAllWorks
Deprecated version: N/A|Method or attribute name: obtainAllWorks
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.obtainAllWorks |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: obtainAllWorks
Deprecated version: N/A|Method or attribute name: obtainAllWorks
Deprecated version: 9|@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: stopAndClearWorks
Deprecated version: N/A|Method or attribute name: stopAndClearWorks
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.stopAndClearWorks |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: isLastWorkTimeOut
Deprecated version: N/A|Method or attribute name: isLastWorkTimeOut
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.isLastWorkTimeOut |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: isLastWorkTimeOut
Deprecated version: N/A|Method or attribute name: isLastWorkTimeOut
Deprecated version: 9|@ohos.workScheduler.d.ts| +|Deprecated version changed|Class name: NetworkType
Deprecated version: N/A|Class name: NetworkType
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.NetworkType |@ohos.workScheduler.d.ts| +|Deprecated version changed|Class name: ChargingType
Deprecated version: N/A|Class name: ChargingType
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.ChargingType |@ohos.workScheduler.d.ts| +|Deprecated version changed|Class name: BatteryStatus
Deprecated version: N/A|Class name: BatteryStatus
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.BatteryStatus |@ohos.workScheduler.d.ts| +|Deprecated version changed|Class name: StorageRequest
Deprecated version: N/A|Class name: StorageRequest
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.StorageRequest |@ohos.workScheduler.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-security.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-security.md new file mode 100644 index 0000000000000000000000000000000000000000..0e799d2bd04978f2708092161728d60b74f12f38 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-security.md @@ -0,0 +1,112 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.abilityAccessCtrl
Class name: AtManager
Method or attribute name: checkAccessToken|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: grantUserGrantedPermission
Function name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise;|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: grantUserGrantedPermission
Function name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback): void;|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: revokeUserGrantedPermission
Function name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise;|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: revokeUserGrantedPermission
Function name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback): void;|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: permissionName
Function name: permissionName: Permissions;|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: addPermissionUsedRecord
Function name: function addPermissionUsedRecord(tokenID: number, permissionName: Permissions, successCount: number, failCount: number): Promise;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: addPermissionUsedRecord
Function name: function addPermissionUsedRecord(tokenID: number, permissionName: Permissions, successCount: number, failCount: number, callback: AsyncCallback): void;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: startUsingPermission
Function name: function startUsingPermission(tokenID: number, permissionName: Permissions): Promise;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: startUsingPermission
Function name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback): void;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: stopUsingPermission
Function name: function stopUsingPermission(tokenID: number, permissionName: Permissions): Promise;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: stopUsingPermission
Function name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback): void;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: permissionNames
Function name: permissionNames: Array;|@ohos.privacyManager.d.ts| +|Added||Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_RUNTIME_ERROR|@ohos.security.cryptoFramework.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: generateKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: generateKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: deleteKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: deleteKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importWrappedKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importWrappedKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: exportKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: exportKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: getKeyItemProperties|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: getKeyItemProperties|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: isKeyItemExist|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: isKeyItemExist|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: initSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: initSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: updateSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: updateSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: updateSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: finishSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: finishSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: finishSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: abortSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: abortSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: attestKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: attestKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksSessionHandle|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksSessionHandle
Method or attribute name: handle|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksSessionHandle
Method or attribute name: challenge|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksReturnResult|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksReturnResult
Method or attribute name: outData|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksReturnResult
Method or attribute name: properties|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksReturnResult
Method or attribute name: certChains|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_PERMISSION_FAIL|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_ILLEGAL_ARGUMENT|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_NOT_SUPPORTED_API|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_FEATURE_NOT_SUPPORTED|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_MISSING_CRYPTO_ALG_ARGUMENT|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_INVALID_CRYPTO_ALG_ARGUMENT|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_FILE_OPERATION_FAIL|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_COMMUNICATION_FAIL|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_CRYPTO_FAIL|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_PERMANENTLY_INVALIDATED|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_VERIFY_FAILED|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_TIME_OUT|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_SESSION_LIMIT|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_ITEM_NOT_EXIST|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_EXTERNAL_ERROR|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_CREDENTIAL_NOT_EXIST|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_INSUFFICIENT_MEMORY|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_CALL_SERVICE_FAILED|@ohos.security.huks.d.ts| +|Deleted||Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_EXTERNAL_ERROR||@ohos.security.cryptoFramework.d.ts| +|Deleted||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importWrappedKey||@ohos.security.huks.d.ts| +|Deleted||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importWrappedKey||@ohos.security.huks.d.ts| +|Deleted||Module name: ohos.security.huks
Class name: huks
Method or attribute name: attestKey||@ohos.security.huks.d.ts| +|Deleted||Module name: ohos.security.huks
Class name: huks
Method or attribute name: attestKey||@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: verifyAccessToken
Deprecated version: N/A|Method or attribute name: verifyAccessToken
Deprecated version: 9
New API: ohos.abilityAccessCtrl.AtManager|@ohos.abilityAccessCtrl.d.ts| +|Deprecated version changed|Method or attribute name: generateKey
Deprecated version: N/A|Method or attribute name: generateKey
Deprecated version: 9
New API: ohos.security.huks.generateKeyItem |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: generateKey
Deprecated version: N/A|Method or attribute name: generateKey
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: deleteKey
Deprecated version: N/A|Method or attribute name: deleteKey
Deprecated version: 9
New API: ohos.security.huks.deleteKeyItem |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: deleteKey
Deprecated version: N/A|Method or attribute name: deleteKey
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: importKey
Deprecated version: N/A|Method or attribute name: importKey
Deprecated version: 9
New API: ohos.security.huks.importKeyItem |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: importKey
Deprecated version: N/A|Method or attribute name: importKey
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: exportKey
Deprecated version: N/A|Method or attribute name: exportKey
Deprecated version: 9
New API: ohos.security.huks.exportKeyItem |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: exportKey
Deprecated version: N/A|Method or attribute name: exportKey
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: getKeyProperties
Deprecated version: N/A|Method or attribute name: getKeyProperties
Deprecated version: 9
New API: ohos.security.huks.getKeyItemProperties |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: getKeyProperties
Deprecated version: N/A|Method or attribute name: getKeyProperties
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: isKeyExist
Deprecated version: N/A|Method or attribute name: isKeyExist
Deprecated version: 9
New API: ohos.security.huks.isKeyItemExist |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: isKeyExist
Deprecated version: N/A|Method or attribute name: isKeyExist
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: init
Deprecated version: N/A|Method or attribute name: init
Deprecated version: 9
New API: ohos.security.huks.initSession |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: init
Deprecated version: N/A|Method or attribute name: init
Deprecated version: 9|@ohos.security.huks.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.security.huks.updateSession |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: update
Deprecated version: N/A|Method or attribute name: update
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: update
Deprecated version: N/A|Method or attribute name: update
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: finish
Deprecated version: N/A|Method or attribute name: finish
Deprecated version: 9
New API: ohos.security.huks.finishSession |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: finish
Deprecated version: N/A|Method or attribute name: finish
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: abort
Deprecated version: N/A|Method or attribute name: abort
Deprecated version: 9
New API: ohos.security.huks.abortSession |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: abort
Deprecated version: N/A|Method or attribute name: abort
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksHandle
Deprecated version: N/A|Class name: HuksHandle
Deprecated version: 9
New API: ohos.security.huks.HuksSessionHandle |@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksResult
Deprecated version: N/A|Class name: HuksResult
Deprecated version: 9
New API: ohos.security.huks.HuksReturnResult |@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksErrorCode
Deprecated version: N/A|Class name: HuksErrorCode
Deprecated version: 9
New API: ohos.security.huks.HuksExceptionErrCode |@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: Cipher
Deprecated version: N/A|Class name: Cipher
Deprecated version: 9
New API: ohos.security.cryptoFramework.Cipher |@system.cipher.d.ts| +|Deprecated version changed|Method or attribute name: rsa
Deprecated version: N/A|Method or attribute name: rsa
Deprecated version: 9
New API: ohos.security.cryptoFramework.Cipher |@system.cipher.d.ts| +|Deprecated version changed|Method or attribute name: aes
Deprecated version: N/A|Method or attribute name: aes
Deprecated version: 9
New API: ohos.security.cryptoFramework.Cipher |@system.cipher.d.ts| +|Initial version changed|Method or attribute name: getPermissionFlags
Initial version: 9|Method or attribute name: getPermissionFlags
Initial version: 8|@ohos.abilityAccessCtrl.d.ts| +|Initial version changed|Method or attribute name: update
Initial version: 9|Method or attribute name: update
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Method or attribute name: update
Initial version: 9|Method or attribute name: update
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Method or attribute name: update
Initial version: 9|Method or attribute name: update
Initial version: 8|@ohos.security.huks.d.ts| +|Error code added||Method or attribute name: verifyAccessTokenSync
Error code: 401, 12100001|@ohos.abilityAccessCtrl.d.ts| +|Error code added||Method or attribute name: getPermissionFlags
Error code: 401, 201, 12100001, 12100002, 12100003, 12100006, 12100007|@ohos.abilityAccessCtrl.d.ts| +|Error code added||Method or attribute name: on_permissionStateChange
Error code: 401, 201, 12100001, 12100004, 12100005, 12100007, 12100008|@ohos.abilityAccessCtrl.d.ts| +|Error code added||Method or attribute name: off_permissionStateChange
Error code: 401, 201, 12100001, 12100004, 12100007, 12100008|@ohos.abilityAccessCtrl.d.ts| +|Error code added||Method or attribute name: getPermissionUsedRecords
Error code: 401, 201, 12100001, 12100002, 12100003, 12100007,12100008|@ohos.privacyManager.d.ts| +|Error code added||Method or attribute name: on_activeStateChange
Error code: 401, 201, 12100001, 12100004, 12100005, 12100007, 12100008|@ohos.privacyManager.d.ts| +|Error code added||Method or attribute name: off_activeStateChange
Error code: 401, 201, 12100001, 12100004, 12100007, 12100008|@ohos.privacyManager.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-sensor.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-sensor.md new file mode 100644 index 0000000000000000000000000000000000000000..358a09529fdf5b777d2d48ae6d5761bdc5c35d0e --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-sensor.md @@ -0,0 +1,209 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.sensor
Class name: SensorId|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: GYROSCOPE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: AMBIENT_LIGHT|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: MAGNETIC_FIELD|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: BAROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: HALL|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: PROXIMITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: HUMIDITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: ORIENTATION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: GRAVITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: LINEAR_ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: ROTATION_VECTOR|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: AMBIENT_TEMPERATURE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: SIGNIFICANT_MOTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: PEDOMETER_DETECTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: PEDOMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: HEART_RATE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: WEAR_DETECTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_AMBIENT_LIGHT|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_AMBIENT_TEMPERATURE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_BAROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_GRAVITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_GYROSCOPE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_HALL|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_HEART_RATE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_HUMIDITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_LINEAR_ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_MAGNETIC_FIELD|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_ORIENTATION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_PEDOMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_PEDOMETER_DETECTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_PROXIMITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_ROTATION_VECTOR|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_SIGNIFICANT_MOTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_WEAR_DETECTION|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.ACCELEROMETER, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.AMBIENT_LIGHT, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.BAROMETER, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.GRAVITY, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.GYROSCOPE, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.HALL, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.HEART_RATE, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.HUMIDITY, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.MAGNETIC_FIELD, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.ORIENTATION, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.PEDOMETER, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.PEDOMETER_DETECTION, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.PROXIMITY, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.ROTATION_VECTOR, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.SIGNIFICANT_MOTION, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.WEAR_DETECTION, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_AMBIENT_LIGHT|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_AMBIENT_TEMPERATURE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_BAROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_GRAVITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_GYROSCOPE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_HALL|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_HEART_RATE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_HUMIDITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_LINEAR_ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_MAGNETIC_FIELD|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_ORIENTATION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_PEDOMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_PEDOMETER_DETECTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_PROXIMITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_ROTATION_VECTOR|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_SIGNIFICANT_MOTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_WEAR_DETECTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: Sensor
Method or attribute name: sensorId|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: Sensor
Method or attribute name: minSamplePeriod|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: Sensor
Method or attribute name: maxSamplePeriod|@ohos.sensor.d.ts| +|Added||Method or attribute name: getSingleSensor
Function name: function getSingleSensor(type: SensorId, callback: AsyncCallback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: getSingleSensor
Function name: function getSingleSensor(type: SensorId): Promise;|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getSensorList|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getSensorList|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getGeomagneticInfo|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getGeomagneticInfo|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getDeviceAltitude|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getDeviceAltitude|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getInclination|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getInclination|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getAngleVariation|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getAngleVariation|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: transformRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: transformRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getQuaternion|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getQuaternion|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getOrientation|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getOrientation|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.vibrator
Class name: vibrator
Method or attribute name: startVibration|@ohos.vibrator.d.ts| +|Added||Module name: ohos.vibrator
Class name: vibrator
Method or attribute name: startVibration|@ohos.vibrator.d.ts| +|Added||Module name: ohos.vibrator
Class name: vibrator
Method or attribute name: stopVibration|@ohos.vibrator.d.ts| +|Added||Module name: ohos.vibrator
Class name: vibrator
Method or attribute name: stopVibration|@ohos.vibrator.d.ts| +|Deleted|Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorType_SENSOR_TYPE_ID_HEART_BEAT_RATE||@ohos.sensor.d.ts| +|Deleted|Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorType_SENSOR_TYPE_ID_LINEAR_ACCELEROMETER||@ohos.sensor.d.ts| +|Deleted|Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorType_SENSOR_TYPE_ID_HEART_BEAT_RATE||@ohos.sensor.d.ts| +|Deleted|Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorType_SENSOR_TYPE_ID_LINEAR_ACCELEROMETER||@ohos.sensor.d.ts| +|Deleted|Module name: ohos.sensor
Class name: Sensor
Method or attribute name: sensorTypeId||@ohos.sensor.d.ts| +|Deleted|Module name: ohos.sensor
Class name: sensor
Method or attribute name: getSensorLists||@ohos.sensor.d.ts| +|Deleted|Module name: ohos.sensor
Class name: sensor
Method or attribute name: getSensorLists||@ohos.sensor.d.ts| +|Deleted|Module name: ohos.sensor
Class name: SensorType
Method or attribute name: SENSOR_TYPE_ID_LINEAR_ACCELEROMETER||@ohos.sensor.d.ts| +|Deleted|Module name: ohos.sensor
Class name: SensorType
Method or attribute name: SENSOR_TYPE_ID_HEART_BEAT_RATE||@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ACCELEROMETER
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ACCELEROMETER
Deprecated version: 9
New API: ohos.sensor.SensorId.ACCELEROMETER |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED
Deprecated version: 9
New API: ohos.sensor.SensorId.ACCELEROMETER_UNCALIBRATED |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_AMBIENT_LIGHT
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_AMBIENT_LIGHT
Deprecated version: 9
New API: ohos.sensor.SensorId.AMBIENT_LIGHT |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_AMBIENT_TEMPERATURE
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_AMBIENT_TEMPERATURE
Deprecated version: 9
New API: ohos.sensor.SensorId.AMBIENT_TEMPERATURE |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_BAROMETER
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_BAROMETER
Deprecated version: 9
New API: ohos.sensor.SensorId.BAROMETER |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GRAVITY
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GRAVITY
Deprecated version: 9
New API: ohos.sensor.SensorId.GRAVITY |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GYROSCOPE
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GYROSCOPE
Deprecated version: 9
New API: ohos.sensor.SensorId.GYROSCOPE |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED
Deprecated version: 9
New API: ohos.sensor.SensorId.GYROSCOPE_UNCALIBRATED |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_HALL
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_HALL
Deprecated version: 9
New API: ohos.sensor.SensorId.HALL |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_HUMIDITY
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_HUMIDITY
Deprecated version: 9
New API: ohos.sensor.SensorId.HUMIDITY |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD
Deprecated version: 9
New API: ohos.sensor.SensorId.MAGNETIC_FIELD |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED
Deprecated version: 9
New API: ohos.sensor.SensorId.MAGNETIC_FIELD_UNCALIBRATED |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ORIENTATION
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ORIENTATION
Deprecated version: 9
New API: ohos.sensor.SensorId.ORIENTATION |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PEDOMETER
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PEDOMETER
Deprecated version: 9
New API: ohos.sensor.SensorId.PEDOMETER |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PEDOMETER_DETECTION
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PEDOMETER_DETECTION
Deprecated version: 9
New API: ohos.sensor.SensorId.PEDOMETER_DETECTION |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PROXIMITY
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PROXIMITY
Deprecated version: 9
New API: ohos.sensor.SensorId.PROXIMITY |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ROTATION_VECTOR
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ROTATION_VECTOR
Deprecated version: 9
New API: ohos.sensor.SensorId.ROTATION_VECTOR |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_SIGNIFICANT_MOTION
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_SIGNIFICANT_MOTION
Deprecated version: 9
New API: ohos.sensor.SensorId.SIGNIFICANT_MOTION |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_WEAR_DETECTION
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_WEAR_DETECTION
Deprecated version: 9
New API: ohos.sensor.SensorId.WEAR_DETECTION |@ohos.sensor.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.sensor.SensorId.ACCELEROMETER |@ohos.sensor.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.sensor.SensorId.ACCELEROMETER_UNCALIBRATED |@ohos.sensor.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.sensor.SensorId.AMBIENT_LIGHT |@ohos.sensor.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.sensor.SensorId.AMBIENT_TEMPERATURE |@ohos.sensor.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.sensor.SensorId.BAROMETER |@ohos.sensor.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.sensor.SensorId.GRAVITY |@ohos.sensor.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.sensor.SensorId.GYROSCOPE |@ohos.sensor.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.sensor.SensorId.GYROSCOPE_UNCALIBRATED |@ohos.sensor.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.sensor.SensorId.HALL |@ohos.sensor.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.sensor.SensorId.HUMIDITY |@ohos.sensor.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.sensor.SensorId.MAGNETIC_FIELD |@ohos.sensor.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.sensor.SensorId.MAGNETIC_FIELD_UNCALIBRATED |@ohos.sensor.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.sensor.SensorId.ORIENTATION |@ohos.sensor.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.sensor.SensorId.PEDOMETER |@ohos.sensor.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.sensor.SensorId.PEDOMETER_DETECTION |@ohos.sensor.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.sensor.SensorId.PROXIMITY |@ohos.sensor.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.sensor.SensorId.ROTATION_VECTOR |@ohos.sensor.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.sensor.SensorId.SIGNIFICANT_MOTION |@ohos.sensor.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.sensor.SensorId.WEAR_DETECTION |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ACCELEROMETER
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ACCELEROMETER
Deprecated version: 9
New API: ohos.sensor.SensorId.ACCELEROMETER |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED
Deprecated version: 9
New API: ohos.sensor.SensorId.ACCELEROMETER_UNCALIBRATED |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_AMBIENT_LIGHT
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_AMBIENT_LIGHT
Deprecated version: 9
New API: ohos.sensor.SensorId.AMBIENT_LIGHT |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_AMBIENT_TEMPERATURE
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_AMBIENT_TEMPERATURE
Deprecated version: 9
New API: ohos.sensor.SensorId.AMBIENT_TEMPERATURE |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_BAROMETER
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_BAROMETER
Deprecated version: 9
New API: ohos.sensor.SensorId.BAROMETER |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GRAVITY
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GRAVITY
Deprecated version: 9
New API: ohos.sensor.SensorId.GRAVITY |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GYROSCOPE
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GYROSCOPE
Deprecated version: 9
New API: ohos.sensor.SensorId.GYROSCOPE |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED
Deprecated version: 9
New API: ohos.sensor.SensorId.GYROSCOPE_UNCALIBRATED |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_HALL
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_HALL
Deprecated version: 9
New API: ohos.sensor.SensorId.HALL |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_HUMIDITY
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_HUMIDITY
Deprecated version: 9
New API: ohos.sensor.SensorId.HUMIDITY |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD
Deprecated version: 9
New API: ohos.sensor.SensorId.MAGNETIC_FIELD |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED
Deprecated version: 9
New API: ohos.sensor.SensorId.MAGNETIC_FIELD_UNCALIBRATED |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ORIENTATION
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ORIENTATION
Deprecated version: 9
New API: ohos.sensor.SensorId.ORIENTATION |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PEDOMETER
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PEDOMETER
Deprecated version: 9
New API: ohos.sensor.SensorId.PEDOMETER |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PEDOMETER_DETECTION
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PEDOMETER_DETECTION
Deprecated version: 9
New API: ohos.sensor.SensorId.PEDOMETER_DETECTION |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PROXIMITY
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PROXIMITY
Deprecated version: 9
New API: ohos.sensor.SensorId.PROXIMITY |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ROTATION_VECTOR
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ROTATION_VECTOR
Deprecated version: 9
New API: ohos.sensor.SensorId.ROTATION_VECTOR |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_SIGNIFICANT_MOTION
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_SIGNIFICANT_MOTION
Deprecated version: 9
New API: ohos.sensor.SensorId.SIGNIFICANT_MOTION |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_WEAR_DETECTION
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_WEAR_DETECTION
Deprecated version: 9
New API: ohos.sensor.SensorId.WEAR_DETECTION |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getGeomagneticField
Deprecated version: N/A|Method or attribute name: getGeomagneticField
Deprecated version: 9
New API: ohos.sensor.getGeomagneticInfo |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getGeomagneticField
Deprecated version: N/A|Method or attribute name: getGeomagneticField
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getAltitude
Deprecated version: N/A|Method or attribute name: getAltitude
Deprecated version: 9
New API: ohos.sensor.getDeviceAltitude |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getAltitude
Deprecated version: N/A|Method or attribute name: getAltitude
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getGeomagneticDip
Deprecated version: N/A|Method or attribute name: getGeomagneticDip
Deprecated version: 9
New API: ohos.sensor.getInclination |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getGeomagneticDip
Deprecated version: N/A|Method or attribute name: getGeomagneticDip
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getAngleModify
Deprecated version: N/A|Method or attribute name: getAngleModify
Deprecated version: 9
New API: ohos.sensor.getAngleVariation |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getAngleModify
Deprecated version: N/A|Method or attribute name: getAngleModify
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createRotationMatrix
Deprecated version: N/A|Method or attribute name: createRotationMatrix
Deprecated version: 9
New API: ohos.sensor.getRotationMatrix |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createRotationMatrix
Deprecated version: N/A|Method or attribute name: createRotationMatrix
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: transformCoordinateSystem
Deprecated version: N/A|Method or attribute name: transformCoordinateSystem
Deprecated version: 9
New API: ohos.sensor.transformRotationMatrix |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: transformCoordinateSystem
Deprecated version: N/A|Method or attribute name: transformCoordinateSystem
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createQuaternion
Deprecated version: N/A|Method or attribute name: createQuaternion
Deprecated version: 9
New API: ohos.sensor.getQuaternion |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createQuaternion
Deprecated version: N/A|Method or attribute name: createQuaternion
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getDirection
Deprecated version: N/A|Method or attribute name: getDirection
Deprecated version: 9
New API: ohos.sensor.getOrientation |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getDirection
Deprecated version: N/A|Method or attribute name: getDirection
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createRotationMatrix
Deprecated version: N/A|Method or attribute name: createRotationMatrix
Deprecated version: 9
New API: ohos.sensor.getRotationMatrix |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createRotationMatrix
Deprecated version: N/A|Method or attribute name: createRotationMatrix
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Class name: SensorType
Deprecated version: N/A|Class name: SensorType
Deprecated version: 9
New API: ohos.sensor.SensorId |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: SENSOR_TYPE_ID_LINEAR_ACCELERATION
Deprecated version: 9|Method or attribute name: SENSOR_TYPE_ID_LINEAR_ACCELERATION
Deprecated version: N/A
New API: ohos.sensor.SensorId |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: SENSOR_TYPE_ID_HEART_RATE
Deprecated version: 9|Method or attribute name: SENSOR_TYPE_ID_HEART_RATE
Deprecated version: N/A
New API: ohos.sensor.SensorId |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: vibrate
Deprecated version: N/A|Method or attribute name: vibrate
Deprecated version: 9
New API: ohos.vibrator.startVibration |@ohos.vibrator.d.ts| +|Deprecated version changed|Method or attribute name: vibrate
Deprecated version: N/A|Method or attribute name: vibrate
Deprecated version: 9|@ohos.vibrator.d.ts| +|Deprecated version changed|Method or attribute name: vibrate
Deprecated version: N/A|Method or attribute name: vibrate
Deprecated version: 9
New API: ohos.vibrator.startVibration |@ohos.vibrator.d.ts| +|Deprecated version changed|Method or attribute name: vibrate
Deprecated version: N/A|Method or attribute name: vibrate
Deprecated version: 9|@ohos.vibrator.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.vibrator.stopVibration |@ohos.vibrator.d.ts| +|Deprecated version changed|Method or attribute name: stop
Deprecated version: N/A|Method or attribute name: stop
Deprecated version: 9|@ohos.vibrator.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-start-up.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-start-up.md new file mode 100644 index 0000000000000000000000000000000000000000..c83271778fd0b90a8c0da966999603c89a8ce354 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-start-up.md @@ -0,0 +1,10 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: getSync|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: get|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: get|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: get|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: setSync|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: set|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: set|@ohos.systemParameterV9.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-telephony.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-telephony.md new file mode 100644 index 0000000000000000000000000000000000000000..56cc17191cfe3d2f1854d6e1fe5a9983f25050d0 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-telephony.md @@ -0,0 +1,4 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: sendUpdateCellLocationRequest
Function name: function sendUpdateCellLocationRequest(slotId?: number): Promise;|@ohos.telephony.radio.d.ts| +|Initial version changed |Method or attribute name: sendUpdateCellLocationRequest
Initial version: 9|Method or attribute name: sendUpdateCellLocationRequest
Initial version: 8|@ohos.telephony.radio.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-unitest.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-unitest.md new file mode 100644 index 0000000000000000000000000000000000000000..a729b1737d873fdcec0b239463d50a4ed310b208 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-unitest.md @@ -0,0 +1,107 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.uitest
Class name: On|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: text|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: id|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: type|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: clickable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: longClickable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: scrollable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: enabled|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: focused|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: selected|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: checked|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: checkable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: isBefore|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: isAfter|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: click|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: doubleClick|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: longClick|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: getId|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: getText|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: getType|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isClickable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isLongClickable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isScrollable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isEnabled|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isFocused|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isSelected|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isChecked|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isCheckable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: inputText|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: clearText|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: scrollToTop|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: scrollToBottom|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: scrollSearch|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: getBounds|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: getBoundsCenter|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: dragTo|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: pinchOut|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: pinchIn|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: create|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: delayMs|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: findComponent|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: findWindow|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: waitForComponent|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: findComponents|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: assertComponentExist|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: pressBack|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: triggerKey|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: triggerCombineKeys|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: click|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: doubleClick|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: longClick|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: swipe|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: drag|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: screenCap|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: setDisplayRotation|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: getDisplayRotation|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: setDisplayRotationEnabled|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: getDisplaySize|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: getDisplayDensity|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: wakeUpDisplay|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: pressHome|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: waitForIdle|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: fling|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: injectMultiPointerAction|@ohos.uitest.d.ts| +|Added||Method or attribute name: focus
Function name: focus(): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: moveTo
Function name: moveTo(x: number, y: number): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: resize
Function name: resize(wide: number, height: number, direction: ResizeDirection): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: split
Function name: split(): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: maximize
Function name: maximize(): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: minimize
Function name: minimize(): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: resume
Function name: resume(): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: close
Function name: close(): Promise;|@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: By
Method or attribute name: longClickable||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: By
Method or attribute name: checked||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: By
Method or attribute name: checkable||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: isLongClickable||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: isChecked||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: isCheckable||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: clearText||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: scrollToTop||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: scrollToBottom||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: getBounds||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: getBoundsCenter||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: dragTo||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: pinchOut||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: pinchIn||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: findWindow||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: waitForComponent||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: triggerCombineKeys||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: drag||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: setDisplayRotation||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: getDisplayRotation||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: setDisplayRotationEnabled||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: getDisplaySize||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: getDisplayDensity||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: wakeUpDisplay||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: pressHome||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: waitForIdle||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: fling||@ohos.uitest.d.ts| +|Deleted|Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: injectMultiPointerAction||@ohos.uitest.d.ts| +|Deprecated version changed|Class name: By
Deprecated version: N/A|Class name: By
Deprecated version: 9
New API: ohos.uitest.On |@ohos.uitest.d.ts| +|Deprecated version changed|Class name: UiComponent
Deprecated version: N/A|Class name: UiComponent
Deprecated version: 9
New API: ohos.uitest.Component |@ohos.uitest.d.ts| +|Deprecated version changed|Class name: UiDriver
Deprecated version: N/A|Class name: UiDriver
Deprecated version: 9
New API: ohos.uitest.Driver |@ohos.uitest.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-usb.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-usb.md new file mode 100644 index 0000000000000000000000000000000000000000..7ddbeb3fe4a39c3e7289bd0ec4734c9ad06966be --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-usb.md @@ -0,0 +1,120 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.usbV9
Class name: usbV9|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getDevices|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: connectDevice|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: hasRight|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: requestRight|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: removeRight|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: addRight|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: usbFunctionsFromString|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: usbFunctionsToString|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setCurrentFunctions|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getCurrentFunctions|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getPorts|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getSupportedModes|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setPortRoles|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: claimInterface|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: releaseInterface|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setConfiguration|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setInterface|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getRawDescriptor|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getFileDescriptor|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: controlTransfer|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: bulkTransfer|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: closePipe|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: address|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: attributes|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: interval|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: maxPacketSize|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: direction|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: number|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: type|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: interfaceId|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: id|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: protocol|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: clazz|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: subClass|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: alternateSetting|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: name|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: endpoints|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: id|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: attributes|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: maxPower|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: name|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: isRemoteWakeup|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: isSelfPowered|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: interfaces|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: busNum|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: devAddress|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: serial|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: name|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: manufacturerName|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: productName|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: version|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: vendorId|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: productId|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: clazz|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: subClass|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: protocol|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: configs|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevicePipe|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevicePipe
Method or attribute name: busNum|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevicePipe
Method or attribute name: devAddress|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PowerRoleType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PowerRoleType
Method or attribute name: NONE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PowerRoleType
Method or attribute name: SOURCE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PowerRoleType
Method or attribute name: SINK|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: DataRoleType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: DataRoleType
Method or attribute name: NONE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: DataRoleType
Method or attribute name: HOST|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: DataRoleType
Method or attribute name: DEVICE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: NONE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: UFP|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: DFP|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: DRP|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: NUM_MODES|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPortStatus|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPortStatus
Method or attribute name: currentMode|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPortStatus
Method or attribute name: currentPowerRole|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPortStatus
Method or attribute name: currentDataRole|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPort|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPort
Method or attribute name: id|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPort
Method or attribute name: supportedModes|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPort
Method or attribute name: status|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: request|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: target|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: reqType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: value|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: index|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: data|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestTargetType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_DEVICE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_INTERFACE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_ENDPOINT|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_OTHER|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlRequestType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_STANDARD|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_CLASS|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_VENDOR|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestDirection|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestDirection
Method or attribute name: USB_REQUEST_DIR_TO_DEVICE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestDirection
Method or attribute name: USB_REQUEST_DIR_FROM_DEVICE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: NONE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: ACM|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: ECM|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: HDC|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: MTP|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: PTP|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: RNDIS|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: MIDI|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: AUDIO_SOURCE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: NCM|@ohos.usbV9.d.ts| +|Deprecated version changed|Class name: usb
Deprecated version: N/A|Class name: usb
Deprecated version: 9
New API: ohos.usbV9 |@ohos.usb.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-user-iam.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-user-iam.md new file mode 100644 index 0000000000000000000000000000000000000000..05ecad7f61d9f9503e3f56d6eaf0905771ad2777 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-user-iam.md @@ -0,0 +1,43 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: setSurfaceId
Function name: setSurfaceId(surfaceId: string): void;|@ohos.userIAM.faceAuth.d.ts| +|Added||Method or attribute name: FAIL
Function name: FAIL = 12700001|@ohos.userIAM.faceAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthEvent|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthEvent
Method or attribute name: callback|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthResultInfo|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthResultInfo
Method or attribute name: result|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthResultInfo
Method or attribute name: token|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthResultInfo
Method or attribute name: remainAttempts|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthResultInfo
Method or attribute name: lockoutDuration|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: TipInfo|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: TipInfo
Method or attribute name: module|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: TipInfo
Method or attribute name: tip|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthInstance|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthInstance
Method or attribute name: on|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthInstance
Method or attribute name: off|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthInstance
Method or attribute name: start|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthInstance
Method or attribute name: cancel|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: userAuth
Method or attribute name: getVersion|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: userAuth
Method or attribute name: getAvailableStatus|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: userAuth
Method or attribute name: getAuthInstance|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: SUCCESS|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: FAIL|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: GENERAL_ERROR|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: CANCELED|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: TIMEOUT|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: TYPE_NOT_SUPPORT|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: TRUST_LEVEL_NOT_SUPPORT|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: BUSY|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: INVALID_PARAMETERS|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: LOCKED|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: NOT_ENROLLED|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.faceAuth
Class name: ResultCode
Method or attribute name: SUCCESS||@ohos.userIAM.faceAuth.d.ts| +|Deprecated version changed|Method or attribute name: getVersion
Deprecated version: N/A|Method or attribute name: getVersion
Deprecated version: 9
New API: ohos.userIAM.userAuth.getVersion |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: getAvailableStatus
Deprecated version: N/A|Method or attribute name: getAvailableStatus
Deprecated version: 9
New API: ohos.userIAM.userAuth.getAvailableStatus |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: auth
Deprecated version: N/A|Method or attribute name: auth
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthInstance.start |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: cancelAuth
Deprecated version: N/A|Method or attribute name: cancelAuth
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthInstance.cancel |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: onResult
Deprecated version: N/A|Method or attribute name: onResult
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthEvent.callback |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: onAcquireInfo
Deprecated version: N/A|Method or attribute name: onAcquireInfo
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthEvent.callback |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: AuthResult
Deprecated version: N/A|Class name: AuthResult
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthResultInfo |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: ResultCode
Deprecated version: N/A|Class name: ResultCode
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-web.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-web.md new file mode 100644 index 0000000000000000000000000000000000000000..d168cf9405faaae31b05483f266a60252655086e --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-web.md @@ -0,0 +1,75 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.web.webview
Class name: HeaderV9|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HeaderV9
Method or attribute name: headerKey|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HeaderV9
Method or attribute name: headerValue|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: EditText|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: Email|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: HttpAnchor|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: HttpAnchorImg|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: Img|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: Map|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: Phone|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: Unknown|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestValue|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestValue
Method or attribute name: type|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestValue
Method or attribute name: extra|@ohos.web.webview.d.ts| +|Added||Method or attribute name: setCookie
Function name: static setCookie(url: string, value: string): void;|@ohos.web.webview.d.ts| +|Added||Method or attribute name: saveCookieSync
Function name: static saveCookieSync(): void;|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebMessagePort|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebMessagePort
Method or attribute name: close|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebMessagePort
Method or attribute name: postMessageEvent|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebMessagePort
Method or attribute name: onMessageEvent|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: accessForward|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: accessBackward|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: accessStep|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: forward|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: backward|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: clearHistory|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: onActive|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: onInactive|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: refresh|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: loadData|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: loadUrl|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getHitTest|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: storeWebArchive|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: storeWebArchive|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: zoom|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: zoomIn|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: zoomOut|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getHitTestValue|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getWebId|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getUserAgent|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getTitle|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getPageHeight|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: backOrForward|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: requestFocus|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: createWebMessagePorts|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: postMessage|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: stop|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: registerJavaScriptProxy|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: deleteJavaScriptRegister|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: searchAllAsync|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: clearMatches|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: searchNext|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: clearSslCache|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: clearClientAuthenticationCache|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: runJavaScript|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: runJavaScript|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getUrl|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: deleteOrigin
Error code: 401,17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getOrigins
Error code: 401,17100012|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getOriginQuota
Error code: 401,17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getOriginUsage
Error code: 401,17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getHttpAuthCredentials
Error code: 401|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: saveHttpAuthCredentials
Error code: 401|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: allowGeolocation
Error code: 401, 17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: deleteGeolocation
Error code: 401, 17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getAccessibleGeolocation
Error code: 401,17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getStoredGeolocation
Error code: 401|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getCookie
Error code: 401, 17100002|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: saveCookieAsync
Error code: 401|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: putAcceptCookieEnabled
Error code: 401|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: putAcceptThirdPartyCookieEnabled
Error code: 401|@ohos.web.webview.d.ts| diff --git a/en/release-notes/api-diff/monthly-202210/js-apidiff-window.md b/en/release-notes/api-diff/monthly-202210/js-apidiff-window.md new file mode 100644 index 0000000000000000000000000000000000000000..301dd144469f27e0e92dcf59ade07ce26734b2db --- /dev/null +++ b/en/release-notes/api-diff/monthly-202210/js-apidiff-window.md @@ -0,0 +1,111 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.display
Class name: display
Method or attribute name: getAllDisplays|@ohos.display.d.ts| +|Added||Module name: ohos.display
Class name: display
Method or attribute name: getAllDisplays|@ohos.display.d.ts| +|Added||Module name: ohos.window
Class name: Configuration|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Configuration
Method or attribute name: name|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Configuration
Method or attribute name: windowType|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Configuration
Method or attribute name: ctx|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Configuration
Method or attribute name: displayId|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Configuration
Method or attribute name: parentId|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: window
Method or attribute name: createWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: window
Method or attribute name: createWindow|@ohos.window.d.ts| +|Added||Method or attribute name: create
Function name: function create(ctx: BaseContext, id: string, type: WindowType): Promise;|@ohos.window.d.ts| +|Added||Method or attribute name: create
Function name: function create(ctx: BaseContext, id: string, type: WindowType, callback: AsyncCallback): void;|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: window
Method or attribute name: findWindow|@ohos.window.d.ts| +|Added||Method or attribute name: getTopWindow
Function name: function getTopWindow(ctx: BaseContext): Promise;|@ohos.window.d.ts| +|Added||Method or attribute name: getTopWindow
Function name: function getTopWindow(ctx: BaseContext, callback: AsyncCallback): void;|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: window
Method or attribute name: getLastWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: window
Method or attribute name: getLastWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: showWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: showWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: destroyWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: destroyWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: moveWindowTo|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: moveWindowTo|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: resize|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: resize|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowMode|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowMode|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: getWindowProperties|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: getWindowAvoidArea|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowLayoutFullScreen|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowLayoutFullScreen|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowSystemBarEnable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowSystemBarEnable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowSystemBarProperties|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowSystemBarProperties|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setUIContent|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setUIContent|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: isWindowShowing|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: isWindowSupportWideGamut|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: isWindowSupportWideGamut|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowColorSpace|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowColorSpace|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: getWindowColorSpace|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowBackgroundColor|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowBrightness|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowBrightness|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowFocusable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowFocusable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowKeepScreenOn|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowKeepScreenOn|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowPrivacyMode|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowPrivacyMode|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowTouchable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowTouchable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: WindowStage
Method or attribute name: getMainWindowSync|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getDefaultDisplay
Deprecated version: N/A|Method or attribute name: getDefaultDisplay
Deprecated version: 9
New API: ohos.display|@ohos.display.d.ts| +|Deprecated version changed|Method or attribute name: getDefaultDisplay
Deprecated version: N/A|Method or attribute name: getDefaultDisplay
Deprecated version: 9
New API: ohos.display|@ohos.display.d.ts| +|Deprecated version changed|Method or attribute name: getAllDisplay
Deprecated version: N/A|Method or attribute name: getAllDisplay
Deprecated version: 9
New API: ohos.display|@ohos.display.d.ts| +|Deprecated version changed|Method or attribute name: getAllDisplay
Deprecated version: N/A|Method or attribute name: getAllDisplay
Deprecated version: 9
New API: ohos.display|@ohos.display.d.ts| +|Deprecated version changed|Method or attribute name: create
Deprecated version: N/A|Method or attribute name: create
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: create
Deprecated version: N/A|Method or attribute name: create
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: find
Deprecated version: N/A|Method or attribute name: find
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: find
Deprecated version: N/A|Method or attribute name: find
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getTopWindow
Deprecated version: N/A|Method or attribute name: getTopWindow
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getTopWindow
Deprecated version: N/A|Method or attribute name: getTopWindow
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: show
Deprecated version: N/A|Method or attribute name: show
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: show
Deprecated version: N/A|Method or attribute name: show
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: destroy
Deprecated version: N/A|Method or attribute name: destroy
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: destroy
Deprecated version: N/A|Method or attribute name: destroy
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: moveTo
Deprecated version: N/A|Method or attribute name: moveTo
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: moveTo
Deprecated version: N/A|Method or attribute name: moveTo
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: resetSize
Deprecated version: N/A|Method or attribute name: resetSize
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: resetSize
Deprecated version: N/A|Method or attribute name: resetSize
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getProperties
Deprecated version: N/A|Method or attribute name: getProperties
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getProperties
Deprecated version: N/A|Method or attribute name: getProperties
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getAvoidArea
Deprecated version: N/A|Method or attribute name: getAvoidArea
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getAvoidArea
Deprecated version: N/A|Method or attribute name: getAvoidArea
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setFullScreen
Deprecated version: N/A|Method or attribute name: setFullScreen
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setFullScreen
Deprecated version: N/A|Method or attribute name: setFullScreen
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setLayoutFullScreen
Deprecated version: N/A|Method or attribute name: setLayoutFullScreen
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setLayoutFullScreen
Deprecated version: N/A|Method or attribute name: setLayoutFullScreen
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setSystemBarEnable
Deprecated version: N/A|Method or attribute name: setSystemBarEnable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setSystemBarEnable
Deprecated version: N/A|Method or attribute name: setSystemBarEnable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setSystemBarProperties
Deprecated version: N/A|Method or attribute name: setSystemBarProperties
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setSystemBarProperties
Deprecated version: N/A|Method or attribute name: setSystemBarProperties
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: loadContent
Deprecated version: N/A|Method or attribute name: loadContent
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: loadContent
Deprecated version: N/A|Method or attribute name: loadContent
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: isShowing
Deprecated version: N/A|Method or attribute name: isShowing
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: isShowing
Deprecated version: N/A|Method or attribute name: isShowing
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: isSupportWideGamut
Deprecated version: N/A|Method or attribute name: isSupportWideGamut
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: isSupportWideGamut
Deprecated version: N/A|Method or attribute name: isSupportWideGamut
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setColorSpace
Deprecated version: N/A|Method or attribute name: setColorSpace
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setColorSpace
Deprecated version: N/A|Method or attribute name: setColorSpace
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getColorSpace
Deprecated version: N/A|Method or attribute name: getColorSpace
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getColorSpace
Deprecated version: N/A|Method or attribute name: getColorSpace
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setBackgroundColor
Deprecated version: N/A|Method or attribute name: setBackgroundColor
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setBackgroundColor
Deprecated version: N/A|Method or attribute name: setBackgroundColor
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setBrightness
Deprecated version: N/A|Method or attribute name: setBrightness
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setBrightness
Deprecated version: N/A|Method or attribute name: setBrightness
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setFocusable
Deprecated version: N/A|Method or attribute name: setFocusable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setFocusable
Deprecated version: N/A|Method or attribute name: setFocusable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setKeepScreenOn
Deprecated version: N/A|Method or attribute name: setKeepScreenOn
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setKeepScreenOn
Deprecated version: N/A|Method or attribute name: setKeepScreenOn
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setPrivacyMode
Deprecated version: N/A|Method or attribute name: setPrivacyMode
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setPrivacyMode
Deprecated version: N/A|Method or attribute name: setPrivacyMode
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setTouchable
Deprecated version: N/A|Method or attribute name: setTouchable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setTouchable
Deprecated version: N/A|Method or attribute name: setTouchable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Permission changed|Method or attribute name: createVirtualScreen
Permission: ohos.permission.CAPTURE_SCREEN. if VirtualScreenOption.surfaceId is valid|Method or attribute name: createVirtualScreen
Permission: ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| +|Permission changed|Method or attribute name: createVirtualScreen
Permission: ohos.permission.CAPTURE_SCREEN. if VirtualScreenOption.surfaceId is valid|Method or attribute name: createVirtualScreen
Permission: ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-ability.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-ability.md new file mode 100644 index 0000000000000000000000000000000000000000..f2c11608bdec856aea1007fa6c7d718d0a7a7406 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-ability.md @@ -0,0 +1,287 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: ACTION_APP_ACCOUNT_AUTH
Function name: ACTION_APP_ACCOUNT_AUTH = "ohos.appAccount.action.auth"|@ohos.ability.wantConstant.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: 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.UIAbility
Class name: UIAbility
Method or attribute name: onSaveState|@ohos.app.ability.UIAbility.d.ts| +|Deleted|Module name: ohos.app.ability.Ability
Class name: Ability
Method or attribute name: onSaveState||@ohos.app.ability.Ability.d.ts| +|Deleted|Module name: ohos.app.ability.appRecovery
Class name: appReceovery||@ohos.app.ability.appRecovery.d.ts| +|Deleted|Module name: ohos.app.ability.appRecovery
Class name: appReceovery
Method or attribute name: enableAppRecovery||@ohos.app.ability.appRecovery.d.ts| +|Deleted|Module name: ohos.app.ability.appRecovery
Class name: appReceovery
Method or attribute name: restartApp||@ohos.app.ability.appRecovery.d.ts| +|Deleted|Module name: ohos.app.ability.appRecovery
Class name: appReceovery
Method or attribute name: saveAppState||@ohos.app.ability.appRecovery.d.ts| +|Model changed|Class name: Ability
model: @stage model only|Class name: Ability
model: @Stage Model Only|@ohos.app.ability.Ability.d.ts| +|Model changed|Method or attribute name: onConfigurationUpdate
model: @stage model only|Method or attribute name: onConfigurationUpdate
model: @Stage Model Only|@ohos.app.ability.Ability.d.ts| +|Model changed|Method or attribute name: onMemoryLevel
model: @stage model only|Method or attribute name: onMemoryLevel
model: @Stage Model Only|@ohos.app.ability.Ability.d.ts| +|Model changed|Class name: AbilityConstant
model: @stage model only|Class name: AbilityConstant
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: LaunchParam
model: @stage model only|Class name: LaunchParam
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: launchReason
model: @stage model only|Method or attribute name: launchReason
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: lastExitReason
model: @stage model only|Method or attribute name: lastExitReason
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: LaunchReason
model: @stage model only|Class name: LaunchReason
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: UNKNOWN
model: @stage model only|Method or attribute name: UNKNOWN
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: START_ABILITY
model: @stage model only|Method or attribute name: START_ABILITY
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: CALL
model: @stage model only|Method or attribute name: CALL
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: CONTINUATION
model: @stage model only|Method or attribute name: CONTINUATION
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: APP_RECOVERY
model: @stage model only|Method or attribute name: APP_RECOVERY
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: LastExitReason
model: @stage model only|Class name: LastExitReason
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: UNKNOWN
model: @stage model only|Method or attribute name: UNKNOWN
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: ABILITY_NOT_RESPONDING
model: @stage model only|Method or attribute name: ABILITY_NOT_RESPONDING
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: NORMAL
model: @stage model only|Method or attribute name: NORMAL
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnContinueResult
model: @stage model only|Class name: OnContinueResult
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: AGREE
model: @stage model only|Method or attribute name: AGREE
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: REJECT
model: @stage model only|Method or attribute name: REJECT
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: MISMATCH
model: @stage model only|Method or attribute name: MISMATCH
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: MemoryLevel
model: @stage model only|Class name: MemoryLevel
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: MEMORY_LEVEL_MODERATE
model: @stage model only|Method or attribute name: MEMORY_LEVEL_MODERATE
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: MEMORY_LEVEL_LOW
model: @stage model only|Method or attribute name: MEMORY_LEVEL_LOW
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: MEMORY_LEVEL_CRITICAL
model: @stage model only|Method or attribute name: MEMORY_LEVEL_CRITICAL
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: WindowMode
model: @stage model only|Class name: WindowMode
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: WINDOW_MODE_UNDEFINED
model: @stage model only|Method or attribute name: WINDOW_MODE_UNDEFINED
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: WINDOW_MODE_FULLSCREEN
model: @stage model only|Method or attribute name: WINDOW_MODE_FULLSCREEN
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY
model: @stage model only|Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY
model: @stage model only|Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: WINDOW_MODE_FLOATING
model: @stage model only|Method or attribute name: WINDOW_MODE_FLOATING
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnSaveResult
model: @stage model only|Class name: OnSaveResult
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: ALL_AGREE
model: @stage model only|Method or attribute name: ALL_AGREE
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: CONTINUATION_REJECT
model: @stage model only|Method or attribute name: CONTINUATION_REJECT
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: CONTINUATION_MISMATCH
model: @stage model only|Method or attribute name: CONTINUATION_MISMATCH
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: RECOVERY_AGREE
model: @stage model only|Method or attribute name: RECOVERY_AGREE
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: RECOVERY_REJECT
model: @stage model only|Method or attribute name: RECOVERY_REJECT
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: ALL_REJECT
model: @stage model only|Method or attribute name: ALL_REJECT
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: StateType
model: @stage model only|Class name: StateType
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: CONTINUATION
model: @stage model only|Method or attribute name: CONTINUATION
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Method or attribute name: APP_RECOVERY
model: @stage model only|Method or attribute name: APP_RECOVERY
model: @Stage Model Only|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: AbilityLifecycleCallback
model: @stage model only|Class name: AbilityLifecycleCallback
model: @Stage Model Only|@ohos.app.ability.AbilityLifecycleCallback.d.ts| +|Model changed|Method or attribute name: onAbilityCreate
model: @stage model only|Method or attribute name: onAbilityCreate
model: @Stage Model Only|@ohos.app.ability.AbilityLifecycleCallback.d.ts| +|Model changed|Method or attribute name: onWindowStageCreate
model: @stage model only|Method or attribute name: onWindowStageCreate
model: @Stage Model Only|@ohos.app.ability.AbilityLifecycleCallback.d.ts| +|Model changed|Method or attribute name: onWindowStageActive
model: @stage model only|Method or attribute name: onWindowStageActive
model: @Stage Model Only|@ohos.app.ability.AbilityLifecycleCallback.d.ts| +|Model changed|Method or attribute name: onWindowStageInactive
model: @stage model only|Method or attribute name: onWindowStageInactive
model: @Stage Model Only|@ohos.app.ability.AbilityLifecycleCallback.d.ts| +|Model changed|Method or attribute name: onWindowStageDestroy
model: @stage model only|Method or attribute name: onWindowStageDestroy
model: @Stage Model Only|@ohos.app.ability.AbilityLifecycleCallback.d.ts| +|Model changed|Method or attribute name: onAbilityDestroy
model: @stage model only|Method or attribute name: onAbilityDestroy
model: @Stage Model Only|@ohos.app.ability.AbilityLifecycleCallback.d.ts| +|Model changed|Method or attribute name: onAbilityForeground
model: @stage model only|Method or attribute name: onAbilityForeground
model: @Stage Model Only|@ohos.app.ability.AbilityLifecycleCallback.d.ts| +|Model changed|Method or attribute name: onAbilityBackground
model: @stage model only|Method or attribute name: onAbilityBackground
model: @Stage Model Only|@ohos.app.ability.AbilityLifecycleCallback.d.ts| +|Model changed|Method or attribute name: onAbilityContinue
model: @stage model only|Method or attribute name: onAbilityContinue
model: @Stage Model Only|@ohos.app.ability.AbilityLifecycleCallback.d.ts| +|Model changed|Class name: AbilityStage
model: @stage model only|Class name: AbilityStage
model: @Stage Model Only|@ohos.app.ability.AbilityStage.d.ts| +|Model changed|Method or attribute name: context
model: @stage model only|Method or attribute name: context
model: @Stage Model Only|@ohos.app.ability.AbilityStage.d.ts| +|Model changed|Method or attribute name: onCreate
model: @stage model only|Method or attribute name: onCreate
model: @Stage Model Only|@ohos.app.ability.AbilityStage.d.ts| +|Model changed|Method or attribute name: onAcceptWant
model: @stage model only|Method or attribute name: onAcceptWant
model: @Stage Model Only|@ohos.app.ability.AbilityStage.d.ts| +|Model changed|Method or attribute name: onConfigurationUpdate
model: @stage model only|Method or attribute name: onConfigurationUpdate
model: @Stage Model Only|@ohos.app.ability.AbilityStage.d.ts| +|Model changed|Method or attribute name: onMemoryLevel
model: @stage model only|Method or attribute name: onMemoryLevel
model: @Stage Model Only|@ohos.app.ability.AbilityStage.d.ts| +|Model changed|Class name: common
model: @stage model only|Class name: common
model: @Stage Model Only|@ohos.app.ability.common.d.ts| +|Model changed|Class name: AreaMode
model: @stage model only|Class name: AreaMode
model: @Stage Model Only|@ohos.app.ability.common.d.ts| +|Model changed|Method or attribute name: EL1
model: @stage model only|Method or attribute name: EL1
model: @Stage Model Only|@ohos.app.ability.common.d.ts| +|Model changed|Method or attribute name: EL2
model: @stage model only|Method or attribute name: EL2
model: @Stage Model Only|@ohos.app.ability.common.d.ts| +|Model changed|Method or attribute name: onConfigurationUpdated
model: @stage model only|Method or attribute name: onConfigurationUpdated
model: @Stage Model Only|@ohos.app.ability.EnvironmentCallback.d.ts| +|Model changed|Class name: ExtensionAbility
model: @stage model only|Class name: ExtensionAbility
model: @Stage Model Only|@ohos.app.ability.ExtensionAbility.d.ts| +|Model changed|Class name: ServiceExtensionAbility
model: @stage model only|Class name: ServiceExtensionAbility
model: @Stage Model Only|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Model changed|Method or attribute name: context
model: @stage model only|Method or attribute name: context
model: @Stage Model Only|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Model changed|Method or attribute name: onCreate
model: @stage model only|Method or attribute name: onCreate
model: @Stage Model Only|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Model changed|Method or attribute name: onDestroy
model: @stage model only|Method or attribute name: onDestroy
model: @Stage Model Only|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Model changed|Method or attribute name: onRequest
model: @stage model only|Method or attribute name: onRequest
model: @Stage Model Only|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Model changed|Method or attribute name: onConnect
model: @stage model only|Method or attribute name: onConnect
model: @Stage Model Only|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Model changed|Method or attribute name: onDisconnect
model: @stage model only|Method or attribute name: onDisconnect
model: @Stage Model Only|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Model changed|Method or attribute name: onReconnect
model: @stage model only|Method or attribute name: onReconnect
model: @Stage Model Only|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Model changed|Method or attribute name: onConfigurationUpdate
model: @stage model only|Method or attribute name: onConfigurationUpdate
model: @Stage Model Only|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Model changed|Method or attribute name: onDump
model: @stage model only|Method or attribute name: onDump
model: @Stage Model Only|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Model changed|Class name: StartOptions
model: @stage model only|Class name: StartOptions
model: @Stage Model Only|@ohos.app.ability.StartOptions.d.ts| +|Model changed|Method or attribute name: windowMode
model: @stage model only|Method or attribute name: windowMode
model: @Stage Model Only|@ohos.app.ability.StartOptions.d.ts| +|Model changed|Method or attribute name: displayId
model: @stage model only|Method or attribute name: displayId
model: @Stage Model Only|@ohos.app.ability.StartOptions.d.ts| +|Model changed|Class name: OnReleaseCallback
model: @stage model only|Class name: OnReleaseCallback
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: OnReleaseCallback
model: @stage model only|Method or attribute name: OnReleaseCallback
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Class name: CalleeCallback
model: @stage model only|Class name: CalleeCallback
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: CalleeCallback
model: @stage model only|Method or attribute name: CalleeCallback
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Class name: Caller
model: @stage model only|Class name: Caller
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: call
model: @stage model only|Method or attribute name: call
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: callWithResult
model: @stage model only|Method or attribute name: callWithResult
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: release
model: @stage model only|Method or attribute name: release
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onRelease
model: @stage model only|Method or attribute name: onRelease
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: on_release
model: @stage model only|Method or attribute name: on_release
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: off_release
model: @stage model only|Method or attribute name: off_release
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: off_release
model: @stage model only|Method or attribute name: off_release
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Class name: Callee
model: @stage model only|Class name: Callee
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: on
model: @stage model only|Method or attribute name: on
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: off
model: @stage model only|Method or attribute name: off
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Class name: UIAbility
model: @stage model only|Class name: UIAbility
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: context
model: @stage model only|Method or attribute name: context
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: launchWant
model: @stage model only|Method or attribute name: launchWant
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: lastRequestWant
model: @stage model only|Method or attribute name: lastRequestWant
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: callee
model: @stage model only|Method or attribute name: callee
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onCreate
model: @stage model only|Method or attribute name: onCreate
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onWindowStageCreate
model: @stage model only|Method or attribute name: onWindowStageCreate
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onWindowStageDestroy
model: @stage model only|Method or attribute name: onWindowStageDestroy
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onWindowStageRestore
model: @stage model only|Method or attribute name: onWindowStageRestore
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onDestroy
model: @stage model only|Method or attribute name: onDestroy
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onForeground
model: @stage model only|Method or attribute name: onForeground
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onBackground
model: @stage model only|Method or attribute name: onBackground
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onContinue
model: @stage model only|Method or attribute name: onContinue
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onNewWant
model: @stage model only|Method or attribute name: onNewWant
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Method or attribute name: onDump
model: @stage model only|Method or attribute name: onDump
model: @Stage Model Only|@ohos.app.ability.UIAbility.d.ts| +|Model changed|Class name: FormExtensionAbility
model: @stage model only|Class name: FormExtensionAbility
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.d.ts| +|Model changed|Method or attribute name: context
model: @stage model only|Method or attribute name: context
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.d.ts| +|Model changed|Method or attribute name: onAddForm
model: @stage model only|Method or attribute name: onAddForm
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.d.ts| +|Model changed|Method or attribute name: onCastToNormalForm
model: @stage model only|Method or attribute name: onCastToNormalForm
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.d.ts| +|Model changed|Method or attribute name: onUpdateForm
model: @stage model only|Method or attribute name: onUpdateForm
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.d.ts| +|Model changed|Method or attribute name: onChangeFormVisibility
model: @stage model only|Method or attribute name: onChangeFormVisibility
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.d.ts| +|Model changed|Method or attribute name: onFormEvent
model: @stage model only|Method or attribute name: onFormEvent
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.d.ts| +|Model changed|Method or attribute name: onRemoveForm
model: @stage model only|Method or attribute name: onRemoveForm
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.d.ts| +|Model changed|Method or attribute name: onConfigurationUpdate
model: @stage model only|Method or attribute name: onConfigurationUpdate
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.d.ts| +|Model changed|Method or attribute name: onAcquireFormState
model: @stage model only|Method or attribute name: onAcquireFormState
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.d.ts| +|Model changed|Method or attribute name: onShareForm
model: @stage model only|Method or attribute name: onShareForm
model: @Stage Model Only|@ohos.app.form.FormExtensionAbility.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: connectServiceExtensionAbility
model: @stage model only|Method or attribute name: connectServiceExtensionAbility
model: @Stage Model Only|AbilityContext.d.ts| +|Model changed|Method or attribute name: connectServiceExtensionAbilityWithAccount
model: @stage model only|Method or attribute name: connectServiceExtensionAbilityWithAccount
model: @Stage Model Only|AbilityContext.d.ts| +|Model changed|Method or attribute name: disconnectServiceExtensionAbility
model: @stage model only|Method or attribute name: disconnectServiceExtensionAbility
model: @Stage Model Only|AbilityContext.d.ts| +|Model changed|Method or attribute name: disconnectServiceExtensionAbility
model: @stage model only|Method or attribute name: disconnectServiceExtensionAbility
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: 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: setMissionIcon
model: @stage model only|Method or attribute name: setMissionIcon
model: @Stage Model Only|AbilityContext.d.ts| +|Model changed|Method or attribute name: requestPermissionsFromUser
model: @stage model only|Method or attribute name: requestPermissionsFromUser
model: @Stage Model Only|AbilityContext.d.ts| +|Model changed|Method or attribute name: requestPermissionsFromUser
model: @stage model only|Method or attribute name: requestPermissionsFromUser
model: @Stage Model Only|AbilityContext.d.ts| +|Model changed|Method or attribute name: restoreWindowStage
model: @stage model only|Method or attribute name: restoreWindowStage
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|Method or attribute name: on_abilityLifecycle
model: @stage model only|Method or attribute name: on_abilityLifecycle
model: @Stage Model Only|ApplicationContext.d.ts| +|Model changed|Method or attribute name: off_abilityLifecycle
model: @stage model only|Method or attribute name: off_abilityLifecycle
model: @Stage Model Only|ApplicationContext.d.ts| +|Model changed|Method or attribute name: off_abilityLifecycle
model: @stage model only|Method or attribute name: off_abilityLifecycle
model: @Stage Model Only|ApplicationContext.d.ts| +|Model changed|Method or attribute name: on_environment
model: @stage model only|Method or attribute name: on_environment
model: @Stage Model Only|ApplicationContext.d.ts| +|Model changed|Method or attribute name: off_environment
model: @stage model only|Method or attribute name: off_environment
model: @Stage Model Only|ApplicationContext.d.ts| +|Model changed|Method or attribute name: off_environment
model: @stage model only|Method or attribute name: off_environment
model: @Stage Model Only|ApplicationContext.d.ts| +|Model changed|Method or attribute name: getProcessRunningInformation
model: @stage model only|Method or attribute name: getProcessRunningInformation
model: @Stage Model Only|ApplicationContext.d.ts| +|Model changed|Method or attribute name: getProcessRunningInformation
model: @stage model only|Method or attribute name: getProcessRunningInformation
model: @Stage Model Only|ApplicationContext.d.ts| +|Model changed|Method or attribute name: killProcessesBySelf
model: @stage model only|Method or attribute name: killProcessesBySelf
model: @Stage Model Only|ApplicationContext.d.ts| +|Model changed|Method or attribute name: killProcessesBySelf
model: @stage model only|Method or attribute name: killProcessesBySelf
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: filesDir
model: @stage model only|Method or attribute name: filesDir
model: @Stage Model Only|Context.d.ts| +|Model changed|Method or attribute name: databaseDir
model: @stage model only|Method or attribute name: databaseDir
model: @Stage Model Only|Context.d.ts| +|Model changed|Method or attribute name: preferencesDir
model: @stage model only|Method or attribute name: preferencesDir
model: @Stage Model Only|Context.d.ts| +|Model changed|Method or attribute name: bundleCodeDir
model: @stage model only|Method or attribute name: bundleCodeDir
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: connectServiceExtensionAbility
model: @stage model only|Method or attribute name: connectServiceExtensionAbility
model: @Stage Model Only|ServiceExtensionContext.d.ts| +|Model changed|Method or attribute name: connectServiceExtensionAbilityWithAccount
model: @stage model only|Method or attribute name: connectServiceExtensionAbilityWithAccount
model: @Stage Model Only|ServiceExtensionContext.d.ts| +|Model changed|Method or attribute name: disconnectServiceExtensionAbility
model: @stage model only|Method or attribute name: disconnectServiceExtensionAbility
model: @Stage Model Only|ServiceExtensionContext.d.ts| +|Model changed|Method or attribute name: disconnectServiceExtensionAbility
model: @stage model only|Method or attribute name: disconnectServiceExtensionAbility
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| +|Model changed|Class name: UIAbilityContext
model: @stage model only|Class name: UIAbilityContext
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: abilityInfo
model: @stage model only|Method or attribute name: abilityInfo
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: currentHapModuleInfo
model: @stage model only|Method or attribute name: currentHapModuleInfo
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: config
model: @stage model only|Method or attribute name: config
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbility
model: @stage model only|Method or attribute name: startAbility
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbility
model: @stage model only|Method or attribute name: startAbility
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbility
model: @stage model only|Method or attribute name: startAbility
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbilityByCall
model: @stage model only|Method or attribute name: startAbilityByCall
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbilityWithAccount
model: @stage model only|Method or attribute name: startAbilityWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbilityWithAccount
model: @stage model only|Method or attribute name: startAbilityWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbilityWithAccount
model: @stage model only|Method or attribute name: startAbilityWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbilityForResult
model: @stage model only|Method or attribute name: startAbilityForResult
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbilityForResult
model: @stage model only|Method or attribute name: startAbilityForResult
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbilityForResult
model: @stage model only|Method or attribute name: startAbilityForResult
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbilityForResultWithAccount
model: @stage model only|Method or attribute name: startAbilityForResultWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbilityForResultWithAccount
model: @stage model only|Method or attribute name: startAbilityForResultWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startAbilityForResultWithAccount
model: @stage model only|Method or attribute name: startAbilityForResultWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startServiceExtensionAbility
model: @stage model only|Method or attribute name: startServiceExtensionAbility
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startServiceExtensionAbility
model: @stage model only|Method or attribute name: startServiceExtensionAbility
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startServiceExtensionAbilityWithAccount
model: @stage model only|Method or attribute name: startServiceExtensionAbilityWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: startServiceExtensionAbilityWithAccount
model: @stage model only|Method or attribute name: startServiceExtensionAbilityWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: stopServiceExtensionAbility
model: @stage model only|Method or attribute name: stopServiceExtensionAbility
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: stopServiceExtensionAbility
model: @stage model only|Method or attribute name: stopServiceExtensionAbility
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: stopServiceExtensionAbilityWithAccount
model: @stage model only|Method or attribute name: stopServiceExtensionAbilityWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: stopServiceExtensionAbilityWithAccount
model: @stage model only|Method or attribute name: stopServiceExtensionAbilityWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: terminateSelf
model: @stage model only|Method or attribute name: terminateSelf
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: terminateSelf
model: @stage model only|Method or attribute name: terminateSelf
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: terminateSelfWithResult
model: @stage model only|Method or attribute name: terminateSelfWithResult
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: terminateSelfWithResult
model: @stage model only|Method or attribute name: terminateSelfWithResult
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: connectServiceExtensionAbility
model: @stage model only|Method or attribute name: connectServiceExtensionAbility
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: connectServiceExtensionAbilityWithAccount
model: @stage model only|Method or attribute name: connectServiceExtensionAbilityWithAccount
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: disconnectServiceExtensionAbility
model: @stage model only|Method or attribute name: disconnectServiceExtensionAbility
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: disconnectServiceExtensionAbility
model: @stage model only|Method or attribute name: disconnectServiceExtensionAbility
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: setMissionLabel
model: @stage model only|Method or attribute name: setMissionLabel
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: setMissionLabel
model: @stage model only|Method or attribute name: setMissionLabel
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: setMissionIcon
model: @stage model only|Method or attribute name: setMissionIcon
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: setMissionIcon
model: @stage model only|Method or attribute name: setMissionIcon
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: requestPermissionsFromUser
model: @stage model only|Method or attribute name: requestPermissionsFromUser
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: requestPermissionsFromUser
model: @stage model only|Method or attribute name: requestPermissionsFromUser
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: restoreWindowStage
model: @stage model only|Method or attribute name: restoreWindowStage
model: @Stage Model Only|UIAbilityContext.d.ts| +|Model changed|Method or attribute name: isTerminating
model: @stage model only|Method or attribute name: isTerminating
model: @Stage Model Only|UIAbilityContext.d.ts| +|Access level changed|Method or attribute name: requestPermissionsFromUser
Access level: system API|Method or attribute name: requestPermissionsFromUser
Access level: public API|AbilityContext.d.ts| +|Access level changed|Method or attribute name: requestPermissionsFromUser
Access level: system API|Method or attribute name: requestPermissionsFromUser
Access level: public API|AbilityContext.d.ts| +|Access level changed|Method or attribute name: restoreWindowStage
Access level: system API|Method or attribute name: restoreWindowStage
Access level: public API|AbilityContext.d.ts| +|Access level changed|Method or attribute name: isTerminating
Access level: system API|Method or attribute name: isTerminating
Access level: public API|AbilityContext.d.ts| +|Access level changed|Method or attribute name: requestPermissionsFromUser
Access level: system API|Method or attribute name: requestPermissionsFromUser
Access level: public API|UIAbilityContext.d.ts| +|Access level changed|Method or attribute name: requestPermissionsFromUser
Access level: system API|Method or attribute name: requestPermissionsFromUser
Access level: public API|UIAbilityContext.d.ts| +|Access level changed|Method or attribute name: restoreWindowStage
Access level: system API|Method or attribute name: restoreWindowStage
Access level: public API|UIAbilityContext.d.ts| +|Access level changed|Method or attribute name: isTerminating
Access level: system API|Method or attribute name: isTerminating
Access level: public API|UIAbilityContext.d.ts| +|Access level changed|Method or attribute name: requestPermissionsFromUser
Access level: system API|Method or attribute name: requestPermissionsFromUser
Access level: public API|AbilityContext.d.ts| +|Access level changed|Method or attribute name: requestPermissionsFromUser
Access level: system API|Method or attribute name: requestPermissionsFromUser
Access level: public API|AbilityContext.d.ts| +|Access level changed|Method or attribute name: restoreWindowStage
Access level: system API|Method or attribute name: restoreWindowStage
Access level: public API|AbilityContext.d.ts| +|Access level changed|Method or attribute name: isTerminating
Access level: system API|Method or attribute name: isTerminating
Access level: public API|AbilityContext.d.ts| +|Access level changed|Method or attribute name: requestPermissionsFromUser
Access level: system API|Method or attribute name: requestPermissionsFromUser
Access level: public API|UIAbilityContext.d.ts| +|Access level changed|Method or attribute name: requestPermissionsFromUser
Access level: system API|Method or attribute name: requestPermissionsFromUser
Access level: public API|UIAbilityContext.d.ts| +|Access level changed|Method or attribute name: restoreWindowStage
Access level: system API|Method or attribute name: restoreWindowStage
Access level: public API|UIAbilityContext.d.ts| +|Access level changed|Method or attribute name: isTerminating
Access level: system API|Method or attribute name: isTerminating
Access level: public API|UIAbilityContext.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-account.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-account.md new file mode 100644 index 0000000000000000000000000000000000000000..37699bd7a87766e29a28490103a1b664dd713aa1 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-account.md @@ -0,0 +1,4 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: setProperty
Function name: setProperty(request: SetPropertyRequest, callback: AsyncCallback): void;|@ohos.account.osAccount.d.ts| +|Added||Method or attribute name: setProperty
Function name: setProperty(request: SetPropertyRequest): Promise;|@ohos.account.osAccount.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-application.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-application.md new file mode 100644 index 0000000000000000000000000000000000000000..da0b90553cfe4376d44cf330796736e577351743 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-application.md @@ -0,0 +1,39 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Permission added|Method or attribute name: hangup
Permission: N/A|Method or attribute name: hangup
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: hangup
Permission: N/A|Method or attribute name: hangup
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: reject
Permission: N/A|Method or attribute name: reject
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: reject
Permission: N/A|Method or attribute name: reject
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: reject
Permission: N/A|Method or attribute name: reject
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: reject
Permission: N/A|Method or attribute name: reject
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: reject
Permission: N/A|Method or attribute name: reject
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: holdCall
Permission: N/A|Method or attribute name: holdCall
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: holdCall
Permission: N/A|Method or attribute name: holdCall
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: unHoldCall
Permission: N/A|Method or attribute name: unHoldCall
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: unHoldCall
Permission: N/A|Method or attribute name: unHoldCall
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: switchCall
Permission: N/A|Method or attribute name: switchCall
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: switchCall
Permission: N/A|Method or attribute name: switchCall
Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallWaitingStatus
Permission: N/A|Method or attribute name: getCallWaitingStatus
Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallWaitingStatus
Permission: N/A|Method or attribute name: getCallWaitingStatus
Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallWaiting
Permission: N/A|Method or attribute name: setCallWaiting
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallWaiting
Permission: N/A|Method or attribute name: setCallWaiting
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: on_callDetailsChange
Permission: N/A|Method or attribute name: on_callDetailsChange
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: off_callDetailsChange
Permission: N/A|Method or attribute name: off_callDetailsChange
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: on_callEventChange
Permission: N/A|Method or attribute name: on_callEventChange
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: off_callEventChange
Permission: N/A|Method or attribute name: off_callEventChange
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: on_callDisconnectedCause
Permission: N/A|Method or attribute name: on_callDisconnectedCause
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: off_callDisconnectedCause
Permission: N/A|Method or attribute name: off_callDisconnectedCause
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: on_mmiCodeResult
Permission: N/A|Method or attribute name: on_mmiCodeResult
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: off_mmiCodeResult
Permission: N/A|Method or attribute name: off_mmiCodeResult
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallRestrictionStatus
Permission: N/A|Method or attribute name: getCallRestrictionStatus
Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallRestrictionStatus
Permission: N/A|Method or attribute name: getCallRestrictionStatus
Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallRestriction
Permission: N/A|Method or attribute name: setCallRestriction
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallRestriction
Permission: N/A|Method or attribute name: setCallRestriction
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallTransferInfo
Permission: N/A|Method or attribute name: getCallTransferInfo
Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallTransferInfo
Permission: N/A|Method or attribute name: getCallTransferInfo
Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallTransfer
Permission: N/A|Method or attribute name: setCallTransfer
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallTransfer
Permission: N/A|Method or attribute name: setCallTransfer
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: enableImsSwitch
Permission: N/A|Method or attribute name: enableImsSwitch
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: enableImsSwitch
Permission: N/A|Method or attribute name: enableImsSwitch
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: disableImsSwitch
Permission: N/A|Method or attribute name: disableImsSwitch
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: disableImsSwitch
Permission: N/A|Method or attribute name: disableImsSwitch
Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-arkui.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-arkui.md new file mode 100644 index 0000000000000000000000000000000000000000..911ac0f8147ccc775b03948bdf64ac4388fbdd93 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-arkui.md @@ -0,0 +1,3 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: GridColInterface
Function name: (option?: GridColOptions): GridColAttribute;|grid_col.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-bundle.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-bundle.md new file mode 100644 index 0000000000000000000000000000000000000000..da0c1f884def44dd2d9e3a0a7e6b244bc694c64c --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-bundle.md @@ -0,0 +1,205 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: bundleName
Function name: readonly bundleName: string;|@ohos.bundle.bundleMonitor.d.ts| +|Added||Method or attribute name: userId
Function name: readonly userId: number;|@ohos.bundle.bundleMonitor.d.ts| +|Added||Module name: ohos.bundle.defaultAppManager
Class name: defaultAppManager|@ohos.bundle.defaultAppManager.d.ts| +|Added||Module name: ohos.bundle.defaultAppManager
Class name: ApplicationType|@ohos.bundle.defaultAppManager.d.ts| +|Added||Module name: ohos.bundle.defaultAppManager
Class name: ApplicationType
Method or attribute name: BROWSER|@ohos.bundle.defaultAppManager.d.ts| +|Added||Module name: ohos.bundle.defaultAppManager
Class name: ApplicationType
Method or attribute name: IMAGE|@ohos.bundle.defaultAppManager.d.ts| +|Added||Module name: ohos.bundle.defaultAppManager
Class name: ApplicationType
Method or attribute name: AUDIO|@ohos.bundle.defaultAppManager.d.ts| +|Added||Module name: ohos.bundle.defaultAppManager
Class name: ApplicationType
Method or attribute name: VIDEO|@ohos.bundle.defaultAppManager.d.ts| +|Added||Module name: ohos.bundle.defaultAppManager
Class name: ApplicationType
Method or attribute name: PDF|@ohos.bundle.defaultAppManager.d.ts| +|Added||Module name: ohos.bundle.defaultAppManager
Class name: ApplicationType
Method or attribute name: WORD|@ohos.bundle.defaultAppManager.d.ts| +|Added||Module name: ohos.bundle.defaultAppManager
Class name: ApplicationType
Method or attribute name: EXCEL|@ohos.bundle.defaultAppManager.d.ts| +|Added||Module name: ohos.bundle.defaultAppManager
Class name: ApplicationType
Method or attribute name: PPT|@ohos.bundle.defaultAppManager.d.ts| +|Added||Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: metadata|abilityInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: metadata|applicationInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: iconResource|applicationInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: labelResource|applicationInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: descriptionResource|applicationInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: appDistributionType|applicationInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: appProvisionType|applicationInfo.d.ts| +|Added||Module name: bundleInfo
Class name: ReqPermissionDetail
Method or attribute name: reasonId|bundleInfo.d.ts| +|Added||Module name: dispatchInfo
Class name: DispatchInfo|dispatchInfo.d.ts| +|Added||Module name: dispatchInfo
Class name: DispatchInfo
Method or attribute name: version|dispatchInfo.d.ts| +|Added||Module name: elementName
Class name: ElementName
Method or attribute name: moduleName|elementName.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: bundleName|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: moduleName|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: name|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: labelId|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: descriptionId|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: iconId|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: isVisible|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: permissions|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: applicationInfo|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: metadata|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: enabled|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: readPermission|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: writePermission|extensionAbilityInfo.d.ts| +|Added||Module name: hapModuleInfo
Class name: HapModuleInfo
Method or attribute name: mainElementName|hapModuleInfo.d.ts| +|Added||Module name: hapModuleInfo
Class name: HapModuleInfo
Method or attribute name: metadata|hapModuleInfo.d.ts| +|Added||Module name: hapModuleInfo
Class name: HapModuleInfo
Method or attribute name: hashValue|hapModuleInfo.d.ts| +|Added||Module name: metadata
Class name: Metadata
Method or attribute name: name|metadata.d.ts| +|Added||Module name: metadata
Class name: Metadata
Method or attribute name: value|metadata.d.ts| +|Added||Module name: metadata
Class name: Metadata
Method or attribute name: resource|metadata.d.ts| +|Added||Module name: packInfo
Class name: BundlePackInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: BundlePackInfo
Method or attribute name: packages|packInfo.d.ts| +|Added||Module name: packInfo
Class name: BundlePackInfo
Method or attribute name: summary|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageConfig|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageConfig
Method or attribute name: name|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageConfig
Method or attribute name: moduleType|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageConfig
Method or attribute name: deliveryWithInstall|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageSummary|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageSummary
Method or attribute name: app|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageSummary
Method or attribute name: modules|packInfo.d.ts| +|Added||Module name: packInfo
Class name: BundleConfigInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: BundleConfigInfo
Method or attribute name: bundleName|packInfo.d.ts| +|Added||Module name: packInfo
Class name: BundleConfigInfo
Method or attribute name: version|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleConfigInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleConfigInfo
Method or attribute name: apiVersion|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleConfigInfo
Method or attribute name: distro|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleConfigInfo
Method or attribute name: abilities|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleDistroInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleDistroInfo
Method or attribute name: deliveryWithInstall|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleDistroInfo
Method or attribute name: installationFree|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleDistroInfo
Method or attribute name: moduleName|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleDistroInfo
Method or attribute name: moduleType|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleAbilityInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleAbilityInfo
Method or attribute name: name|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleAbilityInfo
Method or attribute name: label|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleAbilityInfo
Method or attribute name: visible|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleAbilityInfo
Method or attribute name: forms|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: name|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: type|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: updateEnabled|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: scheduledUpdateTime|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: updateDuration|packInfo.d.ts| +|Added||Module name: packInfo
Class name: Version|packInfo.d.ts| +|Added||Module name: packInfo
Class name: Version
Method or attribute name: minCompatibleVersionCode|packInfo.d.ts| +|Added||Module name: packInfo
Class name: Version
Method or attribute name: name|packInfo.d.ts| +|Added||Module name: packInfo
Class name: Version
Method or attribute name: code|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ApiVersion|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ApiVersion
Method or attribute name: releaseType|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ApiVersion
Method or attribute name: compatible|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ApiVersion
Method or attribute name: target|packInfo.d.ts| +|Added||Method or attribute name: permissionName
Function name: readonly permissionName: string;|permissionDef.d.ts| +|Added||Method or attribute name: grantMode
Function name: readonly grantMode: number;|permissionDef.d.ts| +|Added||Method or attribute name: labelId
Function name: readonly labelId: number;|permissionDef.d.ts| +|Added||Method or attribute name: descriptionId
Function name: readonly descriptionId: number;|permissionDef.d.ts| +|Added||Module name: shortcutInfo
Class name: ShortcutWant
Method or attribute name: targetModule|shortcutInfo.d.ts| +|Deleted|Module name: ohos.bundle
Class name: BundleFlag
Method or attribute name: GET_BUNDLE_WITH_EXTENSION_ABILITY||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: BundleFlag
Method or attribute name: GET_BUNDLE_WITH_HASH_VALUE||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: BundleFlag
Method or attribute name: GET_APPLICATION_INFO_WITH_CERTIFICATE_FINGERPRINT||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionFlag||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionFlag
Method or attribute name: GET_EXTENSION_INFO_DEFAULT||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionFlag
Method or attribute name: GET_EXTENSION_INFO_WITH_PERMISSION||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionFlag
Method or attribute name: GET_EXTENSION_INFO_WITH_APPLICATION||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionFlag
Method or attribute name: GET_EXTENSION_INFO_WITH_METADATA||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: LANDSCAPE_INVERTED||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: PORTRAIT_INVERTED||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION_LANDSCAPE||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION_PORTRAIT||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION_RESTRICTED||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION_LANDSCAPE_RESTRICTED||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION_PORTRAIT_RESTRICTED||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: LOCKED||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: FORM||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: WORK_SCHEDULER||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: INPUT_METHOD||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: SERVICE||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: ACCESSIBILITY||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: DATA_SHARE||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: FILE_SHARE||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: STATIC_SUBSCRIBER||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: WALLPAPER||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: BACKUP||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: WINDOW||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: ENTERPRISE_ADMIN||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: THUMBNAIL||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: PREVIEW||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: UNSPECIFIED||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: UpgradeFlag||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: UpgradeFlag
Method or attribute name: NOT_UPGRADE||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: UpgradeFlag
Method or attribute name: SINGLE_UPGRADE||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: UpgradeFlag
Method or attribute name: RELATION_UPGRADE||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: SupportWindowMode||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: SupportWindowMode
Method or attribute name: FULL_SCREEN||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: SupportWindowMode
Method or attribute name: SPLIT||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: SupportWindowMode
Method or attribute name: FLOATING||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: queryExtensionAbilityInfos||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: queryExtensionAbilityInfos||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: queryExtensionAbilityInfos||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: setModuleUpgradeFlag||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: setModuleUpgradeFlag||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: isModuleRemovable||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: isModuleRemovable||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getBundlePackInfo||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getBundlePackInfo||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getAbilityInfo||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getAbilityInfo||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getDispatcherVersion||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getDispatcherVersion||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getAbilityLabel||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getAbilityLabel||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getAbilityIcon||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getAbilityIcon||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getProfileByAbility||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getProfileByAbility||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getProfileByExtensionAbility||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getProfileByExtensionAbility||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: setDisposedStatus||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: setDisposedStatus||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getDisposedStatus||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getDisposedStatus||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getApplicationInfoSync||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getApplicationInfoSync||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getBundleInfoSync||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.bundle
Class name: bundle
Method or attribute name: getBundleInfoSync||@ohos.bundle.d.ts| +|Deleted|Module name: ohos.distributedBundle
Class name: distributedBundle
Method or attribute name: getRemoteAbilityInfo||@ohos.distributedBundle.d.ts| +|Deleted|Module name: ohos.distributedBundle
Class name: distributedBundle
Method or attribute name: getRemoteAbilityInfo||@ohos.distributedBundle.d.ts| +|Deleted|Module name: ohos.distributedBundle
Class name: distributedBundle
Method or attribute name: getRemoteAbilityInfos||@ohos.distributedBundle.d.ts| +|Deleted|Module name: ohos.distributedBundle
Class name: distributedBundle
Method or attribute name: getRemoteAbilityInfos||@ohos.distributedBundle.d.ts| +|Deleted|Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: supportWindowMode||abilityInfo.d.ts| +|Deleted|Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: maxWindowRatio||abilityInfo.d.ts| +|Deleted|Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: minWindowRatio||abilityInfo.d.ts| +|Deleted|Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: maxWindowWidth||abilityInfo.d.ts| +|Deleted|Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: minWindowWidth||abilityInfo.d.ts| +|Deleted|Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: maxWindowHeight||abilityInfo.d.ts| +|Deleted|Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: minWindowHeight||abilityInfo.d.ts| +|Deleted|Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: labelIndex||applicationInfo.d.ts| +|Deleted|Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: iconIndex||applicationInfo.d.ts| +|Deleted|Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: fingerprint||applicationInfo.d.ts| +|Deleted|Module name: bundleInfo
Class name: BundleInfo
Method or attribute name: extensionAbilityInfo||bundleInfo.d.ts| +|Deleted|Module name: bundleInstaller
Class name: HashParam||bundleInstaller.d.ts| +|Deleted|Module name: bundleInstaller
Class name: HashParam
Method or attribute name: moduleName||bundleInstaller.d.ts| +|Deleted|Module name: bundleInstaller
Class name: HashParam
Method or attribute name: hashValue||bundleInstaller.d.ts| +|Deleted|Module name: bundleInstaller
Class name: InstallParam
Method or attribute name: hashParams||bundleInstaller.d.ts| +|Deleted|Module name: bundleInstaller
Class name: InstallParam
Method or attribute name: crowdtestDeadline||bundleInstaller.d.ts| +|Deleted|Module name: dispatchInfo
Class name: DispatchInfo
Method or attribute name: dispatchAPI||dispatchInfo.d.ts| +|Deleted|Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: extensionAbilityType||extensionAbilityInfo.d.ts| +|Deleted|Module name: hapModuleInfo
Class name: HapModuleInfo
Method or attribute name: extensionAbilityInfo||hapModuleInfo.d.ts| +|Deleted|Module name: packInfo
Class name: PackageConfig
Method or attribute name: deviceType||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: ExtensionAbilities||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: ExtensionAbilities
Method or attribute name: name||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: ExtensionAbilities
Method or attribute name: forms||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: ModuleConfigInfo
Method or attribute name: deviceType||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: ModuleConfigInfo
Method or attribute name: extensionAbilities||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: ModuleDistroInfo
Method or attribute name: mainAbility||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: supportDimensions||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: defaultDimension||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: BundlePackFlag||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: BundlePackFlag
Method or attribute name: GET_PACK_INFO_ALL||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: BundlePackFlag
Method or attribute name: GET_PACKAGES||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: BundlePackFlag
Method or attribute name: GET_BUNDLE_SUMMARY||packInfo.d.ts| +|Deleted|Module name: packInfo
Class name: BundlePackFlag
Method or attribute name: GET_MODULE_SUMMARY||packInfo.d.ts| +|Deleted|Module name: shortcutInfo
Class name: ShortcutInfo
Method or attribute name: moduleName||shortcutInfo.d.ts| +|Deprecated version changed|Class name: innerBundleManager
Deprecated version: N/A|Class name: innerBundleManager
Deprecated version: 9
New API: ohos.bundle.launcherBundleManager |@ohos.bundle.innerBundleManager.d.ts| +|Deprecated version changed|Class name: CheckPackageHasInstalledResponse
Deprecated version: N/A|Class name: CheckPackageHasInstalledResponse
Deprecated version: 9|@system.package.d.ts| +|Deprecated version changed|Class name: CheckPackageHasInstalledOptions
Deprecated version: N/A|Class name: CheckPackageHasInstalledOptions
Deprecated version: 9|@system.package.d.ts| +|Deprecated version changed|Class name: Package
Deprecated version: N/A|Class name: Package
Deprecated version: 9|@system.package.d.ts| +|Deprecated version changed|Method or attribute name: hasInstalled
Deprecated version: N/A|Method or attribute name: hasInstalled
Deprecated version: 9|@system.package.d.ts| +|Deprecated version changed|Class name: ExtensionAbilityInfo
Deprecated version: 9|Class name: ExtensionAbilityInfo
Deprecated version: N/A|extensionAbilityInfo.d.ts| +|Deprecated version changed|Class name: Metadata
Deprecated version: 9|Class name: Metadata
Deprecated version: N/A|metadata.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-communication.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-communication.md new file mode 100644 index 0000000000000000000000000000000000000000..87a7fee55c4b77eb0406837af62c8215b838c43f --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-communication.md @@ -0,0 +1,52 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.net.connection
Class name: connection
Method or attribute name: isDefaultNetMetered|@ohos.net.connection.d.ts| +|Added||Module name: ohos.net.connection
Class name: connection
Method or attribute name: isDefaultNetMetered|@ohos.net.connection.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: bind|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: bind|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: getRemoteAddress|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: getRemoteAddress|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: getState|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: getState|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: setExtraOptions|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: setExtraOptions|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: on_message|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: off_message|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: on_connect|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: on_close|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: off_connect|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: off_close|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: on_error|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: off_error|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: close|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: close|@ohos.net.socket.d.ts| +|Added||Method or attribute name: cert
Function name: cert?: string;|@ohos.net.socket.d.ts| +|Added||Method or attribute name: key
Function name: key?: string;|@ohos.net.socket.d.ts| +|Added||Method or attribute name: NDEF_FORMATABLE
Function name: const NDEF_FORMATABLE = 7;|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: makeUriRecord|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: makeTextRecord|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: makeMimeRecord|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: makeExternalRecord|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: createNdefMessage|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: createNdefMessage|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: messageToBytes|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.rpc
Class name: IRemoteObject
Method or attribute name: getDescriptor|@ohos.rpc.d.ts| +|Added||Method or attribute name: scan
Function name: function scan(): void;|@ohos.wifiManager.d.ts| +|Deleted|Module name: nfctech
Class name: NdefMessage
Method or attribute name: makeUriRecord||nfctech.d.ts| +|Deleted|Module name: nfctech
Class name: NdefMessage
Method or attribute name: makeTextRecord||nfctech.d.ts| +|Deleted|Module name: nfctech
Class name: NdefMessage
Method or attribute name: makeMimeRecord||nfctech.d.ts| +|Deleted|Module name: nfctech
Class name: NdefMessage
Method or attribute name: makeExternalRecord||nfctech.d.ts| +|Deleted|Module name: nfctech
Class name: NdefMessage
Method or attribute name: messageToBytes||nfctech.d.ts| +|Deleted|Module name: nfctech
Class name: NdefTag
Method or attribute name: createNdefMessage||nfctech.d.ts| +|Deleted|Module name: nfctech
Class name: NdefTag
Method or attribute name: createNdefMessage||nfctech.d.ts| +|Access level changed|Class name: WifiInfoElem
Access level: system API|Class name: WifiInfoElem
Access level: public API|@ohos.wifiManager.d.ts| +|Access level changed|Method or attribute name: eid
Access level: system API|Method or attribute name: eid
Access level: public API|@ohos.wifiManager.d.ts| +|Access level changed|Method or attribute name: content
Access level: system API|Method or attribute name: content
Access level: public API|@ohos.wifiManager.d.ts| +|Permission deleted|Method or attribute name: connect
Permission: ohos.permission.INTERNET|Method or attribute name: connect
Permission: N/A|@ohos.net.socket.d.ts| +|Permission deleted|Method or attribute name: connect
Permission: ohos.permission.INTERNET|Method or attribute name: connect
Permission: N/A|@ohos.net.socket.d.ts| +|Permission deleted|Method or attribute name: send
Permission: ohos.permission.INTERNET|Method or attribute name: send
Permission: N/A|@ohos.net.socket.d.ts| +|Permission deleted|Method or attribute name: send
Permission: ohos.permission.INTERNET|Method or attribute name: send
Permission: N/A|@ohos.net.socket.d.ts| +|Access level changed|Class name: WifiInfoElem
Access level: system API|Class name: WifiInfoElem
Access level: public API|@ohos.wifiManager.d.ts| +|Access level changed|Method or attribute name: eid
Access level: system API|Method or attribute name: eid
Access level: public API|@ohos.wifiManager.d.ts| +|Access level changed|Method or attribute name: content
Access level: system API|Method or attribute name: content
Access level: public API|@ohos.wifiManager.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-compiler-and-runtime.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-compiler-and-runtime.md new file mode 100644 index 0000000000000000000000000000000000000000..f2c2ae1ee7efaade386cff38805268d445ba66cf --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-compiler-and-runtime.md @@ -0,0 +1,29 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: string, key: string, searchParams: this) => void, thisArg?: Object): void;|@ohos.url.d.ts| +|Added||Method or attribute name: replaceAllElements
Function name: replaceAllElements(callbackFn: (value: T, index?: number, arrlist?: ArrayList) => T,

thisArg?: Object): void;|@ohos.util.ArrayList.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, arrlist?: ArrayList) => void,

thisArg?: Object): void;|@ohos.util.ArrayList.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, deque?: Deque) => void,

thisArg?: Object): void;|@ohos.util.Deque.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: V, key?: K, map?: HashMap) => void,

thisArg?: Object): void;|@ohos.util.HashMap.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: T, key?: T, set?: HashSet) => void,

thisArg?: Object): void;|@ohos.util.HashSet.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: V, key?: K, map?: LightWeightMap) => void,

thisArg?: Object): void;|@ohos.util.LightWeightMap.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: T, key?: T, set?: LightWeightSet) => void,

thisArg?: Object): void;|@ohos.util.LightWeightSet.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, LinkedList?: LinkedList) => void,

thisArg?: Object): void;|@ohos.util.LinkedList.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, List?: List) => void,

thisArg?: Object): void;|@ohos.util.List.d.ts| +|Added||Method or attribute name: replaceAllElements
Function name: replaceAllElements(callbackFn: (value: T, index?: number, list?: List) => T,

thisArg?: Object): void;|@ohos.util.List.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, PlainArray?: PlainArray) => void,

thisArg?: Object): void;|@ohos.util.PlainArray.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, Queue?: Queue) => void,

thisArg?: Object): void;|@ohos.util.Queue.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, stack?: Stack) => void,

thisArg?: Object): void;|@ohos.util.Stack.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: V, key?: K, map?: TreeMap) => void,

thisArg?: Object): void;|@ohos.util.TreeMap.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: T, key?: T, set?: TreeSet) => void,

thisArg?: Object): void;|@ohos.util.TreeSet.d.ts| +|Added||Method or attribute name: replaceAllElements
Function name: replaceAllElements(callbackFn: (value: T, index?: number, vector?: Vector) => T,

thisArg?: Object): void;|@ohos.util.Vector.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, vector?: Vector) => void,

thisArg?: Object): void;|@ohos.util.Vector.d.ts| +|Added||Module name: ohos.worker
Class name: MessageEvents|@ohos.worker.d.ts| +|Added||Module name: ohos.worker
Class name: MessageEvents
Method or attribute name: data|@ohos.worker.d.ts| +|Added||Method or attribute name: onmessage
Function name: onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;|@ohos.worker.d.ts| +|Added||Method or attribute name: onmessageerror
Function name: onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;|@ohos.worker.d.ts| +|Added||Method or attribute name: onmessage
Function name: onmessage?: (event: MessageEvents) => void;|@ohos.worker.d.ts| +|Added||Method or attribute name: onmessageerror
Function name: onmessageerror?: (event: MessageEvents) => void;|@ohos.worker.d.ts| +|Deprecated version changed|Class name: Vector
Deprecated version: N/A|Class name: Vector
Deprecated version: 9
New API: ohos.util.ArrayList |@ohos.util.Vector.d.ts| +|Deprecated version changed|Class name: Worker
Deprecated version: N/A|Class name: Worker
Deprecated version: 9
New API: ohos.worker.ThreadWorker |@ohos.worker.d.ts| +|Initial version changed|Class name: Vector
Initial version: |Class name: Vector
Initial version: 8|@ohos.util.Vector.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-customization.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-customization.md new file mode 100644 index 0000000000000000000000000000000000000000..dcbdde363d7da796f6a1cdea3566cd6de4348538 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-customization.md @@ -0,0 +1,82 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: EnterpriseInfo|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: EnterpriseInfo
Method or attribute name: name|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: EnterpriseInfo
Method or attribute name: description|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: AdminType|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: AdminType
Method or attribute name: ADMIN_TYPE_NORMAL|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: AdminType
Method or attribute name: ADMIN_TYPE_SUPER|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: ManagedEvent|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: ManagedEvent
Method or attribute name: MANAGED_EVENT_BUNDLE_ADDED|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: ManagedEvent
Method or attribute name: MANAGED_EVENT_BUNDLE_REMOVED|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: enableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: enableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: enableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: disableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: disableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: disableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: disableSuperAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: disableSuperAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: isAdminEnabled|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: isAdminEnabled|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: isAdminEnabled|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: getEnterpriseInfo|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: getEnterpriseInfo|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: setEnterpriseInfo|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: setEnterpriseInfo|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: isSuperAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: isSuperAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: subscribeManagedEvent|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: subscribeManagedEvent|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: unsubscribeManagedEvent|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: unsubscribeManagedEvent|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.dateTimeManager
Class name: dateTimeManager|@ohos.enterprise.dateTimeManager.d.ts| +|Added||Module name: ohos.enterprise.dateTimeManager
Class name: dateTimeManager
Method or attribute name: setDateTime|@ohos.enterprise.dateTimeManager.d.ts| +|Added||Module name: ohos.enterprise.dateTimeManager
Class name: dateTimeManager
Method or attribute name: setDateTime|@ohos.enterprise.dateTimeManager.d.ts| +|Added||Module name: ohos.enterprise.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts| +|Added||Module name: ohos.enterprise.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onAdminEnabled|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts| +|Added||Module name: ohos.enterprise.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onAdminDisabled|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts| +|Added||Module name: ohos.enterprise.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onBundleAdded|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts| +|Added||Module name: ohos.enterprise.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onBundleRemoved|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts| +|Deleted|Module name: ohos.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility||@ohos.EnterpriseAdminExtensionAbility.d.ts| +|Deleted|Module name: ohos.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onAdminEnabled||@ohos.EnterpriseAdminExtensionAbility.d.ts| +|Deleted|Module name: ohos.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onAdminDisabled||@ohos.EnterpriseAdminExtensionAbility.d.ts| +|Deleted|Module name: ohos.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onBundleAdded||@ohos.EnterpriseAdminExtensionAbility.d.ts| +|Deleted|Module name: ohos.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onBundleRemoved||@ohos.EnterpriseAdminExtensionAbility.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: EnterpriseInfo||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: EnterpriseInfo
Method or attribute name: name||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: EnterpriseInfo
Method or attribute name: description||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: AdminType||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: AdminType
Method or attribute name: ADMIN_TYPE_NORMAL||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: AdminType
Method or attribute name: ADMIN_TYPE_SUPER||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: ManagedEvent||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: ManagedEvent
Method or attribute name: MANAGED_EVENT_BUNDLE_ADDED||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: ManagedEvent
Method or attribute name: MANAGED_EVENT_BUNDLE_REMOVED||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: enableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: enableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: enableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: disableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: disableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: disableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: disableSuperAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: disableSuperAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: isAdminEnabled||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: isAdminEnabled||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: isAdminEnabled||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: getEnterpriseInfo||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: getEnterpriseInfo||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: setEnterpriseInfo||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: setEnterpriseInfo||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: isSuperAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: isSuperAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: getDeviceSettingsManager||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: getDeviceSettingsManager||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: subscribeManagedEvent||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: subscribeManagedEvent||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: unsubscribeManagedEvent||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: unsubscribeManagedEvent||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: DeviceSettingsManager
Class name: DeviceSettingsManager||DeviceSettingsManager.d.ts| +|Deleted|Module name: DeviceSettingsManager
Class name: DeviceSettingsManager
Method or attribute name: setDateTime||DeviceSettingsManager.d.ts| +|Deleted|Module name: DeviceSettingsManager
Class name: DeviceSettingsManager
Method or attribute name: setDateTime||DeviceSettingsManager.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-dfx.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-dfx.md new file mode 100644 index 0000000000000000000000000000000000000000..f784853facf75d02cce4793ec5bd6d93cae42dbb --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-dfx.md @@ -0,0 +1,6 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Deprecated version changed|Class name: bytrace
Deprecated version: N/A|Class name: bytrace
Deprecated version: 8
Deprecated version: ohos.hiTraceMeter |@ohos.bytrace.d.ts| +|Deprecated version changed|Method or attribute name: startTrace
Deprecated version: N/A|Method or attribute name: startTrace
Deprecated version: 8
Deprecated version: ohos.hiTraceMeter.startTrace |@ohos.bytrace.d.ts| +|Deprecated version changed|Method or attribute name: finishTrace
Deprecated version: N/A|Method or attribute name: finishTrace
Deprecated version: 8
Deprecated version: ohos.hiTraceMeter.finishTrace |@ohos.bytrace.d.ts| +|Deprecated version changed|Method or attribute name: traceByValue
Deprecated version: N/A|Method or attribute name: traceByValue
Deprecated version: 8
Deprecated version: ohos.hiTraceMeter.traceByValue |@ohos.bytrace.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-distributed-data.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-distributed-data.md new file mode 100644 index 0000000000000000000000000000000000000000..99066f5d0e54b3811586940ad4c4417d439ff002 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-distributed-data.md @@ -0,0 +1,33 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.data.distributedData
Class name: KVStore
Method or attribute name: off_syncComplete|@ohos.data.distributedData.d.ts| +|Added||Module name: ohos.data.distributedData
Class name: SingleKVStore
Method or attribute name: on_dataChange|@ohos.data.distributedData.d.ts| +|Added||Module name: ohos.data.distributedData
Class name: SingleKVStore
Method or attribute name: off_dataChange|@ohos.data.distributedData.d.ts| +|Added||Module name: ohos.data.distributedData
Class name: DeviceKVStore
Method or attribute name: on_dataChange|@ohos.data.distributedData.d.ts| +|Added||Module name: ohos.data.distributedData
Class name: DeviceKVStore
Method or attribute name: off_dataChange|@ohos.data.distributedData.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| +|Access level changed|Method or attribute name: update
Access level: public API|Method or attribute name: update
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: update
Access level: public API|Method or attribute name: update
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: delete
Access level: public API|Method or attribute name: delete
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: delete
Access level: public API|Method or attribute name: delete
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: query
Access level: public API|Method or attribute name: query
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: query
Access level: public API|Method or attribute name: query
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: update
Access level: public API|Method or attribute name: update
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: update
Access level: public API|Method or attribute name: update
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: delete
Access level: public API|Method or attribute name: delete
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: delete
Access level: public API|Method or attribute name: delete
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: query
Access level: public API|Method or attribute name: query
Access level: system API|@ohos.data.rdb.d.ts| +|Access level changed|Method or attribute name: query
Access level: public API|Method or attribute name: query
Access level: system API|@ohos.data.rdb.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-file-management.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-file-management.md new file mode 100644 index 0000000000000000000000000000000000000000..ab0eeed26efa373887e106be48b39233d7db6b0a --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-file-management.md @@ -0,0 +1,80 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.file.fs
Class name: fileIo|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: READ_ONLY|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: WRITE_ONLY|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: READ_WRITE|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: CREATE|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: TRUNC|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: APPEND|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: NONBLOCK|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: DIR|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: NOFOLLOW|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: SYNC|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: open|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: open|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: open|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: openSync|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: read|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: read|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: read|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: readSync|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: stat|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: stat|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: statSync|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: truncate|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: truncate|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: truncate|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: truncateSync|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: write|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: write|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: write|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: writeSync|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: File|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: File
Method or attribute name: fd|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: ino|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: mode|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: uid|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: gid|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: size|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: atime|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: mtime|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: ctime|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isBlockDevice|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isCharacterDevice|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isDirectory|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isFIFO|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isFile|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isSocket|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isSymbolicLink|@ohos.file.fs.d.ts| +|Deprecated version changed|Method or attribute name: ftruncate
Deprecated version: N/A|Method or attribute name: ftruncate
Deprecated version: 9
New API: ohos.file.fs.truncate |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: ftruncate
Deprecated version: N/A|Method or attribute name: ftruncate
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: ftruncate
Deprecated version: N/A|Method or attribute name: ftruncate
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: ftruncateSync
Deprecated version: N/A|Method or attribute name: ftruncateSync
Deprecated version: 9
New API: ohos.file.fs.truncateSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: fstat
Deprecated version: N/A|Method or attribute name: fstat
Deprecated version: 9
New API: ohos.file.fs.stat |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: fstat
Deprecated version: N/A|Method or attribute name: fstat
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: fstatSync
Deprecated version: N/A|Method or attribute name: fstatSync
Deprecated version: 9
New API: ohos.file.fs.statSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: N/A|Method or attribute name: open
Deprecated version: 9
New API: ohos.file.fs.open |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: N/A|Method or attribute name: open
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: N/A|Method or attribute name: open
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: N/A|Method or attribute name: open
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: openSync
Deprecated version: N/A|Method or attribute name: openSync
Deprecated version: 9
New API: ohos.file.fs.openSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: read
Deprecated version: N/A|Method or attribute name: read
Deprecated version: 9
New API: ohos.file.fs.read |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: read
Deprecated version: N/A|Method or attribute name: read
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: read
Deprecated version: N/A|Method or attribute name: read
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: readSync
Deprecated version: N/A|Method or attribute name: readSync
Deprecated version: 9
New API: ohos.file.fs.readSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: stat
Deprecated version: N/A|Method or attribute name: stat
Deprecated version: 9
New API: ohos.file.fs.stat |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: stat
Deprecated version: N/A|Method or attribute name: stat
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: statSync
Deprecated version: N/A|Method or attribute name: statSync
Deprecated version: 9
New API: ohos.file.fs.statSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: truncate
Deprecated version: N/A|Method or attribute name: truncate
Deprecated version: 9
New API: ohos.file.fs.truncate |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: truncate
Deprecated version: N/A|Method or attribute name: truncate
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: truncate
Deprecated version: N/A|Method or attribute name: truncate
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: truncateSync
Deprecated version: N/A|Method or attribute name: truncateSync
Deprecated version: 9
New API: ohos.file.fs.truncateSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: write
Deprecated version: N/A|Method or attribute name: write
Deprecated version: 9
New API: ohos.file.fs.write |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: write
Deprecated version: N/A|Method or attribute name: write
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: write
Deprecated version: N/A|Method or attribute name: write
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: writeSync
Deprecated version: N/A|Method or attribute name: writeSync
Deprecated version: 9
New API: ohos.file.fs.writeSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Stat
Deprecated version: N/A|Class name: Stat
Deprecated version: 9
New API: ohos.file.fs.Stat |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: ReadOut
Deprecated version: N/A|Class name: ReadOut
Deprecated version: 9|@ohos.fileio.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-misc.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-misc.md new file mode 100644 index 0000000000000000000000000000000000000000..af37096bc83542467c70cf8c74d3b08bf55ab09e --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-misc.md @@ -0,0 +1,16 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: off_setSubtype|@ohos.inputmethodengine.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_PERMISSION||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_PARAMCHECK||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_UNSUPPORTED||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_PACKAGEMANAGER||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_IMENGINE||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_IMCLIENT||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_KEYEVENT||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_CONFPERSIST||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_CONTROLLER||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_SETTINGS||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_IMMS||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethod
Class name: inputMethod
Method or attribute name: EXCEPTION_OTHERS||@ohos.inputmethod.d.ts| +|Deleted|Module name: ohos.inputmethodengine
Class name: InputMethodAbility
Method or attribute name: off||@ohos.inputmethodengine.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-msdp.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-msdp.md new file mode 100644 index 0000000000000000000000000000000000000000..f4930f7edda81964bd8aead705e9688f13c961c7 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-msdp.md @@ -0,0 +1,15 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.stationary
Class name: stationary|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityResponse|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityResponse
Method or attribute name: state|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityEvent|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityEvent
Method or attribute name: ENTER|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityEvent
Method or attribute name: EXIT|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityEvent
Method or attribute name: ENTER_EXIT|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityState|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityState
Method or attribute name: ENTER|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityState
Method or attribute name: EXIT|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: stationary
Method or attribute name: on|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: stationary
Method or attribute name: once|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: stationary
Method or attribute name: off|@ohos.stationary.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-multi-modal-input.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-multi-modal-input.md new file mode 100644 index 0000000000000000000000000000000000000000..8346246b41150d131845b1d234a9fe0553d685a6 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-multi-modal-input.md @@ -0,0 +1,3 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: supportKeys
Function name: function supportKeys(deviceId: number, keys: Array, callback: AsyncCallback>): void;|@ohos.multimodalInput.inputDevice.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-notification.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-notification.md new file mode 100644 index 0000000000000000000000000000000000000000..2040bc735e4172bda9b0e1bda5d079e7d1f0a745 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-notification.md @@ -0,0 +1,19 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.notificationSubscribe
Class name: BundleOption|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: BundleOption
Method or attribute name: bundle|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: BundleOption
Method or attribute name: uid|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: NotificationKey|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: NotificationKey
Method or attribute name: id|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: NotificationKey
Method or attribute name: label|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: RemoveReason|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: RemoveReason
Method or attribute name: CLICK_REASON_REMOVE|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: RemoveReason
Method or attribute name: CANCEL_REASON_REMOVE|@ohos.notificationSubscribe.d.ts| +|Deleted|Module name: ohos.notificationManager
Class name: NotificationKey||@ohos.notificationManager.d.ts| +|Deleted|Module name: ohos.notificationManager
Class name: NotificationKey
Method or attribute name: id||@ohos.notificationManager.d.ts| +|Deleted|Module name: ohos.notificationManager
Class name: NotificationKey
Method or attribute name: label||@ohos.notificationManager.d.ts| +|Deleted|Module name: ohos.notificationManager
Class name: RemoveReason||@ohos.notificationManager.d.ts| +|Deleted|Module name: ohos.notificationManager
Class name: RemoveReason
Method or attribute name: CLICK_REASON_REMOVE||@ohos.notificationManager.d.ts| +|Deleted|Module name: ohos.notificationManager
Class name: RemoveReason
Method or attribute name: CANCEL_REASON_REMOVE||@ohos.notificationManager.d.ts| +|Access level changed|Class name: notificationSubscribe
Access level: public API|Class name: notificationSubscribe
Access level: system API|@ohos.notificationSubscribe.d.ts| +|Access level changed|Class name: notificationSubscribe
Access level: public API|Class name: notificationSubscribe
Access level: system API|@ohos.notificationSubscribe.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-resource-scheduler.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-resource-scheduler.md new file mode 100644 index 0000000000000000000000000000000000000000..1815ee876122f5c20f5de6bbef43fe6d3ff8fa02 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-resource-scheduler.md @@ -0,0 +1,39 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: DelaySuspendInfo|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: DelaySuspendInfo
Method or attribute name: requestId|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: DelaySuspendInfo
Method or attribute name: actualDelayTime|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: cancelSuspendDelay|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: requestSuspendDelay|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: applyEfficiencyResources|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: resetAllEfficiencyResources|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: DATA_TRANSFER|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: AUDIO_PLAYBACK|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: AUDIO_RECORDING|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: LOCATION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: BLUETOOTH_INTERACTION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: MULTI_DEVICE_CONNECTION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: WIFI_INTERACTION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: VOIP|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: TASK_KEEPING|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: CPU|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: COMMON_EVENT|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: TIMER|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: WORK_SCHEDULER|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: BLUETOOTH|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: GPS|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: AUDIO|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: resourceTypes|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isApply|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: timeOut|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isPersist|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isProcess|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: reason|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: startBackgroundRunning
Deprecated version: N/A|Method or attribute name: startBackgroundRunning
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.startBackgroundRunning |@ohos.ability.particleAbility.d.ts| +|Deprecated version changed|Method or attribute name: startBackgroundRunning
Deprecated version: N/A|Method or attribute name: startBackgroundRunning
Deprecated version: 9|@ohos.ability.particleAbility.d.ts| +|Deprecated version changed|Method or attribute name: cancelBackgroundRunning
Deprecated version: N/A|Method or attribute name: cancelBackgroundRunning
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.stopBackgroundRunning |@ohos.ability.particleAbility.d.ts| +|Deprecated version changed|Method or attribute name: cancelBackgroundRunning
Deprecated version: N/A|Method or attribute name: cancelBackgroundRunning
Deprecated version: 9|@ohos.ability.particleAbility.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-sensor.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-sensor.md new file mode 100644 index 0000000000000000000000000000000000000000..e60ec4575102d652fdeb0cd0c941b9995cee14f4 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-sensor.md @@ -0,0 +1,4 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: minSamplePeriod
Function name: minSamplePeriod:number;|@ohos.sensor.d.ts| +|Added||Method or attribute name: maxSamplePeriod
Function name: maxSamplePeriod:number;|@ohos.sensor.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-telephony.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-telephony.md new file mode 100644 index 0000000000000000000000000000000000000000..876f26e35590a3bb22715168703aec08c00e4ad1 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-telephony.md @@ -0,0 +1,10 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Permission deleted|Method or attribute name: getDefaultCellularDataSlotId
Permission: ohos.permission.GET_NETWORK_INFO|Method or attribute name: getDefaultCellularDataSlotId
Permission: N/A|@ohos.telephony.data.d.ts| +|Permission deleted|Method or attribute name: getDefaultCellularDataSlotId
Permission: ohos.permission.GET_NETWORK_INFO|Method or attribute name: getDefaultCellularDataSlotId
Permission: N/A|@ohos.telephony.data.d.ts| +|Permission deleted|Method or attribute name: getDefaultCellularDataSlotIdSync
Permission: ohos.permission.GET_NETWORK_INFO|Method or attribute name: getDefaultCellularDataSlotIdSync
Permission: N/A|@ohos.telephony.data.d.ts| +|Permission added|Method or attribute name: sendUpdateCellLocationRequest
Permission: N/A|Method or attribute name: sendUpdateCellLocationRequest
Permission: ohos.permission.LOCATION|@ohos.telephony.radio.d.ts| +|Permission added|Method or attribute name: sendUpdateCellLocationRequest
Permission: N/A|Method or attribute name: sendUpdateCellLocationRequest
Permission: ohos.permission.LOCATION|@ohos.telephony.radio.d.ts| +|Permission added|Method or attribute name: sendUpdateCellLocationRequest
Permission: N/A|Method or attribute name: sendUpdateCellLocationRequest
Permission: ohos.permission.LOCATION|@ohos.telephony.radio.d.ts| +|Permission added|Method or attribute name: getLockState
Permission: N/A|Method or attribute name: getLockState
Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission added|Method or attribute name: getLockState
Permission: N/A|Method or attribute name: getLockState
Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-unitest.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-unitest.md new file mode 100644 index 0000000000000000000000000000000000000000..ca564b4b393855b0ef6a8eb7d933603479baf513 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-unitest.md @@ -0,0 +1,6 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: bundleName
Function name: bundleName?: string;|@ohos.uitest.d.ts| +|Added||Method or attribute name: title
Function name: title?: string;|@ohos.uitest.d.ts| +|Added||Method or attribute name: focused
Function name: focused?: boolean;|@ohos.uitest.d.ts| +|Added||Method or attribute name: actived
Function name: actived?: boolean;|@ohos.uitest.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-update.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-update.md new file mode 100644 index 0000000000000000000000000000000000000000..50bde3f3f511684b6dd85fade864276210913fb3 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-update.md @@ -0,0 +1,26 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Error code added||Method or attribute name: getOnlineUpdater
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getRestorer
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getLocalUpdater
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: checkNewVersion
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getNewVersionInfo
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getNewVersionDescription
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getCurrentVersionInfo
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getCurrentVersionDescription
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getTaskInfo
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: download
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: resumeDownload
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: pauseDownload
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: upgrade
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: clearError
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getUpgradePolicy
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: setUpgradePolicy
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: terminateUpgrade
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: on
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: off
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: factoryReset
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: verifyUpgradePackage
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: applyNewVersion
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: on
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: off
Error code: 201, 401, 11500104|@ohos.update.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-usb.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-usb.md new file mode 100644 index 0000000000000000000000000000000000000000..555514391ee392d3879efab39b89ecb7f73d2db8 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-usb.md @@ -0,0 +1,3 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: controlTransfer
Function name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise;|@ohos.usb.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-user-iam.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-user-iam.md new file mode 100644 index 0000000000000000000000000000000000000000..e34392bcfdb492a9153ed1da0eaec1424e478cd2 --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-user-iam.md @@ -0,0 +1,23 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Deleted|Module name: ohos.userIAM.faceAuth
Class name: ResultCode||@ohos.userIAM.faceAuth.d.ts| +|Deleted|Module name: ohos.userIAM.faceAuth
Class name: ResultCode
Method or attribute name: FAIL||@ohos.userIAM.faceAuth.d.ts| +|Deleted|Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: INVALID_PARAMETERS||@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: AuthenticationResult
Deprecated version: N/A|Class name: AuthenticationResult
Deprecated version: 8
New API: ohos.userIAM.userAuth.ResultCode |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: Authenticator
Deprecated version: N/A|Class name: Authenticator
Deprecated version: 8|@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: UserAuth
Deprecated version: N/A|Class name: UserAuth
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthInstance |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: IUserAuthCallback
Deprecated version: N/A|Class name: IUserAuthCallback
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthEvent |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: SUCCESS
Deprecated version: N/A|Method or attribute name: SUCCESS
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: FAIL
Deprecated version: N/A|Method or attribute name: FAIL
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: GENERAL_ERROR
Deprecated version: N/A|Method or attribute name: GENERAL_ERROR
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: CANCELED
Deprecated version: N/A|Method or attribute name: CANCELED
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: TIMEOUT
Deprecated version: N/A|Method or attribute name: TIMEOUT
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_NOT_SUPPORT
Deprecated version: N/A|Method or attribute name: TYPE_NOT_SUPPORT
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: TRUST_LEVEL_NOT_SUPPORT
Deprecated version: N/A|Method or attribute name: TRUST_LEVEL_NOT_SUPPORT
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: BUSY
Deprecated version: N/A|Method or attribute name: BUSY
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: INVALID_PARAMETERS
Deprecated version: N/A|Method or attribute name: INVALID_PARAMETERS
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: LOCKED
Deprecated version: N/A|Method or attribute name: LOCKED
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: NOT_ENROLLED
Deprecated version: N/A|Method or attribute name: NOT_ENROLLED
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Initial version changed|Class name: IUserAuthCallback
Initial version: 6|Class name: IUserAuthCallback
Initial version: 8|@ohos.userIAM.userAuth.d.ts| +|Initial version changed|Class name: AuthEvent
Initial version: 6|Class name: AuthEvent
Initial version: 9|@ohos.userIAM.userAuth.d.ts| +|Error code added||Method or attribute name: setSurfaceId
Error code: 201, 202, 12700001|@ohos.userIAM.faceAuth.d.ts| diff --git a/en/release-notes/api-diff/monthly-202211/js-apidiff-web.md b/en/release-notes/api-diff/monthly-202211/js-apidiff-web.md new file mode 100644 index 0000000000000000000000000000000000000000..7eb7207795ade650d610ced84984fa239637364c --- /dev/null +++ b/en/release-notes/api-diff/monthly-202211/js-apidiff-web.md @@ -0,0 +1,6 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: saveCookieAsync
Function name: static saveCookieAsync(): Promise;|@ohos.web.webview.d.ts| +|Added||Method or attribute name: saveCookieAsync
Function name: static saveCookieAsync(callback: AsyncCallback): void;|@ohos.web.webview.d.ts| +|Added||Method or attribute name: stop
Function name: stop(): void;|@ohos.web.webview.d.ts| +|Deleted|Module name: ohos.web.webview
Class name: WebCookieManager
Method or attribute name: saveCookieSync||@ohos.web.webview.d.ts| diff --git a/en/release-notes/api-change/v2.2-beta2/js-apidiff-v2.2-beta2.md b/en/release-notes/api-diff/v2.2-beta2/js-apidiff-v2.2-beta2.md similarity index 100% rename from en/release-notes/api-change/v2.2-beta2/js-apidiff-v2.2-beta2.md rename to en/release-notes/api-diff/v2.2-beta2/js-apidiff-v2.2-beta2.md diff --git a/en/release-notes/api-change/v2.2-beta2/native-apidiff-v2.2-beta2.md b/en/release-notes/api-diff/v2.2-beta2/native-apidiff-v2.2-beta2.md similarity index 100% rename from en/release-notes/api-change/v2.2-beta2/native-apidiff-v2.2-beta2.md rename to en/release-notes/api-diff/v2.2-beta2/native-apidiff-v2.2-beta2.md diff --git a/en/release-notes/api-change/v3.0-LTS/js-apidiff-v3.0-lts.md b/en/release-notes/api-diff/v3.0-LTS/js-apidiff-v3.0-lts.md similarity index 100% rename from en/release-notes/api-change/v3.0-LTS/js-apidiff-v3.0-lts.md rename to en/release-notes/api-diff/v3.0-LTS/js-apidiff-v3.0-lts.md diff --git a/en/release-notes/api-change/v3.1-Release/Readme-EN.md b/en/release-notes/api-diff/v3.1-Release/Readme-EN.md similarity index 69% rename from en/release-notes/api-change/v3.1-Release/Readme-EN.md rename to en/release-notes/api-diff/v3.1-Release/Readme-EN.md index e7465982e34f079913c30cf77dd1865e5f85a3e2..2f8c7d80bf5a500d3930ffa0ffc34dee8835057c 100644 --- a/en/release-notes/api-change/v3.1-Release/Readme-EN.md +++ b/en/release-notes/api-diff/v3.1-Release/Readme-EN.md @@ -4,4 +4,4 @@ This directory records the API changes in OpenHarmony 3.1 Release over OpenHarmo - [JS API Differences](js-apidiff-v3.1-release.md) - [Native API Differences](native-apidiff-v3.1-release.md) -- [Updates (OpenHarmony 3.1 Beta -> OpenHarmony 3.1 Release)](changelog-v3.1-release.md) +- [Updates (OpenHarmony 3.1 Beta -> OpenHarmony 3.1 Release)](../../changelogs/v3.1-Release/changelog-v3.1-release.md) diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-ability.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-ability.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-ability.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-ability.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-accessibility.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-accessibility.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-accessibility.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-accessibility.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-account.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-account.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-account.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-account.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-ace.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-ace.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-ace.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-ace.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-battery.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-battery.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-battery.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-battery.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-bundle.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-bundle.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-bundle.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-bundle.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-communicate.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-communicate.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-communicate.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-communicate.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-compiler-and-runtime.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-compiler-and-runtime.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-compiler-and-runtime.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-compiler-and-runtime.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-dfx.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-dfx.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-dfx.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-dfx.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-distributed-data.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-distributed-data.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-distributed-data.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-distributed-data.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-distributed-hardware.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-distributed-hardware.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-distributed-hardware.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-distributed-hardware.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-event-and-notification.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-event-and-notification.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-event-and-notification.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-event-and-notification.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-file-management.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-file-management.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-file-management.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-file-management.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-geolocation.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-geolocation.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-geolocation.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-geolocation.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-global.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-global.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-global.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-global.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-graphic.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-graphic.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-graphic.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-graphic.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-misc.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-misc.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-misc.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-misc.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-multi-modal-input.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-multi-modal-input.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-multi-modal-input.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-multi-modal-input.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-multimedia.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-multimedia.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-multimedia.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-multimedia.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-network.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-network.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-network.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-network.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-resource-scheduler.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-resource-scheduler.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-resource-scheduler.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-resource-scheduler.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-security.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-security.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-security.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-security.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-sensor.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-sensor.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-sensor.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-sensor.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-settings.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-settings.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-settings.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-settings.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-soft-bus.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-soft-bus.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-soft-bus.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-soft-bus.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-telephony.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-telephony.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-telephony.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-telephony.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-unitest.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-unitest.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-unitest.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-unitest.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-usb.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-usb.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-usb.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-usb.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-user-authentication.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-user-authentication.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-user-authentication.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-user-authentication.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-v3.1-release.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-v3.1-release.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-v3.1-release.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-v3.1-release.md diff --git a/en/release-notes/api-change/v3.1-Release/js-apidiff-window.md b/en/release-notes/api-diff/v3.1-Release/js-apidiff-window.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/js-apidiff-window.md rename to en/release-notes/api-diff/v3.1-Release/js-apidiff-window.md diff --git a/en/release-notes/api-change/v3.1-Release/native-apidiff-v3.1-release.md b/en/release-notes/api-diff/v3.1-Release/native-apidiff-v3.1-release.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/native-apidiff-v3.1-release.md rename to en/release-notes/api-diff/v3.1-Release/native-apidiff-v3.1-release.md diff --git a/en/release-notes/api-change/v3.1-beta/changelog-v3.1-beta.md b/en/release-notes/api-diff/v3.1-beta/changelog-v3.1-beta.md similarity index 100% rename from en/release-notes/api-change/v3.1-beta/changelog-v3.1-beta.md rename to en/release-notes/api-diff/v3.1-beta/changelog-v3.1-beta.md diff --git a/en/release-notes/api-change/v3.1-beta/js-apidiff-v3.1-beta.md b/en/release-notes/api-diff/v3.1-beta/js-apidiff-v3.1-beta.md similarity index 100% rename from en/release-notes/api-change/v3.1-beta/js-apidiff-v3.1-beta.md rename to en/release-notes/api-diff/v3.1-beta/js-apidiff-v3.1-beta.md diff --git a/en/release-notes/api-change/v3.1-beta/native-apidiff-v3.1-beta.md b/en/release-notes/api-diff/v3.1-beta/native-apidiff-v3.1-beta.md similarity index 100% rename from en/release-notes/api-change/v3.1-beta/native-apidiff-v3.1-beta.md rename to en/release-notes/api-diff/v3.1-beta/native-apidiff-v3.1-beta.md diff --git a/en/release-notes/api-change/v3.2-beta1/Readme-EN.md b/en/release-notes/api-diff/v3.2-beta1/Readme-EN.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/Readme-EN.md rename to en/release-notes/api-diff/v3.2-beta1/Readme-EN.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-ability.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-ability.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-ability.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-ability.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-arkui.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-arkui.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-arkui.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-arkui.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-battery.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-battery.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-battery.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-battery.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-bundle.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-bundle.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-bundle.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-bundle.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-communicate.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-communicate.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-communicate.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-communicate.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-dfx.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-dfx.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-dfx.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-dfx.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-distributed-data.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-distributed-data.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-distributed-data.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-distributed-data.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-event-and-notification.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-event-and-notification.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-event-and-notification.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-event-and-notification.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-file-management.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-file-management.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-file-management.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-file-management.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-global.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-global.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-global.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-global.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-init.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-init.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-init.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-init.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-misc.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-misc.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-misc.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-misc.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-multi-modal-input.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-multi-modal-input.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-multi-modal-input.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-multi-modal-input.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-multimedia.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-multimedia.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-multimedia.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-multimedia.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-resource-scheduler.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-resource-scheduler.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-resource-scheduler.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-resource-scheduler.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-unitest.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-unitest.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-unitest.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-unitest.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-web.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-web.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-web.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-web.md diff --git a/en/release-notes/api-change/v3.2-beta1/js-apidiff-window.md b/en/release-notes/api-diff/v3.2-beta1/js-apidiff-window.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/js-apidiff-window.md rename to en/release-notes/api-diff/v3.2-beta1/js-apidiff-window.md diff --git a/en/release-notes/api-change/v3.2-beta1/native-apidiff-v3.2-beta.md b/en/release-notes/api-diff/v3.2-beta1/native-apidiff-v3.2-beta.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta1/native-apidiff-v3.2-beta.md rename to en/release-notes/api-diff/v3.2-beta1/native-apidiff-v3.2-beta.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-ability.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-ability.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-ability.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-ability.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-accessibility.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-accessibility.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-accessibility.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-accessibility.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-account.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-account.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-account.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-account.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-arkui.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-arkui.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-arkui.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-arkui.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-bundle.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-bundle.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-bundle.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-bundle.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-communicate.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-communicate.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-communicate.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-communicate.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-compiler-and-runtime.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-compiler-and-runtime.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-compiler-and-runtime.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-compiler-and-runtime.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-dfx.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-dfx.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-dfx.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-dfx.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-distributed-data.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-distributed-data.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-distributed-data.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-distributed-data.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-event-and-notification.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-event-and-notification.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-event-and-notification.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-event-and-notification.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-file-management.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-file-management.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-file-management.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-file-management.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-geolocation.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-geolocation.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-geolocation.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-geolocation.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-global.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-global.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-global.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-global.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-graphic.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-graphic.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-graphic.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-graphic.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-misc.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-misc.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-misc.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-misc.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-multi-modal-input.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-multi-modal-input.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-multi-modal-input.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-multi-modal-input.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-multimedia.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-multimedia.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-multimedia.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-multimedia.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-resource-scheduler.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-resource-scheduler.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-resource-scheduler.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-resource-scheduler.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-security.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-security.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-security.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-security.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-sensor.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-sensor.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-sensor.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-sensor.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-soft-bus.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-soft-bus.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-soft-bus.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-soft-bus.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-unitest.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-unitest.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-unitest.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-unitest.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-update.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-update.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-update.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-update.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-usb.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-usb.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-usb.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-usb.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-user-authentication.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-user-authentication.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-user-authentication.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-user-authentication.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-web.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-web.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-web.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-web.md diff --git a/en/release-notes/api-change/v3.2-beta2/js-apidiff-window.md b/en/release-notes/api-diff/v3.2-beta2/js-apidiff-window.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/js-apidiff-window.md rename to en/release-notes/api-diff/v3.2-beta2/js-apidiff-window.md diff --git a/en/release-notes/api-change/v3.2-beta2/native-apidiff-v3.2-beta2.md b/en/release-notes/api-diff/v3.2-beta2/native-apidiff-v3.2-beta2.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/native-apidiff-v3.2-beta2.md rename to en/release-notes/api-diff/v3.2-beta2/native-apidiff-v3.2-beta2.md diff --git a/en/release-notes/api-change/v3.2-beta3/Readme-EN.md b/en/release-notes/api-diff/v3.2-beta3/Readme-EN.md similarity index 93% rename from en/release-notes/api-change/v3.2-beta3/Readme-EN.md rename to en/release-notes/api-diff/v3.2-beta3/Readme-EN.md index 816c48c5c111e2d70682fd7125cae3563cc33a0a..caa19c0d47f00a067d0166fe1c59b04a35601899 100644 --- a/en/release-notes/api-change/v3.2-beta3/Readme-EN.md +++ b/en/release-notes/api-diff/v3.2-beta3/Readme-EN.md @@ -30,4 +30,4 @@ This directory records the API changes in OpenHarmony 3.2 Beta3 over OpenHarmony - [Update subsystem](js-apidiff-update.md) - [Web subsystem](js-apidiff-web.md) - [Window manager subsystem](js-apidiff-window.md) -- [Updates (OpenHarmony 3.2 Beta2 -> OpenHarmony 3.2 Beta3)](changelog-v3.2-beta3.md) +- [Updates (OpenHarmony 3.2 Beta2 -> OpenHarmony 3.2 Beta3)](../../changelogs/v3.2-beta3/changelog-v3.2-beta3.md) diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-ability.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-ability.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-ability.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-ability.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-accessibility.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-accessibility.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-accessibility.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-accessibility.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-account.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-account.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-account.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-account.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-arkui.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-arkui.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-arkui.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-arkui.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-battery.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-battery.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-battery.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-battery.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-bundle.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-bundle.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-bundle.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-bundle.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-communicate.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-communicate.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-communicate.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-communicate.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-compiler-and-runtime.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-compiler-and-runtime.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-compiler-and-runtime.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-compiler-and-runtime.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-dfx.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-dfx.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-dfx.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-dfx.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-distributed-data.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-distributed-data.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-distributed-data.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-distributed-data.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-distributed-hardware.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-distributed-hardware.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-distributed-hardware.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-distributed-hardware.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-event-and-notification.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-event-and-notification.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-event-and-notification.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-event-and-notification.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-file-management.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-file-management.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-file-management.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-file-management.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-global.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-global.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-global.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-global.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-graphic.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-graphic.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-graphic.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-graphic.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-misc.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-misc.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-misc.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-misc.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-multi-modal-input.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-multi-modal-input.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-multi-modal-input.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-multi-modal-input.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-multimedia.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-multimedia.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-multimedia.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-multimedia.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-resource-scheduler.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-resource-scheduler.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-resource-scheduler.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-resource-scheduler.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-security.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-security.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-security.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-security.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-sensor.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-sensor.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-sensor.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-sensor.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-soft-bus.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-soft-bus.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-soft-bus.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-soft-bus.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-telephony.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-telephony.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-telephony.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-telephony.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-unitest.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-unitest.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-unitest.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-unitest.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-update.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-update.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-update.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-update.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-web.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-web.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-web.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-web.md diff --git a/en/release-notes/api-change/v3.2-beta3/js-apidiff-window.md b/en/release-notes/api-diff/v3.2-beta3/js-apidiff-window.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/js-apidiff-window.md rename to en/release-notes/api-diff/v3.2-beta3/js-apidiff-window.md diff --git a/en/release-notes/api-diff/v3.2-beta4/Readme-EN.md b/en/release-notes/api-diff/v3.2-beta4/Readme-EN.md new file mode 100644 index 0000000000000000000000000000000000000000..945501b129f35e4e2e6e5ab5ae12e2326eb97dba --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/Readme-EN.md @@ -0,0 +1,35 @@ +# Readme + +* JS API Differences + - [Ability framework](js-apidiff-ability.md) + - [Accessibility subsystem](js-apidiff-accessibility.md) + - [Account subsystem](js-apidiff-account.md) + - [Application subsystem](js-apidiff-application.md) + - [ArkUI development framework](js-apidiff-arkui.md) + - [Power management subsystem](js-apidiff-battery.md) + - [Bundle management framework](js-apidiff-bundle.md) + - [Communication subsystem](js-apidiff-communication.md) + - [Utils subsystem](js-apidiff-compiler-and-runtime.md) + - [Customization subsystem](js-apidiff-customization.md) + - [DFX subsystem](js-apidiff-dfx.md) + - [Distributed data management subsystem](js-apidiff-distributed-data.md) + - [Distributed hardware subsystem](js-apidiff-distributed-hardware.md) + - [File management subsystem](js-apidiff-file-management.md) + - [Location subsystem](js-apidiff-geolocation.md) + - [Globalization subsystem](js-apidiff-global.md) + - [Misc services subsystem](js-apidiff-misc.md) + - [MSDP subsystem](js-apidiff-msdp.md) + - [Multimodal input subsystem](js-apidiff-multi-modal-input.md) + - [Multimedia subsystem](js-apidiff-multimedia.md) + - [Common event and notification subsystem](js-apidiff-notification.md) + - [Resource scheduler subsystem](js-apidiff-resource-scheduler.md) + - [Security subsystem](js-apidiff-security.md) + - [Pan-sensor subsystem](js-apidiff-sensor.md) + - [Startup subsystem](js-apidiff-start-up.md) + - [Telephony subsystem](js-apidiff-telephony.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-iam.md) + - [Web subsystem](js-apidiff-web.md) + - [Window manager subsystem](js-apidiff-window.md) \ No newline at end of file diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-ability.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-ability.md new file mode 100644 index 0000000000000000000000000000000000000000..101b504739b1d0e57b8ef39f421edbbc6f5cf151 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-ability.md @@ -0,0 +1,762 @@ +| 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.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.UIAbility
Class name: UIAbility
Method or attribute name: onSaveState|@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| +|Access level changed|Method or attribute name: startAbilityByCall
Access level: public API|Method or attribute name: startAbilityByCall
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.continuationManager|@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.continuationManager|@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.continuationManager|@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.continuationManager|@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| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-accessibility.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-accessibility.md new file mode 100644 index 0000000000000000000000000000000000000000..9ddac51d885c1cd11d4ef4bbc40e659a61d677b9 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/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/v3.2-beta4/js-apidiff-account.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-account.md new file mode 100644 index 0000000000000000000000000000000000000000..8b478fe0585691415aed057d692f3031cebc537a --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-account.md @@ -0,0 +1,227 @@ +| 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: setProperty
Function name: setProperty(request: SetPropertyRequest, callback: AsyncCallback): void;|@ohos.account.osAccount.d.ts| +|Added||Method or attribute name: setProperty
Function name: setProperty(request: SetPropertyRequest): Promise;|@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
New API: appAccount.AppAccountManager|@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
New API: appAccount.AppAccountManager|@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/v3.2-beta4/js-apidiff-application.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-application.md new file mode 100644 index 0000000000000000000000000000000000000000..3ae7dc10381880b135162da8487a2c9ea747d1bd --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-application.md @@ -0,0 +1,207 @@ +| 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| +|Permission added|Method or attribute name: hangup
|Permission: N/A|Method or attribute name: hangup
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: hangup
|Permission: N/A|Method or attribute name: hangup
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: reject
|Permission: N/A|Method or attribute name: reject
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: reject
|Permission: N/A|Method or attribute name: reject
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: reject
|Permission: N/A|Method or attribute name: reject
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: reject
|Permission: N/A|Method or attribute name: reject
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: reject
|Permission: N/A|Method or attribute name: reject
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: holdCall
|Permission: N/A|Method or attribute name: holdCall
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: holdCall
|Permission: N/A|Method or attribute name: holdCall
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: unHoldCall
|Permission: N/A|Method or attribute name: unHoldCall
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: unHoldCall
|Permission: N/A|Method or attribute name: unHoldCall
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: switchCall
|Permission: N/A|Method or attribute name: switchCall
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: switchCall
|Permission: N/A|Method or attribute name: switchCall
|Permission: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallWaitingStatus
|Permission: N/A|Method or attribute name: getCallWaitingStatus
|Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallWaitingStatus
|Permission: N/A|Method or attribute name: getCallWaitingStatus
|Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallWaiting
|Permission: N/A|Method or attribute name: setCallWaiting
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallWaiting
|Permission: N/A|Method or attribute name: setCallWaiting
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: on_callDetailsChange
|Permission: N/A|Method or attribute name: on_callDetailsChange
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: off_callDetailsChange
|Permission: N/A|Method or attribute name: off_callDetailsChange
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: on_callEventChange
|Permission: N/A|Method or attribute name: on_callEventChange
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: off_callEventChange
|Permission: N/A|Method or attribute name: off_callEventChange
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: on_callDisconnectedCause
|Permission: N/A|Method or attribute name: on_callDisconnectedCause
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: off_callDisconnectedCause
|Permission: N/A|Method or attribute name: off_callDisconnectedCause
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: on_mmiCodeResult
|Permission: N/A|Method or attribute name: on_mmiCodeResult
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: off_mmiCodeResult
|Permission: N/A|Method or attribute name: off_mmiCodeResult
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallRestrictionStatus
|Permission: N/A|Method or attribute name: getCallRestrictionStatus
|Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallRestrictionStatus
|Permission: N/A|Method or attribute name: getCallRestrictionStatus
|Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallRestriction
|Permission: N/A|Method or attribute name: setCallRestriction
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallRestriction
|Permission: N/A|Method or attribute name: setCallRestriction
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallTransferInfo
|Permission: N/A|Method or attribute name: getCallTransferInfo
|Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: getCallTransferInfo
|Permission: N/A|Method or attribute name: getCallTransferInfo
|Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallTransfer
|Permission: N/A|Method or attribute name: setCallTransfer
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: setCallTransfer
|Permission: N/A|Method or attribute name: setCallTransfer
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: enableImsSwitch
|Permission: N/A|Method or attribute name: enableImsSwitch
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: enableImsSwitch
|Permission: N/A|Method or attribute name: enableImsSwitch
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: disableImsSwitch
|Permission: N/A|Method or attribute name: disableImsSwitch
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission added|Method or attribute name: disableImsSwitch
|Permission: N/A|Method or attribute name: disableImsSwitch
|Permission: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-arkui.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-arkui.md new file mode 100644 index 0000000000000000000000000000000000000000..71f02711d1d1b4c95e5ce354ad87eafe3d2b4f80 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-arkui.md @@ -0,0 +1,184 @@ +| 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||Method or attribute name: GridColInterface
Function name: (option?: GridColOptions): GridColAttribute;|grid_col.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/v3.2-beta4/js-apidiff-battery.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-battery.md new file mode 100644 index 0000000000000000000000000000000000000000..5a64b73afc104608ed9bef532f31bfbfee8c838a --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/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/v3.2-beta4/js-apidiff-bundle.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-bundle.md new file mode 100644 index 0000000000000000000000000000000000000000..48a79d30e72e4091466e5bae4c122f172eee937c --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-bundle.md @@ -0,0 +1,520 @@ +| 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: metadata|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: applicationInfo
Class name: ApplicationInfo
Method or attribute name: metadata|applicationInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: iconResource|applicationInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: labelResource|applicationInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: descriptionResource|applicationInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: appDistributionType|applicationInfo.d.ts| +|Added||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: appProvisionType|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: ReqPermissionDetail
Method or attribute name: reasonId|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|dispatchInfo.d.ts| +|Added||Module name: dispatchInfo
Class name: DispatchInfo
Method or attribute name: version|dispatchInfo.d.ts| +|Added||Module name: dispatchInfo
Class name: DispatchInfo
Method or attribute name: dispatchAPIVersion|dispatchInfo.d.ts| +|Added||Module name: elementName
Class name: ElementName
Method or attribute name: moduleName|elementName.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: bundleName|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: moduleName|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: name|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: labelId|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: descriptionId|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: iconId|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: isVisible|extensionAbilityInfo.d.ts| +|Added||Method or attribute name: extensionAbilityType
Function name: readonly extensionAbilityType: bundleManager.ExtensionAbilityType;|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: permissions|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: applicationInfo|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: metadata|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: enabled|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: readPermission|extensionAbilityInfo.d.ts| +|Added||Module name: extensionAbilityInfo
Class name: ExtensionAbilityInfo
Method or attribute name: writePermission|extensionAbilityInfo.d.ts| +|Added||Module name: hapModuleInfo
Class name: HapModuleInfo
Method or attribute name: mainElementName|hapModuleInfo.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: metadata|hapModuleInfo.d.ts| +|Added||Module name: hapModuleInfo
Class name: HapModuleInfo
Method or attribute name: hashValue|hapModuleInfo.d.ts| +|Added||Module name: hapModuleInfo
Class name: HapModuleInfo
Method or attribute name: moduleSourceDir|hapModuleInfo.d.ts| +|Added||Module name: metadata
Class name: Metadata
Method or attribute name: name|metadata.d.ts| +|Added||Module name: metadata
Class name: Metadata
Method or attribute name: value|metadata.d.ts| +|Added||Module name: metadata
Class name: Metadata
Method or attribute name: resource|metadata.d.ts| +|Added||Module name: packInfo
Class name: BundlePackInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: BundlePackInfo
Method or attribute name: packages|packInfo.d.ts| +|Added||Module name: packInfo
Class name: BundlePackInfo
Method or attribute name: summary|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageConfig|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageConfig
Method or attribute name: deviceTypes|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageConfig
Method or attribute name: name|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageConfig
Method or attribute name: moduleType|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageConfig
Method or attribute name: deliveryWithInstall|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageSummary|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageSummary
Method or attribute name: app|packInfo.d.ts| +|Added||Module name: packInfo
Class name: PackageSummary
Method or attribute name: modules|packInfo.d.ts| +|Added||Module name: packInfo
Class name: BundleConfigInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: BundleConfigInfo
Method or attribute name: bundleName|packInfo.d.ts| +|Added||Module name: packInfo
Class name: BundleConfigInfo
Method or attribute name: version|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|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: apiVersion|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: distro|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleConfigInfo
Method or attribute name: abilities|packInfo.d.ts| +|Added||Method or attribute name: extensionAbilities
Function name: readonly extensionAbilities: Array;|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleDistroInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleDistroInfo
Method or attribute name: deliveryWithInstall|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleDistroInfo
Method or attribute name: installationFree|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleDistroInfo
Method or attribute name: moduleName|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleDistroInfo
Method or attribute name: moduleType|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleAbilityInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleAbilityInfo
Method or attribute name: name|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleAbilityInfo
Method or attribute name: label|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleAbilityInfo
Method or attribute name: visible|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ModuleAbilityInfo
Method or attribute name: forms|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: name|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: type|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: updateEnabled|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: scheduledUpdateTime|packInfo.d.ts| +|Added||Module name: packInfo
Class name: AbilityFormInfo
Method or attribute name: updateDuration|packInfo.d.ts| +|Added||Method or attribute name: supportDimensions
Function name: readonly supportDimensions: Array;|packInfo.d.ts| +|Added||Method or attribute name: defaultDimension
Function name: readonly defaultDimension: string;|packInfo.d.ts| +|Added||Module name: packInfo
Class name: Version|packInfo.d.ts| +|Added||Module name: packInfo
Class name: Version
Method or attribute name: minCompatibleVersionCode|packInfo.d.ts| +|Added||Module name: packInfo
Class name: Version
Method or attribute name: name|packInfo.d.ts| +|Added||Module name: packInfo
Class name: Version
Method or attribute name: code|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ApiVersion|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ApiVersion
Method or attribute name: releaseType|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ApiVersion
Method or attribute name: compatible|packInfo.d.ts| +|Added||Module name: packInfo
Class name: ApiVersion
Method or attribute name: target|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||Method or attribute name: moduleName
Function name: readonly moduleName: string;|shortcutInfo.d.ts| +|Added||Module name: shortcutInfo
Class name: ShortcutWant
Method or attribute name: targetModule|shortcutInfo.d.ts| +|Added||Module name: shortcutInfo
Class name: ShortcutWant
Method or attribute name: targetAbility|shortcutInfo.d.ts| +|Deleted||Module name: ohos.bundle
Class name: BundleFlag
Method or attribute name: GET_BUNDLE_WITH_EXTENSION_ABILITY||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: BundleFlag
Method or attribute name: GET_BUNDLE_WITH_HASH_VALUE||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: BundleFlag
Method or attribute name: GET_APPLICATION_INFO_WITH_CERTIFICATE_FINGERPRINT||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionFlag||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionFlag
Method or attribute name: GET_EXTENSION_INFO_DEFAULT||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionFlag
Method or attribute name: GET_EXTENSION_INFO_WITH_PERMISSION||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionFlag
Method or attribute name: GET_EXTENSION_INFO_WITH_APPLICATION||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionFlag
Method or attribute name: GET_EXTENSION_INFO_WITH_METADATA||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: LANDSCAPE_INVERTED||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: PORTRAIT_INVERTED||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION_LANDSCAPE||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION_PORTRAIT||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION_RESTRICTED||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION_LANDSCAPE_RESTRICTED||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: AUTO_ROTATION_PORTRAIT_RESTRICTED||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: DisplayOrientation
Method or attribute name: LOCKED||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: FORM||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: WORK_SCHEDULER||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: INPUT_METHOD||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: SERVICE||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: ACCESSIBILITY||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: DATA_SHARE||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: FILE_SHARE||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: STATIC_SUBSCRIBER||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: WALLPAPER||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: BACKUP||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: WINDOW||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: ENTERPRISE_ADMIN||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: THUMBNAIL||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: PREVIEW||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: ExtensionAbilityType
Method or attribute name: UNSPECIFIED||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: UpgradeFlag||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: UpgradeFlag
Method or attribute name: NOT_UPGRADE||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: UpgradeFlag
Method or attribute name: SINGLE_UPGRADE||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: UpgradeFlag
Method or attribute name: RELATION_UPGRADE||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: SupportWindowMode||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: SupportWindowMode
Method or attribute name: FULL_SCREEN||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: SupportWindowMode
Method or attribute name: SPLIT||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: SupportWindowMode
Method or attribute name: FLOATING||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: queryExtensionAbilityInfos||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: queryExtensionAbilityInfos||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: queryExtensionAbilityInfos||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: setModuleUpgradeFlag||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: setModuleUpgradeFlag||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: isModuleRemovable||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: isModuleRemovable||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getBundlePackInfo||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getBundlePackInfo||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getDispatcherVersion||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getDispatcherVersion||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getProfileByAbility||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getProfileByAbility||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getProfileByExtensionAbility||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getProfileByExtensionAbility||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: setDisposedStatus||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: setDisposedStatus||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getDisposedStatus||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getDisposedStatus||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getApplicationInfoSync||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getApplicationInfoSync||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getBundleInfoSync||@ohos.bundle.d.ts| +|Deleted||Module name: ohos.bundle
Class name: bundle
Method or attribute name: getBundleInfoSync||@ohos.bundle.d.ts| +|Deleted||Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: supportWindowMode||abilityInfo.d.ts| +|Deleted||Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: maxWindowRatio||abilityInfo.d.ts| +|Deleted||Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: minWindowRatio||abilityInfo.d.ts| +|Deleted||Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: maxWindowWidth||abilityInfo.d.ts| +|Deleted||Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: minWindowWidth||abilityInfo.d.ts| +|Deleted||Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: maxWindowHeight||abilityInfo.d.ts| +|Deleted||Module name: abilityInfo
Class name: AbilityInfo
Method or attribute name: minWindowHeight||abilityInfo.d.ts| +|Deleted||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: labelIndex||applicationInfo.d.ts| +|Deleted||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: iconIndex||applicationInfo.d.ts| +|Deleted||Module name: applicationInfo
Class name: ApplicationInfo
Method or attribute name: fingerprint||applicationInfo.d.ts| +|Deleted||Module name: bundleInfo
Class name: BundleInfo
Method or attribute name: extensionAbilityInfo||bundleInfo.d.ts| +|Deleted||Module name: bundleInstaller
Class name: HashParam||bundleInstaller.d.ts| +|Deleted||Module name: bundleInstaller
Class name: HashParam
Method or attribute name: moduleName||bundleInstaller.d.ts| +|Deleted||Module name: bundleInstaller
Class name: HashParam
Method or attribute name: hashValue||bundleInstaller.d.ts| +|Deleted||Module name: bundleInstaller
Class name: InstallParam
Method or attribute name: hashParams||bundleInstaller.d.ts| +|Deleted||Module name: bundleInstaller
Class name: InstallParam
Method or attribute name: crowdtestDeadline||bundleInstaller.d.ts| +|Deleted||Module name: dispatchInfo
Class name: DispatchInfo
Method or attribute name: dispatchAPI||dispatchInfo.d.ts| +|Deleted||Module name: hapModuleInfo
Class name: HapModuleInfo
Method or attribute name: extensionAbilityInfo||hapModuleInfo.d.ts| +|Deleted||Module name: packInfo
Class name: PackageConfig
Method or attribute name: deviceType||packInfo.d.ts| +|Deleted||Module name: packInfo
Class name: ExtensionAbilities||packInfo.d.ts| +|Deleted||Module name: packInfo
Class name: ExtensionAbilities
Method or attribute name: name||packInfo.d.ts| +|Deleted||Module name: packInfo
Class name: ExtensionAbilities
Method or attribute name: forms||packInfo.d.ts| +|Deleted||Module name: packInfo
Class name: ModuleConfigInfo
Method or attribute name: deviceType||packInfo.d.ts| +|Deleted||Module name: packInfo
Class name: ModuleDistroInfo
Method or attribute name: mainAbility||packInfo.d.ts| +|Deleted||Module name: packInfo
Class name: BundlePackFlag||packInfo.d.ts| +|Deleted||Module name: packInfo
Class name: BundlePackFlag
Method or attribute name: GET_PACK_INFO_ALL||packInfo.d.ts| +|Deleted||Module name: packInfo
Class name: BundlePackFlag
Method or attribute name: GET_PACKAGES||packInfo.d.ts| +|Deleted||Module name: packInfo
Class name: BundlePackFlag
Method or attribute name: GET_BUNDLE_SUMMARY||packInfo.d.ts| +|Deleted||Module name: packInfo
Class name: BundlePackFlag
Method or attribute name: GET_MODULE_SUMMARY||packInfo.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: 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: ohos.bundle.bundleManager.PermissionGrantState |@ohos.bundle.d.ts| +|Deprecated version changed|Class name: AbilityType
Deprecated version: N/A|Class name: AbilityType
Deprecated version: 9
New API: ohos.bundle.bundleManager.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: ohos.bundle.bundleManager.DisplayOrientation |@ohos.bundle.d.ts| +|Deprecated version changed|Class name: LaunchMode
Deprecated version: N/A|Class name: LaunchMode
Deprecated version: 9
New API: ohos.bundle.bundleManager.LaunchType |@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|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: 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|Class name: innerBundleManager
Deprecated version: N/A|Class name: innerBundleManager
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
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: CheckPackageHasInstalledResponse
Deprecated version: N/A|Class name: CheckPackageHasInstalledResponse
Deprecated version: 9|@system.package.d.ts| +|Deprecated version changed|Class name: CheckPackageHasInstalledOptions
Deprecated version: N/A|Class name: CheckPackageHasInstalledOptions
Deprecated version: 9|@system.package.d.ts| +|Deprecated version changed|Class name: Package
Deprecated version: N/A|Class name: Package
Deprecated version: 9|@system.package.d.ts| +|Deprecated version changed|Method or attribute name: hasInstalled
Deprecated version: N/A|Method or attribute name: hasInstalled
Deprecated version: 9|@system.package.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: 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: 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/v3.2-beta4/js-apidiff-communication.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-communication.md new file mode 100644 index 0000000000000000000000000000000000000000..6695b031adee94b825050bd20c4113f879a54dd8 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-communication.md @@ -0,0 +1,866 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.net.connection
Class name: connection
Method or attribute name: isDefaultNetMetered|@ohos.net.connection.d.ts| +|Added||Module name: ohos.net.connection
Class name: connection
Method or attribute name: isDefaultNetMetered|@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.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: bind|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: bind|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: getRemoteAddress|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: getRemoteAddress|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: getState|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: getState|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: setExtraOptions|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: setExtraOptions|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: on_message|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: off_message|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: on_connect|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: on_close|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: off_connect|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: off_close|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: on_error|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: off_error|@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: TLSSocket
Method or attribute name: close|@ohos.net.socket.d.ts| +|Added||Module name: ohos.net.socket
Class name: TLSSocket
Method or attribute name: close|@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||Method or attribute name: NDEF_FORMATABLE
Function name: const NDEF_FORMATABLE = 7;|@ohos.nfc.tag.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.nfc.tag
Class name: ndef|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: makeUriRecord|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: makeTextRecord|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: makeMimeRecord|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: makeExternalRecord|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: createNdefMessage|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: createNdefMessage|@ohos.nfc.tag.d.ts| +|Added||Module name: ohos.nfc.tag
Class name: ndef
Method or attribute name: messageToBytes|@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: IRemoteObject
Method or attribute name: getDescriptor|@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: 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: makeUriRecord||nfctech.d.ts| +|Deleted|Module name: nfctech
Class name: NdefMessage
Method or attribute name: makeTextRecord||nfctech.d.ts| +|Deleted|Module name: nfctech
Class name: NdefMessage
Method or attribute name: makeMimeRecord||nfctech.d.ts| +|Deleted|Module name: nfctech
Class name: NdefMessage
Method or attribute name: makeExternalRecord||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: NdefTag
Method or attribute name: createNdefMessage||nfctech.d.ts| +|Deleted|Module name: nfctech
Class name: NdefTag
Method or attribute name: createNdefMessage||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/v3.2-beta4/js-apidiff-compiler-and-runtime.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-compiler-and-runtime.md new file mode 100644 index 0000000000000000000000000000000000000000..8e89d29151b5671fca5baceae1d7a231c5f0c150 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-compiler-and-runtime.md @@ -0,0 +1,243 @@ +| 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||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: string, key: string, searchParams: this) => void, thisArg?: Object): void;|@ohos.url.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||Method or attribute name: replaceAllElements
Function name: replaceAllElements(callbackFn: (value: T, index?: number, arrlist?: ArrayList) => T,

thisArg?: Object): void;|@ohos.util.ArrayList.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, arrlist?: ArrayList) => void,

thisArg?: Object): void;|@ohos.util.ArrayList.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||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, deque?: Deque) => void,

thisArg?: Object): void;|@ohos.util.Deque.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: V, key?: K, map?: HashMap) => void,

thisArg?: Object): void;|@ohos.util.HashMap.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: T, key?: T, set?: HashSet) => void,

thisArg?: Object): void;|@ohos.util.HashSet.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: V, key?: K, map?: LightWeightMap) => void,

thisArg?: Object): void;|@ohos.util.LightWeightMap.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: T, key?: T, set?: LightWeightSet) => void,

thisArg?: Object): void;|@ohos.util.LightWeightSet.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, LinkedList?: LinkedList) => void,

thisArg?: Object): void;|@ohos.util.LinkedList.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, List?: List) => void,

thisArg?: Object): void;|@ohos.util.List.d.ts| +|Added||Method or attribute name: replaceAllElements
Function name: replaceAllElements(callbackFn: (value: T, index?: number, list?: List) => T,

thisArg?: Object): void;|@ohos.util.List.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, PlainArray?: PlainArray) => void,

thisArg?: Object): void;|@ohos.util.PlainArray.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, Queue?: Queue) => void,

thisArg?: Object): void;|@ohos.util.Queue.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, stack?: Stack) => void,

thisArg?: Object): void;|@ohos.util.Stack.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: V, key?: K, map?: TreeMap) => void,

thisArg?: Object): void;|@ohos.util.TreeMap.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value?: T, key?: T, set?: TreeSet) => void,

thisArg?: Object): void;|@ohos.util.TreeSet.d.ts| +|Added||Method or attribute name: replaceAllElements
Function name: replaceAllElements(callbackFn: (value: T, index?: number, vector?: Vector) => T,

thisArg?: Object): void;|@ohos.util.Vector.d.ts| +|Added||Method or attribute name: forEach
Function name: forEach(callbackFn: (value: T, index?: number, vector?: Vector) => void,

thisArg?: Object): void;|@ohos.util.Vector.d.ts| +|Added||Module name: ohos.worker
Class name: MessageEvents|@ohos.worker.d.ts| +|Added||Module name: ohos.worker
Class name: MessageEvents
Method or attribute name: data|@ohos.worker.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: 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:Vector
Deprecated version: N/A|Class name:Vector
Deprecated version:9
New API:ohos.util.ArrayList |@ohos.util.Vector.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|Class name:Worker
Deprecated version: N/A|Class name:Worker
Deprecated version:9
New API:ohos.worker.ThreadWorker |@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| +|Initial version changed|Class name:Vector
Initial version: |Class name:Vector
Initial version: 8|@ohos.util.Vector.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-customization.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-customization.md new file mode 100644 index 0000000000000000000000000000000000000000..6ed3d3189cef2e2247a9c75ed68524c942e8a505 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-customization.md @@ -0,0 +1,78 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: EnterpriseInfo|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: EnterpriseInfo
Method or attribute name: name|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: EnterpriseInfo
Method or attribute name: description|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: AdminType|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: AdminType
Method or attribute name: ADMIN_TYPE_NORMAL|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: AdminType
Method or attribute name: ADMIN_TYPE_SUPER|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: ManagedEvent|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: ManagedEvent
Method or attribute name: MANAGED_EVENT_BUNDLE_ADDED|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: ManagedEvent
Method or attribute name: MANAGED_EVENT_BUNDLE_REMOVED|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: enableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: enableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: enableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: disableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: disableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: disableAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: disableSuperAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: disableSuperAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: isAdminEnabled|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: isAdminEnabled|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: isAdminEnabled|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: getEnterpriseInfo|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: getEnterpriseInfo|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: setEnterpriseInfo|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: setEnterpriseInfo|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: isSuperAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: isSuperAdmin|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: subscribeManagedEvent|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: subscribeManagedEvent|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: unsubscribeManagedEvent|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.adminManager
Class name: adminManager
Method or attribute name: unsubscribeManagedEvent|@ohos.enterprise.adminManager.d.ts| +|Added||Module name: ohos.enterprise.dateTimeManager
Class name: dateTimeManager|@ohos.enterprise.dateTimeManager.d.ts| +|Added||Module name: ohos.enterprise.dateTimeManager
Class name: dateTimeManager
Method or attribute name: setDateTime|@ohos.enterprise.dateTimeManager.d.ts| +|Added||Module name: ohos.enterprise.dateTimeManager
Class name: dateTimeManager
Method or attribute name: setDateTime|@ohos.enterprise.dateTimeManager.d.ts| +|Added||Module name: ohos.enterprise.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts| +|Added||Module name: ohos.enterprise.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onAdminEnabled|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts| +|Added||Module name: ohos.enterprise.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onAdminDisabled|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts| +|Added||Module name: ohos.enterprise.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onBundleAdded|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts| +|Added||Module name: ohos.enterprise.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onBundleRemoved|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts| +|Deleted|Module name: ohos.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility||@ohos.EnterpriseAdminExtensionAbility.d.ts| +|Deleted|Module name: ohos.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onAdminEnabled||@ohos.EnterpriseAdminExtensionAbility.d.ts| +|Deleted|Module name: ohos.EnterpriseAdminExtensionAbility
Class name: EnterpriseAdminExtensionAbility
Method or attribute name: onAdminDisabled||@ohos.EnterpriseAdminExtensionAbility.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: EnterpriseInfo||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: EnterpriseInfo
Method or attribute name: name||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: EnterpriseInfo
Method or attribute name: description||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: AdminType||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: AdminType
Method or attribute name: ADMIN_TYPE_NORMAL||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: AdminType
Method or attribute name: ADMIN_TYPE_SUPER||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: enableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: enableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: enableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: disableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: disableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: disableAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: disableSuperAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: disableSuperAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: isAdminEnabled||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: isAdminEnabled||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: isAdminEnabled||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: getEnterpriseInfo||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: getEnterpriseInfo||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: setEnterpriseInfo||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: setEnterpriseInfo||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: isSuperAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: isSuperAdmin||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: getDeviceSettingsManager||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: ohos.enterpriseDeviceManager
Class name: enterpriseDeviceManager
Method or attribute name: getDeviceSettingsManager||@ohos.enterpriseDeviceManager.d.ts| +|Deleted|Module name: DeviceSettingsManager
Class name: DeviceSettingsManager||DeviceSettingsManager.d.ts| +|Deleted|Module name: DeviceSettingsManager
Class name: DeviceSettingsManager
Method or attribute name: setDateTime||DeviceSettingsManager.d.ts| +|Deleted|Module name: DeviceSettingsManager
Class name: DeviceSettingsManager
Method or attribute name: setDateTime||DeviceSettingsManager.d.ts| +|Access level changed|Class name: configPolicy
Access level: public API|Class name: configPolicy
Access level: system API|@ohos.configPolicy.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| +|Access level changed|Class name: configPolicy
Access level: public API|Class name: configPolicy
Access level: system API|@ohos.configPolicy.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-dfx.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-dfx.md new file mode 100644 index 0000000000000000000000000000000000000000..4c7c038111957bd6e001203493012eb7f5be2895 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-dfx.md @@ -0,0 +1,108 @@ +| 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|Class name: bytrace
Deprecated version: N/A|Class name: bytrace
Deprecated version: 8
New API: ohos.hiTraceMeter |@ohos.bytrace.d.ts| +|Deprecated version changed|Method or attribute name: startTrace
Deprecated version: N/A|Method or attribute name: startTrace
Deprecated version: 8
New API: ohos.hiTraceMeter.startTrace |@ohos.bytrace.d.ts| +|Deprecated version changed|Method or attribute name: finishTrace
Deprecated version: N/A|Method or attribute name: finishTrace
Deprecated version: 8
New API: ohos.hiTraceMeter.finishTrace |@ohos.bytrace.d.ts| +|Deprecated version changed|Method or attribute name: traceByValue
Deprecated version: N/A|Method or attribute name: traceByValue
Deprecated version: 8
New API: ohos.hiTraceMeter.traceByValue |@ohos.bytrace.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/v3.2-beta4/js-apidiff-distributed-data.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-distributed-data.md new file mode 100644 index 0000000000000000000000000000000000000000..43ba43f0b2e958c4b07985ccb901373fe1160096 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-distributed-data.md @@ -0,0 +1,627 @@ +| 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: 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: 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: 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: 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.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: @Stage Model Only|@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.ValueType|@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: 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|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: 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: 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_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: 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: 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_dataChange
Deprecated version: N/A|Method or attribute name: on_dataChange
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: off_syncComplete
Initial version: 9|Method or attribute name: off_syncComplete
Initial version: 8|@ohos.data.distributedData.d.ts| +|Initial version changed|Method or attribute name: on_dataChange
Initial version: 9|Method or attribute name: on_dataChange
Initial version: 8|@ohos.data.distributedData.d.ts| +|Initial version changed|Method or attribute name: on_dataChange
Initial version: 9|Method or attribute name: on_dataChange
Initial version: 8|@ohos.data.distributedData.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/v3.2-beta4/js-apidiff-distributed-hardware.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-distributed-hardware.md new file mode 100644 index 0000000000000000000000000000000000000000..7065876b974c7fdce95939d6a3a207b89366ebac --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/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/v3.2-beta4/js-apidiff-file-management.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-file-management.md new file mode 100644 index 0000000000000000000000000000000000000000..89921c693d161cab4868afe979c8e9199c2ea42f --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-file-management.md @@ -0,0 +1,372 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.file.fs
Class name: fileIo|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: READ_ONLY|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: WRITE_ONLY|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: READ_WRITE|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: CREATE|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: TRUNC|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: APPEND|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: NONBLOCK|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: DIR|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: NOFOLLOW|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: OpenMode
Method or attribute name: SYNC|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: open|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: open|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: open|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: openSync|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: read|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: read|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: read|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: readSync|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: stat|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: stat|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: statSync|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: truncate|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: truncate|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: truncate|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: truncateSync|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: write|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: write|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: write|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: fileIo
Method or attribute name: writeSync|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: File|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: File
Method or attribute name: fd|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: ino|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: mode|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: uid|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: gid|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: size|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: atime|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: mtime|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: ctime|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isBlockDevice|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isCharacterDevice|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isDirectory|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isFIFO|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isFile|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isSocket|@ohos.file.fs.d.ts| +|Added||Module name: ohos.file.fs
Class name: Stat
Method or attribute name: isSymbolicLink|@ohos.file.fs.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: 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| +|Deprecated version changed|Method or attribute name: ftruncate
Deprecated version: N/A|Method or attribute name: ftruncate
Deprecated version: 9
New API: ohos.file.fs.truncate |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: ftruncate
Deprecated version: N/A|Method or attribute name: ftruncate
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: ftruncate
Deprecated version: N/A|Method or attribute name: ftruncate
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: ftruncateSync
Deprecated version: N/A|Method or attribute name: ftruncateSync
Deprecated version: 9
New API: ohos.file.fs.truncateSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: fstat
Deprecated version: N/A|Method or attribute name: fstat
Deprecated version: 9
New API: ohos.file.fs.stat |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: fstat
Deprecated version: N/A|Method or attribute name: fstat
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: fstatSync
Deprecated version: N/A|Method or attribute name: fstatSync
Deprecated version: 9
New API: ohos.file.fs.statSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: N/A|Method or attribute name: open
Deprecated version: 9
New API: ohos.file.fs.open |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: N/A|Method or attribute name: open
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: N/A|Method or attribute name: open
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: N/A|Method or attribute name: open
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: openSync
Deprecated version: N/A|Method or attribute name: openSync
Deprecated version: 9
New API: ohos.file.fs.openSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: read
Deprecated version: N/A|Method or attribute name: read
Deprecated version: 9
New API: ohos.file.fs.read |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: read
Deprecated version: N/A|Method or attribute name: read
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: read
Deprecated version: N/A|Method or attribute name: read
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: readSync
Deprecated version: N/A|Method or attribute name: readSync
Deprecated version: 9
New API: ohos.file.fs.readSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: stat
Deprecated version: N/A|Method or attribute name: stat
Deprecated version: 9
New API: ohos.file.fs.stat |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: stat
Deprecated version: N/A|Method or attribute name: stat
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: statSync
Deprecated version: N/A|Method or attribute name: statSync
Deprecated version: 9
New API: ohos.file.fs.statSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: truncate
Deprecated version: N/A|Method or attribute name: truncate
Deprecated version: 9
New API: ohos.file.fs.truncate |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: truncate
Deprecated version: N/A|Method or attribute name: truncate
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: truncate
Deprecated version: N/A|Method or attribute name: truncate
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: truncateSync
Deprecated version: N/A|Method or attribute name: truncateSync
Deprecated version: 9
New API: ohos.file.fs.truncateSync |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: write
Deprecated version: N/A|Method or attribute name: write
Deprecated version: 9
New API: ohos.file.fs.write |@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: write
Deprecated version: N/A|Method or attribute name: write
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: write
Deprecated version: N/A|Method or attribute name: write
Deprecated version: 9|@ohos.fileio.d.ts| +|Deprecated version changed|Method or attribute name: writeSync
Deprecated version: N/A|Method or attribute name: writeSync
Deprecated version: 9
New API: ohos.file.fs.writeSync |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Stat
Deprecated version: N/A|Class name: Stat
Deprecated version: 9
New API: ohos.file.fs.Stat |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: ReadOut
Deprecated version: N/A|Class name: ReadOut
Deprecated version: 9|@ohos.fileio.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/v3.2-beta4/js-apidiff-geolocation.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-geolocation.md new file mode 100644 index 0000000000000000000000000000000000000000..c20d0b35204c56ac7d0ca66f0f70e71bdc5844c1 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/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/v3.2-beta4/js-apidiff-global.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-global.md new file mode 100644 index 0000000000000000000000000000000000000000..fb7d92d30f34b97292d69a4882dced394f0b5db2 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/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/v3.2-beta4/js-apidiff-misc.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-misc.md new file mode 100644 index 0000000000000000000000000000000000000000..2c6169439c5777022538b3427c0e29d7c55a5402 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-misc.md @@ -0,0 +1,317 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|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_setSubtype|@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| +|Add||Method or attribute name: createData
Function name: function createData(mimeType: string, value: ValueType): PasteData;|@ohos.pasteboard.d.ts| +|Add||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| +|Add||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/v3.2-beta4/js-apidiff-msdp.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-msdp.md new file mode 100644 index 0000000000000000000000000000000000000000..f4930f7edda81964bd8aead705e9688f13c961c7 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-msdp.md @@ -0,0 +1,15 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.stationary
Class name: stationary|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityResponse|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityResponse
Method or attribute name: state|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityEvent|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityEvent
Method or attribute name: ENTER|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityEvent
Method or attribute name: EXIT|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityEvent
Method or attribute name: ENTER_EXIT|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityState|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityState
Method or attribute name: ENTER|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: ActivityState
Method or attribute name: EXIT|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: stationary
Method or attribute name: on|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: stationary
Method or attribute name: once|@ohos.stationary.d.ts| +|Added||Module name: ohos.stationary
Class name: stationary
Method or attribute name: off|@ohos.stationary.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-multi-modal-input.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-multi-modal-input.md new file mode 100644 index 0000000000000000000000000000000000000000..0dc8cdc6b3873ba0a88cfed57bae55b327d54449 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-multi-modal-input.md @@ -0,0 +1,17 @@ +| 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||Method or attribute name: supportKeys
Function name: function supportKeys(deviceId: number, keys: Array, callback: AsyncCallback>): void;|@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/v3.2-beta4/js-apidiff-multimedia.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-multimedia.md new file mode 100644 index 0000000000000000000000000000000000000000..e022fb8f0a13e8e97dee2dbaebfcc2c53504470c --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/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
Class name: CameraInputErrorCode
Method or attribute name: ERROR_NO_PERMISSION|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_PREEMPTED|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_DISCONNECTED|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_IN_USE|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraFormat|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraFormat
Method or attribute name: CAMERA_FORMAT_RGBA_8888|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraFormat
Method or attribute name: CAMERA_FORMAT_YUV_420_SP|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraFormat
Method or attribute name: CAMERA_FORMAT_JPEG|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FLASH_MODE_OPEN
Function name: FLASH_MODE_OPEN = 1|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FLASH_MODE_AUTO
Function name: FLASH_MODE_AUTO = 2|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FLASH_MODE_ALWAYS_OPEN
Function name: FLASH_MODE_ALWAYS_OPEN = 3|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: ExposureMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: ExposureMode
Method or attribute name: EXPOSURE_MODE_LOCKED|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: ExposureMode
Method or attribute name: EXPOSURE_MODE_AUTO|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: ExposureMode
Method or attribute name: EXPOSURE_MODE_CONTINUOUS_AUTO|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FOCUS_MODE_CONTINUOUS_AUTO
Function name: FOCUS_MODE_CONTINUOUS_AUTO = 1|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FOCUS_MODE_AUTO
Function name: FOCUS_MODE_AUTO = 2|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FOCUS_MODE_LOCKED
Function name: FOCUS_MODE_LOCKED = 3|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FOCUS_STATE_FOCUSED
Function name: FOCUS_STATE_FOCUSED = 1|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: FOCUS_STATE_UNFOCUSED
Function name: FOCUS_STATE_UNFOCUSED = 2|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode
Method or attribute name: OFF|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode
Method or attribute name: LOW|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode
Method or attribute name: MIDDLE|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode
Method or attribute name: HIGH|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoStabilizationMode
Method or attribute name: AUTO|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: addOutput
Function name: addOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: addOutput
Function name: addOutput(cameraOutput: CameraOutput): Promise;|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: removeOutput
Function name: removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: removeOutput
Function name: removeOutput(cameraOutput: CameraOutput): Promise;|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: hasFlash|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: hasFlash|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isFlashModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isFlashModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFlashMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFlashMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFlashMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFlashMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isExposureModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isExposureModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setExposureMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setExposureMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getMeteringPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getMeteringPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setMeteringPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setMeteringPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureBiasRange|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureBiasRange|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setExposureBias|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setExposureBias|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureValue|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getExposureValue|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isFocusModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isFocusModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocusMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocusMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFocusMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFocusMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFocusPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setFocusPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocusPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocusPoint|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocalLength|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getFocalLength|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getZoomRatioRange|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getZoomRatioRange|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getZoomRatio|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getZoomRatio|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setZoomRatio|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setZoomRatio|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isVideoStabilizationModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: isVideoStabilizationModeSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getActiveVideoStabilizationMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: getActiveVideoStabilizationMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setVideoStabilizationMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: setVideoStabilizationMode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSession
Method or attribute name: on_focusStateChange|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
Method or attribute name: ERROR_TIMEOUT|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraOutput|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraOutput
Method or attribute name: release|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraOutput
Method or attribute name: release|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: start|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: start|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: stop|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: stop|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Location|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Location
Method or attribute name: latitude|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Location
Method or attribute name: longitude|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Location
Method or attribute name: altitude|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: QUALITY_LEVEL_MEDIUM
Function name: QUALITY_LEVEL_MEDIUM = 1|@ohos.multimedia.camera.d.ts| +|Added||Method or attribute name: QUALITY_LEVEL_LOW
Function name: QUALITY_LEVEL_LOW = 2|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoCaptureSetting
Method or attribute name: location|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoCaptureSetting
Method or attribute name: mirror|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutput
Method or attribute name: isMirrorSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutput
Method or attribute name: isMirrorSupported|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_TIMEOUT|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: VideoOutputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObjectType|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObjectType
Method or attribute name: FACE_DETECTION|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Rect|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Rect
Method or attribute name: topLeftX|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Rect
Method or attribute name: topLeftY|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Rect
Method or attribute name: width|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: Rect
Method or attribute name: height|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getType|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getType|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getTimestamp|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getTimestamp|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getBoundingBox|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getBoundingBox|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataFaceObject|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: start|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: start|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: stop|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: stop|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: on_metadataObjectsAvailable|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutput
Method or attribute name: on_error|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode
Method or attribute name: ERROR_UNKNOWN|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutputError|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: MetadataOutputError
Method or attribute name: code|@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: image|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PixelMapFormat
Method or attribute name: RGB_888|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PixelMapFormat
Method or attribute name: ALPHA_8|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PixelMapFormat
Method or attribute name: RGBA_F16|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PixelMapFormat
Method or attribute name: NV21|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PixelMapFormat
Method or attribute name: NV12|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PropertyKey
Method or attribute name: DATE_TIME_ORIGINAL|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PropertyKey
Method or attribute name: EXPOSURE_TIME|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PropertyKey
Method or attribute name: SCENE_TYPE|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PropertyKey
Method or attribute name: ISO_SPEED_RATINGS|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PropertyKey
Method or attribute name: F_NUMBER|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageInfo
Method or attribute name: density|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: PackingOption
Method or attribute name: bufferSize|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: DecodingOptions
Method or attribute name: fitDensity|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: image
Method or attribute name: createImageCreator|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: capacity|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: format|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: dequeueImage|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: dequeueImage|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: queueImage|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: queueImage|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: on_imageRelease|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: release|@ohos.multimedia.image.d.ts| +|Added||Module name: ohos.multimedia.image
Class name: ImageCreator
Method or attribute name: release|@ohos.multimedia.image.d.ts| +|Added||Method or attribute name: audioSourceType
Function name: audioSourceType?: AudioSourceType;|@ohos.multimedia.media.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: FocusType||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: FocusType
Method or attribute name: FOCUS_TYPE_RECORDING||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: getVolumeGroups||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: getVolumeGroups||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: getGroupManager||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: getGroupManager||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: requestIndependentInterrupt||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: requestIndependentInterrupt||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: abandonIndependentInterrupt||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: abandonIndependentInterrupt||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: on_independentInterrupt||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioManager
Method or attribute name: off_independentInterrupt||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: setVolume||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: setVolume||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getVolume||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getVolume||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getMinVolume||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getMinVolume||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getMaxVolume||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: getMaxVolume||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: mute||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: mute||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: isMute||@ohos.multimedia.audio.d.ts| +|Deleted||Module name: ohos.multimedia.audio
Class name: AudioGroupManager
Method or attribute name: isMute||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.audio
Class name: AudioRenderer
Method or attribute name: on_interrupt||@ohos.multimedia.audio.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraManager
Method or attribute name: getCameras||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraManager
Method or attribute name: getCameras||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: Camera||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: Camera
Method or attribute name: cameraId||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: Camera
Method or attribute name: cameraPosition||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: Camera
Method or attribute name: cameraType||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: Camera
Method or attribute name: connectionType||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getCameraId||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getCameraId||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: hasFlash||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: hasFlash||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: isFlashModeSupported||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: isFlashModeSupported||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getFlashMode||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getFlashMode||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setFlashMode||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setFlashMode||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: isFocusModeSupported||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: isFocusModeSupported||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getFocusMode||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getFocusMode||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setFocusMode||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setFocusMode||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getZoomRatioRange||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getZoomRatioRange||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getZoomRatio||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: getZoomRatio||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setZoomRatio||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: setZoomRatio||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: on_focusStateChange||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createCaptureSession||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createCaptureSession||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createPreviewOutput||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createPreviewOutput||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PreviewOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createPhotoOutput||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createPhotoOutput||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Added||Module name: ohos.multimedia.camera
Class name: PhotoOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createVideoOutput||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: camera
Method or attribute name: createVideoOutput||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: VideoOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.camera
Class name: VideoOutput
Method or attribute name: release||@ohos.multimedia.camera.d.ts| +|Deleted||Module name: ohos.multimedia.media
Class name: VideoPlayer
Method or attribute name: selectBitrate||@ohos.multimedia.media.d.ts| +|Deleted||Module name: ohos.multimedia.media
Class name: VideoPlayer
Method or attribute name: selectBitrate||@ohos.multimedia.media.d.ts| +|Deleted||Module name: ohos.multimedia.media
Class name: VideoPlayer
Method or attribute name: on_availableBitratesCollect||@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: createVideoRecorder
Access level: public API|Method or attribute name: createVideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: createVideoRecorder
Access level: public API|Method or attribute name: createVideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorder
Access level: public API|Class name: VideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: prepare
Access level: public API|Method or attribute name: prepare
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: prepare
Access level: public API|Method or attribute name: prepare
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: getInputSurface
Access level: public API|Method or attribute name: getInputSurface
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: getInputSurface
Access level: public API|Method or attribute name: getInputSurface
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: start
Access level: public API|Method or attribute name: start
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: start
Access level: public API|Method or attribute name: start
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: pause
Access level: public API|Method or attribute name: pause
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: pause
Access level: public API|Method or attribute name: pause
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: resume
Access level: public API|Method or attribute name: resume
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: resume
Access level: public API|Method or attribute name: resume
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: stop
Access level: public API|Method or attribute name: stop
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: stop
Access level: public API|Method or attribute name: stop
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: release
Access level: public API|Method or attribute name: release
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: release
Access level: public API|Method or attribute name: release
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: reset
Access level: public API|Method or attribute name: reset
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: reset
Access level: public API|Method or attribute name: reset
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: on_error
Access level: public API|Method or attribute name: on_error
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: state
Access level: public API|Method or attribute name: state
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorderProfile
Access level: public API|Class name: VideoRecorderProfile
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioBitrate
Access level: public API|Method or attribute name: audioBitrate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioChannels
Access level: public API|Method or attribute name: audioChannels
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioCodec
Access level: public API|Method or attribute name: audioCodec
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioSampleRate
Access level: public API|Method or attribute name: audioSampleRate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: fileFormat
Access level: public API|Method or attribute name: fileFormat
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoBitrate
Access level: public API|Method or attribute name: videoBitrate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoCodec
Access level: public API|Method or attribute name: videoCodec
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameWidth
Access level: public API|Method or attribute name: videoFrameWidth
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameHeight
Access level: public API|Method or attribute name: videoFrameHeight
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameRate
Access level: public API|Method or attribute name: videoFrameRate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: AudioSourceType
Access level: public API|Class name: AudioSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT
Access level: public API|Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: AUDIO_SOURCE_TYPE_MIC
Access level: public API|Method or attribute name: AUDIO_SOURCE_TYPE_MIC
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoSourceType
Access level: public API|Class name: VideoSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV
Access level: public API|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES
Access level: public API|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorderConfig
Access level: public API|Class name: VideoRecorderConfig
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoSourceType
Access level: public API|Method or attribute name: videoSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: profile
Access level: public API|Method or attribute name: profile
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: url
Access level: public API|Method or attribute name: url
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: rotation
Access level: public API|Method or attribute name: rotation
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: location
Access level: public API|Method or attribute name: location
Access level: system API|@ohos.multimedia.media.d.ts| +|Deprecated version changed|Class name: ActiveDeviceType
Deprecated version: N/A|Class name: ActiveDeviceType
Deprecated version: 9
New API: ohos.multimedia.audio.CommunicationDeviceType |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: SPEAKER
Deprecated version: N/A|Method or attribute name: SPEAKER
Deprecated version: 9
New API: ohos.multimedia.audio.CommunicationDeviceType.SPEAKER |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: BLUETOOTH_SCO
Deprecated version: N/A|Method or attribute name: BLUETOOTH_SCO
Deprecated version: 9
New API: ohos.multimedia.audio.CommunicationDeviceType |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Class name: InterruptActionType
Deprecated version: N/A|Class name: InterruptActionType
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_ACTIVATED
Deprecated version: N/A|Method or attribute name: TYPE_ACTIVATED
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_INTERRUPT
Deprecated version: N/A|Method or attribute name: TYPE_INTERRUPT
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setVolume
Deprecated version: N/A|Method or attribute name: setVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setVolume
Deprecated version: N/A|Method or attribute name: setVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getVolume
Deprecated version: N/A|Method or attribute name: getVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getVolume
Deprecated version: N/A|Method or attribute name: getVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getMinVolume
Deprecated version: N/A|Method or attribute name: getMinVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getMinVolume
Deprecated version: N/A|Method or attribute name: getMinVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getMaxVolume
Deprecated version: N/A|Method or attribute name: getMaxVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getMaxVolume
Deprecated version: N/A|Method or attribute name: getMaxVolume
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getDevices
Deprecated version: N/A|Method or attribute name: getDevices
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getDevices
Deprecated version: N/A|Method or attribute name: getDevices
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: mute
Deprecated version: N/A|Method or attribute name: mute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: mute
Deprecated version: N/A|Method or attribute name: mute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isMute
Deprecated version: N/A|Method or attribute name: isMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isMute
Deprecated version: N/A|Method or attribute name: isMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isActive
Deprecated version: N/A|Method or attribute name: isActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioStreamManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isActive
Deprecated version: N/A|Method or attribute name: isActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioStreamManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setMicrophoneMute
Deprecated version: N/A|Method or attribute name: setMicrophoneMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setMicrophoneMute
Deprecated version: N/A|Method or attribute name: setMicrophoneMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isMicrophoneMute
Deprecated version: N/A|Method or attribute name: isMicrophoneMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isMicrophoneMute
Deprecated version: N/A|Method or attribute name: isMicrophoneMute
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setRingerMode
Deprecated version: N/A|Method or attribute name: setRingerMode
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setRingerMode
Deprecated version: N/A|Method or attribute name: setRingerMode
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getRingerMode
Deprecated version: N/A|Method or attribute name: getRingerMode
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: getRingerMode
Deprecated version: N/A|Method or attribute name: getRingerMode
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setDeviceActive
Deprecated version: N/A|Method or attribute name: setDeviceActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: setDeviceActive
Deprecated version: N/A|Method or attribute name: setDeviceActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isDeviceActive
Deprecated version: N/A|Method or attribute name: isDeviceActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: isDeviceActive
Deprecated version: N/A|Method or attribute name: isDeviceActive
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: on_volumeChange
Deprecated version: N/A|Method or attribute name: on_volumeChange
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: on_ringerModeChange
Deprecated version: N/A|Method or attribute name: on_ringerModeChange
Deprecated version: 9
New API: ohos.multimedia.audio.AudioVolumeGroupManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: on_deviceChange
Deprecated version: N/A|Method or attribute name: on_deviceChange
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: off_deviceChange
Deprecated version: N/A|Method or attribute name: off_deviceChange
Deprecated version: 9
New API: ohos.multimedia.audio.AudioRoutingManager|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Class name: InterruptAction
Deprecated version: N/A|Class name: InterruptAction
Deprecated version: 9
New API: ohos.multimedia.audio.InterruptEvent |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: actionType
Deprecated version: N/A|Method or attribute name: actionType
Deprecated version: 9
New API: ohos.multimedia.audio.InterruptEvent |@ohos.multimedia.audio.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.multimedia.audio.InterruptEvent |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: hint
Deprecated version: N/A|Method or attribute name: hint
Deprecated version: 9
New API: ohos.multimedia.audio.InterruptEvent |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: activated
Deprecated version: N/A|Method or attribute name: activated
Deprecated version: 9
New API: ohos.multimedia.audio.InterruptEvent |@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Class name: AudioInterrupt
Deprecated version: N/A|Class name: AudioInterrupt
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: streamUsage
Deprecated version: N/A|Method or attribute name: streamUsage
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: contentType
Deprecated version: N/A|Method or attribute name: contentType
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Method or attribute name: pauseWhenDucked
Deprecated version: N/A|Method or attribute name: pauseWhenDucked
Deprecated version: 9|@ohos.multimedia.audio.d.ts| +|Deprecated version changed|Class name: mediaLibrary
Deprecated version: 9|Class name: mediaLibrary
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getMediaLibrary
Deprecated version: 9|Method or attribute name: getMediaLibrary
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getMediaLibrary
Deprecated version: 9|Method or attribute name: getMediaLibrary
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: MediaType
Deprecated version: 9|Class name: MediaType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: FILE
Deprecated version: 9|Method or attribute name: FILE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: IMAGE
Deprecated version: 9|Method or attribute name: IMAGE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: VIDEO
Deprecated version: 9|Method or attribute name: VIDEO
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: AUDIO
Deprecated version: 9|Method or attribute name: AUDIO
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: FileAsset
Deprecated version: 9|Class name: FileAsset
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: id
Deprecated version: 9|Method or attribute name: id
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: uri
Deprecated version: 9|Method or attribute name: uri
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: mimeType
Deprecated version: 9|Method or attribute name: mimeType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: mediaType
Deprecated version: 9|Method or attribute name: mediaType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: displayName
Deprecated version: 9|Method or attribute name: displayName
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: title
Deprecated version: 9|Method or attribute name: title
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: relativePath
Deprecated version: 9|Method or attribute name: relativePath
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: parent
Deprecated version: 9|Method or attribute name: parent
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: size
Deprecated version: 9|Method or attribute name: size
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: dateAdded
Deprecated version: 9|Method or attribute name: dateAdded
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: dateModified
Deprecated version: 9|Method or attribute name: dateModified
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: dateTaken
Deprecated version: 9|Method or attribute name: dateTaken
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: artist
Deprecated version: 9|Method or attribute name: artist
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: audioAlbum
Deprecated version: 9|Method or attribute name: audioAlbum
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: width
Deprecated version: 9|Method or attribute name: width
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: height
Deprecated version: 9|Method or attribute name: height
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: orientation
Deprecated version: 9|Method or attribute name: orientation
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: duration
Deprecated version: 9|Method or attribute name: duration
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumId
Deprecated version: 9|Method or attribute name: albumId
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumUri
Deprecated version: 9|Method or attribute name: albumUri
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumName
Deprecated version: 9|Method or attribute name: albumName
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isDirectory
Deprecated version: 9|Method or attribute name: isDirectory
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isDirectory
Deprecated version: 9|Method or attribute name: isDirectory
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: commitModify
Deprecated version: 9|Method or attribute name: commitModify
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: commitModify
Deprecated version: 9|Method or attribute name: commitModify
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: 9|Method or attribute name: open
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: open
Deprecated version: 9|Method or attribute name: open
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: close
Deprecated version: 9|Method or attribute name: close
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: close
Deprecated version: 9|Method or attribute name: close
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getThumbnail
Deprecated version: 9|Method or attribute name: getThumbnail
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getThumbnail
Deprecated version: 9|Method or attribute name: getThumbnail
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getThumbnail
Deprecated version: 9|Method or attribute name: getThumbnail
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: favorite
Deprecated version: 9|Method or attribute name: favorite
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: favorite
Deprecated version: 9|Method or attribute name: favorite
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isFavorite
Deprecated version: 9|Method or attribute name: isFavorite
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isFavorite
Deprecated version: 9|Method or attribute name: isFavorite
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: trash
Deprecated version: 9|Method or attribute name: trash
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: trash
Deprecated version: 9|Method or attribute name: trash
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isTrash
Deprecated version: 9|Method or attribute name: isTrash
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isTrash
Deprecated version: 9|Method or attribute name: isTrash
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: FileKey
Deprecated version: 9|Class name: FileKey
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: ID
Deprecated version: 9|Method or attribute name: ID
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: RELATIVE_PATH
Deprecated version: 9|Method or attribute name: RELATIVE_PATH
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DISPLAY_NAME
Deprecated version: 9|Method or attribute name: DISPLAY_NAME
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: PARENT
Deprecated version: 9|Method or attribute name: PARENT
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: MIME_TYPE
Deprecated version: 9|Method or attribute name: MIME_TYPE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: MEDIA_TYPE
Deprecated version: 9|Method or attribute name: MEDIA_TYPE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: SIZE
Deprecated version: 9|Method or attribute name: SIZE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DATE_ADDED
Deprecated version: 9|Method or attribute name: DATE_ADDED
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DATE_MODIFIED
Deprecated version: 9|Method or attribute name: DATE_MODIFIED
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DATE_TAKEN
Deprecated version: 9|Method or attribute name: DATE_TAKEN
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TITLE
Deprecated version: 9|Method or attribute name: TITLE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: ARTIST
Deprecated version: 9|Method or attribute name: ARTIST
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: AUDIOALBUM
Deprecated version: 9|Method or attribute name: AUDIOALBUM
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DURATION
Deprecated version: 9|Method or attribute name: DURATION
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: WIDTH
Deprecated version: 9|Method or attribute name: WIDTH
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: HEIGHT
Deprecated version: 9|Method or attribute name: HEIGHT
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: ORIENTATION
Deprecated version: 9|Method or attribute name: ORIENTATION
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: ALBUM_ID
Deprecated version: 9|Method or attribute name: ALBUM_ID
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: ALBUM_NAME
Deprecated version: 9|Method or attribute name: ALBUM_NAME
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: MediaFetchOptions
Deprecated version: 9|Class name: MediaFetchOptions
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: selections
Deprecated version: 9|Method or attribute name: selections
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: selectionArgs
Deprecated version: 9|Method or attribute name: selectionArgs
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: order
Deprecated version: 9|Method or attribute name: order
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: uri
Deprecated version: 9|Method or attribute name: uri
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: networkId
Deprecated version: 9|Method or attribute name: networkId
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: extendArgs
Deprecated version: 9|Method or attribute name: extendArgs
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: FetchFileResult
Deprecated version: 9|Class name: FetchFileResult
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getCount
Deprecated version: 9|Method or attribute name: getCount
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isAfterLast
Deprecated version: 9|Method or attribute name: isAfterLast
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: close
Deprecated version: 9|Method or attribute name: close
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFirstObject
Deprecated version: 9|Method or attribute name: getFirstObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFirstObject
Deprecated version: 9|Method or attribute name: getFirstObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getNextObject
Deprecated version: 9|Method or attribute name: getNextObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getNextObject
Deprecated version: 9|Method or attribute name: getNextObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getLastObject
Deprecated version: 9|Method or attribute name: getLastObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getLastObject
Deprecated version: 9|Method or attribute name: getLastObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getPositionObject
Deprecated version: 9|Method or attribute name: getPositionObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getPositionObject
Deprecated version: 9|Method or attribute name: getPositionObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAllObject
Deprecated version: 9|Method or attribute name: getAllObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAllObject
Deprecated version: 9|Method or attribute name: getAllObject
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: Album
Deprecated version: 9|Class name: Album
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumId
Deprecated version: 9|Method or attribute name: albumId
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumName
Deprecated version: 9|Method or attribute name: albumName
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: albumUri
Deprecated version: 9|Method or attribute name: albumUri
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: dateModified
Deprecated version: 9|Method or attribute name: dateModified
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: count
Deprecated version: 9|Method or attribute name: count
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: relativePath
Deprecated version: 9|Method or attribute name: relativePath
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: coverUri
Deprecated version: 9|Method or attribute name: coverUri
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: commitModify
Deprecated version: 9|Method or attribute name: commitModify
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: commitModify
Deprecated version: 9|Method or attribute name: commitModify
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFileAssets
Deprecated version: 9|Method or attribute name: getFileAssets
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFileAssets
Deprecated version: 9|Method or attribute name: getFileAssets
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFileAssets
Deprecated version: 9|Method or attribute name: getFileAssets
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: DirectoryType
Deprecated version: 9|Class name: DirectoryType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_CAMERA
Deprecated version: 9|Method or attribute name: DIR_CAMERA
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_VIDEO
Deprecated version: 9|Method or attribute name: DIR_VIDEO
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_IMAGE
Deprecated version: 9|Method or attribute name: DIR_IMAGE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_AUDIO
Deprecated version: 9|Method or attribute name: DIR_AUDIO
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_DOCUMENTS
Deprecated version: 9|Method or attribute name: DIR_DOCUMENTS
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: DIR_DOWNLOAD
Deprecated version: 9|Method or attribute name: DIR_DOWNLOAD
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: MediaLibrary
Deprecated version: 9|Class name: MediaLibrary
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getPublicDirectory
Deprecated version: 9|Method or attribute name: getPublicDirectory
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getPublicDirectory
Deprecated version: 9|Method or attribute name: getPublicDirectory
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFileAssets
Deprecated version: 9|Method or attribute name: getFileAssets
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getFileAssets
Deprecated version: 9|Method or attribute name: getFileAssets
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_deviceChange
Deprecated version: 9|Method or attribute name: on_deviceChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_albumChange
Deprecated version: 9|Method or attribute name: on_albumChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_imageChange
Deprecated version: 9|Method or attribute name: on_imageChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_audioChange
Deprecated version: 9|Method or attribute name: on_audioChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_videoChange
Deprecated version: 9|Method or attribute name: on_videoChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_fileChange
Deprecated version: 9|Method or attribute name: on_fileChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: on_remoteFileChange
Deprecated version: 9|Method or attribute name: on_remoteFileChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_deviceChange
Deprecated version: 9|Method or attribute name: off_deviceChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_albumChange
Deprecated version: 9|Method or attribute name: off_albumChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_imageChange
Deprecated version: 9|Method or attribute name: off_imageChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_audioChange
Deprecated version: 9|Method or attribute name: off_audioChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_videoChange
Deprecated version: 9|Method or attribute name: off_videoChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_fileChange
Deprecated version: 9|Method or attribute name: off_fileChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: off_remoteFileChange
Deprecated version: 9|Method or attribute name: off_remoteFileChange
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: createAsset
Deprecated version: 9|Method or attribute name: createAsset
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: createAsset
Deprecated version: 9|Method or attribute name: createAsset
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: deleteAsset
Deprecated version: 9|Method or attribute name: deleteAsset
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: deleteAsset
Deprecated version: 9|Method or attribute name: deleteAsset
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAlbums
Deprecated version: 9|Method or attribute name: getAlbums
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAlbums
Deprecated version: 9|Method or attribute name: getAlbums
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getActivePeers
Deprecated version: 9|Method or attribute name: getActivePeers
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getActivePeers
Deprecated version: 9|Method or attribute name: getActivePeers
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAllPeers
Deprecated version: 9|Method or attribute name: getAllPeers
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: getAllPeers
Deprecated version: 9|Method or attribute name: getAllPeers
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: release
Deprecated version: 9|Method or attribute name: release
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: release
Deprecated version: 9|Method or attribute name: release
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: Size
Deprecated version: 9|Class name: Size
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: width
Deprecated version: 9|Method or attribute name: width
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: height
Deprecated version: 9|Method or attribute name: height
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: PeerInfo
Deprecated version: 9|Class name: PeerInfo
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: deviceName
Deprecated version: 9|Method or attribute name: deviceName
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: networkId
Deprecated version: 9|Method or attribute name: networkId
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: deviceType
Deprecated version: 9|Method or attribute name: deviceType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: isOnline
Deprecated version: 9|Method or attribute name: isOnline
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Class name: DeviceType
Deprecated version: 9|Class name: DeviceType
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_UNKNOWN
Deprecated version: 9|Method or attribute name: TYPE_UNKNOWN
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_LAPTOP
Deprecated version: 9|Method or attribute name: TYPE_LAPTOP
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_PHONE
Deprecated version: 9|Method or attribute name: TYPE_PHONE
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_TABLET
Deprecated version: 9|Method or attribute name: TYPE_TABLET
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_WATCH
Deprecated version: 9|Method or attribute name: TYPE_WATCH
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_CAR
Deprecated version: 9|Method or attribute name: TYPE_CAR
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_TV
Deprecated version: 9|Method or attribute name: TYPE_TV
Deprecated version: N/A|@ohos.multimedia.mediaLibrary.d.ts| +|Error code added||Method or attribute name: on_deviceChange
Error code: 401, 6800101|@ohos.multimedia.audio.d.ts| +|Error code added||Method or attribute name: off_deviceChange
Error code: 401, 6800101|@ohos.multimedia.audio.d.ts| +|Error code added||Method or attribute name: on_audioRendererChange
Error code: 401, 6800101|@ohos.multimedia.audio.d.ts| +|Error code added||Method or attribute name: on_audioCapturerChange
Error code: 401, 6800101|@ohos.multimedia.audio.d.ts| +|Error code added||Method or attribute name: createVideoRecorder
Error code: 5400101|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: createVideoRecorder
Error code: 5400101|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: prepare
Error code: 201, 401, 5400102, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: prepare
Error code: 201, 401, 5400102, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: getInputSurface
Error code: 5400102, 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: getInputSurface
Error code: 5400102, 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: start
Error code: 5400102, 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: start
Error code: 5400102, 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: pause
Error code: 5400102, 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: pause
Error code: 5400102, 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: resume
Error code: 5400102, 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: resume
Error code: 5400102, 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: stop
Error code: 5400102, 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: stop
Error code: 5400102, 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: release
Error code: 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: release
Error code: 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: reset
Error code: 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: reset
Error code: 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Error code added||Method or attribute name: on_error
Error code: 5400103, 5400105|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: createVideoRecorder
Access level: public API|Method or attribute name: createVideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: createVideoRecorder
Access level: public API|Method or attribute name: createVideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorder
Access level: public API|Class name: VideoRecorder
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: prepare
Access level: public API|Method or attribute name: prepare
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: prepare
Access level: public API|Method or attribute name: prepare
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: getInputSurface
Access level: public API|Method or attribute name: getInputSurface
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: getInputSurface
Access level: public API|Method or attribute name: getInputSurface
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: start
Access level: public API|Method or attribute name: start
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: start
Access level: public API|Method or attribute name: start
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: pause
Access level: public API|Method or attribute name: pause
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: pause
Access level: public API|Method or attribute name: pause
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: resume
Access level: public API|Method or attribute name: resume
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: resume
Access level: public API|Method or attribute name: resume
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: stop
Access level: public API|Method or attribute name: stop
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: stop
Access level: public API|Method or attribute name: stop
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: release
Access level: public API|Method or attribute name: release
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: release
Access level: public API|Method or attribute name: release
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: reset
Access level: public API|Method or attribute name: reset
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: reset
Access level: public API|Method or attribute name: reset
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: on_error
Access level: public API|Method or attribute name: on_error
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: state
Access level: public API|Method or attribute name: state
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorderProfile
Access level: public API|Class name: VideoRecorderProfile
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioBitrate
Access level: public API|Method or attribute name: audioBitrate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioChannels
Access level: public API|Method or attribute name: audioChannels
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioCodec
Access level: public API|Method or attribute name: audioCodec
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: audioSampleRate
Access level: public API|Method or attribute name: audioSampleRate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: fileFormat
Access level: public API|Method or attribute name: fileFormat
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoBitrate
Access level: public API|Method or attribute name: videoBitrate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoCodec
Access level: public API|Method or attribute name: videoCodec
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameWidth
Access level: public API|Method or attribute name: videoFrameWidth
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameHeight
Access level: public API|Method or attribute name: videoFrameHeight
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoFrameRate
Access level: public API|Method or attribute name: videoFrameRate
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: AudioSourceType
Access level: public API|Class name: AudioSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT
Access level: public API|Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: AUDIO_SOURCE_TYPE_MIC
Access level: public API|Method or attribute name: AUDIO_SOURCE_TYPE_MIC
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoSourceType
Access level: public API|Class name: VideoSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV
Access level: public API|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES
Access level: public API|Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Class name: VideoRecorderConfig
Access level: public API|Class name: VideoRecorderConfig
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: videoSourceType
Access level: public API|Method or attribute name: videoSourceType
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: profile
Access level: public API|Method or attribute name: profile
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: url
Access level: public API|Method or attribute name: url
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: rotation
Access level: public API|Method or attribute name: rotation
Access level: system API|@ohos.multimedia.media.d.ts| +|Access level changed|Method or attribute name: location
Access level: public API|Method or attribute name: location
Access level: system API|@ohos.multimedia.media.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-notification.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-notification.md new file mode 100644 index 0000000000000000000000000000000000000000..e75ad08d78dbb160e5461dd2560d77198167bf09 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-notification.md @@ -0,0 +1,558 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: publish|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: publish|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: publishAsUser|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: publishAsUser|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: createSubscriber|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: createSubscriber|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: subscribe|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: commonEventManager
Method or attribute name: unsubscribe|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BOOT_COMPLETED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_LOCKED_BOOT_COMPLETED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SHUTDOWN|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BATTERY_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BATTERY_LOW|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BATTERY_OKAY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_POWER_CONNECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_POWER_DISCONNECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SCREEN_OFF|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SCREEN_ON|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_THERMAL_LEVEL_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_PRESENT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_TIME_TICK|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_TIME_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_TIMEZONE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_CLOSE_SYSTEM_DIALOGS|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_ADDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_REPLACED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_MY_PACKAGE_REPLACED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BUNDLE_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_FULLY_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_RESTARTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_DATA_CLEARED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_CACHE_CLEARED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGES_SUSPENDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGES_UNSUSPENDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_MY_PACKAGE_SUSPENDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_MY_PACKAGE_UNSUSPENDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_UID_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_FIRST_LAUNCH|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_PACKAGE_VERIFIED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_CONFIGURATION_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_LOCALE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_MANAGE_PACKAGE_STORAGE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DRIVE_MODE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_HOME_MODE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_OFFICE_MODE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_STARTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_BACKGROUND|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_FOREGROUND|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_SWITCHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_STARTING|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_UNLOCKED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_STOPPING|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_STOPPED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_POWER_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_SCAN_FINISHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_RSSI_VALUE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_CONN_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_HOTSPOT_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_AP_STA_JOIN|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_AP_STA_LEAVE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_CONN_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISCHARGING|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_CHARGING|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_POWER_SAVE_MODE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_ADDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USER_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_ABILITY_ADDED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_ABILITY_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_ABILITY_UPDATED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_LOCATION_MODE_STATE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_SLEEP|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_PAUSE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_STANDBY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_LASTMODE_SAVE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_VOLTAGE_ABNORMAL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_HIGH_TEMPERATURE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_EXTREME_TEMPERATURE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_VOLTAGE_RECOVERY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_TEMPERATURE_RECOVERY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_IVI_ACTIVE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_STATE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_PORT_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_DEVICE_ATTACHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_DEVICE_DETACHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_ACCESSORY_ATTACHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_USB_ACCESSORY_DETACHED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_UNMOUNTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_MOUNTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_BAD_REMOVAL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_UNMOUNTABLE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_DISK_EJECT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VOLUME_REMOVED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VOLUME_UNMOUNTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VOLUME_MOUNTED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VOLUME_BAD_REMOVAL|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VOLUME_EJECT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_ACCOUNT_DELETED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_FOUNDATION_READY|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_AIRPLANE_MODE_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SPLIT_SCREEN|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SLOT_CHANGE|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_SPN_INFO_CHANGED|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.commonEventManager
Class name: Support
Method or attribute name: COMMON_EVENT_QUICK_FIX_APPLY_RESULT|@ohos.commonEventManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publish|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publish|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publish|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publish|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publishAsBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: publishAsBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancel|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancel|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancel|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelAsBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelAsBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelAll|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelAll|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: addSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeAllSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeAllSlots|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setNotificationEnable|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setNotificationEnable|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: displayBadge|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: displayBadge|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isBadgeDisplayed|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isBadgeDisplayed|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setSlotByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setSlotByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlotsByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlotsByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlotNumByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSlotNumByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getAllActiveNotifications|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getAllActiveNotifications|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getActiveNotificationCount|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getActiveNotificationCount|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getActiveNotifications|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getActiveNotifications|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelGroup|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: cancelGroup|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeGroupByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: removeGroupByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: supportDoNotDisturbMode|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: supportDoNotDisturbMode|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isSupportTemplate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isSupportTemplate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: requestEnableNotification|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: requestEnableNotification|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDistributedEnable|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDistributedEnable|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isDistributedEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isDistributedEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDistributedEnableByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setDistributedEnableByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isDistributedEnabledByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isDistributedEnabledByBundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDeviceRemindType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getDeviceRemindType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setNotificationEnableSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setNotificationEnableSlot|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationSlotEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: isNotificationSlotEnabled|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setSyncNotificationEnabledWithoutApp|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: setSyncNotificationEnabledWithoutApp|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSyncNotificationEnabledWithoutApp|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: notificationManager
Method or attribute name: getSyncNotificationEnabledWithoutApp|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType
Method or attribute name: UNKNOWN_TYPE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType
Method or attribute name: SOCIAL_COMMUNICATION|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType
Method or attribute name: SERVICE_INFORMATION|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType
Method or attribute name: CONTENT_INFORMATION|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotType
Method or attribute name: OTHER_TYPES|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType
Method or attribute name: NOTIFICATION_CONTENT_BASIC_TEXT|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType
Method or attribute name: NOTIFICATION_CONTENT_LONG_TEXT|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType
Method or attribute name: NOTIFICATION_CONTENT_PICTURE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType
Method or attribute name: NOTIFICATION_CONTENT_CONVERSATION|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: ContentType
Method or attribute name: NOTIFICATION_CONTENT_MULTILINE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel
Method or attribute name: LEVEL_NONE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel
Method or attribute name: LEVEL_MIN|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel
Method or attribute name: LEVEL_LOW|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel
Method or attribute name: LEVEL_DEFAULT|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SlotLevel
Method or attribute name: LEVEL_HIGH|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: BundleOption|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: BundleOption
Method or attribute name: bundle|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: BundleOption
Method or attribute name: uid|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbType
Method or attribute name: TYPE_NONE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbType
Method or attribute name: TYPE_ONCE|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbType
Method or attribute name: TYPE_DAILY|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbType
Method or attribute name: TYPE_CLEARLY|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbDate|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbDate
Method or attribute name: type|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbDate
Method or attribute name: begin|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DoNotDisturbDate
Method or attribute name: end|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DeviceRemindType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DeviceRemindType
Method or attribute name: IDLE_DONOT_REMIND|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DeviceRemindType
Method or attribute name: IDLE_REMIND|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DeviceRemindType
Method or attribute name: ACTIVE_DONOT_REMIND|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: DeviceRemindType
Method or attribute name: ACTIVE_REMIND|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SourceType|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SourceType
Method or attribute name: TYPE_NORMAL|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SourceType
Method or attribute name: TYPE_CONTINUOUS|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationManager
Class name: SourceType
Method or attribute name: TYPE_TIMER|@ohos.notificationManager.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: BundleOption|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: BundleOption
Method or attribute name: bundle|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: BundleOption
Method or attribute name: uid|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: NotificationKey|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: NotificationKey
Method or attribute name: id|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: NotificationKey
Method or attribute name: label|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: RemoveReason|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: RemoveReason
Method or attribute name: CLICK_REASON_REMOVE|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: RemoveReason
Method or attribute name: CANCEL_REASON_REMOVE|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: subscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: subscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: subscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: unsubscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: unsubscribe|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: remove|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: remove|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: remove|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: remove|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: removeAll|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: removeAll|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: removeAll|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: removeAll|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.notificationSubscribe
Class name: notificationSubscribe
Method or attribute name: removeAll|@ohos.notificationSubscribe.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: publishReminder|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: publishReminder|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: cancelReminder|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: cancelReminder|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: getValidReminders|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: getValidReminders|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: cancelAllReminders|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: cancelAllReminders|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: addNotificationSlot|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: addNotificationSlot|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: removeNotificationSlot|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: reminderAgentManager
Method or attribute name: removeNotificationSlot|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButtonType|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButtonType
Method or attribute name: ACTION_BUTTON_TYPE_CLOSE|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButtonType
Method or attribute name: ACTION_BUTTON_TYPE_SNOOZE|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderType|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderType
Method or attribute name: REMINDER_TYPE_TIMER|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderType
Method or attribute name: REMINDER_TYPE_CALENDAR|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderType
Method or attribute name: REMINDER_TYPE_ALARM|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButton|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButton
Method or attribute name: title|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ActionButton
Method or attribute name: type|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: WantAgent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: WantAgent
Method or attribute name: pkgName|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: WantAgent
Method or attribute name: abilityName|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: MaxScreenWantAgent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: MaxScreenWantAgent
Method or attribute name: pkgName|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: MaxScreenWantAgent
Method or attribute name: abilityName|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: reminderType|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: actionButton|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: wantAgent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: maxScreenWantAgent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: ringDuration|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: snoozeTimes|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: timeInterval|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: title|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: content|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: expiredContent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: snoozeContent|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: notificationId|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequest
Method or attribute name: slotType|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestCalendar|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestCalendar
Method or attribute name: dateTime|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestCalendar
Method or attribute name: repeatMonths|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestCalendar
Method or attribute name: repeatDays|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestAlarm|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestAlarm
Method or attribute name: hour|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestAlarm
Method or attribute name: minute|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestAlarm
Method or attribute name: daysOfWeek|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestTimer|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: ReminderRequestTimer
Method or attribute name: triggerTimeInSeconds|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: year|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: month|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: day|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: hour|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: minute|@ohos.reminderAgentManager.d.ts| +|Added||Module name: ohos.reminderAgentManager
Class name: LocalDateTime
Method or attribute name: second|@ohos.reminderAgentManager.d.ts| +|Deprecated version changed|Class name: commonEvent
Deprecated version: N/A|Class name: commonEvent
Deprecated version: 9
New API: ohos.commonEventManager |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9
New API: ohos.commonEventManager.publish |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9
New API: ohos.commonEventManager.publish |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: publishAsUser
Deprecated version: N/A|Method or attribute name: publishAsUser
Deprecated version: 9
New API: ohos.commonEventManager.publishAsUser |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: publishAsUser
Deprecated version: N/A|Method or attribute name: publishAsUser
Deprecated version: 9
New API: ohos.commonEventManager.publishAsUser |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: createSubscriber
Deprecated version: N/A|Method or attribute name: createSubscriber
Deprecated version: 9
New API: ohos.commonEventManager.createSubscriber |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: createSubscriber
Deprecated version: N/A|Method or attribute name: createSubscriber
Deprecated version: 9
New API: ohos.commonEventManager.createSubscriber |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: subscribe
Deprecated version: N/A|Method or attribute name: subscribe
Deprecated version: 9
New API: ohos.commonEventManager.subscribe |@ohos.commonEvent.d.ts| +|Deprecated version changed|Method or attribute name: unsubscribe
Deprecated version: N/A|Method or attribute name: unsubscribe
Deprecated version: 9
New API: ohos.commonEventManager.unsubscribe |@ohos.commonEvent.d.ts| +|Deprecated version changed|Class name: Support
Deprecated version: N/A|Class name: Support
Deprecated version: 9
New API: ohos.commonEventManager.Support |@ohos.commonEvent.d.ts| +|Deprecated version changed|Class name: notification
Deprecated version: N/A|Class name: notification
Deprecated version: 9
New API: ohos.notificationManager and ohos.notificationSubscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9
New API: ohos.notificationManager.publish |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9
New API: ohos.notificationManager.publish |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publish
Deprecated version: N/A|Method or attribute name: publish
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publishAsBundle
Deprecated version: N/A|Method or attribute name: publishAsBundle
Deprecated version: 9
New API: ohos.notificationManager.publishAsBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: publishAsBundle
Deprecated version: N/A|Method or attribute name: publishAsBundle
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancel
Deprecated version: N/A|Method or attribute name: cancel
Deprecated version: 9
New API: ohos.notificationManager.cancel |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancel
Deprecated version: N/A|Method or attribute name: cancel
Deprecated version: 9
New API: ohos.notificationManager.cancel |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancel
Deprecated version: N/A|Method or attribute name: cancel
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelAsBundle
Deprecated version: N/A|Method or attribute name: cancelAsBundle
Deprecated version: 9
New API: ohos.notificationManager.cancelAsBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelAsBundle
Deprecated version: N/A|Method or attribute name: cancelAsBundle
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelAll
Deprecated version: N/A|Method or attribute name: cancelAll
Deprecated version: 9
New API: ohos.notificationManager.cancelAll |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelAll
Deprecated version: N/A|Method or attribute name: cancelAll
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlot
Deprecated version: N/A|Method or attribute name: addSlot
Deprecated version: 9
New API: ohos.notificationManager.addSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlot
Deprecated version: N/A|Method or attribute name: addSlot
Deprecated version: 9
New API: ohos.notificationManager.addSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlot
Deprecated version: N/A|Method or attribute name: addSlot
Deprecated version: 9
New API: ohos.notificationManager.addSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlot
Deprecated version: N/A|Method or attribute name: addSlot
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlots
Deprecated version: N/A|Method or attribute name: addSlots
Deprecated version: 9
New API: ohos.notificationManager.addSlots |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: addSlots
Deprecated version: N/A|Method or attribute name: addSlots
Deprecated version: 9
New API: ohos.notificationManager.addSlots |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlot
Deprecated version: N/A|Method or attribute name: getSlot
Deprecated version: 9
New API: ohos.notificationManager.getSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlot
Deprecated version: N/A|Method or attribute name: getSlot
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlots
Deprecated version: N/A|Method or attribute name: getSlots
Deprecated version: 9
New API: ohos.notificationManager.getSlots |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlots
Deprecated version: N/A|Method or attribute name: getSlots
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeSlot
Deprecated version: N/A|Method or attribute name: removeSlot
Deprecated version: 9
New API: ohos.notificationManager.removeSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeSlot
Deprecated version: N/A|Method or attribute name: removeSlot
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAllSlots
Deprecated version: N/A|Method or attribute name: removeAllSlots
Deprecated version: 9
New API: ohos.notificationManager.removeAllSlots |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAllSlots
Deprecated version: N/A|Method or attribute name: removeAllSlots
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Class name: SlotType
Deprecated version: N/A|Class name: SlotType
Deprecated version: 9
New API: ohos.notificationManager.SlotType |@ohos.notification.d.ts| +|Deprecated version changed|Class name: ContentType
Deprecated version: N/A|Class name: ContentType
Deprecated version: 9
New API: ohos.notificationManager.ContentType |@ohos.notification.d.ts| +|Deprecated version changed|Class name: SlotLevel
Deprecated version: N/A|Class name: SlotLevel
Deprecated version: 9
New API: ohos.notificationManager.SlotLevel |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: subscribe
Deprecated version: N/A|Method or attribute name: subscribe
Deprecated version: 9
New API: ohos.notificationSubscribe.subscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: subscribe
Deprecated version: N/A|Method or attribute name: subscribe
Deprecated version: 9
New API: ohos.notificationSubscribe.subscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: subscribe
Deprecated version: N/A|Method or attribute name: subscribe
Deprecated version: 9
New API: ohos.notificationSubscribe.subscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: unsubscribe
Deprecated version: N/A|Method or attribute name: unsubscribe
Deprecated version: 9
New API: ohos.notificationSubscribe.unsubscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: unsubscribe
Deprecated version: N/A|Method or attribute name: unsubscribe
Deprecated version: 9
New API: ohos.notificationSubscribe.unsubscribe |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableNotification
Deprecated version: N/A|Method or attribute name: enableNotification
Deprecated version: 9
New API: ohos.notificationManager.setNotificationEnable |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableNotification
Deprecated version: N/A|Method or attribute name: enableNotification
Deprecated version: 9
New API: ohos.notificationManager.setNotificationEnable |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationEnabled
Deprecated version: N/A|Method or attribute name: isNotificationEnabled
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: displayBadge
Deprecated version: N/A|Method or attribute name: displayBadge
Deprecated version: 9
New API: ohos.notificationManager.displayBadge |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: displayBadge
Deprecated version: N/A|Method or attribute name: displayBadge
Deprecated version: 9
New API: ohos.notificationManager.displayBadge |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isBadgeDisplayed
Deprecated version: N/A|Method or attribute name: isBadgeDisplayed
Deprecated version: 9
New API: ohos.notificationManager.isBadgeDisplayed |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isBadgeDisplayed
Deprecated version: N/A|Method or attribute name: isBadgeDisplayed
Deprecated version: 9
New API: ohos.notificationManager.isBadgeDisplayed |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setSlotByBundle
Deprecated version: N/A|Method or attribute name: setSlotByBundle
Deprecated version: 9
New API: ohos.notificationManager.setSlotByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setSlotByBundle
Deprecated version: N/A|Method or attribute name: setSlotByBundle
Deprecated version: 9
New API: ohos.notificationManager.setSlotByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlotsByBundle
Deprecated version: N/A|Method or attribute name: getSlotsByBundle
Deprecated version: 9
New API: ohos.notificationManager.getSlotsByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlotsByBundle
Deprecated version: N/A|Method or attribute name: getSlotsByBundle
Deprecated version: 9
New API: ohos.notificationManager.getSlotsByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlotNumByBundle
Deprecated version: N/A|Method or attribute name: getSlotNumByBundle
Deprecated version: 9
New API: ohos.notificationManager.getSlotNumByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSlotNumByBundle
Deprecated version: N/A|Method or attribute name: getSlotNumByBundle
Deprecated version: 9
New API: ohos.notificationManager.getSlotNumByBundle |@ohos.notification.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.notificationSubscribe.remove |@ohos.notification.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.notificationSubscribe.remove |@ohos.notification.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.notificationSubscribe.remove |@ohos.notification.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.notificationSubscribe.remove |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAll
Deprecated version: N/A|Method or attribute name: removeAll
Deprecated version: 9
New API: ohos.notificationSubscribe.removeAll |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAll
Deprecated version: N/A|Method or attribute name: removeAll
Deprecated version: 9
New API: ohos.notificationSubscribe.removeAll |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAll
Deprecated version: N/A|Method or attribute name: removeAll
Deprecated version: 9
New API: ohos.notificationSubscribe.removeAll |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAll
Deprecated version: N/A|Method or attribute name: removeAll
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeAll
Deprecated version: N/A|Method or attribute name: removeAll
Deprecated version: 9
New API: notificationSubscribe.removeAll |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getAllActiveNotifications
Deprecated version: N/A|Method or attribute name: getAllActiveNotifications
Deprecated version: 9
New API: ohos.notificationManager.getAllActiveNotifications |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getAllActiveNotifications
Deprecated version: N/A|Method or attribute name: getAllActiveNotifications
Deprecated version: 9
New API: ohos.notificationManager.getAllActiveNotifications |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getActiveNotificationCount
Deprecated version: N/A|Method or attribute name: getActiveNotificationCount
Deprecated version: 9
New API: ohos.notificationManager.getActiveNotificationCount |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getActiveNotificationCount
Deprecated version: N/A|Method or attribute name: getActiveNotificationCount
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getActiveNotifications
Deprecated version: N/A|Method or attribute name: getActiveNotifications
Deprecated version: 9
New API: ohos.notificationManager.cancelGroup |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getActiveNotifications
Deprecated version: N/A|Method or attribute name: getActiveNotifications
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelGroup
Deprecated version: N/A|Method or attribute name: cancelGroup
Deprecated version: 9
New API: ohos.notificationManager.cancelGroup |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: cancelGroup
Deprecated version: N/A|Method or attribute name: cancelGroup
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeGroupByBundle
Deprecated version: N/A|Method or attribute name: removeGroupByBundle
Deprecated version: 9
New API: ohos.notificationManager.removeGroupByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: removeGroupByBundle
Deprecated version: N/A|Method or attribute name: removeGroupByBundle
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: setDoNotDisturbDate
Deprecated version: 9
New API: ohos.notificationManager.setDoNotDisturbDate |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: setDoNotDisturbDate
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: setDoNotDisturbDate
Deprecated version: 9
New API: ohos.notificationManager.setDoNotDisturbDate |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: setDoNotDisturbDate
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: getDoNotDisturbDate
Deprecated version: 9
New API: ohos.notificationManager.getDoNotDisturbDate |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: getDoNotDisturbDate
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: getDoNotDisturbDate
Deprecated version: 9
New API: ohos.notificationManager.getDoNotDisturbDate |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDoNotDisturbDate
Deprecated version: N/A|Method or attribute name: getDoNotDisturbDate
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: supportDoNotDisturbMode
Deprecated version: N/A|Method or attribute name: supportDoNotDisturbMode
Deprecated version: 9
New API: ohos.notificationManager.supportDoNotDisturbMode |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: supportDoNotDisturbMode
Deprecated version: N/A|Method or attribute name: supportDoNotDisturbMode
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isSupportTemplate
Deprecated version: N/A|Method or attribute name: isSupportTemplate
Deprecated version: 9
New API: ohos.notificationManager.isSupportTemplate |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isSupportTemplate
Deprecated version: N/A|Method or attribute name: isSupportTemplate
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: requestEnableNotification
Deprecated version: N/A|Method or attribute name: requestEnableNotification
Deprecated version: 9
New API: ohos.notificationManager.requestEnableNotification |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: requestEnableNotification
Deprecated version: N/A|Method or attribute name: requestEnableNotification
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableDistributed
Deprecated version: N/A|Method or attribute name: enableDistributed
Deprecated version: 9
New API: ohos.notificationManager.setDistributedEnable |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableDistributed
Deprecated version: N/A|Method or attribute name: enableDistributed
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isDistributedEnabled
Deprecated version: N/A|Method or attribute name: isDistributedEnabled
Deprecated version: 9
New API: ohos.notificationManager.isDistributedEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isDistributedEnabled
Deprecated version: N/A|Method or attribute name: isDistributedEnabled
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableDistributedByBundle
Deprecated version: N/A|Method or attribute name: enableDistributedByBundle
Deprecated version: 9
New API: ohos.notificationManager.setDistributedEnableByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableDistributedByBundle
Deprecated version: N/A|Method or attribute name: enableDistributedByBundle
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isDistributedEnabledByBundle
Deprecated version: N/A|Method or attribute name: isDistributedEnabledByBundle
Deprecated version: 9
New API: ohos.notificationManager.isDistributedEnabledByBundle |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isDistributedEnabledByBundle
Deprecated version: N/A|Method or attribute name: isDistributedEnabledByBundle
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDeviceRemindType
Deprecated version: N/A|Method or attribute name: getDeviceRemindType
Deprecated version: 9
New API: ohos.notificationManager.getDeviceRemindType |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getDeviceRemindType
Deprecated version: N/A|Method or attribute name: getDeviceRemindType
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableNotificationSlot
Deprecated version: N/A|Method or attribute name: enableNotificationSlot
Deprecated version: 9
New API: ohos.notificationManager.setNotificationEnableSlot |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: enableNotificationSlot
Deprecated version: N/A|Method or attribute name: enableNotificationSlot
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationSlotEnabled
Deprecated version: N/A|Method or attribute name: isNotificationSlotEnabled
Deprecated version: 9
New API: ohos.notificationManager.isNotificationSlotEnabled |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: isNotificationSlotEnabled
Deprecated version: N/A|Method or attribute name: isNotificationSlotEnabled
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setSyncNotificationEnabledWithoutApp
Deprecated version: N/A|Method or attribute name: setSyncNotificationEnabledWithoutApp
Deprecated version: 9
New API: ohos.notificationManager.setSyncNotificationEnabledWithoutApp |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: setSyncNotificationEnabledWithoutApp
Deprecated version: N/A|Method or attribute name: setSyncNotificationEnabledWithoutApp
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSyncNotificationEnabledWithoutApp
Deprecated version: N/A|Method or attribute name: getSyncNotificationEnabledWithoutApp
Deprecated version: 9
New API: ohos.notificationManager.getSyncNotificationEnabledWithoutApp |@ohos.notification.d.ts| +|Deprecated version changed|Method or attribute name: getSyncNotificationEnabledWithoutApp
Deprecated version: N/A|Method or attribute name: getSyncNotificationEnabledWithoutApp
Deprecated version: 9|@ohos.notification.d.ts| +|Deprecated version changed|Class name: BundleOption
Deprecated version: N/A|Class name: BundleOption
Deprecated version: 9
New API: ohos.notificationManager.BundleOption |@ohos.notification.d.ts| +|Deprecated version changed|Class name: NotificationKey
Deprecated version: N/A|Class name: NotificationKey
Deprecated version: 9
New API: ohos.notificationManager.NotificationKey |@ohos.notification.d.ts| +|Deprecated version changed|Class name: DoNotDisturbType
Deprecated version: N/A|Class name: DoNotDisturbType
Deprecated version: 9
New API: ohos.notificationManager.DoNotDisturbType |@ohos.notification.d.ts| +|Deprecated version changed|Class name: DoNotDisturbDate
Deprecated version: N/A|Class name: DoNotDisturbDate
Deprecated version: 9
New API: ohos.notificationManager.DoNotDisturbDate |@ohos.notification.d.ts| +|Deprecated version changed|Class name: DeviceRemindType
Deprecated version: N/A|Class name: DeviceRemindType
Deprecated version: 9
New API: ohos.notificationManager.DeviceRemindType |@ohos.notification.d.ts| +|Deprecated version changed|Class name: SourceType
Deprecated version: N/A|Class name: SourceType
Deprecated version: 9
New API: ohos.notificationManager.SourceType |@ohos.notification.d.ts| +|Deprecated version changed|Class name: RemoveReason
Deprecated version: N/A|Class name: RemoveReason
Deprecated version: 9
New API: ohos.notificationManager.RemoveReason |@ohos.notification.d.ts| +|Deprecated version changed|Class name: reminderAgent
Deprecated version: N/A|Class name: reminderAgent
Deprecated version: 9
New API: reminderAgentManager |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: publishReminder
Deprecated version: N/A|Method or attribute name: publishReminder
Deprecated version: 9
New API: reminderAgentManager.publishReminder |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: publishReminder
Deprecated version: N/A|Method or attribute name: publishReminder
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: cancelReminder
Deprecated version: N/A|Method or attribute name: cancelReminder
Deprecated version: 9
New API: reminderAgentManager.cancelReminder |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: cancelReminder
Deprecated version: N/A|Method or attribute name: cancelReminder
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: getValidReminders
Deprecated version: N/A|Method or attribute name: getValidReminders
Deprecated version: 9
New API: reminderAgentManager.getValidReminders |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: getValidReminders
Deprecated version: N/A|Method or attribute name: getValidReminders
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: cancelAllReminders
Deprecated version: N/A|Method or attribute name: cancelAllReminders
Deprecated version: 9
New API: reminderAgentManager.cancelAllReminders |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: cancelAllReminders
Deprecated version: N/A|Method or attribute name: cancelAllReminders
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: addNotificationSlot
Deprecated version: N/A|Method or attribute name: addNotificationSlot
Deprecated version: 9
New API: reminderAgentManager.addNotificationSlot |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: addNotificationSlot
Deprecated version: N/A|Method or attribute name: addNotificationSlot
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: removeNotificationSlot
Deprecated version: N/A|Method or attribute name: removeNotificationSlot
Deprecated version: 9
New API: reminderAgentManager.removeNotificationSlot |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: removeNotificationSlot
Deprecated version: N/A|Method or attribute name: removeNotificationSlot
Deprecated version: 9|@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ActionButtonType
Deprecated version: N/A|Class name: ActionButtonType
Deprecated version: 9
New API: reminderAgentManager.ActionButtonType |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: ACTION_BUTTON_TYPE_CLOSE
Deprecated version: N/A|Method or attribute name: ACTION_BUTTON_TYPE_CLOSE
Deprecated version: 9
New API: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_CLOSE |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: ACTION_BUTTON_TYPE_SNOOZE
Deprecated version: N/A|Method or attribute name: ACTION_BUTTON_TYPE_SNOOZE
Deprecated version: 9
New API: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_SNOOZE |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ReminderType
Deprecated version: N/A|Class name: ReminderType
Deprecated version: 9
New API: reminderAgentManager.ReminderType |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: REMINDER_TYPE_TIMER
Deprecated version: N/A|Method or attribute name: REMINDER_TYPE_TIMER
Deprecated version: 9
New API: reminderAgentManager.ReminderType.REMINDER_TYPE_TIMER |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: REMINDER_TYPE_CALENDAR
Deprecated version: N/A|Method or attribute name: REMINDER_TYPE_CALENDAR
Deprecated version: 9
New API: reminderAgentManager.ReminderType.REMINDER_TYPE_CALENDAR |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: REMINDER_TYPE_ALARM
Deprecated version: N/A|Method or attribute name: REMINDER_TYPE_ALARM
Deprecated version: 9
New API: reminderAgentManager.ReminderType.REMINDER_TYPE_ALARM |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ActionButton
Deprecated version: N/A|Class name: ActionButton
Deprecated version: 9
New API: reminderAgentManager.ActionButton |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: title
Deprecated version: N/A|Method or attribute name: title
Deprecated version: 9
New API: reminderAgentManager.ActionButton.title |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: type
Deprecated version: N/A|Method or attribute name: type
Deprecated version: 9
New API: reminderAgentManager.ActionButton.type |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: WantAgent
Deprecated version: N/A|Class name: WantAgent
Deprecated version: 9
New API: reminderAgentManager.WantAgent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: pkgName
Deprecated version: N/A|Method or attribute name: pkgName
Deprecated version: 9
New API: reminderAgentManager.WantAgent.pkgName |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: abilityName
Deprecated version: N/A|Method or attribute name: abilityName
Deprecated version: 9
New API: reminderAgentManager.WantAgent.abilityName |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: MaxScreenWantAgent
Deprecated version: N/A|Class name: MaxScreenWantAgent
Deprecated version: 9
New API: reminderAgentManager.MaxScreenWantAgent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: pkgName
Deprecated version: N/A|Method or attribute name: pkgName
Deprecated version: 9
New API: reminderAgentManager.MaxScreenWantAgent.pkgName |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: abilityName
Deprecated version: N/A|Method or attribute name: abilityName
Deprecated version: 9
New API: reminderAgentManager.MaxScreenWantAgent.abilityName |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ReminderRequest
Deprecated version: N/A|Class name: ReminderRequest
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: reminderType
Deprecated version: N/A|Method or attribute name: reminderType
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.reminderType |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: actionButton
Deprecated version: N/A|Method or attribute name: actionButton
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.actionButton |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: wantAgent
Deprecated version: N/A|Method or attribute name: wantAgent
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.wantAgent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: maxScreenWantAgent
Deprecated version: N/A|Method or attribute name: maxScreenWantAgent
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.maxScreenWantAgent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: ringDuration
Deprecated version: N/A|Method or attribute name: ringDuration
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.ringDuration |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: snoozeTimes
Deprecated version: N/A|Method or attribute name: snoozeTimes
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.snoozeTimes |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: timeInterval
Deprecated version: N/A|Method or attribute name: timeInterval
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.timeInterval |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: title
Deprecated version: N/A|Method or attribute name: title
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.title |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: content
Deprecated version: N/A|Method or attribute name: content
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.content |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: expiredContent
Deprecated version: N/A|Method or attribute name: expiredContent
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.expiredContent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: snoozeContent
Deprecated version: N/A|Method or attribute name: snoozeContent
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.snoozeContent |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: notificationId
Deprecated version: N/A|Method or attribute name: notificationId
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.notificationId |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: slotType
Deprecated version: N/A|Method or attribute name: slotType
Deprecated version: 9
New API: reminderAgentManager.ReminderRequest.slotType |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ReminderRequestCalendar
Deprecated version: N/A|Class name: ReminderRequestCalendar
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestCalendar |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: dateTime
Deprecated version: N/A|Method or attribute name: dateTime
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestCalendar.dateTime |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: repeatMonths
Deprecated version: N/A|Method or attribute name: repeatMonths
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestCalendar.repeatMonths |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: repeatDays
Deprecated version: N/A|Method or attribute name: repeatDays
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestCalendar.repeatDays |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ReminderRequestAlarm
Deprecated version: N/A|Class name: ReminderRequestAlarm
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestAlarm |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: hour
Deprecated version: N/A|Method or attribute name: hour
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestAlarm.hour |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: minute
Deprecated version: N/A|Method or attribute name: minute
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestAlarm.minute |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: daysOfWeek
Deprecated version: N/A|Method or attribute name: daysOfWeek
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestAlarm.daysOfWeek |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Class name: ReminderRequestTimer
Deprecated version: N/A|Class name: ReminderRequestTimer
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: year
Deprecated version: N/A|Method or attribute name: year
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.year |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: month
Deprecated version: N/A|Method or attribute name: month
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.month |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: day
Deprecated version: N/A|Method or attribute name: day
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.day |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: hour
Deprecated version: N/A|Method or attribute name: hour
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.hour |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: minute
Deprecated version: N/A|Method or attribute name: minute
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.minute |@ohos.reminderAgent.d.ts| +|Deprecated version changed|Method or attribute name: second
Deprecated version: N/A|Method or attribute name: second
Deprecated version: 9
New API: reminderAgentManager.ReminderRequestTimer.second |@ohos.reminderAgent.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-resource-scheduler.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-resource-scheduler.md new file mode 100644 index 0000000000000000000000000000000000000000..787fdcd554b5c15e7592d634a2caa57b31de580e --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-resource-scheduler.md @@ -0,0 +1,281 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: DelaySuspendInfo|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: DelaySuspendInfo
Method or attribute name: requestId|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: DelaySuspendInfo
Method or attribute name: actualDelayTime|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: cancelSuspendDelay|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: getRemainingDelayTime|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: getRemainingDelayTime|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: requestSuspendDelay|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: startBackgroundRunning|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: startBackgroundRunning|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: stopBackgroundRunning|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: stopBackgroundRunning|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: applyEfficiencyResources|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: backgroundTaskManager
Method or attribute name: resetAllEfficiencyResources|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: DATA_TRANSFER|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: AUDIO_PLAYBACK|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: AUDIO_RECORDING|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: LOCATION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: BLUETOOTH_INTERACTION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: MULTI_DEVICE_CONNECTION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: WIFI_INTERACTION|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: VOIP|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: BackgroundMode
Method or attribute name: TASK_KEEPING|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: CPU|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: COMMON_EVENT|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: TIMER|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: WORK_SCHEDULER|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: BLUETOOTH|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: GPS|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: ResourceType
Method or attribute name: AUDIO|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: resourceTypes|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isApply|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: timeOut|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isPersist|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: isProcess|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.backgroundTaskManager
Class name: EfficiencyResourcesRequest
Method or attribute name: reason|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: id|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: abilityInFgTotalTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: abilityPrevAccessTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: abilityPrevSeenTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: abilitySeenTotalTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: bundleName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: fgAbilityAccessTotalTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: fgAbilityPrevAccessTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: infosBeginTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsInfo
Method or attribute name: infosEndTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo
Method or attribute name: formName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo
Method or attribute name: formDimension|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo
Method or attribute name: formId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo
Method or attribute name: formLastUsedTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapFormInfo
Method or attribute name: count|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: deviceId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: bundleName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: moduleName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: abilityName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: appLabelId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: labelId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: descriptionId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: abilityLableId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: abilityDescriptionId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: abilityIconId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: launchedCount|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: lastModuleUsedTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: HapModuleInfo
Method or attribute name: formRecords|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: DeviceEventStats|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: DeviceEventStats
Method or attribute name: name|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: DeviceEventStats
Method or attribute name: eventId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: DeviceEventStats
Method or attribute name: count|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: appGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: bundleName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: indexOfLink|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: nameOfClass|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: eventOccurredTime|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleEvents
Method or attribute name: eventId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo
Method or attribute name: appOldGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo
Method or attribute name: appNewGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo
Method or attribute name: userId|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo
Method or attribute name: changeReason|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: AppGroupCallbackInfo
Method or attribute name: bundleName|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: isIdleState|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: isIdleState|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsMap|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: BundleStatsMap
Method or attribute name: BundleStatsMap|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleStatsInfos|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleStatsInfos|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType
Method or attribute name: BY_OPTIMIZED|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType
Method or attribute name: BY_DAILY|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType
Method or attribute name: BY_WEEKLY|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType
Method or attribute name: BY_MONTHLY|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: IntervalType
Method or attribute name: BY_ANNUALLY|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleStatsInfoByInterval|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleStatsInfoByInterval|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleEvents|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryBundleEvents|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryCurrentBundleEvents|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryCurrentBundleEvents|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryModuleUsageRecords|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryModuleUsageRecords|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryModuleUsageRecords|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryModuleUsageRecords|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: ALIVE_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: DAILY_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: FIXED_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: RARE_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: LIMITED_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: GroupType
Method or attribute name: NEVER_GROUP|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: setAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: setAppGroup|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: registerAppGroupCallBack|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: registerAppGroupCallBack|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: unregisterAppGroupCallBack|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: unregisterAppGroupCallBack|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryDeviceEventStats|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryDeviceEventStats|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryNotificationEventStats|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.usageStatistics
Class name: usageStatistics
Method or attribute name: queryNotificationEventStats|@ohos.resourceschedule.usageStatistics.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: workId|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: bundleName|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: abilityName|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: isPersisted|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: networkType|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: isCharging|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: chargerType|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: batteryLevel|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: batteryStatus|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: storageRequest|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: repeatCycleTime|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: isRepeat|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: repeatCount|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: isDeepIdle|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: idleWaitTime|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: WorkInfo
Method or attribute name: parameters|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: startWork|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: stopWork|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: getWorkStatus|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: getWorkStatus|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: obtainAllWorks|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: obtainAllWorks|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: stopAndClearWorks|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: isLastWorkTimeOut|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: workScheduler
Method or attribute name: isLastWorkTimeOut|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_ANY|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_MOBILE|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_WIFI|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_BLUETOOTH|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_WIFI_P2P|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: NetworkType
Method or attribute name: NETWORK_TYPE_ETHERNET|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: ChargingType|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_ANY|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_AC|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_USB|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: ChargingType
Method or attribute name: CHARGING_PLUGGED_WIRELESS|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: BatteryStatus|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: BatteryStatus
Method or attribute name: BATTERY_STATUS_LOW|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: BatteryStatus
Method or attribute name: BATTERY_STATUS_OKAY|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: BatteryStatus
Method or attribute name: BATTERY_STATUS_LOW_OR_OKAY|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: StorageRequest|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: StorageRequest
Method or attribute name: STORAGE_LEVEL_LOW|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: StorageRequest
Method or attribute name: STORAGE_LEVEL_OKAY|@ohos.resourceschedule.workScheduler.d.ts| +|Added||Module name: ohos.resourceschedule.workScheduler
Class name: StorageRequest
Method or attribute name: STORAGE_LEVEL_LOW_OR_OKAY|@ohos.resourceschedule.workScheduler.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveFormInfo||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveFormInfo
Method or attribute name: formName||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveFormInfo
Method or attribute name: formDimension||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveFormInfo
Method or attribute name: formId||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveFormInfo
Method or attribute name: formLastUsedTime||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveFormInfo
Method or attribute name: count||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: deviceId||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: bundleName||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: moduleName||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: abilityName||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: appLabelId||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: labelId||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: descriptionId||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: abilityLableId||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: abilityDescriptionId||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: abilityIconId||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: launchedCount||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: lastModuleUsedTime||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveModuleInfo
Method or attribute name: formRecords||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveEventState||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveEventState
Method or attribute name: name||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveEventState
Method or attribute name: eventId||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveEventState
Method or attribute name: count||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo
Method or attribute name: appUsageOldGroup||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo
Method or attribute name: appUsageNewGroup||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo
Method or attribute name: userId||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo
Method or attribute name: changeReason||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: BundleActiveGroupCallbackInfo
Method or attribute name: bundleName||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: getRecentlyUsedModules||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: getRecentlyUsedModules||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: getRecentlyUsedModules||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: GroupType||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_ALIVE||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_DAILY||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_FIXED||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_RARE||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_LIMIT||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: GroupType
Method or attribute name: ACTIVE_GROUP_NEVER||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: setBundleGroup||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: setBundleGroup||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: registerGroupCallBack||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: registerGroupCallBack||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: unRegisterGroupCallBack||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: unRegisterGroupCallBack||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: queryBundleActiveEventStates||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: queryBundleActiveEventStates||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: queryAppNotificationNumber||@ohos.bundleState.d.ts| +|Deleted||Module name: ohos.bundleState
Class name: bundleState
Method or attribute name: queryAppNotificationNumber||@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: startBackgroundRunning
Deprecated version: N/A|Method or attribute name: startBackgroundRunning
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.startBackgroundRunning |@ohos.ability.particleAbility.d.ts| +|Deprecated version changed|Method or attribute name: startBackgroundRunning
Deprecated version: N/A|Method or attribute name: startBackgroundRunning
Deprecated version: 9|@ohos.ability.particleAbility.d.ts| +|Deprecated version changed|Method or attribute name: cancelBackgroundRunning
Deprecated version: N/A|Method or attribute name: cancelBackgroundRunning
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.stopBackgroundRunning |@ohos.ability.particleAbility.d.ts| +|Deprecated version changed|Method or attribute name: cancelBackgroundRunning
Deprecated version: N/A|Method or attribute name: cancelBackgroundRunning
Deprecated version: 9|@ohos.ability.particleAbility.d.ts| +|Deprecated version changed|Class name: backgroundTaskManager
Deprecated version: N/A|Class name: backgroundTaskManager
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: DelaySuspendInfo
Deprecated version: N/A|Class name: DelaySuspendInfo
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.DelaySuspendInfo |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: cancelSuspendDelay
Deprecated version: N/A|Method or attribute name: cancelSuspendDelay
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.cancelSuspendDelay |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: getRemainingDelayTime
Deprecated version: N/A|Method or attribute name: getRemainingDelayTime
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.getRemainingDelayTime |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: getRemainingDelayTime
Deprecated version: N/A|Method or attribute name: getRemainingDelayTime
Deprecated version: 9|@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: requestSuspendDelay
Deprecated version: N/A|Method or attribute name: requestSuspendDelay
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.requestSuspendDelay |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: startBackgroundRunning
Deprecated version: N/A|Method or attribute name: startBackgroundRunning
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.startBackgroundRunning |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: startBackgroundRunning
Deprecated version: N/A|Method or attribute name: startBackgroundRunning
Deprecated version: 9|@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: stopBackgroundRunning
Deprecated version: N/A|Method or attribute name: stopBackgroundRunning
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.stopBackgroundRunning |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: stopBackgroundRunning
Deprecated version: N/A|Method or attribute name: stopBackgroundRunning
Deprecated version: 9|@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: applyEfficiencyResources
Deprecated version: N/A|Method or attribute name: applyEfficiencyResources
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.applyEfficiencyResources |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Method or attribute name: resetAllEfficiencyResources
Deprecated version: N/A|Method or attribute name: resetAllEfficiencyResources
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.resetAllEfficiencyResources |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: BackgroundMode
Deprecated version: N/A|Class name: BackgroundMode
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.BackgroundMode |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: ResourceType
Deprecated version: N/A|Class name: ResourceType
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.ResourceType |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: EfficiencyResourcesRequest
Deprecated version: N/A|Class name: EfficiencyResourcesRequest
Deprecated version: 9
New API: ohos.resourceschedule.backgroundTaskManager.EfficiencyResourcesRequest |@ohos.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: bundleState
Deprecated version: N/A|Class name: bundleState
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics |@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: BundleStateInfo
Deprecated version: N/A|Class name: BundleStateInfo
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.BundleStatsInfo |@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: BundleActiveState
Deprecated version: N/A|Class name: BundleActiveState
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.BundleEvents |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: isIdleState
Deprecated version: N/A|Method or attribute name: isIdleState
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.isIdleState |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: isIdleState
Deprecated version: N/A|Method or attribute name: isIdleState
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryAppUsagePriorityGroup
Deprecated version: N/A|Method or attribute name: queryAppUsagePriorityGroup
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.queryAppGroup |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryAppUsagePriorityGroup
Deprecated version: N/A|Method or attribute name: queryAppUsagePriorityGroup
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: BundleActiveInfoResponse
Deprecated version: N/A|Class name: BundleActiveInfoResponse
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.BundleStatsMap |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleStateInfos
Deprecated version: N/A|Method or attribute name: queryBundleStateInfos
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.queryBundleStatsInfos |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleStateInfos
Deprecated version: N/A|Method or attribute name: queryBundleStateInfos
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: IntervalType
Deprecated version: N/A|Class name: IntervalType
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.IntervalType |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleStateInfoByInterval
Deprecated version: N/A|Method or attribute name: queryBundleStateInfoByInterval
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.queryBundleStatsInfoByInterval |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleStateInfoByInterval
Deprecated version: N/A|Method or attribute name: queryBundleStateInfoByInterval
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleActiveStates
Deprecated version: N/A|Method or attribute name: queryBundleActiveStates
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.queryBundleEvents |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryBundleActiveStates
Deprecated version: N/A|Method or attribute name: queryBundleActiveStates
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryCurrentBundleActiveStates
Deprecated version: N/A|Method or attribute name: queryCurrentBundleActiveStates
Deprecated version: 9
New API: ohos.resourceschedule.usageStatistics.queryCurrentBundleEvents |@ohos.bundleState.d.ts| +|Deprecated version changed|Method or attribute name: queryCurrentBundleActiveStates
Deprecated version: N/A|Method or attribute name: queryCurrentBundleActiveStates
Deprecated version: 9|@ohos.bundleState.d.ts| +|Deprecated version changed|Class name: workScheduler
Deprecated version: N/A|Class name: workScheduler
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler |@ohos.workScheduler.d.ts| +|Deprecated version changed|Class name: WorkInfo
Deprecated version: N/A|Class name: WorkInfo
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.WorkInfo |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: startWork
Deprecated version: N/A|Method or attribute name: startWork
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.startWork |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: stopWork
Deprecated version: N/A|Method or attribute name: stopWork
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.stopWork |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: getWorkStatus
Deprecated version: N/A|Method or attribute name: getWorkStatus
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.getWorkStatus |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: getWorkStatus
Deprecated version: N/A|Method or attribute name: getWorkStatus
Deprecated version: 9|@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: obtainAllWorks
Deprecated version: N/A|Method or attribute name: obtainAllWorks
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.obtainAllWorks |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: obtainAllWorks
Deprecated version: N/A|Method or attribute name: obtainAllWorks
Deprecated version: 9|@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: stopAndClearWorks
Deprecated version: N/A|Method or attribute name: stopAndClearWorks
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.stopAndClearWorks |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: isLastWorkTimeOut
Deprecated version: N/A|Method or attribute name: isLastWorkTimeOut
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.isLastWorkTimeOut |@ohos.workScheduler.d.ts| +|Deprecated version changed|Method or attribute name: isLastWorkTimeOut
Deprecated version: N/A|Method or attribute name: isLastWorkTimeOut
Deprecated version: 9|@ohos.workScheduler.d.ts| +|Deprecated version changed|Class name: NetworkType
Deprecated version: N/A|Class name: NetworkType
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.NetworkType |@ohos.workScheduler.d.ts| +|Deprecated version changed|Class name: ChargingType
Deprecated version: N/A|Class name: ChargingType
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.ChargingType |@ohos.workScheduler.d.ts| +|Deprecated version changed|Class name: BatteryStatus
Deprecated version: N/A|Class name: BatteryStatus
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.BatteryStatus |@ohos.workScheduler.d.ts| +|Deprecated version changed|Class name: StorageRequest
Deprecated version: N/A|Class name: StorageRequest
Deprecated version: 9
New API: ohos.resourceschedule.workScheduler.StorageRequest |@ohos.workScheduler.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-security.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-security.md new file mode 100644 index 0000000000000000000000000000000000000000..0e799d2bd04978f2708092161728d60b74f12f38 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-security.md @@ -0,0 +1,112 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.abilityAccessCtrl
Class name: AtManager
Method or attribute name: checkAccessToken|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: grantUserGrantedPermission
Function name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise;|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: grantUserGrantedPermission
Function name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback): void;|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: revokeUserGrantedPermission
Function name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise;|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: revokeUserGrantedPermission
Function name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback): void;|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: permissionName
Function name: permissionName: Permissions;|@ohos.abilityAccessCtrl.d.ts| +|Added||Method or attribute name: addPermissionUsedRecord
Function name: function addPermissionUsedRecord(tokenID: number, permissionName: Permissions, successCount: number, failCount: number): Promise;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: addPermissionUsedRecord
Function name: function addPermissionUsedRecord(tokenID: number, permissionName: Permissions, successCount: number, failCount: number, callback: AsyncCallback): void;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: startUsingPermission
Function name: function startUsingPermission(tokenID: number, permissionName: Permissions): Promise;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: startUsingPermission
Function name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback): void;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: stopUsingPermission
Function name: function stopUsingPermission(tokenID: number, permissionName: Permissions): Promise;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: stopUsingPermission
Function name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback): void;|@ohos.privacyManager.d.ts| +|Added||Method or attribute name: permissionNames
Function name: permissionNames: Array;|@ohos.privacyManager.d.ts| +|Added||Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_RUNTIME_ERROR|@ohos.security.cryptoFramework.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: generateKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: generateKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: deleteKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: deleteKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importWrappedKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importWrappedKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: exportKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: exportKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: getKeyItemProperties|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: getKeyItemProperties|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: isKeyItemExist|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: isKeyItemExist|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: initSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: initSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: updateSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: updateSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: updateSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: finishSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: finishSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: finishSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: abortSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: abortSession|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: attestKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: huks
Method or attribute name: attestKeyItem|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksSessionHandle|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksSessionHandle
Method or attribute name: handle|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksSessionHandle
Method or attribute name: challenge|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksReturnResult|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksReturnResult
Method or attribute name: outData|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksReturnResult
Method or attribute name: properties|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksReturnResult
Method or attribute name: certChains|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_PERMISSION_FAIL|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_ILLEGAL_ARGUMENT|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_NOT_SUPPORTED_API|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_FEATURE_NOT_SUPPORTED|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_MISSING_CRYPTO_ALG_ARGUMENT|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_INVALID_CRYPTO_ALG_ARGUMENT|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_FILE_OPERATION_FAIL|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_COMMUNICATION_FAIL|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_CRYPTO_FAIL|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_PERMANENTLY_INVALIDATED|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_VERIFY_FAILED|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_TIME_OUT|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_SESSION_LIMIT|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_ITEM_NOT_EXIST|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_EXTERNAL_ERROR|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_CREDENTIAL_NOT_EXIST|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_INSUFFICIENT_MEMORY|@ohos.security.huks.d.ts| +|Added||Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_CALL_SERVICE_FAILED|@ohos.security.huks.d.ts| +|Deleted||Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_EXTERNAL_ERROR||@ohos.security.cryptoFramework.d.ts| +|Deleted||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importWrappedKey||@ohos.security.huks.d.ts| +|Deleted||Module name: ohos.security.huks
Class name: huks
Method or attribute name: importWrappedKey||@ohos.security.huks.d.ts| +|Deleted||Module name: ohos.security.huks
Class name: huks
Method or attribute name: attestKey||@ohos.security.huks.d.ts| +|Deleted||Module name: ohos.security.huks
Class name: huks
Method or attribute name: attestKey||@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: verifyAccessToken
Deprecated version: N/A|Method or attribute name: verifyAccessToken
Deprecated version: 9
New API: ohos.abilityAccessCtrl.AtManager|@ohos.abilityAccessCtrl.d.ts| +|Deprecated version changed|Method or attribute name: generateKey
Deprecated version: N/A|Method or attribute name: generateKey
Deprecated version: 9
New API: ohos.security.huks.generateKeyItem |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: generateKey
Deprecated version: N/A|Method or attribute name: generateKey
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: deleteKey
Deprecated version: N/A|Method or attribute name: deleteKey
Deprecated version: 9
New API: ohos.security.huks.deleteKeyItem |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: deleteKey
Deprecated version: N/A|Method or attribute name: deleteKey
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: importKey
Deprecated version: N/A|Method or attribute name: importKey
Deprecated version: 9
New API: ohos.security.huks.importKeyItem |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: importKey
Deprecated version: N/A|Method or attribute name: importKey
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: exportKey
Deprecated version: N/A|Method or attribute name: exportKey
Deprecated version: 9
New API: ohos.security.huks.exportKeyItem |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: exportKey
Deprecated version: N/A|Method or attribute name: exportKey
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: getKeyProperties
Deprecated version: N/A|Method or attribute name: getKeyProperties
Deprecated version: 9
New API: ohos.security.huks.getKeyItemProperties |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: getKeyProperties
Deprecated version: N/A|Method or attribute name: getKeyProperties
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: isKeyExist
Deprecated version: N/A|Method or attribute name: isKeyExist
Deprecated version: 9
New API: ohos.security.huks.isKeyItemExist |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: isKeyExist
Deprecated version: N/A|Method or attribute name: isKeyExist
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: init
Deprecated version: N/A|Method or attribute name: init
Deprecated version: 9
New API: ohos.security.huks.initSession |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: init
Deprecated version: N/A|Method or attribute name: init
Deprecated version: 9|@ohos.security.huks.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.security.huks.updateSession |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: update
Deprecated version: N/A|Method or attribute name: update
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: update
Deprecated version: N/A|Method or attribute name: update
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: finish
Deprecated version: N/A|Method or attribute name: finish
Deprecated version: 9
New API: ohos.security.huks.finishSession |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: finish
Deprecated version: N/A|Method or attribute name: finish
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: abort
Deprecated version: N/A|Method or attribute name: abort
Deprecated version: 9
New API: ohos.security.huks.abortSession |@ohos.security.huks.d.ts| +|Deprecated version changed|Method or attribute name: abort
Deprecated version: N/A|Method or attribute name: abort
Deprecated version: 9|@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksHandle
Deprecated version: N/A|Class name: HuksHandle
Deprecated version: 9
New API: ohos.security.huks.HuksSessionHandle |@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksResult
Deprecated version: N/A|Class name: HuksResult
Deprecated version: 9
New API: ohos.security.huks.HuksReturnResult |@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: HuksErrorCode
Deprecated version: N/A|Class name: HuksErrorCode
Deprecated version: 9
New API: ohos.security.huks.HuksExceptionErrCode |@ohos.security.huks.d.ts| +|Deprecated version changed|Class name: Cipher
Deprecated version: N/A|Class name: Cipher
Deprecated version: 9
New API: ohos.security.cryptoFramework.Cipher |@system.cipher.d.ts| +|Deprecated version changed|Method or attribute name: rsa
Deprecated version: N/A|Method or attribute name: rsa
Deprecated version: 9
New API: ohos.security.cryptoFramework.Cipher |@system.cipher.d.ts| +|Deprecated version changed|Method or attribute name: aes
Deprecated version: N/A|Method or attribute name: aes
Deprecated version: 9
New API: ohos.security.cryptoFramework.Cipher |@system.cipher.d.ts| +|Initial version changed|Method or attribute name: getPermissionFlags
Initial version: 9|Method or attribute name: getPermissionFlags
Initial version: 8|@ohos.abilityAccessCtrl.d.ts| +|Initial version changed|Method or attribute name: update
Initial version: 9|Method or attribute name: update
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Method or attribute name: update
Initial version: 9|Method or attribute name: update
Initial version: 8|@ohos.security.huks.d.ts| +|Initial version changed|Method or attribute name: update
Initial version: 9|Method or attribute name: update
Initial version: 8|@ohos.security.huks.d.ts| +|Error code added||Method or attribute name: verifyAccessTokenSync
Error code: 401, 12100001|@ohos.abilityAccessCtrl.d.ts| +|Error code added||Method or attribute name: getPermissionFlags
Error code: 401, 201, 12100001, 12100002, 12100003, 12100006, 12100007|@ohos.abilityAccessCtrl.d.ts| +|Error code added||Method or attribute name: on_permissionStateChange
Error code: 401, 201, 12100001, 12100004, 12100005, 12100007, 12100008|@ohos.abilityAccessCtrl.d.ts| +|Error code added||Method or attribute name: off_permissionStateChange
Error code: 401, 201, 12100001, 12100004, 12100007, 12100008|@ohos.abilityAccessCtrl.d.ts| +|Error code added||Method or attribute name: getPermissionUsedRecords
Error code: 401, 201, 12100001, 12100002, 12100003, 12100007,12100008|@ohos.privacyManager.d.ts| +|Error code added||Method or attribute name: on_activeStateChange
Error code: 401, 201, 12100001, 12100004, 12100005, 12100007, 12100008|@ohos.privacyManager.d.ts| +|Error code added||Method or attribute name: off_activeStateChange
Error code: 401, 201, 12100001, 12100004, 12100007, 12100008|@ohos.privacyManager.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-sensor.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-sensor.md new file mode 100644 index 0000000000000000000000000000000000000000..02be636ee644fc36a553aff82085576cb01ce73e --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-sensor.md @@ -0,0 +1,209 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.sensor
Class name: SensorId|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: GYROSCOPE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: AMBIENT_LIGHT|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: MAGNETIC_FIELD|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: BAROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: HALL|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: PROXIMITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: HUMIDITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: ORIENTATION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: GRAVITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: LINEAR_ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: ROTATION_VECTOR|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: AMBIENT_TEMPERATURE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: SIGNIFICANT_MOTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: PEDOMETER_DETECTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: PEDOMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: HEART_RATE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: WEAR_DETECTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: SensorId
Method or attribute name: ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_AMBIENT_LIGHT|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_AMBIENT_TEMPERATURE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_BAROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_GRAVITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_GYROSCOPE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_HALL|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_HEART_RATE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_HUMIDITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_LINEAR_ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_MAGNETIC_FIELD|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_ORIENTATION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_PEDOMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_PEDOMETER_DETECTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_PROXIMITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_ROTATION_VECTOR|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_SIGNIFICANT_MOTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorId_WEAR_DETECTION|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.ACCELEROMETER, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.AMBIENT_LIGHT, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.BAROMETER, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.GRAVITY, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.GYROSCOPE, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.HALL, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.HEART_RATE, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.HUMIDITY, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.MAGNETIC_FIELD, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.ORIENTATION, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.PEDOMETER, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.PEDOMETER_DETECTION, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.PROXIMITY, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.ROTATION_VECTOR, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.SIGNIFICANT_MOTION, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: once
Function name: function once(type: SensorId.WEAR_DETECTION, callback: Callback): void;|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_AMBIENT_LIGHT|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_AMBIENT_TEMPERATURE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_BAROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_GRAVITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_GYROSCOPE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_HALL|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_HEART_RATE|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_HUMIDITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_LINEAR_ACCELEROMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_MAGNETIC_FIELD|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_ORIENTATION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_PEDOMETER|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_PEDOMETER_DETECTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_PROXIMITY|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_ROTATION_VECTOR|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_SIGNIFICANT_MOTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorId_WEAR_DETECTION|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: Sensor
Method or attribute name: sensorId|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: Sensor
Method or attribute name: minSamplePeriod|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: Sensor
Method or attribute name: maxSamplePeriod|@ohos.sensor.d.ts| +|Added||Method or attribute name: getSingleSensor
Function name: function getSingleSensor(type: SensorId, callback: AsyncCallback): void;|@ohos.sensor.d.ts| +|Added||Method or attribute name: getSingleSensor
Function name: function getSingleSensor(type: SensorId): Promise;|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getSensorList|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getSensorList|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getGeomagneticInfo|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getGeomagneticInfo|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getDeviceAltitude|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getDeviceAltitude|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getInclination|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getInclination|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getAngleVariation|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getAngleVariation|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: transformRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: transformRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getQuaternion|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getQuaternion|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getOrientation|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getOrientation|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getRotationMatrix|@ohos.sensor.d.ts| +|Added||Module name: ohos.vibrator
Class name: vibrator
Method or attribute name: startVibration|@ohos.vibrator.d.ts| +|Added||Module name: ohos.vibrator
Class name: vibrator
Method or attribute name: startVibration|@ohos.vibrator.d.ts| +|Added||Module name: ohos.vibrator
Class name: vibrator
Method or attribute name: stopVibration|@ohos.vibrator.d.ts| +|Added||Module name: ohos.vibrator
Class name: vibrator
Method or attribute name: stopVibration|@ohos.vibrator.d.ts| +|Deleted||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorType_SENSOR_TYPE_ID_HEART_BEAT_RATE||@ohos.sensor.d.ts| +|Deleted||Module name: ohos.sensor
Class name: sensor
Method or attribute name: on_SensorType_SENSOR_TYPE_ID_LINEAR_ACCELEROMETER||@ohos.sensor.d.ts| +|Deleted||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorType_SENSOR_TYPE_ID_HEART_BEAT_RATE||@ohos.sensor.d.ts| +|Deleted||Module name: ohos.sensor
Class name: sensor
Method or attribute name: off_SensorType_SENSOR_TYPE_ID_LINEAR_ACCELEROMETER||@ohos.sensor.d.ts| +|Deleted||Module name: ohos.sensor
Class name: Sensor
Method or attribute name: sensorTypeId||@ohos.sensor.d.ts| +|Deleted||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getSensorLists||@ohos.sensor.d.ts| +|Deleted||Module name: ohos.sensor
Class name: sensor
Method or attribute name: getSensorLists||@ohos.sensor.d.ts| +|Deleted||Module name: ohos.sensor
Class name: SensorType
Method or attribute name: SENSOR_TYPE_ID_LINEAR_ACCELEROMETER||@ohos.sensor.d.ts| +|Deleted||Module name: ohos.sensor
Class name: SensorType
Method or attribute name: SENSOR_TYPE_ID_HEART_BEAT_RATE||@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ACCELEROMETER
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ACCELEROMETER
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_AMBIENT_LIGHT
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_AMBIENT_LIGHT
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_AMBIENT_TEMPERATURE
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_AMBIENT_TEMPERATURE
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_BAROMETER
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_BAROMETER
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GRAVITY
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GRAVITY
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GYROSCOPE
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GYROSCOPE
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_HALL
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_HALL
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_HUMIDITY
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_HUMIDITY
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ORIENTATION
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ORIENTATION
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PEDOMETER
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PEDOMETER
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PEDOMETER_DETECTION
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PEDOMETER_DETECTION
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PROXIMITY
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_PROXIMITY
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ROTATION_VECTOR
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_ROTATION_VECTOR
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_SIGNIFICANT_MOTION
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_SIGNIFICANT_MOTION
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_WEAR_DETECTION
Deprecated version: N/A|Method or attribute name: on_SensorType_SENSOR_TYPE_ID_WEAR_DETECTION
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: once
Deprecated version: N/A|Method or attribute name: once
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ACCELEROMETER
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ACCELEROMETER
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_AMBIENT_LIGHT
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_AMBIENT_LIGHT
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_AMBIENT_TEMPERATURE
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_AMBIENT_TEMPERATURE
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_BAROMETER
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_BAROMETER
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GRAVITY
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GRAVITY
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GYROSCOPE
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GYROSCOPE
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_HALL
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_HALL
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_HUMIDITY
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_HUMIDITY
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ORIENTATION
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ORIENTATION
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PEDOMETER
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PEDOMETER
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PEDOMETER_DETECTION
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PEDOMETER_DETECTION
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PROXIMITY
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_PROXIMITY
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ROTATION_VECTOR
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_ROTATION_VECTOR
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_SIGNIFICANT_MOTION
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_SIGNIFICANT_MOTION
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_WEAR_DETECTION
Deprecated version: N/A|Method or attribute name: off_SensorType_SENSOR_TYPE_ID_WEAR_DETECTION
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getGeomagneticField
Deprecated version: N/A|Method or attribute name: getGeomagneticField
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getGeomagneticField
Deprecated version: N/A|Method or attribute name: getGeomagneticField
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getAltitude
Deprecated version: N/A|Method or attribute name: getAltitude
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getAltitude
Deprecated version: N/A|Method or attribute name: getAltitude
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getGeomagneticDip
Deprecated version: N/A|Method or attribute name: getGeomagneticDip
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getGeomagneticDip
Deprecated version: N/A|Method or attribute name: getGeomagneticDip
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getAngleModify
Deprecated version: N/A|Method or attribute name: getAngleModify
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getAngleModify
Deprecated version: N/A|Method or attribute name: getAngleModify
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createRotationMatrix
Deprecated version: N/A|Method or attribute name: createRotationMatrix
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createRotationMatrix
Deprecated version: N/A|Method or attribute name: createRotationMatrix
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: transformCoordinateSystem
Deprecated version: N/A|Method or attribute name: transformCoordinateSystem
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: transformCoordinateSystem
Deprecated version: N/A|Method or attribute name: transformCoordinateSystem
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createQuaternion
Deprecated version: N/A|Method or attribute name: createQuaternion
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createQuaternion
Deprecated version: N/A|Method or attribute name: createQuaternion
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getDirection
Deprecated version: N/A|Method or attribute name: getDirection
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: getDirection
Deprecated version: N/A|Method or attribute name: getDirection
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createRotationMatrix
Deprecated version: N/A|Method or attribute name: createRotationMatrix
Deprecated version: 9
New API: sensor|@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: createRotationMatrix
Deprecated version: N/A|Method or attribute name: createRotationMatrix
Deprecated version: 9|@ohos.sensor.d.ts| +|Deprecated version changed|Class name: SensorType
Deprecated version: N/A|Class name: SensorType
Deprecated version: 9
New API: sensor.SensorId |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: SENSOR_TYPE_ID_LINEAR_ACCELERATION
Deprecated version: 9|Method or attribute name: SENSOR_TYPE_ID_LINEAR_ACCELERATION
Deprecated version: N/A
New API: sensor.SensorId |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: SENSOR_TYPE_ID_HEART_RATE
Deprecated version: 9|Method or attribute name: SENSOR_TYPE_ID_HEART_RATE
Deprecated version: N/A
New API: sensor.SensorId |@ohos.sensor.d.ts| +|Deprecated version changed|Method or attribute name: vibrate
Deprecated version: N/A|Method or attribute name: vibrate
Deprecated version: 9
New API: vibrator|@ohos.vibrator.d.ts| +|Deprecated version changed|Method or attribute name: vibrate
Deprecated version: N/A|Method or attribute name: vibrate
Deprecated version: 9|@ohos.vibrator.d.ts| +|Deprecated version changed|Method or attribute name: vibrate
Deprecated version: N/A|Method or attribute name: vibrate
Deprecated version: 9
New API: vibrator|@ohos.vibrator.d.ts| +|Deprecated version changed|Method or attribute name: vibrate
Deprecated version: N/A|Method or attribute name: vibrate
Deprecated version: 9|@ohos.vibrator.d.ts| +|Deprecated version changed|Method or attribute name: stop
Deprecated version: N/A|Method or attribute name: stop
Deprecated version: 9
New API: vibrator|@ohos.vibrator.d.ts| +|Deprecated version changed|Method or attribute name: stop
Deprecated version: N/A|Method or attribute name: stop
Deprecated version: 9|@ohos.vibrator.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-start-up.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-start-up.md new file mode 100644 index 0000000000000000000000000000000000000000..c83271778fd0b90a8c0da966999603c89a8ce354 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-start-up.md @@ -0,0 +1,10 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: getSync|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: get|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: get|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: get|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: setSync|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: set|@ohos.systemParameterV9.d.ts| +|Added||Module name: ohos.systemParameterV9
Class name: systemParameterV9
Method or attribute name: set|@ohos.systemParameterV9.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-telephony.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-telephony.md new file mode 100644 index 0000000000000000000000000000000000000000..df47ac6b58531d3404fbf9971d40333c94d1dc08 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-telephony.md @@ -0,0 +1,11 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|New||Method or attribute name: sendUpdateCellLocationRequest
Function name: function sendUpdateCellLocationRequest(slotId?: number): Promise;|@ohos.telephony.radio.d.ts| +|Initial version changed|Method or attribute name: sendUpdateCellLocationRequest
Initial version: 9|Method or attribute name: sendUpdateCellLocationRequest
Initial version: 8|@ohos.telephony.radio.d.ts| +|Permission deleted|Method or attribute name: getDefaultCellularDataSlotId
Permission: ohos.permission.GET_NETWORK_INFO|Method or attribute name: getDefaultCellularDataSlotId
Permission: N/A|@ohos.telephony.data.d.ts| +|Permission deleted|Method or attribute name: getDefaultCellularDataSlotId
Permission: ohos.permission.GET_NETWORK_INFO|Method or attribute name: getDefaultCellularDataSlotId
Permission: N/A|@ohos.telephony.data.d.ts| +|Permission deleted|Method or attribute name: getDefaultCellularDataSlotIdSync
Permission: ohos.permission.GET_NETWORK_INFO|Method or attribute name: getDefaultCellularDataSlotIdSync
Permission: N/A|@ohos.telephony.data.d.ts| +|Permission added|Method or attribute name: sendUpdateCellLocationRequest
Permission: N/A|Method or attribute name: sendUpdateCellLocationRequest
Permission: ohos.permission.LOCATION|@ohos.telephony.radio.d.ts| +|Permission added|Method or attribute name: sendUpdateCellLocationRequest
Permission: N/A|Method or attribute name: sendUpdateCellLocationRequest
Permission: ohos.permission.LOCATION|@ohos.telephony.radio.d.ts| +|Permission added|Method or attribute name: getLockState
Permission: N/A|Method or attribute name: getLockState
Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission added|Method or attribute name: getLockState
Permission: N/A|Method or attribute name: getLockState
Permission: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-unitest.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-unitest.md new file mode 100644 index 0000000000000000000000000000000000000000..f1abc43037b8b59e0ad8cf319260ea2d76bae5cf --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-unitest.md @@ -0,0 +1,111 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: bundleName
Function name: bundleName?: string;|@ohos.uitest.d.ts| +|Added||Method or attribute name: title
Function name: title?: string;|@ohos.uitest.d.ts| +|Added||Method or attribute name: focused
Function name: focused?: boolean;|@ohos.uitest.d.ts| +|Added||Method or attribute name: actived
Function name: actived?: boolean;|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: text|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: id|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: type|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: clickable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: longClickable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: scrollable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: enabled|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: focused|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: selected|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: checked|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: checkable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: isBefore|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: On
Method or attribute name: isAfter|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: click|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: doubleClick|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: longClick|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: getId|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: getText|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: getType|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isClickable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isLongClickable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isScrollable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isEnabled|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isFocused|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isSelected|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isChecked|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: isCheckable|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: inputText|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: clearText|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: scrollToTop|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: scrollToBottom|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: scrollSearch|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: getBounds|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: getBoundsCenter|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: dragTo|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: pinchOut|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Component
Method or attribute name: pinchIn|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: create|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: delayMs|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: findComponent|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: findWindow|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: waitForComponent|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: findComponents|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: assertComponentExist|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: pressBack|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: triggerKey|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: triggerCombineKeys|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: click|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: doubleClick|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: longClick|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: swipe|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: drag|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: screenCap|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: setDisplayRotation|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: getDisplayRotation|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: setDisplayRotationEnabled|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: getDisplaySize|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: getDisplayDensity|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: wakeUpDisplay|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: pressHome|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: waitForIdle|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: fling|@ohos.uitest.d.ts| +|Added||Module name: ohos.uitest
Class name: Driver
Method or attribute name: injectMultiPointerAction|@ohos.uitest.d.ts| +|Added||Method or attribute name: focus
Function name: focus(): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: moveTo
Function name: moveTo(x: number, y: number): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: resize
Function name: resize(wide: number, height: number, direction: ResizeDirection): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: split
Function name: split(): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: maximize
Function name: maximize(): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: minimize
Function name: minimize(): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: resume
Function name: resume(): Promise;|@ohos.uitest.d.ts| +|Added||Method or attribute name: close
Function name: close(): Promise;|@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: By
Method or attribute name: longClickable||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: By
Method or attribute name: checked||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: By
Method or attribute name: checkable||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: isLongClickable||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: isChecked||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: isCheckable||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: clearText||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: scrollToTop||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: scrollToBottom||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: getBounds||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: getBoundsCenter||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: dragTo||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: pinchOut||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiComponent
Method or attribute name: pinchIn||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: findWindow||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: waitForComponent||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: triggerCombineKeys||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: drag||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: setDisplayRotation||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: getDisplayRotation||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: setDisplayRotationEnabled||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: getDisplaySize||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: getDisplayDensity||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: wakeUpDisplay||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: pressHome||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: waitForIdle||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: fling||@ohos.uitest.d.ts| +|Deleted||Module name: ohos.uitest
Class name: UiDriver
Method or attribute name: injectMultiPointerAction||@ohos.uitest.d.ts| +|Deprecated version changed|Class name: By
Deprecated version: N/A|Class name: By
Deprecated version: 9
New API: ohos.uitest.On |@ohos.uitest.d.ts| +|Deprecated version changed|Class name: UiComponent
Deprecated version: N/A|Class name: UiComponent
Deprecated version: 9
New API: ohos.uitest.Component |@ohos.uitest.d.ts| +|Deprecated version changed|Class name: UiDriver
Deprecated version: N/A|Class name: UiDriver
Deprecated version: 9
New API: ohos.uitest.Driver |@ohos.uitest.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-update.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-update.md new file mode 100644 index 0000000000000000000000000000000000000000..50bde3f3f511684b6dd85fade864276210913fb3 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-update.md @@ -0,0 +1,26 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Error code added||Method or attribute name: getOnlineUpdater
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getRestorer
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getLocalUpdater
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: checkNewVersion
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getNewVersionInfo
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getNewVersionDescription
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getCurrentVersionInfo
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getCurrentVersionDescription
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getTaskInfo
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: download
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: resumeDownload
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: pauseDownload
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: upgrade
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: clearError
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: getUpgradePolicy
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: setUpgradePolicy
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: terminateUpgrade
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: on
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: off
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: factoryReset
Error code: 201, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: verifyUpgradePackage
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: applyNewVersion
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: on
Error code: 201, 401, 11500104|@ohos.update.d.ts| +|Error code added||Method or attribute name: off
Error code: 201, 401, 11500104|@ohos.update.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-usb.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-usb.md new file mode 100644 index 0000000000000000000000000000000000000000..5d8fb9ba049cc8f2db7e885f776ecf785ecd104f --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-usb.md @@ -0,0 +1,121 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: controlTransfer
Function name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise;|@ohos.usb.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getDevices|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: connectDevice|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: hasRight|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: requestRight|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: removeRight|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: addRight|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: usbFunctionsFromString|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: usbFunctionsToString|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setCurrentFunctions|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getCurrentFunctions|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getPorts|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getSupportedModes|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setPortRoles|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: claimInterface|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: releaseInterface|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setConfiguration|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setInterface|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getRawDescriptor|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getFileDescriptor|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: controlTransfer|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: bulkTransfer|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: closePipe|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: address|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: attributes|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: interval|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: maxPacketSize|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: direction|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: number|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: type|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: interfaceId|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: id|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: protocol|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: clazz|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: subClass|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: alternateSetting|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: name|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: endpoints|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: id|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: attributes|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: maxPower|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: name|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: isRemoteWakeup|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: isSelfPowered|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: interfaces|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: busNum|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: devAddress|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: serial|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: name|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: manufacturerName|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: productName|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: version|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: vendorId|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: productId|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: clazz|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: subClass|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: protocol|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: configs|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevicePipe|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevicePipe
Method or attribute name: busNum|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBDevicePipe
Method or attribute name: devAddress|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PowerRoleType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PowerRoleType
Method or attribute name: NONE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PowerRoleType
Method or attribute name: SOURCE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PowerRoleType
Method or attribute name: SINK|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: DataRoleType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: DataRoleType
Method or attribute name: NONE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: DataRoleType
Method or attribute name: HOST|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: DataRoleType
Method or attribute name: DEVICE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: NONE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: UFP|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: DFP|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: DRP|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: NUM_MODES|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPortStatus|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPortStatus
Method or attribute name: currentMode|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPortStatus
Method or attribute name: currentPowerRole|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPortStatus
Method or attribute name: currentDataRole|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPort|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPort
Method or attribute name: id|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPort
Method or attribute name: supportedModes|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBPort
Method or attribute name: status|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: request|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: target|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: reqType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: value|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: index|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: data|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestTargetType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_DEVICE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_INTERFACE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_ENDPOINT|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_OTHER|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlRequestType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_STANDARD|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_CLASS|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_VENDOR|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestDirection|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestDirection
Method or attribute name: USB_REQUEST_DIR_TO_DEVICE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: USBRequestDirection
Method or attribute name: USB_REQUEST_DIR_FROM_DEVICE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: NONE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: ACM|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: ECM|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: HDC|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: MTP|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: PTP|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: RNDIS|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: MIDI|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: AUDIO_SOURCE|@ohos.usbV9.d.ts| +|Added||Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: NCM|@ohos.usbV9.d.ts| +|Deprecated version changed|Class name: usb
Deprecated version: N/A|Class name: usb
Deprecated version: 9
New API: ohos.usbV9 |@ohos.usb.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-user-iam.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-user-iam.md new file mode 100644 index 0000000000000000000000000000000000000000..a87850d731d5651de3a149668146a0c4405ed0a7 --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-user-iam.md @@ -0,0 +1,59 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Method or attribute name: setSurfaceId
Function name: setSurfaceId(surfaceId: string): void;|@ohos.userIAM.faceAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthEvent|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthEvent
Method or attribute name: callback|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthResultInfo|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthResultInfo
Method or attribute name: result|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthResultInfo
Method or attribute name: token|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthResultInfo
Method or attribute name: remainAttempts|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthResultInfo
Method or attribute name: lockoutDuration|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: TipInfo|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: TipInfo
Method or attribute name: module|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: TipInfo
Method or attribute name: tip|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthInstance|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthInstance
Method or attribute name: on|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthInstance
Method or attribute name: off|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthInstance
Method or attribute name: start|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: AuthInstance
Method or attribute name: cancel|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: userAuth
Method or attribute name: getVersion|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: userAuth
Method or attribute name: getAvailableStatus|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: userAuth
Method or attribute name: getAuthInstance|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: SUCCESS|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: FAIL|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: GENERAL_ERROR|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: CANCELED|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: TIMEOUT|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: TYPE_NOT_SUPPORT|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: TRUST_LEVEL_NOT_SUPPORT|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: BUSY|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: LOCKED|@ohos.userIAM.userAuth.d.ts| +|Added||Module name: ohos.userIAM.userAuth
Class name: ResultCodeV9
Method or attribute name: NOT_ENROLLED|@ohos.userIAM.userAuth.d.ts| +|Deleted|Module name: ohos.userIAM.faceAuth
Class name: ResultCode||@ohos.userIAM.faceAuth.d.ts| +|Deleted|Module name: ohos.userIAM.faceAuth
Class name: ResultCode
Method or attribute name: SUCCESS||@ohos.userIAM.faceAuth.d.ts| +|Deleted|Module name: ohos.userIAM.faceAuth
Class name: ResultCode
Method or attribute name: FAIL||@ohos.userIAM.faceAuth.d.ts| +|Deprecated version changed|Class name: AuthenticationResult
Deprecated version: N/A|Class name: AuthenticationResult
Deprecated version: 8
New API: ohos.userIAM.userAuth.ResultCode |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: Authenticator
Deprecated version: N/A|Class name: Authenticator
Deprecated version: 8|@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: UserAuth
Deprecated version: N/A|Class name: UserAuth
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthInstance |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: getVersion
Deprecated version: N/A|Method or attribute name: getVersion
Deprecated version: 9
New API: ohos.userIAM.userAuth.getVersion |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: getAvailableStatus
Deprecated version: N/A|Method or attribute name: getAvailableStatus
Deprecated version: 9
New API: ohos.userIAM.userAuth.getAvailableStatus |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: auth
Deprecated version: N/A|Method or attribute name: auth
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthInstance.start |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: cancelAuth
Deprecated version: N/A|Method or attribute name: cancelAuth
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthInstance.cancel |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: IUserAuthCallback
Deprecated version: N/A|Class name: IUserAuthCallback
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthEvent |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: onResult
Deprecated version: N/A|Method or attribute name: onResult
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthEvent.callback |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: onAcquireInfo
Deprecated version: N/A|Method or attribute name: onAcquireInfo
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthEvent.callback |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: AuthResult
Deprecated version: N/A|Class name: AuthResult
Deprecated version: 9
New API: ohos.userIAM.userAuth.AuthResultInfo |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Class name: ResultCode
Deprecated version: N/A|Class name: ResultCode
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: SUCCESS
Deprecated version: N/A|Method or attribute name: SUCCESS
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: FAIL
Deprecated version: N/A|Method or attribute name: FAIL
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: GENERAL_ERROR
Deprecated version: N/A|Method or attribute name: GENERAL_ERROR
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: CANCELED
Deprecated version: N/A|Method or attribute name: CANCELED
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: TIMEOUT
Deprecated version: N/A|Method or attribute name: TIMEOUT
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: TYPE_NOT_SUPPORT
Deprecated version: N/A|Method or attribute name: TYPE_NOT_SUPPORT
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: TRUST_LEVEL_NOT_SUPPORT
Deprecated version: N/A|Method or attribute name: TRUST_LEVEL_NOT_SUPPORT
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: BUSY
Deprecated version: N/A|Method or attribute name: BUSY
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: INVALID_PARAMETERS
Deprecated version: N/A|Method or attribute name: INVALID_PARAMETERS
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: LOCKED
Deprecated version: N/A|Method or attribute name: LOCKED
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Deprecated version changed|Method or attribute name: NOT_ENROLLED
Deprecated version: N/A|Method or attribute name: NOT_ENROLLED
Deprecated version: 9
New API: ohos.userIAM.userAuth.ResultCodeV9 |@ohos.userIAM.userAuth.d.ts| +|Initial version changed|Class name: IUserAuthCallback
Initial version: 6|Class name: IUserAuthCallback
Initial version: 8|@ohos.userIAM.userAuth.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-web.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-web.md new file mode 100644 index 0000000000000000000000000000000000000000..06ef6496c1ed35a91506cec5db8d2e9651ffe64d --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-web.md @@ -0,0 +1,76 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.web.webview
Class name: HeaderV9|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HeaderV9
Method or attribute name: headerKey|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HeaderV9
Method or attribute name: headerValue|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: EditText|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: Email|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: HttpAnchor|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: HttpAnchorImg|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: Img|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: Map|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: Phone|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestTypeV9
Method or attribute name: Unknown|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestValue|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestValue
Method or attribute name: type|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: HitTestValue
Method or attribute name: extra|@ohos.web.webview.d.ts| +|Added||Method or attribute name: setCookie
Function name: static setCookie(url: string, value: string): void;|@ohos.web.webview.d.ts| +|Added||Method or attribute name: saveCookieAsync
Function name: static saveCookieAsync(): Promise;|@ohos.web.webview.d.ts| +|Added||Method or attribute name: saveCookieAsync
Function name: static saveCookieAsync(callback: AsyncCallback): void;|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebMessagePort|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebMessagePort
Method or attribute name: close|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebMessagePort
Method or attribute name: postMessageEvent|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebMessagePort
Method or attribute name: onMessageEvent|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: accessForward|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: accessBackward|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: accessStep|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: forward|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: backward|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: clearHistory|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: onActive|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: onInactive|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: refresh|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: loadData|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: loadUrl|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getHitTest|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: storeWebArchive|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: storeWebArchive|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: zoom|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: zoomIn|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: zoomOut|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getHitTestValue|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getWebId|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getUserAgent|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getTitle|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getPageHeight|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: backOrForward|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: requestFocus|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: createWebMessagePorts|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: postMessage|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: stop|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: registerJavaScriptProxy|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: deleteJavaScriptRegister|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: searchAllAsync|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: clearMatches|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: searchNext|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: clearSslCache|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: clearClientAuthenticationCache|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: runJavaScript|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: runJavaScript|@ohos.web.webview.d.ts| +|Added||Module name: ohos.web.webview
Class name: WebviewController
Method or attribute name: getUrl|@ohos.web.webview.d.ts| +|Deleted||Module name: ohos.web.webview
Class name: WebCookieManager
Method or attribute name: saveCookieSync||@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: deleteOrigin
Error code: 401, 17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getOrigins
Error code: 401,17100012|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getOriginQuota
Error code: 401, 17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getOriginUsage
Error code: 401, 17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getHttpAuthCredentials
Error code: 401|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: saveHttpAuthCredentials
Error code: 401|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: allowGeolocation
Error code: 401, 17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: deleteGeolocation
Error code: 401, 17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getAccessibleGeolocation
Error code: 401, 17100011|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getStoredGeolocation
Error code: 401|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: getCookie
Error code: 401,17100002|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: putAcceptCookieEnabled
Error code: 401|@ohos.web.webview.d.ts| +|Error code added||Method or attribute name: putAcceptThirdPartyCookieEnabled
Error code: 401|@ohos.web.webview.d.ts| diff --git a/en/release-notes/api-diff/v3.2-beta4/js-apidiff-window.md b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-window.md new file mode 100644 index 0000000000000000000000000000000000000000..301dd144469f27e0e92dcf59ade07ce26734b2db --- /dev/null +++ b/en/release-notes/api-diff/v3.2-beta4/js-apidiff-window.md @@ -0,0 +1,111 @@ +| Change Type | New Version | Old Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added||Module name: ohos.display
Class name: display
Method or attribute name: getAllDisplays|@ohos.display.d.ts| +|Added||Module name: ohos.display
Class name: display
Method or attribute name: getAllDisplays|@ohos.display.d.ts| +|Added||Module name: ohos.window
Class name: Configuration|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Configuration
Method or attribute name: name|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Configuration
Method or attribute name: windowType|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Configuration
Method or attribute name: ctx|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Configuration
Method or attribute name: displayId|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Configuration
Method or attribute name: parentId|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: window
Method or attribute name: createWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: window
Method or attribute name: createWindow|@ohos.window.d.ts| +|Added||Method or attribute name: create
Function name: function create(ctx: BaseContext, id: string, type: WindowType): Promise;|@ohos.window.d.ts| +|Added||Method or attribute name: create
Function name: function create(ctx: BaseContext, id: string, type: WindowType, callback: AsyncCallback): void;|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: window
Method or attribute name: findWindow|@ohos.window.d.ts| +|Added||Method or attribute name: getTopWindow
Function name: function getTopWindow(ctx: BaseContext): Promise;|@ohos.window.d.ts| +|Added||Method or attribute name: getTopWindow
Function name: function getTopWindow(ctx: BaseContext, callback: AsyncCallback): void;|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: window
Method or attribute name: getLastWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: window
Method or attribute name: getLastWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: showWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: showWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: destroyWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: destroyWindow|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: moveWindowTo|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: moveWindowTo|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: resize|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: resize|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowMode|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowMode|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: getWindowProperties|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: getWindowAvoidArea|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowLayoutFullScreen|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowLayoutFullScreen|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowSystemBarEnable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowSystemBarEnable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowSystemBarProperties|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowSystemBarProperties|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setUIContent|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setUIContent|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: isWindowShowing|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: isWindowSupportWideGamut|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: isWindowSupportWideGamut|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowColorSpace|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowColorSpace|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: getWindowColorSpace|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowBackgroundColor|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowBrightness|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowBrightness|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowFocusable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowFocusable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowKeepScreenOn|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowKeepScreenOn|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowPrivacyMode|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowPrivacyMode|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowTouchable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: Window
Method or attribute name: setWindowTouchable|@ohos.window.d.ts| +|Added||Module name: ohos.window
Class name: WindowStage
Method or attribute name: getMainWindowSync|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getDefaultDisplay
Deprecated version: N/A|Method or attribute name: getDefaultDisplay
Deprecated version: 9
New API: ohos.display|@ohos.display.d.ts| +|Deprecated version changed|Method or attribute name: getDefaultDisplay
Deprecated version: N/A|Method or attribute name: getDefaultDisplay
Deprecated version: 9
New API: ohos.display|@ohos.display.d.ts| +|Deprecated version changed|Method or attribute name: getAllDisplay
Deprecated version: N/A|Method or attribute name: getAllDisplay
Deprecated version: 9
New API: ohos.display|@ohos.display.d.ts| +|Deprecated version changed|Method or attribute name: getAllDisplay
Deprecated version: N/A|Method or attribute name: getAllDisplay
Deprecated version: 9
New API: ohos.display|@ohos.display.d.ts| +|Deprecated version changed|Method or attribute name: create
Deprecated version: N/A|Method or attribute name: create
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: create
Deprecated version: N/A|Method or attribute name: create
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: find
Deprecated version: N/A|Method or attribute name: find
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: find
Deprecated version: N/A|Method or attribute name: find
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getTopWindow
Deprecated version: N/A|Method or attribute name: getTopWindow
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getTopWindow
Deprecated version: N/A|Method or attribute name: getTopWindow
Deprecated version: 9
New API: ohos.window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: show
Deprecated version: N/A|Method or attribute name: show
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: show
Deprecated version: N/A|Method or attribute name: show
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: destroy
Deprecated version: N/A|Method or attribute name: destroy
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: destroy
Deprecated version: N/A|Method or attribute name: destroy
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: moveTo
Deprecated version: N/A|Method or attribute name: moveTo
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: moveTo
Deprecated version: N/A|Method or attribute name: moveTo
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: resetSize
Deprecated version: N/A|Method or attribute name: resetSize
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: resetSize
Deprecated version: N/A|Method or attribute name: resetSize
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getProperties
Deprecated version: N/A|Method or attribute name: getProperties
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getProperties
Deprecated version: N/A|Method or attribute name: getProperties
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getAvoidArea
Deprecated version: N/A|Method or attribute name: getAvoidArea
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getAvoidArea
Deprecated version: N/A|Method or attribute name: getAvoidArea
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setFullScreen
Deprecated version: N/A|Method or attribute name: setFullScreen
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setFullScreen
Deprecated version: N/A|Method or attribute name: setFullScreen
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setLayoutFullScreen
Deprecated version: N/A|Method or attribute name: setLayoutFullScreen
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setLayoutFullScreen
Deprecated version: N/A|Method or attribute name: setLayoutFullScreen
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setSystemBarEnable
Deprecated version: N/A|Method or attribute name: setSystemBarEnable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setSystemBarEnable
Deprecated version: N/A|Method or attribute name: setSystemBarEnable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setSystemBarProperties
Deprecated version: N/A|Method or attribute name: setSystemBarProperties
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setSystemBarProperties
Deprecated version: N/A|Method or attribute name: setSystemBarProperties
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: loadContent
Deprecated version: N/A|Method or attribute name: loadContent
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: loadContent
Deprecated version: N/A|Method or attribute name: loadContent
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: isShowing
Deprecated version: N/A|Method or attribute name: isShowing
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: isShowing
Deprecated version: N/A|Method or attribute name: isShowing
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: isSupportWideGamut
Deprecated version: N/A|Method or attribute name: isSupportWideGamut
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: isSupportWideGamut
Deprecated version: N/A|Method or attribute name: isSupportWideGamut
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setColorSpace
Deprecated version: N/A|Method or attribute name: setColorSpace
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setColorSpace
Deprecated version: N/A|Method or attribute name: setColorSpace
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getColorSpace
Deprecated version: N/A|Method or attribute name: getColorSpace
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: getColorSpace
Deprecated version: N/A|Method or attribute name: getColorSpace
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setBackgroundColor
Deprecated version: N/A|Method or attribute name: setBackgroundColor
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setBackgroundColor
Deprecated version: N/A|Method or attribute name: setBackgroundColor
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setBrightness
Deprecated version: N/A|Method or attribute name: setBrightness
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setBrightness
Deprecated version: N/A|Method or attribute name: setBrightness
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setFocusable
Deprecated version: N/A|Method or attribute name: setFocusable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setFocusable
Deprecated version: N/A|Method or attribute name: setFocusable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setKeepScreenOn
Deprecated version: N/A|Method or attribute name: setKeepScreenOn
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setKeepScreenOn
Deprecated version: N/A|Method or attribute name: setKeepScreenOn
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setPrivacyMode
Deprecated version: N/A|Method or attribute name: setPrivacyMode
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setPrivacyMode
Deprecated version: N/A|Method or attribute name: setPrivacyMode
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setTouchable
Deprecated version: N/A|Method or attribute name: setTouchable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Deprecated version changed|Method or attribute name: setTouchable
Deprecated version: N/A|Method or attribute name: setTouchable
Deprecated version: 9
New API: ohos.window.Window|@ohos.window.d.ts| +|Permission changed|Method or attribute name: createVirtualScreen
Permission: ohos.permission.CAPTURE_SCREEN. if VirtualScreenOption.surfaceId is valid|Method or attribute name: createVirtualScreen
Permission: ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| +|Permission changed|Method or attribute name: createVirtualScreen
Permission: ohos.permission.CAPTURE_SCREEN. if VirtualScreenOption.surfaceId is valid|Method or attribute name: createVirtualScreen
Permission: ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| diff --git a/en/release-notes/api-change/v3.1-Release/changelog-v3.1-release.md b/en/release-notes/changelogs/v3.1-Release/changelog-v3.1-release.md similarity index 100% rename from en/release-notes/api-change/v3.1-Release/changelog-v3.1-release.md rename to en/release-notes/changelogs/v3.1-Release/changelog-v3.1-release.md diff --git a/en/release-notes/api-change/v3.2-beta2/application-sandbox-adaptation-guide.md b/en/release-notes/changelogs/v3.2-beta2/application-sandbox-adaptation-guide.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/application-sandbox-adaptation-guide.md rename to en/release-notes/changelogs/v3.2-beta2/application-sandbox-adaptation-guide.md diff --git a/en/release-notes/api-change/v3.2-beta2/changelog-v3.2-beta2.md b/en/release-notes/changelogs/v3.2-beta2/changelog-v3.2-beta2.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/changelog-v3.2-beta2.md rename to en/release-notes/changelogs/v3.2-beta2/changelog-v3.2-beta2.md diff --git a/en/release-notes/api-change/v3.2-beta2/figures/adaptation-process.png b/en/release-notes/changelogs/v3.2-beta2/figures/adaptation-process.png similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/figures/adaptation-process.png rename to en/release-notes/changelogs/v3.2-beta2/figures/adaptation-process.png diff --git a/en/release-notes/api-change/v3.2-beta2/figures/compile-change1-1.png b/en/release-notes/changelogs/v3.2-beta2/figures/compile-change1-1.png similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/figures/compile-change1-1.png rename to en/release-notes/changelogs/v3.2-beta2/figures/compile-change1-1.png diff --git a/en/release-notes/api-change/v3.2-beta2/figures/compile-change1-2.png b/en/release-notes/changelogs/v3.2-beta2/figures/compile-change1-2.png similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/figures/compile-change1-2.png rename to en/release-notes/changelogs/v3.2-beta2/figures/compile-change1-2.png diff --git a/en/release-notes/api-change/v3.2-beta2/figures/compile-change2-1.png b/en/release-notes/changelogs/v3.2-beta2/figures/compile-change2-1.png similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/figures/compile-change2-1.png rename to en/release-notes/changelogs/v3.2-beta2/figures/compile-change2-1.png diff --git a/en/release-notes/api-change/v3.2-beta2/figures/compile-change2-2.png b/en/release-notes/changelogs/v3.2-beta2/figures/compile-change2-2.png similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/figures/compile-change2-2.png rename to en/release-notes/changelogs/v3.2-beta2/figures/compile-change2-2.png diff --git a/en/release-notes/api-change/v3.2-beta2/figures/example1.png b/en/release-notes/changelogs/v3.2-beta2/figures/example1.png similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/figures/example1.png rename to en/release-notes/changelogs/v3.2-beta2/figures/example1.png diff --git a/en/release-notes/api-change/v3.2-beta2/figures/example2.png b/en/release-notes/changelogs/v3.2-beta2/figures/example2.png similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/figures/example2.png rename to en/release-notes/changelogs/v3.2-beta2/figures/example2.png diff --git a/en/release-notes/api-change/v3.2-beta2/figures/example3.png b/en/release-notes/changelogs/v3.2-beta2/figures/example3.png similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/figures/example3.png rename to en/release-notes/changelogs/v3.2-beta2/figures/example3.png diff --git a/en/release-notes/api-change/v3.2-beta2/figures/verification-process.png b/en/release-notes/changelogs/v3.2-beta2/figures/verification-process.png similarity index 100% rename from en/release-notes/api-change/v3.2-beta2/figures/verification-process.png rename to en/release-notes/changelogs/v3.2-beta2/figures/verification-process.png diff --git a/en/release-notes/api-change/v3.2-beta3/changelog-v3.2-beta3.md b/en/release-notes/changelogs/v3.2-beta3/changelog-v3.2-beta3.md similarity index 100% rename from en/release-notes/api-change/v3.2-beta3/changelog-v3.2-beta3.md rename to en/release-notes/changelogs/v3.2-beta3/changelog-v3.2-beta3.md diff --git a/en/release-notes/api-change/template/changelog-x-x.md b/en/release-notes/template/changelog-x-x.md similarity index 100% rename from en/release-notes/api-change/template/changelog-x-x.md rename to en/release-notes/template/changelog-x-x.md diff --git a/en/release-notes/api-change/template/js-apidiff-x-x.md b/en/release-notes/template/js-apidiff-x-x.md similarity index 100% rename from en/release-notes/api-change/template/js-apidiff-x-x.md rename to en/release-notes/template/js-apidiff-x-x.md diff --git a/en/release-notes/api-change/template/native-apidiff-x-x.md b/en/release-notes/template/native-apidiff-x-x.md similarity index 100% rename from en/release-notes/api-change/template/native-apidiff-x-x.md rename to en/release-notes/template/native-apidiff-x-x.md diff --git a/en/website.md b/en/website.md index de3b7ad81739170af2395abac6a78fbb7940fc20..276ac39580c0a32c118e6c1e37b32b5d9d65628f 100644 --- a/en/website.md +++ b/en/website.md @@ -2,8 +2,9 @@ - [OpenHarmony Project](OpenHarmony-Overview.md) - [Glossary](glossary.md) -- OpenHarmony Release Notes +- elease Notes - OpenHarmony 3.x Releases + - [OpenHarmony v3.2 Beta4 (2022-11-30)](release-notes/OpenHarmony-v3.2-beta4.md) - [OpenHarmony v3.2 Beta3 (2022-09-30)](release-notes/OpenHarmony-v3.2-beta3.md) - [OpenHarmony v3.2 Beta2 (2022-07-30)](release-notes/OpenHarmony-v3.2-beta2.md) - [OpenHarmony v3.2 Beta1 (2022-05-31)](release-notes/OpenHarmony-v3.2-beta1.md) @@ -18,13 +19,11 @@ - [OpenHarmony v3.0.3 LTS (2022-04-08)](release-notes/OpenHarmony-v3.0.3-LTS.md) - [OpenHarmony v3.0.2 LTS (2022-03-18)](release-notes/OpenHarmony-v3.0.2-LTS.md) - [OpenHarmony v3.0.1 LTS (2022-01-12)](release-notes/OpenHarmony-v3.0.1-LTS.md) - - OpenHarmony 2.x Releases - [OpenHarmony v2.2 beta2 (2021-08-04)](release-notes/OpenHarmony-v2.2-beta2.md) - [OpenHarmony 2.0 Canary (2021-06-01)](release-notes/OpenHarmony-2-0-Canary.md) - - OpenHarmony 1.x Releases - + - [OpenHarmony 1.0 (2020-09-10)](release-notes/OpenHarmony-1-0.md) - [OpenHarmony v1.1.5 LTS (2022-08-24)](release-notes/OpenHarmony-v1.1.5-LTS.md) - [OpenHarmony v1.1.4 LTS (2022-02-11)](release-notes/OpenHarmony-v1-1-4-LTS.md) @@ -32,133 +31,166 @@ - [OpenHarmony v1.1.2 LTS (2021-08-04)](release-notes/OpenHarmony-v1.1.2-LTS.md) - [OpenHarmony v1.1.1 LTS (2021-06-22)](release-notes/OpenHarmony-1-1-1-LTS.md) - [OpenHarmony v1.1.0 LTS (2021-04-01)](release-notes/OpenHarmony-1-1-0-LTS.md) - -- API Differences + - API Differences + - OpenHarmony 3.2 Beta4 + - JS API Differences + - [Ability framework](release-notes/api-diff/v3.2-beta4/js-apidiff-ability.md) + - [Accessibility subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-accessibility.md) + - [Account subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-account.md) + - [Application subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-application.md) + - [ArkUI development framework](release-notes/api-diff/v3.2-beta4/js-apidiff-arkui.md) + - [Power management subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-battery.md) + - [Bundle management framework](release-notes/api-diff/v3.2-beta4/js-apidiff-bundle.md) + - [Communication subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-communication.md) + - [Utils subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-compiler-and-runtime.md) + - [Communication subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-customization.md) + - [DFX subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-dfx.md) + - [Distributed data management subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-distributed-data.md) + - [Distributed hardware subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-distributed-hardware.md) + - [File management subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-file-management.md) + - [Location subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-geolocation.md) + - [Globalization subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-global.md) + - [Misc services subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-misc.md) + - [MSDP subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-msdp.md) + - [Multimodal input subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-multi-modal-input.md) + - [Multimedia subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-multimedia.md) + - [Common event and notification subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-notification.md) + - [Resource scheduler subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-resource-scheduler.md) + - [Security subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-security.md) + - [Pan-sensor subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-sensor.md) + - [Startup subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-start-up.md) + - [Telephony subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-telephony.md) + - [Test subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-unitest.md) + - [Update subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-update.md) + - [USB subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-usb.md) + - [User IAM subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-user-iam.md) + - [Web subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-web.md) + - [Window manager subsystem](release-notes/api-diff/v3.2-beta4/js-apidiff-window.md) - OpenHarmony 3.2 Beta3 - JS API Differences - - [Ability framework](release-notes/api-change/v3.2-beta3/js-apidiff-ability.md) - - [Accessibility subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-accessibility.md) - - [Account subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-account.md) - - [ArkUI development framework](release-notes/api-change/v3.2-beta3/js-apidiff-arkui.md) - - [Power management subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-battery.md) - - [Bundle management framework](release-notes/api-change/v3.2-beta3/js-apidiff-bundle.md) - - [Communication subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-communicate.md) - - [Utils subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-compiler-and-runtime.md) - - [DFX subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-dfx.md) - - [Distributed data management subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-distributed-data.md) - - [Distributed hardware subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-distributed-hardware.md) - - [Common event and notification subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-event-and-notification.md) - - [File management subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-file-management.md) - - [Globalization subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-global.md) - - [Graphics subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-graphic.md) - - [Misc services subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-misc.md) - - [Multimodal input subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-multi-modal-input.md) - - [Multimedia subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-multimedia.md) - - [Resource scheduler subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-resource-scheduler.md) - - [Security subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-security.md) - - [Pan-sensor subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-sensor.md) - - [DSoftBus subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-soft-bus.md) - - [Telephony subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-telephony.md) - - [Test subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-unitest.md) - - [Update subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-update.md) - - [Web subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-web.md) - - [Window manager subsystem](release-notes/api-change/v3.2-beta3/js-apidiff-window.md) - - [Updates (OpenHarmony 3.2 Beta2 -> OpenHarmony 3.2 Beta3)](release-notes/api-change/v3.2-beta3/changelog-v3.2-beta3.md) + - [Ability framework](release-notes/api-diff/v3.2-beta3/js-apidiff-ability.md) + - [Accessibility subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-accessibility.md) + - [Account subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-account.md) + - [ArkUI development framework](release-notes/api-diff/v3.2-beta3/js-apidiff-arkui.md) + - [Power management subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-battery.md) + - [Bundle management framework](release-notes/api-diff/v3.2-beta3/js-apidiff-bundle.md) + - [Communication subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-communicate.md) + - [Utils subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-compiler-and-runtime.md) + - [DFX subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-dfx.md) + - [Distributed data management subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-distributed-data.md) + - [Distributed hardware subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-distributed-hardware.md) + - [Common event and notification subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-event-and-notification.md) + - [File management subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-file-management.md) + - [Globalization subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-global.md) + - [Graphics subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-graphic.md) + - [Misc services subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-misc.md) + - [Multimodal input subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-multi-modal-input.md) + - [Multimedia subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-multimedia.md) + - [Resource scheduler subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-resource-scheduler.md) + - [Security subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-security.md) + - [Pan-sensor subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-sensor.md) + - [DSoftBus subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-soft-bus.md) + - [Telephony subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-telephony.md) + - [Test subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-unitest.md) + - [Update subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-update.md) + - [Web subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-web.md) + - [Window manager subsystem](release-notes/api-diff/v3.2-beta3/js-apidiff-window.md) + - [Updates (OpenHarmony 3.2 Beta2 -> OpenHarmony 3.2 Beta3)](release-notes/changelogs/v3.2-beta3/changelog-v3.2-beta3.md) - OpenHarmony 3.2 Beta2 - JS API Differences - - [Ability framework](release-notes/api-change/v3.2-beta2/js-apidiff-ability.md) - - [Accessibility subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-accessibility.md) - - [Account subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-account.md) - - [ArkUI development framework](release-notes/api-change/v3.2-beta2/js-apidiff-arkui.md) - - [Bundle management framework](release-notes/api-change/v3.2-beta2/js-apidiff-bundle.md) - - [Communication subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-communicate.md) - - [Utils subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-compiler-and-runtime.md) - - [DFX subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-dfx.md) - - [Distributed data management subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-distributed-data.md) - - [Common event and notification subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-event-and-notification.md) - - [File management subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-file-management.md) - - [Location subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-geolocation.md) - - [Globalization subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-global.md) - - [Graphics subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-graphic.md) - - [Misc services subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-misc.md) - - [Multimodal input subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-multi-modal-input.md) - - [Multimedia subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-multimedia.md) - - [Resource scheduler subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-resource-scheduler.md) - - [Security subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-security.md) - - [Pan-sensor subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-sensor.md) - - [DSoftBus subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-soft-bus.md) - - [Test subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-unitest.md) - - [Update subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-update.md) - - [USB subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-usb.md) - - [User IAM subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-user-authentication.md) - - [Web subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-web.md) - - [Window manager subsystem](release-notes/api-change/v3.2-beta2/js-apidiff-window.md) + - [Ability framework](release-notes/api-diff/v3.2-beta2/js-apidiff-ability.md) + - [Accessibility subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-accessibility.md) + - [Account subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-account.md) + - [ArkUI development framework](release-notes/api-diff/v3.2-beta2/js-apidiff-arkui.md) + - [Bundle management framework](release-notes/api-diff/v3.2-beta2/js-apidiff-bundle.md) + - [Communication subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-communicate.md) + - [Utils subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-compiler-and-runtime.md) + - [DFX subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-dfx.md) + - [Distributed data management subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-distributed-data.md) + - [Common event and notification subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-event-and-notification.md) + - [File management subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-file-management.md) + - [Location subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-geolocation.md) + - [Globalization subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-global.md) + - [Graphics subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-graphic.md) + - [Misc services subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-misc.md) + - [Multimodal input subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-multi-modal-input.md) + - [Multimedia subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-multimedia.md) + - [Resource scheduler subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-resource-scheduler.md) + - [Security subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-security.md) + - [Pan-sensor subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-sensor.md) + - [DSoftBus subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-soft-bus.md) + - [Test subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-unitest.md) + - [Update subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-update.md) + - [USB subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-usb.md) + - [User IAM subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-user-authentication.md) + - [Web subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-web.md) + - [Window manager subsystem](release-notes/api-diff/v3.2-beta2/js-apidiff-window.md) - ChangeLog - - [Updates (OpenHarmony 3.2 Beta1 -> OpenHarmony 3.2 Beta2)](release-notes/api-change/v3.2-beta2/changelog-v3.2-beta2.md) - - [Adaptation Guide for the Application Sandbox](release-notes/api-change/v3.2-beta2/application-sandbox-adaptation-guide.md) + - [Updates (OpenHarmony 3.2 Beta1 -> OpenHarmony 3.2 Beta2)](release-notes/changelogs/v3.2-beta2/changelog-v3.2-beta2.md) + - [Adaptation Guide for the Application Sandbox](release-notes/changelogs/v3.2-beta2/application-sandbox-adaptation-guide.md) - OpenHarmony 3.2 Beta1 - JS API Differences - - [Ability framework](release-notes/api-change/v3.2-beta1/js-apidiff-ability.md) - - [ArkUI development framework](release-notes/api-change/v3.2-beta1/js-apidiff-arkui.md) - - [Power management subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-battery.md) - - [Bundle management framework](release-notes/api-change/v3.2-beta1/js-apidiff-bundle.md) - - [Communication subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-communicate.md) - - [DFX subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-dfx.md) - - [Distributed data management subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-distributed-data.md) - - [Common event and notification subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-event-and-notification.md) - - [File management subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-file-management.md) - - [Globalization subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-global.md) - - [Startup subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-init.md) - - [Misc services subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-misc.md) - - [Multimodal input subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-multi-modal-input.md) - - [Multimedia subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-multimedia.md) - - [Distributed scheduler subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-resource-scheduler.md) - - [Test subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-unitest.md) - - [Web subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-web.md) - - [Window manager subsystem](release-notes/api-change/v3.2-beta1/js-apidiff-window.md) - - [Native API Differences](release-notes/api-change/v3.2-beta1/native-apidiff-v3.2-beta.md) + - [Ability framework](release-notes/api-diff/v3.2-beta1/js-apidiff-ability.md) + - [ArkUI development framework](release-notes/api-diff/v3.2-beta1/js-apidiff-arkui.md) + - [Power management subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-battery.md) + - [Bundle management framework](release-notes/api-diff/v3.2-beta1/js-apidiff-bundle.md) + - [Communication subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-communicate.md) + - [DFX subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-dfx.md) + - [Distributed data management subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-distributed-data.md) + - [Common event and notification subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-event-and-notification.md) + - [File management subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-file-management.md) + - [Globalization subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-global.md) + - [Startup subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-init.md) + - [Misc services subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-misc.md) + - [Multimodal input subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-multi-modal-input.md) + - [Multimedia subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-multimedia.md) + - [Distributed scheduler subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-resource-scheduler.md) + - [Test subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-unitest.md) + - [Web subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-web.md) + - [Window manager subsystem](release-notes/api-diff/v3.2-beta1/js-apidiff-window.md) + - [Native API Differences](release-notes/api-diff/v3.2-beta1/native-apidiff-v3.2-beta.md) - OpenHarmony 3.1 Release - JS API Differences (API Version 8) - - [Ability framework](release-notes/api-change/v3.1-Release/js-apidiff-ability.md) - - [Accessibility subsystem](release-notes/api-change/v3.1-Release/js-apidiff-accessibility.md) - - [Account subsystem](release-notes/api-change/v3.1-Release/js-apidiff-account.md) - - [ArkUI development framework](release-notes/api-change/v3.1-Release/js-apidiff-ace.md) - - [Power management subsystem](release-notes/api-change/v3.1-Release/js-apidiff-battery.md) - - [Bundle management subsystem](release-notes/api-change/v3.1-Release/js-apidiff-bundle.md) - - [Communication subsystem](release-notes/api-change/v3.1-Release/js-apidiff-communicate.md) - - [Multi-language Runtime subsystem](release-notes/api-change/v3.1-Release/js-apidiff-compiler-and-runtime.md) - - [DFX subsystem](release-notes/api-change/v3.1-Release/js-apidiff-dfx.md) - - [Distributed data management subsystem](release-notes/api-change/v3.1-Release/js-apidiff-distributed-data.md) - - [Distributed hardware subsystem](release-notes/api-change/v3.1-Release/js-apidiff-distributed-hardware.md) - - [Common event and notification subsystem](release-notes/api-change/v3.1-Release/js-apidiff-event-and-notification.md) - - [File management subsystem](release-notes/api-change/v3.1-Release/js-apidiff-file-management.md) - - [Location subsystem](release-notes/api-change/v3.1-Release/js-apidiff-geolocation.md) - - [Globalization subsystem](release-notes/api-change/v3.1-Release/js-apidiff-global.md) - - [Graphics subsystem](release-notes/api-change/v3.1-Release/js-apidiff-graphic.md) - - [Misc services subsystem](release-notes/api-change/v3.1-Release/js-apidiff-misc.md) - - [Multimodal input subsystem](release-notes/api-change/v3.1-Release/js-apidiff-multi-modal-input.md) - - [Multimedia subsystem](release-notes/api-change/v3.1-Release/js-apidiff-multimedia.md) - - [Network management subsystem](release-notes/api-change/v3.1-Release/js-apidiff-network.md) - - [Distributed scheduler subsystem](release-notes/api-change/v3.1-Release/js-apidiff-resource-scheduler.md) - - [Security subsystem](release-notes/api-change/v3.1-Release/js-apidiff-security.md) - - [Pan-sensor subsystem](release-notes/api-change/v3.1-Release/js-apidiff-sensor.md) - - [Application framework subsystem](release-notes/api-change/v3.1-Release/js-apidiff-settings.md) - - [DSoftBus subsystem](release-notes/api-change/v3.1-Release/js-apidiff-soft-bus.md) - - [Telephony subsystem](release-notes/api-change/v3.1-Release/js-apidiff-telephony.md) - - [USB subsystem](release-notes/api-change/v3.1-Release/js-apidiff-usb.md) - - [User IAM subsystem](release-notes/api-change/v3.1-Release/js-apidiff-user-authentication.md) - - [Window manager subsystem](release-notes/api-change/v3.1-Release/js-apidiff-window.md) - - [Native API Differences](release-notes/api-change/v3.1-Release/native-apidiff-v3.1-release.md) - - [Updates (OpenHarmony 3.1 Beta -> OpenHarmony 3.1 Release)](release-notes/api-change/v3.1-Release/changelog-v3.1-release.md) + - [Ability framework](release-notes/api-diff/v3.1-Release/js-apidiff-ability.md) + - [Accessibility subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-accessibility.md) + - [Account subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-account.md) + - [ArkUI development framework](release-notes/api-diff/v3.1-Release/js-apidiff-ace.md) + - [Power management subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-battery.md) + - [Bundle management subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-bundle.md) + - [Communication subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-communicate.md) + - [Multi-language Runtime subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-compiler-and-runtime.md) + - [DFX subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-dfx.md) + - [Distributed data management subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-distributed-data.md) + - [Distributed hardware subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-distributed-hardware.md) + - [Common event and notification subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-event-and-notification.md) + - [File management subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-file-management.md) + - [Location subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-geolocation.md) + - [Globalization subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-global.md) + - [Graphics subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-graphic.md) + - [Misc services subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-misc.md) + - [Multimodal input subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-multi-modal-input.md) + - [Multimedia subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-multimedia.md) + - [Network management subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-network.md) + - [Distributed scheduler subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-resource-scheduler.md) + - [Security subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-security.md) + - [Pan-sensor subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-sensor.md) + - [Application framework subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-settings.md) + - [DSoftBus subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-soft-bus.md) + - [Telephony subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-telephony.md) + - [USB subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-usb.md) + - [User IAM subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-user-authentication.md) + - [Window manager subsystem](release-notes/api-diff/v3.1-Release/js-apidiff-window.md) + - [Native API Differences](release-notes/api-diff/v3.1-Release/native-apidiff-v3.1-release.md) + - [Updates (OpenHarmony 3.1 Beta -> OpenHarmony 3.1 Release)](release-notes/changelogs/v3.1-Release/changelog-v3.1-release.md) - OpenHarmony 3.1 Beta - - [JS API Differences](release-notes/api-change/v3.1-beta/js-apidiff-v3.1-beta.md) - - [Native API Differences](release-notes/api-change/v3.1-beta/native-apidiff-v3.1-beta.md) - - [Updates (OpenHarmony 3.0 -> OpenHarmony 3.1 Beta)](release-notes/api-change/v3.1-beta/changelog-v3.1-beta.md) + - [JS API Differences](release-notes/api-diff/v3.1-beta/js-apidiff-v3.1-beta.md) + - [Native API Differences](release-notes/api-diff/v3.1-beta/native-apidiff-v3.1-beta.md) + - [Updates (OpenHarmony 3.0 -> OpenHarmony 3.1 Beta)](release-notes/api-diff/v3.1-beta/changelog-v3.1-beta.md) - OpenHarmony 3.0 LTS - - [JS API Differences](release-notes/api-change/v3.0-LTS/js-apidiff-v3.0-lts.md) + - [JS API Differences](release-notes/api-diff/v3.0-LTS/js-apidiff-v3.0-lts.md) - OpenHarmony v2.2 Beta2 - - [JS API Differences](release-notes/api-change/v2.2-beta2/js-apidiff-v2.2-beta2.md) - - [Native API Differences](release-notes/api-change/v2.2-beta2/native-apidiff-v2.2-beta2.md) + - [JS API Differences](release-notes/api-diff/v2.2-beta2/js-apidiff-v2.2-beta2.md) + - [Native API Differences](release-notes/api-diff/v2.2-beta2/native-apidiff-v2.2-beta2.md) - OpenHarmony Third-Party Components - [OpenHarmony Third-Party Components](third-party-components/third-party-components-introduction.md) diff --git a/zh-cn/application-dev/ability-deprecated/ability-brief.md b/zh-cn/application-dev/ability-deprecated/ability-brief.md index e889c585c2c147c911334f92c266d1fa55364be0..926465629e11a788a32ae1a28a22c0bb21098902 100644 --- a/zh-cn/application-dev/ability-deprecated/ability-brief.md +++ b/zh-cn/application-dev/ability-deprecated/ability-brief.md @@ -18,7 +18,7 @@ Stage模型的设计,主要是为了开发者更加方便地开发出分布式 | 应用组件开发方式 | 类Web的开发方式。 | 面向对象的开发方式。 | | 引擎实例 | 每个Ability实例独占一个虚拟机实例。 | 多个Ability实例可以共享同一个虚拟机实例。 | | 进程内对象共享 | 不支持。 | 支持。 | -| 包描述文件 | 使用`config.json`描述HAP包和组件信息,组件必须使用固定的文件名。 | 使用`module.json5`描述HAP包和组件信息,可以指定入口文件名。 | +| 包描述文件 | 使用`config.json`描述HAP和组件信息,组件必须使用固定的文件名。 | 使用`module.json5`描述HAP和组件信息,可以指定入口文件名。 | | 组件 | 提供PageAbility(页面展示),ServiceAbility(服务),DataAbility(数据分享)以及FormAbility(卡片)。 | 提供UIAbility(页面展示)、Extension(基于场景的服务扩展)。 | 除了上述设计上的差异外,对于开发者而言,两种模型的主要区别在于: diff --git a/zh-cn/application-dev/ability-deprecated/ability-delegator.md b/zh-cn/application-dev/ability-deprecated/ability-delegator.md index 1a6dc8e016b98eda0fc6633e55d46d0b51491b33..d96a2db2a8c0b7c859f3cf964b4762c4af766299 100644 --- a/zh-cn/application-dev/ability-deprecated/ability-delegator.md +++ b/zh-cn/application-dev/ability-deprecated/ability-delegator.md @@ -5,7 +5,7 @@ Delegator测试框架是OpenHarmony提供的一套开发者应用自测试框架 ## 约束与限制 -测试框架相关接口只能在测试hap包中使用,只有通过`aa test`命令或者DevEco Studio启动测试环境后相关接口才能生效。 +测试框架相关接口只能在测试HAP中使用,只有通过`aa test`命令或者DevEco Studio启动测试环境后相关接口才能生效。 ## 测试框架启动 @@ -17,7 +17,7 @@ Delegator测试框架是OpenHarmony提供的一套开发者应用自测试框架 ### aa test启动 -开发者可通过 `aa test` 命令启动测试框架,开发者可以自行指定使用的TestRunner以及TestRunner所在hap包的package name或module name,具体命令示例如下: +开发者可通过 `aa test` 命令启动测试框架,开发者可以自行指定使用的TestRunner以及TestRunner所在HAP的package name或module name,具体命令示例如下: **FA模型:** @@ -31,9 +31,9 @@ aa test -b BundleName -m com.example.myapplicationfaets -s unittest OpenHarmonyT ``` | 参数 | 是否必选 | 参数说明 | | --------------- | -------- | ------------------------------------------------------------ | -| -b | 是 | TestRunner所在hap包的bundle name。 | -| -p | 是 | TestRunner所在hap包的package name,FA模型使用。 | -| -m | 是 | TestRunner所在hap包的module name,Stage模型使用。 | +| -b | 是 | TestRunner所在HAP的bundle name。 | +| -p | 是 | TestRunner所在HAP的package name,FA模型使用。 | +| -m | 是 | TestRunner所在HAP的module name,Stage模型使用。 | | -s unittest | 是 | 启用的TestRunner名称,TestRunner名称和文件名需要保持一致。 | | -w | 否 | 测试用例超时时间,单位为秒,如果未指定或指定小于等于0的整数,测试框架会一直等待测试代码调用finishTest才退出。 | | -s \\ | 否 | 支持以key-value的方式输入任何参数,输入的参数可通过AbilityDelegatorArgs.parameters以key-value的方式获取。示例:-s classname myTest,key为"-s classname",value为"myTest"。 | @@ -58,7 +58,7 @@ AbilityDelegatorArgs是测试框架提供的测试参数类。开发者可以使 ## AbilityMonitor介绍 -AbilityMonitor是测试框架提供用来绑定并监听Ability类。开发者可以使用AbilityMonitor绑定Ability,并将AbilityMonitor添加到监听列表。绑定后Ability的创建、生命周期变化等会触发AbilityMonitor内相关回调函数,开发者可以在对应回调函数内进行测试验证。具体详细内容请参考AbilityMonitor API接口说明[AbilityMonitor](../reference/apis/js-apis-application-abilityMonitor.md)。 +AbilityMonitor是测试框架提供用来绑定并监听Ability类。开发者可以使用AbilityMonitor绑定Ability,并将AbilityMonitor添加到监听列表。绑定后Ability的创建、生命周期变化等会触发AbilityMonitor内相关回调函数,开发者可以在对应回调函数内进行测试验证。具体详细内容请参考AbilityMonitor API接口说明[AbilityMonitor](../reference/apis/js-apis-inner-application-abilityMonitor.md)。 **示例** diff --git a/zh-cn/application-dev/ability-deprecated/continuationmanager.md b/zh-cn/application-dev/ability-deprecated/continuationmanager.md index 68a3db4c0c7b470990f719e58f423ffd4f4024fd..0e61264ea0eae71d45d209e4ed172a9ebf4a0082 100644 --- a/zh-cn/application-dev/ability-deprecated/continuationmanager.md +++ b/zh-cn/application-dev/ability-deprecated/continuationmanager.md @@ -124,7 +124,7 @@ continuationManager作为流转能力的入口,主要用于拉起系统中的 if (needGrantPermission) { try { // globalThis.context即Ability.context,需提前在MainAbility.ts文件中赋值 - await globalThis.context.requestPermissionsFromUser(permissions); + await atManger.requestPermissionsFromUser(globalThis.context, permissions); } catch (err) { console.error('app permission request permissions error' + JSON.stringify(err)); } diff --git a/zh-cn/application-dev/ability-deprecated/fa-serviceability.md b/zh-cn/application-dev/ability-deprecated/fa-serviceability.md index a83d5d636f89554c77d74b72982ac3751d25d4d9..30748a3a20b06416e094705e7387ef4f6b608a2f 100644 --- a/zh-cn/application-dev/ability-deprecated/fa-serviceability.md +++ b/zh-cn/application-dev/ability-deprecated/fa-serviceability.md @@ -77,7 +77,7 @@ Ability为开发者提供了startAbility()方法来启动另外一个Ability。 开发者可以通过构造包含bundleName与abilityName的Want对象来设置目标Service信息。参数的含义如下: -- bundleName:表示对端应用的包名称。 +- bundleName:表示对端应用的Bundle名称。 - abilityName:表示待启动的Ability名称。 启动本地设备Service的代码示例如下: @@ -157,7 +157,7 @@ featureAbility.startAbility( ```ts import prompt from '@system.prompt' - + var option = { onConnect: function onConnectCallback(element, proxy) { console.log(`onConnectLocalService onConnectDone`); @@ -196,7 +196,7 @@ featureAbility.startAbility( ```ts import featureAbility from '@ohos.ability.featureAbility' - + let want = { bundleName: "com.jstest.service", abilityName: "com.jstest.service.ServiceAbility" @@ -210,7 +210,7 @@ featureAbility.startAbility( ```ts import rpc from "@ohos.rpc" - + class ServiceAbilityStub extends rpc.RemoteObject { constructor(des: any) { if (typeof des === 'string') { @@ -220,7 +220,7 @@ featureAbility.startAbility( return; } } - + onRemoteRequest(code: number, data: any, reply: any, option: any) { console.log("onRemoteRequest called"); // 可根据code执行不同的业务逻辑 @@ -237,7 +237,7 @@ featureAbility.startAbility( return true; } } - + export default { onStart() { console.log('ServiceAbility onStart'); diff --git a/zh-cn/application-dev/ability-deprecated/stage-ability-continuation.md b/zh-cn/application-dev/ability-deprecated/stage-ability-continuation.md index e4585f3f5c4f77c438aeb276faff59b27f49db3f..d11004835e70789bb491e9ddb734acd6b120d310 100644 --- a/zh-cn/application-dev/ability-deprecated/stage-ability-continuation.md +++ b/zh-cn/application-dev/ability-deprecated/stage-ability-continuation.md @@ -127,7 +127,7 @@ if (needGrantPermission) { Logger.info("app permission needGrantPermission") try { - await this.context.requestPermissionsFromUser(permissions) + await accessManger.requestPermissionsFromUser(this.context, permissions) } catch (err) { Logger.error(`app permission ${JSON.stringify(err)}`) } diff --git a/zh-cn/application-dev/ability-deprecated/stage-ability.md b/zh-cn/application-dev/ability-deprecated/stage-ability.md index 1e2fa12c636756c8b33a40d9cbae6adf24ccdd9c..c9e85aa3ddc7643d6e566e5fdf2f8eaec462691e 100644 --- a/zh-cn/application-dev/ability-deprecated/stage-ability.md +++ b/zh-cn/application-dev/ability-deprecated/stage-ability.md @@ -79,29 +79,29 @@ Ability功能如下(Ability类,具体的API详见[接口文档](../reference onCreate(want, launchParam) { console.log("MainAbility onCreate") } - + onDestroy() { console.log("MainAbility onDestroy") } - + onWindowStageCreate(windowStage) { console.log("MainAbility onWindowStageCreate") - + windowStage.loadContent("pages/index").then(() => { console.log("MainAbility load content succeed") }).catch((error) => { console.error("MainAbility load content failed with error: " + JSON.stringify(error)) }) } - + onWindowStageDestroy() { console.log("MainAbility onWindowStageDestroy") } - + onForeground() { console.log("MainAbility onForeground") } - + onBackground() { console.log("MainAbility onBackground") } @@ -110,7 +110,7 @@ Ability功能如下(Ability类,具体的API详见[接口文档](../reference ### 获取AbilityStage及Ability的配置信息 AbilityStage类及Ability类均拥有context属性,应用可以通过`this.context`获取Ability实例的上下文,进而获取详细的配置信息。 -如下示例展示了AbilityStage通过context属性获取包代码路径、hap包名、Ability名以及系统语言的方法。具体示例代码如下: +如下示例展示了AbilityStage通过context属性获取包代码路径、HAP名称、Ability名称以及系统语言的方法。具体示例代码如下: ```ts import AbilityStage from "@ohos.application.AbilityStage" @@ -130,7 +130,7 @@ export default class MyAbilityStage extends AbilityStage { } ``` -如下示例展示了Ability通过context属性获取包代码路径、hap包名、Ability名以及系统语言的方法。具体示例代码如下: +如下示例展示了Ability通过context属性获取包代码路径、HAP名称、Ability名称以及系统语言的方法。具体示例代码如下: ```ts import Ability from '@ohos.application.Ability' export default class MainAbility extends Ability { @@ -148,29 +148,8 @@ export default class MainAbility extends Ability { } } ``` -### 应用向用户申请授权 -应用需要获取用户的隐私信息或使用系统能力时,比如获取位置信息、使用相机拍摄照片或录制视频等,需要向用户申请授权。在开发过程中,首先需要明确涉及的敏感权限并在module.json5中声明需要的权限,同时通过接口`requestPermissionsFromUser`以动态弹窗的方式向用户申请授权。以访问日历为例,具体示例代码如下: - -在module.json5声明需要的权限: -```json -"requestPermissions": [ - { - "name": "ohos.permission.READ_CALENDAR" - } -] -``` -通过动态弹窗向用户申请授权: -```ts -let context = this.context -let permissions: Array = ['ohos.permission.READ_CALENDAR'] -context.requestPermissionsFromUser(permissions).then((data) => { - console.log("Succeed to request permission from user with data: " + JSON.stringify(data)) -}).catch((error) => { - console.log("Failed to request permission from user with error: " + JSON.stringify(error)) -}) -``` ### 系统环境变化通知 -环境变化,包括全局配置的变化和Ability配置的变化。全局配置指全局的、系统的配置,目前包括“语言”和“颜色模式”,全局配置的变化一般由“设置”中的配置项或“控制中心”中的图标触发。Ability配置指与单个Ability实例相关的配置,目前包括“displayId”(物理屏幕Id)、“屏幕分辨率”,“横竖屏”,这些配置与Ability所在的Display有关,Ability配置的变化一般由窗口触发。配置项目前均定义在[Configuration](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-configuration.md)类中。 +环境变化,包括全局配置的变化和Ability配置的变化。全局配置指全局的、系统的配置,目前包括“语言”和“颜色模式”,全局配置的变化一般由“设置”中的配置项或“控制中心”中的图标触发。Ability配置指与单个Ability实例相关的配置,目前包括“displayId”(物理屏幕Id)、“屏幕分辨率”,“横竖屏”,这些配置与Ability所在的Display有关,Ability配置的变化一般由窗口触发。配置项目前均定义在[Configuration](../reference/apis/js-apis-application-configuration.md)类中。 对于Stage模型的应用,配置发生变化时,不会重启Ability,会触发应用的`onConfigurationUpdated(config: Configuration)`回调,若应用希望根据配置变化做相应处理,可以重写`onConfigurationUpdated`回调,若无需处理配置变化,则可以不必实现`onConfigurationUpdated`回调。应该注意的是,回调中的Configuration对象包括当前Ability所有的配置,不仅是发生变化的配置。 @@ -271,7 +250,7 @@ function getRemoteDeviceId() { } } ``` -向用户申请数据同步'ohos.permission.DISTRIBUTED_DATASYNC'的权限。申请授权示例代码见[应用向用户申请授权](#应用向用户申请授权)。 +向用户申请数据同步'ohos.permission.DISTRIBUTED_DATASYNC'的权限。申请授权示例代码见[abilityAccessCtrl.requestPermissionsFromUse](../reference/apis/js-apis-abilityAccessCtrl.md#requestpermissionsfromuser9)。 ### 指定页面启动Ability 当Ability的启动模式设置为单例时,若Ability已被拉起,再次启动Ability会触发onNewWant回调。应用开发者可以通过want传递启动参数,比如希望指定页面启动Ability,可以通过want中的uri参数或parameters参数传递pages信息。目前,Stage模型中Ability暂时无法直接使用router的能力,可以将启动参数传递给自定义组件,在自定义组件的生命周期中调用router接口显示指定页面。具体示例代码如下: diff --git a/zh-cn/application-dev/ability-deprecated/stage-brief.md b/zh-cn/application-dev/ability-deprecated/stage-brief.md index 4f024f13b779ae478eb276396a608dd261b6b584..c709016430e055c274b4738b0c875dbb9ac55678 100644 --- a/zh-cn/application-dev/ability-deprecated/stage-brief.md +++ b/zh-cn/application-dev/ability-deprecated/stage-brief.md @@ -2,13 +2,13 @@ ## 设计思想 -​Stage模型的设计,是为了提供给开发者一个更好的开发方式,更好的适用于多设备、分布式场景。 +Stage模型的设计,是为了提供给开发者一个更好的开发方式,更好的适用于多设备、分布式场景。 -​Stage模型的设计思想如下图所示。 +Stage模型的设计思想如下图所示。 ![stagedesign](figures/stagedesign.png) -​Stage模型的设计基于如下三个出发点: +Stage模型的设计基于如下三个出发点: - **应用进程的有序管理** @@ -32,7 +32,7 @@ Stage模型重新定义了Ability的生命周期。系统在架构上,将应 - **Bundle**:通过appid标识的OpenHarmony应用,Bundle可以包含多个HAP,每个应用都有一个bundleName,但是bundleName并不能唯一标识一个应用,appid中包含bundleName以及其他的更多信息,能够唯一标识一个应用; - **AbilityStage**:对应HAP的运行期对象,在HAP首次加载到进程中时创建,运行期开发者可见; - **Application**:对应Bundle的运行期对象,运行期开发者不可见; -- **Context**:提供运行期开发者可以调用的各种能力,Ability组件和各种ExtensionAbility都有各自不同的Context类,他们都继承自基类Context,基类提供包名、moduleName、路径等信息; +- **Context**:提供运行期开发者可以调用的各种能力,Ability组件和各种ExtensionAbility都有各自不同的Context类,他们都继承自基类Context,基类提供Bundle名称、moduleName、路径等信息; - **Ability**:提供生命周期回调,持有AbilityContext,支持组件的跨端迁移和多端协同; - **ExtensionAbility**:基于场景的扩展能力统称,系统定义了多种场景的ExtensionAbility类,它们持有各自的ExtensionContext; - **WindowStage**:本地窗口管理器; diff --git a/zh-cn/application-dev/ability-deprecated/stage-call.md b/zh-cn/application-dev/ability-deprecated/stage-call.md index 4b8d702ed8cc44c42d0d07e86720106d3c71e3cd..336b9099786be229104202119d3f84a38e5aac97 100644 --- a/zh-cn/application-dev/ability-deprecated/stage-call.md +++ b/zh-cn/application-dev/ability-deprecated/stage-call.md @@ -221,10 +221,13 @@ function getRemoteDeviceId() { ``` 在跨设备场景下,需要向用户申请数据同步的权限。具体示例代码如下: ```ts +import abilityAccessCtrl from '@ohos.abilityAccessCtrl.d.ts'; + requestPermission() { let context = this.context let permissions: Array = ['ohos.permission.DISTRIBUTED_DATASYNC'] - context.requestPermissionsFromUser(permissions).then((data) => { + let atManager = abilityAccessCtrl.createAtManager(); + atManager.requestPermissionsFromUser(context, permissions).then((data) => { console.log("Succeed to request permission from user with data: "+ JSON.stringify(data)) }).catch((error) => { console.log("Failed to request permission from user with error: "+ JSON.stringify(error)) diff --git a/zh-cn/application-dev/ability-deprecated/wantagent.md b/zh-cn/application-dev/ability-deprecated/wantagent.md index 5ce8f9a049819f126c8e5b57dc5aa3865ed98432..9e293023a2ac8f8dbfb233fea3a227abcada41f8 100644 --- a/zh-cn/application-dev/ability-deprecated/wantagent.md +++ b/zh-cn/application-dev/ability-deprecated/wantagent.md @@ -14,13 +14,13 @@ WantAgent封装了一个行为意图信息,可以通过WantAgent.trigger接口 ## 开发步骤 1. 导入WantAgent模块。 - ``` + ```ts import wantAgent from '@ohos.wantAgent'; ``` 2. 创建拉起Ability的WantAgentInfo信息。详细的WantAgentInfo信息数据类型及包含的参数请见[WantAgentInfo文档](../reference/apis/js-apis-wantAgent.md#wantagentinfo)介绍。 - ``` + ```ts private wantAgentObj = null // 用于保存创建成功的wantAgent对象,后续使用其完成触发的动作。 // wantAgentInfo @@ -44,7 +44,7 @@ WantAgent封装了一个行为意图信息,可以通过WantAgent.trigger接口 3. 创建发布公共事件的WantAgentInfo信息。 - ``` + ```ts private wantAgentObj = null // 用于保存创建成功的WantAgent对象,后续使用其完成触发的动作。 // wantAgentInfo @@ -63,7 +63,7 @@ WantAgent封装了一个行为意图信息,可以通过WantAgent.trigger接口 4. 创建WantAgent,保存返回的WantAgent对象wantAgentObj,用于执行后续触发操作。 - ``` + ```ts // 创建WantAgent wantAgent.getWantAgent(wantAgentInfo, (err, wantAgentObj) => { if (err.code) { @@ -77,7 +77,7 @@ WantAgent封装了一个行为意图信息,可以通过WantAgent.trigger接口 5. 触发WantAgent。 - ``` + ```ts // 触发WantAgent。 var triggerInfo = { code:0 diff --git a/zh-cn/application-dev/application-models/ability-startup-with-implicit-want.md b/zh-cn/application-dev/application-models/ability-startup-with-implicit-want.md index f2c0bb04b0d1454a2d8a02d4f53a08e13a9ff2c7..8b120b81e72168a6c01576ea5a9b8e638e9febba 100644 --- a/zh-cn/application-dev/application-models/ability-startup-with-implicit-want.md +++ b/zh-cn/application-dev/application-models/ability-startup-with-implicit-want.md @@ -78,4 +78,5 @@ 4. want内type不为空,且被skills内type包含,匹配成功。 -2. 当有多个匹配应用时,会被应用选择器展示给用户进行选择。stage-want1 +2. 当有多个匹配应用时,会被应用选择器展示给用户进行选择。 + stage-want1 diff --git a/zh-cn/application-dev/application-models/app-deviceconfig-switch.md b/zh-cn/application-dev/application-models/app-deviceconfig-switch.md index d2385781ad11bc7cde09d9fad25feb2809e7ee72..5360e745e14e81f9f27e3abe3daea6c23d56668d 100644 --- a/zh-cn/application-dev/application-models/app-deviceconfig-switch.md +++ b/zh-cn/application-dev/application-models/app-deviceconfig-switch.md @@ -21,11 +21,11 @@ app.json5中对原先config.json中的[deviceConfig](../quick-start/deviceconfig **表2** 配置文件deviceConfig标签差异对比 -| FA中deviceConfig标签 | 描述 | stage模型中 | 差异比对 | +| FA中deviceConfig标签 | 描述 | stage模型中 | 差异比对 | | -------- | -------- | -------- | -------- | -| deviceConfig标签 | deviceConfig标签配置了设备信息 | / | Stage模型中没有该标签,直接在app标签下配置设备信息 | -| process | 标识应用或者Ability的进程名。如果在deviceConfig标签下配置了process标签,则该应用的所有Ability都运行在这个进程中。如果在abilities标签下也为某个Ability配置了process标签,则该Ability就运行在这个进程中。 | / | Stage模型不支持配置进程名称 | -| keepAlive | 标识应用是否始终保持运行状态,仅支持系统应用配置,三方应用配置不生效。 | / | Stage模型不支持系统应用模型管控方式变更 | -| supportBackup | 标识应用是否支持备份和恢复。 | / | Stage模型不支持 | -| compressNativeLibs | 标识libs库是否以压缩存储的方式打包到HAP包。 | / | Stage模型不支持 | -| network | 标识网络安全性配置。 | / | Stage模型不支持 | +| deviceConfig标签 | deviceConfig标签配置了设备信息 | / | Stage模型中没有该标签,直接在app标签下配置设备信息 | +| process | 标识应用或者Ability的进程名。如果在deviceConfig标签下配置了process标签,则该应用的所有Ability都运行在这个进程中。如果在abilities标签下也为某个Ability配置了process标签,则该Ability就运行在这个进程中。 | / | Stage模型不支持配置进程名称 | +| keepAlive | 标识应用是否始终保持运行状态,仅支持系统应用配置,三方应用配置不生效。 | / | Stage模型不支持系统应用模型管控方式变更 | +| supportBackup | 标识应用是否支持备份和恢复。 | / | Stage模型不支持 | +| compressNativeLibs | 标识libs库是否以压缩存储的方式打包到HAP。 | / | Stage模型不支持 | +| network | 标识网络安全性配置。 | / | Stage模型不支持 | diff --git a/zh-cn/application-dev/application-models/application-component-configuration-fa.md b/zh-cn/application-dev/application-models/application-component-configuration-fa.md index d4c3c1bc4624ff9ce140a4e9cf4145658c810820..d9b9818c96c022086762392b33cfbd08414a5f13 100644 --- a/zh-cn/application-dev/application-models/application-component-configuration-fa.md +++ b/zh-cn/application-dev/application-models/application-component-configuration-fa.md @@ -1,7 +1,7 @@ # 应用/组件级配置 -开发者在开发应用时,需要配置应用的一些标签,例如应用的包名、图标等标识特征的属性。这一章节描述了开发者在开发应用时需要配置的一些关键标签。 +开发者在开发应用时,需要配置应用的一些标签,例如应用的Bundle名称、图标等标识特征的属性。这一章节描述了开发者在开发应用时需要配置的一些关键标签。 - **应用包名配置** diff --git a/zh-cn/application-dev/application-models/application-context-stage.md b/zh-cn/application-dev/application-models/application-context-stage.md index 5ec374fbeebce38f1881faf4e7c362dacbd1774f..55b88aef53c787a078af37e39146dd68e620e4b8 100644 --- a/zh-cn/application-dev/application-models/application-context-stage.md +++ b/zh-cn/application-dev/application-models/application-context-stage.md @@ -93,7 +93,7 @@ 获取路径的能力是基类Context中提供的能力,因此在ApplicationContext、AbilityStageContext、UIAbilityContext和ExtensionContext中均可以获取,在各类Context中获取到的路径会有一些差别,具体差别如下图所示。 - **图1** Context中获取的应用开发路径 +**图1** Context中获取的应用开发路径 context-dir - 通过ApplicationContext获取的应用级别路径。应用全局信息建议存放的路径,存放在此路径的文件内容仅在应用卸载时会被删除。 @@ -305,5 +305,5 @@ export default class EntryAbility extends UIAbility { 应用需要获取用户的隐私信息或使用系统能力时,例如获取位置信息、访问日历、使用相机拍摄照片或录制视频等,需要向用户申请授权,示意效果如下图所示。具体使用请参见[访问控制授权申请指导](../security/accesstoken-guidelines.md)。 - **图2** 向用户申请日历访问授权 +**图2** 向用户申请日历访问授权 application-context-stage \ No newline at end of file diff --git a/zh-cn/application-dev/application-models/common-event-publish.md b/zh-cn/application-dev/application-models/common-event-publish.md index 5265575821ca3a6884f070248cba4f668cd1562f..57007759a77fdab403d3c16fe60fef53487440f5 100644 --- a/zh-cn/application-dev/application-models/common-event-publish.md +++ b/zh-cn/application-dev/application-models/common-event-publish.md @@ -3,7 +3,7 @@ ## 场景介绍 -当需要发布某个自定义公共事件时,可以通过[publish()](../reference/apis/js-apis-commonEvent.md#commoneventpublish)方法发布事件。发布的公共事件可以携带数据,供订阅者解析并进行下一步处理。 +当需要发布某个自定义公共事件时,可以通过[publish()](../reference/apis/js-apis-commonEventManager.md#commoneventmanagerpublish)方法发布事件。发布的公共事件可以携带数据,供订阅者解析并进行下一步处理。 > **须知:** > 已发出的粘性公共事件后来订阅者也可以接收到,其他公共事件都需要先订阅再接收,订阅参考[公共事件订阅章节](common-event-subscription.md)。 @@ -11,7 +11,7 @@ ## 接口说明 -详细接口见[接口文档](../reference/apis/js-apis-commonEvent.md#commoneventpublish)。 +详细接口见[接口文档](../reference/apis/js-apis-commonEventManager.md#commoneventmanagerpublish)。 | 接口名 | 接口描述 | | -------- | -------- | diff --git a/zh-cn/application-dev/application-models/common-event-subscription.md b/zh-cn/application-dev/application-models/common-event-subscription.md index 459c91a26765f7de64344da8db2742e4289eb086..785ea8d3a19fbeee57d938a07955370f0f3ca2b3 100644 --- a/zh-cn/application-dev/application-models/common-event-subscription.md +++ b/zh-cn/application-dev/application-models/common-event-subscription.md @@ -8,7 +8,7 @@ ## 接口说明 -详细接口见[接口文档](../reference/apis/js-apis-commonEvent.md#commoneventcreatesubscriber)。 +详细接口见[接口文档](../reference/apis/js-apis-commonEventManager.md#commoneventmanagersubscribe)。 | 接口名 | 接口描述 | | -------- | -------- | diff --git a/zh-cn/application-dev/application-models/common-event-unsubscription.md b/zh-cn/application-dev/application-models/common-event-unsubscription.md index 1ba9296f83b7f5d1716ba4698aba5f20d982fbe1..1f7a23db104b8a8725b5d7711bd5a0dcb223b55f 100644 --- a/zh-cn/application-dev/application-models/common-event-unsubscription.md +++ b/zh-cn/application-dev/application-models/common-event-unsubscription.md @@ -3,7 +3,7 @@ ## 场景介绍 -订阅者完成业务需要时,需要主动取消订阅,订阅者通过调用[unsubscribe()](../reference/apis/js-apis-commonEvent.md#commoneventunsubscribe)方法取消订阅事件。 +订阅者完成业务需要时,需要主动取消订阅,订阅者通过调用[unsubscribe()](../reference/apis/js-apis-commonEventManager.md#commoneventmanagerunsubscribe)方法取消订阅事件。 ## 接口说明 diff --git a/zh-cn/application-dev/application-models/hop-multi-device-collaboration.md b/zh-cn/application-dev/application-models/hop-multi-device-collaboration.md index ddbaa1f565cb4c1dfce7b67792752a49e12008a3..8a2d2bc692d05e3c010b1d4a70c5d4d72168edcd 100644 --- a/zh-cn/application-dev/application-models/hop-multi-device-collaboration.md +++ b/zh-cn/application-dev/application-models/hop-multi-device-collaboration.md @@ -238,7 +238,7 @@ 4. 连接一个后台服务。 - 实现IAbilityConnection接口。IAbilityConnection提供了以下方法供开发者实现:onConnect()是用来处理连接Service成功的回调,onDisconnect()是用来处理Service异常终止的回调,onFailed()是用来处理连接Service失败的回调。 - - 设置目标组件参数,包括目标设备ID、包名、ability名。 + - 设置目标组件参数,包括目标设备ID、Bundle名称、Ability名称。 - 调用connectServiceExtensionAbility发起连接。 - 连接成功,收到目标设备返回的服务句柄。 - 进行跨设备调用,获得目标端服务返回的结果。 diff --git a/zh-cn/application-dev/application-models/mission-management-overview.md b/zh-cn/application-dev/application-models/mission-management-overview.md index 7f4e2b7e04ddcefb1aedb507173c40f79905b6e7..c1ab82b91af8bcbbf5595569795665314cce63ba 100644 --- a/zh-cn/application-dev/application-models/mission-management-overview.md +++ b/zh-cn/application-dev/application-models/mission-management-overview.md @@ -11,7 +11,8 @@ - MissionList:一个从桌面开始启动的任务列表,记录了任务之间的启动关系,上一个任务由下一个任务启动,最底部的任务由桌面启动,这里称之为任务链。 - MissionListManager:系统任务管理模块,内部维护了当前所有的任务链,与最近任务列表保持一致。 - **图1** 任务管理示意图   + + **图1** 任务管理示意图 ![mission-list-manager](figures/mission-list-manager.png) diff --git a/zh-cn/application-dev/application-models/process-model-stage.md b/zh-cn/application-dev/application-models/process-model-stage.md index 152d9b6cf9cb1479e4ef21818dd4836d975a9bc8..88b9af254cfa2be9baaa03cd3d88a62785c8f74b 100644 --- a/zh-cn/application-dev/application-models/process-model-stage.md +++ b/zh-cn/application-dev/application-models/process-model-stage.md @@ -4,9 +4,9 @@ OpenHarmony的进程模型如下图所示: -- 应用中(同一包名)的所有UIAbility、ServiceExtensionAbility、DataShareExtensionAbility运行在同一个独立进程中,即图中绿色部分的“Main Process”。 +- 应用中(同一Bundle名称)的所有UIAbility、ServiceExtensionAbility、DataShareExtensionAbility运行在同一个独立进程中,即图中绿色部分的“Main Process”。 -- 应用中(同一包名)的同一类型ExtensionAbility(除ServiceExtensionAbility和DataShareExtensionAbility外)运行在一个独立进程中,即图中蓝色部分的“FormExtensionAbility Process”、“InputMethodExtensionAbility Process”、其他ExtensionAbility Process。 +- 应用中(同一Bundle名称)的同一类型ExtensionAbility(除ServiceExtensionAbility和DataShareExtensionAbility外)运行在一个独立进程中,即图中蓝色部分的“FormExtensionAbility Process”、“InputMethodExtensionAbility Process”、其他ExtensionAbility Process。 - WebView拥有独立的渲染进程,即图中黄色部分的“Render Process”。 diff --git a/zh-cn/application-dev/application-models/serviceextensionability.md b/zh-cn/application-dev/application-models/serviceextensionability.md index 77b67d880ca46844cf274f6b1b4f2995cf617f0c..1d16582fb62e56f7d1edebabbcd4791f230665ad 100644 --- a/zh-cn/application-dev/application-models/serviceextensionability.md +++ b/zh-cn/application-dev/application-models/serviceextensionability.md @@ -65,7 +65,7 @@ 1. 在工程Module对应的ets目录下,右键选择“New > Directory”,新建一个目录并命名为serviceextability。 -2. 在serviceextability目录,右键选择“New > ts File”,新建一个TS文件并命名为ServiceExtAbility.ts。 +2. 在serviceextability目录,右键选择“New > TypeScript File”,新建一个TypeScript文件并命名为ServiceExtAbility.ts。 3. 打开ServiceExtAbility.ts文件,导入[RPC通信模块](../reference/apis/js-apis-rpc.md),重载onRemoteMessageRequest()方法,接收客户端传递过来的消息,并将处理的结果返回给客户端。REQUEST_VALUE用于校验客户端发送的服务请求码。 diff --git a/zh-cn/application-dev/application-models/thread-model-stage.md b/zh-cn/application-dev/application-models/thread-model-stage.md index 715a2c2551f8f6f50e7c401c55d1ecd65492b0f7..9c238e1b8c404d47754ccd361b34cb6a112cbd5c 100644 --- a/zh-cn/application-dev/application-models/thread-model-stage.md +++ b/zh-cn/application-dev/application-models/thread-model-stage.md @@ -18,7 +18,7 @@ OpenHarmony应用中每个进程都会有一个主线程,主线程有如下职 ![thread-model-stage](figures/thread-model-stage.png) -基于OpenHarmony的线程模型,不同的业务功能运行在不同的线程上,业务功能的交互就需要线程间通信。线程间通信目前主要有Emitter和Worker两种方式,其中Emitter主要适用于线程间的事件同步, Worker主要用于新开一个线程执行耗时任务。 +基于OpenHarmony的线程模型,不同的业务功能运行在不同的线程上,业务功能的交互就需要线程间通信。同一个进程内,线程间通信目前主要有Emitter和Worker两种方式,其中Emitter主要适用于线程间的事件同步, Worker主要用于新开一个线程执行耗时任务。 **说明:** diff --git a/zh-cn/application-dev/application-models/uiability-intra-device-interaction.md b/zh-cn/application-dev/application-models/uiability-intra-device-interaction.md index 9c8edd0f194631026a93d353a0cdd89f0217cd81..66922f71b0e27e43205a7d0da555379d16e92828 100644 --- a/zh-cn/application-dev/application-models/uiability-intra-device-interaction.md +++ b/zh-cn/application-dev/application-models/uiability-intra-device-interaction.md @@ -26,7 +26,7 @@ UIAbility是系统调度的最小单元。在设备内的功能模块之间跳 假设应用中有两个UIAbility:EntryAbility和FuncAbility(可以在应用的一个Module中,也可以在的不同Module中),需要从EntryAbility的页面中启动FuncAbility。 -1. 在EntryAbility中,通过调用startAbility()方法启动UIAbility,[want](../reference/apis/js-apis-app-ability-want.md)为UIAbility实例启动的入口参数,其中bundleName为待启动应用的Bundle名称,abilityName为待启动的UIAbility名称,moduleName在待启动的UIAbility属于不同的Module时添加,parameters为自定义信息参数。示例中的context的获取方式参见[获取UIAbility的Context属性](uiability-usage.md#获取uiability的上下文信息)。 +1. 在EntryAbility中,通过调用startAbility()方法启动UIAbility,[want](../reference/apis/js-apis-app-ability-want.md)为UIAbility实例启动的入口参数,其中bundleName为待启动应用的Bundle名称,abilityName为待启动的Ability名称,moduleName在待启动的UIAbility属于不同的Module时添加,parameters为自定义信息参数。示例中的context的获取方式参见[获取UIAbility的Context属性](uiability-usage.md#获取uiability的上下文信息)。 ```ts let wantInfo = { diff --git a/zh-cn/application-dev/application-models/uiability-lifecycle.md b/zh-cn/application-dev/application-models/uiability-lifecycle.md index 92c14fee24fc307bc840324939d12a7429c2f704..c246043a81d555acef9b36c3a67a9500f7a25dea 100644 --- a/zh-cn/application-dev/application-models/uiability-lifecycle.md +++ b/zh-cn/application-dev/application-models/uiability-lifecycle.md @@ -39,15 +39,26 @@ UIAbility实例创建完成之后,在进入Foreground之前,系统会创建 **图2** WindowStageCreate和WindowStageDestory状态 Ability-Life-Cycle-WindowStage - 在onWindowStageCreate()回调中通过loadContent()方法设置应用要加载的页面并根据需要订阅WindowStage的[事件](../reference/apis/js-apis-window.md#windowstageeventtype9)(获焦/失焦、可见/不可见)。 +在onWindowStageCreate()回调中通过[loadContent()](../reference/apis/js-apis-window.md#loadcontent9-2)方法设置应用要加载的页面,并根据需要调用[on('windowStageEvent')](../reference/apis/js-apis-window.md#onwindowstageevent9)方法订阅WindowStage的[事件](../reference/apis/js-apis-window.md#windowstageeventtype9)(获焦/失焦、可见/不可见)。 ```ts import UIAbility from '@ohos.app.ability.UIAbility'; import Window from '@ohos.window'; export default class EntryAbility extends UIAbility { + // ... + onWindowStageCreate(windowStage: Window.WindowStage) { // 设置WindowStage的事件订阅(获焦/失焦、可见/不可见) + try { + windowStage.on('windowStageEvent', (data) => { + console.info('Succeeded in enabling the listener for window stage event changes. Data: ' + + JSON.stringify(data)); + }); + } catch (exception) { + console.error('Failed to enable the listener for window stage event changes. Cause:' + + JSON.stringify(exception)); + }; // 设置UI界面加载 windowStage.loadContent('pages/Index', (err, data) => { @@ -72,6 +83,13 @@ export default class EntryAbility extends UIAbility { onWindowStageDestroy() { // 释放UI界面资源 + // 例如在onWindowStageDestroy()中注销获焦/失焦等WindowStage事件 + try { + windowStage.off('windowStageEvent'); + } catch (exception) { + console.error('Failed to disable the listener for window stage event changes. Cause:' + + JSON.stringify(exception)); + }; } } ``` @@ -94,6 +112,8 @@ onBackground()回调,在UIAbility的UI界面完全不可见之后,如UIAbili import UIAbility from '@ohos.app.ability.UIAbility'; export default class EntryAbility extends UIAbility { + // ... + onForeground() { // 申请系统需要的资源,或者重新申请在onBackground中释放的资源 } @@ -117,6 +137,8 @@ import UIAbility from '@ohos.app.ability.UIAbility'; import Window from '@ohos.window'; export default class EntryAbility extends UIAbility { + // ... + onDestroy() { // 系统资源的释放、数据的保存等 } diff --git a/zh-cn/application-dev/application-models/want-overview.md b/zh-cn/application-dev/application-models/want-overview.md index cefeef69ebce6b8d22aeabc1239dc3b9d1622d1e..b02617e6192c92214808fdb0d7d1c6d9c63db37d 100644 --- a/zh-cn/application-dev/application-models/want-overview.md +++ b/zh-cn/application-dev/application-models/want-overview.md @@ -3,7 +3,7 @@ ## Want的定义与用途 -[Want](../reference/apis/js-apis-app-ability-want.md)是对象间信息传递的载体,可以用于应用组件间的信息传递。其使用场景之一是作为startAbility()的参数,包含了指定的启动目标以及启动时需携带的相关数据,如bundleName和abilityName字段分别指明目标Ability所在应用的包名以及对应包内的Ability名称。当UIAbilityA启动UIAbilityB并需要传入一些数据给UIAbilityB时,Want可以作为一个载体将数据传给UIAbilityB。 +[Want](../reference/apis/js-apis-app-ability-want.md)是对象间信息传递的载体,可以用于应用组件间的信息传递。其使用场景之一是作为startAbility()的参数,包含了指定的启动目标以及启动时需携带的相关数据,如bundleName和abilityName字段分别指明目标Ability所在应用的Bundle名称以及对应包内的Ability名称。当UIAbilityA启动UIAbilityB并需要传入一些数据给UIAbilityB时,Want可以作为一个载体将数据传给UIAbilityB。 **图1** Want用法示意 usage-of-want @@ -12,7 +12,7 @@ ## Want的类型 - **显式Want**:在启动Ability时指定了abilityName和bundleName的Want称为显式Want。 - 当有明确处理请求的对象时,通过提供目标Ability所在应用的包名信息(bundleName),并在Want内指定abilityName便可启动目标Ability。显式Want通常用于在当前应用开发中启动某个已知的Ability。参数说明参见[Want参数说明](want-overview.md#Want参数说明)。 + 当有明确处理请求的对象时,通过提供目标Ability所在应用的Bundle名称信息(bundleName),并在Want内指定abilityName便可启动目标Ability。显式Want通常用于在当前应用开发中启动某个已知的Ability。参数说明参见[Want参数说明](want-overview.md#Want参数说明)。 ```ts let wantInfo = { diff --git a/zh-cn/application-dev/application-models/window-switch.md b/zh-cn/application-dev/application-models/window-switch.md index 5ca14e0adceb30d79457a6ae9b888fa2a2c1b08a..dcf134ad910bc397b0c8dbbad26b066aa6c9b3d5 100644 --- a/zh-cn/application-dev/application-models/window-switch.md +++ b/zh-cn/application-dev/application-models/window-switch.md @@ -3,6 +3,5 @@ | FA模型接口 | Stage模型接口对应d.ts文件 | Stage模型对应接口 | | -------- | -------- | -------- | -| [enum WindowType {
TYPE_APP
}](../reference/apis/js-apis-window.md#windowtype7) | \@ohos.window.d.ts | [createSubWindow(name: string, callback: AsyncCallback<Window>): void;](../reference/apis/js-apis-window.md#createsubwindow9)
[createSubWindow(name: string): Promise;](../reference/apis/js-apis-window.md#createsubwindow9-1)
FA模型应用通过window.create(id, WindowType.TYPE_APP)接口创建应用子窗口,Stage模型应用可使用WindowStage.CreateSubWindow()接口代替 | -| [create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;](../reference/apis/js-apis-window.md#windowcreatedeprecated)
[create(id: string, type: WindowType): Promise<Window>;](../reference/apis/js-apis-window.md#windowcreatedeprecated-1) | \@ohos.window.d.ts | [createWindow(config: Configuration, callback: AsyncCallback<Window>): void;](../reference/apis/js-apis-window.md#windowcreatewindow9)
[createWindow(config: Configuration): Promise<Window>;](../reference/apis/js-apis-window.md#windowcreatewindow9-1) | +| [create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;](../reference/apis/js-apis-window.md#windowcreatedeprecated)
[create(id: string, type: WindowType): Promise<Window>;](../reference/apis/js-apis-window.md#windowcreatedeprecated-1) | \@ohos.window.d.ts | [createSubWindow(name: string, callback: AsyncCallback<Window>): void;](../reference/apis/js-apis-window.md#createsubwindow9)
[createSubWindow(name: string): Promise;](../reference/apis/js-apis-window.md#createsubwindow9-1)
FA模型应用通过window.create(id, WindowType.TYPE_APP)接口创建应用子窗口,Stage模型应用可使用WindowStage.CreateSubWindow()接口代替 | | [getTopWindow(callback: AsyncCallback<Window>): void;](../reference/apis/js-apis-window.md#windowgettopwindowdeprecated)
[getTopWindow(): Promise<Window>;](../reference/apis/js-apis-window.md#windowgettopwindowdeprecated-1) | \@ohos.window.d.ts | [getLastWindow(ctx: BaseContext, callback: AsyncCallback<Window>): void;](../reference/apis/js-apis-window.md#windowgetlastwindow9)
[getLastWindow(ctx: BaseContext): Promise<Window>;](../reference/apis/js-apis-window.md#windowgetlastwindow9-1) | diff --git a/zh-cn/application-dev/application-test/arkxtest-guidelines.md b/zh-cn/application-dev/application-test/arkxtest-guidelines.md index d2b7e43813c29481c5e31973396d5958b0d4cf96..f68c9bf5743ec6e5687c372963e2864d653ee4bb 100644 --- a/zh-cn/application-dev/application-test/arkxtest-guidelines.md +++ b/zh-cn/application-dev/application-test/arkxtest-guidelines.md @@ -154,7 +154,9 @@ export default function abilityTest() { ## 执行测试脚本 -执行测试脚本可以直接在DevEco Studio中通过点击按钮执行,当前支持以下执行方式: +### DevEco Studio执行 + +通过点击按钮执行,当前支持以下执行方式: 1、测试包级别执行即执行测试包内的全部用例。 @@ -164,12 +166,161 @@ export default function abilityTest() { ![](figures/Execute.PNG) -## 查看测试结果 +**查看测试结果** 测试执行完毕后可直接在DevEco Studio中查看测试结果,如下图示例所示: ![](figures/TestResult.PNG) +### CMD执行 + +通过在cmd窗口中输入aa命令执行触发用例执行,并通过设置执行参数触发不同功能。 + +**aa test命令执行配置参数** + +| 执行参数全写 | 执行参数缩写 | 执行参数含义 | 执行参数示例 | +| ------------- | ------------ | -------------------------------------- | ---------------------------------- | +| --bundleName | -b | 应用Bundle名称 | - b com.test.example | +| --packageName | -p | 应用模块名,适用于FA模型应用 | - p com.test.example.entry | +| --moduleName | -m | 应用模块名,适用于STAGE模型应用 | -m entry | +| NA | -s | 特定参数,以键值对方式传入 | - s unittest OpenHarmonyTestRunner | + +框架当前支持多种用例执行方式,通过上表中的-s参数后的配置键值对参数传入触发,如下表所示。 + +| 配置参数值 | 配置参数含义 | 配置参数有值 | 配置参数示例 | +| ------------ | ----------------------------------------------------------------------------- | ------------------------------------------------------------ | ----------------------------------------- | +| unittest | 用例执行所使用OpenHarmonyTestRunner对象 | OpenHarmonyTestRunner或用户自定义runner名称 | - s unittest OpenHarmonyTestRunner | +| class | 指定要执行的测试套或测试用例 | {describeName}#{itName},{describeName} | -s class attributeTest#testAttributeIt | +| notClass | 指定不需要执行的测试套或测试用例 | {describeName}#{itName},{describeName} | -s notClass attributeTest#testAttributeIt | +| itName | 指定要执行的测试用例 | {itName} | -s itName testAttributeIt | +| timeout | 测试用例执行的超时时间 | 正整数(单位ms),如不设置默认为 5000 | -s timeout 15000 | +| breakOnError | 遇错即停模式,当执行用例断言失败或者发生错误时,退出测试执行流程 | true/false(默认值) | -s breakOnError true | +| testType | 指定要执行用例的用例类型 | function,performance,power,reliability, security,global,compatibility,user,standard,safety,resilience' | -s testType function | +| level | 指定要执行用例的用例级别 | 0,1,2,3,4 | -s level 0 | +| size | 指定要执行用例的用例规模 | small,medium,large | -s size small | + +**通过在cmd窗口直接执行命令。** + +> 使用cmd的方式,需要配置好hdc相关的环境变量 + +- 打开cmd窗口 +- 执行 aa test 命令 + +**示例代码1**:执行所有测试用例。 + +```shell + hdc shell aa test -b xxx -p xxx -s unittest OpenHarmonyTestRunner +``` + +**示例代码2**:执行指定的describe测试套用例,指定多个需用逗号隔开。 + +```shell + hdc shell aa test -b xxx -p xxx -s unittest OpenHarmonyTestRunner -s class s1,s2 +``` + +**示例代码3**:执行指定测试套中指定的用例,指定多个需用逗号隔开。 + +```shell + hdc shell aa test -b xxx -p xxx -s unittest OpenHarmonyTestRunner -s class testStop#stop_1,testStop1#stop_0 +``` + +**示例代码4**:执行指定除配置以外的所有的用例,设置不执行多个测试套需用逗号隔开。 + +```shell + hdc shell aa test -b xxx -p xxx -s unittest OpenHarmonyTestRunner -s notClass testStop +``` + +**示例代码5**:执行指定it名称的所有用例,指定多个需用逗号隔开。 + +```shell + hdc shell aa test -b xxx -p xxx -s unittest OpenHarmonyTestRunner -s itName stop_0 +``` + +**示例代码6**:用例执行超时时长配置。 + +```shell + hdc shell aa test -b xxx -p xxx -s unittest OpenHarmonyTestRunner -s timeout 15000 +``` + +**示例代码7**:用例以breakOnError模式执行用例。 + +```shell + hdc shell aa test -b xxx -p xxx -s unittest OpenHarmonyTestRunner -s breakOnError true +``` + +**示例代码8**:执行测试类型匹配的测试用例。 + +```shell + hdc shell aa test -b xxx -p xxx -s unittest OpenHarmonyTestRunner -s testType function +``` + +**示例代码9**:执行测试级别匹配的测试用例。 + +```shell + hdc shell aa test -b xxx -p xxx -s unittest OpenHarmonyTestRunner -s level 0 +``` + +**示例代码10**:执行测试规模匹配的测试用例。 + +```shell + hdc shell aa test -b xxx -p xxx -s unittest OpenHarmonyTestRunner -s size small +``` + +**查看测试结果** + +- cmd模式执行过程,会打印如下相关日志信息。 + +``` +OHOS_REPORT_STATUS: class=testStop +OHOS_REPORT_STATUS: current=1 +OHOS_REPORT_STATUS: id=JS +OHOS_REPORT_STATUS: numtests=447 +OHOS_REPORT_STATUS: stream= +OHOS_REPORT_STATUS: test=stop_0 +OHOS_REPORT_STATUS_CODE: 1 + +OHOS_REPORT_STATUS: class=testStop +OHOS_REPORT_STATUS: current=1 +OHOS_REPORT_STATUS: id=JS +OHOS_REPORT_STATUS: numtests=447 +OHOS_REPORT_STATUS: stream= +OHOS_REPORT_STATUS: test=stop_0 +OHOS_REPORT_STATUS_CODE: 0 +OHOS_REPORT_STATUS: consuming=4 +``` + +| 日志输出字段 | 日志输出字段含义 | +| ------- | -------------------------| +| OHOS_REPORT_SUM | 当前测试套用例总数 | +| OHOS_REPORT_STATUS: class | 当前执行用例测试套名称| +| OHOS_REPORT_STATUS: id | 用例执行语言,默认JS | +| OHOS_REPORT_STATUS: numtests | 测试包中测试用例总数 | +| OHOS_REPORT_STATUS: stream | 当前用例发生错误时,记录错误信息 | +| OHOS_REPORT_STATUS: test| 当前用例执行的it name | +| OHOS_REPORT_STATUS_CODE | 当前用例执行结果状态 0 (pass) 1(error) 2(fail) | +| OHOS_REPORT_STATUS: consuming | 当前用例执行消耗的时长 | + +- cmd执行完成后,会打印如下相关日志信息。 + +``` +OHOS_REPORT_RESULT: stream=Tests run: 447, Failure: 0, Error: 1, Pass: 201, Ignore: 245 +OHOS_REPORT_CODE: 0 + +OHOS_REPORT_RESULT: breakOnError model, Stopping whole test suite if one specific test case failed or error +OHOS_REPORT_STATUS: taskconsuming=16029 + +``` +| 日志输出字段 | 日志输出字段含义 | +| ------------------| -------------------------| +| run | 当前测试包用例总数 | +| Failure | 当前测试失败用例个数 | +| Error | 当前执行用例发生错误用例个数 | +| Pass | 当前执行用例通过用例个数 | +| Ignore | 当前未执行用例个数 | +| taskconsuming| 执行当前测试用例总耗时 | + +> 当处于breakOnError模式,用例发生错误时,注意查看Ignore以及中断说明 + ## 常见问题 ### 单元测试用例常见问题 @@ -180,11 +331,11 @@ export default function abilityTest() { 用例中增加的日志打印信息,没有在用例执行过程中出现,而是在用例执行结束之后才出现。 - **可能原因** +**可能原因** 此类情况只会存在于用例中有调用异步接口的情况,原则上用例中所有的日志信息均在用例执行结束之前打印。 - **解决方法** +**解决方法** 当被调用的异步接口多于一个时,建议将接口调用封装成Promise方式调用。 @@ -214,12 +365,15 @@ export default function abilityTest() { 2.用例调用函数耗时过长,超过用例执行设置的超时时间。 +3.用例调用函数中断言失败,抛出失败异常,导致用例执行一直没有结束,直到超时结束。 + **解决方法** 1.检查用例代码逻辑,确保即使断言失败场景认可走到done函数,保证用例执行结束。 -2.可在IDE中Run/Debug Configurations中修改用例执行超时配置参数,避免用例执行超时。 +2.可在IDE中Run/Debug Configurations中修改用例执行超时配置参数,避免用例执行超时。 +3.检查用例代码逻辑,断言结果,确保断言Pass。 ### UI测试用例常见问题 **1、失败日志有“Get windows failed/GetRootByWindow failed”错误信息** diff --git a/zh-cn/application-dev/connectivity/figures/075sd302-aeb9-481a-bb8f-e552sdb61ead.PNG b/zh-cn/application-dev/connectivity/figures/075sd302-aeb9-481a-bb8f-e552sdb61ead.PNG new file mode 100644 index 0000000000000000000000000000000000000000..1f3ad71eecf43df9dbb1779be5940bf7152aa57a Binary files /dev/null and b/zh-cn/application-dev/connectivity/figures/075sd302-aeb9-481a-bb8f-e552sdb61ead.PNG differ diff --git a/zh-cn/application-dev/connectivity/ipc-rpc-development-guideline.md b/zh-cn/application-dev/connectivity/ipc-rpc-development-guideline.md index 5f6376ab378a99210efe64af24a200e2f72d04af..47366f9ed55ec3798ea2b465a74ca3e4b18050f0 100755 --- a/zh-cn/application-dev/connectivity/ipc-rpc-development-guideline.md +++ b/zh-cn/application-dev/connectivity/ipc-rpc-development-guideline.md @@ -9,43 +9,76 @@ IPC/RPC的主要工作是让运行在不同进程的Proxy和Stub互相通信, **表1** Native侧IPC接口 -| 类/接口 | 方法 | 功能说明 | +| 类/接口 | 方法 | 功能说明 | | -------- | -------- | -------- | -| [IRemoteBroker](../reference/apis/js-apis-rpc.md#iremotebroker) | sptr<IRemoteObject> AsObject() | 返回通信对象。派生类需要实现,Stub端返回RemoteObject对象本身,Proxy端返回代理对象。 | -| IRemoteStub | virtual int OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) | 请求处理方法,派生类需要重写该方法用来处理Proxy的请求并返回结果。 | -| IRemoteProxy | | 业务Proxy类,派生自IRemoteProxy类。 | +| [IRemoteBroker](../reference/apis/js-apis-rpc.md#iremotebroker) | sptr<IRemoteObject> AsObject() | 返回通信对象。Stub端返回RemoteObject对象本身,Proxy端返回代理对象。 | +| IRemoteStub | virtual int OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) | 请求处理方法,派生类需要重写该方法用来处理Proxy的请求并返回结果。 | +| IRemoteProxy | | 业务的Pory类需要从IRemoteProxy类派生。 | ## 开发步骤 -**Native侧开发步骤** +### **Native侧开发步骤** -1. 定义IPC接口ITestAbility +1. 添加依赖 - SA接口继承IPC基类接口IRemoteBroker,接口里定义描述符、业务函数和消息码,其中业务函数在Proxy端和Stub端都需要实现。 + SDK依赖: ``` + #ipc场景 + external_deps = [ + "ipc:ipc_single", + ] + + #rpc场景 + external_deps = [ + "ipc:ipc_core", + ] + ``` + + 此外, IPC/RPC依赖的refbase实现在公共基础库下,请增加对utils的依赖: + + ``` + external_deps = [ + "c_utils:utils", + ] + ``` + +2. 定义IPC接口ITestAbility + + SA接口继承IPC基类接口IRemoteBroker,接口里定义描述符、业务函数和消息码,其中业务函数在Proxy端和Stub端都需要实现。 + + ```c++ + #include "iremote_broker.h" + + //定义消息码 + const int TRANS_ID_PING_ABILITY = 5 + + const std::string DESCRIPTOR = "test.ITestAbility"; + class ITestAbility : public IRemoteBroker { public: // DECLARE_INTERFACE_DESCRIPTOR是必需的,入参需使用std::u16string; - DECLARE_INTERFACE_DESCRIPTOR("test.ITestAbility"); - int TRANS_ID_PING_ABILITY = 1; // 定义消息码 + DECLARE_INTERFACE_DESCRIPTOR(to_utf16(DESCRIPTOR)); virtual int TestPingAbility(const std::u16string &dummy) = 0; // 定义业务函数 }; ``` -2. 定义和实现服务端TestAbilityStub +3. 定义和实现服务端TestAbilityStub 该类是和IPC框架相关的实现,需要继承 IRemoteStub<ITestAbility>。Stub端作为接收请求的一端,需重写OnRemoteRequest方法用于接收客户端调用。 - ``` + ```c++ + #include "iability_test.h" + #include "iremote_stub.h" + class TestAbilityStub : public IRemoteStub { - public: + public: virtual int OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override; int TestPingAbility(const std::u16string &dummy) override; }; - int TestServiceStub::OnRemoteRequest(uint32_t code, + int TestAbilityStub::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) { switch (code) { @@ -61,8 +94,11 @@ IPC/RPC的主要工作是让运行在不同进程的Proxy和Stub互相通信, } ``` -3. 定义服务端业务函数具体实现类TestAbility - ``` +4. 定义服务端业务函数具体实现类TestAbility + + ```c++ + #include "iability_server_test.h" + class TestAbility : public TestAbilityStub { public: int TestPingAbility(const std::u16string &dummy); @@ -73,15 +109,19 @@ IPC/RPC的主要工作是让运行在不同进程的Proxy和Stub互相通信, } ``` -4. 定义和实现客户端 TestAbilityProxy +5. 定义和实现客户端 TestAbilityProxy 该类是Proxy端实现,继承IRemoteProxy<ITestAbility>,调用SendRequest接口向Stub端发送请求,对外暴露服务端提供的能力。 - ``` + ```c++ + #include "iability_test.h" + #include "iremote_proxy.h" + #include "iremote_object.h" + class TestAbilityProxy : public IRemoteProxy { public: explicit TestAbilityProxy(const sptr &impl); - int TestPingService(const std::u16string &dummy) override; + int TestPingAbility(const std::u16string &dummy) override; private: static inline BrokerDelegator delegator_; // 方便后续使用iface_cast宏 } @@ -91,21 +131,21 @@ IPC/RPC的主要工作是让运行在不同进程的Proxy和Stub互相通信, { } - int TestAbilityProxy::TestPingService(const std::u16string &dummy){ + int TestAbilityProxy::TestPingAbility(const std::u16string &dummy){ MessageOption option; MessageParcel dataParcel, replyParcel; dataParcel.WriteString16(dummy); int error = Remote()->SendRequest(TRANS_ID_PING_ABILITY, dataParcel, replyParcel, option); int result = (error == ERR_NONE) ? replyParcel.ReadInt32() : -1; return result; - } + } ``` -5. SA注册与启动 +6. SA注册与启动 SA需要将自己的TestAbilityStub实例通过AddSystemAbility接口注册到SystemAbilityManager,设备内与分布式的注册参数不同。 - ``` + ```c++ // 注册到本设备内 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); samgr->AddSystemAbility(saId, new TestAbility()); @@ -117,11 +157,11 @@ IPC/RPC的主要工作是让运行在不同进程的Proxy和Stub互相通信, int result = samgr->AddSystemAbility(saId, new TestAbility(), saExtra); ``` -6. SA获取与调用 +7. SA获取与调用 通过SystemAbilityManager的GetSystemAbility方法可获取到对应SA的代理IRemoteObject,然后构造TestAbilityProxy即可。 - ``` + ```c++ // 获取本设备内注册的SA的proxy sptr samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); sptr remoteObject = samgr->GetSystemAbility(saId); @@ -129,7 +169,149 @@ IPC/RPC的主要工作是让运行在不同进程的Proxy和Stub互相通信, // 获取其他设备注册的SA的proxy sptr samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); - sptr remoteObject = samgr->GetSystemAbility(saId, deviceId); // deviceId是指定设备的标识符 + + // networkId是组网场景下对应设备的标识符,可以通过GetLocalNodeDeviceInfo获取 + sptr remoteObject = samgr->GetSystemAbility(saId, networkId); sptr proxy(new TestAbilityProxy(remoteObject)); // 直接构造具体Proxy ``` +### **JS侧开发步骤** + +1. 添加依赖 + + ```ts + import rpc from "@ohos.rpc" + import featureAbility from "@ohos.ability.featureAbility" + ``` + + + +2. 绑定Ability + + 首先,构造变量want,指定要绑定的Ability所在应用的包名、组件名,如果是跨设备的场景,还需要绑定目标设备NetworkId(组网场景下对应设备的标识符,可以使用deviceManager获取目标设备的NetworkId);然后,构造变量connect,指定绑定成功、绑定失败、断开连接时的回调函数;最后,使用featureAbility提供的接口绑定Ability。 + + ```ts + import rpc from "@ohos.rpc" + import featureAbility from "@ohos.ability.featureAbility" + + let proxy = null + let connectId = null + + // 单个设备绑定Ability + let want = { + // 包名和组件名写实际的值 + "bundleName": "ohos.rpc.test.server", + "abilityName": "ohos.rpc.test.server.ServiceAbility", + } + let connect = { + onConnect:function(elementName, remote) { + proxy = remote + }, + onDisconnect:function(elementName) { + }, + onFailed:function() { + proxy = null + } + } + connectId = featureAbility.connectAbility(want, connect) + + // 如果是跨设备绑定,可以使用deviceManager获取目标设备NetworkId + import deviceManager from '@ohos.distributedHardware.deviceManager' + function deviceManagerCallback(deviceManager) { + let deviceList = deviceManager.getTrustedDeviceListSync() + let networkId = deviceList[0].networkId + let want = { + "bundleName": "ohos.rpc.test.server", + "abilityName": "ohos.rpc.test.service.ServiceAbility", + "networkId": networkId, + "flags": 256 + } + connectId = featureAbility.connectAbility(want, connect) + } + // 第一个参数是本应用的包名,第二个参数是接收deviceManager的回调函数 + deviceManager.createDeviceManager("ohos.rpc.test", deviceManagerCallback) + ``` + + + +3. 服务端处理客户端请求 + + 服务端被绑定的Ability在onConnect方法里返回继承自rpc.RemoteObject的对象,该对象需要实现onRemoteMessageRequest方法,处理客户端的请求。 + + ```ts + onConnect(want: Want) { + var robj:rpc.RemoteObject = new Stub("rpcTestAbility") + return robj + } + class Stub extends rpc.RemoteObject { + constructor(descriptor) { + super(descriptor) + } + onRemoteMessageRequest(code, data, reply, option) { + // 根据code处理客户端的请求 + return true + } + } + ``` + + + +4. 客户端处理服务端响应 + + 客户端在onConnect回调里接收到代理对象,调用sendRequestAsync方法发起请求,在期约(JavaScript期约:用于表示一个异步操作的最终完成或失败及其结果值)或者回调函数里接收结果。 + + ```ts + // 使用期约 + let option = new rpc.MessageOption() + let data = rpc.MessageParcel.create() + let reply = rpc.MessageParcel.create() + // 往data里写入参数 + proxy.sendRequestAsync(1, data, reply, option) + .then(function(result) { + if (result.errCode != 0) { + console.error("send request failed, errCode: " + result.errCode) + return + } + // 从result.reply里读取结果 + }) + .catch(function(e) { + console.error("send request got exception: " + e) + } + .finally(() => { + data.reclaim() + reply.reclaim() + }) + + // 使用回调函数 + function sendRequestCallback(result) { + try { + if (result.errCode != 0) { + console.error("send request failed, errCode: " + result.errCode) + return + } + // 从result.reply里读取结果 + } finally { + result.data.reclaim() + result.reply.reclaim() + } + } + let option = new rpc.MessageOption() + let data = rpc.MessageParcel.create() + let reply = rpc.MessageParcel.create() + // 往data里写入参数 + proxy.sendRequest(1, data, reply, option, sendRequestCallback) + ``` + +5. 断开连接 + + IPC通信结束后,使用featureAbility的接口断开连接。 + + ```ts + import rpc from "@ohos.rpc" + import featureAbility from "@ohos.ability.featureAbility" + function disconnectCallback() { + console.info("disconnect ability done") + } + featureAbility.disconnectAbility(connectId, disconnectCallback) + ``` + diff --git a/zh-cn/application-dev/connectivity/ipc-rpc-overview.md b/zh-cn/application-dev/connectivity/ipc-rpc-overview.md index ff1261dc0a27b968ba19d86f7bddc5fb401131a7..5dbf04f2d32e2ee7bca088cbd8f0a434d0e277a3 100755 --- a/zh-cn/application-dev/connectivity/ipc-rpc-overview.md +++ b/zh-cn/application-dev/connectivity/ipc-rpc-overview.md @@ -3,13 +3,33 @@ ## 基本概念 -IPC(Inter-Process Communication)与RPC(Remote Procedure Call)机制用于实现跨进程通信,不同的是前者使用Binder驱动,用于设备内的跨进程通信,而后者使用软总线驱动,用于跨设备跨进程通信。IPC和RPC通常采用客户端-服务器(Client-Server)模型,服务请求方(Client)可获取提供服务提供方(Server)的代理 (Proxy),并通过此代理读写数据来实现进程间的数据通信。通常,Server会先注册系统能力(System Ability)到系统能力管理者(System Ability Manager,缩写SAMgr)中,SAMgr负责管理这些SA并向Client提供相关的接口。Client要和某个具体的SA通信,必须先从SAMgr中获取该SA的代理,然后使用代理和SA通信。下文使用Proxy表示服务请求方,Stub表示服务提供方。 +IPC(Inter-Process Communication)与RPC(Remote Procedure Call)用于实现跨进程通信,不同的是前者使用Binder驱动,用于设备内的跨进程通信,后者使用软总线驱动,用于跨设备跨进程通信。需要跨进程通信的原因是因为每个进程都有自己独立的资源和内存空间,其他进程不能随意访问不同进程的内存和资源,IPC/RPC便是为了突破这一点。IPC和RPC通常采用客户端-服务器(Client-Server)模型,在使用时,请求服务的(Client)一端进程可获取提供服务(Server)一端所在进程的代理(Proxy),并通过此代理读写数据来实现进程间的数据通信,更具体的讲,首先请求服务的(Client)一端会建立一个服务提供端(Server)的代理对象,这个代理对象具备和服务提供端(Server)一样的功能,若想访问服务提供端(Server)中的某一个方法,只需访问代理对象中对应的方法即可,代理对象会将请求发送给服务提供端(Server);然后服务提供端(Server)处理接受到的请求,处理完之后通过驱动返回处理结果给代理对象;最后代理对象将请求结果进一步返回给请求服务端(Client)。通常,Server会先注册系统能力(System Ability)到系统能力管理者(System Ability Manager,缩写SAMgr)中,SAMgr负责管理这些SA并向Client提供相关的接口。Client要和某个具体的SA通信,必须先从SAMgr中获取该SA的代理,然后使用代理和SA通信。下文直接使用Proxy表示服务请求方,Stub表示服务提供方。 + +![IPC&RPC通信机制](figures/075sd302-aeb9-481a-bb8f-e552sdb61ead.PNG) ## 约束与限制 -单个设备上跨进程通信时,传输的数据量最大约为1MB,过大的数据量请使用匿名共享内存。 -不支持把跨设备的Proxy对象传递回该Proxy对象所指向的Stub对象所在的设备。 +- 单个设备上跨进程通信时,传输的数据量最大约为1MB,过大的数据量请使用[匿名共享内存](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-rpc.md#ashmem8) + +- 不支持在RPC中订阅匿名Stub对象(没有向SAMgr注册Stub对象)的死亡通知。 +- 不支持把跨设备的Proxy对象传递回该Proxy对象所指向的Stub对象所在的设备,即指向远端设备Stub的Proxy对象不能在本设备内进行二次跨进程传递。 + +## 使用建议 + +首先,需要编写接口类,接口类中必须定义消息码,供通信双方标识操作,可以有未实现的的方法,因为通信双方均需继承该接口类且双方不能是抽象类,所以此时定义的未实现的方法必须在双方继承时给出实现,这保证了继承双方不是抽象类。然后,需要编写Stub端相关类及其接口,并且实现AsObject方法及OnRemoteRequest方法。同时,也需要编写Proxy端,实现接口类中的方法和AsObject方法,也可以封装一些额外的方法用于调用SendRequest向对端发送数据。以上三者都具备后,便可以向SAMgr注册SA了,此时的注册应该在Stub所在进程完成。最后,在需要的地方从SAMgr中获取Proxy,便可通过Proxy实现与Stub的跨进程通信了。 + +相关步骤: + +- 实现接口类:需继承IRemoteBroker,需定义消息码,可声明不在此类实现的方法。 + +- 实现服务提供端(Stub):需继承IRemoteStub或者RemoteObject,需重写AsObject方法及OnRemoteRequest方法。 + +- 实现服务请求端(Proxy):需继承IRemoteProxy或RemoteProxy,需重写AsObject方法,封装所需方法调用SendRequest。 + +- 注册SA:申请SA的唯一ID,向SAMgr注册SA。 + +- 获取SA:通过SA的ID和设备ID获取Proxy,使用Proxy与远端通信 ## 相关模块 diff --git a/zh-cn/application-dev/connectivity/subscribe-remote-state.md b/zh-cn/application-dev/connectivity/subscribe-remote-state.md index 2dee9fc483feb421aebd011d7d5d6495202baf65..7ce385d8e16ec68f5eaaef0bad7ca81770f2595f 100755 --- a/zh-cn/application-dev/connectivity/subscribe-remote-state.md +++ b/zh-cn/application-dev/connectivity/subscribe-remote-state.md @@ -1,28 +1,173 @@ # 远端状态订阅开发实例 -IPC/RPC提供对远端Stub对象状态的订阅机制, 在远端Stub对象死亡时,可触发死亡通知告诉本地Proxy对象。这种状态通知订阅需要调用特定接口完成,当不再需要订阅时也需要调用特定接口取消。使用这种订阅机制的用户,需要实现死亡通知接口DeathRecipient并实现onRemoteDied方法清理资源。该方法会在远端Stub对象所在进程死亡或所在设备离开组网时被回调。值得注意的是,调用这些接口有一定的顺序。首先,需要Proxy订阅Stub死亡通知,若在订阅期间Stub状态正常,则在不再需要时取消订阅;若在订阅期间Stub所在进程退出或者所在设备退出组网,则会自动触发Proxy自定义的后续操作。 +IPC/RPC提供对远端Stub对象状态的订阅机制, 在远端Stub对象消亡时,可触发消亡通知告诉本地Proxy对象。这种状态通知订阅需要调用特定接口完成,当不再需要订阅时也需要调用特定接口取消。使用这种订阅机制的用户,需要实现消亡通知接口DeathRecipient并实现onRemoteDied方法清理资源。该方法会在远端Stub对象所在进程消亡或所在设备离开组网时被回调。值得注意的是,调用这些接口有一定的顺序。首先,需要Proxy订阅Stub消亡通知,若在订阅期间Stub状态正常,则在不再需要时取消订阅;若在订阅期间Stub所在进程退出或者所在设备退出组网,则会自动触发Proxy自定义的后续操作。 +## 使用场景 +这种订阅机制适用于本地Proxy对象需要感知远端Stub对象所在进程消亡,或所在设备离开组网的场景。当Proxy感知到Stub端消亡后,可适当清理本地资源。此外,RPC目前不提供匿名Stub对象的消亡通知,即只有向SAMgr注册过的服务才能被订阅消亡通知,IPC则支持匿名对象的消亡通知。 ## Native侧接口 -| 接口名 | 功能描述 | -| -------- | -------- | -| AddDeathRecipient(const sptr\ &recipient); | 订阅远端Stub对象状态。 | -| RemoveDeathRecipient(const sptr\ &recipient); | 取消订阅远端Stub对象状态。 | -| OnRemoteDied(const wptr\ &object); | 当远端Stub对象死亡时回调。 | +| 接口名 | 返回值类型 | 功能描述 | +| -------- | -------- | -------- | +| AddDeathRecipient(const sptr\ &recipient); | bool | 订阅远端Stub对象状态。 | +| RemoveDeathRecipient(const sptr\ &recipient); | bool | 取消订阅远端Stub对象状态。 | +| OnRemoteDied(const wptr\ &object); | void | 当远端Stub对象死亡时回调。 | +### 参考代码 -## 参考代码 +```C++ +#include "iremote_broker.h" +#include "iremote_stub.h" +//定义消息码 +enum { + TRANS_ID_PING_ABILITY = 5, + TRANS_ID_REVERSED_MONITOR +}; + +const std::string DESCRIPTOR = "test.ITestAbility"; + +class ITestService : public IRemoteBroker { +public: + // DECLARE_INTERFACE_DESCRIPTOR是必需的,入参需使用std::u16string; + DECLARE_INTERFACE_DESCRIPTOR(to_utf16(DESCRIPTOR)); + virtual int TestPingAbility(const std::u16string &dummy) = 0; // 定义业务函数 +}; + +class TestServiceProxy : public IRemoteProxy { +public: + explicit TestAbilityProxy(const sptr &impl); + virtual int TestPingAbility(const std::u16string &dummy) override; + int TestAnonymousStub(); +private: + static inline BrokerDelegator delegator_; // 方便后续使用iface_cast宏 +}; + +TestServiceProxy::TestServiceProxy(const sptr &impl) + : IRemoteProxy(impl) +{ +} + +int TestServiceProxy::TestPingAbility(const std::u16string &dummy){ + MessageOption option; + MessageParcel dataParcel, replyParcel; + dataParcel.WriteString16(dummy); + int error = PeerHolder::Remote()->SendRequest(TRANS_ID_PING_ABILITY, dataParcel, replyParcel, option); + int result = (error == ERR_NONE) ? replyParcel.ReadInt32() : -1; + return result; +} ``` + + + + +```c++ +#include "iremote_object.h" + class TestDeathRecipient : public IRemoteObject::DeathRecipient { public: virtual void OnRemoteDied(const wptr& remoteObject); } -sptr deathRecipient (new TestDeathRecipient());// 构造一个死亡通知对象 -bool result = proxy->AddDeathRecipient(deathRecipient); // 注册死亡通知 -result = proxy->RemoveDeathRecipient(deathRecipient); // 移除死亡通知 + +void TestDeathRecipient::OnRemoteDied(const wptr& remoteObject) +{ +} +``` + +```c++ +sptr object = new IPCObjectProxy(1, to_utf16(DESCRIPTOR)); +sptr deathRecipient (new TestDeathRecipient());// 构造一个消亡通知对象 +bool result = object->AddDeathRecipient(deathRecipient); // 注册消亡通知 +result = object->RemoveDeathRecipient(deathRecipient); // 移除消亡通知 ``` + +## JS侧接口 + +| 接口名 | 返回值类型 | 功能描述 | +| -------------------- | ---------- | ------------------------------------------------------------ | +| addDeathRecippient | boolean | 注册用于接收远程对象消亡通知的回调,增加proxy对象上的消亡通知。 | +| removeDeathRecipient | boolean | 注销用于接收远程对象消亡通知的回调。 | +| onRemoteDied | void | 在成功添加死亡通知订阅后,当远端对象死亡时,将自动调用本方法。 | + +### 参考代码 + +```ts +import FA from "@ohos.ability.featureAbility"; +let proxy; +let connect = { + onConnect: function(elementName, remoteProxy) { + console.log("RpcClient: js onConnect called."); + proxy = remoteProxy; + }, + onDisconnect: function(elementName) { + console.log("RpcClient: onDisconnect"); + }, + onFailed: function() { + console.log("RpcClient: onFailed"); + } +}; +let want = { + "bundleName": "com.ohos.server", + "abilityName": "com.ohos.server.MainAbility", +}; +FA.connectAbility(want, connect); +class MyDeathRecipient { + onRemoteDied() { + console.log("server died"); + } +} +let deathRecipient = new MyDeathRecipient(); +proxy.addDeathRecippient(deathRecipient, 0); +proxy.removeDeathRecipient(deathRecipient, 0); +``` + +## Stub感知Proxy消亡(匿名Stub的使用) + +正向的消亡通知是Proxy感知Stub的状态,若想达到反向的死消亡通知,即Stub感知Proxy的状态,可以巧妙的利用正向消亡通知。如两个进程A(原Stub所在进程)和B(原Proxy所在进程),进程B在获取到进程A的Proxy对象后,在B进程新建一个匿名Stub对象(匿名指未向SAMgr注册),可称之为回调Stub,再通过SendRequest接口将回调Stub传给进程A的原Stub。这样一来,进程A便获取到了进程B的回调Proxy。当进程B消亡或B所在设备离开组网时,回调Stub会消亡,回调Proxy会感知,进而通知给原Stub,便实现了反向消亡通知。 + +注意: + +> 反向死亡通知仅限设备内跨进程通信使用,不可用于跨设备。 + +> 当匿名Stub对象没有被任何一个Proxy指向的时候,内核会自动回收。 + +### 参考代码 + +```c++ +//Proxy +int TestAbilityProxy::TestAnonymousStub() +{ + MessageOption option; + MessageParcel dataParcel, replyParcel; + dataParcel.UpdateDataVersion(Remote()); + dataParcel.WriteRemoteObject(new TestAbilityStub()); + int error = Remote()->SendRequest(TRANS_ID_REVERSED_MONITOR,dataParcel, replyParcel, option); + int result = (error == ERR_NONE) ? replyParcel.ReadInt32() : -1; + return result; +} + +//Stub + +int TestAbilityStub::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) +{ + switch (code) { + case TRANS_ID_REVERSED_MONITOR: { + sptr obj = data.ReadRemoteObject(); + if (obj == nullptr) { + reply.WriteInt32(ERR_NULL_OBJECT); + return ERR_NULL_OBJECT; + } + bool result = obj->AddDeathRecipient(new TestDeathRecipient()); + result ? reply.WriteInt32(ERR_NONE) : reply.WriteInt32(-1); + break; + } + default: + break; + } + return ERR_NONE; +} +``` + diff --git a/zh-cn/application-dev/database/database-distributedobject-guidelines.md b/zh-cn/application-dev/database/database-distributedobject-guidelines.md index b18ca1730cce8cb3c8f89d63f4cfb3b140a7d763..d17f68d9f8e04e6984eafd04577f397e42a79c99 100644 --- a/zh-cn/application-dev/database/database-distributedobject-guidelines.md +++ b/zh-cn/application-dev/database/database-distributedobject-guidelines.md @@ -17,7 +17,7 @@ **表1** 分布式数据对象实例创建接口 -| 包名 | 接口名 | 描述 | +| Bundle名称 | 接口名 | 描述 | | -------- | -------- | -------- | | ohos.data.distributedDataObject| createDistributedObject(source: object): DistributedObject | 创建一个分布式数据对象实例,用于数据操作。
- source:设置分布式数据对象的属性。
- DistributedObject:返回值是创建好的分布式数据对象。 | @@ -27,7 +27,7 @@ **表2** 分布式数据对象sessionId创建接口 -| 包名 | 接口名 | 描述 | +| Bundle名称 | 接口名 | 描述 | | -------- | -------- | -------- | | ohos.data.distributedDataObject| genSessionId(): string | 创建一个sessionId,可作为分布式数据对象的sessionId。 | @@ -125,7 +125,7 @@ grantPermission(); ``` - + 3. 获取分布式数据对象实例。 ```js @@ -176,7 +176,7 @@ }); } } - + // 发起方要在changeCallback里刷新界面,则需要将正确的this绑定给changeCallback localObject.on("change", this.changeCallback.bind(this)); ``` diff --git a/zh-cn/application-dev/database/database-preference-guidelines.md b/zh-cn/application-dev/database/database-preference-guidelines.md index 6094421564b42b230011e98f1f66a55e0f239b0c..005155f3ef55643f3fddc9f4b5e7d9921742755f 100644 --- a/zh-cn/application-dev/database/database-preference-guidelines.md +++ b/zh-cn/application-dev/database/database-preference-guidelines.md @@ -24,7 +24,7 @@ **表1** 首选项实例创建接口 -| 包名 | 接口名 | 描述 | +| Bundle名称 | 接口名 | 描述 | | --------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | | ohos.data.preferences | getPreferences(context: Context, name: string): Promise\ | 读取指定首选项持久化文件,将数据加载到Preferences实例,用于数据操作。 | @@ -75,7 +75,7 @@ **表6** 首选项删除接口 -| 包名 | 接口名 | 描述 | +| Bundle名称 | 接口名 | 描述 | | --------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | | ohos.data.preferences | deletePreferences(context: Context, name: string): Promise\ | 从缓存中移除已加载的Preferences对象,同时从设备上删除对应的文件。 | | ohos.data.preferences | removePreferencesFromCache(context: Context, name: string): Promise\ | 仅从缓存中移除已加载的Preferences对象,主要用于释放内存。 | diff --git a/zh-cn/application-dev/device/inputdevice-guidelines.md b/zh-cn/application-dev/device/inputdevice-guidelines.md index 30ec8073cb7e6d552b53afcc43b38f8aa6593f1f..d08fbacfef9c363dfb8b4c206008b05793e5434e 100644 --- a/zh-cn/application-dev/device/inputdevice-guidelines.md +++ b/zh-cn/application-dev/device/inputdevice-guidelines.md @@ -40,8 +40,8 @@ try { // 1.获取设备列表,判断是否有物理键盘连接 inputDevice.getDeviceList().then(data => { for (let i = 0; i < data.length; ++i) { - inputDevice.getKeyboardType(data[i]).then(res => { - if (type == inputDevice.KeyboardType.ALPHABETIC_KEYBOARD) { + inputDevice.getKeyboardType(data[i]).then(type => { + if (type === inputDevice.KeyboardType.ALPHABETIC_KEYBOARD) { // 物理键盘已连接 isPhysicalKeyboardExist = true; } @@ -53,7 +53,7 @@ try { 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') { + if (type === inputDevice.KeyboardType.ALPHABETIC_KEYBOARD && data.type == 'add') { // 物理键盘已插入 isPhysicalKeyboardExist = true; } else if (type == inputDevice.KeyboardType.ALPHABETIC_KEYBOARD && data.type == 'remove') { diff --git a/zh-cn/application-dev/device/pointerstyle-guidelines.md b/zh-cn/application-dev/device/pointerstyle-guidelines.md index b15e2b58e42993d0baa5bd0876e2255d22e2f0c0..cc5f3fd52ed14efacfad961345635e7588f9f8ac 100644 --- a/zh-cn/application-dev/device/pointerstyle-guidelines.md +++ b/zh-cn/application-dev/device/pointerstyle-guidelines.md @@ -7,7 +7,7 @@ ## 导入模块 ```js -import inputDevice from '@ohos.multimodalInput.pointer'; +import pointer from '@ohos.multimodalInput.pointer'; ``` ## 接口说明 diff --git a/zh-cn/application-dev/device/usb-guidelines.md b/zh-cn/application-dev/device/usb-guidelines.md index 5ae59b9f4e1b5dda5ede796fa32e93616ed76999..e21409b651e8f1dea036dbd1a18fa58f744a59f2 100644 --- a/zh-cn/application-dev/device/usb-guidelines.md +++ b/zh-cn/application-dev/device/usb-guidelines.md @@ -17,17 +17,17 @@ USB类开放能力如下,具体请查阅[API参考文档](../reference/apis/js | 接口名 | 描述 | | ------------------------------------------------------------ | ------------------------------------------------------------ | -| hasRight(deviceName: string): boolean | 如果“使用者”(如各种App或系统)有权访问设备则返回true;无权访问设备则返回false。 | -| requestRight(deviceName: string): Promise<boolean> | 请求给定软件包的临时权限以访问设备。 | +| hasRight(deviceName: string): boolean | 判断是否有权访问该设备 | +| requestRight(deviceName: string): Promise<boolean> | 请求软件包的临时权限以访问设备。使用Promise异步回调。 | | removeRight(deviceName: string): boolean | 移除软件包对设备的访问权限。| | connectDevice(device: USBDevice): Readonly<USBDevicePipe> | 根据`getDevices()`返回的设备信息打开USB设备。 | -| getDevices(): Array<Readonly<USBDevice>> | 返回USB设备列表。 | +| getDevices(): Array<Readonly<USBDevice>> | 获取接入主设备的USB设备列表。如果没有设备接入,那么将会返回一个空的列表。 | | setConfiguration(pipe: USBDevicePipe, config: USBConfig): number | 设置设备的配置。 | | setInterface(pipe: USBDevicePipe, iface: USBInterface): number | 设置设备的接口。 | -| claimInterface(pipe: USBDevicePipe, iface: USBInterface,force?: boolean): number | 获取接口。 | +| claimInterface(pipe: USBDevicePipe, iface: USBInterface,force?: boolean): number | 注册通信接口。 | | bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array, timeout?: number): Promise<number> | 批量传输。 | | closePipe(pipe: USBDevicePipe): number | 关闭设备消息控制通道。 | -| releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number | 释放接口。 | +| releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number | 释放注册过的通信接口。 | | getFileDescriptor(pipe: USBDevicePipe): number | 获取文件描述符。 | | getRawDescriptor(pipe: USBDevicePipe): Uint8Array | 获取原始的USB描述符。 | | controlTransfer(pipe: USBDevicePipe, contrlparam: USBControlParams, timeout?: number): Promise<number> | 控制传输。 | @@ -42,7 +42,7 @@ USB设备可作为Host设备连接Device设备进行数据传输。开发示例 ```js // 导入USB接口api包。 - import usb from '@ohos.usb'; + import usb from '@ohos.usbV9'; // 获取设备列表。 let deviceList = usb.getDevices(); /* diff --git a/zh-cn/application-dev/dfx/hiappevent-guidelines.md b/zh-cn/application-dev/dfx/hiappevent-guidelines.md index a87d2034eba8a7750df87b856679464a9a153196..fca17846696575ac301b95333524c168a3a3f61e 100644 --- a/zh-cn/application-dev/dfx/hiappevent-guidelines.md +++ b/zh-cn/application-dev/dfx/hiappevent-guidelines.md @@ -45,15 +45,21 @@ HiAppEvent是在系统层面为应用开发者提供的一种事件打点机制 以实现对用户点击按钮行为的事件打点及订阅为例,说明开发步骤。 -1. 新建一个ets应用工程,编辑工程中的“entry > src > main > ets > Application> MyAbilityStage.ts” 文件,在应用启动时添加对用户点击按钮事件的订阅,完整示例代码如下: +1. 新建一个ets应用工程,编辑工程中的“entry > src > main > ets > entryability > EntryAbility.ts” 文件,在onCreate函数中添加对用户点击按钮事件的订阅,完整示例代码如下: ```js - import AbilityStage from "@ohos.application.AbilityStage" + import hilog from '@ohos.hilog'; + import Ability from '@ohos.application.Ability' + import Window from '@ohos.window' import hiAppEvent from '@ohos.hiviewdfx.hiAppEvent' - export default class MyAbilityStage extends AbilityStage { - onCreate() { - console.log("[Demo] MyAbilityStage onCreate") + export default class EntryAbility extends Ability { + onCreate(want, launchParam) { + hilog.isLoggable(0x0000, 'testTag', hilog.LogLevel.INFO); + hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onCreate'); + hilog.info(0x0000, 'testTag', '%{public}s', 'want param:' + JSON.stringify(want) ?? ''); + hilog.info(0x0000, 'testTag', '%{public}s', 'launchParam:' + JSON.stringify(launchParam) ?? ''); + hiAppEvent.addWatcher({ // 开发者可以自定义观察者名称,系统会使用名称来标识不同的观察者 name: "watcher1", @@ -65,7 +71,7 @@ HiAppEvent是在系统层面为应用开发者提供的一种事件打点机制 onTrigger: function (curRow, curSize, holder) { // 返回的holder对象为null,表示订阅过程发生异常,因此在记录错误日志后直接返回 if (holder == null) { - console.error("HiAppEvent holder is null") + hilog.error(0x0000, 'testTag', "HiAppEvent holder is null") return } let eventPkg = null @@ -73,11 +79,11 @@ HiAppEvent是在系统层面为应用开发者提供的一种事件打点机制 // 返回的事件包对象为null,表示当前订阅数据已被全部取出,此次订阅回调触发结束 while ((eventPkg = holder.takeNext()) != null) { // 开发者可以对事件包中的事件打点数据进行自定义处理,此处是将事件打点数据打印在日志中 - console.info(`HiAppEvent eventPkg.packageId=${eventPkg.packageId}`) - console.info(`HiAppEvent eventPkg.row=${eventPkg.row}`) - console.info(`HiAppEvent eventPkg.size=${eventPkg.size}`) + hilog.info(0x0000, 'testTag', `HiAppEvent eventPkg.packageId=%{public}d`, eventPkg.packageId) + hilog.info(0x0000, 'testTag', `HiAppEvent eventPkg.row=%{public}d`, eventPkg.row) + hilog.info(0x0000, 'testTag', `HiAppEvent eventPkg.size=%{public}d`, eventPkg.size) for (const eventInfo of eventPkg.data) { - console.info(`HiAppEvent eventPkg.info=${eventInfo}`) + hilog.info(0x0000, 'testTag', `HiAppEvent eventPkg.info=%{public}s`, eventInfo) } } } @@ -85,10 +91,11 @@ HiAppEvent是在系统层面为应用开发者提供的一种事件打点机制 } } -2. 编辑工程中的“entry > src > main > ets > Application> MyAbilityStage.ts” 文件,添加一个按钮并在其onClick函数中进行事件打点,以记录按钮点击事件,完整示例代码如下: +2. 编辑工程中的“entry > src > main > ets > pages > Index.ets” 文件,添加一个按钮并在其onClick函数中进行事件打点,以记录按钮点击事件,完整示例代码如下: ```js import hiAppEvent from '@ohos.hiviewdfx.hiAppEvent' + import hilog from '@ohos.hilog' @Entry @Component @@ -114,9 +121,9 @@ HiAppEvent是在系统层面为应用开发者提供的一种事件打点机制 // 事件参数定义 params: { click_time: 100 } }).then(() => { - console.log(`HiAppEvent success to write event`) + hilog.info(0x0000, 'testTag', `HiAppEvent success to write event`) }).catch((err) => { - console.error(`HiAppEvent err.code: ${err.code}, err.message: ${err.message}`) + hilog.error(0x0000, 'testTag', `HiAppEvent err.code: ${err.code}, err.message: ${err.message}`) }) }) } diff --git a/zh-cn/application-dev/faqs/faqs-ability.md b/zh-cn/application-dev/faqs/faqs-ability.md index c79f76f2a40628bf027c28a6f1ed765fb87bb282..1fff0339c34e982898a3e85236e47c085170a3aa 100644 --- a/zh-cn/application-dev/faqs/faqs-ability.md +++ b/zh-cn/application-dev/faqs/faqs-ability.md @@ -91,11 +91,11 @@ Ability配置中缺少startWindowIcon属性配置,需要在module.json5中abil 推荐使用方式参考:[Stage模型的Context详细介绍](../application-models/application-context-stage.md)。 -## 如何在应用A中去获取应用B的Hap包的安装路径 +## 如何在应用A中去获取应用B的HAP的安装路径 适用于:OpenHarmony SDK 3.0以上版本, API9 Stage模型 -首先需要申请系统权限,具体参看文档:[自动化签名](https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ohos-auto-configuring-signature-information-0000001271659465)。导入bundle模块,通过调用bundle.getApplicationInfo()接口,通过包名获取应用信息。然后通过application.moduleSourceDirs获取应用存储路径。 +首先需要申请系统权限,具体参看文档:[自动化签名](https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ohos-auto-configuring-signature-information-0000001271659465)。导入bundle模块,通过调用bundle.getApplicationInfo()接口,通过Bundle名称获取应用信息。然后通过application.moduleSourceDirs获取应用存储路径。 ## 调用方使用startAbilityForResult,被调用方如何返回数据 diff --git a/zh-cn/application-dev/faqs/faqs-event-notification.md b/zh-cn/application-dev/faqs/faqs-event-notification.md index a035a5890812c27cd910dd44cea913b3f7abc0c2..8fb2332c1856b23489045e0b087afd1d1708b693 100644 --- a/zh-cn/application-dev/faqs/faqs-event-notification.md +++ b/zh-cn/application-dev/faqs/faqs-event-notification.md @@ -12,7 +12,7 @@ emitter数据大小限制不超过10240。 通过配置Notification.publish发布通知接口的参数NotificationRequest中wantAgent属性实现 -参考文档:[Notification](../reference/apis/js-apis-notification.md#notificationpublish)、[WantAgent](../reference/apis/js-apis-wantAgent.md) +参考文档:[Notification](../reference/apis/js-apis-notification.md#notificationpublish)、[WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md) 示例: diff --git a/zh-cn/application-dev/faqs/faqs-file-management.md b/zh-cn/application-dev/faqs/faqs-file-management.md index 128e71acffc92761735ca69af0cc165feb9b5799..25c84da0e21e29965837eb1b287f1dce35cfb274 100644 --- a/zh-cn/application-dev/faqs/faqs-file-management.md +++ b/zh-cn/application-dev/faqs/faqs-file-management.md @@ -77,11 +77,14 @@ getAlbums方法需要权限:ohos.permission.READ_MEDIA,从[OpenHarmony权限 2. 在MainAbility.ts -> onWindowStageCreate页面加载前需要增加用户授权代码: ``` + import abilityAccessCtrl from '@ohos.abilityAccessCtrl.d.ts'; + private requestPermissions() { let permissionList: Array = [ "ohos.permission.READ_MEDIA" ]; - this.context.requestPermissionsFromUser(permissionList) + let atManager = abilityAccessCtrl.createAtManager(); + atManager.requestPermissionsFromUser(this.context, permissionList) .then(data => { console.info(`request permission data result = ${data.authResults}`) }) @@ -99,7 +102,7 @@ getAlbums方法需要权限:ohos.permission.READ_MEDIA,从[OpenHarmony权限 ## 在Stage模型下调用mediaLibrary.getMediaLibrary()接口,IDE报错 -适用于:OpenHarmonySDK 3.25.5版本,API9 Stage模型 +适用于:OpenHarmonySDK 3.2.5.5版本,API9 Stage模型 Stage模型下,获取媒体库实例应该调用mediaLibrary.getMediaLibrary(context: Context)。 diff --git a/zh-cn/application-dev/faqs/faqs-hdc-std.md b/zh-cn/application-dev/faqs/faqs-hdc-std.md index 3690a4d9c69c27514f233c00d8bd62640241d563..20cdb7205dd9fca003b2b3b2ea0d6bc152d60e62 100644 --- a/zh-cn/application-dev/faqs/faqs-hdc-std.md +++ b/zh-cn/application-dev/faqs/faqs-hdc-std.md @@ -24,7 +24,7 @@ 执行完命令后重启DevEco Studio。 -## 用IDE安装HAP包到开发板上无法打开 +## 用IDE安装HAP到开发板上无法打开 适用于:OpenHarmony SDK 3.2.5.3版本,API9 Stage模型 diff --git a/zh-cn/application-dev/faqs/faqs-media.md b/zh-cn/application-dev/faqs/faqs-media.md index df0d20f24017763056f434ddc81d9ab8e372d3fd..353120e6c8e7b69a58668262e0c4fa93e39f630f 100644 --- a/zh-cn/application-dev/faqs/faqs-media.md +++ b/zh-cn/application-dev/faqs/faqs-media.md @@ -106,8 +106,12 @@ cameraInput = await this.cameraManager.createCameraInput(cameraId) 2. 这两个权限的授权方式均为user_grant,因此需要调用requestPermissionsFromUser接口,以动态弹窗的方式向用户申请授权。 ``` + import abilityAccessCtrl from '@ohos.abilityAccessCtrl.d.ts'; + let permissions: Array = ['ohos.permission.READ_MEDIA','ohos.permission.WRITE_MEDIA'] - context.requestPermissionsFromUser(permissions).then((data) => { + let atManager = abilityAccessCtrl.createAtManager(); + // context为调用方UIAbility的AbilityContext + atManager.requestPermissionsFromUser(context, permissions).then((data) => { console.log("Succeed to request permission from user with data: " + JSON.stringify(data)) }).catch((error) => { console.log("Failed to request permission from user with error: " + JSON.stringify(error)) diff --git a/zh-cn/application-dev/file-management/medialibrary-overview.md b/zh-cn/application-dev/file-management/medialibrary-overview.md index cde6847318650e674b34d24916fc5d2077ff4619..8bcd3a6a026de2694ee9d62aa64c785c9d299c08 100644 --- a/zh-cn/application-dev/file-management/medialibrary-overview.md +++ b/zh-cn/application-dev/file-management/medialibrary-overview.md @@ -55,7 +55,7 @@ var media = mediaLibrary.getMediaLibrary(context); | ohos.permission.WRITE_MEDIA | 允许应用读写用户外部存储中的媒体文件信息。 | user_grant | | ohos.permission.MEDIA_LOCATION | 允许应用访问用户媒体文件中的地理位置信息。 | user_grant | -以上权限的授权方式均为user_grant(用户授权),即开发者在module.json5文件中配置对应的权限后,需要使用接口[Context.requestPermissionsFromUser](../reference/apis/js-apis-ability-context.md#abilitycontextrequestpermissionsfromuser)去校验当前用户是否已授权。如果是,应用可以直接访问/操作目标对象;否则需要弹框向用户申请授权。 +以上权限的授权方式均为user_grant(用户授权),即开发者在module.json5文件中配置对应的权限后,需要使用接口[abilityAccessCtrl.requestPermissionsFromUser](../reference/apis/js-apis-abilityAccessCtrl.md#requestpermissionsfromuser9)去校验当前用户是否已授权。如果是,应用可以直接访问/操作目标对象;否则需要弹框向用户申请授权。 > **说明:**
即使用户曾经授予权限,应用在调用受此权限保护的接口前,也应该先检查是否有权限。不能把之前授予的状态持久化,因为用户在动态授予后还可以通过“设置”取消应用的权限。 @@ -105,13 +105,15 @@ var media = mediaLibrary.getMediaLibrary(context); 2. 调用requestPermissionsFromUser进行权限校验,可以选择需要动态申请获取的权限。 ```ts - import Ability from '@ohos.application.Ability' + import Ability from '@ohos.application.Ability'; + import abilityAccessCtrl from '@ohos.abilityAccessCtrl.d.ts'; export default class MainAbility extends Ability { onWindowStageCreate(windowStage) { var permissions=['ohos.permission.READ_MEDIA','ohos.permission.WRITE_MEDIA'] var permissionRequestResult; - this.context.requestPermissionsFromUser(permissions,(err,result) => { + let atManager = abilityAccessCtrl.createAtManager(); + atManager.requestPermissionsFromUser(this.context, permissions, (err,result) => { if(err){ console.log('requestPermissionsFromUserError: ' + JSON.stringify(err)); }else{ diff --git a/zh-cn/application-dev/key-features/multi-device-app-dev/case.md b/zh-cn/application-dev/key-features/multi-device-app-dev/case.md index 0615998148d7b2c305025d73d22b2ad0caa857a2..f1dc34b9e0514708dca74b4e1f67889d730d57f7 100644 --- a/zh-cn/application-dev/key-features/multi-device-app-dev/case.md +++ b/zh-cn/application-dev/key-features/multi-device-app-dev/case.md @@ -6,7 +6,7 @@ ## 概览 -[短信](https://gitee.com/openharmony/applications_mms/tree/master)是OpenHarmony中预置的系统应用,主要包含信息查看、发送短信、接收短信、短信送达报告、删除短信等功能。在不同类型设备上,短信应用的功能完全相同,故短信应用适合使用[部署模型A](introduction.md#部署模型)(即:不同类型的设备上安装运行相同的HAP包或HAP包组合)。 +[短信](https://gitee.com/openharmony/applications_mms/tree/master)是OpenHarmony中预置的系统应用,主要包含信息查看、发送短信、接收短信、短信送达报告、删除短信等功能。在不同类型设备上,短信应用的功能完全相同,故短信应用适合使用[部署模型A](introduction.md#部署模型)(即:不同类型的设备上安装运行相同的HAP或HAP组合)。 本案例中,在会话详情页面利用[方舟开发框架](introduction.md#方舟开发框架)提供的“一多”能力,用一套代码同时适配默认设备和平板。 @@ -59,7 +59,7 @@ 短信应用在开发阶段,采用了一层工程结构。由于功能较为简单,所以并没有规划共用的feature和common目录,仅采用了一层product目录。 - 业务形态层(product) - 该目录采用IDE工程默认创建的entry目录,开发者可根据需要在创建Module时自行更改该目录名。不同产品形态,编译出相同的短信HAP包。 + 该目录采用IDE工程默认创建的entry目录,开发者可根据需要在创建Module时自行更改该目录名。不同产品形态,编译出相同的短信HAP。 diff --git a/zh-cn/application-dev/key-features/multi-device-app-dev/faq.md b/zh-cn/application-dev/key-features/multi-device-app-dev/faq.md index b05ae7ef0c5a4618ec4ffd0f0a868fcf7640d7a2..68a8b425f18f6c362bb3d264b52ed9e1d7d4981e 100644 --- a/zh-cn/application-dev/key-features/multi-device-app-dev/faq.md +++ b/zh-cn/application-dev/key-features/multi-device-app-dev/faq.md @@ -81,7 +81,7 @@ 默认设备屏幕尺寸较小,采用standard启动模式不仅无法给用户提供便利,反而可能消耗更多系统资源,故通常采用singleton启动模式。平板屏幕尺寸较大且可能支持自由窗口,对于文档编辑、网页浏览等场景,使用standard启动模式可以提升用户体验。 -本文中将默认设备和平板等归为同一泛类,推荐同一泛类的设备共用HAP包,同时本文也介绍了如何通过自适应布局能力和响应式布局能力开发出适配不同设备的页面。这里将补充介绍,如何实现Ability在不同设备上以不同的模式启动。 +本文中将默认设备和平板等归为同一泛类,推荐同一泛类的设备共用HAP,同时本文也介绍了如何通过自适应布局能力和响应式布局能力开发出适配不同设备的页面。这里将补充介绍,如何实现Ability在不同设备上以不同的模式启动。 launchType字段配置为specified时,系统会根据AbilityStage的onAcceptWant的返回值确定是否创建新的实例。对于同一个应用,如果key已经存在,则复用该key对应的Ability,如果key不存在则新创建Ability。 diff --git a/zh-cn/application-dev/key-features/multi-device-app-dev/ide-using.md b/zh-cn/application-dev/key-features/multi-device-app-dev/ide-using.md index eac761f3396c396c848e1c1c2c27aa1fae7223c7..2574e81c459765fa5a5a2b43df0d8f56665984bb 100644 --- a/zh-cn/application-dev/key-features/multi-device-app-dev/ide-using.md +++ b/zh-cn/application-dev/key-features/multi-device-app-dev/ide-using.md @@ -78,12 +78,12 @@ DevEco Studio的基本使用,请参考[DevEco Studio使用指南](../../quick- 通过修改每个模块中的配置文件(module.json5)对模块进行配置,配置文件中各字段含义详见[配置文件说明](../../quick-start/module-configuration-file.md)。 - 将default模块的deviceTypes配置为["default", "tablet"],同时将其type字段配置为entry。 - 即default模块编译出的hap包在默认设备和平板上安装和运行。 + 即default模块编译出的HAP在默认设备和平板上安装和运行。 ![zh-cn_image_0000001267914116](figures/zh-cn_image_0000001267914116.png) - 将wearable模块的deviceTypes配置为["wearable"],同时将其type字段配置为entry。 - 即wearable模块编译出的hap包仅在智能穿戴设备上安装和运行。 + 即wearable模块编译出的HAP仅在智能穿戴设备上安装和运行。 ![zh-cn_image_0000001267514192](figures/zh-cn_image_0000001267514192.png) diff --git a/zh-cn/application-dev/key-features/multi-device-app-dev/introduction.md b/zh-cn/application-dev/key-features/multi-device-app-dev/introduction.md index cb28e448d84b8ec4147c98ac6f9f634207a8d107..bebdaf58854ad5114941a569cf6c8c4d3d9ebdb2 100644 --- a/zh-cn/application-dev/key-features/multi-device-app-dev/introduction.md +++ b/zh-cn/application-dev/key-features/multi-device-app-dev/introduction.md @@ -37,9 +37,9 @@ ### 应用程序包结构 -OpenHarmony 的应用以APP Pack (Application Package) 形式发布,它是由一个或多个HAP包以及描述每个HAP包属性的pack.info文件组成。 +OpenHarmony 的应用以APP Pack (Application Package) 形式发布,它是由一个或多个HAP以及描述每个HAP属性的pack.info文件组成。 -HAP包是OpenHarmony的安装包,一个HAP在工程目录中对应一个Module,由Module编译而来,可分为entry和feature两种类型的HAP。 +HAP是OpenHarmony的安装包,一个HAP在工程目录中对应一个Module,由Module编译而来,可分为entry和feature两种类型的HAP。 - **entry**:应用的主模块包。一个APP中,对于同一设备类型,可以有一个或多个entry类型的HAP,来支持该设备类型中不同规格(如API版本、屏幕规格等)的具体设备。 @@ -48,7 +48,7 @@ HAP包是OpenHarmony的安装包,一个HAP在工程目录中对应一个Module ![zh-cn_image_0000001266965046](figures/zh-cn_image_0000001266965046.png) > **说明:** -> - Module是开发者开发的相对独立的功能模块,由代码、资源、第三方库及应用配置文件组成,属于IDE开发视图的概念。Module分为entry、feature及har三种类型,相应的可以编译生成entry类型的HAP包、feature类型的HAP包,以及har包。 +> - Module是开发者开发的相对独立的功能模块,由代码、资源、第三方库及应用配置文件组成,属于IDE开发视图的概念。Module分为entry、feature及har三种类型,相应的可以编译生成entry类型的HAP、feature类型的HAP,以及har包。 > > - 如果需要了解应用程序包结构更多详情,可以查看[包结构说明](../../quick-start/application-package-structure-stage.md)。 @@ -81,9 +81,9 @@ OpenHarmony提供了方舟开发框架(简称:ArkUI),提供开发者进 “一多”有两种部署模型: -- **部署模型A**:不同类型的设备上按照一定的工程结构组织方式,通过一次编译生成**相同**的HAP包(或HAP包组合)。 +- **部署模型A**:不同类型的设备上按照一定的工程结构组织方式,通过一次编译生成**相同**的HAP(或HAP组合)。 -- **部署模型B**:不同类型的设备上按照一定的工程结构组织方式,通过一次编译生成**不同**的HAP包(或HAP包组合)。 +- **部署模型B**:不同类型的设备上按照一定的工程结构组织方式,通过一次编译生成**不同**的HAP(或HAP组合)。 建议开发者从设备类型及应用功能两个维度,结合具体的业务场景,考虑选择哪种部署模型。但不管采用哪种部署模型,都应该采用一次编译。 @@ -140,7 +140,7 @@ OpenHarmony提供了方舟开发框架(简称:ArkUI),提供开发者进 │ ├── feature1 # 子功能1, har类型的module │ ├── feature2 # 子功能2, har类型的module │ └── ... -└── product # 必选。产品层目录, entry类型的module,编译后为hap包 +└── product # 必选。产品层目录, entry类型的module,编译后为HAP ``` 部署模型B对应的代码工程结构抽象后一般如下所示: @@ -154,8 +154,8 @@ OpenHarmony提供了方舟开发框架(简称:ArkUI),提供开发者进 │ ├── feature2 # 子功能2, har类型的module │ └── ... └── product # 必选。产品层目录 - ├── wearable # 智能穿戴泛类目录, entry类型的module,编译后为hap包 - ├── default # 默认设备泛类目录, entry类型的module,编译后为hap包 + ├── wearable # 智能穿戴泛类目录, entry类型的module,编译后为HAP + ├── default # 默认设备泛类目录, entry类型的module,编译后为HAP └── ... ``` diff --git a/zh-cn/application-dev/media/avsession-guidelines.md b/zh-cn/application-dev/media/avsession-guidelines.md index 267802f1a4b43042857bdc292a6c36f75a6b159d..41ab8c7dd444713cfa0f5459cf8064a2cf57bd46 100644 --- a/zh-cn/application-dev/media/avsession-guidelines.md +++ b/zh-cn/application-dev/media/avsession-guidelines.md @@ -50,7 +50,7 @@ avSession.createAVSession(context, "AudioAppSample", 'audio').then((session) => 3.设置AVSession会话信息,包括: - 设置会话元数据,除了媒体ID必选外,可选设置媒体标题、专辑信息、媒体作者、媒体时长、上一首/下一首媒体ID等。详细的会话元数据信息可参考API文档中的`AVMetadata`。 -- 设置启动Ability,通过`WantAgent`的接口实现。WantAgent一般用于封装行为意图信息,如果想要了解更多信息,可以查阅[WantAgent开发指导](../reference/apis/js-apis-wantAgent.md)。 +- 设置启动Ability,通过[WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md)的接口实现。WantAgent一般用于封装行为意图信息。 - 设置播放状态。 ```js // 设置会话元数据 diff --git a/zh-cn/application-dev/notification/notification-with-wantagent.md b/zh-cn/application-dev/notification/notification-with-wantagent.md index a511ca4d809b89b571f0b785b9aa43d0fe0ae405..e3fb18fcee87447093fad2c575476048c85ad65c 100644 --- a/zh-cn/application-dev/notification/notification-with-wantagent.md +++ b/zh-cn/application-dev/notification/notification-with-wantagent.md @@ -1,8 +1,8 @@ # 为通知添加行为意图 -[WantAgent](../reference/apis/js-apis-wantAgent.md)提供了封装行为意图的能力,该行为意图是指拉起指定的应用组件及发布公共事件等能力。OpenHarmony支持以通知的形式,将[WantAgent](../reference/apis/js-apis-wantAgent.md)从发布方传递至接收方,从而在接收方触发[WantAgent](../reference/apis/js-apis-wantAgent.md)中指定的意图。例如在通知消息的发布者发布通知时,通常期望用户可以通过通知栏点击拉起目标应用组件。为了达成这一目标,开发者可以将[WantAgent](../reference/apis/js-apis-wantAgent.md)封装至通知消息中,当系统接收到[WantAgent](../reference/apis/js-apis-wantAgent.md)后,在用户点击通知栏时触发[WantAgent](../reference/apis/js-apis-wantAgent.md)的意图,从而拉起目标应用组件。 +[WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md)提供了封装行为意图的能力,该行为意图是指拉起指定的应用组件及发布公共事件等能力。OpenHarmony支持以通知的形式,将[WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md)从发布方传递至接收方,从而在接收方触发[WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md)中指定的意图。例如在通知消息的发布者发布通知时,通常期望用户可以通过通知栏点击拉起目标应用组件。为了达成这一目标,开发者可以将[WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md)封装至通知消息中,当系统接收到[WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md)后,在用户点击通知栏时触发[WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md)的意图,从而拉起目标应用组件。 -为通知添加行为意图的实现方式如下图所示:发布通知的应用向应用组件管理服务AMS(Ability Manager Service)申请[WantAgent](../reference/apis/js-apis-wantAgent.md),然后随其他通知信息一起发送给桌面,当用户在桌面通知栏上点击通知时,触发[WantAgent](../reference/apis/js-apis-wantAgent.md)动作。 +为通知添加行为意图的实现方式如下图所示:发布通知的应用向应用组件管理服务AMS(Ability Manager Service)申请[WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md),然后随其他通知信息一起发送给桌面,当用户在桌面通知栏上点击通知时,触发[WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md)动作。 **图1** 携带行为意图的通知运行机制 ![notification-with-wantagent](figures/notification-with-wantagent.png) @@ -10,7 +10,7 @@ ## 接口说明 -具体接口描述,详见[WantAgent接口文档](../reference/apis/js-apis-wantAgent.md)。 +具体接口描述,详见[WantAgent接口文档](../reference/apis/js-apis-app-ability-wantAgent.md)。 | | | | -------- | -------- | @@ -78,17 +78,17 @@ } ``` -4. 调用[getWantAgent()](../reference/apis/js-apis-wantAgent.md#wantagentgetwantagent)方法进行创建WantAgent。 +4. 调用[getWantAgent()](../reference/apis/js-apis-app-ability-wantAgent.md#wantagentgetwantagent)方法进行创建WantAgent。 ```typescript // 创建WantAgent wantAgent.getWantAgent(wantAgentInfo, (err, data) => { - if (err.code === 0) { - console.error('[WantAgent]getWantAgent err=' + JSON.stringify(err)); - } else { - console.info('[WantAgent]getWantAgent success'); - wantAgentObj = data; + if (err) { + console.error('[WantAgent]getWantAgent err=' + JSON.stringify(err)); + return; } + console.info('[WantAgent]getWantAgent success'); + wantAgentObj = data; }); ``` diff --git a/zh-cn/application-dev/quick-start/app-configuration-file.md b/zh-cn/application-dev/quick-start/app-configuration-file.md index 8c7195d724e22f55af15ba2e6d906f64f1f5ac6e..1f8d24a694a3117e71810ba1a0b7c3b5c947c5fa 100644 --- a/zh-cn/application-dev/quick-start/app-configuration-file.md +++ b/zh-cn/application-dev/quick-start/app-configuration-file.md @@ -34,7 +34,7 @@ app.json5配置文件包含以下标签。 | 属性名称 | 含义 | 数据类型 | 是否可缺省 | | -------- | -------- | -------- | -------- | -| bundleName | 标识应用的包名,用于标识应用的唯一性。该标签不可缺省。标签的值命名规则 :
- 字符串以字母、数字、下划线和符号“.”组成。
- 以字母开头。
- 最小长度7个字节,最大长度127个字节。
推荐采用反域名形式命名(如com.example.demo,建议第一级为域名后缀com,第二级为厂商/个人名,第三级为应用名,也可以多级)。
其中,随系统源码编译的应用建议命名为“com.ohos.demo”形式, ohos标识OpenHarmony系统应用。 | 字符串 | 该标签不可缺省。 | +| bundleName | 标识应用的Bundle名称,用于标识应用的唯一性。该标签不可缺省。标签的值命名规则 :
- 字符串以字母、数字、下划线和符号“.”组成。
- 以字母开头。
- 最小长度7个字节,最大长度127个字节。
推荐采用反域名形式命名(如com.example.demo,建议第一级为域名后缀com,第二级为厂商/个人名,第三级为应用名,也可以多级)。
其中,随系统源码编译的应用建议命名为“com.ohos.demo”形式, ohos标识OpenHarmony系统应用。 | 字符串 | 该标签不可缺省。 | | debug | 标识应用是否可调试,该标签由IDE编译构建时生成。
- true:可调试。
- false:不可调式。 | 布尔值 | 该标签可以缺省,缺省为false。 | | icon | 标识[应用的图标](../application-models/application-component-configuration-stage.md),标签值为图标资源文件的索引。 | 字符串 | 该标签不可缺省。 | | label | 标识[应用的名称](../application-models/application-component-configuration-stage.md),标签值为字符串资源的索引。 | 字符串 | 该标签不可缺省。 | diff --git a/zh-cn/application-dev/quick-start/app-structure.md b/zh-cn/application-dev/quick-start/app-structure.md index 6cbaa6665dfe4b6966acd7b309d1d939f490f75a..b865b4bb2e485ca84117a61496c44ef49d447d81 100644 --- a/zh-cn/application-dev/quick-start/app-structure.md +++ b/zh-cn/application-dev/quick-start/app-structure.md @@ -7,7 +7,7 @@ app对象包含应用全局配置信息,内部结构如下: | 属性名称 | 含义 | 数据类型 | 是否可缺省 | | -------- | -------- | -------- | -------- | -| bundleName | 标识应用的包名,用于标识应用的唯一性。包名是由字母、数字、下划线(_)和点号(.)组成的字符串,必须以字母开头。支持的字符串长度为7~127字节。包名通常采用反向域名形式表示(例如,"com.example.myapplication")。建议第一级为域名后缀"com",第二级为厂商/个人名,也可以采用多级。 | 字符串 | 不可缺省。 | +| bundleName | 标识应用的Bundle名称,用于标识应用的唯一性。Bundle名称是由字母、数字、下划线(_)和点号(.)组成的字符串,必须以字母开头。支持的字符串长度为7~127字节。Bundle名称通常采用反向域名形式表示(例如,"com.example.myapplication")。建议第一级为域名后缀"com",第二级为厂商/个人名,也可以采用多级。 | 字符串 | 不可缺省。 | | vendor | 标识对应用开发厂商的描述。字符串长度不超过255字节。 | 字符串 | 可缺省,缺省值为空。 | |version | 标识应用的版本信息。 | 对象 | 不可缺省。 | | apiVersion | 标识应用程序所依赖的OpenHarmony API版本。 | 对象 | 可缺省,缺省值为空。 | diff --git a/zh-cn/application-dev/quick-start/application-configuration-file-overview-fa.md b/zh-cn/application-dev/quick-start/application-configuration-file-overview-fa.md index c7e0627fba1d5a7f2197d12cf5393854bc4cda3d..7db321a4cfce86759db2e2fca0218fa735c5aefc 100644 --- a/zh-cn/application-dev/quick-start/application-configuration-file-overview-fa.md +++ b/zh-cn/application-dev/quick-start/application-configuration-file-overview-fa.md @@ -7,7 +7,7 @@ 应用配置文件需申明以下内容: -- 应用的软件包名称,应用的开发厂商,版本号等应用的基本配置信息,这些信息被要求设置在app这个字段下。 +- 应用的软件Bundle名称,应用的开发厂商,版本号等应用的基本配置信息,这些信息被要求设置在app这个字段下。 - 应用的组件的基本信息,包括所有的Ability,设备类型,组件的类型以及当前组件所使用的语法类型。 diff --git a/zh-cn/application-dev/quick-start/application-configuration-file-overview-stage.md b/zh-cn/application-dev/quick-start/application-configuration-file-overview-stage.md index c55b1e8efe9775472a5615002bc4116dd5078da9..6fe06ff209f927a182deb971d1195c3ce373cbba 100644 --- a/zh-cn/application-dev/quick-start/application-configuration-file-overview-stage.md +++ b/zh-cn/application-dev/quick-start/application-configuration-file-overview-stage.md @@ -10,7 +10,7 @@ [app.json5](app-configuration-file.md)主要包含以下内容: -- 应用的全局配置信息,包含应用的包名、开发厂商、版本号等基本信息。 +- 应用的全局配置信息,包含应用的Bundle名称、开发厂商、版本号等基本信息。 - 特定设备类型的配置信息。 diff --git a/zh-cn/application-dev/quick-start/application-package-structure-stage.md b/zh-cn/application-dev/quick-start/application-package-structure-stage.md index 72ce314905f21d403c7986d61ba7e4ac650e5230..b484f0ab579c178fd2e1dd0a62452ee54c0e2157 100644 --- a/zh-cn/application-dev/quick-start/application-package-structure-stage.md +++ b/zh-cn/application-dev/quick-start/application-package-structure-stage.md @@ -18,9 +18,9 @@ - 每个OpenHarmony应用可以包含多个.hap文件,一个应用中的.hap文件合在一起称为一个Bundle,而bundleName就是应用的唯一标识(请参见[app.json5配置文件](app-configuration-file.md)中的bundleName标签)。需要特别说明的是:在应用上架到应用市场时,需要把应用包含的所有.hap文件(即Bundle)打包为一个.app后缀的文件用于上架,这个.app文件称为App Pack(Application Package),其中同时包含了描述App Pack属性的pack.info文件;在云端分发和端侧安装时,都是以HAP为单位进行分发和安装的。 -- 打包后的HAP包结构包括ets、libs、resources等文件夹和resources.index、module.json、pack.info等文件。 +- 打包后的HAP结构包括ets、libs、resources等文件夹和resources.index、module.json、pack.info等文件。 - ets目录用于存放应用代码编译后的字节码文件。 - - libs目录用于存放库文件。库文件是OpenHarmony应用依赖的第三方代码(例如.so、.jar、.bin、.har等二进制文件)。 + - libs目录用于存放库文件。库文件是OpenHarmony应用依赖的第三方代码(.so二进制文件)。 - resources目录用于存放应用的资源文件(字符串、图片等),便于开发者使用和维护,详见[资源文件的使用](../key-features/multi-device-app-dev/resource-usage.md)。 - resources.index是资源索引表,由IDE编译工程时生成。 - module.json是HAP的配置文件,内容由工程配置中的module.json5和app.json5组成,该文件是HAP中必不可少的文件。IDE会自动生成一部分默认配置,开发者按需修改其中的配置。详细字段请参见[应用配置文件](application-configuration-file-overview-stage.md)。 diff --git a/zh-cn/application-dev/quick-start/arkts-basic-ui-description.md b/zh-cn/application-dev/quick-start/arkts-basic-ui-description.md index c705d35f5cca6c34cd7d52986153663246946f67..bf975b96765f0b4b0ab94ac3c80dda0aa320eb73 100644 --- a/zh-cn/application-dev/quick-start/arkts-basic-ui-description.md +++ b/zh-cn/application-dev/quick-start/arkts-basic-ui-description.md @@ -121,7 +121,7 @@ Text(`count: ${this.count}`) ```ts Button('add counter') .onClick(() => { - this.counter += 2 + this.counter += 2; }) ``` @@ -130,7 +130,7 @@ Text(`count: ${this.count}`) ```ts Button('add counter') .onClick(function () { - this.counter += 2 + this.counter += 2; }.bind(this)) ``` @@ -138,11 +138,11 @@ Text(`count: ${this.count}`) ```ts myClickHandler(): void { - this.counter += 2 + this.counter += 2; } ... - + Button('add counter') .onClick(this.myClickHandler.bind(this)) ``` @@ -174,10 +174,10 @@ Text(`count: ${this.count}`) .height(100) Button('click +1') .onClick(() => { - console.info('+1 clicked!') + console.info('+1 clicked!'); }) } - + Divider() Row() { Image('test2.jpg') @@ -185,10 +185,10 @@ Text(`count: ${this.count}`) .height(100) Button('click +2') .onClick(() => { - console.info('+2 clicked!') + console.info('+2 clicked!'); }) } - + Divider() Row() { Image('test3.jpg') @@ -196,7 +196,7 @@ Text(`count: ${this.count}`) .height(100) Button('click +3') .onClick(() => { - console.info('+3 clicked!') + console.info('+3 clicked!'); }) } } diff --git a/zh-cn/application-dev/quick-start/arkts-state-mgmt-page-level.md b/zh-cn/application-dev/quick-start/arkts-state-mgmt-page-level.md index 0f67972ef260d3e515a5d9a9d4b35694d8e35d1b..73356b179707aeafa783dee6b6a0e051da4c547f 100644 --- a/zh-cn/application-dev/quick-start/arkts-state-mgmt-page-level.md +++ b/zh-cn/application-dev/quick-start/arkts-state-mgmt-page-level.md @@ -82,7 +82,7 @@ struct MyComponent { ## @Prop -@Prop与@State有相同的语义,但初始化方式不同。@Prop装饰的变量必须使用其父组件提供的@State变量进行初始化,允许组件内部修改@Prop变量,但变量的更改不会通知给父组件,即@Prop属于单向数据绑定。 +@Prop与@State有相同的语义,但初始化方式不同。@Prop装饰的变量必须使用其父组件提供的@State变量进行初始化,允许组件内部修改@Prop变量,但变量的更改不会通知给父组件,父组件变量的更改会同步到@prop装饰的变量,即@Prop属于单向数据绑定。 @Prop状态数据具有以下特征: @@ -91,6 +91,8 @@ struct MyComponent { - 支持多个实例:一个组件中可以定义多个标有@Prop的属性; - 创建自定义组件时将值传递给@Prop变量进行初始化:在创建组件的新实例时,必须初始化所有@Prop变量,不支持在组件内部进行初始化。 +> **说明:** @Prop修饰的变量不能在组件内部进行初始化。 + **示例:** 在下面的示例中,当按“+1”或“-1”按钮时,父组件状态发生变化,重新执行build方法,此时将创建一个新的CountDownComponent组件实例。父组件的countDownStartValue状态变量被用于初始化子组件的@Prop变量,当按下子组件的“count - costOfOneAttempt”按钮时,其@Prop变量count将被更改,CountDownComponent重新渲染,但是count值的更改不会影响父组件的countDownStartValue值。 @@ -156,7 +158,7 @@ struct CountDownComponent { - 双向通信:子组件对@Link变量的更改将同步修改父组件中的@State变量; - 创建自定义组件时需要将变量的引用传递给@Link变量,在创建组件的新实例时,必须使用命名参数初始化所有@Link变量。@Link变量可以使用@State变量或@Link变量的引用进行初始化,@State变量可以通过`'$'`操作符创建引用。 -> **说明:** @Link变量不能在组件内部进行初始化。 +> **说明:** @Link修饰的变量不能在组件内部进行初始化。 **简单类型示例:** diff --git a/zh-cn/application-dev/quick-start/module-configuration-file.md b/zh-cn/application-dev/quick-start/module-configuration-file.md index b87c63a5b12c92f357813e47db6af53efbc3f981..589b09c9a522c192528963712d4c439634b2f51d 100644 --- a/zh-cn/application-dev/quick-start/module-configuration-file.md +++ b/zh-cn/application-dev/quick-start/module-configuration-file.md @@ -441,7 +441,7 @@ metadata中指定shortcut信息,其中: | shortcutId | 标识快捷方式的ID。字符串的最大长度为63字节。 | 字符串 | 该标签不可缺省。 | | label | 标识快捷方式的标签信息,即快捷方式对外显示的文字描述信息。取值可以是描述性内容,也可以是标识label的资源索引。字符串最大长度为255字节。 | 字符串 | 该标签可缺省,缺省值为空。 | | icon | 标识快捷方式的图标,标签值为资源文件的索引。 | 字符串 | 该标签可缺省,缺省值为空。 | -| [wants](../application-models/want-overview.md) | 标识快捷方式内定义的目标wants信息集合,每个wants可配置bundleName和abilityName两个子标签。
bundleName:表示快捷方式的目标包名,字符串类型。
abilityName:表示快捷方式的目标组件名,字符串类型。 | 对象 | 该标签可缺省,缺省为空。 | +| [wants](../application-models/want-overview.md) | 标识快捷方式内定义的目标wants信息集合,每个wants可配置bundleName和abilityName两个子标签。
bundleName:表示快捷方式的目标Bundle名称,字符串类型。
abilityName:表示快捷方式的目标组件名,字符串类型。 | 对象 | 该标签可缺省,缺省为空。 | 1. 在/resource/base/profile/目录下配置shortcuts_config.json配置文件。 diff --git a/zh-cn/application-dev/quick-start/multi-hap-build-view.md b/zh-cn/application-dev/quick-start/multi-hap-build-view.md index a1c7dfe5bc1f0b48e09f9bce5289aba340282fbe..9989efb8ca74673aef45a9548632d72e3694df08 100644 --- a/zh-cn/application-dev/quick-start/multi-hap-build-view.md +++ b/zh-cn/application-dev/quick-start/multi-hap-build-view.md @@ -10,7 +10,7 @@ IDE支持在一个应用工程中进行多个HAP的开发与构建,如下图 1. IDE开发态视图 - AppScope目录 - - [app.json5](app-configuration-file.md):配置应用全局描述信息,例如应用包名、版本号、应用图标、应用名称和依赖的SDK版本号等。 + - [app.json5](app-configuration-file.md):配置应用全局描述信息,例如应用Bundle名称、版本号、应用图标、应用名称和依赖的SDK版本号等。 - resources目录:放置应用的图标资源和应用名称字符串资源。 **说明:** diff --git a/zh-cn/application-dev/quick-start/multi-hap-principles.md b/zh-cn/application-dev/quick-start/multi-hap-principles.md index 0587c5bd8e324a668940bbeba98deb12b4611b6f..78e9b228052f0ee54ec7217388bfc199bbba8cf0 100644 --- a/zh-cn/application-dev/quick-start/multi-hap-principles.md +++ b/zh-cn/application-dev/quick-start/multi-hap-principles.md @@ -4,7 +4,7 @@ 多HAP机制主要是为方便开发者进行模块化管理。HAP和应用运行时的进程并不是一一对应的,具体运行机制如下: -- 默认情况下,应用中(同一包名)的所有UIAbility、ServiceExtensionAbility、DataShareExtensionAbility运行在同一个独立进程中,其他同类型ExtensionAbility分别运行在单独的进程。 +- 默认情况下,应用中(同一Bundle名称)的所有UIAbility、ServiceExtensionAbility、DataShareExtensionAbility运行在同一个独立进程中,其他同类型ExtensionAbility分别运行在单独的进程。 - HAP支持在module.json5(Stage模型)或者config.json(FA模型)中通过process标签配置单独的进程(仅系统应用支持,三方应用不支持)。配置了process的HAP,其组件运行在单独的process进程中,多个HAP可以配置相同的process,则这些HAP运行在相同进程中,process配置的详细说明请参见[module.json5配置文件](module-configuration-file.md)。 diff --git a/zh-cn/application-dev/quick-start/multi-hap-release-deployment.md b/zh-cn/application-dev/quick-start/multi-hap-release-deployment.md index 755009c273442c1579296bce884bb88cb3e63e6b..eb7cfba1fceaa9fbc36f81b30f1a0652d7aafb6c 100644 --- a/zh-cn/application-dev/quick-start/multi-hap-release-deployment.md +++ b/zh-cn/application-dev/quick-start/multi-hap-release-deployment.md @@ -5,7 +5,7 @@ 开发者通过[DevEco Studio](https://developer.harmonyos.com/cn/develop/deveco-studio)工具按照业务的需要创建多个Module,在相应的Module中完成自身业务的开发。 ## 2. 调试 -通过DevEco Studio编译打包,生成单个或者多个HAP包。真机基于HAP包进行安装、卸载调试,调试指南可参考[应用程序包调试方法](https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ohos-debugging-and-running-0000001263040487#section10491183521520),其中包括了单HAP与多HAP通过DevEco Studio工具的安装调试方法。 +通过DevEco Studio编译打包,生成单个或者多个HAP。真机基于HAP进行安装、卸载调试,调试指南可参考[应用程序包调试方法](https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ohos-debugging-and-running-0000001263040487#section10491183521520),其中包括了单HAP与多HAP通过DevEco Studio工具的安装调试方法。 应用程序包也可以通过[hdc_std工具](../../device-dev/subsystems/subsys-toolchain-hdc-guide.md)(可通过OpenHarmony SDK获取,在SDK的toolchains目录下)进行安装、更新与卸载,通过hdc_std安装HAP时,HAP的路径为开发平台上的文件路径,以Windows开发平台为例,命令参考如下: ``` diff --git a/zh-cn/application-dev/quick-start/start-with-ets-fa.md b/zh-cn/application-dev/quick-start/start-with-ets-fa.md index c7248ea8c98565038505a58391d26ab9353c7fc9..6e2818d8f7a3065560aa033caeff44f41f17aeeb 100644 --- a/zh-cn/application-dev/quick-start/start-with-ets-fa.md +++ b/zh-cn/application-dev/quick-start/start-with-ets-fa.md @@ -40,7 +40,7 @@ - **src > main > ets > MainAbility > pages > index.ets**:pages列表中的第一个页面,即应用的首页入口。 - **src > main > ets > MainAbility > app.ets**:承载Ability生命周期。 - **src > main > resources**:用于存放应用/服务所用到的资源文件,如图形、多媒体、字符串、布局文件等。关于资源文件,详见[资源文件的分类](resource-categories-and-access.md#资源分类)。 - - **src > main > config.json**:模块配置文件。主要包含HAP包的配置信息、应用/服务在具体设备上的配置信息以及应用/服务的全局配置信息。具体的配置文件说明,详见[应用配置文件(FA模型)](application-configuration-file-overview-fa.md)。 + - **src > main > config.json**:模块配置文件。主要包含HAP的配置信息、应用/服务在具体设备上的配置信息以及应用/服务的全局配置信息。具体的配置文件说明,详见[应用配置文件(FA模型)](application-configuration-file-overview-fa.md)。 - **build-profile.json5**:当前的模块信息 、编译信息配置项,包括buildOption、targets配置等。 - **hvigorfile.ts**:模块级编译构建任务脚本,开发者可以自定义相关任务和代码实现。 diff --git a/zh-cn/application-dev/quick-start/start-with-ets-stage.md b/zh-cn/application-dev/quick-start/start-with-ets-stage.md index 344a02a8034ca201db21f7207006c939a8d4bbc6..e4e5190da97ca8b0ffc8cb1f78b019cd4924e3ac 100644 --- a/zh-cn/application-dev/quick-start/start-with-ets-stage.md +++ b/zh-cn/application-dev/quick-start/start-with-ets-stage.md @@ -38,7 +38,7 @@ - **src > main > ets > entryability**:应用/服务的入口。 - **src > main > ets > pages**:应用/服务包含的页面。 - **src > main > resources**:用于存放应用/服务所用到的资源文件,如图形、多媒体、字符串、布局文件等。关于资源文件,详见[资源文件的分类](resource-categories-and-access.md#资源分类)。 - - **src > main > module.json5**:模块配置文件。主要包含HAP包的配置信息、应用/服务在具体设备上的配置信息以及应用/服务的全局配置信息。具体的配置文件说明,详见[module.json5配置文件](module-configuration-file.md)。 + - **src > main > module.json5**:模块配置文件。主要包含HAP的配置信息、应用/服务在具体设备上的配置信息以及应用/服务的全局配置信息。具体的配置文件说明,详见[module.json5配置文件](module-configuration-file.md)。 - **build-profile.json5**:当前的模块信息 、编译信息配置项,包括buildOption、targets配置等。 - **hvigorfile.ts**:模块级编译构建任务脚本,开发者可以自定义相关任务和代码实现。 diff --git a/zh-cn/application-dev/quick-start/start-with-js-fa.md b/zh-cn/application-dev/quick-start/start-with-js-fa.md index 8dc0d1b5f542dda575ef77925d3b265d21b2cfe9..1cf6350ac7ab98dd7e4ece38e4c517d571507d85 100644 --- a/zh-cn/application-dev/quick-start/start-with-js-fa.md +++ b/zh-cn/application-dev/quick-start/start-with-js-fa.md @@ -39,7 +39,7 @@ - **src > main > js > MainAbility > app.js**:承载Ability生命周期。 - **src > main > resources**:用于存放应用/服务所用到的资源文件,如图形、多媒体、字符串、布局文件等。关于资源文件,详见[资源限定与访问](../ui/js-framework-resource-restriction.md)。 - - **src > main > config.json**:模块配置文件。主要包含HAP包的配置信息、应用/服务在具体设备上的配置信息以及应用/服务的全局配置信息。具体的配置文件说明,详见[应用配置文件(FA模型)](application-configuration-file-overview-fa.md)。 + - **src > main > config.json**:模块配置文件。主要包含HAP的配置信息、应用/服务在具体设备上的配置信息以及应用/服务的全局配置信息。具体的配置文件说明,详见[应用配置文件(FA模型)](application-configuration-file-overview-fa.md)。 - **build-profile.json5**:当前的模块信息 、编译信息配置项,包括buildOption、targets配置等。 - **hvigorfile.ts**:模块级编译构建任务脚本,开发者可以自定义相关任务和代码实现。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-Bundle-BundleStatusCallback.md b/zh-cn/application-dev/reference/apis/js-apis-Bundle-BundleStatusCallback.md index 1d578d24c253adc3913460f3e9008f4b66430cb6..e67d24ae07803dcc71bfdf9b2ca9ded609919e5e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-Bundle-BundleStatusCallback.md +++ b/zh-cn/application-dev/reference/apis/js-apis-Bundle-BundleStatusCallback.md @@ -1,10 +1,10 @@ # BundleStatusCallback > **说明:** -> 从API version 9开始不再支持。建议使用[bundleMonitor](js-apis-bundleMonitor.md)替代。 +> 本模块首批接口从API version 8 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 -应用状态回调的信息,通过接口[innerBundleManager.on](js-apis-Bundle-InnerBundleManager.md)获取。 +应用状态发生变化时回调的信息,通过接口[innerBundleManager.on](js-apis-Bundle-InnerBundleManager.md)获取。 ## BundleStatusCallback(deprecated) diff --git a/zh-cn/application-dev/reference/apis/js-apis-Bundle-InnerBundleManager.md b/zh-cn/application-dev/reference/apis/js-apis-Bundle-InnerBundleManager.md index 69a1083779c9f4cef700bf5e78bbf33e198b60f4..e2a66d7d3e301aa1234e5230b292e1a42a4b858f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-Bundle-InnerBundleManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-Bundle-InnerBundleManager.md @@ -21,7 +21,7 @@ SystemCapability.BundleManager.BundleFramework getLauncherAbilityInfos(bundleName: string, userId: number, callback: AsyncCallback<Array<LauncherAbilityInfo>>) : void; -以异步方法根据给定的包名获取LauncherAbilityInfos,使用callback形式返回结果。 +以异步方法根据给定的Bundle名称获取LauncherAbilityInfos,使用callback形式返回结果。 > 从API version 9开始不再支持。建议使用[launcherBundleManager#getLauncherAbilityInfo](js-apis-launcherBundleManager.md)替代。 **需要权限:** @@ -38,18 +38,18 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| ---------- | ------------------------------------------------------------ | ---- | ----------------------------------------------------- | -| bundleName | string | 是 | 要查询的应用程序包名称。 | -| userId | number | 是 | 用户ID。取值范围:大于等于0。 | -| callback | AsyncCallback\> | 是 | 程序启动作为入参的回调函数,返回程序信息。 | +| 参数名 | 类型 | 必填 | 说明 | +| ---------- | ------------------------------------------------------------ | ---- | ------------------------------------------ | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | +| userId | number | 是 | 用户ID。取值范围:大于等于0。 | +| callback | AsyncCallback\> | 是 | 程序启动作为入参的回调函数,返回程序信息。 | ## innerBundleManager.getLauncherAbilityInfos(deprecated) getLauncherAbilityInfos(bundleName: string, userId: number) : Promise<Array<LauncherAbilityInfo>> -以异步方法根据给定的包名获取LauncherAbilityInfos,使用Promise形式返回结果。 +以异步方法根据给定的Bundle名称获取LauncherAbilityInfos,使用Promise形式返回结果。 > 从API version 9开始不再支持。建议使用[launcherBundleManager#getLauncherAbilityInfo](js-apis-launcherBundleManager.md)替代。 **需要权限:** @@ -66,9 +66,9 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| ---------- | ------ | ---- | ----------------------------------------------------- | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| 参数名 | 类型 | 必填 | 说明 | +| ---------- | ------ | ---- | ----------------------------- | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | userId | number | 是 | 用户ID。取值范围:大于等于0。 | **返回值:** @@ -254,7 +254,7 @@ SystemCapability.BundleManager.BundleFramework getShortcutInfos(bundleName :string, callback: AsyncCallback<Array<ShortcutInfo>>) : void; -以异步方法根据给定的包名获取快捷方式信息,使用callback形式返回结果。 +以异步方法根据给定的Bundle名称获取快捷方式信息,使用callback形式返回结果。 > 从API version 9开始不再支持。建议使用[launcherBundleManager#getShortcutInfo](js-apis-launcherBundleManager.md)替代。 **需要权限:** @@ -273,14 +273,14 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------------------------------------------------------------ | ---- | ---------------------------------------------- | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | callback | AsyncCallback\> | 是 | 程序启动作为入参的回调函数,返回快捷方式信息。 | ## innerBundleManager.getShortcutInfos(deprecated) getShortcutInfos(bundleName : string) : Promise<Array<ShortcutInfo>> -以异步方法根据给定的包名获取快捷方式信息,使用Promise形式返回结果。 +以异步方法根据给定的Bundle名称获取快捷方式信息,使用Promise形式返回结果。 > 从API version 9开始不再支持。建议使用[launcherBundleManager#getShortcutInfo](js-apis-launcherBundleManager.md)替代。 **需要权限:** @@ -299,7 +299,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------ | ---- | ------------------------ | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | **返回值:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-Bundle.md b/zh-cn/application-dev/reference/apis/js-apis-Bundle.md index 79013f348dd8f0c38000c4e84e5a080ecfa838cc..250302245b41ad7c8dd07de9979a919565d2e5cd 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-Bundle.md +++ b/zh-cn/application-dev/reference/apis/js-apis-Bundle.md @@ -15,10 +15,11 @@ import bundle from '@ohos.bundle'; | 权限 | 权限等级 | 描述 | |--------------------------------------------|--------------|---------------| -| ohos.permission.GET_BUNDLE_INFO | normal | 查询指定应用信息。 | +| ohos.permission.CHANGE_ABILITY_ENABLED_STATE | system_basic | 设置禁用使能所需的权限。 | +| ohos.permission.GET_BUNDLE_INFO | normal | 查询指定应用信息。 | | ohos.permission.GET_BUNDLE_INFO_PRIVILEGED | system_basic | 可查询所有应用信息。 | | ohos.permission.INSTALL_BUNDLE | system_core | 可安装、卸载应用。 | -| ohos.permission.MANAGE_DISPOSED_APP_STATUS | system_core | 可设置和查询应用的处置状态。 | +| ohos.permission.REMOVE_CACHE_FILES | system_basic | 清理应用缓存。 | 权限等级参考[权限等级说明](../../security/accesstoken-overview.md#权限等级说明)。 @@ -28,7 +29,7 @@ import bundle from '@ohos.bundle'; getApplicationInfo(bundleName: string, bundleFlags: number, userId?: number): Promise\ -以异步方法根据给定的包名获取ApplicationInfo。使用Promise异步回调。 +以异步方法根据给定的Bundle名称获取ApplicationInfo。使用Promise异步回调。 获取调用方自己的信息时不需要权限。 @@ -44,7 +45,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- | ------------------------------------------------------------ | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | bundleFlags | number | 是 | 用于指定返回的应用信息对象中包含信息的标记。取值范围请参考[BundleFlag说明](#bundleflagdeprecated)中应用信息相关flag。 | | userId | number | 否 | 用户ID。默认值:调用方所在用户,取值范围:大于等于0。 | @@ -74,7 +75,7 @@ bundle.getApplicationInfo(bundleName, bundleFlags, userId) getApplicationInfo(bundleName: string, bundleFlags: number, userId: number, callback: AsyncCallback\): void -以异步方法根据给定的包名获取指定用户下的ApplicationInfo,使用callback形式返回结果。 +以异步方法根据给定的Bundle名称获取指定用户下的ApplicationInfo,使用callback形式返回结果。 获取调用方自己的信息时不需要权限。 @@ -90,9 +91,9 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | bundleFlags | number | 是 | 用于指定返回的应用信息对象中包含信息的标记。取值范围:参考[BundleFlag说明](#bundleflag)中应用信息相关flag。 | -| userId | number | 是 | 用户ID。取值范围:大于等于0。 | +| userId | number | 是 | 用户ID。取值范围:大于等于0。 | | callback | AsyncCallback\<[ApplicationInfo](js-apis-bundle-ApplicationInfo.md)> | 是 | 程序启动作为入参的回调函数,返回应用程序信息。 | **示例:** @@ -117,7 +118,7 @@ bundle.getApplicationInfo(bundleName, bundleFlags, userId, (err, data) => { getApplicationInfo(bundleName: string, bundleFlags: number, callback: AsyncCallback\): void -以异步方法根据给定的包名获取ApplicationInfo,使用callback形式返回结果。 +以异步方法根据给定的Bundle名称获取ApplicationInfo,使用callback形式返回结果。 获取调用方自己的信息时不需要权限。 @@ -133,7 +134,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | bundleFlags | number | 是 | 用于指定返回的应用信息对象中包含信息的标记。取值范围:参考[BundleFlag说明](#bundleflag)中应用信息相关flag。 | | callback | AsyncCallback\<[ApplicationInfo](js-apis-bundle-ApplicationInfo.md)> | 是 | 程序启动作为入参的回调函数,返回应用程序信息。 | @@ -186,6 +187,7 @@ SystemCapability.BundleManager.BundleFramework ```ts let bundleFlag = 0; let userId = 100; + bundle.getAllBundleInfo(bundleFlag, userId) .then((data) => { console.info('Operation successful. Data: ' + JSON.stringify(data)); @@ -278,7 +280,7 @@ bundle.getAllBundleInfo(bundleFlag, userId, (err, data) => { getBundleInfo(bundleName: string, bundleFlags: number, options?: BundleOptions): Promise\ -以异步方法根据给定的包名获取BundleInfo,使用Promise异步回调。 +以异步方法根据给定的Bundle名称获取BundleInfo,使用Promise异步回调。 获取调用方自己的信息时不需要权限。 @@ -294,7 +296,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------------- | ---- |---------------------------------------------------------------------| -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | bundleFlags | number | 是 | 用于指定返回的应用信息对象中包含信息的标记。取值范围:参考[BundleFlag说明](#bundleflag)中包信息相关flag。 | | options | [BundleOptions](#bundleoptions) | 否 | 包含userid的查询选项。 | @@ -326,7 +328,7 @@ bundle.getBundleInfo(bundleName, bundleFlags, options) getBundleInfo(bundleName: string, bundleFlags: number, callback: AsyncCallback\): void -以异步方法根据给定的包名获取BundleInfo,使用callback异步回调。 +以异步方法根据给定的Bundle名称获取BundleInfo,使用callback异步回调。 获取调用方自己的信息时不需要权限。 @@ -340,11 +342,11 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| ----------- | ---------------------------------------------------------- | ---- |---------------------------------------------------------------------| -| bundleName | string | 是 | 需要查询的应用程序包名称。 | +| 参数名 | 类型 | 必填 | 说明 | +| ----------- | ---------------------------------------------------------- | ---- | ------------------------------------------------------------ | +| bundleName | string | 是 | 需要查询的应用Bundle名称。 | | bundleFlags | number | 是 | 用于指定返回的应用信息对象中包含信息的标记。取值范围:参考[BundleFlag说明](#bundleflag)中包信息相关flag。 | -| callback | AsyncCallback\<[BundleInfo](js-apis-bundle-BundleInfo.md)> | 是 | 程序启动作为入参的回调函数,返回包信息。 | +| callback | AsyncCallback\<[BundleInfo](js-apis-bundle-BundleInfo.md)> | 是 | 程序启动作为入参的回调函数,返回包信息。 | **示例:** @@ -360,14 +362,13 @@ bundle.getBundleInfo(bundleName, bundleFlags, (err, data) => { }) ``` - ## bundle.getBundleInfodeprecated > 从API version 9开始不再维护,建议使用[bundleManager.getBundleInfo](js-apis-bundleManager.md#bundlemanagergetbundleinfo)替代。 getBundleInfo(bundleName: string, bundleFlags: number, options: BundleOptions, callback: AsyncCallback\): void -以异步方法根据给定的包名获取BundleInfo,使用callback异步回调。 +以异步方法根据给定的Bundle名称获取BundleInfo,使用callback异步回调。 获取调用方自己的信息时不需要权限。 @@ -383,7 +384,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ----------- | ---------------------------------------------------------- | ---- | ------------------------------------------------------------ | -| bundleName | string | 是 | 要查询的应用包名。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | bundleFlags | number | 是 | 用于指定返回的应用信息对象中包含信息的标记。取值范围:参考[BundleFlag说明](#bundleflag)中包信息相关flag。 | | options | [BundleOptions](#bundleoptions) | 是 | 包含userid。 | | callback | AsyncCallback\<[BundleInfo](js-apis-bundle-BundleInfo.md)> | 是 | 程序启动作为入参的回调函数,返回包信息。 | @@ -504,7 +505,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------------------- | ---- | ------------------------------------- | -| bundleName | string | 是 | 指示要清除其缓存数据的应用程序包名称。 | +| bundleName | string | 是 | 指示要清除其缓存数据的应用Bundle名称。 | | callback | AsyncCallback\ | 是 | 回调函数。 | **示例:** @@ -545,7 +546,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------ | ---- | ------------------------------------- | -| bundleName | string | 是 | 指示要清除其缓存数据的应用程序包名称。 | +| bundleName | string | 是 | 指示要清除其缓存数据的应用Bundle名称。 | **返回值:** @@ -589,7 +590,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------------------- | ---- |--------------------------------| -| bundleName | string | 是 | 指示需要启用或禁用的应用程序包名称。 | +| bundleName | string | 是 | 指示需要启用或禁用的应用Bundle名称。 | | isEnable | boolean | 是 | 指定是否启用应用程序。true表示启用,false表示禁用。 | | callback | AsyncCallback\ | 是 | 回调函数。 | @@ -629,9 +630,9 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| ---------- | ------- | ---- |------------------------------| -| bundleName | string | 是 | 指示需要启用或禁用的应用程序包名称。 | +| 参数名 | 类型 | 必填 | 说明 | +| ---------- | ------- | ---- | ----------------------------------------------- | +| bundleName | string | 是 | 指示需要启用或禁用的应用Bundle名称。 | | isEnable | boolean | 是 | 指定是否启用应用程序。true表示启用,false禁用。 | **返回值:** @@ -941,7 +942,7 @@ bundle.getAllApplicationInfo(bundleFlags, (err, data) => { getBundleArchiveInfo(hapFilePath: string, bundleFlags: number) : Promise\ -获取有关HAP包中包含的应用程序包的信息,使用Promise形式返回结果。 +获取有关HAP中包含的应用程序包的信息,使用Promise形式返回结果。 **系统能力:** @@ -955,9 +956,9 @@ SystemCapability.BundleManager.BundleFramework | bundleFlags | number | 是 | 用于指定要返回的BundleInfo对象中包含信息的标记。取值范围:参考[BundleFlag说明](#bundleflag)中包信息相关flag。 | **返回值:** -| 类型 | 说明 | -| -------------- | -------------------------------------- | -| Promise\<[BundleInfo](js-apis-bundle-BundleInfo.md)> | 返回值为Promise对象,Promise中包含有关hap包中包含的应用程序的信息。 | +| 类型 | 说明 | +| ---------------------------------------------------- | ------------------------------------------------------------ | +| Promise\<[BundleInfo](js-apis-bundle-BundleInfo.md)> | 返回值为Promise对象,Promise中包含有关HAP中包含的应用程序的信息。 | **示例:** @@ -978,7 +979,7 @@ bundle.getBundleArchiveInfo(hapFilePath, bundleFlags) getBundleArchiveInfo(hapFilePath: string, bundleFlags: number, callback: AsyncCallback\) : void -以异步方法获取有关HAP包中包含的应用程序包的信息,使用callback形式返回结果。 +以异步方法获取有关HAP中包含的应用程序包的信息,使用callback形式返回结果。 **系统能力:** @@ -990,7 +991,7 @@ SystemCapability.BundleManager.BundleFramework | ---------- | ------ | ---- | ------------ | | hapFilePath | string | 是 | HAP存放路径,支持当前应用程序的绝对路径和数据目录沙箱路径。 | | bundleFlags | number | 是 | 用于指定要返回的BundleInfo对象中包含信息的标记。取值范围:参考[BundleFlag说明](#bundleflag)中包信息相关flag。 | -| callback| AsyncCallback\<[BundleInfo](js-apis-bundle-BundleInfo.md)> | 是 | 程序启动作为入参的回调函数,返回HAP包中包含的应用程序包的信息。| +| callback| AsyncCallback\<[BundleInfo](js-apis-bundle-BundleInfo.md)> | 是 | 程序启动作为入参的回调函数,返回HAP中包含的应用程序包的信息。 | **示例:** @@ -1006,14 +1007,13 @@ bundle.getBundleArchiveInfo(hapFilePath, bundleFlags, (err, data) => { }) ``` - ## bundle.getAbilityInfodeprecated > 从API version 9开始不再维护,建议使用[bundleManager.queryAbilityInfo](js-apis-bundleManager.md#bundlemanagerqueryabilityinfo)替代。 getAbilityInfo(bundleName: string, abilityName: string): Promise\ -通过包名称和组件名获取Ability组件信息,使用Promise形式异步回调。 +通过Bundle名称和组件名获取Ability组件信息,使用Promise形式异步回调。 获取调用方自己的信息时不需要权限。 @@ -1029,7 +1029,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- |------------| -| bundleName | string | 是 | 应用程序包名称。 | +| bundleName | string | 是 | 应用Bundle名称。 | | abilityName | string | 是 | Ability组件名称。 | **返回值:** @@ -1057,7 +1057,7 @@ bundle.getAbilityInfo(bundleName, abilityName) getAbilityInfo(bundleName: string, abilityName: string, callback: AsyncCallback\): void; -通过包名称和组件名获取Ability组件信息,使用callback形式返回结果。 +通过Bundle名称和组件名获取Ability组件信息,使用callback形式返回结果。 获取调用方自己的信息时不需要权限。 @@ -1073,7 +1073,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------------ | ---- |----------------------------| -| bundleName | string | 是 | 应用程序包名称。 | +| bundleName | string | 是 | 应用Bundle名称。 | | abilityName | string | 是 | Ability名称。 | | callback | AsyncCallback\<[AbilityInfo](js-apis-bundle-AbilityInfo.md)> | 是 | 程序启动作为入参的回调函数,返回Ability信息。 | @@ -1097,7 +1097,7 @@ bundle.getAbilityInfo(bundleName, abilityName, (err, data) => { getAbilityLabel(bundleName: string, abilityName: string): Promise\ -通过包名称和ability名称获取应用名称,使用Promise形式返回结果。 +通过Bundle名称和ability名称获取应用名称,使用Promise形式返回结果。 获取调用方自己的信息时不需要权限。 @@ -1111,10 +1111,10 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -|-------------|--------|-----|------------| -| bundleName | string | 是 | 应用程序包名称。 | -| abilityName | string | 是 | Ability名称。 | +| 参数名 | 类型 | 必填 | 说明 | +| ----------- | ------ | ---- | ---------------- | +| bundleName | string | 是 | 应用Bundle名称。 | +| abilityName | string | 是 | Ability名称。 | **返回值:** @@ -1141,7 +1141,7 @@ bundle.getAbilityLabel(bundleName, abilityName) getAbilityLabel(bundleName: string, abilityName: string, callback : AsyncCallback\): void -通过包名称和Ability组件名获取应用名称,使用callback形式返回结果。 +通过Bundle名称和Ability组件名获取应用名称,使用callback形式返回结果。 获取调用方自己的信息时不需要权限。 @@ -1155,10 +1155,10 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -|-------------|------------------------|-----|-------------------------| -| bundleName | string | 是 | 应用程序包名称。 | -| abilityName | string | 是 | Ability名称。 | +| 参数名 | 类型 | 必填 | 说明 | +| ----------- | ---------------------- | ---- | ---------------------------------------------- | +| bundleName | string | 是 | 应用Bundle名称。 | +| abilityName | string | 是 | Ability名称。 | | callback | AsyncCallback\ | 是 | 程序启动作为入参的回调函数,返回应用名称信息。 | **示例:** @@ -1230,7 +1230,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | -------- | -------------------------------------------- | ---- | ----------------------- | | info | [AbilityInfo](js-apis-bundle-AbilityInfo.md) | 是 | Ability的配置信息。 | -| callback | AsyncCallback\ | 是 | 返回boolean代表是否启用。 | +| callback | AsyncCallback\ | 是 | 回调函数,返回boolean代表是否启用。 | **示例:** @@ -1264,7 +1264,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------ | ---- | ------------------------ | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | **返回值:** @@ -1300,8 +1300,8 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ---------- | ----------------------- | ---- | ------------------------ | -| bundleName | string | 是 | 要查询的应用程序包名称。 | -| callback | AsyncCallback\ | 是 | 返回boolean代表是否启用。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | +| callback | AsyncCallback\ | 是 | 回调函数,返回boolean代表是否启用。 | **示例:** @@ -1338,7 +1338,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- | ------------------------------------- | -| want | [Want](js-apis-application-want.md) | 是 | 包含要查询的应用程序包名称的意图。 | +| want | [Want](js-apis-application-want.md) | 是 | 包含要查询的应用Bundle名称的意图。 | | bundleFlags | number | 是 | 用于指定返回abilityInfo信息。取值范围:参考[BundleFlag说明](#bundleflag)中Ability信息相关flag。 | | userId | number | 否 | 用户ID。默认值:调用方所在用户,取值范围:大于等于0。 | @@ -1387,12 +1387,12 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -|-------------|---------------------------------------------------------------------|-----|-------------------------------------------------------------------------| -| want | [Want](js-apis-application-want.md) | 是 | 指示包含要查询的应用程序包名称的意图。 | -| bundleFlags | number | 是 | 用于指定返回abilityInfo信息。取值范围:参考[BundleFlag说明](#bundleflag)中Ability信息相关flag。 | -| userId | number | 是 | 用户ID。取值范围:大于等于0。 | -| callback | AsyncCallback> | 是 | 程序启动作为入参的回调函数,返回Ability信息。 | +| 参数名 | 类型 | 必填 | 说明 | +| ----------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | +| want | [Want](js-apis-application-want.md) | 是 | 指示包含要查询的应用Bundle名称的意图。 | +| bundleFlags | number | 是 | 用于指定返回abilityInfo信息。取值范围:参考[BundleFlag说明](#bundleflag)中Ability信息相关flag。 | +| userId | number | 是 | 用户ID。取值范围:大于等于0。 | +| callback | AsyncCallback> | 是 | 程序启动作为入参的回调函数,返回Ability信息。 | **示例:** @@ -1432,11 +1432,11 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -|-------------|---------------------------------------------------------------------|-----|-------------------------------------------------------------------------| -| want | [Want](js-apis-application-want.md) | 是 | 指示包含要查询的应用程序包名称的意图。 | -| bundleFlags | number | 是 | 用于指定返回abilityInfo信息。取值范围:参考[BundleFlag说明](#bundleflag)中Ability信息相关flag。 | -| callback | AsyncCallback> | 是 | 程序启动作为入参的回调函数,返回Ability信息。 | +| 参数名 | 类型 | 必填 | 说明 | +| ----------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | +| want | [Want](js-apis-application-want.md) | 是 | 指示包含要查询的应用Bundle名称的意图。 | +| bundleFlags | number | 是 | 用于指定返回abilityInfo信息。取值范围:参考[BundleFlag说明](#bundleflag)中Ability信息相关flag。 | +| callback | AsyncCallback> | 是 | 程序启动作为入参的回调函数,返回Ability信息。 | **示例:** @@ -1477,7 +1477,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------ | ---- | ------------------------ | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | **返回值:** | 类型 | 说明 | @@ -1516,7 +1516,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ---------- | --------------------------------------------------- | ---- | -------------------------------------------------------- | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | callback | AsyncCallback\<[Want](js-apis-application-want.md)> | 是 | 程序启动作为入参的回调函数,返回拉起指定应用的want对象。 | **示例:** @@ -1539,7 +1539,7 @@ bundle.getLaunchWantForBundle(bundleName, (err, data) => { getNameForUid(uid: number): Promise\ -以异步方法通过uid获取对应的包名,使用Promise形式返回结果。 +以异步方法通过uid获取对应的Bundle名称,使用Promise形式返回结果。 **系统能力:** @@ -1554,7 +1554,7 @@ SystemCapability.BundleManager.BundleFramework **返回值:** | 类型 | 说明 | | ---------------- | --------------------------------- | -| Promise\ | 返回值为Promise对象,Promise中包含指定uid的包名称。 | +| Promise\ | 返回值为Promise对象,Promise中包含指定uid的Bundle名称。 | **示例:** @@ -1574,7 +1574,7 @@ bundle.getNameForUid(uid) getNameForUid(uid: number, callback: AsyncCallback\) : void -以异步方法通过uid获取对应的包名,使用callback形式返回结果。 +以异步方法通过uid获取对应的Bundle名称,使用callback形式返回结果。 **系统能力:** @@ -1582,10 +1582,10 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -|----------|------------------------|-----|----------------------------| -| uid | number | 是 | 要查询的uid。 | -| callback | AsyncCallback\ | 是 | 程序启动作为入参的回调函数,返回指定uid的包名称。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | ---------------------- | ---- | ----------------------------------------------------- | +| uid | number | 是 | 要查询的uid。 | +| callback | AsyncCallback\ | 是 | 程序启动作为入参的回调函数,返回指定uid的Bundle名称。 | **示例:** @@ -1621,10 +1621,10 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| ----------- | ------ | ---- |-----------------| -| bundleName | string | 是 | 要查询的应用包名。 | -| abilityName | string | 是 | 要查询的Ability组件名。 | +| 参数名 | 类型 | 必填 | 说明 | +| ----------- | ------ | ---- | ------------------------ | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | +| abilityName | string | 是 | 要查询的Ability组件名。 | **返回值:** | 类型 | 说明 | @@ -1667,7 +1667,7 @@ SystemCapability.BundleManager.BundleFramework | 参数名 | 类型 | 必填 | 说明 | | ----------- | ---------------------------------------- | ---- |-------------------------------------------------| -| bundleName | string | 是 | 要查询的应用包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | abilityName | string | 是 | 要查询的Ability组件名。 | | callback | AsyncCallback\ | 是 | 程序启动作为入参的回调函数,返回指定[PixelMap](js-apis-image.md)。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-EnterpriseAdminExtensionAbility.md b/zh-cn/application-dev/reference/apis/js-apis-EnterpriseAdminExtensionAbility.md index fde9e837463a5245961b1b29a0c039aa0edafb3b..4b52a7987bec96def8c77a4e8c149822b02662ed 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-EnterpriseAdminExtensionAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-EnterpriseAdminExtensionAbility.md @@ -68,7 +68,7 @@ onBundleAdded(bundleName: string): void | 参数名 | 类型 | 必填 | 说明 | | ----- | ----------------------------------- | ---- | ------- | -| bundleName | string | 是 | 安装应用包名。 | +| bundleName | string | 是 | 安装应用Bundle名称。 | **示例:** @@ -94,7 +94,7 @@ onBundleRemoved(bundleName: string): void | 参数名 | 类型 | 必填 | 说明 | | ----- | ----------------------------------- | ---- | ------- | -| bundleName | string | 是 | 卸载应用包名。 | +| bundleName | string | 是 | 卸载应用Bundle名称。 | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-ability-context.md b/zh-cn/application-dev/reference/apis/js-apis-ability-context.md index 637647f8889c9cedc38cf8d2cebbabfdfb96bd41..d4b3356239197752e7838f2de446a02bf6447493 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-ability-context.md +++ b/zh-cn/application-dev/reference/apis/js-apis-ability-context.md @@ -30,8 +30,8 @@ class MainAbility extends Ability { | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| abilityInfo | AbilityInfo | 是 | 否 | Abilityinfo相关信息 | -| currentHapModuleInfo | HapModuleInfo | 是 | 否 | 当前hap包的信息 | +| abilityInfo | [AbilityInfo](js-apis-bundleManager-abilityInfo.md) | 是 | 否 | Abilityinfo相关信息 | +| currentHapModuleInfo | [HapModuleInfo](js-apis-bundleManager-hapModuleInfo.md) | 是 | 否 | 当前hap包的信息 | | config | [Configuration](js-apis-application-configuration.md) | 是 | 否 | 表示配置信息。 | ## AbilityContext.startAbility @@ -40,6 +40,11 @@ startAbility(want: Want, callback: AsyncCallback<void>): void; 启动Ability(callback形式)。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **参数:** @@ -89,6 +94,11 @@ startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void& 启动Ability(callback形式)。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **参数:** @@ -142,6 +152,11 @@ startAbility(want: Want, options?: StartOptions): Promise<void>; 启动Ability(promise形式)。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **参数:** @@ -198,7 +213,12 @@ startAbility(want: Want, options?: StartOptions): Promise<void>; startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): void; -启动Ability并在该Ability退出的时候返回执行结果(callback形式)。 +启动一个Ability。Ability被启动后,正常情况下可通过调用[terminateSelfWithResult](#abilitycontextterminateselfwithresult)接口使之终止并且返回结果给调用者。异常情况下比如杀死Ability会返回异常信息给调用者(callback形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -248,7 +268,12 @@ startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback<AbilityResult>): void; -启动Ability并在该Ability退出的时候返回执行结果(callback形式)。 +启动一个Ability。Ability被启动后,正常情况下可通过调用[terminateSelfWithResult](#abilitycontextterminateselfwithresult)接口使之终止并且返回结果给调用者。异常情况下比如杀死Ability会返回异常信息给调用者(callback形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -303,7 +328,12 @@ startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityResult>; -启动Ability并在该Ability退出的时候返回执行结果(promise形式)。 +启动一个Ability。Ability被启动后,正常情况下可通过调用[terminateSelfWithResult](#abilitycontextterminateselfwithresult)接口使之终止并且返回结果给调用者。异常情况下比如杀死Ability会返回异常信息给调用者(promise形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -363,7 +393,12 @@ startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncC 启动一个Ability并在该Ability帐号销毁时返回执行结果(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -375,7 +410,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncC | -------- | -------- | -------- | -------- | | want | [Want](js-apis-application-want.md) | 是 | 启动Ability的want信息。 | | accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getosaccountlocalidfromprocess)。 | -| callback | AsyncCallback\ | 是 | 启动Ability的回调函数,返回Ability结果。 | +| callback | AsyncCallback\<[AbilityResult](js-apis-inner-ability-abilityResult.md)\> | 是 | 启动Ability的回调函数,返回Ability结果。 | **错误码:** @@ -420,7 +455,12 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOp 启动一个Ability并在该Ability帐号销毁时返回执行结果(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -481,7 +521,12 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartO 启动一个Ability并在该Ability帐号销毁时返回执行结果(promise形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -499,7 +544,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartO | 类型 | 说明 | | -------- | -------- | -| Promise<AbilityResult> | 返回一个Promise,包含Ability结果。 | +| Promise<[AbilityResult](js-apis-inner-ability-abilityResult.md)> | 返回一个Promise,包含Ability结果。 | **错误码:** @@ -646,7 +691,7 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: 启动一个新的ServiceExtensionAbility(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -701,7 +746,7 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\ 启动一个新的ServiceExtensionAbility(Promise形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -782,8 +827,14 @@ stopServiceExtensionAbility(want: Want, callback: AsyncCallback\): void; }; try { + this.context.startAbility(want, (error) => { + if (error.code != 0) { + console.log("start ability fail, err: " + JSON.stringify(err)); + } + }) + this.context.stopServiceExtensionAbility(want, (error) => { - if (error.code) { + if (error.code != 0) { // 处理业务逻辑错误 console.log('stopServiceExtensionAbility failed, error.code: ' + JSON.stringify(error.code) + ' error.message: ' + JSON.stringify(error.message)); @@ -832,6 +883,12 @@ stopServiceExtensionAbility(want: Want): Promise\; }; try { + this.context.startAbility(want, (error) => { + if (error.code != 0) { + console.log("start ability fail, err: " + JSON.stringify(err)); + } + }) + this.context.stopServiceExtensionAbility(want) .then((data) => { // 执行正常业务 @@ -855,7 +912,7 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: 使用帐户停止同一应用程序内的服务(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -887,6 +944,12 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: var accountId = 100; try { + this.context.startAbilityWithAccount(want, accountId, (error) => { + if (error.code != 0) { + console.log("start ability fail, err: " + JSON.stringify(err)); + } + }) + this.context.stopServiceExtensionAbilityWithAccount(want, accountId, (error) => { if (error.code) { // 处理业务逻辑错误 @@ -910,7 +973,7 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\< 使用帐户停止同一应用程序内的服务(Promise形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -941,6 +1004,12 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\< var accountId = 100; try { + this.context.startAbilityWithAccount(want, accountId, (error) => { + if (error.code != 0) { + console.log("start ability fail, err: " + JSON.stringify(err)); + } + }) + this.context.stopServiceExtensionAbilityWithAccount(want, accountId) .then((data) => { // 执行正常业务 @@ -1034,7 +1103,7 @@ terminateSelf(): Promise<void>; terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback<void>): void; -停止Ability,配合startAbilityForResult使用,返回给接口调用方AbilityResult信息(callback形式)。 +停止当前的Ability。如果该Ability是通过调用[startAbilityForResult](#abilitycontextstartabilityforresult)接口被拉起的,调用terminateSelfWithResult接口时会将结果返回给调用者,如果该Ability不是通过调用[startAbilityForResult](#abilitycontextstartabilityforresult)接口被拉起的,调用terminateSelfWithResult接口时不会有结果返回给调用者(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1090,6 +1159,7 @@ terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback<voi terminateSelfWithResult(parameter: AbilityResult): Promise<void>; 停止Ability,配合startAbilityForResult使用,返回给接口调用方AbilityResult信息(promise形式)。 +停止当前的Ability。如果该Ability是通过调用[startAbilityForResult](#abilitycontextstartabilityforresult)接口被拉起的,调用terminateSelfWithResult接口时会将结果返回给调用者,如果该Ability不是通过调用[startAbilityForResult](#abilitycontextstartabilityforresult)接口被拉起的,调用terminateSelfWithResult接口时不会有结果返回给调用者(promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1206,7 +1276,7 @@ connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options 使用AbilityInfo.AbilityType.SERVICE模板和account将当前Ability连接到一个Ability。 -**需要权限:** ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限:** ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1361,6 +1431,11 @@ startAbilityByCall(want: Want): Promise<Caller>; 启动指定Ability至前台或后台,同时获取其Caller通信接口,调用方可使用Caller与被启动的Ability进行通信。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **系统API**: 此接口为系统接口,三方应用不支持调用。 @@ -1450,7 +1525,12 @@ startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\< 根据account启动Ability(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1506,7 +1586,12 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca 根据account启动Ability(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1566,7 +1651,12 @@ startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): 根据account启动Ability(Promise形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1618,65 +1708,6 @@ startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): } ``` -## AbilityContext.requestPermissionsFromUser - -requestPermissionsFromUser(permissions: Array<string>, requestCallback: AsyncCallback<PermissionRequestResult>) : void; - -拉起弹窗请求用户授权(callback形式)。 - -**系统能力**:SystemCapability.Ability.AbilityRuntime.Core - -**参数:** - -| 参数名 | 类型 | 必填 | 说明 | -| -------- | -------- | -------- | -------- | -| permissions | Array<string> | 是 | 权限列表。 | -| callback | AsyncCallback<[PermissionRequestResult](js-apis-inner-application-permissionRequestResult.md)> | 是 | 回调函数,返回接口调用是否成功的结果。 | - -**示例:** - - ```ts - var permissions=['com.example.permission'] - this.context.requestPermissionsFromUser(permissions,(result) => { - console.log('requestPermissionsFromUserresult:' + JSON.stringify(result)); - }); - - ``` - - -## AbilityContext.requestPermissionsFromUser - -requestPermissionsFromUser(permissions: Array<string>) : Promise<PermissionRequestResult>; - -拉起弹窗请求用户授权(promise形式)。 - -**系统能力**:SystemCapability.Ability.AbilityRuntime.Core - -**参数:** - -| 参数名 | 类型 | 必填 | 说明 | -| -------- | -------- | -------- | -------- | -| permissions | Array<string> | 是 | 权限列表。 | - -**返回值:** - -| 类型 | 说明 | -| -------- | -------- | -| Promise<[PermissionRequestResult](js-apis-inner-application-permissionRequestResult.md)> | 返回一个Promise,包含接口的结果。 | - -**示例:** - - ```ts - var permissions=['com.example.permission'] - this.context.requestPermissionsFromUser(permissions).then((data) => { - console.log('success:' + JSON.stringify(data)); - }).catch((error) => { - console.log('failed:' + JSON.stringify(error)); - }); - - ``` - - ## AbilityContext.setMissionLabel setMissionLabel(label: string, callback:AsyncCallback<void>): void; @@ -1696,7 +1727,7 @@ setMissionLabel(label: string, callback:AsyncCallback<void>): void; ```ts this.context.setMissionLabel("test",(result) => { - console.log('requestPermissionsFromUserresult:' + JSON.stringify(result)); + console.log('setMissionLabel result:' + JSON.stringify(result)); }); ``` @@ -1744,7 +1775,7 @@ setMissionIcon(icon: image.PixelMap, callback:AsyncCallback\): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| icon | image.PixelMap | 是 | 在最近的任务中显示的ability图标。 | +| icon | [image.PixelMap](js-apis-image.md#pixelmap7) | 是 | 在最近的任务中显示的ability图标。 | | callback | AsyncCallback\ | 是 | 指定的回调函数的结果。 | **示例:** @@ -1786,7 +1817,7 @@ setMissionIcon(icon: image.PixelMap): Promise\; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| icon | image.PixelMap | 是 | 在最近的任务中显示的ability图标。 | +| icon | [image.PixelMap](js-apis-image.md#pixelmap7) | 是 | 在最近的任务中显示的ability图标。 | **返回值:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-ability-dataUriUtils.md b/zh-cn/application-dev/reference/apis/js-apis-ability-dataUriUtils.md index 12ffd5cd7af4119c2f96d7d99ef39134f6f7fd83..183c9202ccaeb04c1829253689fe0a61db6b496f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-ability-dataUriUtils.md +++ b/zh-cn/application-dev/reference/apis/js-apis-ability-dataUriUtils.md @@ -1,6 +1,6 @@ # @ohos.ability.dataUriUtils (DataUriUtils模块) -DataUriUtils模块提供用于处理使用DataAbilityHelper方案的对象的实用程序类的能力,包括获取,添加,更新给定uri的路径组件末尾的ID。本模块将被app.ability.dataUriUtils模块,建议优先使用[@ohos.app.ability.dataUriUtils](js-apis-app-ability-dataUriUtils.md)模块。 +DataUriUtils模块提供用于处理uri对象的能力,包括获取、绑定、删除和更新指定uri对象的路径末尾的ID。本模块将被app.ability.dataUriUtils模块替代,建议优先使用[@ohos.app.ability.dataUriUtils](js-apis-app-ability-dataUriUtils.md)模块。 > **说明:** > @@ -16,7 +16,7 @@ import dataUriUtils from '@ohos.ability.dataUriUtils'; getId(uri: string): number -获取附加到给定uri的路径组件末尾的ID。 +获取指定uri路径末尾的ID。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -24,13 +24,13 @@ getId(uri: string): number | 参数名 | 类型 | 必填 | 说明 | | ---- | ------ | ---- | --------------------------- | -| uri | string | 是 | 指示要从中获取ID的uri对象。 | +| uri | string | 是 | 表示uri对象。 | **返回值:** | 类型 | 说明 | | ------ | ------------------------ | -| number | 附加到路径组件末尾的ID。 | +| number | 返回uri路径末尾的ID。 | **示例:** @@ -44,7 +44,7 @@ dataUriUtils.getId("com.example.dataUriUtils/1221") attachId(uri: string, id: number): string -将给定ID附加到给定uri的路径组件的末尾。 +将ID附加到uri的路径末尾。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -52,22 +52,22 @@ attachId(uri: string, id: number): string | 参数名 | 类型 | 必填 | 说明 | | ---- | ------ | ---- | --------------------------- | -| uri | string | 是 | 指示要从中获取ID的uri对象。 | -| id | number | 是 | 指示要附加的ID。 | +| uri | string | 是 | 表示uri对象。 | +| id | number | 是 | 表示要附加的ID。 | **返回值:** | 类型 | 说明 | | ------ | --------------------- | -| string | 附加给定ID的uri对象。 | +| string | 返回附加ID之后的uri对象。 | **示例:** ```ts -var idint = 1122; +var id = 1122; dataUriUtils.attachId( "com.example.dataUriUtils", - idint, + id, ) ``` @@ -77,7 +77,7 @@ dataUriUtils.attachId( deleteId(uri: string): string -从给定uri的路径组件的末尾删除ID。 +删除指定uri路径末尾的ID。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -85,13 +85,13 @@ deleteId(uri: string): string | 参数名 | 类型 | 必填 | 说明 | | ---- | ------ | ---- | --------------------------- | -| uri | string | 是 | 指示要从中删除ID的uri对象。 | +| uri | string | 是 | 表示要从中删除ID的uri对象。 | **返回值:** | 类型 | 说明 | | ------ | ------------------- | -| string | ID已删除的uri对象。 | +| string | 返回删除ID之后的uri对象。 | **示例:** @@ -113,22 +113,22 @@ updateId(uri: string, id: number): string | 参数名 | 类型 | 必填 | 说明 | | ---- | ------ | ---- | ------------------- | -| uri | string | 是 | 指示要更新的uri对象 | -| id | number | 是 | 指示新ID | +| uri | string | 是 | 表示uri对象 | +| id | number | 是 | 表示要更新的ID | **返回值:** | 类型 | 说明 | | ------ | --------------- | -| string | 更新的uri对象。 | +| string | 返回更新ID之后的uri对象。 | **示例:** ```ts -var idint = 1122; +var id = 1122; dataUriUtils.updateId( - "com.example.dataUriUtils", - idint + "com.example.dataUriUtils/1221", + id ) ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-ability-errorCode.md b/zh-cn/application-dev/reference/apis/js-apis-ability-errorCode.md index cc7f3cd647ad9875d302343fe152ecad4b3c47bd..b66275351ef87e69938efc7cbc1a743efe44b7b2 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-ability-errorCode.md +++ b/zh-cn/application-dev/reference/apis/js-apis-ability-errorCode.md @@ -1,8 +1,6 @@ # @ohos.ability.errorCode (ErrorCode) -ErrorCode是定义启动功能时使用的错误代码。 - -本模块提供使用的错误代码的能力,包括没有错误,无效的参数等。 +ErrorCode定义启动Ability时返回的错误码,包括无效的参数、权限拒绝等。 > **说明:** > @@ -16,13 +14,13 @@ import errorCode from '@ohos.ability.errorCode' ## ErrorCode -定义启动功能时使用的错误代码。 +定义启动Ability时返回的错误码。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core | 名称 | 值 | 说明 | | ------------------------------ | ---- | ---------------------------------------- | -| NO_ERROR | 0 | 没有错误。 | +| NO_ERROR | 0 | 没有异常。 | | INVALID_PARAMETER | -1 | 无效的参数。 | | ABILITY_NOT_FOUND | -2 | 找不到ABILITY。 | -| PERMISSION_DENY | -3 | 拒绝许可。 | \ No newline at end of file +| PERMISSION_DENY | -3 | 权限拒绝。 | \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-ability-featureAbility.md b/zh-cn/application-dev/reference/apis/js-apis-ability-featureAbility.md index 988300a82bfd4826a8d5d8624d64f1133109e5f0..823b65f17dbdd3873fa972bc9e385155d012154f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-ability-featureAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-ability-featureAbility.md @@ -1,6 +1,6 @@ # @ohos.ability.featureAbility (FeatureAbility模块) -FeatureAbility模块提供带有UI设计与用户交互的能力,包括启动新的ability、获取dataAbilityHelper、设置此Page Ability、获取当前Ability对应的窗口,连接服务等。 +FeatureAbility模块提供与用户进行交互的Ability的能力,包括启动新的Ability、停止Ability、获取dataAbilityHelper对象、获取当前Ability对应的窗口,连接断连Service等。 > **说明:** > @@ -9,7 +9,7 @@ FeatureAbility模块提供带有UI设计与用户交互的能力,包括启动 ## 使用限制 -FeatureAbility模块的接口只能在Page类型的Ability调用 +FeatureAbility模块的接口只能在Page类型的Ability中调用 ## 导入模块 @@ -21,7 +21,12 @@ import featureAbility from '@ohos.ability.featureAbility'; startAbility(parameter: StartAbilityParameter, callback: AsyncCallback\): void -启动新的ability(callback形式)。 +启动新的Ability(callback形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(FA模型)](../../application-models/component-startup-rules-fa.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -30,7 +35,7 @@ startAbility(parameter: StartAbilityParameter, callback: AsyncCallback\) | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------------- | ---- | -------------- | | parameter | [StartAbilityParameter](js-apis-inner-ability-startAbilityParameter.md) | 是 | 表示被启动的Ability。 | -| callback | AsyncCallback\ | 是 | 被指定的回调方法。 | +| callback | AsyncCallback\ | 是 | 以callback的形式返回启动Ability的结果。 | **示例:** @@ -64,7 +69,12 @@ featureAbility.startAbility( startAbility(parameter: StartAbilityParameter): Promise\ -启动新的ability(Promise形式)。 +启动新的Ability(Promise形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(FA模型)](../../application-models/component-startup-rules-fa.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -74,6 +84,12 @@ startAbility(parameter: StartAbilityParameter): Promise\ | --------- | ---------------------------------------- | ---- | -------------- | | parameter | [StartAbilityParameter](js-apis-inner-ability-startAbilityParameter.md) | 是 | 表示被启动的Ability。 | +**返回值:** + +| 类型 | 说明 | +| ---------------------------------------- | ------- | +| Promise\ | Promise形式返回启动Ability结果。 | + **示例:** ```ts @@ -103,7 +119,7 @@ featureAbility.startAbility( acquireDataAbilityHelper(uri: string): DataAbilityHelper -获取dataAbilityHelper。 +获取dataAbilityHelper对象。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -111,13 +127,13 @@ acquireDataAbilityHelper(uri: string): DataAbilityHelper | 参数名 | 类型 | 必填 | 说明 | | ---- | ------ | ---- | ------------ | -| uri | string | 是 | 指示要打开的文件的路径。 | +| uri | string | 是 | 表示要打开的文件的路径。 | **返回值:** | 类型 | 说明 | | ----------------- | ------------------------------- | -| DataAbilityHelper | 用来协助其他Ability访问DataAbility的工具类。 | +| [DataAbilityHelper](js-apis-inner-ability-dataAbilityHelper.md) | 用来协助其他Ability访问DataAbility的工具类。 | **示例:** @@ -132,7 +148,12 @@ var dataAbilityHelper = featureAbility.acquireDataAbilityHelper( startAbilityForResult(parameter: StartAbilityParameter, callback: AsyncCallback\): void -启动一个ability,并在该ability被销毁时返回执行结果(callback形式)。 +启动一个Ability。Ability被启动后,正常情况下可通过调用[terminateSelfWithResult](#featureabilityterminateselfwithresult7)接口使之终止并且返回结果给调用者。异常情况下比如杀死Ability会返回异常信息给调用者(callback形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(FA模型)](../../application-models/component-startup-rules-fa.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -141,7 +162,7 @@ startAbilityForResult(parameter: StartAbilityParameter, callback: AsyncCallback\ | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------------- | ---- | -------------- | | parameter | [StartAbilityParameter](js-apis-inner-ability-startAbilityParameter.md) | 是 | 表示被启动的Ability。 | -| callback | AsyncCallback\<[AbilityResult](js-apis-inner-ability-abilityResult.md)> | 是 | 被指定的回调方法。 | +| callback | AsyncCallback\<[AbilityResult](js-apis-inner-ability-abilityResult.md)> | 是 | 以callback的形式返回启动Ability结果。 | **示例:** @@ -173,7 +194,12 @@ featureAbility.startAbilityForResult( startAbilityForResult(parameter: StartAbilityParameter): Promise\ -启动一个ability,并在该ability被销毁时返回执行结果(Promise形式)。 +启动一个Ability。Ability被启动后,正常情况下可通过调用[terminateSelfWithResult](#featureabilityterminateselfwithresult7)接口使之终止并且返回结果给调用者。异常情况下比如杀死Ability会返回异常信息给调用者(Promise形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(FA模型)](../../application-models/component-startup-rules-fa.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -187,7 +213,7 @@ startAbilityForResult(parameter: StartAbilityParameter): Promise\ | 类型 | 说明 | | ---------------------------------------- | ------- | -| Promise\<[AbilityResult](js-apis-inner-ability-abilityResult.md)> | 返回执行结果。 | +| Promise\<[AbilityResult](js-apis-inner-ability-abilityResult.md)> | Promise形式返回启动Ability结果。 | **示例:** @@ -229,7 +255,7 @@ featureAbility.startAbilityForResult( terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback\): void -设置此Page Ability将返回给调用者的结果代码和数据并破坏此Page Ability(callback形式)。 +停止当前的Ability。如果该Ability是通过调用[startAbilityForResult](#featureabilitystartabilityforresult7)接口被拉起的,调用terminateSelfWithResult接口时会将结果返回给调用者,如果该Ability不是通过调用[startAbilityForResult](#featureabilitystartabilityforresult7)接口被拉起的,调用terminateSelfWithResult接口时不会有结果返回给调用者(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -237,8 +263,8 @@ terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback\ | 参数名 | 类型 | 必填 | 说明 | | --------- | ------------------------------- | ---- | -------------- | -| parameter | [AbilityResult](js-apis-inner-ability-abilityResult.md) | 是 | 表示被启动的Ability。 | -| callback | AsyncCallback\ | 是 | 被指定的回调方法。 | +| parameter | [AbilityResult](js-apis-inner-ability-abilityResult.md) | 是 | 表示停止Ability之后返回的结果。 | +| callback | AsyncCallback\ | 是 | 以callback的形式返回停止Ability结果。 | **示例:** @@ -281,7 +307,7 @@ featureAbility.terminateSelfWithResult( terminateSelfWithResult(parameter: AbilityResult): Promise\ -设置此Page Ability将返回给调用者的结果代码和数据并破坏此Page Ability(Promise形式)。 +停止当前的Ability。如果该Ability是通过调用[startAbilityForResult](#featureabilitystartabilityforresult7)接口被拉起的,调用terminateSelfWithResult接口时会将结果返回给调用者,如果该Ability不是通过调用[startAbilityForResult](#featureabilitystartabilityforresult7)接口被拉起的,调用terminateSelfWithResult接口时不会有结果返回给调用者(Promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -289,13 +315,13 @@ terminateSelfWithResult(parameter: AbilityResult): Promise\ | 参数名 | 类型 | 必填 | 说明 | | --------- | ------------------------------- | ---- | ------------- | -| parameter | [AbilityResult](js-apis-inner-ability-abilityResult.md) | 是 | 表示被启动的Ability | +| parameter | [AbilityResult](js-apis-inner-ability-abilityResult.md) | 是 | 表示停止Ability之后返回的结果 | **返回值:** | 类型 | 说明 | | -------------- | --------------- | -| Promise\ | 以Promise形式返回结果。 | +| Promise\ | 以Promise形式返回停止当前Ability结果。 | **示例:** @@ -345,7 +371,7 @@ hasWindowFocus(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ----------------------- | ---- | ---------------------------------------- | -| callback | AsyncCallback\ | 是 | 被指定的回调方法。
如果此Ability当前具有视窗焦点,则返回true;否则返回false。 | +| callback | AsyncCallback\ | 是 | 以callback的形式返回结果。
如果此Ability当前具有视窗焦点,则返回true;否则返回false。 | **示例:** @@ -368,7 +394,7 @@ hasWindowFocus(): Promise\ | 类型 | 说明 | | ----------------- | ------------------------------------- | -| Promise\ | 如果此Ability当前具有视窗焦点,则返回true;否则返回false。 | +| Promise\ | Promise形式返回结果,如果此Ability当前具有视窗焦点,则返回true;否则返回false。 | **示例:** @@ -383,7 +409,7 @@ featureAbility.hasWindowFocus().then((data) => { getWant(callback: AsyncCallback\): void -获取从Ability发送的Want(callback形式)。 +获取要拉起的Ability对应的Want(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -391,7 +417,7 @@ getWant(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ----------------------------- | ---- | --------- | -| callback | AsyncCallback\<[Want](js-apis-application-want.md)> | 是 | 被指定的回调方法。 | +| callback | AsyncCallback\<[Want](js-apis-application-want.md)> | 是 | 以callback的形式返回want。 | **示例:** @@ -406,7 +432,7 @@ featureAbility.getWant((err, data) => { getWant(): Promise\ -获取从Ability发送的Want(Promise形式)。 +获取要拉起的Ability对应的Want(Promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -414,7 +440,7 @@ getWant(): Promise\ | 类型 | 说明 | | ----------------------- | ---------------- | -| Promise\<[Want](js-apis-application-want.md)> | 以Promise的形式返回结果。 | +| Promise\<[Want](js-apis-application-want.md)> | 以Promise的形式返回want。 | **示例:** @@ -453,7 +479,7 @@ context.getBundleName((err, data) => { terminateSelf(callback: AsyncCallback\): void -设置Page Ability返回给被调用方的结果代码和数据,并销毁此Page Ability(callback形式)。 +停止当前的Ability(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -461,7 +487,7 @@ terminateSelf(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | -------------------- | ---- | -------- | -| callback | AsyncCallback\ | 是 | 被指定的回调方法 | +| callback | AsyncCallback\ | 是 | 以callback的形式返回停止当前Ability结果 | **示例:** @@ -478,7 +504,7 @@ featureAbility.terminateSelf( terminateSelf(): Promise\ -设置Page Ability返回给被调用方的结果代码和数据,并销毁此Page Ability(Promise形式)。 +停止当前的Ability(Promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -486,7 +512,7 @@ terminateSelf(): Promise\ | 类型 | 说明 | | -------------- | ---------------- | -| Promise\ | 以Promise的形式返回结果。 | +| Promise\ | 以Promise的形式返回停止当前Ability结果。 | **示例:** @@ -501,7 +527,7 @@ featureAbility.terminateSelf().then((data) => { connectAbility(request: Want, options:ConnectOptions): number -将当前ability连接到指定ServiceAbility(callback形式)。 +将当前Ability与指定的ServiceAbility进行连接。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -510,13 +536,13 @@ connectAbility(request: Want, options:ConnectOptions): number | 参数名 | 类型 | 必填 | 说明 | | ------- | -------------- | ---- | --------------------- | | request | [Want](js-apis-application-want.md) | 是 | 表示被连接的ServiceAbility。 | -| options | [ConnectOptions](js-apis-inner-ability-connectOptions.md) | 是 | 被指定的回调方法。 | +| options | [ConnectOptions](js-apis-inner-ability-connectOptions.md) | 是 | 表示连接回调函数。 | **返回值:** | 类型 | 说明 | | ------ | -------------------- | -| number | 连接的ServiceAbilityID。 | +| number | 连接的ServiceAbility的ID。 | **示例:** @@ -558,8 +584,8 @@ disconnectAbility(connection: number, callback:AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | ---------- | -------------------- | ---- | ----------------------- | -| connection | number | 是 | 指定断开连接的ServiceAbilityID | -| callback | AsyncCallback\ | 是 | 被指定的回调方法 | +| connection | number | 是 | 表示断开连接的ServiceAbility的ID | +| callback | AsyncCallback\ | 是 | 以callback的形式返回断开连接结果 | **示例:** @@ -605,13 +631,13 @@ disconnectAbility(connection: number): Promise\ | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------ | ---- | ----------------------- | -| connection | number | 是 | 指定断开连接的ServiceAbilityID | +| connection | number | 是 | 表示断开连接的ServiceAbility的ID | **返回值:** | 类型 | 说明 | | -------------- | --------------- | -| Promise\ | 以Promise形式返回结果。 | +| Promise\ | 以Promise形式返回断开连接结果。 | **示例:** @@ -659,7 +685,7 @@ getWindow(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ----------------------------- | ---- | ----------------------------- | -| callback | AsyncCallback\ | 是 | 返回与当前Ability对应的窗口。 | +| callback | AsyncCallback\<[window.Window](js-apis-window.md#window)> | 是 | callback形式返回当前Ability对应的窗口。 | **示例:** @@ -681,7 +707,7 @@ getWindow(): Promise\; | 类型 | 说明 | | ----------------------- | ----------------------------- | -| Promise\ | 返回与当前Ability对应的窗口。 | +| Promise\<[window.Window](js-apis-window.md#window)> | Promise形式返回当前Ability对应的窗口。 | **示例:** @@ -693,7 +719,7 @@ featureAbility.getWindow().then((data) => { ## AbilityWindowConfiguration -使用时通过featureAbility.AbilityWindowConfiguration获取。 +表示当前Ability对应的窗口配置项,使用时通过featureAbility.AbilityWindowConfiguration获取。 **示例:** @@ -714,7 +740,7 @@ featureAbility.AbilityWindowConfiguration.WINDOW_MODE_UNDEFINED ## AbilityStartSetting -abilityStartSetting属性是一个定义为[key: string]: any的对象,key对应设定类型为:AbilityStartSetting枚举类型,value对应设定类型为:AbilityWindowConfiguration枚举类型。 +表示当前Ability对应的窗口属性,abilityStartSetting属性是一个定义为[key: string]: any的对象,key对应设定类型为:AbilityStartSetting枚举类型,value对应设定类型为:AbilityWindowConfiguration枚举类型。 使用时通过featureAbility.AbilityStartSetting获取。 @@ -734,7 +760,7 @@ featureAbility.AbilityStartSetting.BOUNDS_KEY ## ErrorCode -获取错误代码。 +表示错误码。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.FAModel @@ -742,13 +768,13 @@ featureAbility.AbilityStartSetting.BOUNDS_KEY | ------------------------------ | ---- | ---------------------------------------- | | NO_ERROR7+ | 0 | 没有错误。 | | INVALID_PARAMETER7+ | -1 | 无效的参数。 | -| ABILITY_NOT_FOUND7+ | -2 | 找不到能力。 | -| PERMISSION_DENY7+ | -3 | 拒绝许可。 | +| ABILITY_NOT_FOUND7+ | -2 | 找不到ABILITY。 | +| PERMISSION_DENY7+ | -3 | 权限拒绝。 | ## DataAbilityOperationType -指示数据的操作类型。 +表示数据的操作类型。DataAbility批量操作数据时可以通过该枚举值指定操作类型 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.FAModel @@ -761,24 +787,26 @@ featureAbility.AbilityStartSetting.BOUNDS_KEY ## flags说明 +表示处理Want的方式。 + **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityBase | 名称 | 值 | 说明 | | ------------------------------------ | ---------- | ---------------------------------------- | -| FLAG_AUTH_READ_URI_PERMISSION | 0x00000001 | 指示对URI执行读取操作的授权。 | -| FLAG_AUTH_WRITE_URI_PERMISSION | 0x00000002 | 指示对URI执行写入操作的授权。 | -| FLAG_ABILITY_FORWARD_RESULT | 0x00000004 | 将结果返回给元能力。 | -| FLAG_ABILITY_CONTINUATION | 0x00000008 | 确定是否可以将本地设备上的功能迁移到远程设备。 | -| FLAG_NOT_OHOS_COMPONENT | 0x00000010 | 指定组件是否属于OHOS。 | -| FLAG_ABILITY_FORM_ENABLED | 0x00000020 | 指定是否启动某个能力。 | -| FLAG_AUTH_PERSISTABLE_URI_PERMISSION | 0x00000040 | 指示URI上可能持久化的授权。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | -| FLAG_AUTH_PREFIX_URI_PERMISSION | 0x00000080 | 按照前缀匹配的方式验证URI权限。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | -| FLAG_ABILITYSLICE_MULTI_DEVICE | 0x00000100 | 支持分布式调度系统中的多设备启动。 | -| FLAG_START_FOREGROUND_ABILITY | 0x00000200 | 指示无论主机应用程序是否已启动,都将启动使用服务模板的功能。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | -| FLAG_ABILITY_CONTINUATION_REVERSIBLE | 0x00000400 | 表示迁移是可拉回的。 | -| FLAG_INSTALL_ON_DEMAND | 0x00000800 | 如果未安装指定的功能,请安装该功能。 | -| FLAG_INSTALL_WITH_BACKGROUND_MODE | 0x80000000 | 如果未安装,使用后台模式安装该功能。 | -| FLAG_ABILITY_CLEAR_MISSION | 0x00008000 | 指示清除其他任务的操作。可以为传递给 **[ohos.app.Context](js-apis-ability-context.md)** 中**startAbility**方法的**Want**设置此标志,并且必须与**flag_ABILITY_NEW_MISSION**一起使用。 | -| FLAG_ABILITY_NEW_MISSION | 0x10000000 | 指示在历史任务堆栈上创建任务的操作。 | -| FLAG_ABILITY_MISSION_TOP | 0x20000000 | 指示如果启动能力的现有实例已位于任务堆栈的顶部,则将重用该实例。否则,将创建一个新的能力实例。 | +| FLAG_AUTH_READ_URI_PERMISSION | 0x00000001 | 表示对URI执行读取操作的授权。 | +| FLAG_AUTH_WRITE_URI_PERMISSION | 0x00000002 | 表示对URI执行写入操作的授权。 | +| FLAG_ABILITY_FORWARD_RESULT | 0x00000004 | 表示将结果返回给源Ability。 | +| FLAG_ABILITY_CONTINUATION | 0x00000008 | 表示是否可以将本地设备上的Ability迁移到远端设备。 | +| FLAG_NOT_OHOS_COMPONENT | 0x00000010 | 表示组件是否不属于OHOS。 | +| FLAG_ABILITY_FORM_ENABLED | 0x00000020 | 表示某个Ability是否已经启动。 | +| FLAG_AUTH_PERSISTABLE_URI_PERMISSION | 0x00000040 | 表示URI上可能持久化的授权。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | +| FLAG_AUTH_PREFIX_URI_PERMISSION | 0x00000080 | 表示按照前缀匹配的方式验证URI权限。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | +| FLAG_ABILITYSLICE_MULTI_DEVICE | 0x00000100 | 表示支持分布式调度系统中的多设备启动。 | +| FLAG_START_FOREGROUND_ABILITY | 0x00000200 | 表示无论宿主应用是否已启动,都将使用前台模式启动Ability。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | +| FLAG_ABILITY_CONTINUATION_REVERSIBLE | 0x00000400 | 表示迁移是否是可反向的。 | +| FLAG_INSTALL_ON_DEMAND | 0x00000800 | 表示如果未安装指定的Ability,将安装该Ability。 | +| FLAG_INSTALL_WITH_BACKGROUND_MODE | 0x80000000 | 表示如果未安装指定的Ability,将在后台安装该Ability。 | +| FLAG_ABILITY_CLEAR_MISSION | 0x00008000 | 表示清除其他任务的操作。可以为传递给 **[ohos.app.Context](js-apis-ability-context.md)** 中**startAbility**方法的**Want**设置此标志,并且必须与**flag_ABILITY_NEW_MISSION**一起使用。 | +| FLAG_ABILITY_NEW_MISSION | 0x10000000 | 表示在已有的任务栈上创建任务的操作。 | +| FLAG_ABILITY_MISSION_TOP | 0x20000000 | 表示如果启动的Ability的现有实例已位于任务栈顶,则将重用该实例。否则,将创建一个新的Ability实例。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-ability-particleAbility.md b/zh-cn/application-dev/reference/apis/js-apis-ability-particleAbility.md index 39c32d659ff3cc32cad86908ac1b1e6bf705bb7e..41bdcf337bd7f235a16f321274f298638c7adaca 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-ability-particleAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-ability-particleAbility.md @@ -1,6 +1,6 @@ # @ohos.ability.particleAbility (ParticleAbility模块) -particleAbility模块提供了Service类型Ability的能力,包括启动、停止指定的particleAbility,获取dataAbilityHelper,连接、断开当前Ability与指定ServiceAbility等。 +particleAbility模块提供了操作Service类型的Ability的能力,包括启动、停止指定的particleAbility,获取dataAbilityHelper,连接、断连指定的ServiceAbility等。 > **说明:** > @@ -21,7 +21,12 @@ import particleAbility from '@ohos.ability.particleAbility' startAbility(parameter: StartAbilityParameter, callback: AsyncCallback\): void -使用此方法启动指定的particleAbility(callback形式)。 +启动指定的particleAbility(callback形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(FA模型)](../../application-models/component-startup-rules-fa.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -29,8 +34,8 @@ startAbility(parameter: StartAbilityParameter, callback: AsyncCallback\): | 参数名 | 类型 | 必填 | 说明 | | --------- | ----------------------------------------------- | ---- | ----------------- | -| parameter | [StartAbilityParameter](js-apis-inner-ability-startAbilityParameter.md) | 是 | 指示启动的ability | -| callback | AsyncCallback\ | 是 | 被指定的回调方法 | +| parameter | [StartAbilityParameter](js-apis-inner-ability-startAbilityParameter.md) | 是 | 表示启动的ability | +| callback | AsyncCallback\ | 是 | 以callback的形式返回启动Ability的结果 | **示例:** @@ -62,7 +67,12 @@ particleAbility.startAbility( startAbility(parameter: StartAbilityParameter): Promise\; -使用此方法启动指定的particleAbility(Promise形式)。 +启动指定的particleAbility(Promise形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(FA模型)](../../application-models/component-startup-rules-fa.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -70,13 +80,13 @@ startAbility(parameter: StartAbilityParameter): Promise\; | 参数名 | 类型 | 必填 | 说明 | | --------- | ----------------------------------------------- | ---- | ----------------- | -| parameter | [StartAbilityParameter](js-apis-inner-ability-startAbilityParameter.md) | 是 | 指示启动的ability | +| parameter | [StartAbilityParameter](js-apis-inner-ability-startAbilityParameter.md) | 是 | 表示启动的ability | **返回值:** | 类型 | 说明 | | -------------- | ------------------------- | -| Promise\ | 使用Promise形式返回结果。 | +| Promise\ | Promise形式返回启动Ability的结果。 | **示例:** @@ -107,7 +117,7 @@ particleAbility.startAbility( terminateSelf(callback: AsyncCallback\): void -终止particleAbility(callback形式)。 +销毁当前particleAbility(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -115,7 +125,7 @@ terminateSelf(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | -------------------- | ---- | -------------------- | -| callback | AsyncCallback\ | 是 | 表示被指定的回调方法 | +| callback | AsyncCallback\ | 是 | 以callback的形式返回停止当前Ability结果 | **示例:** @@ -133,7 +143,7 @@ particleAbility.terminateSelf( terminateSelf(): Promise\ -终止particleAbility(Promise形式)。 +销毁当前particleAbility(Promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -141,7 +151,7 @@ terminateSelf(): Promise\ | 类型 | 说明 | | -------------- | ------------------------- | -| Promise\ | 使用Promise形式返回结果。 | +| Promise\ | 使用Promise形式返回停止当前Ability结果。 | **示例:** @@ -159,7 +169,7 @@ particleAbility.terminateSelf().then((data) => { acquireDataAbilityHelper(uri: string): DataAbilityHelper -获取dataAbilityHelper。 +获取dataAbilityHelper对象。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -167,13 +177,13 @@ acquireDataAbilityHelper(uri: string): DataAbilityHelper | 参数名 | 类型 | 必填 | 说明 | | :--- | ------ | ---- | ------------------------ | -| uri | string | 是 | 指示要打开的文件的路径。 | +| uri | string | 是 | 表示要打开的文件的路径。 | **返回值:** | 类型 | 说明 | | ----------------- | -------------------------------------------- | -| DataAbilityHelper | 用来协助其他Ability访问DataAbility的工具类。 | +| [DataAbilityHelper](js-apis-inner-ability-dataAbilityHelper.md) | 用来协助其他Ability访问DataAbility的工具类。 | **示例:** @@ -270,7 +280,7 @@ startBackgroundRunning(id: number, request: NotificationRequest): Promise<voi | 类型 | 说明 | | -------------- | ------------------------- | -| Promise\ | 使用Promise形式返回结果。 | +| Promise\ | 使用Promise形式返回启动长时任务的结果。 | **示例**: @@ -326,7 +336,7 @@ cancelBackgroundRunning(callback: AsyncCallback<void>): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | callback | AsyncCallback<void> | 是 | callback形式返回启动长时任务的结果 | + | callback | AsyncCallback<void> | 是 | callback形式返回取消长时任务的结果 | **示例**: @@ -357,7 +367,7 @@ cancelBackgroundRunning(): Promise<void>; | 类型 | 说明 | | -------------- | ------------------------- | -| Promise\ | 使用Promise形式返回结果。 | +| Promise\ | 使用Promise形式返回取消长时任务的结果。 | **示例**: @@ -376,7 +386,7 @@ particleAbility.cancelBackgroundRunning().then(() => { connectAbility(request: Want, options:ConnectOptions): number -将当前ability连接到指定ServiceAbility(callback形式)。 +将当前ability与指定的ServiceAbility进行连接(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -385,18 +395,8 @@ connectAbility(request: Want, options:ConnectOptions): number | 参数名 | 类型 | 必填 | 说明 | | ------- | -------------- | ---- | ---------------------------- | | request | [Want](js-apis-application-want.md) | 是 | 表示被连接的ServiceAbility。 | -| options | ConnectOptions | 是 | 被指定的回调方法。 | - - -**ConnectOptions类型说明:** - -**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core +| options | [ConnectOptions](js-apis-inner-ability-connectOptions.md) | 是 | 连接回调方法。 | -| 名称 | 类型 | 必填 | 说明 | -| ------------ | -------- | ---- | ------------------------- | -| onConnect | function | 是 | 连接成功时的回调函数。 | -| onDisconnect | function | 是 | 连接失败时的回调函数。 | -| onFailed | function | 是 | ConnectAbility调用失败时的回调函数。 | **示例**: @@ -439,7 +439,7 @@ particleAbility.disconnectAbility(connId).then((data) => { disconnectAbility(connection: number, callback:AsyncCallback\): void; -将功能与服务功能断开连接。 +断开当前ability与指定ServiceAbility的连接(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -489,7 +489,7 @@ var result = particleAbility.disconnectAbility(connId).then((data) => { disconnectAbility(connection: number): Promise\; -将功能与服务功能断开连接。 +断开当前ability与指定ServiceAbility的连接(Promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel @@ -538,7 +538,7 @@ particleAbility.disconnectAbility(connId).then((data) => { ## ErrorCode -获取错误代码。 +表示错误码。 **系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel diff --git a/zh-cn/application-dev/reference/apis/js-apis-ability-wantConstant.md b/zh-cn/application-dev/reference/apis/js-apis-ability-wantConstant.md index 0b0770c266c89840477e4242b85972395a52dd90..dd2ecaa22d0fb1bf6541edc3abc9800290982954 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-ability-wantConstant.md +++ b/zh-cn/application-dev/reference/apis/js-apis-ability-wantConstant.md @@ -50,7 +50,7 @@ want操作的常数。 | ACTION_MARKET_DOWNLOAD 9+ | ohos.want.action.marketDownload | 表示从应用程序市场下载应用程序的的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | | ACTION_MARKET_CROWDTEST 9+ | ohos.want.action.marketCrowdTest | 指示从应用程序市场众测应用程序的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | | DLP_PARAMS_SANDBOX9+ |ohos.dlp.params.sandbox | 指示沙盒标志的参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | -| DLP_PARAMS_BUNDLE_NAME9+ |ohos.dlp.params.bundleName |指示DLP包名称的参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | +| DLP_PARAMS_BUNDLE_NAME9+ |ohos.dlp.params.bundleName |指示DLP Bundle名称的参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | | DLP_PARAMS_MODULE_NAME9+ |ohos.dlp.params.moduleName |指示DLP模块名称的参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | | DLP_PARAMS_ABILITY_NAME9+ |ohos.dlp.params.abilityName |指示DLP能力名称的参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | | DLP_PARAMS_INDEX9+ |ohos.dlp.params.index |指示DLP索引参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-abilityAccessCtrl.md b/zh-cn/application-dev/reference/apis/js-apis-abilityAccessCtrl.md index 4feacadfedbc3739b82d00343c03b9ed88577595..17f9cec6f0be735e6b3ef1717ed00e8954802ff7 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-abilityAccessCtrl.md +++ b/zh-cn/application-dev/reference/apis/js-apis-abilityAccessCtrl.md @@ -556,6 +556,95 @@ promise.then(data => { }); ``` +### requestPermissionsFromUser9+ + +requestPermissionsFromUser(context: Context, permissions: Array<Permissions>, requestCallback: AsyncCallback<PermissionRequestResult>) : void; + +用于拉起弹框请求用户授权。使用callback异步回调。 + +**模型约束**:此接口仅可在Stage模型下使用。 + +**系统能力**: SystemCapability.Security.AccessToken + +**参数:** + +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| context | Context | 是 | 请求权限的应用ability上下文context。 | +| permissions | Array<Permissions> | 是 | 权限列表。 | +| callback | AsyncCallback<[PermissionRequestResult](js-apis-permissionrequestresult.md)> | 是 | 回调函数,返回接口调用是否成功的结果。 | + +**错误码:** + +以下错误码的详细介绍请参见[程序访问控制错误码](../errorcodes/errorcode-access-token.md)。 +| 错误码ID | 错误信息 | +| -------- | -------- | +| 12100001 | Parameter invalid. | + +**示例:** + + ```js +import abilityAccessCtrl from '@ohos.abilityAccessCtrl'; +let atManager = abilityAccessCtrl.createAtManager(); +try { + atManager.requestPermissionsFromUser(this.context, ["ohos.permission.CAMERA"], (err, data)=>{ + console.info("data:" + JSON.stringify(data)); + console.info("data permissions:" + data.permissions); + console.info("data authResults:" + data.authResults); + }); +} catch(err) { + console.log(`catch err->${JSON.stringify(err)}`); +} + ``` + +### requestPermissionsFromUser9+ + +requestPermissionsFromUser(context: Context, permissions: Array<Permissions>) : Promise<PermissionRequestResult>; + +用于拉起弹框请求用户授权。使用promise异步回调。 + +**模型约束**:此接口仅可在Stage模型下使用。 + +**系统能力**: SystemCapability.Security.AccessToken + +**参数:** + +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| context | Context | 是 | 请求权限的应用ability上下文context。 | +| permissions | Array<Permissions> | 是 | 权限列表。 | + +**返回值:** + +| 类型 | 说明 | +| -------- | -------- | +| Promise<[PermissionRequestResult](js-apis-permissionrequestresult.md)> | 返回一个Promise,包含接口的结果。 | + +**错误码:** + +以下错误码的详细介绍请参见[程序访问控制错误码](../errorcodes/errorcode-access-token.md)。 +| 错误码ID | 错误信息 | +| -------- | -------- | +| 12100001 | Parameter invalid. | + +**示例:** + + ```js +import abilityAccessCtrl from '@ohos.abilityAccessCtrl'; +let atManager = abilityAccessCtrl.createAtManager(); +try { + atManager.requestPermissionsFromUser(this.context, ["ohos.permission.CAMERA"]).then((data) => { + console.info("data:" + JSON.stringify(data)); + console.info("data permissions:" + data.permissions); + console.info("data authResults:" + data.authResults); + }).catch((err) => { + console.info("data:" + JSON.stringify(err)); + }) +} catch(err) { + console.log(`catch err->${JSON.stringify(err)}`); +} + ``` + ### verifyAccessToken(deprecated) verifyAccessToken(tokenID: number, permissionName: string): Promise<GrantStatus> diff --git a/zh-cn/application-dev/reference/apis/js-apis-accessibility.md b/zh-cn/application-dev/reference/apis/js-apis-accessibility.md index 50128354f890d189389d269fbb347b012bee51ff..16b2e9bef518ae6fe58c830c4373a9deaf34b81a 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-accessibility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-accessibility.md @@ -51,8 +51,8 @@ import accessibility from '@ohos.accessibility'; | -------- | -------- | -------- | -------- | -------- | | id | string | 是 | 否 | ability id。 | | name | string | 是 | 否 | ability 名。 | -| bundleName | string | 是 | 否 | 包名。 | -| targetBundleNames9+ | Array<string> | 是 | 否 | 关注的目标包名。 | +| bundleName | string | 是 | 否 | Bundle名称。 | +| targetBundleNames9+ | Array<string> | 是 | 否 | 关注的目标Bundle名称。 | | abilityTypes | Array<[AbilityType](#abilitytype)> | 是 | 否 | 辅助应用类型。 | | capabilities | Array<[Capability](#capability)> | 是 | 否 | 辅助应用能力列表。 | | description | string | 是 | 否 | 辅助应用描述。 | @@ -209,7 +209,7 @@ try { console.error('failed to subscribe caption manager style state change, because ' + JSON.stringify(exception)); } ``` - + ### off('enableChange') off(type: 'enableChange', callback?: Callback<boolean>): void; @@ -773,7 +773,7 @@ accessibility.isOpenTouchGuide((err, data) => { } console.info('success data:isOpenTouchGuide : ' + JSON.stringify(data)) }); - ``` +``` ## accessibility.sendEvent(deprecated) diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityConstant.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityConstant.md index b66b1726be0906ff4964755eaa50a50b145b633a..16d15760d07dba0a7ef6dd0437367a0b6070a39a 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityConstant.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityConstant.md @@ -15,44 +15,74 @@ import AbilityConstant from '@ohos.app.ability.AbilityConstant'; ## 属性 +## AbilityConstant.LaunchParam + +启动参数。 + **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| launchReason | LaunchReason| 是 | 是 | 指示启动原因。 | -| lastExitReason | LastExitReason | 是 | 是 | 表示最后退出原因。 | +| launchReason | [LaunchReason](#abilityconstantlaunchreason)| 是 | 是 | 枚举类型,表示启动原因。 | +| lastExitReason | [LastExitReason](#abilityconstantlastexitreason) | 是 | 是 | 枚举类型,表示最后退出原因。 | ## AbilityConstant.LaunchReason -初次启动原因。 +Ability初次启动原因,该类型为枚举,可配合[Ability](js-apis-app-ability-uiAbility.md)的[onCreate(want, launchParam)](js-apis-app-ability-uiAbility.md#uiabilityoncreate)方法根据launchParam.launchReason的不同类型执行相应操作。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core | 名称 | 值 | 说明 | | ----------------------------- | ---- | ------------------------------------------------------------ | -| UNKNOWN | 0 | 未知的状态。 | -| START_ABILITY | 1 | 启动能力。 | -| CALL | 2 | 呼叫。 | -| CONTINUATION | 3 | 继续。 | -| APP_RECOVERY | 4 | 状态恢复。 | +| UNKNOWN | 0 | 未知原因。 | +| START_ABILITY | 1 | 通过[startAbility](js-apis-ability-context.md#abilitycontextstartability)接口启动ability。 | +| CALL | 2 | 通过[startAbilityByCall](js-apis-ability-context.md#abilitycontextstartabilitybycall)接口启动ability。 | +| CONTINUATION | 3 | 跨端设备迁移启动ability。 | +| APP_RECOVERY | 4 | 设置应用恢复后,应用故障时自动恢复启动ability。 | +**示例:** + +```ts +import UIAbility form '@ohos.app.ability.UIAbility'; + +class MyAbility extends UIAbility { + onCreate(want, launchParam) { + if (launcherParam.launchReason == AbilityConstant.LaunchReason.START_ABILITY) { + console.log("The ability has been started by the way of startAbility."); + } + } +} +``` ## AbilityConstant.LastExitReason -上次退出原因。 +Ability上次退出原因,该类型为枚举,可配合[Ability](js-apis-app-ability-uiAbility.md)的[onCreate(want, launchParam)](js-apis-app-ability-uiAbility.md#uiabilityoncreate)方法根据launchParam.lastExitReason的不同类型执行相应操作。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core | 名称 | 值 | 说明 | | ----------------------------- | ---- | ------------------------------------------------------------ | -| UNKNOWN | 0 | 未知的状态。 | -| ABILITY_NOT_RESPONDING | 1 | 能力没有反应 | -| NORMAL | 2 | 正常的状态。 | +| UNKNOWN | 0 | 未知原因。 | +| ABILITY_NOT_RESPONDING | 1 | ability未响应。 | +| NORMAL | 2 | 正常退出。 | + +**示例:** +```ts +import UIAbility form '@ohos.app.ability.UIAbility'; + +class MyAbility extends UIAbility { + onCreate(want, launchParam) { + if (launcherParam.lastExitReason == AbilityConstant.LastExitReason.ABILITY_NOT_RESPONDING) { + console.log("The ability has exit last because the ability was not responding."); + } + } +} +``` ## AbilityConstant.OnContinueResult -迁移结果。 +Ability迁移结果,该类型为枚举,可配合[Ability](js-apis-app-ability-uiAbility.md)的[onContinue(wantParam)](js-apis-app-ability-uiAbility.md#uiabilityoncontinue)方法进完成相应的返回。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core @@ -62,9 +92,21 @@ import AbilityConstant from '@ohos.app.ability.AbilityConstant'; | REJECT | 1 | 拒绝。 | | MISMATCH | 2 | 不匹配。| +**示例:** + +```ts +import UIAbility form '@ohos.app.ability.UIAbility'; + +class MyAbility extends UIAbility { + onContinue(wantParam) { + return AbilityConstant.OnConinueResult.AGREE; + } +} +``` + ## AbilityConstant.WindowMode -启动Ability时的窗口模式。 +启动Ability时的窗口模式,该类型为枚举,可配合startAbility使用指定启动Ability的窗口模式。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core @@ -76,36 +118,81 @@ import AbilityConstant from '@ohos.app.ability.AbilityConstant'; | WINDOW_MODE_SPLIT_SECONDARY | 101 | 分屏多窗口次要模式。 | | WINDOW_MODE_FLOATING | 102 | 自由悬浮形式窗口模式。 | +**示例:** + +```ts +let want = { + bundleName: "com.test.example", + abilityName: "MainAbility" +}; +let option = { + windowMode: AbilityConstant.WindowMode.WINDOW_MODE_FULLSCREEN +}; + +// 确保从上下文获取到context +this.context.startAbility(want, option).then(()={ + console.log("Succeed to start ability."); +}).catch((error)=>{ + console.log("Failed to start ability with error: " + JSON.stringify(error)); +}); +``` + ## AbilityConstant.MemoryLevel -内存级别。 +内存级别,该类型为枚举,可配合[Ability](js-apis-app-ability-ability.md)的[onMemoryLevel(level)](js-apis-app-ability-ability.md#abilityonmemorylevel)方法根据level执行不同内存级别的相应操作。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core | 名称 | 值 | 说明 | -| --- | --- | --- | -| MEMORY_LEVEL_MODERATE | 0 | 内存占用适中。 | -| MEMORY_LEVEL_LOW | 1 | 内存占用低。 | +| --- | --- | --- | +| MEMORY_LEVEL_MODERATE | 0 | 内存占用适中。 | +| MEMORY_LEVEL_LOW | 1 | 内存占用低。 | | MEMORY_LEVEL_CRITICAL | 2 | 内存占用高。 | +**示例:** + +```ts +import UIAbility form '@ohos.app.ability.UIAbility'; + +class MyAbility extends UIAbility { + onMemoryLevel(level) { + if (level == AbilityConstant.MemoryLevel.MEMORY_LEVEL_CRITICAL) { + console.log("The memory of device is critical, please release some memory."); + } + } +} +``` + ## AbilityConstant.OnSaveResult -保存应用数据的结果。 +保存应用数据的结果,该类型为枚举,可配合[Ability](js-apis-app-ability-uiAbility.md)的[onSaveState(reason, wantParam)](js-apis-app-ability-uiAbility.md#uiabilityonsavestate)方法完成相应的返回。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core | 名称 | 值 | 说明 | | ----------------------------- | ---- | ------------------------------------------------------------ | -| ALL_AGREE | 0 | 同意保存状态。 | +| ALL_AGREE | 0 | 总是同意保存状态。 | | CONTINUATION_REJECT | 1 | 拒绝迁移保存状态。 | | CONTINUATION_MISMATCH | 2 | 迁移不匹配。| | RECOVERY_AGREE | 3 | 同意恢复保存状态。 | | RECOVERY_REJECT | 4 | 拒绝恢复保存状态。| -| ALL_REJECT | 5 | 拒绝保存状态。| +| ALL_REJECT | 5 | 总是拒绝保存状态。| + +**示例:** + +```ts +import UIAbility form '@ohos.app.ability.UIAbility'; + +class MyAbility extends UIAbility { + onSaveState(reason, wantParam) { + return AbilityConstant.OnSaveResult.ALL_AGREE; + } +} +``` ## AbilityConstant.StateType -保存应用数据场景原因。 +保存应用数据场景原因,该类型为枚举,可配合[Ability](js-apis-app-ability-uiAbility.md)的[onSaveState(reason, wantParam)](js-apis-app-ability-uiAbility.md#uiabilityonsavestate)方法根据reason的不同类型执行相应操作。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core @@ -113,3 +200,18 @@ import AbilityConstant from '@ohos.app.ability.AbilityConstant'; | ----------------------------- | ---- | ------------------------------------------------------------ | | CONTINUATION | 0 | 迁移保存状态。 | | APP_RECOVERY | 1 | 应用恢复保存状态。 | + +**示例:** + +```ts +import UIAbility form '@ohos.app.ability.UIAbility'; + +class MyAbility extends UIAbility { + onSaveState(reason, wantParam) { + if (reason == AbilityConstant.StateType.CONTINUATION) { + console.log("Save the ability data when the ability continuation."); + } + return AbilityConstant.OnSaveResult.ALL_AGREE; + } +} +``` \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityDelegatorRegistry.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityDelegatorRegistry.md index f499227c419e88c2ecc3a6c484aeaa7fafcaa14f..167cf0be5a48e8bf9b204d410f312d9fc1cb73a0 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityDelegatorRegistry.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityDelegatorRegistry.md @@ -1,26 +1,27 @@ # @ohos.app.ability.abilityDelegatorRegistry (AbilityDelegatorRegistry) -AbilityDelegatorRegistry模块提供用于存储已注册的AbilityDelegator和AbilityDelegatorArgs对象的全局寄存器的能力,包括获取应用程序的AbilityDelegator对象、获取单元测试参数AbilityDelegatorArgs对象。 +AbilityDelegatorRegistry是[测试框架](../../ability-deprecated/ability-delegator.md)模块,该模块用于获取[AbilityDelegator](js-apis-inner-application-abilityDelegator.md)和[AbilityDelegatorArgs](js-apis-inner-application-abilityDelegatorArgs.md)对象,其中[AbilityDelegator](js-apis-inner-application-abilityDelegator.md)对象提供添加用于监视指定ability的生命周期状态更改的AbilityMonitor对象的能力,[AbilityDelegatorArgs](js-apis-inner-application-abilityDelegatorArgs.md)对象提供获取当前测试参数的能力。 > **说明:** > > 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 +> 本模块接口仅可在测试框架中使用。 ## 导入模块 ```ts -import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry' +import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; ``` ## AbilityLifecycleState -Ability生命周期状态。 +Ability生命周期状态,该类型为枚举,可配合[AbilityDelegator](js-apis-inner-application-abilityDelegator.md)的[getAbilityState(ability)](js-apis-inner-application-abilityDelegator.md#getabilitystate9)方法返回不同ability生命周期。 **系统能力** :以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core | 名称 | 值 | 说明 | | ------------- | ---- | --------------------------- | -| UNINITIALIZED | 0 | 表示无效状态。 | +| UNINITIALIZED | 0 | 表示Ability处于无效状态。 | | CREATE | 1 | 表示Ability处于已创建状态。 | | FOREGROUND | 2 | 表示Ability处于前台状态。 | | BACKGROUND | 3 | 表示Ability处于后台状态。 | @@ -30,7 +31,7 @@ Ability生命周期状态。 getAbilityDelegator(): AbilityDelegator -获取应用程序的AbilityDelegator对象 +获取应用程序的[AbilityDelegator](js-apis-inner-application-abilityDelegator.md)对象,该对象能够使用调度测试框架的相关功能。 **系统能力:** SystemCapability.Ability.AbilityRuntime.Core @@ -43,15 +44,29 @@ getAbilityDelegator(): AbilityDelegator **示例:** ```ts +import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; + var abilityDelegator; abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator(); + +let want = { + bundleName: "com.ohos.example", + abilityName: "MainAbility" +} +abilityDelegator.startAbility(want, (err)=>{ + if (err.code != 0) { + console.log("Success start ability."); + } else { + console.log("Failed start ability, error: " + JSON.stringify(err)); + } +}) ``` ## AbilityDelegatorRegistry.getArguments getArguments(): AbilityDelegatorArgs -获取单元测试参数AbilityDelegatorArgs对象 +获取单元测试参数[AbilityDelegatorArgs](js-apis-inner-application-abilityDelegatorArgs.md)对象。 **系统能力:** SystemCapability.Ability.AbilityRuntime.Core @@ -64,8 +79,11 @@ getArguments(): AbilityDelegatorArgs **示例:** ```ts +import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry'; + var args = AbilityDelegatorRegistry.getArguments(); console.info("getArguments bundleName:" + args.bundleName); +console.info("getArguments parameters:" + JSON.stringify(args.parameters)); console.info("getArguments testCaseNames:" + args.testCaseNames); console.info("getArguments testRunnerClassName:" + args.testRunnerClassName); ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityLifecycleCallback.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityLifecycleCallback.md index e18befc78d007707bdaf4904a702a47b83708e4d..6002c48b7f9d9dacea8313684c5633e97bb62078 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityLifecycleCallback.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityLifecycleCallback.md @@ -1,6 +1,6 @@ # @ohos.app.ability.abilityLifecycleCallback (AbilityLifecycleCallback) -AbilityLifecycleCallback模块提供应用上下文ApplicationContext的生命周期监听方法的回调类的能力,包括onAbilityCreate、onWindowStageCreate、onWindowStageDestroy等方法。 +AbilityLifecycleCallback模块提供应用上下文[ApplicationContext](js-apis-inner-application-applicationContext.md)的生命周期发生变化时触发相应回调的能力,包括[onAbilityCreate](#abilitylifecyclecallbackonabilitycreate)、[onWindowStageCreate](#abilitylifecyclecallbackonwindowstagecreate)、[onWindowStageActive](#abilitylifecyclecallbackonwindowstageactive)、[onWindowStageInactive](#abilitylifecyclecallbackonwindowstageinactive)、[onWindowStageDestroy](#abilitylifecyclecallbackonwindowstagedestroy)、[onAbilityDestroy](#abilitylifecyclecallbackonabilitydestroy)、[onAbilityForeground](#abilitylifecyclecallbackonabilityforeground)、[onAbilityBackground](#abilitylifecyclecallbackonabilitybackground)、[onAbilityContinue](#abilitylifecyclecallbackonabilitycontinue)方法。 > **说明:** > @@ -27,7 +27,7 @@ onAbilityCreate(ability: UIAbility): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | ability | [UIAbility](js-apis-app-ability-uiAbility.md#Ability) | 是 | 当前Ability对象 | + | ability | [UIAbility](js-apis-app-ability-uiAbility.md) | 是 | 当前Ability对象 | ## AbilityLifecycleCallback.onWindowStageCreate @@ -42,7 +42,7 @@ onWindowStageCreate(ability: UIAbility, windowStage: window.WindowStage): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | ability | [UIAbility](js-apis-app-ability-uiAbility.md#Ability) | 是 | 当前Ability对象 | + | ability | [UIAbility](js-apis-app-ability-uiAbility.md) | 是 | 当前Ability对象 | | windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | 当前WindowStage对象 | @@ -58,7 +58,7 @@ onWindowStageActive(ability: UIAbility, windowStage: window.WindowStage): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | ability | [UIAbility](js-apis-app-ability-uiAbility.md#Ability) | 是 | 当前Ability对象 | + | ability | [UIAbility](js-apis-app-ability-uiAbility.md) | 是 | 当前Ability对象 | | windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | 当前WindowStage对象 | @@ -74,7 +74,7 @@ onWindowStageInactive(ability: UIAbility, windowStage: window.WindowStage): void | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | ability | [UIAbility](js-apis-app-ability-uiAbility.md#Ability) | 是 | 当前Ability对象 | + | ability | [UIAbility](js-apis-app-ability-uiAbility.md) | 是 | 当前Ability对象 | | windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | 当前WindowStage对象 | @@ -90,7 +90,7 @@ onWindowStageDestroy(ability: UIAbility, windowStage: window.WindowStage): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | ability | [UIAbility](js-apis-app-ability-uiAbility.md#Ability) | 是 | 当前Ability对象 | + | ability | [UIAbility](js-apis-app-ability-uiAbility.md) | 是 | 当前Ability对象 | | windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | 当前WindowStage对象 | @@ -106,7 +106,7 @@ onAbilityDestroy(ability: UIAbility): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | ability | [UIAbility](js-apis-app-ability-uiAbility.md#Ability) | 是 | 当前Ability对象 | + | ability | [UIAbility](js-apis-app-ability-uiAbility.md) | 是 | 当前Ability对象 | ## AbilityLifecycleCallback.onAbilityForeground @@ -121,7 +121,7 @@ onAbilityForeground(ability: UIAbility): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | ability | [UIAbility](js-apis-app-ability-uiAbility.md#Ability) | 是 | 当前Ability对象 | + | ability | [UIAbility](js-apis-app-ability-uiAbility.md) | 是 | 当前Ability对象 | ## AbilityLifecycleCallback.onAbilityBackground @@ -136,7 +136,7 @@ onAbilityBackground(ability: UIAbility): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | ability | [UIAbility](js-apis-app-ability-uiAbility.md#Ability) | 是 | 当前Ability对象 | + | ability | [UIAbility](js-apis-app-ability-uiAbility.md) | 是 | 当前Ability对象 | ## AbilityLifecycleCallback.onAbilityContinue @@ -151,61 +151,77 @@ onAbilityContinue(ability: UIAbility): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | ability | [UIAbility](js-apis-app-ability-uiAbility.md#Ability) | 是 | 当前Ability对象 | + | ability | [UIAbility](js-apis-app-ability-uiAbility.md) | 是 | 当前Ability对象 | **示例:** - - - ```ts - import UIAbility from "@ohos.app.ability.UIAbility"; - - export default class MyAbility extends UIAbility { - onCreate() { - console.log("MyAbility onCreate") - let AbilityLifecycleCallback = { - onAbilityCreate(ability){ - console.log("AbilityLifecycleCallback onAbilityCreate ability:" + JSON.stringify(ability)); - }, - onWindowStageCreate(ability, windowStage){ - console.log("AbilityLifecycleCallback onWindowStageCreate ability:" + JSON.stringify(ability)); - console.log("AbilityLifecycleCallback onWindowStageCreate windowStage:" + JSON.stringify(windowStage)); - }, - onWindowStageActive(ability, windowStage){ - console.log("AbilityLifecycleCallback onWindowStageActive ability:" + JSON.stringify(ability)); - console.log("AbilityLifecycleCallback onWindowStageActive windowStage:" + JSON.stringify(windowStage)); - }, - onWindowStageInactive(ability, windowStage){ - console.log("AbilityLifecycleCallback onWindowStageInactive ability:" + JSON.stringify(ability)); - console.log("AbilityLifecycleCallback onWindowStageInactive windowStage:" + JSON.stringify(windowStage)); - }, - onWindowStageDestroy(ability, windowStage){ - console.log("AbilityLifecycleCallback onWindowStageDestroy ability:" + JSON.stringify(ability)); - console.log("AbilityLifecycleCallback onWindowStageDestroy windowStage:" + JSON.stringify(windowStage)); - }, - onAbilityDestroy(ability){ - console.log("AbilityLifecycleCallback onAbilityDestroy ability:" + JSON.stringify(ability)); - }, - onAbilityForeground(ability){ - console.log("AbilityLifecycleCallback onAbilityForeground ability:" + JSON.stringify(ability)); - }, - onAbilityBackground(ability){ - console.log("AbilityLifecycleCallback onAbilityBackground ability:" + JSON.stringify(ability)); - }, - onAbilityContinue(ability){ - console.log("AbilityLifecycleCallback onAbilityContinue ability:" + JSON.stringify(ability)); - } - } - // 1.通过context属性获取applicationContext - let applicationContext = this.context.getApplicationContext(); - // 2.通过applicationContext注册监听应用内生命周期 - let lifecycleid = applicationContext.on("abilityLifecycle", AbilityLifecycleCallback); - console.log("registerAbilityLifecycleCallback number: " + JSON.stringify(lifecycleid)); - }, - onDestroy() { - let applicationContext = this.context.getApplicationContext(); - applicationContext.off("abilityLifecycle", lifecycleid, (error, data) => { - console.log("unregisterAbilityLifecycleCallback success, err: " + JSON.stringify(error)); - }); - } - } - ``` \ No newline at end of file + +MyAbilityStage.ts +```ts +import AbilityLifecycleCallback from "@ohos.app.ability.AbilityLifecycleCallback"; +import AbilityStage from "@ohos.app.ability.AbilityStage" + +// 声明ability生命周期回调 +let abilityLifecycleCallback = { + onAbilityCreate(ability){ + console.log("AbilityLifecycleCallback onAbilityCreate."); + }, + onWindowStageCreate(ability, windowStage){ + console.log("AbilityLifecycleCallback onWindowStageCreate."); + }, + onWindowStageActive(ability, windowStage){ + console.log("AbilityLifecycleCallback onWindowStageActive."); + }, + onWindowStageInactive(ability, windowStage){ + console.log("AbilityLifecycleCallback onWindowStageInactive."); + }, + onWindowStageDestroy(ability, windowStage){ + console.log("AbilityLifecycleCallback onWindowStageDestroy."); + }, + onAbilityDestroy(ability){ + console.log("AbilityLifecycleCallback onAbilityDestroy."); + }, + onAbilityForeground(ability){ + console.log("AbilityLifecycleCallback onAbilityForeground."); + }, + onAbilityBackground(ability){ + console.log("AbilityLifecycleCallback onAbilityBackground."); + }, + onAbilityContinue(ability){ + console.log("AbilityLifecycleCallback onAbilityContinue."); + } +} + +export default class MyAbilityStage extends AbilityStage { + onCreate() { + console.log("MyAbilityStage onCreate"); + // 1.通过context属性获取applicationContext + let applicationContext = this.context.getApplicationContext(); + // 2.通过applicationContext注册监听应用内生命周期 + try { + globalThis.lifecycleId = applicationContext.on("abilityLifecycle", abilityLifecycleCallback); + console.log("registerAbilityLifecycleCallback number: " + JSON.stringify(lifecycleId)); + } catch (paramError) { + console.log("error: " + paramError.code + " ," + paramError.message); + } + } +} +``` + +MyAbility.ts +```ts +import UIAbility from "ohos.app.ability.UIAbility" + +export default class MyAbility extends UIAbility { + onDestroy() { + let applicationContext = this.context.getApplicationContext(); + // 3.通过applicationContext注销监听应用内生命周期 + applicationContext.off("abilityLifecycle", globalThis.lifecycleId, (error) => { + if (error.code != 0) { + console.log("unregisterAbilityLifecycleCallback failed, error: " + JSON.stringify(error)); + } else { + console.log("unregisterAbilityLifecycleCallback success."); + } + }); + } +} +``` \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityManager.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityManager.md index 96b3968c18158ba4b9820b99d1b2bab40b52c02b..0c25a4ba3f01c90cf6a0cb5003481da523dbc114 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityManager.md @@ -1,6 +1,6 @@ # @ohos.app.ability.abilityManager (AbilityManager) -AbilityManager模块提供对Ability相关信息和状态信息进行获取、新增、修改等能力。 +AbilityManager模块提供获取、新增、修改Ability相关信息和状态信息进行的能力。 > **说明:** > @@ -15,25 +15,25 @@ import abilityManager from '@ohos.app.ability.abilityManager' ## AbilityState -Ability的状态信息。 +Ability的状态,该类型为枚举,可配合[AbilityRunningInfo](js-apis-inner-application-abilityRunningInfo.md)返回Abiltiy的状态。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core -**系统API**: 此接口为系统接口,三方应用不支持调用。 +**系统API**: 此枚举类型为系统接口内部定义,三方应用不支持调用。 | 名称 | 值 | 说明 | | -------- | -------- | -------- | -| INITIAL | 0 | 表示ability为initial状态。| -| FOREGROUND | 9 | 表示ability为foreground状态。 | -| BACKGROUND | 10 | 表示ability为background状态。 | -| FOREGROUNDING | 11 | 表示ability为foregrounding状态。 | -| BACKGROUNDING | 12 | 表示ability为backgrounding状态。 | +| INITIAL | 0 | 表示ability为初始化状态。| +| FOREGROUND | 9 | 表示ability为前台状态。 | +| BACKGROUND | 10 | 表示ability为后台状态。 | +| FOREGROUNDING | 11 | 表示ability为前台调度中状态。 | +| BACKGROUNDING | 12 | 表示ability为后台调度中状态。 | ## updateConfiguration updateConfiguration(config: Configuration, callback: AsyncCallback\): void -通过修改配置来更新配置(callback形式)。 +通过传入修改的配置项来更新配置(callback形式)。 **需要权限**: ohos.permission.UPDATE_CONFIGURATION @@ -43,23 +43,32 @@ updateConfiguration(config: Configuration, callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------------- | ---- | -------------- | -| config | [Configuration](js-apis-app-ability-configuration.md) | 是 | 新的配置项。 | -| callback | AsyncCallback\ | 是 | 被指定的回调方法。 | +| config | [Configuration](js-apis-app-ability-configuration.md) | 是 | 新的配置项,仅需配置需要更新的项。 | +| callback | AsyncCallback\ | 是 | 以回调方式返回接口运行结果,可进行错误处理或其他自定义处理。 | **示例**: ```ts var config = { - language: 'chinese' + language: 'Zh-Hans', + colorMode: COLOR_MODE_LIGHT, + direction: DIRECTION_VERTICAL, + screenDensity: SCREEN_DENSITY_SDPI, + displayId: 1, + hasPointerDevice: true, } try { - abilityManager.updateConfiguration(config, () => { - console.log('------------ updateConfiguration -----------'); - }) + abilityManager.updateConfiguration(config, (err) => { + if (err.code != 0) { + console.log("updateConfiguration fail, err: " + JSON.stringify(err)); + } else { + console.log("updateConfiguration success."); + } + }) } catch (paramError) { - console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + console.log('error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -77,30 +86,35 @@ updateConfiguration(config: Configuration): Promise\ | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------------- | ---- | -------------- | -| config | [Configuration](js-apis-app-ability-configuration.md) | 是 | 新的配置项。 | +| config | [Configuration](js-apis-app-ability-configuration.md) | 是 | 新的配置项,仅需配置需要更新的项。 | **返回值:** | 类型 | 说明 | | ---------------------------------------- | ------- | -| Promise\ | 返回执行结果。 | +| Promise\ | 以Promise方式返回接口运行结果息,可进行错误处理或其他自定义处理。 | **示例**: ```ts var config = { - language: 'chinese' + language: 'Zh-Hans', + colorMode: COLOR_MODE_LIGHT, + direction: DIRECTION_VERTICAL, + screenDensity: SCREEN_DENSITY_SDPI, + displayId: 1, + hasPointerDevice: true, } try { - abilityManager.updateConfiguration(config).then(() => { - console.log('updateConfiguration success'); - }).catch((err) => { - console.log('updateConfiguration fail'); - }) + abilityManager.updateConfiguration(config).then(() => { + console.log('updateConfiguration success.'); + }).catch((err) => { + console.log('updateConfiguration fail, err: ' + JSON.stringify(err)); + }) } catch (paramError) { - console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + console.log('error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -118,18 +132,22 @@ getAbilityRunningInfos(callback: AsyncCallback\>): vo | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------------- | ---- | -------------- | -| callback | AsyncCallback\> | 是 | 被指定的回调方法。 | +| callback | AsyncCallback\> | 是 | 以回调方式返回接口运行结果及运行中的ability信息,可进行错误处理或其他自定义处理。 | **示例**: ```ts try { - abilityManager.getAbilityRunningInfos((err,data) => { - console.log("getAbilityRunningInfos err: " + err + " data: " + JSON.stringify(data)); - }); + abilityManager.getAbilityRunningInfos((err,data) => { + if (err.code != 0) { + console.log("getAbilityRunningInfos fail, error: " + JSON.stringify(err)); + } else { + console.log("getAbilityRunningInfos success, data: " + JSON.stringify(data)); + } + }); } catch (paramError) { - console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + console.log('error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -147,20 +165,20 @@ getAbilityRunningInfos(): Promise\> | 类型 | 说明 | | ---------------------------------------- | ------- | -| Promise\> | 返回执行结果。 | +| Promise\> | 以Promise方式返回接口运行结果及运行中的ability信息,可进行错误处理或其他自定义处理。 | **示例**: ```ts try { - abilityManager.getAbilityRunningInfos().then((data) => { - console.log("getAbilityRunningInfos data: " + JSON.stringify(data)) - }).catch((err) => { - console.log("getAbilityRunningInfos err: " + err) - }); + abilityManager.getAbilityRunningInfos().then((data) => { + console.log("getAbilityRunningInfos success, data: " + JSON.stringify(data)) + }).catch((err) => { + console.log("getAbilityRunningInfos fail, err: " + JSON.stringify(err)); + }); } catch (paramError) { - console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + console.log('error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -179,7 +197,7 @@ getExtensionRunningInfos(upperLimit: number, callback: AsyncCallback\> | 是 | 被指定的回调方法。 | +| callback | AsyncCallback\> | 是 | 以回调方式返回接口运行结果及运行中的extension信息,可进行错误处理或其他自定义处理。 | **示例**: @@ -187,12 +205,16 @@ getExtensionRunningInfos(upperLimit: number, callback: AsyncCallback\ { - console.log("getExtensionRunningInfos err: " + err + " data: " + JSON.stringify(data)); - }); + abilityManager.getExtensionRunningInfos(upperLimit, (err,data) => { + if (err.code != 0) { + console.log("getExtensionRunningInfos fail, err: " + JSON.stringify(err)); + } else { + console.log("getExtensionRunningInfos success, data: " + JSON.stringify(data)); + } + }); } catch (paramError) { - console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + console.log('error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -216,7 +238,7 @@ getExtensionRunningInfos(upperLimit: number): Promise\> | 返回执行结果。 | +| Promise\> | 以Promise方式返回接口运行结果及运行中的extension信息,可进行错误处理或其他自定义处理。 | **示例**: @@ -224,14 +246,14 @@ getExtensionRunningInfos(upperLimit: number): Promise\ { - console.log("getAbilityRunningInfos data: " + JSON.stringify(data)); - }).catch((err) => { - console.log("getAbilityRunningInfos err: " + err); - }) + abilityManager.getExtensionRunningInfos(upperLimit).then((data) => { + console.log("getExtensionRunningInfos success, data: " + JSON.stringify(data)); + }).catch((err) => { + console.log("getExtensionRunningInfos fail, err: " + JSON.stringify(err)); + }) } catch (paramError) { - console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + console.log('error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -247,13 +269,17 @@ getTopAbility(callback: AsyncCallback\): void; | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------------- | ---- | -------------- | -| callback | AsyncCallback\ | 是 | 被指定的回调方法。 | +| callback | AsyncCallback\<[ElementName](js-apis-bundleManager-elementName.md)> | 是 | 以回调方式返回接口运行结果及应用名,可进行错误处理或其他自定义处理。 | **示例**: ```ts abilityManager.getTopAbility((err,data) => { - console.log("getTopAbility err: " + err + " data: " + JSON.stringify(data)); + if (err.code != 0) { + console.log("getTopAbility fail, err: " + JSON.stringify(err)); + } else { + console.log("getTopAbility success, data: " + JSON.stringify(data)); + } }); ``` @@ -269,14 +295,14 @@ getTopAbility(): Promise\; | 类型 | 说明 | | ---------------------------------------- | ------- | -| Promise\| 返回执行结果。 | +| Promise\<[ElementName](js-apis-bundleManager-elementName.md)>| 以Promise方式返回接口运行结果及应用名,可进行错误处理或其他自定义处理。 | **示例**: ```ts abilityManager.getTopAbility().then((data) => { - console.log("getTopAbility data: " + JSON.stringify(data)); + console.log("getTopAbility success, data: " + JSON.stringify(data)); }).catch((err) => { - console.log("getTopAbility err: " + err); + console.log("getTopAbility fail, err: " + JSON.stringify(err)); }) ``` \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityStage.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityStage.md index 23b02af0d62fd9283c0af456acb57a643fcb03a0..45db3863df063b0384c7c92c2c10fee71535e38b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityStage.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityStage.md @@ -1,6 +1,6 @@ # @ohos.app.ability.AbilityStage (AbilityStage) -AbilityStage是HAP包的运行时类。 +AbilityStage是HAP的运行时类。 AbilityStage类提供在HAP加载的时候,通知开发者,可以在此进行该HAP的初始化(如资源预加载,线程创建等)能力。 @@ -25,13 +25,13 @@ onCreate(): void **示例:** - ```ts - class MyAbilityStage extends AbilityStage { - onCreate() { - console.log("MyAbilityStage.onCreate is called") - } - } - ``` +```ts +class MyAbilityStage extends AbilityStage { + onCreate() { + console.log("MyAbilityStage.onCreate is called"); + } +} +``` ## AbilityStage.onAcceptWant @@ -44,9 +44,9 @@ onAcceptWant(want: Want): string; **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | want | [Want](js-apis-app-ability-want.md) | 是 | Want类型参数,传入需要启动的ability的信息,如ability名称,包名等。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| want | [Want](js-apis-app-ability-want.md) | 是 | Want类型参数,传入需要启动的ability的信息,如Ability名称,Bundle名称等。 | **返回值:** @@ -56,14 +56,14 @@ onAcceptWant(want: Want): string; **示例:** - ```ts - class MyAbilityStage extends AbilityStage { - onAcceptWant(want) { - console.log("MyAbilityStage.onAcceptWant called"); - return "com.example.test"; - } - } - ``` +```ts +class MyAbilityStage extends AbilityStage { + onAcceptWant(want) { + console.log("MyAbilityStage.onAcceptWant called"); + return "com.example.test"; + } +} +``` ## AbilityStage.onConfigurationUpdate @@ -82,13 +82,13 @@ onConfigurationUpdate(newConfig: Configuration): void; **示例:** - ```ts - class MyAbilityStage extends AbilityStage { - onConfigurationUpdate(config) { - console.log('onConfigurationUpdate, language:' + config.language); - } - } - ``` +```ts +class MyAbilityStage extends AbilityStage { + onConfigurationUpdate(config) { + console.log('onConfigurationUpdate, language:' + config.language); + } +} +``` ## AbilityStage.onMemoryLevel @@ -106,22 +106,22 @@ onMemoryLevel(level: AbilityConstant.MemoryLevel): void; **示例:** - ```ts - class MyAbilityStage extends AbilityStage { +```ts +class MyAbilityStage extends AbilityStage { onMemoryLevel(level) { console.log('onMemoryLevel, level:' + JSON.stringify(level)); } - } - ``` +} +``` ## AbilityStage.context context: AbilityStageContext; -指示有关上下文的配置信息。 +指示AbilityStage的上下文。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core | 属性名 | 类型 | 说明 | | ----------- | --------------------------- | ------------------------------------------------------------ | -| context | [AbilityStageContext](js-apis-inner-application-abilityStageContext.md) | 在启动能力阶段进行初始化时回调。 | +| context | [AbilityStageContext](js-apis-inner-application-abilityStageContext.md) | 在Ability启动阶段进行初始化时回调,获取到该Ability的context值。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-appManager.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-appManager.md index 66fd052be00d075f61f65ba3cc12d2def785ddfa..3d243123acb142b151ddf8bddc52b80b0401d11e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-appManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-appManager.md @@ -20,20 +20,23 @@ static isRunningInStabilityTest(callback: AsyncCallback<boolean>): void **系统能力**:SystemCapability.Ability.AbilityRuntime.Core -**参数:** +**返回值:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | callback | AsyncCallback<boolean> | 是 | 返回当前是否处于稳定性测试场景。 | + | 类型| 说明 | + | -------- | -------- | + |AsyncCallback<boolean> |以回调方式返回接口运行结果及当前是否处于稳定性测试场景,可进行错误处理或其他自定义处理。true: 处于稳定性测试场景,false:处于非稳定性测试场景。 | **示例:** - - ```ts - appManager.isRunningInStabilityTest((err, flag) => { - console.log('error:' + JSON.stringify(err)); - console.log('The result of isRunningInStabilityTest is:' + JSON.stringify(flag)); - }) - ``` + +```ts +appManager.isRunningInStabilityTest((err, flag) => { + if (err.code !== 0) { + conseole.log("isRunningInStabilityTest faile, err: " + JSON.stringify(err)); + } else { + console.log("The result of isRunningInStabilityTest is:" + JSON.stringify(flag)); + } +}) +``` ## appManager.isRunningInStabilityTest @@ -48,17 +51,17 @@ static isRunningInStabilityTest(): Promise<boolean> | 类型 | 说明 | | -------- | -------- | - | Promise<boolean> | 返回当前是否处于稳定性测试场景。 | + | Promise<boolean> | 以Promise方式返回接口运行结果及当前是否处于稳定性测试场景,可进行错误处理或其他自定义处理。true: 处于稳定性测试场景,false:处于非稳定性测试场景。 | **示例:** - - ```ts - appManager.isRunningInStabilityTest().then((flag) => { - console.log('The result of isRunningInStabilityTest is:' + JSON.stringify(flag)); - }).catch((error) => { - console.log('error:' + JSON.stringify(error)); - }); - ``` + +```ts +appManager.isRunningInStabilityTest().then((flag) => { + console.log("The result of isRunningInStabilityTest is:" + JSON.stringify(flag)); +}).catch((error) => { + console.log("error:" + JSON.stringify(error)); +}); +``` ## appManager.isRamConstrainedDevice @@ -73,17 +76,17 @@ isRamConstrainedDevice(): Promise\; | 类型 | 说明 | | -------- | -------- | - | Promise<boolean> | 是否为ram受限设备。 | + | Promise<boolean> | 以Promise方式返回接口运行结果及当前设备是否为ram受限设备,可进行错误处理或其他自定义处理。true:当前设备为ram受限设备,false:当前设备为非ram受限设备。 | **示例:** - - ```ts - appManager.isRamConstrainedDevice().then((data) => { - console.log('The result of isRamConstrainedDevice is:' + JSON.stringify(data)); - }).catch((error) => { - console.log('error:' + JSON.stringify(error)); - }); - ``` + +```ts +appManager.isRamConstrainedDevice().then((data) => { + console.log("The result of isRamConstrainedDevice is:" + JSON.stringify(data)); +}).catch((error) => { + console.log("error:" + JSON.stringify(error)); +}); +``` ## appManager.isRamConstrainedDevice @@ -93,20 +96,23 @@ isRamConstrainedDevice(callback: AsyncCallback\): void; **系统能力**:SystemCapability.Ability.AbilityRuntime.Core -**参数:** +**返回值:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | callback | AsyncCallback<boolean> | 是 | 返回当前是否是ram受限设备。 | + | 类型 | 说明 | + | -------- | -------- | + | AsyncCallback<boolean> |以回调方式返回接口运行结果及当前设备是否为ram受限设备,可进行错误处理或其他自定义处理。true:当前设备为ram受限设备,false:当前设备为非ram受限设备。 | **示例:** - - ```ts - appManager.isRamConstrainedDevice((err, data) => { - console.log('error:' + JSON.stringify(err)); - console.log('The result of isRamConstrainedDevice is:' + JSON.stringify(data)); - }) - ``` + +```ts +appManager.isRamConstrainedDevice((err, data) => { + if (err.code !== 0) { + console.log("isRamConstrainedDevice faile, err: " + JSON.stringify(err)); + } else { + console.log("The result of isRamConstrainedDevice is:" + JSON.stringify(data)); + } +}) +``` ## appManager.getAppMemorySize @@ -120,17 +126,17 @@ getAppMemorySize(): Promise\; | 类型 | 说明 | | -------- | -------- | - | Promise<number> | 应用程序内存大小。 | + | Promise<number> | 以Promise方式返回接口运行结果及应用程序内存大小,可进行错误处理或其他自定义处理。 | **示例:** - - ```ts - appManager.getAppMemorySize().then((data) => { - console.log('The size of app memory is:' + JSON.stringify(data)); - }).catch((error) => { - console.log('error:' + JSON.stringify(error)); - }); - ``` + +```ts +appManager.getAppMemorySize().then((data) => { + console.log("The size of app memory is:" + JSON.stringify(data)); +}).catch((error) => { + console.log("error:" + JSON.stringify(error)); +}); +``` ## appManager.getAppMemorySize @@ -140,20 +146,23 @@ getAppMemorySize(callback: AsyncCallback\): void; **系统能力**:SystemCapability.Ability.AbilityRuntime.Core -**参数:** +**返回值:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | callback | AsyncCallback<number> | 是 | 应用程序内存大小。 | + | 类型 | 说明 | + | -------- | -------- | + |AsyncCallback<number> |以回调方式返回接口运行结果及应用程序内存大小,可进行错误处理或其他自定义处理。 | **示例:** - - ```ts - appManager.getAppMemorySize((err, data) => { - console.log('error:' + JSON.stringify(err)); - console.log('The size of app memory is:' + JSON.stringify(data)); - }) - ``` + +```ts +appManager.getAppMemorySize((err, data) => { + if (err.code !== 0) { + console.log("getAppMemorySize faile, err: " + JSON.stringify(err)); + } else { + console.log("The size of app memory is:" + JSON.stringify(data)); + } +}) +``` ## appManager.getProcessRunningInformation9+ @@ -171,17 +180,17 @@ getProcessRunningInformation(): Promise\>; | 类型 | 说明 | | -------- | -------- | -| Promise\> | 获取有关运行进程的信息。 | +| Promise\> | 以Promise方式返回接口运行结果及有关运行进程的信息,可进行错误处理或其他自定义处理。 | **示例:** - - ```ts - appManager.getProcessRunningInformation().then((data) => { - console.log('The process running infomation is:' + JSON.stringify(data)); - }).catch((error) => { - console.log('error:' + JSON.stringify(error)); - }); - ``` + +```ts +appManager.getProcessRunningInformation().then((data) => { + console.log("The process running information is:" + JSON.stringify(data)); +}).catch((error) => { + console.log("error:" + JSON.stringify(error)); +}); +``` ## appManager.getProcessRunningInformation9+ @@ -195,26 +204,29 @@ getProcessRunningInformation(callback: AsyncCallback\> | 是 | 获取有关运行进程的信息。 | +| 类型 | 说明 | +| -------- | -------- | +|AsyncCallback\> | 以回调方式返回接口运行结果及有关运行进程的信息,可进行错误处理或其他自定义处理。 | **示例:** - - ```ts - appManager.getProcessRunningInformation((err, data) => { - console.log('error :' + JSON.stringify(err)); - console.log('The process running information is:' + JSON.stringify(data)); - }) - ``` + +```ts +appManager.getProcessRunningInformation((err, data) => { + if (err.code !== 0) { + console.log("getProcessRunningInformation faile, err: " + JSON.stringify(err)); + } else { + console.log("The process running information is:" + JSON.stringify(data)); + } +}) +``` ## appManager.on on(type: "applicationState", observer: ApplicationStateObserver): number; -注册全部应用程序状态观测器。 +注册全部应用程序的状态观测器。 **需要权限**:ohos.permission.RUNNING_STATE_OBSERVER @@ -226,43 +238,48 @@ on(type: "applicationState", observer: ApplicationStateObserver): number; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| type | string | 是 | 调用接口类型 | -| observer | [ApplicationStateObserver](./js-apis-inner-application-applicationStateObserver.md) | 是 | 返回观察者的数字代码。 | +| type | string | 是 | 调用接口类型,固定填"applicationState"字符串。 | +| observer | [ApplicationStateObserver](./js-apis-inner-application-applicationStateObserver.md) | 是 | 应用状态观测器,用于观测应用的生命周期变化。 | + +**返回值:** + +| 类型 | 说明 | +| --- | --- | +| number | 已注册观测器的数字代码,可用于off接口取消注册观测器。| **示例:** - - ```js - var applicationStateObserver = { + +```js +let applicationStateObserver = { onForegroundApplicationChanged(appStateData) { - console.log('------------ onForegroundApplicationChanged -----------', appStateData); + console.log(`[appManager] onForegroundApplicationChanged: ${JSON.stringify(appStateData)}`); }, onAbilityStateChanged(abilityStateData) { - console.log('------------ onAbilityStateChanged -----------', abilityStateData); + console.log(`[appManager] onAbilityStateChanged: ${JSON.stringify(abilityStateData)}`); }, onProcessCreated(processData) { - console.log('------------ onProcessCreated -----------', processData); + console.log(`[appManager] onProcessCreated: ${JSON.stringify(processData)}`); }, onProcessDied(processData) { - console.log('------------ onProcessDied -----------', processData); + console.log(`[appManager] onProcessDied: ${JSON.stringify(processData)}`); }, onProcessStateChanged(processData) { - console.log('------------ onProcessStateChanged -----------', processData); + console.log(`[appManager] onProcessStateChanged: ${JSON.stringify(processData)}`); } - } - try { - const observerCode = appManager.on(applicationStateObserver); - console.log('-------- observerCode: ---------', observerCode); - } catch (paramError) { - console.log('error: ' + paramError.code + ', ' + paramError.message); - } - - ``` +} +try { + const observerCode = appManager.on('applicationState', applicationStateObserver); + console.log(`[appManager] observerCode: ${observerCode}`); +} catch (paramError) { + console.log(`[appManager] error: ${paramError.code}, ${paramError.message} `); +} +``` ## appManager.on on(type: "applicationState", observer: ApplicationStateObserver, bundleNameList: Array\): number; -注册指定应用程序状态观测器。 +注册指定应用程序的状态观测器。 **需要权限**:ohos.permission.RUNNING_STATE_OBSERVER @@ -274,39 +291,45 @@ on(type: "applicationState", observer: ApplicationStateObserver, bundleNameList: | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| type | string | 是 | 调用接口类型 | -| observer | [ApplicationStateObserver](./js-apis-inner-application-applicationStateObserver.md) | 是 | 返回观察者的数字代码。 | -| bundleNameList | Array | 是 | 表示需要注册监听的bundleName数组。最大值128。 | +| type | string | 是 | 调用接口类型,固定填"applicationState"字符串。 | +| observer | [ApplicationStateObserver](./js-apis-inner-application-applicationStateObserver.md) | 是 | 应用状态观测器,用于观测应用的生命周期变化。 | +| bundleNameList | `Array` | 是 | 表示需要注册监听的bundleName数组。最大值128。 | + +**返回值:** + +| 类型 | 说明 | +| --- | --- | +| number | 已注册观测器的数字代码,可用于off接口注销观测器。| **示例:** - - ```js - var applicationStateObserver = { + +```js +let applicationStateObserver = { onForegroundApplicationChanged(appStateData) { - console.log('------------ onForegroundApplicationChanged -----------', appStateData); + console.log(`[appManager] onForegroundApplicationChanged: ${JSON.stringify(appStateData)}`); }, onAbilityStateChanged(abilityStateData) { - console.log('------------ onAbilityStateChanged -----------', abilityStateData); + console.log(`[appManager] onAbilityStateChanged: ${JSON.stringify(abilityStateData)}`); }, onProcessCreated(processData) { - console.log('------------ onProcessCreated -----------', processData); + console.log(`[appManager] onProcessCreated: ${JSON.stringify(processData)}`); }, onProcessDied(processData) { - console.log('------------ onProcessDied -----------', processData); + console.log(`[appManager] onProcessDied: ${JSON.stringify(processData)}`); }, onProcessStateChanged(processData) { - console.log('------------ onProcessStateChanged -----------', processData); + console.log(`[appManager] onProcessStateChanged: ${JSON.stringify(processData)}`); } - } - var bundleNameList = ['bundleName1', 'bundleName2']; - try { +} +let bundleNameList = ['bundleName1', 'bundleName2']; +try { const observerCode = appManager.on("applicationState", applicationStateObserver, bundleNameList); - console.log('-------- observerCode: ---------', observerCode); - } catch (paramError) { - console.log('error: ' + paramError.code + ', ' + paramError.message); - } + console.log(`[appManager] observerCode: ${observerCode}`); +} catch (paramError) { + console.log(`[appManager] error: ${paramError.code}, ${paramError.message} `); +} +``` - ``` ## appManager.off off(type: "applicationState", observerId: number, callback: AsyncCallback\): void; @@ -320,29 +343,31 @@ off(type: "applicationState", observerId: number, callback: AsyncCallback\ | 是 | 表示指定的回调方法。 | +| type | string | 是 | 调用接口类型,固定填"applicationState"字符串。 | +| observerId | number | 是 | 表示观测器的编号代码。 | +| callback | AsyncCallback\ | 是 | 以回调方式返回接口运行结果,可进行错误处理或其他自定义处理。 | **示例:** - - ```js - var observerId = 100; - function unregisterApplicationStateObserverCallback(err) { - if (err) { - console.log('------------ unregisterApplicationStateObserverCallback ------------', err); - } - } - try { - appManager.off(observerId, unregisterApplicationStateObserverCallback); - } catch (paramError) { - console.log('error: ' + paramError.code + ', ' + paramError.message); +```ts +let observerId = 100; + +function unregisterApplicationStateObserverCallback(err) { + if (err.code !== 0) { + console.log("unregisterApplicationStateObserverCallback faile, err: " + JSON.stringify(err)); + } else { + console.log("unregisterApplicationStateObserverCallback success."); } - ``` +} +try { + appManager.off(observerId, unregisterApplicationStateObserverCallback); +} catch (paramError) { + console.log('error: ' + paramError.code + ', ' + paramError.message); +} +``` ## appManager.off @@ -360,38 +385,36 @@ off(type: "applicationState", observerId: number): Promise\; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| type | string | 是 | 调用接口类型 | -| observerId | number | 是 | 表示观察者的编号代码。 | +| type | string | 是 | 调用接口类型,固定填"applicationState"字符串。 | +| observerId | number | 是 | 表示观测器的编号代码。 | **返回值:** | 类型 | 说明 | | -------- | -------- | -| Promise\ | 返回执行结果。 | +| Promise\ | 以Promise方式返回接口运行结果,可进行错误处理或其他自定义处理。 | **示例:** + +```ts +let observerId = 100; - ```js - var observerId = 100; - - try { - appManager.off(observerId) - .then((data) => { - console.log('----------- unregisterApplicationStateObserver success ----------', data); - }) - .catch((err) => { - console.log('----------- unregisterApplicationStateObserver fail ----------', err); - }) - } catch (paramError) { - console.log('error: ' + paramError.code + ', ' + paramError.message); - } - ``` +try { + appManager.off(observerId).then((data) => { + console.log("unregisterApplicationStateObserver success, data: " + JSON.stringify(data)); + }).catch((err) => { + console.log("unregisterApplicationStateObserver faile, err: " + JSON.stringify(err)); + }) +} catch (paramError) { + console.log('error: ' + paramError.code + ', ' + paramError.message); +} +``` ## appManager.getForegroundApplications getForegroundApplications(callback: AsyncCallback\>): void; -获取前台进程的应用程序。 +获取所有当前处于前台的应用信息。该应用信息由[AppStateData](js-apis-inner-application-appStateData.md)定义。 **需要权限**:ohos.permission.GET_RUNNING_INFO @@ -403,69 +426,30 @@ getForegroundApplications(callback: AsyncCallback\>): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| callback | AsyncCallback\> | 是 | 表示应用的状态数据。 | +| callback | AsyncCallback\> | 是 | 以回调方式返回接口运行结果及应用状态数据数组,可进行错误处理或其他自定义处理。 | **示例:** - - ```js - function getForegroundApplicationsCallback(err, data) { - if (err) { - console.log('--------- getForegroundApplicationsCallback fail ---------', err.code + ': ' + err.message); + +```ts +function getForegroundApplicationsCallback(err, data) { + if (err.code !== 0) { + console.log("getForegroundApplicationsCallback fail, err: " + JSON.stringify(err)); } else { - console.log('--------- getForegroundApplicationsCallback success ---------', data) + console.log("getForegroundApplicationsCallback success, data: " + JSON.stringify(data)); } - } - try { +} +try { appManager.getForegroundApplications(getForegroundApplicationsCallback); - } catch (paramError) { - console.log("error: " + paramError.code + ", " + paramError.message); - } - ``` - -unregisterApplicationStateObserver(observerId: number): Promise\; - -取消注册应用程序状态观测器。 - -**需要权限**:ohos.permission.RUNNING_STATE_OBSERVER - -**系统能力**:SystemCapability.Ability.AbilityRuntime.Core - -**系统API**:该接口为系统接口,三方应用不支持调用。 - -**参数:** - -| 参数名 | 类型 | 必填 | 说明 | -| -------- | -------- | -------- | -------- | -| observerId | number | 是 | 表示观察者的编号代码。 | - -**返回值:** - -| 类型 | 说明 | -| -------- | -------- | -| Promise\ | 返回执行结果。 | - -**示例:** - - ```ts - var observerId = 100; - try { - appManager.unregisterApplicationStateObserver(observerId) - .then((data) => { - console.log('----------- unregisterApplicationStateObserver success ----------', data); - }) - .catch((err) => { - console.log('----------- unregisterApplicationStateObserver fail ----------', err); - }) - } catch (paramError) { +} catch (paramError) { console.log("error: " + paramError.code + ", " + paramError.message); - } - ``` +} +``` ## appManager.getForegroundApplications getForegroundApplications(callback: AsyncCallback\>): void; -获取前台进程的应用程序。 +获取所有当前处于前台的应用信息。该应用信息由[AppStateData](js-apis-inner-application-appStateData.md)定义。 **需要权限**:ohos.permission.GET_RUNNING_INFO @@ -477,30 +461,30 @@ getForegroundApplications(callback: AsyncCallback\>): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| callback | AsyncCallback\> | 是 | 表示应用的状态数据。 | +| callback | AsyncCallback\> | 是 | 以Promise方式返回接口运行结果及应用状态数据数组,可进行错误处理或其他自定义处理。 | **示例:** - - ```ts - function getForegroundApplicationsCallback(err, data) { - if (err) { - console.log('--------- getForegroundApplicationsCallback fail ---------', err); + +```ts +function getForegroundApplicationsCallback(err, data) { + if (err.code !== 0) { + console.log("getForegroundApplicationsCallback fail, err: " + JSON.stringify(err)); } else { - console.log('--------- getForegroundApplicationsCallback success ---------', data) + console.log("getForegroundApplicationsCallback success, data: " + JSON.stringify(data)); } - } - try { +} +try { appManager.getForegroundApplications(getForegroundApplicationsCallback); - } catch (paramError) { +} catch (paramError) { console.log("error: " + paramError.code + ", " + paramError.message); - } - ``` +} +``` ## appManager.getForegroundApplications getForegroundApplications(): Promise\>; -获取前台进程的应用程序。 +获取所有当前处于前台的应用信息。该应用信息由[AppStateData](js-apis-inner-application-appStateData.md)定义。 **需要权限**:ohos.permission.GET_RUNNING_INFO @@ -512,19 +496,17 @@ getForegroundApplications(): Promise\>; | 类型 | 说明 | | -------- | -------- | -| Promise\> | 返回进程运行信息的数组。 | +| Promise\> | 返回前台进程应用程序的数组。 | **示例:** - - ```ts - appManager.getForegroundApplications() - .then((data) => { - console.log('--------- getForegroundApplications success -------', data); - }) - .catch((err) => { - console.log('--------- getForegroundApplications fail -------', err); - }) - ``` + +```ts +appManager.getForegroundApplications().then((data) => { + console.log("getForegroundApplications success, data: " + JSON.stringify(data)); +}).catch((err) => { + console.log("getForegroundApplications fail, err: " + JSON.stringify(err)); +}) +``` ## appManager.killProcessWithAccount @@ -532,7 +514,7 @@ killProcessWithAccount(bundleName: string, accountId: number): Promise\ 切断account进程(Promise形式)。 -**需要权限**:ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS, ohos.permission.CLEAN_BACKGROUND_PROCESSES +**需要权限**:ohos.permission.CLEAN_BACKGROUND_PROCESSES,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -540,26 +522,24 @@ killProcessWithAccount(bundleName: string, accountId: number): Promise\ **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | bundleName | string | 是 | 应用包名。 | - | accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getosaccountlocalidfromprocess)。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| bundleName | string | 是 | 应用Bundle名称。 | +| accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getosaccountlocalidfromprocess)。 | **示例:** ```ts -var bundleName = 'bundleName'; -var accountId = 0; +let bundleName = 'bundleName'; +let accountId = 0; try { - appManager.killProcessWithAccount(bundleName, accountId) - .then((data) => { - console.log('------------ killProcessWithAccount success ------------', data); - }) - .catch((err) => { - console.log('------------ killProcessWithAccount fail ------------', err); - }) + appManager.killProcessWithAccount(bundleName, accountId).then(() => { + console.log("killProcessWithAccount success"); + }).catch((err) => { + console.log("killProcessWithAccount fail, err: " + JSON.stringify(err)); + }) } catch (paramError) { - console.log("error: " + paramError.code + ", " + paramError.message); + console.log("error: " + paramError.code + ", " + paramError.message); } ``` @@ -574,15 +554,15 @@ killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCal **系统API**: 此接口为系统接口,三方应用不支持调用。 -**需要权限**:ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS, ohos.permission.CLEAN_BACKGROUND_PROCESSES +**需要权限**:ohos.permission.CLEAN_BACKGROUND_PROCESSES,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS权限。 **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | bundleName | string | 是 | 应用包名。 | + | bundleName | string | 是 | 应用Bundle名称。 | | accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getosaccountlocalidfromprocess)。 | - | callback | AsyncCallback\ | 是 | 切断account进程的回调函数。 | + | callback | AsyncCallback\ | 是 | 以回调方式返回接口运行结果,可进行错误处理或其他自定义处理。 | **示例:** @@ -590,11 +570,11 @@ killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCal var bundleName = 'bundleName'; var accountId = 0; function killProcessWithAccountCallback(err, data) { - if (err) { - console.log('------------- killProcessWithAccountCallback fail, err: --------------', err); - } else { - console.log('------------- killProcessWithAccountCallback success, data: --------------', data); - } + if (err.code !== 0) { + console.log("killProcessWithAccountCallback fail, err: " + JSON.stringify(err)); + } else { + console.log("killProcessWithAccountCallback success."); + } } appManager.killProcessWithAccount(bundleName, accountId, killProcessWithAccountCallback); ``` @@ -603,7 +583,7 @@ appManager.killProcessWithAccount(bundleName, accountId, killProcessWithAccountC killProcessesByBundleName(bundleName: string, callback: AsyncCallback\); -通过包名终止进程。 +通过Bundle名称终止进程。 **需要权限**:ohos.permission.CLEAN_BACKGROUND_PROCESSES @@ -615,32 +595,32 @@ killProcessesByBundleName(bundleName: string, callback: AsyncCallback\); | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| bundleName | string | 是 | 表示包名。 | -| callback | AsyncCallback\ | 是 | 表示指定的回调方法。 | +| bundleName | string | 是 | 表示Bundle名称。 | +| callback | AsyncCallback\ | 是 | 以回调方式返回接口运行结果,可进行错误处理或其他自定义处理。 | **示例:** - - ```ts - var bundleName = 'bundleName'; - function killProcessesByBundleNameCallback(err, data) { - if (err) { - console.log('------------- killProcessesByBundleNameCallback fail, err: --------------', err); + +```ts +var bundleName = 'bundleName'; +function killProcessesByBundleNameCallback(err, data) { + if (err.code !== 0) { + console.log("killProcessesByBundleNameCallback fail, err: " + JSON.stringify(err)); } else { - console.log('------------- killProcessesByBundleNameCallback success, data: --------------', data); + console.log("killProcessesByBundleNameCallback success."); } - } - try { +} +try { appManager.killProcessesByBundleName(bundleName, killProcessesByBundleNameCallback); - } catch (paramError) { +} catch (paramError) { console.log("error: " + paramError.code + ", " + paramError.message); - } - ``` +} +``` ## appManager.killProcessesByBundleName killProcessesByBundleName(bundleName: string): Promise\; -通过包名终止进程。 +通过Bundle名称终止进程。 **需要权限**:ohos.permission.CLEAN_BACKGROUND_PROCESSES @@ -652,7 +632,7 @@ killProcessesByBundleName(bundleName: string): Promise\; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| bundleName | string | 是 | 表示包名。 | +| bundleName | string | 是 | 表示Bundle名称。 | **返回值:** @@ -661,27 +641,25 @@ killProcessesByBundleName(bundleName: string): Promise\; | Promise\ | 返回执行结果。 | **示例:** - - ```ts - var bundleName = 'bundleName'; - try { - appManager.killProcessesByBundleName(bundleName) - .then((data) => { - console.log('------------ killProcessesByBundleName success ------------', data); - }) - .catch((err) => { - console.log('------------ killProcessesByBundleName fail ------------', err); + +```ts +let bundleName = 'bundleName'; +try { + appManager.killProcessesByBundleName(bundleName).then((data) => { + console.log("killProcessesByBundleName success."); + }).catch((err) => { + console.log("killProcessesByBundleName fail, err: " + JSON.stringify(err)); }) - } catch (paramError) { +} catch (paramError) { console.log("error: " + paramError.code + ", " + paramError.message); - } - ``` +} +``` ## appManager.clearUpApplicationData clearUpApplicationData(bundleName: string, callback: AsyncCallback\); -通过包名清除应用数据。 +通过Bundle名称清除应用数据。 **需要权限**:ohos.permission.CLEAN_APPLICATION_DATA @@ -693,32 +671,32 @@ clearUpApplicationData(bundleName: string, callback: AsyncCallback\); | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| bundleName | string | 是 | 表示包名。 | -| callback | AsyncCallback\ | 是 | 表示指定的回调方法。 | +| bundleName | string | 是 | 表示Bundle名称。 | +| callback | AsyncCallback\ | 是 | 以回调方式返回接口运行结果,可进行错误处理或其他自定义处理。 | **示例:** - - ```ts - var bundleName = 'bundleName'; - function clearUpApplicationDataCallback(err, data) { + +```ts +let bundleName = 'bundleName'; +function clearUpApplicationDataCallback(err, data) { if (err) { - console.log('------------- clearUpApplicationDataCallback fail, err: --------------', err); + console.log("clearUpApplicationDataCallback fail, err: " + JSON.stringify(err)); } else { - console.log('------------- clearUpApplicationDataCallback success, data: --------------', data); + console.log("clearUpApplicationDataCallback success."); } - } - try { +} +try { appManager.clearUpApplicationData(bundleName, clearUpApplicationDataCallback); - } catch (paramError) { +} catch (paramError) { console.log("error: " + paramError.code + ", " + paramError.message); - } - ``` +} +``` ## appManager.clearUpApplicationData clearUpApplicationData(bundleName: string): Promise\; -通过包名清除应用数据。 +通过Bundle名称清除应用数据。 **需要权限**:ohos.permission.CLEAN_APPLICATION_DATA @@ -730,33 +708,33 @@ clearUpApplicationData(bundleName: string): Promise\; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| bundleName | string | 是 | 表示包名。 | +| bundleName | string | 是 | 表示Bundle名称。 | **返回值:** | 类型 | 说明 | | -------- | -------- | -| Promise\ | 返回执行结果。 | +| Promise\ | 以Promise方式返回接口运行结果,可进行错误处理或其他自定义处理。 | **示例:** - - ```ts - var bundleName = 'bundleName'; - try { - appManager.clearUpApplicationData(bundleName) - .then((data) => { - console.log('------------ clearUpApplicationData success ------------', data); - }) - .catch((err) => { - console.log('------------ clearUpApplicationData fail ------------', err); - }) - } catch (paramError) { + +```ts +let bundleName = 'bundleName'; +try { + appManager.clearUpApplicationData(bundleName).then((data) => { + console.log("clearUpApplicationData success."); + }).catch((err) => { + console.log("clearUpApplicationData fail, err: " + JSON.stringify(err)); + }) +} catch (paramError) { console.log("error: " + paramError.code + ", " + paramError.message); - } - ``` +} +``` ## ApplicationState +应用状态,该类型为枚举,可配合[AbilityStateData](js-apis-inner-application-appStateData.md)返回相应的应用状态。 + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **系统API**: 此接口为系统接口,三方应用不支持调用。 @@ -771,6 +749,8 @@ clearUpApplicationData(bundleName: string): Promise\; ## ProcessState +进程状态,该类型为枚举,可配合[ProcessData](js-apis-inner-application-processData.md)返回相应的进程状态。 + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **系统API**: 此接口为系统接口,三方应用不支持调用。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-appRecovery.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-appRecovery.md index 904aef3610cae963499fd473a62e7cc78b65d58b..c7557968889df83fbea6d6178c33c965e15117ef 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-appRecovery.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-appRecovery.md @@ -14,7 +14,7 @@ import appRecovery from '@ohos.app.ability.appRecovery' ## appRecovery.RestartFlag -[enableAppRecovery](#apprecoveryenableapprecovery)接口重启选项参数。 +应用重启标志,[enableAppRecovery](#apprecoveryenableapprecovery)接口重启选项参数,该类型为枚举。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core @@ -28,7 +28,7 @@ import appRecovery from '@ohos.app.ability.appRecovery' ## appRecovery.SaveOccasionFlag -[enableAppRecovery](#apprecoveryenableapprecovery)接口状态保存时机选项参数。 +保存条件标志,[enableAppRecovery](#apprecoveryenableapprecovery)接口状态保存时的选项参数,该类型为枚举。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core @@ -39,7 +39,7 @@ import appRecovery from '@ohos.app.ability.appRecovery' ## appRecovery.SaveModeFlag -[enableAppRecovery](#apprecoveryenableapprecovery)接口状态保存方式的参数。 +状态保存标志,[enableAppRecovery](#apprecoveryenableapprecovery)接口状态保存方式的参数,该类型为枚举。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core @@ -50,7 +50,7 @@ import appRecovery from '@ohos.app.ability.appRecovery' ## appRecovery.enableAppRecovery -enableAppRecovery(restart?: RestartFlag, saveOccasion?: SaveOccasionFlag, saveMode?: SaveModeFlag) : void; +enableAppRecovery(restart?: [RestartFlag](#apprecoveryrestartflag), saveOccasion?: [SaveOccasionFlag](#apprecoverysaveoccasionflag), saveMode?: [SaveModeFlag](#apprecoverysavemodeflag)) : void; 使能应用恢复功能,参数按顺序填入。 @@ -60,9 +60,9 @@ enableAppRecovery(restart?: RestartFlag, saveOccasion?: SaveOccasionFlag, saveMo | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| restart | [RestartFlag](#apprecoveryrestartflag) | 否 | 发生对应故障时是否重启,默认为不重启。 | -| saveOccasion | [SaveOccasionFlag](#apprecoverysaveoccasionflag) | 否 | 状态保存时机,默认为故障时保存。 | -| saveMode | [SaveModeFlag](#apprecoverysavemodeflag) | 否 | 状态保存方式, 默认为文件缓存。 | +| restart | [RestartFlag](#apprecoveryrestartflag) | 否 | 枚举类型,发生对应故障时是否重启,默认为不重启。 | +| saveOccasion | [SaveOccasionFlag](#apprecoverysaveoccasionflag) | 否 | 枚举类型,状态保存时机,默认为故障时保存。 | +| saveMode | [SaveModeFlag](#apprecoverysavemodeflag) | 否 | 枚举类型,状态保存方式, 默认为文件缓存。 | **示例:** @@ -94,7 +94,6 @@ var observer = { appRecovery.restartApp(); } } - ``` ## appRecovery.saveAppState @@ -109,7 +108,7 @@ saveAppState(): boolean; | 类型 | 说明 | | -------- | -------- | -| boolean | 保存成功与否。 | +| boolean | 保存成功与否。true:保存成功,false:保存失败。 | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-configuration.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-configuration.md index a65d16a4fac7c722be9a32d6af68ffd08b48df6a..f4cb10d8993d5615f6632babb69e0413cca2d565 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-configuration.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-configuration.md @@ -18,8 +18,8 @@ import Configuration from '@ohos.app.ability.Configuration' | -------- | -------- | -------- | -------- | -------- | | language | string | 是 | 是 | 表示应用程序的当前语言。 | | colorMode | [ColorMode](js-apis-app-ability-configurationConstant.md#configurationconstantcolormode) | 是 | 是 | 表示深浅色模式,取值范围:浅色模式(COLOR_MODE_LIGHT),深色模式(COLOR_MODE_DARK)。默认为浅色。 | -| direction | Direction | 是 | 否 | 表示屏幕方向,取值范围:水平方向(DIRECTION_HORIZONTAL),垂直方向(DIRECTION_VERTICAL)。 | -| screenDensity | ScreenDensity | 是 | 否 | 表示屏幕分辨率,取值范围:SCREEN_DENSITY_SDPI(120)、SCREEN_DENSITY_MDPI(160)、SCREEN_DENSITY_LDPI(240)、SCREEN_DENSITY_XLDPI(320)、SCREEN_DENSITY_XXLDPI(480)、SCREEN_DENSITY_XXXLDPI(640)。 | +| direction | [Direction](js-apis-app-ability-configurationConstant.md#configurationconstantdirection) | 是 | 否 | 表示屏幕方向,取值范围:水平方向(DIRECTION_HORIZONTAL),垂直方向(DIRECTION_VERTICAL)。 | +| screenDensity | [ScreenDensity](js-apis-app-ability-configurationConstant.md#configurationconstantscreendensity) | 是 | 否 | 表示屏幕分辨率,取值范围:SCREEN_DENSITY_SDPI(120)、SCREEN_DENSITY_MDPI(160)、SCREEN_DENSITY_LDPI(240)、SCREEN_DENSITY_XLDPI(320)、SCREEN_DENSITY_XXLDPI(480)、SCREEN_DENSITY_XXXLDPI(640)。 | | displayId | number | 是 | 否 | 表示应用所在的物理屏幕Id。 | | hasPointerDevice | boolean | 是 | 否 | 指示指针类型设备是否已连接,如键鼠、触控板等。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-dataUriUtils.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-dataUriUtils.md index 15dce45129e63d709b7e6a6091a38ee933a6fd43..c15f167775b6004cd8439f5942e5dbb49f23f9c1 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-dataUriUtils.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-dataUriUtils.md @@ -1,6 +1,6 @@ -# ohos.app.ability.dataUriUtils (DataUriUtils模块) +# @ohos.app.ability.dataUriUtils (DataUriUtils模块) -DataUriUtils模块提供用于处理使用DataAbilityHelper方案的对象的实用程序类的能力,包括获取,添加,更新给定uri的路径末尾的ID。 +DataUriUtils模块提供用于处理uri对象的能力,包括获取、绑定、删除和更新指定uri对象的路径末尾的ID。 > **说明:** > @@ -16,7 +16,7 @@ import dataUriUtils from '@ohos.app.ability.dataUriUtils'; getId(uri: string): number -获取附加到给定uri的路径末尾的ID。 +获取指定uri路径末尾的ID。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -24,13 +24,13 @@ getId(uri: string): number | 名称 | 类型 | 必填 | 描述 | | ---- | ------ | ---- | --------------------------- | -| uri | string | 是 | 指示要从中获取ID的uri对象。 | +| uri | string | 是 | 表示uri对象。 | **返回值:** | 类型 | 说明 | | ------ | ------------------------ | -| number | 附加到uri路径末尾的ID。 | +| number | 返回uri路径末尾的ID。 | **示例:** @@ -49,7 +49,7 @@ try { attachId(uri: string, id: number): string -将给定ID附加到给定uri的路径末尾。可用于生成新的uri。 +将ID附加到uri的路径末尾。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -57,23 +57,23 @@ attachId(uri: string, id: number): string | 名称 | 类型 | 必填 | 描述 | | ---- | ------ | ---- | --------------------------- | -| uri | string | 是 | 指示要从中获取ID的uri对象。 | -| id | number | 是 | 指示要附加的ID。 | +| uri | string | 是 | 表示uri对象。 | +| id | number | 是 | 表示要附加的ID。 | **返回值:** | 类型 | 说明 | | ------ | --------------------- | -| string | 附加给定ID的uri对象。 | +| string | 返回附加ID之后的uri对象。 | **示例:** ```ts -var idint = 1122; +var id = 1122; try { var uri = dataUriUtils.attachId( "com.example.dataUriUtils", - idint, + id, ) console.info('attachId the uri is: ' + uri) } catch (err) { @@ -88,7 +88,7 @@ try { deleteId(uri: string): string -从给定uri的路径的末尾删除ID。 +删除指定uri路径末尾的ID。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -96,13 +96,13 @@ deleteId(uri: string): string | 名称 | 类型 | 必填 | 描述 | | ---- | ------ | ---- | --------------------------- | -| uri | string | 是 | 指示要从中删除ID的uri对象。 | +| uri | string | 是 | 表示要从中删除ID的uri对象。 | **返回值:** | 类型 | 说明 | | ------ | ------------------- | -| string | ID已删除的uri对象。 | +| string | 返回删除ID之后的uri对象。 | **示例:** @@ -130,24 +130,24 @@ updateId(uri: string, id: number): string | 名称 | 类型 | 必填 | 描述 | | ---- | ------ | ---- | ------------------- | -| uri | string | 是 | 指示要更新的uri对象。 | -| id | number | 是 | 指示新ID。 | +| uri | string | 是 | 表示uri对象 | +| id | number | 是 | 表示要更新的ID | **返回值:** | 类型 | 说明 | | ------ | --------------- | -| string | 更新的uri对象。 | +| string | 返回更新ID之后的uri对象。 | **示例:** ```ts try { - var idint = 1122; + var id = 1122; var uri = dataUriUtils.updateId( - "com.example.dataUriUtils", - idint + "com.example.dataUriUtils/1221", + id ) } catch (err) { console.error('delete uri err, check the input uri' + err) diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-missionManager.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-missionManager.md index fad982da3616da3355b5f28538cc36663db829ce..f3da2a23cd0dab37c26840489f987291b8cc572e 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-missionManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-missionManager.md @@ -20,7 +20,7 @@ ohos.permission.MANAGE_MISSIONS on(type:"mission", listener: MissionListener): number; -注册系统任务状态监听。 +注册系统任务状态监听器。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -32,13 +32,13 @@ on(type:"mission", listener: MissionListener): number; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | listener | MissionListener | 是 | 系统任务监听方法。 | + | listener | [MissionListener](js-apis-inner-application-missionListener.md) | 是 | 系统任务监听器。 | **返回值:** | 类型 | 说明 | | -------- | -------- | - | number | 监听方法的index值,由系统创建,在注册系统任务状态监听时分配,和监听方法一一对应 。 | + | number | 监听器的index值,由系统创建,在注册系统任务状态监听时分配,和监听器一一对应 。 | **示例:** @@ -51,7 +51,8 @@ var listener = { onMissionSnapshotChanged: function (mission) {console.log("--------onMissionSnapshotChanged-------")}, onMissionMovedToFront: function (mission) {console.log("--------onMissionMovedToFront-------")}, onMissionIconUpdated: function (mission, icon) {console.log("--------onMissionIconUpdated-------")}, - onMissionClosed: function (mission) {console.log("--------onMissionClosed-------")} + onMissionClosed: function (mission) {console.log("--------onMissionClosed-------")}, + onMissionLabelUpdated: function (mission) {console.log("--------onMissionLabelUpdated-------")} }; var listenerId = -1; @@ -105,7 +106,7 @@ export default class MainAbility extends UIAbility { off(type: "mission", listenerId: number, callback: AsyncCallback<void>): void; -取消任务状态监听。 +解注册任务状态监听器。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -117,7 +118,7 @@ off(type: "mission", listenerId: number, callback: AsyncCallback<void>): v | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | listenerId | number | 是 | 系统任务状态监听方法的index值,和监听方法一一对应,由registerMissionListener方法返回。 | + | listenerId | number | 是 | 系统任务状态监器法的index值,和监听器一一对应,由on方法返回。 | | callback | AsyncCallback<void> | 是 | 执行结果回调函数。 | **示例:** @@ -131,7 +132,8 @@ var listener = { onMissionSnapshotChanged: function (mission) {console.log("--------onMissionSnapshotChanged-------")}, onMissionMovedToFront: function (mission) {console.log("--------onMissionMovedToFront-------")}, onMissionIconUpdated: function (mission, icon) {console.log("--------onMissionIconUpdated-------")}, - onMissionClosed: function (mission) {console.log("--------onMissionClosed-------")} + onMissionClosed: function (mission) {console.log("--------onMissionClosed-------")}, + onMissionLabelUpdated: function (mission) {console.log("--------onMissionLabelUpdated-------")} }; var listenerId = -1; @@ -185,7 +187,7 @@ export default class MainAbility extends UIAbility { off(type: "mission", listenerId: number): Promise<void>; -取消任务状态监听,以promise方式返回执行结果。 +解注册任务状态监听,以promise方式返回执行结果。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -197,7 +199,7 @@ off(type: "mission", listenerId: number): Promise<void>; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | listenerId | number | 是 | 系统任务状态监听方法的index值,和监听方法一一对应,由registerMissionListener方法返回。 | + | listenerId | number | 是 | 系统任务状态监听器的index值,和监听器一一对应,由on方法返回。 | **返回值:** @@ -216,7 +218,8 @@ var listener = { onMissionSnapshotChanged: function (mission) {console.log("--------onMissionSnapshotChanged-------")}, onMissionMovedToFront: function (mission) {console.log("--------onMissionMovedToFront-------")}, onMissionIconUpdated: function (mission, icon) {console.log("--------onMissionIconUpdated-------")}, - onMissionClosed: function (mission) {console.log("--------onMissionClosed-------")} + onMissionClosed: function (mission) {console.log("--------onMissionClosed-------")}, + onMissionLabelUpdated: function (mission) {console.log("--------onMissionLabelUpdated-------")} }; var listenerId = -1; @@ -292,7 +295,12 @@ getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback<M try { var allMissions=missionManager.getMissionInfos("",10).catch(function(err){console.log(err);}); missionManager.getMissionInfo("", allMissions[0].missionId, (error, mission) => { - console.log("getMissionInfo is called, error.code = " + error.code) + if (error.code) { + console.log("getMissionInfo failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } + console.log("mission.missionId = " + mission.missionId); console.log("mission.runningState = " + mission.runningState); console.log("mission.lockedState = " + mission.lockedState); @@ -369,7 +377,11 @@ getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback<Arr ```ts try { missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfo failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); }) @@ -442,14 +454,22 @@ getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback& ```ts try { missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; - missionManager.getMissionSnapShot("", id, (error, snapshot) => { - console.log("getMissionSnapShot is called, error.code = " + error.code); - console.log("bundleName = " + snapshot.ability.bundleName); + missionManager.getMissionSnapShot("", id, (err, snapshot) => { + if (err.code) { + console.log("getMissionInfos failed, err.code:" + JSON.stringify(err.code) + + "err.message:" + JSON.stringify(err.message)); + return; + } + console.log("bundleName = " + snapshot.ability.bundleName); }) }) } catch (paramError) { @@ -507,7 +527,7 @@ getMissionSnapShot(deviceId: string, missionId: number): Promise<MissionSnaps getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\): void; -使用给定的任务ID获取任务低分辨率快照。 +获取任务低分辨率快照。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -528,13 +548,21 @@ getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: A ```ts try { missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; missionManager.getLowResolutionMissionSnapShot("", id, (error, snapshot) => { - console.log("getLowResolutionMissionSnapShot is called, error.code = " + error.code); + if (error.code) { + console.log("getLowResolutionMissionSnapShot failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("bundleName = " + snapshot.ability.bundleName); }) }) @@ -548,7 +576,7 @@ getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: A getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise\; -使用给定的任务ID获取任务低分辨率快照。 +获取任务低分辨率快照。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -614,7 +642,12 @@ lockMission(missionId: number, callback: AsyncCallback<void>): void; ```ts try { missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } + console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; @@ -698,7 +731,11 @@ unlockMission(missionId: number, callback: AsyncCallback<void>): void; ```ts try { missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; @@ -785,7 +822,11 @@ clearMission(missionId: number, callback: AsyncCallback<void>): void; ```ts try { missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; @@ -917,7 +958,11 @@ moveMissionToFront(missionId: number, callback: AsyncCallback<void>): void ```ts try { missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; @@ -957,7 +1002,11 @@ moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCall ```ts try { missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-quickFixManager.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-quickFixManager.md index a7a78fa0134de40aaaf00b086b7a36bfd79c00a7..e506298900dd3804470993b0c3dcc7b1817035cd 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-quickFixManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-quickFixManager.md @@ -22,7 +22,7 @@ hap级别的快速修复信息。 | 名称 | 类型 | 必填 | 说明 | | ----------- | -------------------- | ---- | ------------------------------------------------------------ | -| moduleName | string | 是 | hap包的名称。 | +| moduleName | string | 是 | HAP的名称。 | | originHapHash | string | 是 | 指示hap的哈希值。 | | quickFixFilePath | string | 是 | 指示快速修复文件的安装路径。 | @@ -36,7 +36,7 @@ hap级别的快速修复信息。 | 名称 | 类型 | 必填 | 说明 | | ----------- | -------------------- | ---- | ------------------------------------------------------------ | -| bundleName | string | 是 | 应用的包名。 | +| bundleName | string | 是 | 应用Bundle名称。 | | bundleVersionCode | number | 是 | 应用的版本号。 | | bundleVersionName | string | 是 | 应用版本号的文字描述。 | | quickFixVersionCode | number | 是 | 快速修复补丁包的版本号。 | @@ -132,10 +132,10 @@ getApplicationQuickFixInfo(bundleName: string, callback: AsyncCallback\ | 是 | 应用的快速修复信息。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| bundleName | string | 是 |应用Bundle名称。 | +| callback | AsyncCallback\<[ApplicationQuickFixInfo](#applicationquickfixinfo)> | 是 | 应用的快速修复信息。 | **示例:** @@ -168,9 +168,9 @@ getApplicationQuickFixInfo(bundleName: string): Promise\ **说明:** > diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-uiAbility.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-uiAbility.md index bc9c8806d8b71b5fc04b42978c563d28c53f7678..690658a9b7b7b89e43b532cc7d9264ea797ce0ee 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-uiAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-uiAbility.md @@ -18,7 +18,7 @@ import UIAbility from '@ohos.app.ability.UIAbility'; ## 属性 -**系统能力**:以下各项对应的系统能力均为SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.AbilityCore | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | @@ -29,18 +29,18 @@ import UIAbility from '@ohos.app.ability.UIAbility'; ## UIAbility.onCreate -onCreate(want: Want, param: UIAbilityConstant.LaunchParam): void; +onCreate(want: Want, param: AbilityConstant.LaunchParam): void; UIAbility创建时回调,执行初始化业务逻辑操作。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | want | [Want](js-apis-app-ability-want.md) | 是 | 当前UIAbility的Want类型信息,包括ability名称、bundle名称等。 | -| param | UIAbilityConstant.LaunchParam | 是 | 创建 ability、上次异常退出的原因信息。 | +| param | [AbilityConstant.LaunchParam](js-apis-app-ability-abilityConstant.md#abilityconstantlaunchparam) | 是 | 创建 ability、上次异常退出的原因信息。 | **示例:** @@ -59,13 +59,13 @@ onWindowStageCreate(windowStage: window.WindowStage): void 当WindowStage创建后调用。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| windowStage | window.WindowStage | 是 | WindowStage相关信息。 | +| windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | WindowStage相关信息。 | **示例:** @@ -84,7 +84,7 @@ onWindowStageDestroy(): void 当WindowStage销毁后调用。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **示例:** @@ -103,13 +103,13 @@ onWindowStageRestore(windowStage: window.WindowStage): void 当迁移多实例ability时,恢复WindowStage后调用。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| windowStage | window.WindowStage | 是 | WindowStage相关信息。 | +| windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | WindowStage相关信息。 | **示例:** @@ -128,7 +128,7 @@ onDestroy(): void; UIAbility生命周期回调,在销毁时回调,执行资源清理等操作。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **示例:** @@ -147,7 +147,7 @@ onForeground(): void; UIAbility生命周期回调,当应用从后台转到前台时触发。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **示例:** @@ -166,7 +166,7 @@ onBackground(): void; UIAbility生命周期回调,当应用从前台转到后台时触发。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **示例:** @@ -181,11 +181,11 @@ UIAbility生命周期回调,当应用从前台转到后台时触发。 ## UIAbility.onContinue -onContinue(wantParam : {[key: string]: any}): UIAbilityConstant.OnContinueResult; +onContinue(wantParam : {[key: string]: any}): AbilityConstant.OnContinueResult; 当ability迁移准备迁移时触发,保存数据。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** @@ -197,17 +197,17 @@ onContinue(wantParam : {[key: string]: any}): UIAbilityConstant.OnContinueResult | 类型 | 说明 | | -------- | -------- | -| UIAbilityConstant.OnContinueResult | 继续的结果。 | +| [AbilityConstant.OnContinueResult](js-apis-app-ability-abilityConstant.md#abilityconstantoncontinueresult) | 继续的结果。 | **示例:** ```ts - import UIAbilityConstant from "@ohos.app.ability.UIAbilityConstant" + import AbilityConstant from "@ohos.app.ability.AbilityConstant" class MyUIAbility extends UIAbility { onContinue(wantParams) { console.log('onContinue'); wantParams["myData"] = "my1234567"; - return UIAbilityConstant.OnContinueResult.AGREE; + return AbilityConstant.OnContinueResult.AGREE; } } ``` @@ -215,25 +215,26 @@ onContinue(wantParam : {[key: string]: any}): UIAbilityConstant.OnContinueResult ## UIAbility.onNewWant -onNewWant(want: Want, launchParams: UIAbilityConstant.LaunchParam): void; +onNewWant(want: Want, launchParams: AbilityConstant.LaunchParam): void; -当ability的启动模式设置为单例时回调会被调用。 +当传入新的Want,ability再次被拉起时会回调执行该方法。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | want | [Want](js-apis-app-ability-want.md) | 是 | Want类型参数,如ability名称,包名等。 | -| launchParams | UIAbilityConstant.LaunchParam | 是 | UIAbility启动的原因、上次异常退出的原因信息。 | +| launchParams | [AbilityConstant.LaunchParam](js-apis-app-ability-abilityConstant.md#abilityconstantlaunchparam) | 是 | UIAbility启动的原因、上次异常退出的原因信息。 | **示例:** ```ts class MyUIAbility extends UIAbility { - onNewWant(want) { + onNewWant(want, launchParams) { console.log('onNewWant, want:' + want.abilityName); + console.log('onNewWant, launchParams:' + JSON.stringify(launchParams)); } } ``` @@ -244,7 +245,7 @@ onDump(params: Array\): Array\; 转储客户端信息时调用。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** @@ -266,35 +267,35 @@ onDump(params: Array\): Array\; ## UIAbility.onSaveState -onSaveState(reason: UIAbilityConstant.StateType, wantParam : {[key: string]: any}): UIAbilityConstant.OnSaveResult; +onSaveState(reason: AbilityConstant.StateType, wantParam : {[key: string]: any}): AbilityConstant.OnSaveResult; 该API配合[appRecovery](js-apis-app-ability-appRecovery.md)使用。在应用故障时,如果使能了自动保存状态,框架将回调onSaveState保存UIAbility状态。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| reason | [UIAbilityConstant.StateType](js-apis-app-ability-abilityConstant.md#abilityconstantstatetype) | 是 | 回调保存状态的原因。 | +| reason | [AbilityConstant.StateType](js-apis-app-ability-abilityConstant.md#abilityconstantstatetype) | 是 | 回调保存状态的原因。 | | wantParam | {[key: string]: any} | 是 | want相关参数。 | **返回值:** | 类型 | 说明 | | -------- | -------- | -| UIAbilityConstant.OnSaveResult | 是否同意保存当前UIAbility的状态。 | +| [AbilityConstant.OnSaveResult](js-apis-app-ability-abilityConstant.md#abilityconstantonsaveresult) | 是否同意保存当前UIAbility的状态。 | **示例:** ```ts -import UIAbilityConstant from '@ohos.app.ability.UIAbilityConstant' +import AbilityConstant from '@ohos.app.ability.AbilityConstant' class MyUIAbility extends UIAbility { onSaveState(reason, wantParam) { console.log('onSaveState'); wantParam["myData"] = "my1234567"; - return UIAbilityConstant.OnSaveResult.RECOVERY_AGREE; + return AbilityConstant.OnSaveResult.RECOVERY_AGREE; } } ``` @@ -311,14 +312,14 @@ call(method: string, data: rpc.Sequenceable): Promise<void>; 向通用组件服务端发送约定序列化数据。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | method | string | 是 | 约定的服务端注册事件字符串。 | -| data | rpc.Sequenceable | 是 | 由开发者实现的Sequenceable可序列化数据。 | +| data | [rpc.Sequenceable](js-apis-rpc.md#sequenceabledeprecated) | 是 | 由开发者实现的Sequenceable可序列化数据。 | **返回值:** @@ -391,20 +392,20 @@ callWithResult(method: string, data: rpc.Sequenceable): Promise<rpc.MessagePa 向通用组件服务端发送约定序列化数据, 并将服务端返回的约定序列化数据带回。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | method | string | 是 | 约定的服务端注册事件字符串。 | -| data | rpc.Sequenceable | 是 | 由开发者实现的Sequenceable可序列化数据。 | +| data | [rpc.Sequenceable](js-apis-rpc.md#sequenceabledeprecated) | 是 | 由开发者实现的Sequenceable可序列化数据。 | **返回值:** | 类型 | 说明 | | -------- | -------- | -| Promise<rpc.MessageParcel> | Promise形式返回通用组件服务端应答数据。 | +| Promise<[rpc.MessageParcel](js-apis-rpc.md#sequenceabledeprecated)> | Promise形式返回通用组件服务端应答数据。 | **错误码:** @@ -473,7 +474,7 @@ release(): void; 主动释放通用组件服务端的通信接口。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **错误码:** @@ -516,13 +517,13 @@ release(): void; 注册通用组件服务端Stub(桩)断开监听通知。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| callback | OnReleaseCallBack | 是 | 返回onRelease回调结果。 | +| callback | [OnReleaseCallBack](#onreleasecallback) | 是 | 返回onRelease回调结果。 | **示例:** @@ -558,14 +559,14 @@ release(): void; 注册通用组件服务端Stub(桩)断开监听通知。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | type | string | 是 | 监听releaseCall事件,固定为'release'。 | -| callback | OnReleaseCallback | 是 | 返回onRelease回调结果。 | +| callback | [OnReleaseCallBack](#onreleasecallback) | 是 | 返回onRelease回调结果。 | **错误码:** @@ -613,14 +614,14 @@ on(method: string, callback: CalleeCallback): void; 通用组件服务端注册消息通知callback。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | method | string | 是 | 与客户端约定的通知消息字符串。 | -| callback | CalleeCallback | 是 | 一个rpc.MessageParcel类型入参的js通知同步回调函数, 回调函数至少要返回一个空的rpc.Sequenceable数据对象, 其他视为函数执行错误。 | +| callback | [CalleeCallback](#calleecallback) | 是 | 一个[rpc.MessageParcel](js-apis-rpc.md#messageparceldeprecated)类型入参的js通知同步回调函数, 回调函数至少要返回一个空的[rpc.Sequenceable](js-apis-rpc.md#sequenceabledeprecated)数据对象, 其他视为函数执行错误。 | **错误码:** @@ -679,7 +680,7 @@ off(method: string): void; 解除通用组件服务端注册消息通知callback。 -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** @@ -716,7 +717,7 @@ off(method: string): void; (msg: string): void; -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore | 名称 | 可读 | 可写 | 类型 | 说明 | | -------- | -------- | -------- | -------- | -------- | @@ -726,8 +727,8 @@ off(method: string): void; (indata: rpc.MessageParcel): rpc.Sequenceable; -**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore +**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore | 名称 | 可读 | 可写 | 类型 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| (indata: rpc.MessageParcel) | 是 | 否 | rpc.Sequenceable | 被调用方注册的消息侦听器函数接口的原型。 | +| (indata: [rpc.MessageParcel](js-apis-rpc.md#messageparceldeprecated)) | 是 | 否 | [rpc.Sequenceable](js-apis-rpc.md#sequenceabledeprecated) | 被调用方注册的消息侦听器函数接口的原型。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-wantAgent.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-wantAgent.md index 0e69980a5d583c65ed3331dbad63acbc7ba329e5..c8121dfc31aff943dde774c159ba64649308f1ea 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-wantAgent.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-wantAgent.md @@ -1,6 +1,6 @@ # @ohos.app.ability.wantAgent (WantAgent模块) -app.ability.WantAgent模块提供了触发、取消、比较WantAgent实例和获取bundle名称的能力,包括创建WantAgent实例、获取实例的用户ID、获取want信息等。该模块将会取代[@ohos.wantAgent](js-apis-wantAgent.md)模块,建议优先使用本模块。 +app.ability.WantAgent模块提供了创建WantAgent实例、获取实例的用户ID、获取want信息、比较WantAgent实例和获取bundle名称等能力。该模块将会取代[@ohos.wantAgent](js-apis-wantAgent.md)模块,建议优先使用本模块。 > **说明:** > @@ -117,7 +117,7 @@ getWantAgent(info: WantAgentInfo): Promise\ | 参数名 | 类型 | 必填 | 说明 | | ---- | ------------- | ---- | ------------- | -| info | WantAgentInfo | 是 | WantAgent信息。 | +| info | [WantAgentInfo](js-apis-inner-wantAgent-wantAgentInfo.md) | 是 | WantAgent信息。 | **返回值:** @@ -632,7 +632,7 @@ getWant(agent: WantAgent, callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | ------------------------------- | | agent | WantAgent | 是 | WantAgent对象。 | -| callback | AsyncCallback\ | 是 | 获取WantAgent对象want的回调方法。 | +| callback | AsyncCallback\<[Want](js-apis-app-ability-want.md)\> | 是 | 获取WantAgent对象want的回调方法。 | **错误码:** |错误码ID |错误信息 | @@ -1042,10 +1042,6 @@ try{ } ``` - -//TODO WantAgent.trigger Callback - - ## WantAgent.trigger trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: AsyncCallback\): void @@ -1059,8 +1055,8 @@ trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: AsyncCallback\ | 否 | 主动激发WantAgent实例的回调方法。 | +| triggerInfo | [TriggerInfo](js-apis-inner-wantAgent-triggerInfo.md) | 是 | TriggerInfo对象。 | +| callback | AsyncCallback\<[CompleteData](#completedata)\> | 否 | 主动激发WantAgent实例的回调方法。 | **错误码:** | 错误码ID | 错误信息 | @@ -1096,7 +1092,7 @@ trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: AsyncCallback\**系统API**:该接口为系统接口,三方应用不支持调用。 | | ACTION_MARKET_CROWDTEST | ohos.want.action.marketCrowdTest | 指示从应用程序市场众测应用程序的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | | DLP_PARAMS_SANDBOX |ohos.dlp.params.sandbox | 指示沙盒标志的参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | -| DLP_PARAMS_BUNDLE_NAME |ohos.dlp.params.bundleName |指示DLP包名称的参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | +| DLP_PARAMS_BUNDLE_NAME |ohos.dlp.params.bundleName |指示DLP Bundle名称的参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | | DLP_PARAMS_MODULE_NAME |ohos.dlp.params.moduleName |指示DLP模块名称的参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | | DLP_PARAMS_ABILITY_NAME |ohos.dlp.params.abilityName |指示DLP能力名称的参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | | DLP_PARAMS_INDEX |ohos.dlp.params.index |指示DLP索引参数的操作。
**系统API**:该接口为系统接口,三方应用不支持调用。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-form-formExtensionAbility.md b/zh-cn/application-dev/reference/apis/js-apis-app-form-formExtensionAbility.md index 6acbe99c6ea59a3ffe9e23622721af1230d5ff06..4175a69a6016cecd855876af5ebbd0c7111c3fb6 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-form-formExtensionAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-form-formExtensionAbility.md @@ -231,7 +231,7 @@ onAcquireFormState?(want: Want): formInfo.FormState; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| want | [Want](js-apis-application-want.md) | 是 | want表示获取卡片状态的描述。描述包括包名称、能力名称、模块名称、卡片名和卡片维度。 | +| want | [Want](js-apis-application-want.md) | 是 | want表示获取卡片状态的描述。描述包括Bundle名称、能力名称、模块名称、卡片名和卡片维度。 | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-form-formHost.md b/zh-cn/application-dev/reference/apis/js-apis-app-form-formHost.md index f7e0324ca30d9fc23fb7eeda1bb7d12731c1f9ad..d903617a76e09a06aac287347d8ba863860a101c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-form-formHost.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-form-formHost.md @@ -857,7 +857,7 @@ getFormsInfo(bundleName: string, callback: AsyncCallback<Array<formInfo.Fo | 参数名 | 类型 | 必填 | 说明 | | ------ | ------ | ---- | ------- | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | callback | AsyncCallback<Array<[FormInfo](js-apis-app-form-formInfo.md)>> | 是 | 回调函数。当获取设备上指定应用程序提供的卡片信息成功,err为undefined,data为查询到的卡片信息;否则为错误对象。 | **错误码:** @@ -897,7 +897,7 @@ getFormsInfo(bundleName: string, moduleName: string, callback: AsyncCallback< | 参数名 | 类型 | 必填 | 说明 | | ------ | ------ | ---- | ------- | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | moduleName | string | 是 | 要查询的模块名称。 | | callback | AsyncCallback<Array<[FormInfo](js-apis-app-form-formInfo.md)>> | 是 | 回调函数。当获取设备上指定应用程序提供的卡片信息成功,err为undefined,data为查询到的卡片信息;否则为错误对象。 | @@ -938,7 +938,7 @@ getFormsInfo(bundleName: string, moduleName?: string): Promise<Array<formI | 参数名 | 类型 | 必填 | 说明 | | ------ | ------ | ---- | ------- | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | moduleName | string | 否 | 要查询的模块名称。 | **返回值:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-form-formInfo.md b/zh-cn/application-dev/reference/apis/js-apis-app-form-formInfo.md index 40a7493130806351bd0ff2c242e4b1a5687eaae1..5cc2bab3d9de476e4e07cf84f351a61283f946d8 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-form-formInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-form-formInfo.md @@ -20,8 +20,8 @@ import formInfo from '@ohos.app.form.formInfo'; | 名称 | 类型 | 可读 | 可写 | 说明 | | ----------- | -------- | -------- | -------------------- | ------------------------------------------------------------ | -| bundleName | string | 是 | 否 | 卡片所属包的包名。 | -| moduleName | string | 是 | 否 | 卡片所属模块的模块名。 | +| bundleName | string | 是 | 否 | 卡片所属包的Bundle名称。 | +| moduleName | string | 是 | 否 | 卡片所属模块的模块名称。 | | abilityName | string | 是 | 否 | 卡片所属的Ability名称。 | | name | string | 是 | 否 | 卡片名称。 | | description | string | 是 | 否 | 卡片描述。 | @@ -31,7 +31,7 @@ import formInfo from '@ohos.app.form.formInfo'; | isDefault | boolean | 是 | 否 | 卡片是否是默认卡片。 | | updateEnabled | boolean | 是 | 否 | 卡片是否使能更新。 | | formVisibleNotify | string | 是 | 否 | 卡片是否使能可见通知。 | -| relatedBundleName | string | 是 | 否 | 卡片所属的相关联包名。 | +| relatedBundleName | string | 是 | 否 | 卡片所属的相关联Bundle名称。 | | scheduledUpdateTime | string | 是 | 否 | 卡片更新时间。 | | formConfigAbility | string | 是 | 否 | 卡片配置ability。指定长按卡片弹出的选择框内,编辑选项所对应的ability。 | | updateDuration | string | 是 | 否 | 卡片更新周期。 | @@ -102,7 +102,7 @@ import formInfo from '@ohos.app.form.formInfo'; | TEMPORARY_KEY | "ohos.extra.param.key.form_temporary" | 临时卡片。 | | ABILITY_NAME_KEY | "ohos.extra.param.key.ability_name" | ability名称 | | DEVICE_ID_KEY | "ohos.extra.param.key.device_id" | 设备标识。
**系统接口**: 此接口为系统接口。 | -| BUNDLE_NAME_KEY | "ohos.extra.param.key.bundle_name" | 指示指定要获取的捆绑包名称的键。| +| BUNDLE_NAME_KEY | "ohos.extra.param.key.bundle_name" | 指示指定要获取的捆绑Bundle名称的键。 | ## FormDimension diff --git a/zh-cn/application-dev/reference/apis/js-apis-appControl.md b/zh-cn/application-dev/reference/apis/js-apis-appControl.md index c8a6d76f550bfae81c21c6a35eafbe03d01c256b..9828a6572aca1404994332613f241686102babeb 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-appControl.md +++ b/zh-cn/application-dev/reference/apis/js-apis-appControl.md @@ -30,7 +30,7 @@ setDisposedStatus(appId: string, disposedWant: Want): Promise\ | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- | --------------------------------------- | -| appId | string | 是 | 需要设置处置状态的应用的appId。
appId是应用的唯一标识,由应用的包名和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | +| appId | string | 是 | 需要设置处置状态的应用的appId。
appId是应用的唯一标识,由应用Bundle名称和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | | disposedWant | Want | 是 | 对应用的处置意图。 | **返回值:** @@ -81,7 +81,7 @@ setDisposedStatus(appId: string, disposedWant: Want, callback: AsyncCallback\ appId是应用的唯一标识,由应用的包名和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | +| appId | string | 是 | 需要设置处置的应用的appId
appId是应用的唯一标识,由应用Bundle名称和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | | disposedWant | Want | 是 | 对应用的处置意图。 | | callback | AsyncCallback\ | 是 | 回调函数,当设置处置状态成功,err为undefined,否则为错误对象。 | @@ -128,7 +128,7 @@ getDisposedStatus(appId: string): Promise\; | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- | --------------------------------------- | -| appId | string | 是 | 要查询的应用的appId
appId是应用的唯一标识,由应用的包名和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | +| appId | string | 是 | 要查询的应用的appId
appId是应用的唯一标识,由应用Bundle名称和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | **返回值:** @@ -177,7 +177,7 @@ getDisposedStatus(appId: string, callback: AsyncCallback\): void; | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- | --------------------------------------- | -| appId | string | 是 | 要查询的应用的appId
appId是应用的唯一标识,由应用的包名和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | +| appId | string | 是 | 要查询的应用的appId
appId是应用的唯一标识,由应用Bundle名称和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | | callback | AsyncCallback\ | 是 | 回调函数。当获取应用的处置状态成功时,err为undefined,data为获取到的处置状态;否则为错误对象。 | **错误码:** @@ -222,7 +222,7 @@ deleteDisposedStatus(appId: string): Promise\ | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- | --------------------------------------- | -| appId | string | 是 | 要删除处置状态的应用的appId
appId是应用的唯一标识,由应用的包名和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | +| appId | string | 是 | 要删除处置状态的应用的appId
appId是应用的唯一标识,由应用Bundle名称和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | **返回值:** @@ -271,7 +271,7 @@ deleteDisposedStatus(appId: string, callback: AsyncCallback\) : void | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- | --------------------------------------- | -| appId | string | 是 | 要查询的应用的appId。
appId是应用的唯一标识,由应用的包名和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | +| appId | string | 是 | 要查询的应用的appId。
appId是应用的唯一标识,由应用Bundle名称和签名信息决定,获取方法参见[获取应用的appId](#获取应用的appid)。 | | callback | AsyncCallback\ | 是 | 回调函数,当设置处置状态成功时,err返回undefined。否则回调函数返回具体错误对象。 | **错误码:** @@ -301,7 +301,7 @@ try { ## 获取应用的appId -appId是应用的唯一标识,由应用的包名和签名信息决定,可以通过[getBundleInfo](js-apis-bundleManager.md#bundlemanagergetbundleinfo)接口获取。 +appId是应用的唯一标识,由应用Bundle名称和签名信息决定,可以通过[getBundleInfo](js-apis-bundleManager.md#bundlemanagergetbundleinfo)接口获取。 **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-ability.md b/zh-cn/application-dev/reference/apis/js-apis-application-ability.md index 892e1d64dc7e9db9ac953f7178e8d3c0d8e41ab8..14eeb6d2468387d894fdf7d6974265b8e0ba3278 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-ability.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-ability.md @@ -67,7 +67,7 @@ onWindowStageCreate(windowStage: window.WindowStage): void | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | windowStage | window.WindowStage | 是 | WindowStage相关信息。 | + | windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | WindowStage相关信息。 | **示例:** @@ -111,7 +111,7 @@ onWindowStageRestore(windowStage: window.WindowStage): void | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | windowStage | window.WindowStage | 是 | WindowStage相关信息。 | + | windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | WindowStage相关信息。 | **示例:** @@ -219,23 +219,24 @@ onContinue(wantParam : {[key: string]: any}): AbilityConstant.OnContinueResult; onNewWant(want: Want, launchParams: AbilityConstant.LaunchParam): void; -当ability的启动模式设置为单例时回调会被调用。 +当传入新的Want,ability再次被拉起时会回调执行该方法。 **系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | want | [Want](js-apis-application-want.md) | 是 | Want类型参数,如ability名称,包名等。 | - | launchParams | AbilityConstant.LaunchParam | 是 | Ability启动的原因、上次异常退出的原因信息。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| want | [Want](js-apis-application-want.md) | 是 | Want类型参数,如Ability名称,Bundle名称等。 | +| launchParams | AbilityConstant.LaunchParam | 是 | Ability启动的原因、上次异常退出的原因信息。 | **示例:** ```ts class myAbility extends Ability { - onNewWant(want) { + onNewWant(want, launchParams) { console.log('onNewWant, want:' + want.abilityName); + console.log('onNewWant, launchParams:' + JSON.stringify(launchParams)); } } ``` @@ -724,7 +725,7 @@ off(method: string): void; } } ``` - + ## OnReleaseCallBack (msg: string): void; diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-abilityConstant.md b/zh-cn/application-dev/reference/apis/js-apis-application-abilityConstant.md index 0c60a8d9511f4eafb61352bdbd574498ef73510f..a06734ef9ea765877b0f50e6ee64b2fbef03547f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-abilityConstant.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-abilityConstant.md @@ -19,8 +19,8 @@ import AbilityConstant from '@ohos.application.AbilityConstant'; | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| launchReason | LaunchReason| 是 | 是 | 指示启动原因。 | -| lastExitReason | LastExitReason | 是 | 是 | 表示最后退出原因。 | +| launchReason | [LaunchReason](#abilityconstantlaunchreason)| 是 | 是 | 指示启动原因。 | +| lastExitReason | [LastExitReason](#abilityconstantlastexitreason) | 是 | 是 | 表示最后退出原因。 | ## AbilityConstant.LaunchReason diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-abilityManager.md b/zh-cn/application-dev/reference/apis/js-apis-application-abilityManager.md index 485664b443819a94e4c1a2d43f6b7f0f45036278..47cd2130163689e591cda66214ba35aedd13add6 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-abilityManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-abilityManager.md @@ -108,7 +108,7 @@ getAbilityRunningInfos(callback: AsyncCallback\>): vo | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------------- | ---- | -------------- | -| callback | AsyncCallback\> | 是 | 被指定的回调方法。 | +| callback | AsyncCallback\> | 是 | 被指定的回调方法。 | **示例**: @@ -132,7 +132,7 @@ getAbilityRunningInfos(): Promise\> | 类型 | 说明 | | ---------------------------------------- | ------- | -| Promise\> | 返回执行结果。 | +| Promise\> | 返回执行结果。 | **示例**: @@ -159,7 +159,7 @@ getExtensionRunningInfos(upperLimit: number, callback: AsyncCallback\> | 是 | 被指定的回调方法。 | +| callback | AsyncCallback\> | 是 | 被指定的回调方法。 | **示例**: @@ -191,7 +191,7 @@ getExtensionRunningInfos(upperLimit: number): Promise\> | 返回执行结果。 | +| Promise\> | 返回执行结果。 | **示例**: @@ -217,7 +217,7 @@ getTopAbility(callback: AsyncCallback\): void; | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------------- | ---- | -------------- | -| callback | AsyncCallback\ | 是 | 被指定的回调方法。 | +| callback | AsyncCallback\<[ElementName](js-apis-bundleManager-elementName.md)> | 是 | 被指定的回调方法。 | **示例**: @@ -239,7 +239,7 @@ getTopAbility(): Promise\; | 类型 | 说明 | | ---------------------------------------- | ------- | -| Promise\| 返回执行结果。 | +| Promise\<[ElementName](js-apis-bundleManager-elementName.md)>| 返回执行结果。 | **示例**: diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-abilityStage.md b/zh-cn/application-dev/reference/apis/js-apis-application-abilityStage.md index 1fe541aa5524c3c340276b00940a2dcf5cfc81ff..4717cc9388c56c7d4eeede9bbf0cdb2fdcf4fc7c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-abilityStage.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-abilityStage.md @@ -1,6 +1,6 @@ # @ohos.application.AbilityStage (AbilityStage) -AbilityStage是HAP包的运行时类。 +AbilityStage是HAP的运行时类。 AbilityStage模块提供在HAP加载的时候,通知开发者,可以在此进行该HAP的初始化(如资源预加载,线程创建等)能力。 @@ -46,13 +46,13 @@ onAcceptWant(want: Want): string; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| want | [Want](js-apis-application-want.md) | 是 | Want类型参数,传入需要启动的ability的信息,如ability名称,包名等。 | +| want | [Want](js-apis-application-want.md) | 是 | Want类型参数,传入需要启动的UIAbility的信息,如Ability名称,Bundle名称等。 | **返回值:** | 类型 | 说明 | | -------- | -------- | -| string | 用户返回一个ability标识,如果之前启动过标识的ability,不创建新的实例并拉回栈顶,否则创建新的实例并启动。 | +| string | 用户返回一个UIAbility标识,如果之前启动过标识的UIAbility实例,不创建新的实例并拉回栈顶,否则创建新的实例并启动。 | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-accessibilityExtensionAbility.md b/zh-cn/application-dev/reference/apis/js-apis-application-accessibilityExtensionAbility.md index 2804125a07b0e6406101d314360b1ec2874aadbb..ef6a02866bd167e79d6f7bd148403401b1daaec7 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-accessibilityExtensionAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-accessibilityExtensionAbility.md @@ -31,7 +31,7 @@ import AccessibilityExtensionAbility from '@ohos.application.AccessibilityExtens | 名称 | 类型 | 可读 | 可写 | 说明 | | --------- | ---------------------------------------- | ---- | ---- | ---------- | | eventType | [accessibility.EventType](js-apis-accessibility.md#EventType) \| [accessibility.WindowUpdateType](js-apis-accessibility.md#WindowUpdateType) \| [TouchGuideType](#touchguidetype) \| [GestureType](#gesturetype) \| [PageUpdateType](#pageupdatetype) | 是 | 否 | 具体事件类型。 | -| target | AccessibilityElement | 是 | 否 | 发生事件的目标组件。 | +| target | [AccessibilityElement](js-apis-inner-application-accessibilityExtensionContext.md#accessibilityelement9) | 是 | 否 | 发生事件的目标组件。 | | timeStamp | number | 是 | 否 | 事件时间戳。 | ## GestureType diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-appManager.md b/zh-cn/application-dev/reference/apis/js-apis-application-appManager.md index 2070309cee7c13d9ef2339243a76eeeec9a3e014..ce602be043df8fe4b32c74297d2e3cf5bbe17e80 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-appManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-appManager.md @@ -170,7 +170,7 @@ getProcessRunningInfos(): Promise\>; | 类型 | 说明 | | -------- | -------- | -| Promise\> | 获取有关运行进程的信息。 | +| Promise\> | 获取有关运行进程的信息。 | **示例:** @@ -198,7 +198,7 @@ getProcessRunningInfos(callback: AsyncCallback\>): vo | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| callback | AsyncCallback\> | 是 | 获取有关运行进程的信息。 | +| callback | AsyncCallback\> | 是 | 获取有关运行进程的信息。 | **示例:** @@ -358,7 +358,7 @@ unregisterApplicationStateObserver(observerId: number, callback: AsyncCallback\ **系统API**:该接口为系统接口,三方应用不支持调用。 **参数:** - + | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | observerId | number | 是 | 表示观察者的编号代码。 | @@ -419,8 +419,8 @@ unregisterApplicationStateObserver(observerId: number): Promise\; getForegroundApplications(callback: AsyncCallback\>): void; -获取前台进程的应用程序。 - +获取所有当前处于前台的应用信息。该应用信息由[AppStateData](js-apis-inner-application-appStateData.md)定义。 + **需要权限**:ohos.permission.GET_RUNNING_INFO **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -431,7 +431,7 @@ getForegroundApplications(callback: AsyncCallback\>): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| callback | AsyncCallback\> | 是 | 表示应用的状态数据。 | +| callback | AsyncCallback\> | 是 | callback形式返回所有当前处于前台的应用信息。 | **示例:** @@ -450,7 +450,7 @@ getForegroundApplications(callback: AsyncCallback\>): void; getForegroundApplications(): Promise\>; -获取前台进程的应用程序。 +获取所有当前处于前台的应用信息。该应用信息由[AppStateData](js-apis-inner-application-appStateData.md)定义。 **需要权限**:ohos.permission.GET_RUNNING_INFO @@ -462,7 +462,7 @@ getForegroundApplications(): Promise\>; | 类型 | 说明 | | -------- | -------- | -| Promise\> | 返回进程运行信息的数组。 | +| Promise\> | Promise形式返回所有当前处于前台的应用信息。 | **示例:** @@ -482,7 +482,7 @@ killProcessWithAccount(bundleName: string, accountId: number): Promise\ 切断account进程(Promise形式)。 -**需要权限**:ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS, ohos.permission.CLEAN_BACKGROUND_PROCESSES +**需要权限**:ohos.permission.CLEAN_BACKGROUND_PROCESSES,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -490,10 +490,10 @@ killProcessWithAccount(bundleName: string, accountId: number): Promise\ **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | bundleName | string | 是 | 应用包名。 | - | accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getosaccountlocalidfromprocess)。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| bundleName | string | 是 | 应用Bundle名称。 | +| accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getosaccountlocalidfromprocess)。 | **示例:** @@ -520,15 +520,15 @@ killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCal **系统API**: 此接口为系统接口,三方应用不支持调用。 -**需要权限**:ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS, ohos.permission.CLEAN_BACKGROUND_PROCESSES +**需要权限**:ohos.permission.CLEAN_BACKGROUND_PROCESSES,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS权限。 **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | bundleName | string | 是 | 应用包名。 | - | accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getosaccountlocalidfromprocess)。 | - | callback | AsyncCallback\ | 是 | 切断account进程的回调函数。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| bundleName | string | 是 | 应用Bundle名称。 | +| accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getosaccountlocalidfromprocess)。 | +| callback | AsyncCallback\ | 是 | 切断account进程的回调函数。 | **示例:** @@ -549,7 +549,7 @@ appManager.killProcessWithAccount(bundleName, accountId, killProcessWithAccountC killProcessesByBundleName(bundleName: string, callback: AsyncCallback\); -通过包名终止进程。 +通过Bundle名称终止进程。 **需要权限**:ohos.permission.CLEAN_BACKGROUND_PROCESSES @@ -561,7 +561,7 @@ killProcessesByBundleName(bundleName: string, callback: AsyncCallback\); | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| bundleName | string | 是 | 表示包名。 | +| bundleName | string | 是 | 表示Bundle名称。 | | callback | AsyncCallback\ | 是 | 表示指定的回调方法。 | **示例:** @@ -582,7 +582,7 @@ killProcessesByBundleName(bundleName: string, callback: AsyncCallback\); killProcessesByBundleName(bundleName: string): Promise\; -通过包名终止进程。 +通过Bundle名称终止进程。 **需要权限**:ohos.permission.CLEAN_BACKGROUND_PROCESSES @@ -594,7 +594,7 @@ killProcessesByBundleName(bundleName: string): Promise\; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| bundleName | string | 是 | 表示包名。 | +| bundleName | string | 是 | 表示Bundle名称。 | **返回值:** @@ -603,9 +603,9 @@ killProcessesByBundleName(bundleName: string): Promise\; | Promise\ | 返回执行结果。 | **示例:** - + ```ts - var bundleName = 'bundleName'; + var bundleName = 'com.example.myapplication'; appManager.killProcessesByBundleName(bundleName) .then((data) => { console.log('------------ killProcessesByBundleName success ------------', data); @@ -619,7 +619,7 @@ killProcessesByBundleName(bundleName: string): Promise\; clearUpApplicationData(bundleName: string, callback: AsyncCallback\); -通过包名清除应用数据。 +通过Bundle名称清除应用数据。 **需要权限**:ohos.permission.CLEAN_APPLICATION_DATA @@ -631,7 +631,7 @@ clearUpApplicationData(bundleName: string, callback: AsyncCallback\); | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| bundleName | string | 是 | 表示包名。 | +| bundleName | string | 是 | 表示Bundle名称。 | | callback | AsyncCallback\ | 是 | 表示指定的回调方法。 | **示例:** @@ -652,7 +652,7 @@ clearUpApplicationData(bundleName: string, callback: AsyncCallback\); clearUpApplicationData(bundleName: string): Promise\; -通过包名清除应用数据。 +通过Bundle名称清除应用数据。 **需要权限**:ohos.permission.CLEAN_APPLICATION_DATA @@ -664,7 +664,7 @@ clearUpApplicationData(bundleName: string): Promise\; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| bundleName | string | 是 | 表示包名。 | +| bundleName | string | 是 | 表示Bundle名称。 | **返回值:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-dataShareExtensionAbility.md b/zh-cn/application-dev/reference/apis/js-apis-application-dataShareExtensionAbility.md index 49e2ec26612ff745fb16d42a6e87aeb719ab6c43..5aca9fc590489d7aa3d7030b1cfcaa98c50e8afb 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-dataShareExtensionAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-dataShareExtensionAbility.md @@ -37,7 +37,7 @@ DataShare客户端连接DataShareExtensionAbility服务端时,服务端回调 | 参数名 | 类型 | 必填 | 说明 | | ----- | ------ | ------ | ------ | -| want | [Want](js-apis-application-want.md#want) | 是 | Want类型信息,包括ability名称、bundle名称等。 | +| want | [Want](js-apis-application-want.md#want) | 是 | Want类型信息,包括Ability名称、Bundle名称等。 | | callback | AsyncCallback<void> | 是 | 回调函数。无返回值。 | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-formExtension.md b/zh-cn/application-dev/reference/apis/js-apis-application-formExtension.md index 7ddbd2070327bb2db1786f6186b1e17b2645863a..741a99c544f9beaab9111eb5de9813e70645370d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-formExtension.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-formExtension.md @@ -232,7 +232,7 @@ onAcquireFormState?(want: Want): formInfo.FormState; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| want | [Want](js-apis-application-want.md) | 是 | want表示获取卡片状态的描述。描述包括包名称、能力名称、模块名称、卡片名和卡片维度。 | +| want | [Want](js-apis-application-want.md) | 是 | want表示获取卡片状态的描述。描述包括Bundle名称、能力名称、模块名称、卡片名和卡片维度。 | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-formHost.md b/zh-cn/application-dev/reference/apis/js-apis-application-formHost.md index 1badfbc1f6ebf92f5643f34377fced401ad0c102..0e427503557cd4c69774e4b8e2e3e719eaafdab4 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-formHost.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-formHost.md @@ -650,7 +650,7 @@ getFormsInfo(bundleName: string, callback: AsyncCallback<Array<formInfo.Fo | 参数名 | 类型 | 必填 | 说明 | | ------ | ------ | ---- | ------- | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用Bundle名称。 | | callback | AsyncCallback<Array<[FormInfo](js-apis-application-formInfo.md)>> | 是 | 回调函数。当获取设备上指定应用程序提供的卡片信息成功,err为undefined,data为查询到的卡片信息;否则为错误对象。 | **示例:** @@ -679,7 +679,7 @@ getFormsInfo(bundleName: string, moduleName: string, callback: AsyncCallback< | 参数名 | 类型 | 必填 | 说明 | | ------ | ------ | ---- | ------- | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用程序Bundle名称。 | | moduleName | string | 是 | 要查询的模块名称。 | | callback | AsyncCallback<Array<[FormInfo](js-apis-application-formInfo.md)>> | 是 | 回调函数。当获取设备上指定应用程序提供的卡片信息成功,err为undefined,data为查询到的卡片信息;否则为错误对象。 | @@ -709,7 +709,7 @@ getFormsInfo(bundleName: string, moduleName?: string): Promise<Array<formI | 参数名 | 类型 | 必填 | 说明 | | ------ | ------ | ---- | ------- | -| bundleName | string | 是 | 要查询的应用程序包名称。 | +| bundleName | string | 是 | 要查询的应用程序Bundle名称。 | | moduleName | string | 否 | 要查询的模块名称。 | **返回值:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-formInfo.md b/zh-cn/application-dev/reference/apis/js-apis-application-formInfo.md index c48ccb0e1412e5781f69e0aca377994271df050a..d50fb82a221268f5746f1ef887d8192809702a56 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-formInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-formInfo.md @@ -21,9 +21,9 @@ import formInfo from '@ohos.application.formInfo'; | 名称 | 类型 | 可读 | 可写 | 说明 | | ----------- | -------- |-------- | -------------------- | ------------------------------------------------------------ | -| bundleName | string | 是 | 否 | 表示卡片所属包的包名。 | +| bundleName | string | 是 | 否 | 表示卡片所属包的Bundle名称。 | | moduleName | string | 是 | 否 | 表示卡片所属模块的模块名。 | -| abilityName | string | 是 | 否 | 表示卡片所属的Ability名称。 | +| abilityName | string | 是 | 否 | 表示卡片所属的Ability名称。 | | name | string | 是 | 否 | 表示卡片名称。 | | description | string | 是 | 否 | 表示卡片描述。 | | type | [FormType](#formtype) | 是 | 否 | 表示卡片类型,当前支持JS卡片。 | @@ -32,7 +32,7 @@ import formInfo from '@ohos.application.formInfo'; | isDefault | boolean | 是 | 否 | 表示是否是默认卡片。 | | updateEnabled | boolean | 是 | 否 | 表示卡片是否使能更新。 | | formVisibleNotify | string | 是 | 否 | 表示卡片是否使能可见通知。 | -| relatedBundleName | string | 是 | 否 | 表示卡片所属的相关联包名。 | +| relatedBundleName | string | 是 | 否 | 表示卡片所属的相关联Bundle名称。 | | scheduledUpdateTime | string | 是 | 否 | 表示卡片更新时间。 | | formConfigAbility | string | 是 | 否 | 表示卡片配置ability。 | | updateDuration | string | 是 | 否 | 表示卡片更新周期。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-missionManager.md b/zh-cn/application-dev/reference/apis/js-apis-application-missionManager.md index f5cc6343be1662b1f2916930683f02bc263936bb..deb071195ff0101ee49e8d7f15c73bc6373677f4 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-missionManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-missionManager.md @@ -20,7 +20,7 @@ ohos.permission.MANAGE_MISSIONS registerMissionListener(listener: MissionListener): number; -注册系统任务状态监听。 +注册系统任务状态监听器。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -32,13 +32,13 @@ registerMissionListener(listener: MissionListener): number; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | listener | [MissionListener](js-apis-inner-application-missionListener.md) | 是 | 系统任务监听方法。 | + | listener | [MissionListener](js-apis-inner-application-missionListener.md) | 是 | 系统任务监听器。 | **返回值:** | 类型 | 说明 | | -------- | -------- | - | number | 监听方法的index值,由系统创建,在注册系统任务状态监听时分配,和监听方法一一对应 。 | + | number | 监听器的index值,由系统创建,在注册系统任务状态监听器时分配,和监听器一一对应 。 | **示例:** @@ -61,7 +61,7 @@ var listenerid = missionManager.registerMissionListener(listener); unregisterMissionListener(listenerId: number, callback: AsyncCallback<void>): void; -取消任务状态监听。 +解注册任务状态监听器。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -73,7 +73,7 @@ unregisterMissionListener(listenerId: number, callback: AsyncCallback<void> | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | listenerId | number | 是 | 系统任务状态监听方法的index值,和监听方法一一对应,由registerMissionListener方法返回。 | + | listenerId | number | 是 | 系统任务状态监听器的index值,和监听器一一对应,由registerMissionListener方法返回。 | | callback | AsyncCallback<void> | 是 | 执行结果回调函数。 | **示例:** @@ -101,7 +101,7 @@ unregisterMissionListener(listenerId: number, callback: AsyncCallback<void> unregisterMissionListener(listenerId: number): Promise<void>; -取消任务状态监听,以promise方式返回执行结果。 +反注册任务状态监听器,以promise方式返回执行结果。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -113,7 +113,7 @@ unregisterMissionListener(listenerId: number): Promise<void>; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | - | listenerId | number | 是 | 系统任务状态监听方法的index值,和监听方法一一对应,由registerMissionListener方法返回。 | + | listenerId | number | 是 | 系统任务状态监听器的index值,和监听器一一对应,由registerMissionListener方法返回。 | **返回值:** @@ -146,7 +146,7 @@ unregisterMissionListener(listenerId: number): Promise<void>; getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback<MissionInfo>): void; -获取任务信息,以异步回调的方式返回任务信息。 +获取单个任务信息,以异步回调的方式返回任务信息。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -169,7 +169,12 @@ getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback<M var allMissions=missionManager.getMissionInfos("",10).catch(function(err){console.log(err);}); missionManager.getMissionInfo("", allMissions[0].missionId, (error, mission) => { - console.log("getMissionInfo is called, error.code = " + error.code) + if (error.code) { + console.log("getMissionInfo failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } + console.log("mission.missionId = " + mission.missionId); console.log("mission.runningState = " + mission.runningState); console.log("mission.lockedState = " + mission.lockedState); @@ -184,7 +189,7 @@ getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback<M getMissionInfo(deviceId: string, missionId: number): Promise<MissionInfo>; -获取任务信息,以promise方式返回任务信息。 +获取单个任务信息,以promise方式返回任务信息。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -242,7 +247,11 @@ getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback<Arr import missionManager from '@ohos.application.missionManager' missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); }) @@ -311,14 +320,22 @@ getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback& import missionManager from '@ohos.application.missionManager' missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; missionManager.getMissionSnapShot("", id, (error, snapshot) => { - console.log("getMissionSnapShot is called, error.code = " + error.code); - console.log("bundleName = " + snapshot.ability.bundleName); + if (error.code) { + console.log("getMissionSnapShot failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } + console.log("bundleName = " + snapshot.ability.bundleName); }) }) ``` @@ -371,7 +388,7 @@ getMissionSnapShot(deviceId: string, missionId: number): Promise<MissionSnaps getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\): void; -使用给定的任务ID获取任务低分辨率快照。 +获取任务低分辨率快照。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -393,14 +410,22 @@ getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: A import missionManager from '@ohos.application.missionManager' missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; missionManager.getLowResolutionMissionSnapShot("", id, (error, snapshot) => { - console.log("getLowResolutionMissionSnapShot is called, error.code = " + error.code); - console.log("bundleName = " + snapshot.ability.bundleName); + if (error.code) { + console.log("getLowResolutionMissionSnapShot failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } + console.log("bundleName = " + snapshot.ability.bundleName); }) }) ``` @@ -410,7 +435,7 @@ getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: A getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise\; -使用给定的任务ID获取任务低分辨率快照。 +获取任务低分辨率快照。 **需要权限**:ohos.permission.MANAGE_MISSIONS @@ -475,7 +500,11 @@ lockMission(missionId: number, callback: AsyncCallback<void>): void; import missionManager from '@ohos.application.missionManager' missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; @@ -554,7 +583,11 @@ unlockMission(missionId: number, callback: AsyncCallback<void>): void; import missionManager from '@ohos.application.missionManager' missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; @@ -637,7 +670,11 @@ clearMission(missionId: number, callback: AsyncCallback<void>): void; import missionManager from '@ohos.application.missionManager' missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; @@ -768,7 +805,11 @@ moveMissionToFront(missionId: number, callback: AsyncCallback<void>): void import missionManager from '@ohos.application.missionManager' missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; @@ -806,7 +847,11 @@ moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCall import missionManager from '@ohos.application.missionManager' missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } console.log("size = " + missions.length); console.log("missions = " + JSON.stringify(missions)); var id = missions[0].missionId; diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-staticSubscriberExtensionAbility.md b/zh-cn/application-dev/reference/apis/js-apis-application-staticSubscriberExtensionAbility.md index 21b6a8f94ec1289e3b51740c8b7fdea15f13d2c9..e2481c7e2165fa819870b9bfbef9c28a09340f04 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-staticSubscriberExtensionAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-staticSubscriberExtensionAbility.md @@ -24,9 +24,9 @@ onReceiveEvent(event: CommonEventData): void; **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | event | [CommonEventData](js-apis-commonEvent.md#commoneventdata) | 是 | 静态订阅者通用事件回调。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| event | [CommonEventData](js-apis-commonEventManager.md#commoneventdata) | 是 | 静态订阅者通用事件回调。 | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-want.md b/zh-cn/application-dev/reference/apis/js-apis-application-want.md index 4458fd9a1dc9ae2f553dc26e6c8e45a3fdaa5d0b..a6b40f6271cc8350a61635fe1cfe58b5017b65b9 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-want.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-want.md @@ -1,6 +1,6 @@ # @ohos.application.Want (Want) -Want是对象间信息传递的载体, 可以用于应用组件间的信息传递。 Want的使用场景之一是作为startAbility的参数, 其包含了指定的启动目标, 以及启动时需携带的相关数据, 如bundleName和abilityName字段分别指明目标Ability所在应用的包名以及对应包内的Ability名称。当Ability A需要启动Ability B并传入一些数据时, 可使用Want作为载体将这些数据传递给Ability B。 +Want是对象间信息传递的载体, 可以用于应用组件间的信息传递。 Want的使用场景之一是作为startAbility的参数, 其包含了指定的启动目标, 以及启动时需携带的相关数据, 如bundleName和abilityName字段分别指明目标Ability所在应用Bundle名称以及对应包内的Ability名称。当Ability A需要启动Ability B并传入一些数据时, 可使用Want作为载体将这些数据传递给Ability B。 > **说明:** > diff --git a/zh-cn/application-dev/reference/apis/js-apis-avsession.md b/zh-cn/application-dev/reference/apis/js-apis-avsession.md index 2c34a0244668b9b6bd9df550d095a47218f93f2d..f57f581a3509ef8dd861c9e3e858664f0ceab81b 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-avsession.md +++ b/zh-cn/application-dev/reference/apis/js-apis-avsession.md @@ -978,9 +978,9 @@ setLaunchAbility(ability: WantAgent): Promise\ **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| ------- | --------------------------------- | ---- | ----------------------------------------------------------- | -| ability | [WantAgent](js-apis-wantAgent.md) | 是 | 应用的相关属性信息,如bundleName,abilityName,deviceId等。 | +| 参数名 | 类型 | 必填 | 说明 | +| ------- | --------------------------------------------- | ---- | ----------------------------------------------------------- | +| ability | [WantAgent](js-apis-app-ability-wantAgent.md) | 是 | 应用的相关属性信息,如bundleName,abilityName,deviceId等。 | **返回值:** @@ -1048,10 +1048,10 @@ setLaunchAbility(ability: WantAgent, callback: AsyncCallback\): void **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| -------- | --------------------------------- | ---- | ----------------------------------------------------------- | -| ability | [WantAgent](js-apis-wantAgent.md) | 是 | 应用的相关属性信息,如bundleName,abilityName,deviceId等。 | -| callback | AsyncCallback | 是 | 回调函数。当Ability设置成功,err为undefined,否则返回错误对象。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | --------------------------------------------- | ---- | ------------------------------------------------------------ | +| ability | [WantAgent](js-apis-app-ability-wantAgent.md) | 是 | 应用的相关属性信息,如bundleName,abilityName,deviceId等。 | +| callback | AsyncCallback | 是 | 回调函数。当Ability设置成功,err为undefined,否则返回错误对象。 | **错误码:** 以下错误码的详细介绍请参见[ohos.multimedia.avsession(多媒体会话)错误码](../errorcodes/errorcode-avsession.md)。 @@ -2204,9 +2204,9 @@ getLaunchAbility(): Promise\ **返回值:** -| 类型 | 说明 | -| ------------------------------------------- | ------------------------------------------------------------ | -| Promise<[WantAgent](js-apis-wantAgent.md)\> | Promise对象,返回在[setLaunchAbility](#setlaunchability)保存的对象,包括应用的相关属性信息,如bundleName,abilityName,deviceId等。 | +| 类型 | 说明 | +| ------------------------------------------------------- | ------------------------------------------------------------ | +| Promise<[WantAgent](js-apis-app-ability-wantAgent.md)\> | Promise对象,返回在[setLaunchAbility](#setlaunchability)保存的对象,包括应用的相关属性信息,如bundleName,abilityName,deviceId等。 | **错误码:** 以下错误码的详细介绍请参见[ohos.multimedia.avsession(多媒体会话)错误码](../errorcodes/errorcode-avsession.md)。 @@ -2239,9 +2239,9 @@ getLaunchAbility(callback: AsyncCallback\): void **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| -------- | ------------------------------------------------- | ---- | ------------------------------------------------------------ | -| callback | AsyncCallback<[WantAgent](js-apis-wantAgent.md)\> | 是 | 回调函数。返回在[setLaunchAbility](#setlaunchability)保存的对象,包括应用的相关属性信息,如bundleName,abilityName,deviceId等。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | +| callback | AsyncCallback<[WantAgent](js-apis-app-ability-wantAgent.md)\> | 是 | 回调函数。返回在[setLaunchAbility](#setlaunchability)保存的对象,包括应用的相关属性信息,如bundleName,abilityName,deviceId等。 | **错误码:** 以下错误码的详细介绍请参见[ohos.multimedia.avsession(多媒体会话)错误码](../errorcodes/errorcode-avsession.md)。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md b/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md index 4b7b1d0524e8154bfeee78a04bde821b5ae59cce..b89e4400faec9c90601181d933e120a1a094e638 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md @@ -159,12 +159,12 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want **参数**: -| 参数名 | 类型 | 必填 | 说明 | -| --------- | ---------------------------------- | ---- | ---------------------------------------- | -| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | -| bgMode | [BackgroundMode](#backgroundmode8) | 是 | 向系统申请的后台模式。 | -| wantAgent | [WantAgent](js-apis-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击后跳转的界面。 | -| callback | AsyncCallback<void> | 是 | callback形式返回启动长时任务的结果。 | +| 参数名 | 类型 | 必填 | 说明 | +| --------- | --------------------------------------------- | ---- | ------------------------------------------------------------ | +| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| bgMode | [BackgroundMode](#backgroundmode8) | 是 | 向系统申请的后台模式。 | +| wantAgent | [WantAgent](js-apis-app-ability-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击后跳转的界面。 | +| callback | AsyncCallback<void> | 是 | callback形式返回启动长时任务的结果。 | **示例**: @@ -251,11 +251,11 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want **参数**: -| 参数名 | 类型 | 必填 | 说明 | -| --------- | ---------------------------------- | ---- | ---------------------------------------- | -| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | -| bgMode | [BackgroundMode](#backgroundmode8) | 是 | 向系统申请的后台模式。 | -| wantAgent | [WantAgent](js-apis-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击跳转的界面。 | +| 参数名 | 类型 | 必填 | 说明 | +| --------- | --------------------------------------------- | ---- | ------------------------------------------------------------ | +| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| bgMode | [BackgroundMode](#backgroundmode8) | 是 | 向系统申请的后台模式。 | +| wantAgent | [WantAgent](js-apis-app-ability-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击跳转的界面。 | **返回值**: diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundle-AbilityInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundle-AbilityInfo.md index a03f5b352e1d055f408bbf0144f64c87971f0016..6f82c803d4cce42903fb5d6b152d34c8a52b7e31 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundle-AbilityInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundle-AbilityInfo.md @@ -13,32 +13,32 @@ Ability信息,未做特殊说明的属性,均通过[GET_BUNDLE_DEFAULT](js-a **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework -| 名称 | 类型 | 可读 | 可写 | 说明 | -| --------------------- | -------------------------------------------------------- | ---- | ---- | ----------------------------------------- | -| bundleName | string | 是 | 否 | 应用包名。 | -| name | string | 是 | 否 | Ability名称。 | -| label | string | 是 | 否 | Ability对用户显示的名称。 | -| description | string | 是 | 否 | Ability的描述。 | -| icon | string | 是 | 否 | Ability的图标资源文件索引。 | -| descriptionId | number | 是 | 否 | Ability的描述id。 | -| iconId | number | 是 | 否 | Ability的图标id。 | -| moduleName | string | 是 | 否 | Ability所属的HAP包的名称。 | -| process | string | 是 | 否 | Ability的进程,如果不设置,默认为包的名称。 | -| targetAbility | string | 是 | 否 | 当前Ability重用的目标Ability。
此属性仅可在FA模型下使用。 | -| backgroundModes | number | 是 | 否 | 表示后台服务的类型。
此属性仅可在FA模型下使用。 | -| isVisible | boolean | 是 | 否 | 判断Ability是否可以被其他应用调用。 | -| formEnabled | boolean | 是 | 否 | 判断Ability是否提供卡片能力。
此属性仅可在FA模型下使用。 | -| type | AbilityType | 是 | 否 | Ability类型。
此属性仅可在FA模型下使用。 | -| orientation | [DisplayOrientation](js-apis-Bundle.md#displayorientationdeprecated) | 是 | 否 | Ability的显示模式。 | -| launchMode | [LaunchMode](js-apis-Bundle.md#launchmodedeprecated) | 是 | 否 | Ability的启动模式。 | -| permissions | Array\ | 是 | 否 | 被其他应用Ability调用时需要申请的权限集合。
通过传入GET_ABILITY_INFO_WITH_PERMISSION获取。 | -| deviceTypes | Array\ | 是 | 否 | Ability支持的设备类型。 | -| deviceCapabilities | Array\ | 是 | 否 | Ability需要的设备能力。 | -| readPermission | string | 是 | 否 | 读取Ability数据所需的权限。
此属性仅可在FA模型下使用。| -| writePermission | string | 是 | 否 | 向Ability写数据所需的权限。
此属性仅可在FA模型下使用。 | -| applicationInfo | [ApplicationInfo](js-apis-bundle-ApplicationInfo.md) | 是 | 否 | 应用程序的配置信息。
通过传入[GET_ABILITY_INFO_WITH_APPLICATION](js-apis-Bundle.md)获取。 | -| uri | string | 是 | 否 | 获取Ability的统一资源标识符(URI)。
此属性仅可在FA模型下使用。 | -| labelId | number | 是 | 否 | Ability的标签id。 | -| subType | AbilitySubType | 是 | 否 | Ability中枚举使用的模板的子类型。
此属性仅可在FA模型下使用。 | -| metadata8+ | Array\<[CustomizeData](js-apis-bundle-CustomizeData.md)> | 是 | 否 | ability的元信息。
通过传入GET_ABILITY_INFO_WITH_METADATA获取。 | -| enabled8+ | boolean | 是 | 否 | ability是否可用。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| --------------------- | ------------------------------------------------------------ | ---- | ---- | ------------------------------------------------------------ | +| bundleName | string | 是 | 否 | 应用Bundle名称。 | +| name | string | 是 | 否 | Ability名称。 | +| label | string | 是 | 否 | Ability对用户显示的名称。 | +| description | string | 是 | 否 | Ability的描述。 | +| icon | string | 是 | 否 | Ability的图标资源文件索引。 | +| descriptionId | number | 是 | 否 | Ability的描述id。 | +| iconId | number | 是 | 否 | Ability的图标id。 | +| moduleName | string | 是 | 否 | Ability所属的HAP的名称。 | +| process | string | 是 | 否 | Ability的进程,如果不设置,默认为包的名称。 | +| targetAbility | string | 是 | 否 | 当前Ability重用的目标Ability。
此属性仅可在FA模型下使用。 | +| backgroundModes | number | 是 | 否 | 表示后台服务的类型。
此属性仅可在FA模型下使用。 | +| isVisible | boolean | 是 | 否 | 判断Ability是否可以被其他应用调用。 | +| formEnabled | boolean | 是 | 否 | 判断Ability是否提供卡片能力。
此属性仅可在FA模型下使用。 | +| type | AbilityType | 是 | 否 | Ability类型。
此属性仅可在FA模型下使用。 | +| orientation | [DisplayOrientation](js-apis-Bundle.md#displayorientationdeprecated) | 是 | 否 | Ability的显示模式。 | +| launchMode | [LaunchMode](js-apis-Bundle.md#launchmodedeprecated) | 是 | 否 | Ability的启动模式。 | +| permissions | Array\ | 是 | 否 | 被其他应用Ability调用时需要申请的权限集合。
通过传入GET_ABILITY_INFO_WITH_PERMISSION获取。 | +| deviceTypes | Array\ | 是 | 否 | Ability支持的设备类型。 | +| deviceCapabilities | Array\ | 是 | 否 | Ability需要的设备能力。 | +| readPermission | string | 是 | 否 | 读取Ability数据所需的权限。
此属性仅可在FA模型下使用。 | +| writePermission | string | 是 | 否 | 向Ability写数据所需的权限。
此属性仅可在FA模型下使用。 | +| applicationInfo | [ApplicationInfo](js-apis-bundle-ApplicationInfo.md) | 是 | 否 | 应用程序的配置信息。
通过传入[GET_ABILITY_INFO_WITH_APPLICATION](js-apis-Bundle.md)获取。 | +| uri | string | 是 | 否 | 获取Ability的统一资源标识符(URI)。
此属性仅可在FA模型下使用。 | +| labelId | number | 是 | 否 | Ability的标签id。 | +| subType | AbilitySubType | 是 | 否 | Ability中枚举使用的模板的子类型。
此属性仅可在FA模型下使用。 | +| metadata8+ | Array\<[CustomizeData](js-apis-bundle-CustomizeData.md)> | 是 | 否 | ability的元信息。
通过传入GET_ABILITY_INFO_WITH_METADATA获取。 | +| enabled8+ | boolean | 是 | 否 | ability是否可用。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundle-ApplicationInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundle-ApplicationInfo.md index 0cafdce9479cf4f0b513af164c838f0224049fd6..65e2fa1115f242b2713e8f94bba1d606d48b762d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundle-ApplicationInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundle-ApplicationInfo.md @@ -16,14 +16,14 @@ | 名称 | 类型 | 可读 | 可写 | 说明 | |----------------------------|------------------------------------------------------------------------|-----|-----|----------------------------------------------------------------------------------------------------------------------------------------------------------------------| | name | string | 是 | 否 | 应用程序的名称。 | -| description | string | 是 | 否 | 应用程序的描述。 | -| descriptionId | number | 是 | 否 | 应用程序的描述id。 | +| description | string | 是 | 否 | 应用程序的描述信息。 | +| descriptionId | number | 是 | 否 | 应用程序的描述信息的资源id。 | | systemApp | boolean | 是 | 否 | 判断是否为系统应用程序,默认为false。 | | enabled | boolean | 是 | 否 | 判断应用程序是否可以使用,默认为true。 | | label | string | 是 | 否 | 应用程序显示的标签。 | -| labelId | string | 是 | 否 | 应用程序的标签id。 | +| labelId | string | 是 | 否 | 应用程序的标签的资源id值。 | | icon | string | 是 | 否 | 应用程序的图标。 | -| iconId | string | 是 | 否 | 应用程序的图标id。 | +| iconId | string | 是 | 否 | 应用程序图标的资源id值。 | | process | string | 是 | 否 | 应用程序的进程,如果不设置,默认为包的名称。 | | supportedModes | number | 是 | 否 | 标识应用支持的运行模式,当前只定义了驾驶模式(drive)。该标签只适用于车机。 | | moduleSourceDirs | Array\ | 是 | 否 | 应用程序的资源存放的相对路径。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInfo.md index 3521b7df34e11e214ef23ec4b91613cc80609a1c..8e1c7bdee07eac1042cf3c8e4cb9a39fe1790561 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInfo.md @@ -11,31 +11,31 @@ **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework。 -| 名称 | 类型 | 可读 | 可写 | 说明 | -| --------------------------------- | ------------------------------------------------------------ | ---- | ---- | ------------------------------------------------------------ | -| name | string | 是 | 否 | 应用包的名称。 | -| type | string | 是 | 否 | 应用包类型。 | -| appId | string | 是 | 否 | 应用包里应用程序的id。 | -| uid | number | 是 | 否 | 应用包里应用程序的uid。 | -| installTime | number | 是 | 否 | HAP包安装时间。 | -| updateTime | number | 是 | 否 | HAP包更新时间。 | -| appInfo | [ApplicationInfo](js-apis-bundle-ApplicationInfo.md) | 是 | 否 | 应用程序的配置信息。 | -| abilityInfos | Array\<[AbilityInfo](js-apis-bundle-AbilityInfo.md)> | 是 | 否 | Ability的配置信息
通过传入GET_BUNDLE_WITH_ABILITIES获取。 | -| reqPermissions | Array\ | 是 | 否 | 应用运行时需向系统申请的权限集合
通过传入GET_BUNDLE_WITH_REQUESTED_PERMISSION获取。 | -| reqPermissionDetails | Array\<[ReqPermissionDetail](#reqpermissiondetaildeprecated)> | 是 | 否 | 应用运行时需向系统申请的权限集合的详细信息
通过传入GET_BUNDLE_WITH_REQUESTED_PERMISSION获取。 | -| vendor | string | 是 | 否 | 应用包的供应商。 | -| versionCode | number | 是 | 否 | 应用包的版本号。 | -| versionName | string | 是 | 否 | 应用包的版本文本描述信息。 | -| compatibleVersion | number | 是 | 否 | 运行应用包所需要最低的SDK版本号。 | -| targetVersion | number | 是 | 否 | 运行应用包所需要最高SDK版本号。 | -| isCompressNativeLibs | boolean | 是 | 否 | 是否压缩应用包的本地库,默认为true。 | -| hapModuleInfos | Array\<[HapModuleInfo](js-apis-bundle-HapModuleInfo.md)> | 是 | 否 | 模块的配置信息。 | -| entryModuleName | string | 是 | 否 | Entry的模块名称。 | -| cpuAbi | string | 是 | 否 | 应用包的cpuAbi信息。 | -| isSilentInstallation | string | 是 | 否 | 是否通过静默安装。 | -| minCompatibleVersionCode | number | 是 | 否 | 分布式场景下的应用包兼容的最低版本。 | -| entryInstallationFree | boolean | 是 | 否 | Entry是否支持免安装。 | -| reqPermissionStates8+ | Array\ | 是 | 否 | 申请权限的授予状态。0表示申请成功,-1表示申请失败。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------------------------------- | ------------------------------------------------------------ | ---- | ---- | ------------------------------------------------------------ | +| name | string | 是 | 否 | 应用包的名称。 | +| type | string | 是 | 否 | 应用包类型。 | +| appId | string | 是 | 否 | 应用包里应用程序的id。 | +| uid | number | 是 | 否 | 应用包里应用程序的uid。 | +| installTime | number | 是 | 否 | HAP安装时间。 | +| updateTime | number | 是 | 否 | HAP更新时间。 | +| appInfo | [ApplicationInfo](js-apis-bundle-ApplicationInfo.md) | 是 | 否 | 应用程序的配置信息。 | +| abilityInfos | Array\<[AbilityInfo](js-apis-bundle-AbilityInfo.md)> | 是 | 否 | Ability的配置信息
通过传入GET_BUNDLE_WITH_ABILITIES获取。 | +| reqPermissions | Array\ | 是 | 否 | 应用运行时需向系统申请的权限集合
通过传入GET_BUNDLE_WITH_REQUESTED_PERMISSION获取。 | +| reqPermissionDetails | Array\<[ReqPermissionDetail](#reqpermissiondetaildeprecated)> | 是 | 否 | 应用运行时需向系统申请的权限集合的详细信息
通过传入GET_BUNDLE_WITH_REQUESTED_PERMISSION获取。 | +| vendor | string | 是 | 否 | 应用包的供应商。 | +| versionCode | number | 是 | 否 | 应用包的版本号。 | +| versionName | string | 是 | 否 | 应用包的版本文本描述信息。 | +| compatibleVersion | number | 是 | 否 | 运行应用包所需要最低的SDK版本号。 | +| targetVersion | number | 是 | 否 | 运行应用包所需要最高SDK版本号。 | +| isCompressNativeLibs | boolean | 是 | 否 | 是否压缩应用包的本地库,默认为true。 | +| hapModuleInfos | Array\<[HapModuleInfo](js-apis-bundle-HapModuleInfo.md)> | 是 | 否 | 模块的配置信息。 | +| entryModuleName | string | 是 | 否 | Entry的模块名称。 | +| cpuAbi | string | 是 | 否 | 应用包的cpuAbi信息。 | +| isSilentInstallation | string | 是 | 否 | 是否通过静默安装。 | +| minCompatibleVersionCode | number | 是 | 否 | 分布式场景下的应用包兼容的最低版本。 | +| entryInstallationFree | boolean | 是 | 否 | Entry是否支持免安装。 | +| reqPermissionStates8+ | Array\ | 是 | 否 | 申请权限的授予状态。0表示申请成功,-1表示申请失败。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInstaller.md b/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInstaller.md index f9b6507b22f9eb0138a419b396ce7d0733d6053f..09309c51eaa36479bf78b2b3179f4bcd2bcc81c7 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInstaller.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundle-BundleInstaller.md @@ -7,7 +7,7 @@ ## BundleInstaller.install(deprecated) -> 从API version 9开始不再维护,建议使用[install](js-apis-installer.md)替代。 +> 从API version 9开始不再维护,建议使用[@ohos.bundle.installer.install](js-apis-installer.md)替代。 install(bundleFilePaths: Array<string>, param: InstallParam, callback: AsyncCallback<InstallStatus>): void; @@ -25,10 +25,10 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| --------------- | ---------------------------------------------------- | ---- | ------------------------------------------------------------ | -| bundleFilePaths | Array<string> | 是 | 指示存储hap包的沙箱路径。沙箱路径的获取方法参见[获取应用的沙箱路径](#获取应用的沙箱路径)。| -| param | [InstallParam](#installparamdeprecated) | 是 | 指定安装所需的其他参数。 | +| 参数名 | 类型 | 必填 | 说明 | +| --------------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | +| bundleFilePaths | Array<string> | 是 | 指示存储HAP的沙箱路径。沙箱路径的获取方法参见[获取应用的沙箱路径](#获取应用的沙箱路径)。 | +| param | [InstallParam](#installparamdeprecated) | 是 | 指定安装所需的其他参数。 | | callback | AsyncCallback<[InstallStatus](#installstatusdeprecated)> | 是 | 程序启动作为入参的回调函数,返回安装状态信息。 | **示例:** @@ -42,7 +42,7 @@ let installParam = { installFlag: 1, }; -bundle.getBundleInstaller().then(installer=>{ +bundle.getBundleInstaller().then(installer => { installer.install(hapFilePaths, installParam, err => { if (err) { console.error('install failed:' + JSON.stringify(err)); @@ -75,10 +75,10 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| ---------- | ---------------------------------------------------- | ---- | ---------------------------------------------- | -| bundleName | string | 是 | 应用包名。 | -| param | [InstallParam](#installparamdeprecated) | 是 | 指定卸载所需的其他参数。 | +| 参数名 | 类型 | 必填 | 说明 | +| ---------- | ------------------------------------------------------------ | ---- | ---------------------------------------------- | +| bundleName | string | 是 | 应用Bundle名称。 | +| param | [InstallParam](#installparamdeprecated) | 是 | 指定卸载所需的其他参数。 | | callback | AsyncCallback<[InstallStatus](#installstatusdeprecated)> | 是 | 程序启动作为入参的回调函数,返回安装状态信息。 | **示例:** @@ -92,7 +92,7 @@ let installParam = { installFlag: 1, }; -bundle.getBundleInstaller().then(installer=>{ +bundle.getBundleInstaller().then(installer => { installer.uninstall(bundleName, installParam, err => { if (err) { console.error('uninstall failed:' + JSON.stringify(err)); @@ -124,10 +124,10 @@ SystemCapability.BundleManager.BundleFramework **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| ---------- | ---------------------------------------------------- | ---- | ---------------------------------------------- | -| bundleName | string | 是 | 应用包名。 | -| param | [InstallParam](#installparamdeprecated) | 是 | 指定应用恢复所需的其他参数。 | +| 参数名 | 类型 | 必填 | 说明 | +| ---------- | ------------------------------------------------------------ | ---- | -------------------------------------------------- | +| bundleName | string | 是 | 应用Bundle名称。 | +| param | [InstallParam](#installparamdeprecated) | 是 | 指定应用恢复所需的其他参数。 | | callback | AsyncCallback<[InstallStatus](#installstatusdeprecated)> | 是 | 程序启动作为入参的回调函数,返回应用恢复状态信息。 | **示例:** @@ -142,7 +142,7 @@ let installParam = { installFlag: 1, }; -bundle.getBundleInstaller().then(installer=>{ +bundle.getBundleInstaller().then(installer => { installer.recover(bundleName, installParam, err => { if (err) { console.error('recover failed:' + JSON.stringify(err)); @@ -165,9 +165,9 @@ bundle.getBundleInstaller().then(installer=>{ | 名称 | 类型 | 可读 | 可写 | 说明 | | ----------- | ------- | ---- | ---- | ------------------ | -| userId | number | 是 | 否 | 指示用户id | -| installFlag | number | 是 | 否 | 指示安装标志 | -| isKeepData | boolean | 是 | 否 | 指示参数是否有数据 | +| userId | number | 是 | 否 | 指示用户id, 默认值:调用方的userId | +| installFlag | number | 是 | 否 | 指示安装标志, 默认值:1, 取值范围:
1: 覆盖安装,
16: 免安装| +| isKeepData | boolean | 是 | 否 | 指示参数是否有数据,默认值:false | ## InstallStatus(deprecated) @@ -179,8 +179,8 @@ bundle.getBundleInstaller().then(installer=>{ | 名称 | 类型 | 可读 | 可写 | 说明 | | ------------- | ------------------------------------------------------------ | ---- | ---- | ------------------------------ | -| status | bundle.[InstallErrorCode](js-apis-Bundle.md#installerrorcode) | 是 | 否 | 表示安装或卸载错误状态码。 | -| statusMessage | string | 是 | 否 | 表示安装或卸载的字符串结果信息。 | +| status | bundle.[InstallErrorCode](js-apis-Bundle.md#installerrorcode) | 是 | 否 | 表示安装或卸载错误状态码。取值范围:枚举值[InstallErrorCode](js-apis-Bundle.md#installerrorcode) | +| statusMessage | string | 是 | 否 | 表示安装或卸载的字符串结果信息。取值范围包括:
"SUCCESS" : 安装成功,
"STATUS_INSTALL_FAILURE": 安装失败(不存在安装文件),
"STATUS_INSTALL_FAILURE_ABORTED": 安装中止,
"STATUS_INSTALL_FAILURE_INVALID": 安装参数无效,
"STATUS_INSTALL_FAILURE_CONFLICT": 安装冲突(常见于升级和已有应用基本信息不一致),
"STATUS_INSTALL_FAILURE_STORAGE": 存储包信息失败,
"STATUS_INSTALL_FAILURE_INCOMPATIBLE": 安装不兼容(常见于版本降级安装或者签名信息错误),
"STATUS_UNINSTALL_FAILURE": 卸载失败(不存在卸载的应用),
"STATUS_UNINSTALL_FAILURE_ABORTED": 卸载中止(没有使用),
"STATUS_UNINSTALL_FAILURE_ABORTED": 卸载冲突(卸载系统应用失败, 结束应用进程失败),
"STATUS_INSTALL_FAILURE_DOWNLOAD_TIMEOUT": 安装失败(下载超时),
"STATUS_INSTALL_FAILURE_DOWNLOAD_FAILED": 安装失败(下载失败),
"STATUS_RECOVER_FAILURE_INVALID": 恢复预置应用失败,
"STATUS_ABILITY_NOT_FOUND": Ability未找到,
"STATUS_BMS_SERVICE_ERROR": BMS服务错误,
"STATUS_FAILED_NO_SPACE_LEFT": 设备空间不足,
"STATUS_GRANT_REQUEST_PERMISSIONS_FAILED": 应用授权失败,
"STATUS_INSTALL_PERMISSION_DENIED": 缺少安装权限,
"STATUS_UNINSTALL_PERMISSION_DENIED": 缺少卸载权限| ## 获取应用的沙箱路径 对于FA模型,应用的沙箱路径可以通过[Context](js-apis-inner-app-context.md)中的方法获取;对于Stage模型,应用的沙箱路径可以通过[Context](js-apis-ability-context.md#abilitycontext)中的属性获取。下面以获取沙箱文件路径为例。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundle-ElementName.md b/zh-cn/application-dev/reference/apis/js-apis-bundle-ElementName.md index 3bec9fa67ed900d215c855bbc14fe5ad6024b840..a066cf5bc3603432a525b81b09f8cee8922f35ff 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundle-ElementName.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundle-ElementName.md @@ -18,7 +18,7 @@ ElementName信息,标识Ability的基本信息,通过接口[Context.getEleme | 名称 | 类型 | 可读 | 可写 | 说明 | | ----------------------- | ---------| ---- | ---- | ------------------------- | | deviceId | string | 是 | 是 | 设备id。 | -| bundleName | string | 是 | 是 | 应用包名。 | +| bundleName | string | 是 | 是 | 应用Bundle名称。 | | abilityName | string | 是 | 是 | Ability名称。 | | uri | string | 是 | 是 | 资源标识符。 | | shortName | string | 是 | 是 | Ability短名称。 | \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundle-ShortcutInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundle-ShortcutInfo.md index 2a6ef57c17bcd50ed138b49447d00210286e1948..ed3855f05f8b458db170d785ef36a83c91b8bcfa 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundle-ShortcutInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundle-ShortcutInfo.md @@ -32,7 +32,7 @@ | 名称 | 类型 | 可读 | 可写 | 说明 | | ----------------------- | ------------------------------------------ | ---- | ---- | ---------------------------- | | id | string | 是 | 否 | 快捷方式所属应用程序的Id。 | -| bundleName | string | 是 | 否 | 包含该快捷方式的包名称。 | +| bundleName | string | 是 | 否 | 包含该快捷方式的Bundle名称。 | | hostAbility | string | 是 | 否 | 快捷方式的本地Ability信息。 | | icon | string | 是 | 否 | 快捷方式的图标。 | | iconId8+ | number | 是 | 否 | 快捷方式的图标Id。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-abilityInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-abilityInfo.md index a611d687ba77938c1da5a025e74bbc31abfa00ee..4bc6eebde4629bbda01513e5a25c0b27d1fc4d0a 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-abilityInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-abilityInfo.md @@ -11,8 +11,8 @@ Ability信息,系统应用可以通过[getBundleInfo](js-apis-bundleManager.md | 名称 | 类型 | 可读 | 可写 | 说明 | | --------------------- | -------------------------------------------------------- | ---- | ---- | ----------------------------------------- | -| bundleName | string | 是 | 否 | 应用包名 | -| moduleName | string | 是 | 否 | Ability所属的HAP包的名称 | +| bundleName | string | 是 | 否 | 应用Bundle名称 | +| moduleName | string | 是 | 否 | Ability所属的HAP的名称 | | name | string | 是 | 否 | Ability名称 | | label | string | 是 | 否 | Ability对用户显示的名称 | | labelId | number | 是 | 否 | Ability的标签资源id | diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-elementName.md b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-elementName.md index 0752e44e680eaa0f6b5c73c49da03e47030a1195..a58a3641d4403418ccecdfc581a01bac96a2bbe8 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-elementName.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-elementName.md @@ -11,9 +11,9 @@ ElementName信息,通过接口[Context.getElementName](js-apis-inner-app-conte | 名称 | 类型 | 可读 | 可写 | 说明 | | ----------------------- | ---------| ---- | ---- | ------------------------- | -| deviceId | string | 是 | 是 | 设备id。 | -| bundleName | string | 是 | 是 | 应用包名。 | +| deviceId | string | 是 | 是 | 设备ID。 | +| bundleName | string | 是 | 是 | 应用Bundle名称。 | | abilityName | string | 是 | 是 | Ability名称。 | | uri | string | 是 | 是 | 资源标识符。 | | shortName | string | 是 | 是 | Ability短名称。 | -| moduleName | string | 是 | 是 | Ability所属的HAP包的模块名称。 | \ No newline at end of file +| moduleName | string | 是 | 是 | Ability所属的HAP的模块名称。 | \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-extensionAbilityInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-extensionAbilityInfo.md index 9088cc70a3a2c6e1fd91767fe06388bb8045762c..1cb1d8756d30d8e4a00189a08d461425a506260f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-extensionAbilityInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-extensionAbilityInfo.md @@ -9,19 +9,19 @@ ExtensionAbility信息,系统应用可以通过[getBundleInfo](js-apis-bundleM **系统能力**: SystemCapability.BundleManager.BundleFramework.Core -| 名称 | 类型 | 可读 | 可写 | 说明 | -| -------------------- | ----------------------------------------------------------- | ---- | ---- | -------------------------------------------------- | -| bundleName | string | 是 | 否 | 应用包名 | -| moduleName | string | 是 | 否 | ExtensionAbility所属的HAP包的名称 | -| name | string | 是 | 否 | ExtensionAbility名称 | -| labelId | number | 是 | 否 | ExtensionAbility的标签资源id | -| descriptionId | number | 是 | 否 | ExtensionAbility的描述资源id | -| iconId | number | 是 | 否 | ExtensionAbility的图标资源id | -| isVisible | boolean | 是 | 否 | 判断ExtensionAbility是否可以被其他应用调用 | -| extensionAbilityType | [ExtensionAbilityType](js-apis-bundleManager.md#extensionabilitytype) | 是 | 否 | ExtensionAbility类型 | -| permissions | Array\ | 是 | 否 | 被其他应用ExtensionAbility调用时需要申请的权限集合 | -| applicationInfo | [ApplicationInfo](js-apis-bundleManager-applicationInfo.md) | 是 | 否 | 应用程序的配置信息 | -| metadata | Array\<[Metadata](js-apis-bundleManager-metadata.md)> | 是 | 否 | ExtensionAbility的元信息 | -| enabled | boolean | 是 | 否 | ExtensionAbility是否可用 | -| readPermission | string | 是 | 否 | 读取ExtensionAbility数据所需的权限 | -| writePermission | string | 是 | 否 | 向ExtensionAbility写数据所需的权限 | \ No newline at end of file +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------------------- | ------------------------------------------------------------ | ---- | ---- | ---------------------------------------------------- | +| bundleName | string | 是 | 否 | 应用Bundle名称。 | +| moduleName | string | 是 | 否 | ExtensionAbility所属的HAP的名称。 | +| name | string | 是 | 否 | ExtensionAbility名称。 | +| labelId | number | 是 | 否 | ExtensionAbility的标签资源ID。 | +| descriptionId | number | 是 | 否 | ExtensionAbility的描述资源ID。 | +| iconId | number | 是 | 否 | ExtensionAbility的图标资源ID。 | +| isVisible | boolean | 是 | 否 | 判断ExtensionAbility是否可以被其他应用调用。 | +| extensionAbilityType | [ExtensionAbilityType](js-apis-bundleManager.md#extensionabilitytype) | 是 | 否 | ExtensionAbility类型。 | +| permissions | Array\ | 是 | 否 | 被其他应用ExtensionAbility调用时需要申请的权限集合。 | +| applicationInfo | [ApplicationInfo](js-apis-bundleManager-applicationInfo.md) | 是 | 否 | 应用程序的配置信息。 | +| metadata | Array\<[Metadata](js-apis-bundleManager-metadata.md)> | 是 | 否 | ExtensionAbility的元信息。 | +| enabled | boolean | 是 | 否 | ExtensionAbility是否可用。 | +| readPermission | string | 是 | 否 | 读取ExtensionAbility数据所需的权限。 | +| writePermission | string | 是 | 否 | 向ExtensionAbility写数据所需的权限。 | \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-packInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-packInfo.md index d6152ec79d315ad6ad5b1aae007050fabc266ef3..3c10f48e0f0efbaa4b3b215e067dd500a44ed95c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-packInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-packInfo.md @@ -47,10 +47,10 @@ **系统能力:** SystemCapability.BundleManager.BundleFrameWork.FreeInstall -| 名称 | 类型 | 可读 | 可写 | 说明 | -| ---------- | ------------------- | ---- | ---- | ---------------------------------- | -| bundleName | string | 是 | 否 | 应用的包名,用于标识应用的唯一性。 | -| version | [Version](#version) | 是 | 否 | 包的版本。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ---------- | ------------------- | ---- | ---- | -------------------------------------- | +| bundleName | string | 是 | 否 | 应用Bundle名称,用于标识应用的唯一性。 | +| version | [Version](#version) | 是 | 否 | 包的版本。 | ## ModuleConfigInfo diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-shortcutInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-shortcutInfo.md index 164c8d8492ad6fa3637686c3124f61bef97f9749..67b3a567cde25339020af03a067b7a4d51f68791 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundleManager-shortcutInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundleManager-shortcutInfo.md @@ -15,9 +15,9 @@ | 名称 | 类型 | 可读 | 可写 | 说明 | | ------------------------- | ------ | ---- | ---- | -------------------- | -| targetBundle | string | 是 | 否 | 快捷方式的目标bundleName | -| targetModule | string | 是 | 否 | 快捷方式的目标moduleName | -| targetAbility | string | 是 | 否 | 快捷方式所需的目标abilityName | +| targetBundle | string | 是 | 否 | 快捷方式的目标bundleName。 | +| targetModule | string | 是 | 否 | 快捷方式的目标moduleName。 | +| targetAbility | string | 是 | 否 | 快捷方式所需的目标abilityName。 | ## ShortcutInfo @@ -27,14 +27,14 @@ | 名称 | 类型 | 可读 | 可写 | 说明 | | ----------------------- | ------------------------------------------ | ---- | ---- | ---------------------------- | -| id | string | 是 | 否 | 快捷方式所属应用程序的Id | -| bundleName | string | 是 | 否 | 包含快捷方式的包名称 | -| moduleName | string | 是 | 否 | 快捷方式的模块名 | -| hostAbility | string | 是 | 否 | 快捷方式的本地Ability名称 | -| icon | string | 是 | 否 | 快捷方式的图标 | -| iconId | number | 是 | 否 | 快捷方式的图标Id | -| label | string | 是 | 否 | 快捷方式的标签 | -| labelId | number | 是 | 否 | 快捷方式的标签Id | -| wants | Array\<[ShortcutWant](#shortcutwant)> | 是 | 否 | 快捷方式所需要的信息 | +| id | string | 是 | 否 | 快捷方式所属应用程序的ID。 | +| bundleName | string | 是 | 否 | 包含快捷方式的Bundle名称。 | +| moduleName | string | 是 | 否 | 快捷方式的模块名。 | +| hostAbility | string | 是 | 否 | 快捷方式的本地Ability名称。 | +| icon | string | 是 | 否 | 快捷方式的图标。 | +| iconId | number | 是 | 否 | 快捷方式的图标ID。 | +| label | string | 是 | 否 | 快捷方式的标签。 | +| labelId | number | 是 | 否 | 快捷方式的标签ID。 | +| wants | Array\<[ShortcutWant](#shortcutwant)> | 是 | 否 | 快捷方式所需要的信息。 | \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundleManager.md b/zh-cn/application-dev/reference/apis/js-apis-bundleManager.md index 8f37fe94f22c35e66c78b173e625afba336665ec..c21b064d4de03bb7d81e31547ca3a05e3680028b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundleManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundleManager.md @@ -10,6 +10,7 @@ ```ts import bundleManager from '@ohos.bundle.bundleManager' ``` + ## 权限列表 | 权限 | 权限等级 | 描述 | @@ -27,7 +28,7 @@ import bundleManager from '@ohos.bundle.bundleManager' 包信息标志,指示需要获取的包信息的内容。 - **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 + **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 | 名称 | 值 | 说明 | | ----------------------------------------- | ---------- | ------------------------------------------------------------ | @@ -45,7 +46,7 @@ import bundleManager from '@ohos.bundle.bundleManager' 应用信息标志,指示需要获取的应用信息的内容。 - **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 + **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 **系统接口:** 系统接口,不支持三方应用调用。 @@ -58,9 +59,9 @@ import bundleManager from '@ohos.bundle.bundleManager' ### AbilityFlag -功能组件信息标志,指示需要获取的功能组件信息的内容。 +Ability组件信息标志,指示需要获取的Ability组件信息的内容。 - **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 + **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 **系统接口:** 系统接口,不支持三方应用调用。 @@ -77,7 +78,7 @@ import bundleManager from '@ohos.bundle.bundleManager' 扩展组件信息标志,指示需要获取的扩展组件信息的内容。 - **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 + **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 **系统接口:** 系统接口,不支持三方应用调用。 @@ -92,7 +93,7 @@ import bundleManager from '@ohos.bundle.bundleManager' 指示扩展组件的类型。 - **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 + **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 | 名称 | 值 | 说明 | |:----------------:|:---:|-----| @@ -115,9 +116,9 @@ import bundleManager from '@ohos.bundle.bundleManager' ### PermissionGrantState -指示权限授予信息。 +指示权限授予状态。 - **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 + **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 | 名称 | 值 | 说明 | |:----------------:|:---:|:---:| @@ -128,7 +129,7 @@ import bundleManager from '@ohos.bundle.bundleManager' 标识该组件所支持的窗口模式。 - **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 + **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 | 名称 | 值 | 说明 | |:----------------:|:---:|:---:| @@ -140,21 +141,21 @@ import bundleManager from '@ohos.bundle.bundleManager' 指示组件的启动方式。 - **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 + **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 | 名称 | 值 | 说明 | |:----------------:|:---:|:---:| -| SINGLETON | 0 | ability的启动模式,表示单实例。 | -| STANDARD | 1 | ability的启动模式,表示普通多实例。 | -| SPECIFIED | 2 | ability的启动模式,表示该ability内部根据业务自己置顶多实例。 | +| SINGLETON | 0 | ability的启动模式,表示单实例。 | +| STANDARD | 1 | ability的启动模式,表示普通多实例。 | +| SPECIFIED | 2 | ability的启动模式,表示该ability内部根据业务自己置顶多实例。 | ### AbilityType 指示Ability组件的类型。 - **模型约束:** 仅可在FA模型下使用 + **模型约束:** 仅可在FA模型下使用 - **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 + **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 | 名称 | 值 | 说明 | | :-----: | ---- | :--------------------------------------------------------: | @@ -166,7 +167,7 @@ import bundleManager from '@ohos.bundle.bundleManager' 标识该Ability的显示模式。该标签仅适用于page类型的Ability。 - **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 + **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。 | 名称 |值 |说明 | |:----------------------------------|---|---| @@ -184,7 +185,7 @@ import bundleManager from '@ohos.bundle.bundleManager' | AUTO_ROTATION_PORTRAIT_RESTRICTED |11|表示受开关控制的自动竖向旋转模式。| | LOCKED |12|表示锁定模式。| -## 方法 +## 接口 ### bundleManager.getBundleInfoForSelf @@ -272,7 +273,7 @@ getBundleInfo(bundleName: string, bundleFlags: number, userId: number, callback: | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- | ---------------------------- | -| bundleName | string | 是 | 表示要查询的应用程序包名称。 | +| bundleName | string | 是 | 表示要查询的应用Bundle名称。 | | bundleFlags | [number](#bundleflag) | 是 | 指定返回的BundleInfo所包含的信息。| | userId | number | 是 | 表示用户ID。 | | callback | AsyncCallback\<[BundleInfo](js-apis-bundleManager-bundleInfo.md)> | 是 | 回调函数,当获取成功时,err为null,data为获取到的bundleInfo;否则为错误对象。 | @@ -345,7 +346,7 @@ getBundleInfo(bundleName: string, bundleFlags: number, callback: AsyncCallback\< | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- | ---------------------------- | -| bundleName | string | 是 | 表示要查询的应用程序包名称。 | +| bundleName | string | 是 | 表示要查询的应用Bundle名称。 | | bundleFlags | [number](#bundleflag) | 是 | 指定返回的BundleInfo所包含的信息。| | callback | AsyncCallback\<[BundleInfo](js-apis-bundleManager-bundleInfo.md)> | 是 | 回调函数,当获取成功时,err为null,data为获取到的BundleInfo;否则为错误对象。 | @@ -396,7 +397,7 @@ getBundleInfo(bundleName: string, bundleFlags: [number](#bundleflag), userId?: n | 参数名 | 类型 | 必填 | 说明 | | ----------- | ------ | ---- | ---------------------------- | -| bundleName | string | 是 | 表示要查询的应用程序包名称。 | +| bundleName | string | 是 | 表示要查询的应用Bundle名称。 | | bundleFlags | [number](#bundleflag) | 是 | 指定返回的BundleInfo所包含的信息。 | | userId | number | 否 | 表示用户ID。 | @@ -469,7 +470,7 @@ getApplicationInfo(bundleName: string, appFlags: [number](#applicationflag), use | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------ | ---- | ---------------------------- | -| bundleName | string | 是 | 表示要查询的应用程序包名称。 | +| bundleName | string | 是 | 表示要查询的应用Bundle名称。 | | appFlags | [number](#applicationflag) | 是 | 指定返回的ApplicationInfo所包含的信息。 | | userId | number | 是 | 表示用户ID。 | | callback | AsyncCallback\<[ApplicationInfo](js-apis-bundleManager-applicationInfo.md)> | 是 | 回调函数,当获取成功时,err为null,data为获取到的ApplicationInfo;否则为错误对象。 | @@ -521,7 +522,7 @@ getApplicationInfo(bundleName: string, appFlags: [number](#applicationflag), cal | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------ | ---- | ---------------------------- | -| bundleName | string | 是 | 表示要查询的应用程序包名称。 | +| bundleName | string | 是 | 表示要查询的应用Bundle名称。 | | appFlags | [number](#applicationflag) | 是 | 指定返回的ApplicationInfo所包含的信息。 | | callback | AsyncCallback\<[ApplicationInfo](js-apis-bundleManager-applicationInfo.md)> | 是 | 回调函数,当获取成功时,err为null,data为获取到的ApplicationInfo;否则为错误对象。 | @@ -571,7 +572,7 @@ getApplicationInfo(bundleName: string, appFlags: [number](#applicationflag), use | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------ | ---- | ---------------------------- | -| bundleName | string | 是 | 表示要查询的应用程序包名称。 | +| bundleName | string | 是 | 表示要查询的应用Bundle名称。 | | appFlags | [number](#applicationflag) | 是 | 指定返回的ApplicationInfo所包含的信息。 | | userId | number | 否 | 表示用户ID。 | @@ -614,7 +615,7 @@ try { getAllBundleInfo(bundleFlags: [number](#bundleflag), userId: number, callback: AsyncCallback>): void; -以异步方法根据给定的bundleFlags和userId获取多个BundleInfo,使用callback形式返回结果。 +以异步方法根据给定的bundleFlags和userId获取系统中所有的BundleInfo,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -662,7 +663,7 @@ try { getAllBundleInfo(bundleFlags: [number](#bundleflag), callback: AsyncCallback>): void; -以异步方法根据给定的bundleFlags获取多个BundleInfo,使用callback形式返回结果。 +以异步方法根据给定的bundleFlags获取系统中所有的BundleInfo,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -708,7 +709,7 @@ try { getAllBundleInfo(bundleFlags: [number](#bundleflag), userId?: number): Promise>; -以异步方法根据给定的bundleFlags和userId获取多个BundleInfo,使用Promise形式返回结果。 +以异步方法根据给定的bundleFlags和userId获取系统中所有的BundleInfo,使用Promise形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -758,7 +759,7 @@ try { getAllApplicationInfo(appFlags: [number](#applicationflag), userId: number, callback: AsyncCallback>): void; -以异步方法根据给定的appFlags和userId获取多个ApplicationInfo,使用callback形式返回结果。 +以异步方法根据给定的appFlags和userId获取系统中所有的ApplicationInfo,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -806,7 +807,7 @@ try { getAllApplicationInfo(appFlags: [number](#applicationflag), callback: AsyncCallback>): void; -以异步方法根据给定的appFlags获取多个ApplicationInfo,使用callback形式返回结果。 +以异步方法根据给定的appFlags获取系统中所有的ApplicationInfo,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -852,7 +853,7 @@ try { getAllApplicationInfo(appFlags: [number](#applicationflag), userId?: number): Promise>; -以异步方法根据给定的appFlags和userId获取多个ApplicationInfo,使用Promise形式返回结果。 +以异步方法根据给定的appFlags和userId获取系统中所有的ApplicationInfo,使用Promise形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -915,7 +916,7 @@ queryAbilityInfo(want: Want, abilityFlags: [number](#abilityflag), userId: numbe | 参数名 | 类型 | 必填 | 说明 | | ------------ | ------ | ---- | ------------------------------------------------------- | -| want | Want | 是 | 表示包含要查询的应用程序包名称的Want。 | +| want | Want | 是 | 表示包含要查询的应用Bundle名称的Want。 | | abilityFlags | [number](#abilityflag) | 是 | 指定返回的AbilityInfo所包含的信息。 | | userId | number | 是 | 表示用户ID。 | | callback | AsyncCallback> | 是 | 回调函数,当获取成功时,err为null,data为获取到的Array\;否则为错误对象。 | @@ -972,7 +973,7 @@ queryAbilityInfo(want: Want, abilityFlags: [number](#abilityflag), callback: Asy | 参数名 | 类型 | 必填 | 说明 | | ------------ | ------ | ---- | -------------------------------------------------------| -| want | Want | 是 | 表示包含要查询的应用程序包名称的Want。 | +| want | Want | 是 | 表示包含要查询的应用Bundle名称的Want。 | | abilityFlags | [number](#abilityflag) | 是 | 指定返回的AbilityInfo所包含的信息。 | | callback | AsyncCallback> | 是 | 回调函数,当获取成功时,err为null,data为获取到的Array\;否则为错误对象。 | @@ -1027,7 +1028,7 @@ queryAbilityInfo(want: Want, abilityFlags: [number](#abilityflag), userId?: numb | 参数名 | 类型 | 必填 | 说明 | | ------------ | ------ | ---- | ------------------------------------------------------- | -| want | Want | 是 | 表示包含要查询的应用程序包名称的Want。 | +| want | Want | 是 | 表示包含要查询的应用Bundle名称的Want。 | | abilityFlags | [number](#abilityflag) | 是 | 表示指定返回的AbilityInfo所包含的信息。 | | userId | number | 否 | 表示用户ID。 | @@ -1106,10 +1107,10 @@ queryExtensionAbilityInfo(want: Want, extensionAbilityType: [ExtensionAbilityTyp | 参数名 | 类型 | 必填 | 说明 | | --------------------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | -| want | Want | 是 | 表示包含要查询的应用程序包名称的Want。 | -| extensionAbilityType | [ExtensionAbilityType](#extensionabilitytype) | 是 | 标识extensionAbility的类型。 | -| extensionAbilityFlags | [number](#extensionabilityflag) | 是 | 表示用于指定将返回的ExtensionInfo对象中包含的信息的标志。 | -| userId | number | 是 | 表示用户ID。 | +| want | Want | 是 | 表示包含要查询的应用Bundle名称的Want。 | +| extensionAbilityType | [ExtensionAbilityType](#extensionabilitytype) | 是 | 标识extensionAbility的类型。 | +| extensionAbilityFlags | [number](#extensionabilityflag) | 是 | 表示用于指定将返回的ExtensionInfo对象中包含的信息的标志。 | +| userId | number | 是 | 表示用户ID。 | | callback | AsyncCallback> | 是 | 回调函数,当获取成功时,err为null,data为获取到Array\;否则为错误对象。 | **错误码:** @@ -1164,9 +1165,9 @@ queryExtensionAbilityInfo(want: Want, extensionAbilityType: [ExtensionAbilityTyp | 参数名 | 类型 | 必填 | 说明 | | --------------------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | -| want | Want | 是 | 表示包含要查询的应用程序包名称的Want。 | -| extensionAbilityType | [ExtensionAbilityType](#extensionabilitytype) | 是 | 标识extensionAbility的类型。 | -| extensionAbilityFlags | [number](#extensionabilityflag) | 是 | 表示用于指定将返回的ExtensionInfo对象中包含的信息的标志。 | +| want | Want | 是 | 表示包含要查询的应用Bundle名称的Want。 | +| extensionAbilityType | [ExtensionAbilityType](#extensionabilitytype) | 是 | 标识extensionAbility的类型。 | +| extensionAbilityFlags | [number](#extensionabilityflag) | 是 | 表示用于指定将返回的ExtensionInfo对象中包含的信息的标志。 | | callback | AsyncCallback> | 是 | 回调函数,当获取成功时,err为null,data为获取到Array\;否则为错误对象。 | **错误码:** @@ -1218,9 +1219,9 @@ queryExtensionAbilityInfo(want: Want, extensionAbilityType: [ExtensionAbilityTyp **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| --------------------- | --------------------------------------------- | ---- | ------------------------------------------------------- | -| want | Want | 是 | 表示包含要查询的应用程序包名称的Want。 | +| 参数名 | 类型 | 必填 | 说明 | +| --------------------- | --------------------------------------------- | ---- | --------------------------------------------------------- | +| want | Want | 是 | 表示包含要查询的应用Bundle名称的Want。 | | extensionAbilityType | [ExtensionAbilityType](#extensionabilitytype) | 是 | 标识extensionAbility的类型。 | | extensionAbilityFlags | [number](#extensionabilityflag) | 是 | 表示用于指定将返回的ExtensionInfo对象中包含的信息的标志。 | | userId | number | 否 | 表示用户ID。 | @@ -1290,7 +1291,7 @@ try { getBundleNameByUid(uid: number, callback: AsyncCallback\): void; -以异步方法根据给定的uid获取bundleName,使用callback形式返回结果。 +以异步方法根据给定的uid获取对应的bundleName,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1335,7 +1336,7 @@ try { getBundleNameByUid(uid: number): Promise\; -以异步方法根据给定的uid获取bundleName,使用Promise形式返回结果。 +以异步方法根据给定的uid获取对应的bundleName,使用Promise形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1482,7 +1483,7 @@ try { cleanBundleCacheFiles(bundleName: string, callback: AsyncCallback\): void; -以异步方法根据给定的bundleName清理BundleCache,并获取清理结果,使用callback形式返回结果。 +以异步方法根据给定的bundleName清理BundleCache,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1529,7 +1530,7 @@ try { cleanBundleCacheFiles(bundleName: string): Promise\; -以异步方法根据给定的bundleName清理BundleCache,并获取清理结果,使用Promise形式返回结果。 +以异步方法根据给定的bundleName清理BundleCache,使用Promise形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1547,7 +1548,7 @@ cleanBundleCacheFiles(bundleName: string): Promise\; | 类型 | 说明 | | -------------- | ------------------------------------------------------------ | -| Promise\ | Promise对象,返回true表示清理应用缓存目录数据成功,返回false表示清理应用缓存目录数据失败。 | +| Promise\ | 无返回结果的Promise对象。当清理应用缓存目录数据失败会抛出错误对象。 | **错误码:** @@ -1565,9 +1566,9 @@ import bundleManager from '@ohos.bundle.bundleManager' let bundleName = "com.ohos.myapplication"; try { - bundleManager.cleanBundleCacheFiles(bundleName).then(()=> { + bundleManager.cleanBundleCacheFiles(bundleName).then(() => { console.info('cleanBundleCacheFiles successfully.'); - }).catch(err=> { + }).catch(err => { console.error('cleanBundleCacheFiles failed:' + err.message); }); } catch (err) { @@ -1579,7 +1580,7 @@ try { setApplicationEnabled(bundleName: string, isEnabled: boolean, callback: AsyncCallback\): void; -设置指定应用的禁用使能状态,使用callback形式返回结果。 +设置指定应用的禁用或使能状态,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1593,7 +1594,7 @@ setApplicationEnabled(bundleName: string, isEnabled: boolean, callback: AsyncCal | ---------- | ------- | ---- | ------------------------------------- | | bundleName | string | 是 | 指定应用的bundleName。 | | isEnabled | boolean | 是 | 值为true表示使能,值为false表示禁用。 | -| callback | AsyncCallback\ | 是 | 回调函数,当设置应用禁用使能状态成功时,err为null,否则为错误对象。 | +| callback | AsyncCallback\ | 是 | 回调函数,当设置应用禁用或使能状态成功时,err为null,否则为错误对象。 | **错误码:** @@ -1626,7 +1627,7 @@ try { setApplicationEnabled(bundleName: string, isEnabled: boolean): Promise\; -设置指定应用的禁用使能状态,使用Promise形式返回结果。 +设置指定应用的禁用或使能状态,使用Promise形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1662,9 +1663,9 @@ import bundleManager from '@ohos.bundle.bundleManager' let bundleName = "com.ohos.myapplication"; try { - bundleManager.setApplicationEnabled(bundleName, false).then(()=> { + bundleManager.setApplicationEnabled(bundleName, false).then(() => { console.info('setApplicationEnabled successfully.'); - }).catch(err=> { + }).catch(err => { console.error('setApplicationEnabled failed:' + err.message); }); } catch (err) { @@ -1676,7 +1677,7 @@ try { setAbilityEnabled(info: [AbilityInfo](js-apis-bundleManager-abilityInfo.md), isEnabled: boolean, callback: AsyncCallback\): void; -设置指定组件的禁用使能状态,使用callback形式返回结果。 +设置指定组件的禁用或使能状态,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1690,7 +1691,7 @@ setAbilityEnabled(info: [AbilityInfo](js-apis-bundleManager-abilityInfo.md), isE | -------- | ----------- | ---- | ------------------------------------- | | info | [AbilityInfo](js-apis-bundleManager-abilityInfo.md) | 是 | 需要被设置的组件。 | | isEnabled| boolean | 是 | 值为true表示使能,值为false表示禁用。 | -| callback | AsyncCallback\ | 是 | 回调函数,当设置组件禁用使能状态成功时,err为null,否则为错误对象。 | +| callback | AsyncCallback\ | 是 | 回调函数,当设置组件禁用或使能状态成功时,err为null,否则为错误对象。 | **错误码:** @@ -1711,7 +1712,7 @@ let want = { bundleName : "com.example.myapplication", abilityName : "com.example.myapplication.MainAbility" }; -var info; +let info; try { bundleManager.queryAbilityInfo(want, abilityFlags, userId).then((abilitiesInfo) => { @@ -1737,7 +1738,7 @@ try { setAbilityEnabled(info: [AbilityInfo](js-apis-bundleManager-abilityInfo.md), isEnabled: boolean): Promise\; -设置指定组件的禁用使能状态,使用Promise形式返回结果。 +设置指定组件的禁用或使能状态,使用Promise形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1777,16 +1778,16 @@ let want = { bundleName : "com.example.myapplication", abilityName : "com.example.myapplication.MainAbility" }; -var info; +let info; try { bundleManager.queryAbilityInfo(want, abilityFlags, userId).then((abilitiesInfo) => { console.info('queryAbilityInfo successfully. Data: ' + JSON.stringify(abilitiesInfo)); info = abilitiesInfo[0]; - bundleManager.setAbilityEnabled(info, false).then(()=> { + bundleManager.setAbilityEnabled(info, false).then(() => { console.info('setAbilityEnabled successfully.'); - }).catch(err=> { + }).catch(err => { console.error('setAbilityEnabled failed:' + err.message); }); }).catch(error => { @@ -1801,7 +1802,7 @@ try { isApplicationEnabled(bundleName: string, callback: AsyncCallback\): void; -以异步的方法获取指定应用的禁用使能状态,使用callback形式返回结果。 +以异步的方法获取指定应用的禁用或使能状态,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1845,7 +1846,7 @@ try { isApplicationEnabled(bundleName: string): Promise\; -以异步的方法获取指定应用的禁用使能状态,使用Promise形式返回结果。 +以异步的方法获取指定应用的禁用或使能状态,使用Promise形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1892,7 +1893,7 @@ try { isAbilityEnabled(info: [AbilityInfo](js-apis-bundleManager-abilityInfo.md), callback: AsyncCallback\): void; -以异步的方法获取指定组件的禁用使能状态,使用callback形式返回结果。 +以异步的方法获取指定组件的禁用或使能状态,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1924,7 +1925,7 @@ let want = { bundleName : "com.example.myapplication", abilityName : "com.example.myapplication.MainAbility" }; -var info; +let info; try { bundleManager.queryAbilityInfo(want, abilityFlags, userId).then((abilitiesInfo) => { @@ -1950,7 +1951,7 @@ try { isAbilityEnabled(info: [AbilityInfo](js-apis-bundleManager-abilityInfo.md)): Promise\; -以异步的方法获取指定组件的禁用使能状态,使用Promise形式返回结果。 +以异步的方法获取指定组件的禁用或使能状态,使用Promise形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -1987,7 +1988,7 @@ let want = { bundleName : "com.example.myapplication", abilityName : "com.example.myapplication.MainAbility" }; -var info; +let info; try { bundleManager.queryAbilityInfo(want, abilityFlags, userId).then((abilitiesInfo) => { @@ -2011,7 +2012,7 @@ try { getLaunchWantForBundle(bundleName: string, userId: number, callback: AsyncCallback\): void; -以异步方法根据给定的bundleName和userId获取用于启动应用程序主要功能,使用callback形式返回结果。 +以异步方法根据给定的bundleName和userId获取用于启动应用程序的Want参数,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -2061,7 +2062,7 @@ try { getLaunchWantForBundle(bundleName: string, callback: AsyncCallback\): void; -以异步方法根据给定的bundleName获取用于启动应用程序主要功能,使用callback形式返回结果。 +以异步方法根据给定的bundleName获取用于启动应用程序的Want参数,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -2109,7 +2110,7 @@ try { getLaunchWantForBundle(bundleName: string, userId?: number): Promise\; -以异步方法根据给定的bundleName和userId获取用于启动应用程序主要功能,使用Promise形式返回结果。 +以异步方法根据给定的bundleName和userId获取用于启动应用程序的Want参数,使用Promise形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -2391,7 +2392,7 @@ try { getPermissionDef(permissionName: string, callback: AsyncCallback\<[PermissionDef](js-apis-bundleManager-permissionDef.md)>): void; -以异步方法根据给定的permissionName获取PermissionDef,使用callback形式返回结果。 +以异步方法根据给定的permissionName获取权限定义结构体PermissionDef信息,使用callback形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -2436,7 +2437,7 @@ try { getPermissionDef(permissionName: string): Promise\<[PermissionDef](js-apis-bundleManager-permissionDef.md)>; -以异步方法根据给定的permissionName获取PermissionDef,使用Promise形式返回结果。 +以异步方法根据给定的permissionName获取权限定义结构体PermissionDef信息,使用Promise形式返回结果。 **系统接口:** 此接口为系统接口。 @@ -2706,13 +2707,13 @@ try { getApplicationInfoSync(bundleName: string, applicationFlags: number, userId: number) : [ApplicationInfo](js-apis-bundleManager-applicationInfo.md); -以同步方法根据给定的bundleName、applicationFlags和userId获取ApplicationInfo +以同步方法根据给定的bundleName、applicationFlags和userId获取ApplicationInfo。 **系统接口:** 此接口为系统接口。 **需要权限:** ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO -**系统能力:** SystemCapability.BundleManager.BundleFramework.Core +**系统能力:** SystemCapability.BundleManager.BundleFramework.Core。 **参数:** @@ -2758,7 +2759,7 @@ try { getApplicationInfoSync(bundleName: string, applicationFlags: number) : [ApplicationInfo](js-apis-bundleManager-applicationInfo.md); -以同步方法根据给定的bundleName和applicationFlags获取ApplicationInfo +以同步方法根据给定的bundleName和applicationFlags获取ApplicationInfo。 **系统接口:** 此接口为系统接口。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundleMonitor.md b/zh-cn/application-dev/reference/apis/js-apis-bundleMonitor.md index 3a62f20cd58f414bf0023489dd7e54ce26b06f6a..0c4f4fe181ad774d6f00a3ed9904fae6aae07673 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundleMonitor.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundleMonitor.md @@ -28,12 +28,12 @@ import bundleMonitor from '@ohos.bundle.bundleMonitor'; | 名称 | 类型 | 可读 | 可写 | 说明 | | ---------- | ------ | ---- | ---- | -------------------------- | -| bundleName | string | 是 | 否 | 应用状态发生变化的应用包名。 | +| bundleName | string | 是 | 否 | 应用状态发生变化的应用Bundle名称。 | | userId | number | 是 | 否 | 应用状态发生变化的用户id。 | ## bundleMonitor.on -on(type: BundleChangedEvent, callback: Callback\): void; +on(type: BundleChangedEvent, callback: callback\): void; 注册监听应用的安装,卸载,更新。 @@ -47,8 +47,8 @@ on(type: BundleChangedEvent, callback: Callback\): void; | 参数名 | 类型 | 必填 | 说明 | | ---------------------------- | -------- | ---- | ------------------ | -| BundleChangedEvent | string | 是 | 注册监听的事件类型。 | -| Callback\ | callback | 是 | 注册监听的回调函数。 | +| type| BundleChangedEvent| 是 | 注册监听的事件类型。 | +| callback | callback\| 是 | 注册监听的回调函数。 | **示例:** @@ -66,7 +66,7 @@ try { ## bundleMonitor.off -off(type: BundleChangedEvent, callback?: Callback\): void; +off(type: BundleChangedEvent, callback?: callback\): void; 注销监听应用的安装,卸载,更新。 @@ -80,8 +80,8 @@ off(type: BundleChangedEvent, callback?: Callback\): void; | 参数名 | 类型 | 必填 | 说明 | | ---------------------------- | -------- | ---- | ---------------------------------------------------------- | -| BundleChangedEvent | string | 是 | 注销监听的事件类型。 | -| Callback\ | callback | 是 | 注销监听的回调函数,当为空时表示注销当前事件的所有callback。 | +| type| BundleChangedEvent| 是 | 注销监听的事件类型。 | +| callback | callback\| 是 | 注销监听的回调函数,当为空时表示注销当前事件的所有callback。 | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-cardEmulation.md b/zh-cn/application-dev/reference/apis/js-apis-cardEmulation.md index 55635168340b262a37f109b58395a2280ea42293..46d0485bb53d43d6ae53c01e6934d49bb25f755d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-cardEmulation.md +++ b/zh-cn/application-dev/reference/apis/js-apis-cardEmulation.md @@ -67,8 +67,8 @@ isDefaultService(elementName: ElementName, type: CardType): boolean | 参数名 | 类型 | 必填 | 说明 | | ------- | -------- | ---- | ----------------------- | -| elementName | [ElementName](js-apis-bundleManager-elementName.md#elementname) | 是 | 应用的描述,由包名和组件名组成。 | -| type | [CardType](#cardtype) | 是 | 应用的描述,由包名和组件名组成。 | +| elementName | [ElementName](js-apis-bundleManager-elementName.md#elementname) | 是 | 应用的描述,由Bundle名称和组件名称组成。 | +| type | [CardType](#cardtype) | 是 | 应用的描述,由Bundle名称和组件名称组成。 | **返回值:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-commonEvent.md b/zh-cn/application-dev/reference/apis/js-apis-commonEvent.md index 9941ef38f7e3690cb0d898a136b76c9227411708..58ec8675e61161db27d3efd6882a6d11b8292634 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-commonEvent.md +++ b/zh-cn/application-dev/reference/apis/js-apis-commonEvent.md @@ -18,59 +18,59 @@ CommonEvent模块支持的事件类型。名称指的是系统公共事件宏; **系统能力:** SystemCapability.Notification.CommonEvent -| 名称 | 值 | 订阅者所需权限 | 说明 | -| ------------ | ------------------ | ---------------------- | -------------------- | -| COMMON_EVENT_BOOT_COMPLETED | usual.event.BOOT_COMPLETED | ohos.permission.RECEIVER_STARTUP_COMPLETED | 指示用户已完成引导并加载系统的公共事件的操作。 | -| COMMON_EVENT_LOCKED_BOOT_COMPLETED | usual.event.LOCKED_BOOT_COMPLETED | ohos.permission.RECEIVER_STARTUP_COMPLETED | 表示用户已完成引导,系统已加载,但屏幕仍锁定的公共事件的操作。 | -| COMMON_EVENT_SHUTDOWN | usual.event.SHUTDOWN | 无 | 指示设备正在关闭并将继续最终关闭的公共事件的操作。 | -| COMMON_EVENT_BATTERY_CHANGED | usual.event.BATTERY_CHANGED | 无 | 表示电池充电状态、电平和其他信息发生变化的公共事件的动作。 | -| COMMON_EVENT_BATTERY_LOW | usual.event.BATTERY_LOW | 无 | 表示电池电量低的普通事件的动作。 | -| COMMON_EVENT_BATTERY_OKAY | usual.event.BATTERY_OKAY | 无 | 表示电池退出低电平状态的公共事件的动作。 | -| COMMON_EVENT_POWER_CONNECTED | usual.event.POWER_CONNECTED | 无 | 设备连接到外部电源的公共事件的动作。 | -| COMMON_EVENT_POWER_DISCONNECTED | usual.event.POWER_DISCONNECTED | 无 | 设备与外部电源断开的公共事件的动作。 | -| COMMON_EVENT_SCREEN_OFF | usual.event.SCREEN_OFF | 无 | 指示设备屏幕关闭且设备处于睡眠状态的普通事件的动作。 | -| COMMON_EVENT_SCREEN_ON | usual.event.SCREEN_ON | 无 | 指示设备屏幕打开且设备处于交互状态的公共事件的操作。 | -| COMMON_EVENT_THERMAL_LEVEL_CHANGED8+ | usual.event.THERMAL_LEVEL_CHANGED | 无 | 指示设备热状态的公共事件的动作。 | -| COMMON_EVENT_USER_PRESENT | usual.event.USER_PRESENT | 无 | 用户解锁设备的公共事件的动作。 | -| COMMON_EVENT_TIME_TICK | usual.event.TIME_TICK | 无 | 表示系统时间更改的公共事件的动作。 | -| COMMON_EVENT_TIME_CHANGED | usual.event.TIME_CHANGED | 无 | 设置系统时间的公共事件的动作。 | -| COMMON_EVENT_DATE_CHANGED | usual.event.DATE_CHANGED | 无 | 表示系统日期已更改的公共事件的动作。 | -| COMMON_EVENT_TIMEZONE_CHANGED | usual.event.TIMEZONE_CHANGED | 无 | 表示系统时区更改的公共事件的动作。 | -| COMMON_EVENT_CLOSE_SYSTEM_DIALOGS | usual.event.CLOSE_SYSTEM_DIALOGS | 无 | 表示用户关闭临时系统对话框的公共事件的动作。 | -| COMMON_EVENT_PACKAGE_ADDED | usual.event.PACKAGE_ADDED | 无 | 设备上已安装新应用包的公共事件的动作。 | -| COMMON_EVENT_PACKAGE_REPLACED | usual.event.PACKAGE_REPLACED | 无 | 指示已安装的应用程序包的新版本已替换设备上的旧版本的公共事件的操作。 | -| COMMON_EVENT_MY_PACKAGE_REPLACED | usual.event.MY_PACKAGE_REPLACED | 无 | 指示应用程序包的新版本已取代前一个版本的公共事件的操作。 +| 名称 | | 订阅者所需权限 | 说明 | +| --------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | +| COMMON_EVENT_BOOT_COMPLETED | usual.event.BOOT_COMPLETED | ohos.permission.RECEIVER_STARTUP_COMPLETED | 指示用户已完成引导并加载系统的公共事件的操作。 | +| COMMON_EVENT_LOCKED_BOOT_COMPLETED | usual.event.LOCKED_BOOT_COMPLETED | ohos.permission.RECEIVER_STARTUP_COMPLETED | 表示用户已完成引导,系统已加载,但屏幕仍锁定的公共事件的操作。预留能力,暂未支持。 | +| COMMON_EVENT_SHUTDOWN | usual.event.SHUTDOWN | 无 | 指示设备正在关闭并将继续最终关闭的公共事件的操作。 | +| COMMON_EVENT_BATTERY_CHANGED | usual.event.BATTERY_CHANGED | 无 | 表示电池充电状态、电平和其他信息发生变化的公共事件的动作。 | +| COMMON_EVENT_BATTERY_LOW | usual.event.BATTERY_LOW | 无 | 表示电池电量低的普通事件的动作。 | +| COMMON_EVENT_BATTERY_OKAY | usual.event.BATTERY_OKAY | 无 | 表示电池退出低电平状态的公共事件的动作。 | +| COMMON_EVENT_POWER_CONNECTED | usual.event.POWER_CONNECTED | 无 | 设备连接到外部电源的公共事件的动作。 | +| COMMON_EVENT_POWER_DISCONNECTED | usual.event.POWER_DISCONNECTED | 无 | 设备与外部电源断开的公共事件的动作。 | +| COMMON_EVENT_SCREEN_OFF | usual.event.SCREEN_OFF | 无 | 指示设备屏幕关闭且设备处于睡眠状态的普通事件的动作。 | +| COMMON_EVENT_SCREEN_ON | usual.event.SCREEN_ON | 无 | 指示设备屏幕打开且设备处于交互状态的公共事件的操作。 | +| COMMON_EVENT_THERMAL_LEVEL_CHANGED8+ | usual.event.THERMAL_LEVEL_CHANGED | 无 | 指示设备热状态的公共事件的动作。 | +| COMMON_EVENT_USER_PRESENT | usual.event.USER_PRESENT | 无 | 用户解锁设备的公共事件的动作。预留能力,暂未支持。 | +| COMMON_EVENT_TIME_TICK | usual.event.TIME_TICK | 无 | 表示系统时间更改的公共事件的动作。 | +| COMMON_EVENT_TIME_CHANGED | usual.event.TIME_CHANGED | 无 | 设置系统时间的公共事件的动作。 | +| COMMON_EVENT_DATE_CHANGED | usual.event.DATE_CHANGED | 无 | 表示系统日期已更改的公共事件的动作。预留能力,暂未支持。 | +| COMMON_EVENT_TIMEZONE_CHANGED | usual.event.TIMEZONE_CHANGED | 无 | 表示系统时区更改的公共事件的动作。 | +| COMMON_EVENT_CLOSE_SYSTEM_DIALOGS | usual.event.CLOSE_SYSTEM_DIALOGS | 无 | 表示用户关闭临时系统对话框的公共事件的动作。预留能力,暂未支持。 | +| COMMON_EVENT_PACKAGE_ADDED | usual.event.PACKAGE_ADDED | 无 | 设备上已安装新应用包的公共事件的动作。 | +| COMMON_EVENT_PACKAGE_REPLACED | usual.event.PACKAGE_REPLACED | 无 | 指示已安装的应用程序包的新版本已替换设备上的旧版本的公共事件的操作。预留能力,暂未支持。 | +| COMMON_EVENT_MY_PACKAGE_REPLACED | usual.event.MY_PACKAGE_REPLACED | 无 | 指示应用程序包的新版本已取代前一个版本的公共事件的操作。预留事件,暂未支持。 | COMMON_EVENT_PACKAGE_REMOVED | usual.event.PACKAGE_REMOVED | 无 | 指示已从设备卸载已安装的应用程序,但应用程序数据保留的公共事件的操作。 | -| COMMON_EVENT_BUNDLE_REMOVED | usual.event.BUNDLE_REMOVED | 无 | 指示已从设备中卸载已安装的捆绑包,但应用程序数据仍保留的公共事件的操作。 | -| COMMON_EVENT_PACKAGE_FULLY_REMOVED | usual.event.PACKAGE_FULLY_REMOVED | 无 | 指示已从设备中完全卸载已安装的应用程序(包括应用程序数据和代码)的公共事件的操作。 | +| COMMON_EVENT_BUNDLE_REMOVED | usual.event.BUNDLE_REMOVED | 无 | 指示已从设备中卸载已安装的捆绑包,但应用程序数据仍保留的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_PACKAGE_FULLY_REMOVED | usual.event.PACKAGE_FULLY_REMOVED | 无 | 指示已从设备中完全卸载已安装的应用程序(包括应用程序数据和代码)的公共事件的操作。预留事件,暂未支持。 | | COMMON_EVENT_PACKAGE_CHANGED | usual.event.PACKAGE_CHANGED | 无 | 指示应用包已更改的公共事件的动作(例如,包中的组件已启用或禁用)。 | | COMMON_EVENT_PACKAGE_RESTARTED | usual.event.PACKAGE_RESTARTED | 无 | 表示用户重启应用包并杀死其所有进程的普通事件的动作。 | | COMMON_EVENT_PACKAGE_DATA_CLEARED | usual.event.PACKAGE_DATA_CLEARED | 无 | 用户清除应用包数据的公共事件的动作。 | | COMMON_EVENT_PACKAGE_CACHE_CLEARED9+ | usual.event.PACKAGE_CACHE_CLEARED | 无 | 用户清除应用包缓存数据的公共事件的动作。 | -| COMMON_EVENT_PACKAGES_SUSPENDED | usual.event.PACKAGES_SUSPENDED | 无 | 表示应用包已挂起的公共事件的动作。 | -| COMMON_EVENT_PACKAGES_UNSUSPENDED | usual.event.PACKAGES_UNSUSPENDED | 无 | 表示应用包未挂起的公共事件的动作。 | +| COMMON_EVENT_PACKAGES_SUSPENDED | usual.event.PACKAGES_SUSPENDED | 无 | 表示应用包已挂起的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_PACKAGES_UNSUSPENDED | usual.event.PACKAGES_UNSUSPENDED | 无 | 表示应用包未挂起的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_MY_PACKAGE_SUSPENDED | usual.event.MY_PACKAGE_SUSPENDED | 无 | 应用包被挂起的公共事件的动作。 | | COMMON_EVENT_MY_PACKAGE_UNSUSPENDED | usual.event.MY_PACKAGE_UNSUSPENDED | 无 | 表示应用包未挂起的公共事件的动作。 | -| COMMON_EVENT_UID_REMOVED | usual.event.UID_REMOVED | 无 | 表示用户ID已从系统中删除的公共事件的动作。 | -| COMMON_EVENT_PACKAGE_FIRST_LAUNCH | usual.event.PACKAGE_FIRST_LAUNCH | 无 | 表示首次启动已安装应用程序的公共事件的动作。 | -| COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION | usual.event.PACKAGE_NEEDS_VERIFICATION | 无 | 表示应用需要系统校验的公共事件的动作。 | -| COMMON_EVENT_PACKAGE_VERIFIED | usual.event.PACKAGE_VERIFIED | 无 | 表示应用已被系统校验的公共事件的动作。 | -| COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE | usual.event.EXTERNAL_APPLICATIONS_AVAILABLE | 无 | 指示安装在外部存储上的应用程序对系统可用的公共事件的操作。 | -| COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE | usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE | 无 | 指示安装在外部存储上的应用程序对系统不可用的公共事件的操作。 | -| COMMON_EVENT_CONFIGURATION_CHANGED | usual.event.CONFIGURATION_CHANGED | 无 | 指示设备状态(例如,方向和区域设置)已更改的公共事件的操作。 | -| COMMON_EVENT_LOCALE_CHANGED | usual.event.LOCALE_CHANGED | 无 | 指示设备区域设置已更改的公共事件的操作。 | -| COMMON_EVENT_MANAGE_PACKAGE_STORAGE | usual.event.MANAGE_PACKAGE_STORAGE | 无 | 设备存储空间不足的公共事件的动作。 | -| COMMON_EVENT_DRIVE_MODE | common.event.DRIVE_MODE | 无 | 指示系统处于驾驶模式的公共事件的动作。 | -| COMMON_EVENT_HOME_MODE | common.event.HOME_MODE | 无 | 表示系统处于HOME模式的公共事件的动作。 | -| COMMON_EVENT_OFFICE_MODE | common.event.OFFICE_MODE | 无 | 表示系统处于办公模式的公共事件的动作。 | -| COMMON_EVENT_USER_STARTED | usual.event.USER_STARTED | 无 | 表示用户已启动的公共事件的动作。 | -| COMMON_EVENT_USER_BACKGROUND | usual.event.USER_BACKGROUND | 无 | 表示用户已被带到后台的公共事件的动作。 | -| COMMON_EVENT_USER_FOREGROUND | usual.event.USER_FOREGROUND | 无 | 表示用户已被带到前台的公共事件的动作。 | +| COMMON_EVENT_UID_REMOVED | usual.event.UID_REMOVED | 无 | 表示用户ID已从系统中删除的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_PACKAGE_FIRST_LAUNCH | usual.event.PACKAGE_FIRST_LAUNCH | 无 | 表示首次启动已安装应用程序的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION | usual.event.PACKAGE_NEEDS_VERIFICATION | 无 | 表示应用需要系统校验的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_PACKAGE_VERIFIED | usual.event.PACKAGE_VERIFIED | 无 | 表示应用已被系统校验的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE | usual.event.EXTERNAL_APPLICATIONS_AVAILABLE | 无 | 指示安装在外部存储上的应用程序对系统可用的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE | usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE | 无 | 指示安装在外部存储上的应用程序对系统不可用的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_CONFIGURATION_CHANGED | usual.event.CONFIGURATION_CHANGED | 无 | 指示设备状态(例如,方向和区域设置)已更改的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_LOCALE_CHANGED | usual.event.LOCALE_CHANGED | 无 | 指示设备区域设置已更改的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_MANAGE_PACKAGE_STORAGE | usual.event.MANAGE_PACKAGE_STORAGE | 无 | 设备存储空间不足的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_DRIVE_MODE | common.event.DRIVE_MODE | 无 | 指示系统处于驾驶模式的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_HOME_MODE | common.event.HOME_MODE | 无 | 表示系统处于HOME模式的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_OFFICE_MODE | common.event.OFFICE_MODE | 无 | 表示系统处于办公模式的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_STARTED | usual.event.USER_STARTED | 无 | 表示用户已启动的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_BACKGROUND | usual.event.USER_BACKGROUND | 无 | 表示用户已被带到后台的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_FOREGROUND | usual.event.USER_FOREGROUND | 无 | 表示用户已被带到前台的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_USER_SWITCHED | usual.event.USER_SWITCHED | ohos.permission.MANAGE_LOCAL_ACCOUNTS | 表示用户切换正在发生的公共事件的动作。 | -| COMMON_EVENT_USER_STARTING | usual.event.USER_STARTING | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 表示要启动用户的公共事件的动作。 | -| COMMON_EVENT_USER_UNLOCKED | usual.event.USER_UNLOCKED | 无 | 设备重启后解锁时,当前用户的凭据加密存储已解锁的公共事件的动作。 | -| COMMON_EVENT_USER_STOPPING | usual.event.USER_STOPPING | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 表示要停止用户的公共事件的动作。 | -| COMMON_EVENT_USER_STOPPED | usual.event.USER_STOPPED | 无 | 表示用户已停止的公共事件的动作。 | +| COMMON_EVENT_USER_STARTING | usual.event.USER_STARTING | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 表示要启动用户的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_UNLOCKED | usual.event.USER_UNLOCKED | 无 | 设备重启后解锁时,当前用户的凭据加密存储已解锁的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_STOPPING | usual.event.USER_STOPPING | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 表示要停止用户的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_STOPPED | usual.event.USER_STOPPED | 无 | 表示用户已停止的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_WIFI_POWER_STATE | usual.event.wifi.POWER_STATE | 无 | Wi-Fi状态公共事件的动作,如启用和禁用。 | | COMMON_EVENT_WIFI_SCAN_FINISHED | usual.event.wifi.SCAN_FINISHED | ohos.permission.LOCATION | 表示Wi-Fi接入点已被扫描并证明可用的公共事件的操作。 | | COMMON_EVENT_WIFI_RSSI_VALUE | usual.event.wifi.RSSI_VALUE | ohos.permission.GET_WIFI_INFO | 表示Wi-Fi信号强度(RSSI)改变的公共事件的动作。 | @@ -85,87 +85,87 @@ CommonEvent模块支持的事件类型。名称指的是系统公共事件宏; | COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED | usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE | ohos.permission.GET_WIFI_INFO | Wi-Fi P2P发现状态变化。 | | COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED | usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE | ohos.permission.GET_WIFI_INFO | Wi-Fi P2P当前设备状态变化。 | | COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED | usual.event.wifi.p2p.GROUP_STATE_CHANGED | ohos.permission.GET_WIFI_INFO | Wi-Fi P2P群组信息已更改。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE | usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙免提通信连接状态公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE | usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示连接到蓝牙免提的设备处于活动状态的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE | usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP连接状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP连接状态公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE | usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示使用蓝牙A2DP连接的设备处于活动状态的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE | usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP播放状态改变的普通事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP的AVRCP连接状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE | usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP音频编解码状态更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED | usual.event.bluetooth.remotedevice.DISCOVERED | ohos.permission.LOCATION and ohos.permission.USE_BLUETOOTH | 表示发现远程蓝牙设备的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE | usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的蓝牙类别已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED | usual.event.bluetooth.remotedevice.ACL_CONNECTED | ohos.permission.USE_BLUETOOTH | 指示已与远程蓝牙设备建立低级别(ACL)连接的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED | usual.event.bluetooth.remotedevice.ACL_DISCONNECTED | ohos.permission.USE_BLUETOOTH | 表示低电平(ACL)连接已从远程蓝牙设备断开的普通事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE | usual.event.bluetooth.remotedevice.NAME_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的友好名称首次被检索或自上次检索以来被更改的公共事件的操作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE | usual.event.bluetooth.remotedevice.PAIR_STATE | ohos.permission.USE_BLUETOOTH | 远程蓝牙设备连接状态更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE | usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的电池电量首次被检索或自上次检索以来被更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT | usual.event.bluetooth.remotedevice.SDP_RESULT | 无 | 远程蓝牙设备SDP状态公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE | usual.event.bluetooth.remotedevice.UUID_VALUE | ohos.permission.DISCOVER_BLUETOOTH | 远程蓝牙设备UUID连接状态公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ | usual.event.bluetooth.remotedevice.PAIRING_REQ | ohos.permission.DISCOVER_BLUETOOTH | 表示远程蓝牙设备配对请求的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL | usual.event.bluetooth.remotedevice.PAIRING_CANCEL | 无 | 取消蓝牙配对的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ | usual.event.bluetooth.remotedevice.CONNECT_REQ | 无 | 表示远程蓝牙设备连接请求的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY | usual.event.bluetooth.remotedevice.CONNECT_REPLY | 无 | 表示远程蓝牙设备连接请求响应的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL | usual.event.bluetooth.remotedevice.CONNECT_CANCEL | 无 | 表示取消与远程蓝牙设备的连接的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE | 无 | 表示蓝牙免提连接状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE | 无 | 表示蓝牙免提音频状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT | usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT | 无 | 表示蓝牙免提音频网关状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE | 无 | 表示蓝牙免提呼叫状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE | usual.event.bluetooth.host.STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙适配器状态已更改的公共事件的操作,例如蓝牙已打开或关闭。 | -| COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE | usual.event.bluetooth.host.REQ_DISCOVERABLE | 无 | 表示用户允许扫描蓝牙请求的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE | usual.event.bluetooth.host.REQ_ENABLE | ohos.permission.USE_BLUETOOTH | 表示用户打开蓝牙请求的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE | usual.event.bluetooth.host.REQ_DISABLE | ohos.permission.USE_BLUETOOTH | 表示用户关闭蓝牙请求的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE | usual.event.bluetooth.host.SCAN_MODE_UPDATE | ohos.permission.USE_BLUETOOTH | 设备蓝牙扫描模式更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED | usual.event.bluetooth.host.DISCOVERY_STARTED | ohos.permission.USE_BLUETOOTH | 设备上已启动蓝牙扫描的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED | usual.event.bluetooth.host.DISCOVERY_FINISHED | ohos.permission.USE_BLUETOOTH | 设备上蓝牙扫描完成的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE | usual.event.bluetooth.host.NAME_UPDATE | ohos.permission.USE_BLUETOOTH | 指示设备蓝牙适配器名称已更改的公共事件的操作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP宿连接状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE | usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP宿播放状态改变的普通事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE | usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP宿的音频状态已更改的公共事件的动作。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE | usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙免提通信连接状态公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE | usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示连接到蓝牙免提的设备处于活动状态的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE | usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP连接状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP连接状态公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE | usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示使用蓝牙A2DP连接的设备处于活动状态的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE | usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP播放状态改变的普通事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP的AVRCP连接状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE | usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP音频编解码状态更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED | usual.event.bluetooth.remotedevice.DISCOVERED | ohos.permission.LOCATION and ohos.permission.USE_BLUETOOTH | 表示发现远程蓝牙设备的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE | usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的蓝牙类别已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED | usual.event.bluetooth.remotedevice.ACL_CONNECTED | ohos.permission.USE_BLUETOOTH | 指示已与远程蓝牙设备建立低级别(ACL)连接的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED | usual.event.bluetooth.remotedevice.ACL_DISCONNECTED | ohos.permission.USE_BLUETOOTH | 表示低电平(ACL)连接已从远程蓝牙设备断开的普通事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE | usual.event.bluetooth.remotedevice.NAME_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的友好名称首次被检索或自上次检索以来被更改的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE | usual.event.bluetooth.remotedevice.PAIR_STATE | ohos.permission.USE_BLUETOOTH | 远程蓝牙设备连接状态更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE | usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的电池电量首次被检索或自上次检索以来被更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT | usual.event.bluetooth.remotedevice.SDP_RESULT | 无 | 远程蓝牙设备SDP状态公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE | usual.event.bluetooth.remotedevice.UUID_VALUE | ohos.permission.DISCOVER_BLUETOOTH | 远程蓝牙设备UUID连接状态公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ | usual.event.bluetooth.remotedevice.PAIRING_REQ | ohos.permission.DISCOVER_BLUETOOTH | 表示远程蓝牙设备配对请求的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL | usual.event.bluetooth.remotedevice.PAIRING_CANCEL | 无 | 取消蓝牙配对的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ | usual.event.bluetooth.remotedevice.CONNECT_REQ | 无 | 表示远程蓝牙设备连接请求的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY | usual.event.bluetooth.remotedevice.CONNECT_REPLY | 无 | 表示远程蓝牙设备连接请求响应的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL | usual.event.bluetooth.remotedevice.CONNECT_CANCEL | 无 | 表示取消与远程蓝牙设备的连接的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE | 无 | 表示蓝牙免提连接状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE | 无 | 表示蓝牙免提音频状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT | usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT | 无 | 表示蓝牙免提音频网关状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE | 无 | 表示蓝牙免提呼叫状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE | usual.event.bluetooth.host.STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙适配器状态已更改的公共事件的操作,例如蓝牙已打开或关闭。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE | usual.event.bluetooth.host.REQ_DISCOVERABLE | 无 | 表示用户允许扫描蓝牙请求的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE | usual.event.bluetooth.host.REQ_ENABLE | ohos.permission.USE_BLUETOOTH | 表示用户打开蓝牙请求的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE | usual.event.bluetooth.host.REQ_DISABLE | ohos.permission.USE_BLUETOOTH | 表示用户关闭蓝牙请求的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE | usual.event.bluetooth.host.SCAN_MODE_UPDATE | ohos.permission.USE_BLUETOOTH | 设备蓝牙扫描模式更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED | usual.event.bluetooth.host.DISCOVERY_STARTED | ohos.permission.USE_BLUETOOTH | 设备上已启动蓝牙扫描的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED | usual.event.bluetooth.host.DISCOVERY_FINISHED | ohos.permission.USE_BLUETOOTH | 设备上蓝牙扫描完成的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE | usual.event.bluetooth.host.NAME_UPDATE | ohos.permission.USE_BLUETOOTH | 指示设备蓝牙适配器名称已更改的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP宿连接状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE | usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP宿播放状态改变的普通事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE | usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP宿的音频状态已更改的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED | usual.event.nfc.action.ADAPTER_STATE_CHANGED | 无 | 指示设备NFC适配器状态已更改的公共事件的操作。 | -| COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED | usual.event.nfc.action.RF_FIELD_ON_DETECTED | ohos.permission.MANAGE_SECURE_SETTINGS | 检测到NFC RF字段处于使能状态的公共事件的动作。 | -| COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED | usual.event.nfc.action.RF_FIELD_OFF_DETECTED | ohos.permission.MANAGE_SECURE_SETTINGS | 检测到NFC RF字段处于关闭状态的公共事件的动作。 | +| COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED | usual.event.nfc.action.RF_FIELD_ON_DETECTED | ohos.permission.MANAGE_SECURE_SETTINGS | 检测到NFC RF字段处于使能状态的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED | usual.event.nfc.action.RF_FIELD_OFF_DETECTED | ohos.permission.MANAGE_SECURE_SETTINGS | 检测到NFC RF字段处于关闭状态的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_DISCHARGING | usual.event.DISCHARGING | 无 | 表示系统停止为电池充电的公共事件的动作。 | | COMMON_EVENT_CHARGING | usual.event.CHARGING | 无 | 表示系统开始为电池充电的公共事件的动作。 | -| COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED | usual.event.DEVICE_IDLE_MODE_CHANGED | 无 | 表示系统空闲模式已更改的公共事件的动作。 | +| COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED | usual.event.DEVICE_IDLE_MODE_CHANGED | 无 | 表示系统空闲模式已更改的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_POWER_SAVE_MODE_CHANGED | usual.event.POWER_SAVE_MODE_CHANGED | 无 | 表示系统节能模式更改的公共事件的动作。 | | COMMON_EVENT_USER_ADDED | usual.event.USER_ADDED | ohos.permission.MANAGE_LOCAL_ACCOUNTS | 表示用户已添加到系统中的公共事件的动作。 | | COMMON_EVENT_USER_REMOVED | usual.event.USER_REMOVED | ohos.permission.MANAGE_LOCAL_ACCOUNTS | 表示用户已从系统中删除的公共事件的动作。 | -| COMMON_EVENT_ABILITY_ADDED | usual.event.ABILITY_ADDED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示已添加能力的公共事件的动作。 | -| COMMON_EVENT_ABILITY_REMOVED | usual.event.ABILITY_REMOVED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示已删除能力的公共事件的动作。 | -| COMMON_EVENT_ABILITY_UPDATED | usual.event.ABILITY_UPDATED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示能力已更新的公共事件的动作。 | -| COMMON_EVENT_LOCATION_MODE_STATE_CHANGED | usual.event.location.MODE_STATE_CHANGED | 无 | 表示系统定位模式已更改的公共事件的动作。 | -| COMMON_EVENT_IVI_SLEEP | common.event.IVI_SLEEP | 无 | 表示指示车辆的车载信息娱乐(IVI)系统正在休眠的常见事件的动作。 | -| COMMON_EVENT_IVI_PAUSE | common.event.IVI_PAUSE | 无 | 表示IVI已休眠,并通知应用程序停止播放。 | -| COMMON_EVENT_IVI_STANDBY | common.event.IVI_STANDBY | 无 | 指示第三方应用暂停当前工作的公共事件的动作。 | -| COMMON_EVENT_IVI_LASTMODE_SAVE | common.event.IVI_LASTMODE_SAVE | 无 | 指示第三方应用保存其最后一个模式的公共事件的动作。 | -| COMMON_EVENT_IVI_VOLTAGE_ABNORMAL | common.event.IVI_VOLTAGE_ABNORMAL | 无 | 表示车辆电源系统电压异常的公共事件的动作。 | -| COMMON_EVENT_IVI_HIGH_TEMPERATURE | common.event.IVI_HIGH_TEMPERATURE | 无 | 表示IVI温度过高。 | -| COMMON_EVENT_IVI_EXTREME_TEMPERATURE | common.event.IVI_EXTREME_TEMPERATURE | 无 | 表示IVI温度极高。 | -| COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL | common.event.IVI_TEMPERATURE_ABNORMAL | 无 | 表示车载系统具有极端温度的常见事件的动作。 | -| COMMON_EVENT_IVI_VOLTAGE_RECOVERY | common.event.IVI_VOLTAGE_RECOVERY | 无 | 表示车辆电源系统电压恢复正常的公共事件的动作。 | -| COMMON_EVENT_IVI_TEMPERATURE_RECOVERY | common.event.IVI_TEMPERATURE_RECOVERY | 无 | 表示车载系统温度恢复正常的公共事件的动作。 | -| COMMON_EVENT_IVI_ACTIVE | common.event.IVI_ACTIVE | 无 | 表示电池服务处于活动状态的公共事件的动作。 | +| COMMON_EVENT_ABILITY_ADDED | usual.event.ABILITY_ADDED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示已添加能力的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_ABILITY_REMOVED | usual.event.ABILITY_REMOVED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示已删除能力的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_ABILITY_UPDATED | usual.event.ABILITY_UPDATED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示能力已更新的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_LOCATION_MODE_STATE_CHANGED | usual.event.location.MODE_STATE_CHANGED | 无 | 表示系统定位模式已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_SLEEP | common.event.IVI_SLEEP | 无 | 表示指示车辆的车载信息娱乐(IVI)系统正在休眠的常见事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_PAUSE | common.event.IVI_PAUSE | 无 | 表示IVI已休眠,并通知应用程序停止播放。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_STANDBY | common.event.IVI_STANDBY | 无 | 指示第三方应用暂停当前工作的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_LASTMODE_SAVE | common.event.IVI_LASTMODE_SAVE | 无 | 指示第三方应用保存其最后一个模式的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_VOLTAGE_ABNORMAL | common.event.IVI_VOLTAGE_ABNORMAL | 无 | 表示车辆电源系统电压异常的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_HIGH_TEMPERATURE | common.event.IVI_HIGH_TEMPERATURE | 无 | 表示IVI温度过高。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_EXTREME_TEMPERATURE | common.event.IVI_EXTREME_TEMPERATURE | 无 | 表示IVI温度极高。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL | common.event.IVI_TEMPERATURE_ABNORMAL | 无 | 表示车载系统具有极端温度的常见事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_VOLTAGE_RECOVERY | common.event.IVI_VOLTAGE_RECOVERY | 无 | 表示车辆电源系统电压恢复正常的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_TEMPERATURE_RECOVERY | common.event.IVI_TEMPERATURE_RECOVERY | 无 | 表示车载系统温度恢复正常的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_ACTIVE | common.event.IVI_ACTIVE | 无 | 表示电池服务处于活动状态的公共事件的动作。预留事件,暂未支持。 | |COMMON_EVENT_USB_STATE9+ | usual.event.hardware.usb.action.USB_STATE | 无 | 表示USB设备状态发生变化的公共事件。 | |COMMON_EVENT_USB_PORT_CHANGED9+ | usual.event.hardware.usb.action.USB_PORT_CHANGED | 无 | 表示用户设备的USB端口状态发生改变的公共事件。 | | COMMON_EVENT_USB_DEVICE_ATTACHED | usual.event.hardware.usb.action.USB_DEVICE_ATTACHED | 无 | 当用户设备作为USB主机时,USB设备已挂载的公共事件的动作。 | | COMMON_EVENT_USB_DEVICE_DETACHED | usual.event.hardware.usb.action.USB_DEVICE_DETACHED | 无 | 当用户设备作为USB主机时,USB设备被卸载的公共事件的动作。 | -| COMMON_EVENT_USB_ACCESSORY_ATTACHED | usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED | 无 | 表示已连接USB附件的公共事件的动作。 | -| COMMON_EVENT_USB_ACCESSORY_DETACHED | usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED | 无 | 表示USB附件被卸载的公共事件的动作。 | -| COMMON_EVENT_DISK_REMOVED | usual.event.data.DISK_REMOVED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为移除时发送此公共事件。 | -| COMMON_EVENT_DISK_UNMOUNTED | usual.event.data.DISK_UNMOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为卸载时发送此公共事件。 | -| COMMON_EVENT_DISK_MOUNTED | usual.event.data.DISK_MOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载时发送此公共事件。 | -| COMMON_EVENT_DISK_BAD_REMOVAL | usual.event.data.DISK_BAD_REMOVAL | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载状态下移除时发送此公共事件。 | -| COMMON_EVENT_DISK_UNMOUNTABLE | usual.event.data.DISK_UNMOUNTABLE | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为插卡情况下无法挂载时发送此公共事件。 | -| COMMON_EVENT_DISK_EJECT | usual.event.data.DISK_EJECT | ohos.permission.STORAGE_MANAGER | 用户已表示希望删除外部存储介质时发送此公共事件。 | +| COMMON_EVENT_USB_ACCESSORY_ATTACHED | usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED | 无 | 表示已连接USB附件的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USB_ACCESSORY_DETACHED | usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED | 无 | 表示USB附件被卸载的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_REMOVED | usual.event.data.DISK_REMOVED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为移除时发送此公共事件。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_UNMOUNTED | usual.event.data.DISK_UNMOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为卸载时发送此公共事件。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_MOUNTED | usual.event.data.DISK_MOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载时发送此公共事件。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_BAD_REMOVAL | usual.event.data.DISK_BAD_REMOVAL | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载状态下移除时发送此公共事件。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_UNMOUNTABLE | usual.event.data.DISK_UNMOUNTABLE | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为插卡情况下无法挂载时发送此公共事件。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_EJECT | usual.event.data.DISK_EJECT | ohos.permission.STORAGE_MANAGER | 用户已表示希望删除外部存储介质时发送此公共事件。预留事件,暂未支持。 | | COMMON_EVENT_VOLUME_REMOVED9+ | usual.event.data.VOLUME_REMOVED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为移除时发送此公共事件。 | | COMMON_EVENT_VOLUME_UNMOUNTED9+ | usual.event.data.VOLUME_UNMOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为卸载时发送此公共事件。 | | COMMON_EVENT_VOLUME_MOUNTED9+ | usual.event.data.VOLUME_MOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载时发送此公共事件。 | | COMMON_EVENT_VOLUME_BAD_REMOVAL9+ | usual.event.data.VOLUME_BAD_REMOVAL | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载状态下移除时发送此公共事件。 | | COMMON_EVENT_VOLUME_EJECT9+ | usual.event.data.VOLUME_EJECT | ohos.permission.STORAGE_MANAGER | 用户已表示希望删除外部存储介质时发送此公共事件。 | -| COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED | usual.event.data.VISIBLE_ACCOUNTS_UPDATED | ohos.permission.GET_APP_ACCOUNTS | 表示帐户可见更改的公共事件的动作。 | -| COMMON_EVENT_ACCOUNT_DELETED | usual.event.data.ACCOUNT_DELETED | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 删除帐户的公共事件的动作。 | -| COMMON_EVENT_FOUNDATION_READY | usual.event.data.FOUNDATION_READY | ohos.permission.RECEIVER_STARTUP_COMPLETED | 表示foundation已准备好的公共事件的动作。 | +| COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED | usual.event.data.VISIBLE_ACCOUNTS_UPDATED | ohos.permission.GET_APP_ACCOUNTS | 表示帐户可见更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_ACCOUNT_DELETED | usual.event.data.ACCOUNT_DELETED | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 删除帐户的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_FOUNDATION_READY | usual.event.data.FOUNDATION_READY | ohos.permission.RECEIVER_STARTUP_COMPLETED | 表示foundation已准备好的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_AIRPLANE_MODE_CHANGED | usual.event.AIRPLANE_MODE | 无 | 表示设备飞行模式已更改的公共事件的动作。 | | COMMON_EVENT_SPLIT_SCREEN8+ | usual.event.SPLIT_SCREEN | 无 | 表示分屏的公共事件的动作。 | | COMMON_EVENT_SLOT_CHANGE9+ | usual.event.SLOT_CHANGE | ohos.permission.NOTIFICATION_CONTROLLER | 表示通知通道更新的动作。 | @@ -1244,7 +1244,7 @@ subscriber.finishCommonEvent().then(() => { | 名称 | 类型 | 可读 | 可写 | 说明 | | ---------- |-------------------- | ---- | ---- | ------------------------------------------------------- | | event | string | 是 | 否 | 表示当前接收的公共事件名称。 | -| bundleName | string | 是 | 否 | 表示包名称。 | +| bundleName | string | 是 | 否 | 表示Bundle名称。 | | code | number | 是 | 否 | 表示公共事件的结果代码,用于传递int类型的数据。 | | data | string | 是 | 否 | 表示公共事件的自定义结果数据,用于传递string类型的数据。 | | parameters | {[key: string]: any} | 是 | 否 | 表示公共事件的附加信息。 | @@ -1258,7 +1258,7 @@ subscriber.finishCommonEvent().then(() => { | 名称 | 类型 | 可读 | 可写 | 说明 | | --------------------- | -------------------- | ---- | ---- | ---------------------------- | -| bundleName | string | 是 | 否 | 表示包名称。 | +| bundleName | string | 是 | 否 | 表示Bundle名称。 | | code | number | 是 | 否 | 表示公共事件的结果代码。 | | data | string | 是 | 否 | 表示公共事件的自定义结果数据。 | | subscriberPermissions | Array\ | 是 | 否 | 表示订阅者的权限。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-commonEventManager.md b/zh-cn/application-dev/reference/apis/js-apis-commonEventManager.md index abf50c4da461794f95b248ceead1129a42bb0dc9..846991584dc3235723eba0911801abaa1dc25438 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-commonEventManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-commonEventManager.md @@ -18,10 +18,10 @@ CommonEventManager模块支持的事件类型。名称指的是系统公共事 **系统能力:** SystemCapability.Notification.CommonEvent -| 名称 | 值 | 订阅者所需权限 | 说明 | +| 名称 | | 订阅者所需权限 | 说明 | | ------------ | ------------------ | ---------------------- | -------------------- | | COMMON_EVENT_BOOT_COMPLETED | usual.event.BOOT_COMPLETED | ohos.permission.RECEIVER_STARTUP_COMPLETED | 表示用户已完成引导并加载系统的公共事件的操作。 | -| COMMON_EVENT_LOCKED_BOOT_COMPLETED | usual.event.LOCKED_BOOT_COMPLETED | ohos.permission.RECEIVER_STARTUP_COMPLETED | 表示用户已完成引导,系统已加载,但屏幕仍锁定的公共事件的操作。 | +| COMMON_EVENT_LOCKED_BOOT_COMPLETED | usual.event.LOCKED_BOOT_COMPLETED | ohos.permission.RECEIVER_STARTUP_COMPLETED | 表示用户已完成引导,系统已加载,但屏幕仍锁定的公共事件的操作。预留能力,暂未支持。 | | COMMON_EVENT_SHUTDOWN | usual.event.SHUTDOWN | 无 | 表示设备正在关闭并将继续最终关闭的公共事件的操作。 | | COMMON_EVENT_BATTERY_CHANGED | usual.event.BATTERY_CHANGED | 无 | 表示电池充电状态、电平和其他信息发生变化的公共事件的动作。 | | COMMON_EVENT_BATTERY_LOW | usual.event.BATTERY_LOW | 无 | 表示电池电量低的普通事件的动作。 | @@ -31,50 +31,50 @@ CommonEventManager模块支持的事件类型。名称指的是系统公共事 | COMMON_EVENT_SCREEN_OFF | usual.event.SCREEN_OFF | 无 | 表示设备屏幕关闭且设备处于睡眠状态的普通事件的动作。 | | COMMON_EVENT_SCREEN_ON | usual.event.SCREEN_ON | 无 | 表示设备屏幕打开且设备处于交互状态的公共事件的操作。 | | COMMON_EVENT_THERMAL_LEVEL_CHANGED | usual.event.THERMAL_LEVEL_CHANGED | 无 | 表示设备热状态的公共事件的动作。 | -| COMMON_EVENT_USER_PRESENT | usual.event.USER_PRESENT | 无 | 用户解锁设备的公共事件的动作。 | +| COMMON_EVENT_USER_PRESENT | usual.event.USER_PRESENT | 无 | 用户解锁设备的公共事件的动作。预留能力,暂未支持。 | | COMMON_EVENT_TIME_TICK | usual.event.TIME_TICK | 无 | 表示系统时间更改的公共事件的动作。 | | COMMON_EVENT_TIME_CHANGED | usual.event.TIME_CHANGED | 无 | 设置系统时间的公共事件的动作。 | -| COMMON_EVENT_DATE_CHANGED | usual.event.DATE_CHANGED | 无 | 表示系统日期已更改的公共事件的动作。 | +| COMMON_EVENT_DATE_CHANGED | usual.event.DATE_CHANGED | 无 | 表示系统日期已更改的公共事件的动作。预留能力,暂未支持。 | | COMMON_EVENT_TIMEZONE_CHANGED | usual.event.TIMEZONE_CHANGED | 无 | 表示系统时区更改的公共事件的动作。 | -| COMMON_EVENT_CLOSE_SYSTEM_DIALOGS | usual.event.CLOSE_SYSTEM_DIALOGS | 无 | 表示用户关闭临时系统对话框的公共事件的动作。 | +| COMMON_EVENT_CLOSE_SYSTEM_DIALOGS | usual.event.CLOSE_SYSTEM_DIALOGS | 无 | 表示用户关闭临时系统对话框的公共事件的动作。预留能力,暂未支持。 | | COMMON_EVENT_PACKAGE_ADDED | usual.event.PACKAGE_ADDED | 无 | 设备上已安装新应用包的公共事件的动作。 | -| COMMON_EVENT_PACKAGE_REPLACED | usual.event.PACKAGE_REPLACED | 无 | 表示已安装的应用程序包的新版本已替换设备上的旧版本的公共事件的操作。 | -| COMMON_EVENT_MY_PACKAGE_REPLACED | usual.event.MY_PACKAGE_REPLACED | 无 | 表示应用程序包的新版本已取代前一个版本的公共事件的操作。 +| COMMON_EVENT_PACKAGE_REPLACED | usual.event.PACKAGE_REPLACED | 无 | 表示已安装的应用程序包的新版本已替换设备上的旧版本的公共事件的操作。预留能力,暂未支持。 | +| COMMON_EVENT_MY_PACKAGE_REPLACED | usual.event.MY_PACKAGE_REPLACED | 无 | 表示应用程序包的新版本已取代前一个版本的公共事件的操作。预留事件,暂未支持。 | COMMON_EVENT_PACKAGE_REMOVED | usual.event.PACKAGE_REMOVED | 无 | 表示已从设备卸载已安装的应用程序,但应用程序数据保留的公共事件的操作。 | -| COMMON_EVENT_BUNDLE_REMOVED | usual.event.BUNDLE_REMOVED | 无 | 表示已从设备中卸载已安装的捆绑包,但应用程序数据仍保留的公共事件的操作。 | -| COMMON_EVENT_PACKAGE_FULLY_REMOVED | usual.event.PACKAGE_FULLY_REMOVED | 无 | 表示已从设备中完全卸载已安装的应用程序(包括应用程序数据和代码)的公共事件的操作。 | +| COMMON_EVENT_BUNDLE_REMOVED | usual.event.BUNDLE_REMOVED | 无 | 表示已从设备中卸载已安装的捆绑包,但应用程序数据仍保留的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_PACKAGE_FULLY_REMOVED | usual.event.PACKAGE_FULLY_REMOVED | 无 | 表示已从设备中完全卸载已安装的应用程序(包括应用程序数据和代码)的公共事件的操作。预留事件,暂未支持。 | | COMMON_EVENT_PACKAGE_CHANGED | usual.event.PACKAGE_CHANGED | 无 | 表示应用包已更改的公共事件的动作(例如,包中的组件已启用或禁用)。 | | COMMON_EVENT_PACKAGE_RESTARTED | usual.event.PACKAGE_RESTARTED | 无 | 表示用户重启应用包并杀死其所有进程的普通事件的动作。 | | COMMON_EVENT_PACKAGE_DATA_CLEARED | usual.event.PACKAGE_DATA_CLEARED | 无 | 用户清除应用包数据的公共事件的动作。 | | COMMON_EVENT_PACKAGE_CACHE_CLEARED9+ | usual.event.PACKAGE_CACHE_CLEARED | 无 | 用户清除应用包缓存数据的公共事件的动作。 | -| COMMON_EVENT_PACKAGES_SUSPENDED | usual.event.PACKAGES_SUSPENDED | 无 | 表示应用包已挂起的公共事件的动作。 | -| COMMON_EVENT_PACKAGES_UNSUSPENDED | usual.event.PACKAGES_UNSUSPENDED | 无 | 表示应用包未挂起的公共事件的动作。 | +| COMMON_EVENT_PACKAGES_SUSPENDED | usual.event.PACKAGES_SUSPENDED | 无 | 表示应用包已挂起的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_PACKAGES_UNSUSPENDED | usual.event.PACKAGES_UNSUSPENDED | 无 | 表示应用包未挂起的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_MY_PACKAGE_SUSPENDED | usual.event.MY_PACKAGE_SUSPENDED | 无 | 应用包被挂起的公共事件的动作。 | | COMMON_EVENT_MY_PACKAGE_UNSUSPENDED | usual.event.MY_PACKAGE_UNSUSPENDED | 无 | 表示应用包未挂起的公共事件的动作。 | -| COMMON_EVENT_UID_REMOVED | usual.event.UID_REMOVED | 无 | 表示用户ID已从系统中删除的公共事件的动作。 | -| COMMON_EVENT_PACKAGE_FIRST_LAUNCH | usual.event.PACKAGE_FIRST_LAUNCH | 无 | 表示首次启动已安装应用程序的公共事件的动作。 | -| COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION | usual.event.PACKAGE_NEEDS_VERIFICATION | 无 | 表示应用需要系统校验的公共事件的动作。 | -| COMMON_EVENT_PACKAGE_VERIFIED | usual.event.PACKAGE_VERIFIED | 无 | 表示应用已被系统校验的公共事件的动作。 | -| COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE | usual.event.EXTERNAL_APPLICATIONS_AVAILABLE | 无 | 表示安装在外部存储上的应用程序对系统可用的公共事件的操作。 | -| COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE | usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE | 无 | 表示安装在外部存储上的应用程序对系统不可用的公共事件的操作。 | -| COMMON_EVENT_CONFIGURATION_CHANGED | usual.event.CONFIGURATION_CHANGED | 无 | 表示设备状态(例如,方向和区域设置)已更改的公共事件的操作。 | -| COMMON_EVENT_LOCALE_CHANGED | usual.event.LOCALE_CHANGED | 无 | 表示设备区域设置已更改的公共事件的操作。 | -| COMMON_EVENT_MANAGE_PACKAGE_STORAGE | usual.event.MANAGE_PACKAGE_STORAGE | 无 | 设备存储空间不足的公共事件的动作。 | -| COMMON_EVENT_DRIVE_MODE | common.event.DRIVE_MODE | 无 | 表示系统处于驾驶模式的公共事件的动作。 | -| COMMON_EVENT_HOME_MODE | common.event.HOME_MODE | 无 | 表示系统处于HOME模式的公共事件的动作。 | -| COMMON_EVENT_OFFICE_MODE | common.event.OFFICE_MODE | 无 | 表示系统处于办公模式的公共事件的动作。 | -| COMMON_EVENT_USER_STARTED | usual.event.USER_STARTED | 无 | 表示用户已启动的公共事件的动作。 | -| COMMON_EVENT_USER_BACKGROUND | usual.event.USER_BACKGROUND | 无 | 表示用户已被带到后台的公共事件的动作。 | -| COMMON_EVENT_USER_FOREGROUND | usual.event.USER_FOREGROUND | 无 | 表示用户已被带到前台的公共事件的动作。 | +| COMMON_EVENT_UID_REMOVED | usual.event.UID_REMOVED | 无 | 表示用户ID已从系统中删除的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_PACKAGE_FIRST_LAUNCH | usual.event.PACKAGE_FIRST_LAUNCH | 无 | 表示首次启动已安装应用程序的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION | usual.event.PACKAGE_NEEDS_VERIFICATION | 无 | 表示应用需要系统校验的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_PACKAGE_VERIFIED | usual.event.PACKAGE_VERIFIED | 无 | 表示应用已被系统校验的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE | usual.event.EXTERNAL_APPLICATIONS_AVAILABLE | 无 | 表示安装在外部存储上的应用程序对系统可用的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE | usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE | 无 | 表示安装在外部存储上的应用程序对系统不可用的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_CONFIGURATION_CHANGED | usual.event.CONFIGURATION_CHANGED | 无 | 表示设备状态(例如,方向和区域设置)已更改的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_LOCALE_CHANGED | usual.event.LOCALE_CHANGED | 无 | 表示设备区域设置已更改的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_MANAGE_PACKAGE_STORAGE | usual.event.MANAGE_PACKAGE_STORAGE | 无 | 设备存储空间不足的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_DRIVE_MODE | common.event.DRIVE_MODE | 无 | 表示系统处于驾驶模式的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_HOME_MODE | common.event.HOME_MODE | 无 | 表示系统处于HOME模式的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_OFFICE_MODE | common.event.OFFICE_MODE | 无 | 表示系统处于办公模式的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_STARTED | usual.event.USER_STARTED | 无 | 表示用户已启动的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_BACKGROUND | usual.event.USER_BACKGROUND | 无 | 表示用户已被带到后台的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_FOREGROUND | usual.event.USER_FOREGROUND | 无 | 表示用户已被带到前台的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_USER_SWITCHED | usual.event.USER_SWITCHED | ohos.permission.MANAGE_LOCAL_ACCOUNTS | 表示用户切换正在发生的公共事件的动作。 | -| COMMON_EVENT_USER_STARTING | usual.event.USER_STARTING | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 表示要启动用户的公共事件的动作。 | -| COMMON_EVENT_USER_UNLOCKED | usual.event.USER_UNLOCKED | 无 | 设备重启后解锁时,当前用户的凭据加密存储已解锁的公共事件的动作。 | -| COMMON_EVENT_USER_STOPPING | usual.event.USER_STOPPING | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 表示要停止用户的公共事件的动作。 | -| COMMON_EVENT_USER_STOPPED | usual.event.USER_STOPPED | 无 | 表示用户已停止的公共事件的动作。 | -| COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN | usual.event.DISTRIBUTED_ACCOUNT_LOGIN | 无 | 表示分布式账号登录成功的动作。 | -| COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT | usual.event.DISTRIBUTED_ACCOUNT_LOGOUT | 无 | 表示分布式账号登出成功的动作。 | -| COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID | usual.event.DISTRIBUTED_ACCOUNT_TOKEN_INVALID | 无 | 表示分布式账号token令牌无效的动作。 | -| COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF | usual.event.DISTRIBUTED_ACCOUNT_LOGOFF | 无 | 表示分布式账号注销的动作。 | +| COMMON_EVENT_USER_STARTING | usual.event.USER_STARTING | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 表示要启动用户的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_UNLOCKED | usual.event.USER_UNLOCKED | 无 | 设备重启后解锁时,当前用户的凭据加密存储已解锁的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_STOPPING | usual.event.USER_STOPPING | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 表示要停止用户的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USER_STOPPED | usual.event.USER_STOPPED | 无 | 表示用户已停止的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN | usual.event.DISTRIBUTED_ACCOUNT_LOGIN | 无 | 表示分布式账号登录成功的动作。预留事件,暂未支持。 | +| COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT | usual.event.DISTRIBUTED_ACCOUNT_LOGOUT | 无 | 表示分布式账号登出成功的动作。预留事件,暂未支持。 | +| COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID | usual.event.DISTRIBUTED_ACCOUNT_TOKEN_INVALID | 无 | 表示分布式账号token令牌无效的动作。预留事件,暂未支持。 | +| COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF | usual.event.DISTRIBUTED_ACCOUNT_LOGOFF | 无 | 表示分布式账号注销的动作。预留事件,暂未支持。 | | COMMON_EVENT_WIFI_POWER_STATE | usual.event.wifi.POWER_STATE | 无 | Wi-Fi状态公共事件的动作,如启用和禁用。 | | COMMON_EVENT_WIFI_SCAN_FINISHED | usual.event.wifi.SCAN_FINISHED | ohos.permission.LOCATION | 表示Wi-Fi接入点已被扫描并证明可用的公共事件的操作。 | | COMMON_EVENT_WIFI_RSSI_VALUE | usual.event.wifi.RSSI_VALUE | ohos.permission.GET_WIFI_INFO | 表示Wi-Fi信号强度(RSSI)改变的公共事件的动作。 | @@ -89,87 +89,87 @@ CommonEventManager模块支持的事件类型。名称指的是系统公共事 | COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED | usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE | ohos.permission.GET_WIFI_INFO | Wi-Fi P2P发现状态变化。 | | COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED | usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE | ohos.permission.GET_WIFI_INFO | Wi-Fi P2P当前设备状态变化。 | | COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED | usual.event.wifi.p2p.GROUP_STATE_CHANGED | ohos.permission.GET_WIFI_INFO | Wi-Fi P2P群组信息已更改。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE | usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙免提通信连接状态公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE | usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示连接到蓝牙免提的设备处于活动状态的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE | usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP连接状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP连接状态公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE | usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示使用蓝牙A2DP连接的设备处于活动状态的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE | usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP播放状态改变的普通事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP的AVRCP连接状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE | usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP音频编解码状态更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED | usual.event.bluetooth.remotedevice.DISCOVERED | ohos.permission.LOCATION and ohos.permission.USE_BLUETOOTH | 表示发现远程蓝牙设备的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE | usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的蓝牙类别已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED | usual.event.bluetooth.remotedevice.ACL_CONNECTED | ohos.permission.USE_BLUETOOTH | 表示已与远程蓝牙设备建立低级别(ACL)连接的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED | usual.event.bluetooth.remotedevice.ACL_DISCONNECTED | ohos.permission.USE_BLUETOOTH | 表示低电平(ACL)连接已从远程蓝牙设备断开的普通事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE | usual.event.bluetooth.remotedevice.NAME_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的友好名称首次被检索或自上次检索以来被更改的公共事件的操作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE | usual.event.bluetooth.remotedevice.PAIR_STATE | ohos.permission.USE_BLUETOOTH | 远程蓝牙设备连接状态更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE | usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的电池电量首次被检索或自上次检索以来被更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT | usual.event.bluetooth.remotedevice.SDP_RESULT | 无 | 远程蓝牙设备SDP状态公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE | usual.event.bluetooth.remotedevice.UUID_VALUE | ohos.permission.DISCOVER_BLUETOOTH | 远程蓝牙设备UUID连接状态公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ | usual.event.bluetooth.remotedevice.PAIRING_REQ | ohos.permission.DISCOVER_BLUETOOTH | 表示远程蓝牙设备配对请求的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL | usual.event.bluetooth.remotedevice.PAIRING_CANCEL | 无 | 取消蓝牙配对的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ | usual.event.bluetooth.remotedevice.CONNECT_REQ | 无 | 表示远程蓝牙设备连接请求的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY | usual.event.bluetooth.remotedevice.CONNECT_REPLY | 无 | 表示远程蓝牙设备连接请求响应的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL | usual.event.bluetooth.remotedevice.CONNECT_CANCEL | 无 | 表示取消与远程蓝牙设备的连接的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE | 无 | 表示蓝牙免提连接状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE | 无 | 表示蓝牙免提音频状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT | usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT | 无 | 表示蓝牙免提音频网关状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE | 无 | 表示蓝牙免提呼叫状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE | usual.event.bluetooth.host.STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙适配器状态已更改的公共事件的操作,例如蓝牙已打开或关闭。 | -| COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE | usual.event.bluetooth.host.REQ_DISCOVERABLE | 无 | 表示用户允许扫描蓝牙请求的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE | usual.event.bluetooth.host.REQ_ENABLE | ohos.permission.USE_BLUETOOTH | 表示用户打开蓝牙请求的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE | usual.event.bluetooth.host.REQ_DISABLE | ohos.permission.USE_BLUETOOTH | 表示用户关闭蓝牙请求的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE | usual.event.bluetooth.host.SCAN_MODE_UPDATE | ohos.permission.USE_BLUETOOTH | 设备蓝牙扫描模式更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED | usual.event.bluetooth.host.DISCOVERY_STARTED | ohos.permission.USE_BLUETOOTH | 设备上已启动蓝牙扫描的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED | usual.event.bluetooth.host.DISCOVERY_FINISHED | ohos.permission.USE_BLUETOOTH | 设备上蓝牙扫描完成的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE | usual.event.bluetooth.host.NAME_UPDATE | ohos.permission.USE_BLUETOOTH | 表示设备蓝牙适配器名称已更改的公共事件的操作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP宿连接状态已更改的公共事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE | usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP宿播放状态改变的普通事件的动作。 | -| COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE | usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP宿的音频状态已更改的公共事件的动作。 | -| COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED | usual.event.nfc.action.ADAPTER_STATE_CHANGED | 无 | 表示设备NFC适配器状态已更改的公共事件的操作。 | -| COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED | usual.event.nfc.action.RF_FIELD_ON_DETECTED | ohos.permission.MANAGE_SECURE_SETTINGS | 检测到NFC RF字段处于使能状态的公共事件的动作。 | -| COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED | usual.event.nfc.action.RF_FIELD_OFF_DETECTED | ohos.permission.MANAGE_SECURE_SETTINGS | 检测到NFC RF字段处于关闭状态的公共事件的动作。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE | usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙免提通信连接状态公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE | usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示连接到蓝牙免提的设备处于活动状态的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE | usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP连接状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP连接状态公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE | usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示使用蓝牙A2DP连接的设备处于活动状态的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE | usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP播放状态改变的普通事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP的AVRCP连接状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE | usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP音频编解码状态更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED | usual.event.bluetooth.remotedevice.DISCOVERED | ohos.permission.LOCATION and ohos.permission.USE_BLUETOOTH | 表示发现远程蓝牙设备的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE | usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的蓝牙类别已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED | usual.event.bluetooth.remotedevice.ACL_CONNECTED | ohos.permission.USE_BLUETOOTH | 表示已与远程蓝牙设备建立低级别(ACL)连接的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED | usual.event.bluetooth.remotedevice.ACL_DISCONNECTED | ohos.permission.USE_BLUETOOTH | 表示低电平(ACL)连接已从远程蓝牙设备断开的普通事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE | usual.event.bluetooth.remotedevice.NAME_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的友好名称首次被检索或自上次检索以来被更改的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE | usual.event.bluetooth.remotedevice.PAIR_STATE | ohos.permission.USE_BLUETOOTH | 远程蓝牙设备连接状态更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE | usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示远程蓝牙设备的电池电量首次被检索或自上次检索以来被更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT | usual.event.bluetooth.remotedevice.SDP_RESULT | 无 | 远程蓝牙设备SDP状态公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE | usual.event.bluetooth.remotedevice.UUID_VALUE | ohos.permission.DISCOVER_BLUETOOTH | 远程蓝牙设备UUID连接状态公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ | usual.event.bluetooth.remotedevice.PAIRING_REQ | ohos.permission.DISCOVER_BLUETOOTH | 表示远程蓝牙设备配对请求的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL | usual.event.bluetooth.remotedevice.PAIRING_CANCEL | 无 | 取消蓝牙配对的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ | usual.event.bluetooth.remotedevice.CONNECT_REQ | 无 | 表示远程蓝牙设备连接请求的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY | usual.event.bluetooth.remotedevice.CONNECT_REPLY | 无 | 表示远程蓝牙设备连接请求响应的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL | usual.event.bluetooth.remotedevice.CONNECT_CANCEL | 无 | 表示取消与远程蓝牙设备的连接的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE | 无 | 表示蓝牙免提连接状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE | 无 | 表示蓝牙免提音频状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT | usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT | 无 | 表示蓝牙免提音频网关状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE | usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE | 无 | 表示蓝牙免提呼叫状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE | usual.event.bluetooth.host.STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙适配器状态已更改的公共事件的操作,例如蓝牙已打开或关闭。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE | usual.event.bluetooth.host.REQ_DISCOVERABLE | 无 | 表示用户允许扫描蓝牙请求的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE | usual.event.bluetooth.host.REQ_ENABLE | ohos.permission.USE_BLUETOOTH | 表示用户打开蓝牙请求的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE | usual.event.bluetooth.host.REQ_DISABLE | ohos.permission.USE_BLUETOOTH | 表示用户关闭蓝牙请求的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE | usual.event.bluetooth.host.SCAN_MODE_UPDATE | ohos.permission.USE_BLUETOOTH | 设备蓝牙扫描模式更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED | usual.event.bluetooth.host.DISCOVERY_STARTED | ohos.permission.USE_BLUETOOTH | 设备上已启动蓝牙扫描的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED | usual.event.bluetooth.host.DISCOVERY_FINISHED | ohos.permission.USE_BLUETOOTH | 设备上蓝牙扫描完成的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE | usual.event.bluetooth.host.NAME_UPDATE | ohos.permission.USE_BLUETOOTH | 指示设备蓝牙适配器名称已更改的公共事件的操作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE | usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP宿连接状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE | usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 蓝牙A2DP宿播放状态改变的普通事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE | usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE | ohos.permission.USE_BLUETOOTH | 表示蓝牙A2DP宿的音频状态已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED | usual.event.nfc.action.ADAPTER_STATE_CHANGED | 无 | 指示设备NFC适配器状态已更改的公共事件的操作。 | +| COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED | usual.event.nfc.action.RF_FIELD_ON_DETECTED | ohos.permission.MANAGE_SECURE_SETTINGS | 检测到NFC RF字段处于使能状态的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED | usual.event.nfc.action.RF_FIELD_OFF_DETECTED | ohos.permission.MANAGE_SECURE_SETTINGS | 检测到NFC RF字段处于关闭状态的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_DISCHARGING | usual.event.DISCHARGING | 无 | 表示系统停止为电池充电的公共事件的动作。 | | COMMON_EVENT_CHARGING | usual.event.CHARGING | 无 | 表示系统开始为电池充电的公共事件的动作。 | -| COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED | usual.event.DEVICE_IDLE_MODE_CHANGED | 无 | 表示系统空闲模式已更改的公共事件的动作。 | +| COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED | usual.event.DEVICE_IDLE_MODE_CHANGED | 无 | 表示系统空闲模式已更改的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_POWER_SAVE_MODE_CHANGED | usual.event.POWER_SAVE_MODE_CHANGED | 无 | 表示系统节能模式更改的公共事件的动作。 | | COMMON_EVENT_USER_ADDED | usual.event.USER_ADDED | ohos.permission.MANAGE_LOCAL_ACCOUNTS | 表示用户已添加到系统中的公共事件的动作。 | | COMMON_EVENT_USER_REMOVED | usual.event.USER_REMOVED | ohos.permission.MANAGE_LOCAL_ACCOUNTS | 表示用户已从系统中删除的公共事件的动作。 | -| COMMON_EVENT_ABILITY_ADDED | usual.event.ABILITY_ADDED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示已添加能力的公共事件的动作。 | -| COMMON_EVENT_ABILITY_REMOVED | usual.event.ABILITY_REMOVED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示已删除能力的公共事件的动作。 | -| COMMON_EVENT_ABILITY_UPDATED | usual.event.ABILITY_UPDATED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示能力已更新的公共事件的动作。 | -| COMMON_EVENT_LOCATION_MODE_STATE_CHANGED | usual.event.location.MODE_STATE_CHANGED | 无 | 表示系统定位模式已更改的公共事件的动作。 | -| COMMON_EVENT_IVI_SLEEP | common.event.IVI_SLEEP | 无 | 表示表示车辆的车载信息娱乐(IVI)系统正在休眠的常见事件的动作。 | -| COMMON_EVENT_IVI_PAUSE | common.event.IVI_PAUSE | 无 | 表示IVI已休眠,并通知应用程序停止播放。 | -| COMMON_EVENT_IVI_STANDBY | common.event.IVI_STANDBY | 无 | 表示第三方应用暂停当前工作的公共事件的动作。 | -| COMMON_EVENT_IVI_LASTMODE_SAVE | common.event.IVI_LASTMODE_SAVE | 无 | 表示第三方应用保存其最后一个模式的公共事件的动作。 | -| COMMON_EVENT_IVI_VOLTAGE_ABNORMAL | common.event.IVI_VOLTAGE_ABNORMAL | 无 | 表示车辆电源系统电压异常的公共事件的动作。 | -| COMMON_EVENT_IVI_HIGH_TEMPERATURE | common.event.IVI_HIGH_TEMPERATURE | 无 | 表示IVI温度过高。 | -| COMMON_EVENT_IVI_EXTREME_TEMPERATURE | common.event.IVI_EXTREME_TEMPERATURE | 无 | 表示IVI温度极高。 | -| COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL | common.event.IVI_TEMPERATURE_ABNORMAL | 无 | 表示车载系统具有极端温度的常见事件的动作。 | -| COMMON_EVENT_IVI_VOLTAGE_RECOVERY | common.event.IVI_VOLTAGE_RECOVERY | 无 | 表示车辆电源系统电压恢复正常的公共事件的动作。 | -| COMMON_EVENT_IVI_TEMPERATURE_RECOVERY | common.event.IVI_TEMPERATURE_RECOVERY | 无 | 表示车载系统温度恢复正常的公共事件的动作。 | -| COMMON_EVENT_IVI_ACTIVE | common.event.IVI_ACTIVE | 无 | 表示电池服务处于活动状态的公共事件的动作。 | +| COMMON_EVENT_ABILITY_ADDED | usual.event.ABILITY_ADDED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示已添加能力的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_ABILITY_REMOVED | usual.event.ABILITY_REMOVED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示已删除能力的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_ABILITY_UPDATED | usual.event.ABILITY_UPDATED | ohos.permission.LISTEN_BUNDLE_CHANGE | 表示能力已更新的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_LOCATION_MODE_STATE_CHANGED | usual.event.location.MODE_STATE_CHANGED | 无 | 表示系统定位模式已更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_SLEEP | common.event.IVI_SLEEP | 无 | 表示表示车辆的车载信息娱乐(IVI)系统正在休眠的常见事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_PAUSE | common.event.IVI_PAUSE | 无 | 表示IVI已休眠,并通知应用程序停止播放。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_STANDBY | common.event.IVI_STANDBY | 无 | 表示第三方应用暂停当前工作的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_LASTMODE_SAVE | common.event.IVI_LASTMODE_SAVE | 无 | 表示第三方应用保存其最后一个模式的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_VOLTAGE_ABNORMAL | common.event.IVI_VOLTAGE_ABNORMAL | 无 | 表示车辆电源系统电压异常的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_HIGH_TEMPERATURE | common.event.IVI_HIGH_TEMPERATURE | 无 | 表示IVI温度过高。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_EXTREME_TEMPERATURE | common.event.IVI_EXTREME_TEMPERATURE | 无 | 表示IVI温度极高。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL | common.event.IVI_TEMPERATURE_ABNORMAL | 无 | 表示车载系统具有极端温度的常见事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_VOLTAGE_RECOVERY | common.event.IVI_VOLTAGE_RECOVERY | 无 | 表示车辆电源系统电压恢复正常的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_TEMPERATURE_RECOVERY | common.event.IVI_TEMPERATURE_RECOVERY | 无 | 表示车载系统温度恢复正常的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_IVI_ACTIVE | common.event.IVI_ACTIVE | 无 | 表示电池服务处于活动状态的公共事件的动作。预留事件,暂未支持。 | |COMMON_EVENT_USB_STATE9+ | usual.event.hardware.usb.action.USB_STATE | 无 | 表示USB设备状态发生变化的公共事件。 | |COMMON_EVENT_USB_PORT_CHANGED9+ | usual.event.hardware.usb.action.USB_PORT_CHANGED | 无 | 表示用户设备的USB端口状态发生改变的公共事件。 | | COMMON_EVENT_USB_DEVICE_ATTACHED | usual.event.hardware.usb.action.USB_DEVICE_ATTACHED | 无 | 当用户设备作为USB主机时,USB设备已挂载的公共事件的动作。 | | COMMON_EVENT_USB_DEVICE_DETACHED | usual.event.hardware.usb.action.USB_DEVICE_DETACHED | 无 | 当用户设备作为USB主机时,USB设备被卸载的公共事件的动作。 | -| COMMON_EVENT_USB_ACCESSORY_ATTACHED | usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED | 无 | 表示已连接USB附件的公共事件的动作。 | -| COMMON_EVENT_USB_ACCESSORY_DETACHED | usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED | 无 | 表示USB附件被卸载的公共事件的动作。 | -| COMMON_EVENT_DISK_REMOVED | usual.event.data.DISK_REMOVED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为移除时发送此公共事件。 | -| COMMON_EVENT_DISK_UNMOUNTED | usual.event.data.DISK_UNMOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为卸载时发送此公共事件。 | -| COMMON_EVENT_DISK_MOUNTED | usual.event.data.DISK_MOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载时发送此公共事件。 | -| COMMON_EVENT_DISK_BAD_REMOVAL | usual.event.data.DISK_BAD_REMOVAL | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载状态下移除时发送此公共事件。 | -| COMMON_EVENT_DISK_UNMOUNTABLE | usual.event.data.DISK_UNMOUNTABLE | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为插卡情况下无法挂载时发送此公共事件。 | -| COMMON_EVENT_DISK_EJECT | usual.event.data.DISK_EJECT | ohos.permission.STORAGE_MANAGER | 用户已表示希望删除外部存储介质时发送此公共事件。 | +| COMMON_EVENT_USB_ACCESSORY_ATTACHED | usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED | 无 | 表示已连接USB附件的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_USB_ACCESSORY_DETACHED | usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED | 无 | 表示USB附件被卸载的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_REMOVED | usual.event.data.DISK_REMOVED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为移除时发送此公共事件。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_UNMOUNTED | usual.event.data.DISK_UNMOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为卸载时发送此公共事件。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_MOUNTED | usual.event.data.DISK_MOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载时发送此公共事件。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_BAD_REMOVAL | usual.event.data.DISK_BAD_REMOVAL | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载状态下移除时发送此公共事件。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_UNMOUNTABLE | usual.event.data.DISK_UNMOUNTABLE | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为插卡情况下无法挂载时发送此公共事件。预留事件,暂未支持。 | +| COMMON_EVENT_DISK_EJECT | usual.event.data.DISK_EJECT | ohos.permission.STORAGE_MANAGER | 用户已表示希望删除外部存储介质时发送此公共事件。预留事件,暂未支持。 | | COMMON_EVENT_VOLUME_REMOVED9+ | usual.event.data.VOLUME_REMOVED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为移除时发送此公共事件。 | | COMMON_EVENT_VOLUME_UNMOUNTED9+ | usual.event.data.VOLUME_UNMOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为卸载时发送此公共事件。 | | COMMON_EVENT_VOLUME_MOUNTED9+ | usual.event.data.VOLUME_MOUNTED | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载时发送此公共事件。 | | COMMON_EVENT_VOLUME_BAD_REMOVAL9+ | usual.event.data.VOLUME_BAD_REMOVAL | ohos.permission.STORAGE_MANAGER | 外部存储设备状态变更为挂载状态下移除时发送此公共事件。 | | COMMON_EVENT_VOLUME_EJECT9+ | usual.event.data.VOLUME_EJECT | ohos.permission.STORAGE_MANAGER | 用户已表示希望删除外部存储介质时发送此公共事件。 | -| COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED | usual.event.data.VISIBLE_ACCOUNTS_UPDATED | ohos.permission.GET_APP_ACCOUNTS | 表示帐户可见更改的公共事件的动作。 | -| COMMON_EVENT_ACCOUNT_DELETED | usual.event.data.ACCOUNT_DELETED | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 删除帐户的公共事件的动作。 | -| COMMON_EVENT_FOUNDATION_READY | usual.event.data.FOUNDATION_READY | ohos.permission.RECEIVER_STARTUP_COMPLETED | 表示foundation已准备好的公共事件的动作。 | +| COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED | usual.event.data.VISIBLE_ACCOUNTS_UPDATED | ohos.permission.GET_APP_ACCOUNTS | 表示帐户可见更改的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_ACCOUNT_DELETED | usual.event.data.ACCOUNT_DELETED | ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS | 删除帐户的公共事件的动作。预留事件,暂未支持。 | +| COMMON_EVENT_FOUNDATION_READY | usual.event.data.FOUNDATION_READY | ohos.permission.RECEIVER_STARTUP_COMPLETED | 表示foundation已准备好的公共事件的动作。预留事件,暂未支持。 | | COMMON_EVENT_AIRPLANE_MODE_CHANGED | usual.event.AIRPLANE_MODE | 无 | 表示设备飞行模式已更改的公共事件的动作。 | | COMMON_EVENT_SPLIT_SCREEN | usual.event.SPLIT_SCREEN | ohos.permission.RECEIVER_SPLIT_SCREEN | 表示分屏的公共事件的动作。 | | COMMON_EVENT_SLOT_CHANGE9+ | usual.event.SLOT_CHANGE | ohos.permission.NOTIFICATION_CONTROLLER | 表示通知通道更新的动作。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-contact.md b/zh-cn/application-dev/reference/apis/js-apis-contact.md index e361f2cfc2e84ace608a91f82a2377155d6ac311..2c6cb8f66a8dd544d343bdee6de8639f6c2db45d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-contact.md +++ b/zh-cn/application-dev/reference/apis/js-apis-contact.md @@ -1695,11 +1695,11 @@ email.email = "xxx@email.com"; **系统能力**:以下各项对应的系统能力均为SystemCapability.Applications.ContactsData。 -| 名称 | 类型 | 可读 | 可写 | 说明 | -| ----------- | -------- | ---- | ---- | ---------- | -| bundleName | string | 是 | 否 | 包名。 | -| displayName | string | 是 | 否 | 应用名称。 | -| holderId | number | 是 | 是 | 应用id。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ----------- | ------ | ---- | ---- | ------------ | +| bundleName | string | 是 | 否 | Bundle名称。 | +| displayName | string | 是 | 否 | 应用名称。 | +| holderId | number | 是 | 是 | 应用ID。 | **对象创建示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-continuation-continuationExtraParams.md b/zh-cn/application-dev/reference/apis/js-apis-continuation-continuationExtraParams.md index 14b615cf20e96836c14086d9c79d5565cd1fc8e4..a715bc5e45535e140973fd4f899122e974ea9543 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-continuation-continuationExtraParams.md +++ b/zh-cn/application-dev/reference/apis/js-apis-continuation-continuationExtraParams.md @@ -15,7 +15,7 @@ | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | | deviceType | Array\ | 是 | 是 | 表示设备类型。| -| targetBundle | string | 是 | 是 | 表示目标包名。 | +| targetBundle | string | 是 | 是 | 表示目标Bundle名称。 | | description | string | 是 | 是 | 表示设备过滤的描述。 | | filter | any | 是 | 是 | 表示设备过滤的参数。 | | continuationMode | [ContinuationMode](js-apis-continuation-continuationManager.md#continuationmode) | 是 | 是 | 表示协同的模式。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-deque.md b/zh-cn/application-dev/reference/apis/js-apis-deque.md index a5e689de493073e4f2c304ab03d060dd06c4183c..fb883ce8b75fbb500a79643429a808df723783ba 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-deque.md +++ b/zh-cn/application-dev/reference/apis/js-apis-deque.md @@ -171,7 +171,7 @@ popFirst(): T | 类型 | 说明 | | -------- | -------- | -| T | 返回被删除的元素。 | +| T | 返回被删除的首元素。 | **错误码:** @@ -205,7 +205,7 @@ popLast(): T | 类型 | 说明 | | -------- | -------- | -| T | 返回被删除的元素。 | +| T | 返回被删除的尾元素。 | **错误码:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-device-manager.md b/zh-cn/application-dev/reference/apis/js-apis-device-manager.md index c668a792b21145a26d8ccbbb5dae80a1f82636f3..ba3b1bd98d4d0a430a5e427ff49a29df9ccd6038 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-device-manager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-device-manager.md @@ -34,10 +34,10 @@ createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | ---------- | ---------------------------------------- | ---- | ------------------------------------ | - | bundleName | string | 是 | 指示应用程序的包名。 | - | callback | AsyncCallback<[DeviceManager](#devicemanager)> | 是 | DeviceManager实例创建时调用的回调,返回设备管理器对象实例。 | +| 参数名 | 类型 | 必填 | 说明 | +| ---------- | ---------------------------------------------------- | ---- | ----------------------------------------------------------- | +| bundleName | string | 是 | 指示应用程序的Bundle名称。 | +| callback | AsyncCallback<[DeviceManager](#devicemanager)> | 是 | DeviceManager实例创建时调用的回调,返回设备管理器对象实例。 | **错误码:** @@ -638,7 +638,7 @@ publishDeviceDiscovery(publishInfo: PublishInfo): void console.error("publishDeviceDiscovery errCode:" + err.code + ",errMessage:" + err.message); } ``` - + ### unPublishDeviceDiscovery9+ unPublishDeviceDiscovery(publishId: number): void diff --git a/zh-cn/application-dev/reference/apis/js-apis-distributed-data.md b/zh-cn/application-dev/reference/apis/js-apis-distributed-data.md index 0d9e28f090c17ff153c65bad60cc278b2f417f89..385a0aa56f3ffbe2e53b49445f1ef59bad60fac9 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-distributed-data.md +++ b/zh-cn/application-dev/reference/apis/js-apis-distributed-data.md @@ -37,7 +37,7 @@ createKVManager(config: KVManagerConfig, callback: AsyncCallback<KVManager> | 参数名 | 类型 | 必填 | 说明 | | ----- | ------ | ------ | ------ | -| config | [KVManagerConfig](#kvmanagerconfig) | 是 | 提供KVManager实例的配置信息,包括调用方的包名和用户信息。 | +| config | [KVManagerConfig](#kvmanagerconfig) | 是 | 提供KVManager实例的配置信息,包括调用方的Bundle名称和用户信息。 | | callback | AsyncCallback<[KVManager](#kvmanager)> | 是 | 回调函数。返回创建的KVManager对象实例。 | **示例:** @@ -112,14 +112,14 @@ try { ## KVManagerConfig -提供KVManager实例的配置信息,包括调用方的包名和用户信息。 +提供KVManager实例的配置信息,包括调用方的Bundle名称和用户信息。 **系统能力:** SystemCapability.DistributedDataManager.KVStore.Core | 名称 | 类型 | 必填 | 说明 | | ----- | ------ | ------ | ------ | | userInfo | [UserInfo](#userinfo) | 是 | 调用方的用户信息。 | -| bundleName | string | 是 | 调用方的包名。 | +| bundleName | string | 是 | 调用方的Bundle名称。 | ## UserInfo diff --git a/zh-cn/application-dev/reference/apis/js-apis-distributedBundle.md b/zh-cn/application-dev/reference/apis/js-apis-distributedBundle.md index 09e6acc1c4a9729c611e64da9ef612ee0629c579..e1c43fc5263f5024da1f63d8d9f5e6b4e28a51ef 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-distributedBundle.md +++ b/zh-cn/application-dev/reference/apis/js-apis-distributedBundle.md @@ -1,6 +1,6 @@ # @ohos.bundle.distributedBundle (distributedBundle模块) -本模块提供分布式包的管理能力 +本模块提供分布式应用的管理能力 > **说明:** > @@ -22,7 +22,7 @@ SystemCapability.BundleManager.DistributedBundleFramework | 权限 | 权限等级 | 说明 | | ------------------------------------------ | ------------ | ------------------ | -| ohos.permission.GET_BUNDLE_INFO_PRIVILEGED | system_basic | 可查询所有应用信息。 | +| ohos.permission.GET_BUNDLE_INFO_PRIVILEGED | system_basic | 可查询系统中所有应用信息。 | 权限等级参考[权限等级说明](../../security/accesstoken-overview.md#权限等级说明)。 @@ -30,7 +30,7 @@ SystemCapability.BundleManager.DistributedBundleFramework getRemoteAbilityInfo(elementName: ElementName, callback: AsyncCallback\): void; -以异步方法根据给定的ElementName获取有关远程设备AbilityInfo信息。使用callback异步回调。 +以异步方法获取由elementName指定的远程设备上的应用的AbilityInfo信息。使用callback异步回调。 **系统接口:** 此接口为系统接口。 @@ -43,7 +43,7 @@ getRemoteAbilityInfo(elementName: ElementName, callback: AsyncCallback\ | 是 | 回调函数,操作成功返回err为null,data为RemoteAbilityInfo对象;否则为错误对象。 | +| callback | AsyncCallback<[RemoteAbilityInfo](js-apis-bundleManager-remoteAbilityInfo.md)> | 是 | 回调函数,调用成功返回err为null,data为RemoteAbilityInfo对象;调用失败err为错误对象, data为undefined。 | **错误码:** @@ -67,13 +67,13 @@ try { abilityName: 'MainAbility' }, (err, data) => { if (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } else { console.info('Operation succeed:' + JSON.stringify(data)); } }); } catch (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } ``` @@ -81,7 +81,7 @@ try { getRemoteAbilityInfo(elementName: ElementName): Promise\; -以异步方法根据给定的ElementName获取有关远程设备AbilityInfo信息。使用Promise异步回调。 +以异步方法获取由elementName指定的远程设备上的应用的AbilityInfo信息。使用Promise异步回调。 **系统接口:** 此接口为系统接口。 @@ -99,7 +99,7 @@ getRemoteAbilityInfo(elementName: ElementName): Promise\; | 类型 | 说明 | | ------------------------------------------------------------ | --------------------------------- | -| Promise\<[RemoteAbilityInfo](js-apis-bundleManager-remoteAbilityInfo.md)> | Promise对象,返回RemoteAbilityInfo对象。 | +| Promise\<[RemoteAbilityInfo](js-apis-bundleManager-remoteAbilityInfo.md)> | Promise对象,调用成功返回RemoteAbilityInfo对象;调用失败返回错误对象。 | **错误码:** @@ -124,10 +124,10 @@ try { }).then(data => { console.info('Operation succeed:' + JSON.stringify(data)); }).catch(err => { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); }); } catch (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } ``` @@ -135,7 +135,7 @@ try { getRemoteAbilityInfo(elementNames: Array\, callback: AsyncCallback\>): void; -以异步方法根据给定的ElementName获取有关远程设备AbilityInfo数组信息。使用callback异步回调。 +以异步方法获取由elementName指定的远程设备上的应用的AbilityInfo数组信息。使用callback异步回调。 **系统接口:** 此接口为系统接口。 @@ -148,7 +148,7 @@ getRemoteAbilityInfo(elementNames: Array\, callback: AsyncCallback\ | 参数名 | 类型 | 必填 | 说明 | | ------------ | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | | elementNames | Array<[ElementName](js-apis-bundleManager-elementName.md)> | 是 | ElementName信息,最大数组长度为10。 | -| callback | AsyncCallback\> | 是 | 回调函数,调用成功返回err为null,data为RemoteAbilityInfo数组对象;否则返回错误对象。 | +| callback | AsyncCallback\> | 是 | 回调函数,调用成功返回err为null,data为RemoteAbilityInfo数组对象;调用失败err为错误对象, data为undefined。 | **错误码:** @@ -179,13 +179,13 @@ try { } ], (err, data) => { if (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } else { console.info('Operation succeed:' + JSON.stringify(data)); } }); } catch (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } ``` @@ -193,7 +193,7 @@ try { getRemoteAbilityInfo(elementNames: Array\): Promise\>; -以异步方法根据给定的ElementName和locale获取有关远程设备AbilityInfo数组信息。使用Promise异步回调。 +以异步方法获取由elementName指定的远程设备上的应用的AbilityInfo数组信息。使用Promise异步回调。 **系统接口:** 此接口为系统接口。 @@ -211,7 +211,7 @@ getRemoteAbilityInfo(elementNames: Array\): Promise\> | Promise对象,返回RemoteAbilityInfo数组对象。 | +| Promise\> | Promise对象,调用成功返回RemoteAbilityInfo对象;调用失败返回错误对象。 | **错误码:** @@ -243,10 +243,10 @@ try { ]).then(data => { console.info('Operation succeed:' + JSON.stringify(data)); }).catch(err => { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); }); } catch (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } ``` @@ -254,7 +254,7 @@ try { getRemoteAbilityInfo(elementName: ElementName, locale: string, callback: AsyncCallback\): void; -以异步方法根据给定的ElementName和locale获取有关远程设备AbilityInfo信息。使用callback异步回调。 +以异步方法获取由elementName和locale指定的远程设备上的应用的AbilityInfo信息。使用callback异步回调。 **系统接口:** 此接口为系统接口。 @@ -268,7 +268,7 @@ getRemoteAbilityInfo(elementName: ElementName, locale: string, callback: AsyncCa | ----------- | ------------------------------------------------------------ | ---- | -------------------------------------------------- | | elementName | [ElementName](js-apis-bundleManager-elementName.md) | 是 | ElementName信息。 | | locale | string |是 | 语言地区。 | -| callback | AsyncCallback<[RemoteAbilityInfo](js-apis-bundleManager-remoteAbilityInfo.md)> | 是 | 回调函数,操作成功返回err为null,data为RemoteAbilityInfo对象;否则为错误对象。 | +| callback | AsyncCallback<[RemoteAbilityInfo](js-apis-bundleManager-remoteAbilityInfo.md)> | 是 | 回调函数,调用成功返回err为null,data为RemoteAbilityInfo对象;调用失败err为错误对象, data为undefined。 | **错误码:** @@ -292,13 +292,13 @@ try { abilityName: 'MainAbility' }, 'zh-Hans-CN', (err, data) => { if (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } else { console.info('Operation succeed:' + JSON.stringify(data)); } }); } catch (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } ``` @@ -306,7 +306,7 @@ try { getRemoteAbilityInfo(elementName: ElementName, locale: string): Promise\; -以异步方法根据给定的ElementName和locale获取有关远程设备AbilityInfo信息。使用Promise异步回调。 +以异步方法获取由elementName和locale指定的远程设备上的应用的AbilityInfo信息。使用Promise异步回调。 **系统接口:** 此接口为系统接口。 @@ -325,7 +325,7 @@ getRemoteAbilityInfo(elementName: ElementName, locale: string): Promise\ | Promise对象,返回RemoteAbilityInfo对象。 | +| Promise\<[RemoteAbilityInfo](js-apis-bundleManager-remoteAbilityInfo.md)> | Promise对象,调用成功返回RemoteAbilityInfo对象;调用失败返回错误对象。 | **错误码:** @@ -350,10 +350,10 @@ try { }, 'zh-Hans-CN').then(data => { console.info('Operation succeed:' + JSON.stringify(data)); }).catch(err => { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); }); } catch (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } ``` @@ -361,7 +361,7 @@ try { getRemoteAbilityInfo(elementNames: Array\, locale: string, callback: AsyncCallback\>): void; -以异步方法根据给定的ElementName和locale获取有关远程设备AbilityInfo数组信息。使用callback异步回调。 +以异步方法获取由elementName和locale指定的远程设备上的应用的AbilityInfo数组信息。使用callback异步回调。 **系统接口:** 此接口为系统接口。 @@ -375,7 +375,7 @@ getRemoteAbilityInfo(elementNames: Array\, locale: string, callback | ------------ | ------------------------------------------------------------ | ---- | -------------------------------------------------- | | elementNames | Array<[ElementName](js-apis-bundleManager-elementName.md)> | 是 | ElementName信息,最大数组长度为10。 | | locale | string |是 | 语言地区。 | -| callback | AsyncCallback\> | 是 | 回调函数,调用成功返回err为null,data为RemoteAbilityInfo数组对象;否则返回错误对象。 | +| callback | AsyncCallback\> | 是 | 回调函数,调用成功返回err为null,data为RemoteAbilityInfo数组对象;调用失败err为错误对象, data为undefined。 | **错误码:** @@ -406,13 +406,13 @@ try { } ], 'zh-Hans-CN', (err, data) => { if (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } else { console.info('Operation succeed:' + JSON.stringify(data)); } }); } catch (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } ``` @@ -420,7 +420,7 @@ try { getRemoteAbilityInfo(elementNames: Array\, locale: string): Promise\>; -以异步方法根据给定的ElementName和locale获取有关远程设备AbilityInfo数组信息。使用Promise异步回调。 +以异步方法获取由elementName和locale指定的远程设备上的应用的AbilityInfo数组信息。使用Promise异步回调。 **系统接口:** 此接口为系统接口。 @@ -439,7 +439,7 @@ getRemoteAbilityInfo(elementNames: Array\, locale: string): Promise | 类型 | 说明 | | ------------------------------------------------------------ | --------------------------------- | -| Promise\> | Promise对象,返回RemoteAbilityInfo数组对象。 | +| Promise\> | Promise对象,调用成功返回RemoteAbilityInfo对象;调用失败返回错误对象。 | **错误码:** @@ -471,9 +471,9 @@ try { ], 'zh-Hans-CN').then(data => { console.info('Operation succeed:' + JSON.stringify(data)); }).catch(err => { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); }); } catch (err) { - console.error('Operation failed:' + JSON.stringify(err)); + console.error('Operation failed: error code is ' + err.code + 'and error message is ' + err.message); } ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-freeInstall.md b/zh-cn/application-dev/reference/apis/js-apis-freeInstall.md index 43950b82feebedc9fde5ee77085828ad6bcfd94b..38bb665fbaa007edeabfae89ba27d81173cda37b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-freeInstall.md +++ b/zh-cn/application-dev/reference/apis/js-apis-freeInstall.md @@ -63,7 +63,7 @@ setHapModuleUpgradeFlag(bundleName: string, moduleName: string, upgradeFlag: Upg | 参数名 | 类型 | 必填 | 说明 | | ----------- | --------------------------- | ---- | ---------------------------- | -| bundleName | string | 是 | 应用程序包名称。 | +| bundleName | string | 是 | 应用Bundle名称。 | | moduleName | string | 是 | 应用程序模块名称。 | | upgradeFlag | [UpgradeFlag](#upgradeflag) | 是 | 仅供内部系统使用标志位 | | callback | AsyncCallback\ | 是 | 回调函数。当函数调用成功,err为null,否则为错误对象。 | @@ -113,7 +113,7 @@ setHapModuleUpgradeFlag(bundleName: string, moduleName: string, upgradeFlag: Upg | 参数名 | 类型 | 必填 | 说明 | | ----------- | --------------------------- | ---- | ---------------------- | -| bundleName | string | 是 | 应用程序包名称。 | +| bundleName | string | 是 | 应用Bundle名称。 | | moduleName | string | 是 | 应用程序模块名称。 | | upgradeFlag | [UpgradeFlag](#upgradeflag) | 是 | 仅供内部系统使用标志位。| @@ -166,7 +166,7 @@ isHapModuleRemovable(bundleName: string, moduleName: string, callback: AsyncCall | 参数名 | 类型 | 必填 | 说明 | | ---------- | ---------------------- | ---- | --------------------------------------------- | -| bundleName | string | 是 | 应用程序包名称。 | +| bundleName | string | 是 | 应用Bundle名称。 | | moduleName | string | 是 | 应用程序模块名称。 | | callback | AsyncCallback\ | 是 | 回调函数。返回true表示可以移除;返回false表示不可移除。 | @@ -214,7 +214,7 @@ isHapModuleRemovable(bundleName: string, moduleName: string): Promise\; | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------ | ---- | ------------------ | -| bundleName | string | 是 | 应用程序包名称。 | +| bundleName | string | 是 | 应用Bundle名称。 | | moduleName | string | 是 | 应用程序模块名称。 | **返回值:** @@ -265,8 +265,8 @@ getBundlePackInfo(bundleName: string, bundlePackFlag : BundlePackFlag, callback: | 参数名 | 类型 | 必填 | 说明 | | -------------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | -| bundleName | string | 是 | 应用程序包名称。 | -| bundlePackFlag | [BundlePackFlag](#bundlepackflag) | 是 | 指示要查询的应用包标志。 | +| bundleName | string | 是 | 应用Bundle名称。 | +| bundlePackFlag | [BundlePackFlag](#bundlepackflag) | 是 | 指示要查询的应用包标志。 | | callback | AsyncCallback<[BundlePackInfo](js-apis-bundleManager-packInfo.md)> | 是 | 回调函数。当函数调用成功,err为null,data为获取到的BundlePackInfo信息。否则为错误对象。 | **错误码:** @@ -311,7 +311,7 @@ getBundlePackInfo(bundleName: string, bundlePackFlag : BundlePackFlag): Promise\ | 参数名 | 类型 | 必填 | 说明 | | -------------- | --------------------------------- | ---- | ---------------------- | -| bundleName | string | 是 | 应用程序包名称。 | +| bundleName | string | 是 | 应用程序Bundle名称。 | | bundlePackFlag | [BundlePackFlag](#bundlepackflag) | 是 | 指示要查询的应用包标志。| **返回值:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-ability-want.md b/zh-cn/application-dev/reference/apis/js-apis-inner-ability-want.md index be9ed68779a7f88e1d9bcb7111e06587c034d791..b0bea630d59c478157e97fc0f93aa59de9f01727 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-ability-want.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-ability-want.md @@ -1,6 +1,6 @@ # Want -Want是对象间信息传递的载体, 可以用于应用组件间的信息传递。 Want的使用场景之一是作为[startAbility](js-apis-inner-application-uiAbilityContext.md#uiabilitycontextstartability)的参数, 其包含了指定的启动目标, 以及启动时需携带的相关数据, 如bundleName和abilityName字段分别指明目标Ability所在应用的包名以及对应包内的Ability名称。当Ability A需要启动Ability B并传入一些数据时, 可使用Want作为载体将这些数据传递给Ability B。 +Want是对象间信息传递的载体, 可以用于应用组件间的信息传递。 Want的使用场景之一是作为[startAbility](js-apis-inner-application-uiAbilityContext.md#uiabilitycontextstartability)的参数, 其包含了指定的启动目标, 以及启动时需携带的相关数据, 如bundleName和abilityName字段分别指明目标Ability所在应用的Bundle名称以及对应包内的Ability名称。当Ability A需要启动Ability B并传入一些数据时, 可使用Want作为载体将这些数据传递给Ability B。 > **说明:** > @@ -11,7 +11,7 @@ Want是对象间信息传递的载体, 可以用于应用组件间的信息传 | 名称 | 类型 | 必填 | 说明 | | ----------- | -------------------- | ---- | ------------------------------------------------------------ | | deviceId | string | 否 | 表示运行指定Ability的设备ID。 | -| bundleName | string | 否 | 表示包名。如果在Want中同时指定了BundleName和AbilityName,则Want可以直接匹配到指定的Ability。 | +| bundleName | string | 否 | 表示Bundle名称。如果在Want中同时指定了BundleName和AbilityName,则Want可以直接匹配到指定的Ability。 | | abilityName | string | 否 | 表示待启动的Ability名称。如果在Want中该字段同时指定了BundleName和AbilityName,则Want可以直接匹配到指定的Ability。AbilityName需要在一个应用的范围内保证唯一。 | | uri | string | 否 | 表示Uri。如果在Want中指定了Uri,则Want将匹配指定的Uri信息,包括scheme, schemeSpecificPart, authority和path信息。 | | type | string | 否 | 表示MIME type类型,打开文件的类型,主要用于文管打开文件。比如:"text/xml" 、 "image/*"等,MIME定义参考:https://www.iana.org/assignments/media-types/media-types.xhtml?utm_source=ld246.com。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-app-context.md b/zh-cn/application-dev/reference/apis/js-apis-inner-app-context.md index 19320b673dbebec366d4c01c3b42d358ed81fe93..e1e07a3027a7cdbb047656c63ac467380b8a35ac 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-app-context.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-app-context.md @@ -5,7 +5,7 @@ Context模块提供了ability或application的上下文的能力,包括允许 > **说明:** > > 本模块首批接口从API version 6开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 -> 本模块接口仅可在FA模型下使用。 +> 本模块接口**仅可在FA模型**下使用。 ## 使用说明 @@ -93,7 +93,7 @@ verifyPermission(permission: string, options: PermissionOptions, callback: Async ```ts import featureAbility from '@ohos.ability.featureAbility'; -import bundle from '@ohos.bundle'; +import bundle from '@ohos.bundle.bundleManager'; var context = featureAbility.getContext(); bundle.getBundleInfo('com.context.test', 1, (err, datainfo) =>{ context.verifyPermission("com.example.permission", {uid:datainfo.uid}, (err, data) =>{ @@ -101,6 +101,7 @@ bundle.getBundleInfo('com.context.test', 1, (err, datainfo) =>{ }); }); ``` +示例代码中出现的getBundleInfo相关描述可参考对应[文档](js-apis-bundleManager.md)。 @@ -250,7 +251,7 @@ getApplicationInfo(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------------- | ---- | ------------ | -| callback | AsyncCallback\<[ApplicationInfo](js-apis-bundle-ApplicationInfo.md)> | 是 | 返回当前应用程序的信息。 | +| callback | AsyncCallback\<[ApplicationInfo](js-apis-bundleManager-applicationInfo.md)> | 是 | 返回当前应用程序的信息。 | **示例:** @@ -294,7 +295,7 @@ context.getApplicationInfo().then((data) => { getBundleName(callback: AsyncCallback\): void -获取当前ability的捆绑包名称(callback形式)。 +获取当前ability的Bundle名称(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -302,7 +303,7 @@ getBundleName(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ---------------------- | ---- | ------------------ | -| callback | AsyncCallback\ | 是 | 返回当前ability的捆绑包名称。 | +| callback | AsyncCallback\ | 是 | 返回当前ability的Bundle名称。 | **示例:** @@ -320,7 +321,7 @@ context.getBundleName((err, data) => { getBundleName(): Promise\ -获取当前ability的捆绑包名称(Promise形式)。 +获取当前ability的Bundle名称(Promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -328,7 +329,7 @@ getBundleName(): Promise\ | 类型 | 说明 | | ---------------- | ---------------- | -| Promise\ | 当前ability的捆绑包名称。 | +| Promise\ | 当前ability的Bundle名称。 | **示例:** @@ -344,7 +345,7 @@ context.getBundleName().then((data) => { getDisplayOrientation(callback: AsyncCallback\): void -获取此能力的当前显示方向(callback形式)。 +获取当前ability的显示方向(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -352,7 +353,7 @@ getDisplayOrientation(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------------------------------------------ | ---- | ------------------ | -| callback | AsyncCallback\<[bundle.DisplayOrientation](js-apis-Bundle.md#displayorientation)> | 是 | 表示屏幕显示方向。 | +| callback | AsyncCallback\<[bundle.DisplayOrientation](js-apis-bundleManager.md#displayorientation)> | 是 | 表示屏幕显示方向。 | **示例:** @@ -376,7 +377,7 @@ getDisplayOrientation(): Promise\; | 类型 | 说明 | | ---------------------------------------- | --------- | -| Promise\<[bundle.DisplayOrientation](js-apis-Bundle.md#displayorientation)> | 表示屏幕显示方向。 | +| Promise\<[bundle.DisplayOrientation](js-apis-bundleManager.md#displayorientation)> | 表示屏幕显示方向。 | **示例:** @@ -448,7 +449,7 @@ setDisplayOrientation(orientation: bundle.DisplayOrientation, callback: AsyncCal | 参数名 | 类型 | 必填 | 说明 | | ----------- | ---------------------------------------- | ---- | ------------ | -| orientation | [bundle.DisplayOrientation](js-apis-Bundle.md#displayorientation) | 是 | 指示当前能力的新方向。。 | +| orientation | [bundle.DisplayOrientation](js-apis-bundleManager.md#displayorientation) | 是 | 指示当前能力的新方向。 | | callback | AsyncCallback\ | 是 | 表示屏幕显示方向。 | **示例:** @@ -457,7 +458,7 @@ setDisplayOrientation(orientation: bundle.DisplayOrientation, callback: AsyncCal import featureAbility from '@ohos.ability.featureAbility'; import bundle from '@ohos.bundle'; var context = featureAbility.getContext(); -var orientation=bundle.DisplayOrientation.UNSPECIFIED +var orientation = bundle.DisplayOrientation.UNSPECIFIED; context.setDisplayOrientation(orientation, (err) => { console.info("setDisplayOrientation err: " + JSON.stringify(err)); }); @@ -475,7 +476,7 @@ setDisplayOrientation(orientation: bundle.DisplayOrientation): Promise\; | 类型 | 说明 | | ---------------------------------------- | ---------------------------------------- | -| orientation | [bundle.DisplayOrientation](js-apis-Bundle.md#displayorientation) | +| orientation | [bundle.DisplayOrientation](js-apis-bundleManager.md#displayorientation) | | Promise\ | 表示屏幕显示方向。 | **示例:** @@ -484,7 +485,7 @@ setDisplayOrientation(orientation: bundle.DisplayOrientation): Promise\; import featureAbility from '@ohos.ability.featureAbility'; import bundle from '@ohos.bundle'; var context = featureAbility.getContext(); -var orientation=bundle.DisplayOrientation.UNSPECIFIED +var orientation = bundle.DisplayOrientation.UNSPECIFIED; context.setDisplayOrientation(orientation).then((data) => { console.info("setDisplayOrientation data: " + JSON.stringify(data)); }); @@ -510,7 +511,7 @@ setShowOnLockScreen(show: boolean, callback: AsyncCallback\): void ```ts import featureAbility from '@ohos.ability.featureAbility'; var context = featureAbility.getContext(); -var show=true +var show = true; context.setShowOnLockScreen(show, (err) => { console.info("setShowOnLockScreen err: " + JSON.stringify(err)); }); @@ -541,7 +542,7 @@ setShowOnLockScreen(show: boolean): Promise\; ```ts import featureAbility from '@ohos.ability.featureAbility'; var context = featureAbility.getContext(); -var show=true +var show = true; context.setShowOnLockScreen(show).then((data) => { console.info("setShowOnLockScreen data: " + JSON.stringify(data)); }); @@ -551,7 +552,7 @@ context.setShowOnLockScreen(show).then((data) => { setWakeUpScreen(wakeUp: boolean, callback: AsyncCallback\): void -设置恢复此功能时是否唤醒屏幕。(callback形式)。 +设置恢复此功能时是否唤醒屏幕(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -567,7 +568,7 @@ setWakeUpScreen(wakeUp: boolean, callback: AsyncCallback\): void ```ts import featureAbility from '@ohos.ability.featureAbility'; var context = featureAbility.getContext(); -var wakeUp=true +var wakeUp = true; context.setWakeUpScreen(wakeUp, (err) => { console.info("setWakeUpScreen err: " + JSON.stringify(err)); }); @@ -577,7 +578,7 @@ context.setWakeUpScreen(wakeUp, (err) => { setWakeUpScreen(wakeUp: boolean): Promise\; -设置恢复此功能时是否唤醒屏幕。(Promise形式)。 +设置恢复此功能时是否唤醒屏幕(Promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -598,7 +599,7 @@ setWakeUpScreen(wakeUp: boolean): Promise\; ```ts import featureAbility from '@ohos.ability.featureAbility'; var context = featureAbility.getContext(); -var wakeUp=true +var wakeUp = true; context.setWakeUpScreen(wakeUp).then((data) => { console.info("setWakeUpScreen data: " + JSON.stringify(data)); }); @@ -673,7 +674,7 @@ getElementName(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------------- | ---- | -------------------------------------- | -| callback | AsyncCallback\<[ElementName](js-apis-bundle-ElementName.md)> | 是 | 返回当前ability的ohos.bundle.ElementName对象。 | +| callback | AsyncCallback\<[ElementName](js-apis-bundleManager-elementName.md)> | 是 | 返回当前ability的ohos.bundle.ElementName对象。 | **示例:** @@ -701,7 +702,7 @@ getElementName(): Promise\ | 类型 | 说明 | | --------------------- | ------------------------------------ | -| Promise\<[ElementName](js-apis-bundle-ElementName.md)> | 当前ability的ohos.bundle.ElementName对象。 | +| Promise\<[ElementName](js-apis-bundleManager-elementName.md)> | 当前ability的ohos.bundle.ElementName对象。 | **示例:** @@ -769,7 +770,7 @@ context.getProcessName().then((data) => { getCallingBundle(callback: AsyncCallback\): void -获取调用ability的包名称(callback形式)。 +获取ability调用方的Bundle名称(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -777,7 +778,7 @@ getCallingBundle(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ---------------------- | ---- | ---------------- | -| callback | AsyncCallback\ | 是 | 返回调用ability的包名称。 | +| callback | AsyncCallback\ | 是 | 返回ability调用方的Bundle名称。 | **示例:** @@ -795,7 +796,7 @@ context.getCallingBundle((err, data) => { getCallingBundle(): Promise\ -获取调用ability的包名称(Promise形式)。 +获取ability调用方的Bundle名称(Promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -803,7 +804,7 @@ getCallingBundle(): Promise\ | 类型 | 说明 | | ---------------- | -------------- | -| Promise\ | 调用ability的包名称。 | +| Promise\ | 返回ability调用方的Bundle名称。 | **示例:** @@ -851,7 +852,7 @@ getCacheDir(): Promise\ | 类型 | 说明 | | ---------------- | --------------- | -| Promise\ | 获取该应用程序的内部存储目录。 | +| Promise\ | 返回该应用程序的内部存储目录。 | **示例:** @@ -925,7 +926,7 @@ getOrCreateDistributedDir(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ---------------------- | ---- | ---------------------------------------- | -| callback | AsyncCallback\ | 是 | 回调函数,可以在回调函数中处理接口返回值,返回Ability或应用的分布式文件路径。如果分布式文件路径不存在,系统将创建一个路径并返回创建的路径。 | +| callback | AsyncCallback\ | 是 | 返回Ability或应用的分布式文件路径。
若路径不存在,系统将创建一个路径并返回创建的路径。 | **示例:** @@ -951,7 +952,7 @@ getOrCreateDistributedDir(): Promise\ | 类型 | 说明 | | ---------------- | ----------------------------------- | -| Promise\ | Ability或应用的分布式文件路径。如果是第一次调用,则将创建目录。 | +| Promise\ | 返回Ability或应用的分布式文件路径。若为首次调用,则将创建目录。 | **示例:** @@ -975,7 +976,7 @@ getAppType(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ---------------------- | ---- | -------------------------------- | -| callback | AsyncCallback\ | 是 | 回调函数,可以在回调函数中处理接口返回值,返回此应用程序的类型。 | +| callback | AsyncCallback\ | 是 | 返回此应用程序的类型。 | **示例:** @@ -999,7 +1000,7 @@ getAppType(): Promise\ | 类型 | 说明 | | ---------------- | ------------------ | -| Promise\ | Promise形式返回此应用的类型。 | +| Promise\ | 返回此应用的类型。 | **示例:** @@ -1023,7 +1024,7 @@ getHapModuleInfo(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ---------------------------------------- | ---- | --------------------------------------- | -| callback | AsyncCallback\<[HapModuleInfo](js-apis-bundle-HapModuleInfo.md)> | 是 | 回调函数,可以在回调函数中处理接口返回值,返回应用的ModuleInfo对象。 | +| callback | AsyncCallback\<[HapModuleInfo](js-apis-bundleManager-hapModuleInfo.md)> | 是 | 返回应用的ModuleInfo对象。 | **示例:** @@ -1047,7 +1048,7 @@ getHapModuleInfo(): Promise\ | 类型 | 说明 | | ---------------------------------------- | ------------------ | -| Promise\<[HapModuleInfo](js-apis-bundle-HapModuleInfo.md)> | 返回应用的ModuleInfo对象。 | +| Promise\<[HapModuleInfo](js-apis-bundleManager-hapModuleInfo.md)> | 返回应用的ModuleInfo对象。 | **示例:** @@ -1071,7 +1072,7 @@ getAppVersionInfo(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ---------------------------------------- | ---- | ------------------------------ | -| callback | AsyncCallback\<[AppVersionInfo](js-apis-inner-app-appVersionInfo.md)> | 是 | 回调函数,可以在回调函数中处理接口返回值,返回应用版本信息。 | +| callback | AsyncCallback\<[AppVersionInfo](js-apis-inner-app-appVersionInfo.md)> | 是 | 返回应用版本信息。 | **示例:** @@ -1119,7 +1120,7 @@ getAbilityInfo(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ---------------------------------------- | ---- | --------------------------------------- | -| callback | AsyncCallback\<[AbilityInfo](js-apis-bundle-AbilityInfo.md)> | 是 | 回调函数,可以在回调函数中处理接口返回值,返回当前归属Ability详细信息。 | +| callback | AsyncCallback\<[AbilityInfo](js-apis-bundleManager-abilityInfo.md)> | 是 | 返回当前归属Ability详细信息。 | **示例:** @@ -1143,7 +1144,7 @@ getAbilityInfo(): Promise\ | 类型 | 说明 | | ---------------------------------------- | ------------------ | -| Promise\<[AbilityInfo](js-apis-bundle-AbilityInfo.md)> | 返回当前归属Ability详细信息。 | +| Promise\<[AbilityInfo](js-apis-bundleManager-abilityInfo.md)> | 返回当前归属Ability详细信息。 | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-abilityStateData.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-abilityStateData.md index eba70773f6a3c727192a366f6a85c2f224fc9fd3..94e7fb47420c00a713ea8c8ba7200af9449ec7dd 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-abilityStateData.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-abilityStateData.md @@ -7,10 +7,10 @@ | 名称 | 类型 | 可读 | 可写 | 说明 | | ----------------------- | ---------| ---- | ---- | ------------------------- | | pid8+ | number | 是 | 否 | 进程ID。 | -| bundleName8+ | string | 是 | 否 | 应用包名。 | +| bundleName8+ | string | 是 | 否 | 应用Bundle名称。 | | abilityName8+ | string | 是 | 否 | Ability名称。 | | uid8+ | number | 是 | 否 | 用户ID。 | | state8+ | number | 是 | 否 | Ability状态。 | -| moduleName9+ | string | 是 | 否 | Ability所属的HAP包的名称。 | +| moduleName9+ | string | 是 | 否 | Ability所属的HAP的名称。 | | abilityType8+ | string | 是 | 否 | Ability类型:页面或服务等。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-appStateData.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-appStateData.md index 2dce76952c4df946a96f2545b4708c1334c5a317..3c2aa81352a868d340d34e67f6f70dc97b893f1e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-appStateData.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-appStateData.md @@ -4,25 +4,32 @@ **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core -**系统API**:该接口为系统接口,三方应用不支持调用。 +**系统API**:本模块被标记为@systemapi,对三方应用隐藏 -| 名称 | 类型 | 必填 | 说明 | -| ----------- | -------- | ---- | ------------------------------------------------------------ | -| bundleName8+ | string | 否 | 包名。 | -| uid8+ | number | 否 | 用户ID。 | -| state8+ | number | 否 | 应用状态。 | +| 名称 | 类型 | 必填 | 说明 | +| ------------------------- | ------ | ---- | --------- | +| bundleName8+ | string | 否 | Bundle名称。 | +| uid8+ | number | 否 | 应用程序的uid。 | +| state8+ | number | 否 | 应用状态。
0:初始化状态,应用正在初始化
1:就绪状态,应用已初始化完毕
2:前台状态,应用位于前台
3:获焦状态。(预留状态,当前暂不支持)
4:后台状态,应用位于后台
5:退出状态,应用已退出 | **示例:** + ```ts -import appManager from "@ohos.application.appManager" +import appManager from "@ohos.app.ability.appManager" -appManager.getForegroundApplications((error, data) => { - for (let i = 0; i < data.length; i++) { - let appStateData = data[i]; - console.info('appStateData.bundleName: ' + appStateData.bundleName); - console.info('appStateData.uid: ' + appStateData.uid); - console.info('appStateData.state: ' + appStateData.state); - } -}); +function getForegroundAppInfos() { + appManager.getForegroundApplications((error, data) => { + if (error && error.code) { + console.log('getForegroundApplications failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); + return; + } + for (let i = 0; i < data.length; i++) { + let appStateData = data[i]; + console.log('appStateData.bundleName: ' + appStateData.bundleName); + console.log('appStateData.uid: ' + appStateData.uid); + console.log('appStateData.state: ' + appStateData.state); + } + }); +} ``` - diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-baseContext.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-baseContext.md index 6c6d4c3eeea213c8ce372ac4a9f59c0181d344ed..7e08bd9cc348b097756032da0969ee3d1650330e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-baseContext.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-baseContext.md @@ -3,21 +3,21 @@ BaseContext抽象类用于表示继承的子类Context是Stage模型还是FA模型。 > **说明:** -> +> > 本模块首批接口从API version 8 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | ------ | ---- | ---- | ------- | -| stageMode | boolean | 是 | 是 | 表示Stage模型还是FA模型。 | +| stageMode | boolean | 是 | 是 | 表示是否Stage模型。
true:Stage模型
false:FA模型。 | **示例:** - + ```ts class MyContext extends BaseContext { constructor(stageMode) { this.stageMode = stageMode; } } - ``` \ No newline at end of file + ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-context.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-context.md index d085b67a001dc50e1a5b7f8d79114207f9920866..eadb6087fe22dda7c1d04469a5db38daac207b84 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-context.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-context.md @@ -1,11 +1,11 @@ -# Context模块 +# Context Context模块提供了ability或application的上下文的能力,包括访问特定应用程序的资源等。 > **说明:** > -> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 -> 本模块接口仅可在Stage模型下使用。 +> - 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 +> - 本模块接口仅可在Stage模型下使用。 ## 属性 @@ -25,12 +25,13 @@ Context模块提供了ability或application的上下文的能力,包括访问 | eventHub | string | 是 | 否 | 事件中心,提供订阅、取消订阅、触发事件对象。 | | area | [AreaMode](#areamode) | 是 | 否 | 文件分区信息。 | - ## Context.createBundleContext createBundleContext(bundleName: string): Context; -根据包名创建安装包的上下文Context。 +根据Bundle名称创建安装包的上下文。 + +**需要权限**: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -38,25 +39,38 @@ createBundleContext(bundleName: string): Context; | 名称 | 类型 | 必填 | 说明 | | -------- | ---------------------- | ---- | ------------- | -| bundleName | string | 是 | 包名。 | +| bundleName | string | 是 | Bundle名称。 | **返回值:** | 类型 | 说明 | | -------- | -------- | -| Context | 安装包的上下文Context。 | +| Context | 安装包的上下文。 | + +**错误码:** + +| 错误码ID | 错误信息 | +| ------- | -------------------------------- | +| 401 | If the input parameter is not valid parameter. | +其他ID见[元能力子系统错误码](../errorcodes/errorcode-ability.md) **示例:** ```ts -let bundleContext = this.context.createBundleContext("com.example.test"); +let bundleContext; +try { + bundleContext = this.context.createBundleContext("com.example.test"); +} catch (error) { + console.log('createBundleContext failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); +} ``` ## Context.createModuleContext createModuleContext(moduleName: string): Context; -根据模块名创建上下文Context。 +根据模块名创建上下文。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -70,17 +84,30 @@ createModuleContext(moduleName: string): Context; | 类型 | 说明 | | -------- | -------- | -| Context | 上下文Context。 | +| Context | 模块的上下文。 | + +**错误码:** + +| 错误码ID | 错误信息 | +| ------- | -------------------------------- | +| 401 | If the input parameter is not valid parameter. | +其他ID见[元能力子系统错误码](../errorcodes/errorcode-ability.md) **示例:** ```ts -let moduleContext = this.context.createModuleContext("entry"); +let moduleContext; +try { + moduleContext = this.context.createModuleContext("entry"); +} catch (error) { + console.log('createModuleContext failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); +} ``` createModuleContext(bundleName: string, moduleName: string): Context; -根据包名和模块名创建上下文Context。 +根据Bundle名称和模块名称创建上下文。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -88,26 +115,39 @@ createModuleContext(bundleName: string, moduleName: string): Context; | 名称 | 类型 | 必填 | 说明 | | -------- | ---------------------- | ---- | ------------- | -| bundleName | string | 是 | 包名。 | +| bundleName | string | 是 | Bundle名称。 | | moduleName | string | 是 | 模块名。 | **返回值:** | 类型 | 说明 | | -------- | -------- | -| Context | 上下文Context。 | +| Context | 模块的上下文。 | + +**错误码:** + +| 错误码ID | 错误信息 | +| ------- | -------------------------------- | +| 401 | If the input parameter is not valid parameter. | +其他ID见[元能力子系统错误码](../errorcodes/errorcode-ability.md) **示例:** ```ts -let moduleContext = this.context.createModuleContext("com.example.test", "entry"); +let moduleContext; +try { + moduleContext = this.context.createModuleContext("com.example.test", "entry"); +} catch (error) { + console.log('createModuleContext failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); +} ``` ## Context.getApplicationContext getApplicationContext(): ApplicationContext; -获取应用上下文Context。 +获取本应用的应用上下文。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -115,12 +155,18 @@ getApplicationContext(): ApplicationContext; | 类型 | 说明 | | -------- | -------- | -| Context | 应用上下文Context。 | +| [ApplicationContext](js-apis-inner-application-applicationContext.md) | 应用上下文Context。 | **示例:** ```ts -let applicationContext = this.context.getApplicationContext(); +let applicationContext; +try { + applicationContext = this.context.getApplicationContext(); +} catch (error) { + console.log('getApplicationContext failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); +} ``` ## AreaMode diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-continueCallback.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-continueCallback.md index 9367f66a9e24cf3956b06602501e2200b0957cc6..8cda7bb28b49ca4ec0ebe2ee0f15b05ad3d6c6e2 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-continueCallback.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-continueCallback.md @@ -1,37 +1,46 @@ # ContinueCallback -表示迁移完成后,返回迁移结果回调函数,可以作为[continueMission](js-apis-distributedMissionManager.md#distributedmissionmanagercontinuemission)的入参监听迁移回调。 +表示跨设备迁移Mission完成后,返回迁移结果的回调函数,迁移Mission详见:[continueMission接口](js-apis-distributedMissionManager.md#distributedmissionmanagercontinuemission)。 + +## ContinueCallback.onContinueDone + +onContinueDone(result: number): void; + +Mission迁移完成后调用,返回迁移结果。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Mission -| 名称 | 类型 | 可读 | 可写 | 说明 | -| --------------------- | -------- | ---- | ---- | ------------------ | -| onContinueDone | function | 是 | 否 | 通知迁移完成,返回迁移结果。 | +**参数:** + + | 参数名 | 类型 | 必填 | 说明 | + | -------- | -------- | -------- | -------- | + | result | number | 否 | 迁移任务的结果。 | **示例:** ```ts - import distributedMissionManager from '@ohos.distributedMissionManager'; + import distributedMissionManager from '@ohos.distributedMissionManager' let continueDeviceInfo = { - srcDeviceId: "123", - dstDeviceId: "456", - missionId: 123, - wantParam: { - "key":"value" - } + srcDeviceId: "123", + dstDeviceId: "456", + missionId: 123, + wantParam: { + "key":"value" + } }; let continueCallback = { onContinueDone(result) { console.log('onContinueDone, result: ' + JSON.stringify(result)); } - } + }; distributedMissionManager.continueMission(continueDeviceInfo, continueCallback, (error) => { - if (error.code != 0) { - console.error('continueMission failed, cause: ' + JSON.stringify(error)) - } - console.info('continueMission finished') + if (error && error.code) { + console.log('continueMission failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); + } + console.log('continueMission finished'); }) - ``` \ No newline at end of file + ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-continueDeviceInfo.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-continueDeviceInfo.md index 0d4cdaae13b0f4d9af3b992a9408a846e434d36f..f885b2266eaee93eebba6073254a83f8bf9c1340 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-continueDeviceInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-continueDeviceInfo.md @@ -1,6 +1,6 @@ # ContinueDeviceInfo -表示发起任务迁移时所需参数的枚举,可以作为[continueMission](js-apis-distributedMissionManager.md#distributedmissionmanagercontinuemission)的入参指定迁移相关参数。 +表示发起Mission迁移时所需参数的枚举,迁移Mission详见:[continueMission接口](js-apis-distributedMissionManager.md#distributedmissionmanagercontinuemission)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Mission @@ -14,27 +14,28 @@ **示例:** ```ts - import distributedMissionManager from '@ohos.distributedMissionManager'; + import distributedMissionManager from '@ohos.distributedMissionManager' let continueDeviceInfo = { - srcDeviceId: "123", - dstDeviceId: "456", - missionId: 123, - wantParam: { - "key":"value" - } + srcDeviceId: "123", + dstDeviceId: "456", + missionId: 123, + wantParam: { + "key":"value" + } }; let continueCallback = { onContinueDone(result) { console.log('onContinueDone, result: ' + JSON.stringify(result)); } - } + }; distributedMissionManager.continueMission(continueDeviceInfo, continueCallback, (error) => { - if (error.code != 0) { - console.error('continueMission failed, cause: ' + JSON.stringify(error)) - } - console.info('continueMission finished') + if (error && error.code) { + console.log('continueMission failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); + } + console.log('continueMission finished'); }) - ``` \ No newline at end of file + ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-errorObserver.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-errorObserver.md index af5ef4b750eccba37e7f4912c2e0ce1987fe1a27..825a459c7e1b268eb9c2fc764ef7aa2752c760e7 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-errorObserver.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-errorObserver.md @@ -1,8 +1,8 @@ # ErrorObserver -定义异常监听,可以作为[registerErrorObserver](js-apis-application-errorManager.md#errormanagerregistererrorobserver)的入参监听当前应用发生的异常。 +定义异常监听,可以作为[ErrorManager.on](js-apis-app-ability-errorManager.md#errormanageron)的入参监听当前应用发生的异常。 -## onUnhandledException +## ErrorObserver.onUnhandledException onUnhandledException(errMsg: string): void; @@ -19,12 +19,18 @@ onUnhandledException(errMsg: string): void; **示例:** ```ts -import errorManager from '@ohos.application.errorManager'; +import errorManager from '@ohos.app.ability.errorManager' let observer = { onUnhandledException(errorMsg) { - console.log('onUnhandledException, errorMsg: ' + JSON.stringify(errorMsg)); + console.log('HXW onUnhandledException, errorMsg: ', errorMsg); } } -errorManager.registerErrorObserver(observer) -``` \ No newline at end of file + +try { + errorManager.on("error", observer); +} catch (error) { + console.log('registerErrorObserver' + ' failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); +} +``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-eventHub.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-eventHub.md index e5c0502fed2c7e5271ebb4239ab14e383f533d98..26b3685915afad94d76499246c05896074218180 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-eventHub.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-eventHub.md @@ -3,22 +3,24 @@ EventHub模块提供了事件中心,提供订阅、取消订阅、触发事件的能力。 > **说明:** -> -> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 -> 本模块接口仅可在Stage模型下使用。 +> +> - 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 +> - 本模块接口仅可在Stage模型下使用。 ## 使用说明 -在使用eventHub的功能前,需要通过Ability实例的成员变量context获取。 +在使用eventHub的功能前,需要通过UIAbility实例的成员变量context获取。 ```ts -import Ability from '@ohos.application.Ability'; -export default class MainAbility extends Ability { - func1(){ - console.log("func1 is called"); +import UIAbility from '@ohos.app.ability.UIAbility' + +export default class MainAbility extends UIAbility { + eventFunc(){ + console.log("eventFunc is called"); } + onForeground() { - this.context.eventHub.on("123", this.func1); + this.context.eventHub.on("myEvent", this.eventFunc); } } ``` @@ -36,36 +38,39 @@ on(event: string, callback: Function): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | event | string | 是 | 事件名称。 | -| callback | Function | 是 | 事件回调,事件触发后运行。 | +| callback | Function | 是 | 事件回调,事件触发后调用。 | **示例:** - - ```ts - import Ability from '@ohos.application.Ability'; - - export default class MainAbility extends Ability { - onForeground() { - this.context.eventHub.on("123", this.func1); - this.context.eventHub.on("123", () => { - console.log("call anonymous func 1"); - }); - // 结果: - // func1 is called - // call anonymous func 1 - this.context.eventHub.emit("123"); - } - func1() { - console.log("func1 is called"); - } - } - ``` +```ts +import UIAbility from '@ohos.app.ability.UIAbility' + +export default class MainAbility extends UIAbility { + onForeground() { + this.context.eventHub.on("myEvent", this.eventFunc); + // 支持使用匿名函数订阅事件 + this.context.eventHub.on("myEvent", () => { + console.log("call anonymous eventFunc"); + }); + // 结果: + // eventFunc is called + // call anonymous eventFunc + this.context.eventHub.emit("myEvent"); + } + + eventFunc() { + console.log("eventFunc is called"); + } +} +``` ## EventHub.off off(event: string, callback?: Function): void; -取消订阅指定事件。当callback传值时,取消订阅指定的callback;未传值时,取消订阅该事件下所有callback。 +取消订阅指定事件。 + - 传入callback:取消指定的callback对指定事件的订阅,当该事件触发后,将不会回调该callback。 + - 不传callback:取消所有callback对指定事件的订阅。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -77,27 +82,28 @@ off(event: string, callback?: Function): void; | callback | Function | 否 | 事件回调。如果不传callback,则取消订阅该事件下所有callback。 | **示例:** - - ```ts - import Ability from '@ohos.application.Ability'; - - export default class MainAbility extends Ability { - onForeground() { - this.context.eventHub.on("123", this.func1); - this.context.eventHub.off("123", this.func1); //取消订阅func1 - this.context.eventHub.on("123", this.func1); - this.context.eventHub.on("123", this.func2); - this.context.eventHub.off("123"); //取消订阅func1和func2 - } - func1() { - console.log("func1 is called"); - } - func2() { - console.log("func2 is called"); - } - } - ``` +```ts +import UIAbility from '@ohos.app.ability.UIAbility' + +export default class MainAbility extends UIAbility { + onForeground() { + this.context.eventHub.on("myEvent", this.eventFunc1); + this.context.eventHub.off("myEvent", this.eventFunc1); // 取消eventFunc1对myEvent事件的订阅 + this.context.eventHub.on("myEvent", this.eventFunc1); + this.context.eventHub.on("myEvent", this.eventFunc2); + this.context.eventHub.off("myEvent"); // 取消eventFunc1和eventFunc2对myEvent事件的订阅 + } + + eventFunc1() { + console.log("eventFunc1 is called"); + } + + eventFunc2() { + console.log("eventFunc2 is called"); + } +} +``` ## EventHub.emit @@ -115,25 +121,26 @@ emit(event: string, ...args: Object[]): void; | ...args | Object[] | 是 | 可变参数,事件触发时,传递给回调函数的参数。 | **示例:** - - ```ts - import Ability from '@ohos.application.Ability'; - - export default class MainAbility extends Ability { - onForeground() { - this.context.eventHub.on("123", this.func1); - // 结果: - // func1 is called,undefined,undefined - this.context.eventHub.emit("123"); - // 结果: - // func1 is called,1,undefined - this.context.eventHub.emit("123", 1); - // 结果: - // func1 is called,1,2 - this.context.eventHub.emit("123", 1, 2); - } - func1(a, b) { - console.log("func1 is called," + a + "," + b); - } - } - ``` + +```ts +import UIAbility from '@ohos.app.ability.UIAbility' + +export default class MainAbility extends UIAbility { + onForeground() { + this.context.eventHub.on("myEvent", this.eventFunc); + // 结果: + // eventFunc is called,undefined,undefined + this.context.eventHub.emit("myEvent"); + // 结果: + // eventFunc is called,1,undefined + this.context.eventHub.emit("myEvent", 1); + // 结果: + // eventFunc is called,1,2 + this.context.eventHub.emit("myEvent", 1, 2); + } + + eventFunc(argOne, argTwo) { + console.log("eventFunc is called," + argOne + "," + argTwo); + } +} +``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-extensionContext.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-extensionContext.md index 071b5563b7621ae381123b55bb09f90009106acb..411b5d8a48b2536b596900603c4683bd079f80f1 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-extensionContext.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-extensionContext.md @@ -5,7 +5,7 @@ ExtensionContext是Extension的上下文环境,继承自Context。 ExtensionContext模块提供访问特定Extension的资源的能力,对于拓展的Extension,可直接将ExtensionContext作为上下文环境,或者定义一个继承自ExtensionContext的类型作为上下文环境。如:ServiceExtension提供了ServiceExtensionContext,它在ExtensionContext的基础上扩展了启动、停止、绑定、解绑Ability的能力,详见[ServiceExtensionContext](js-apis-inner-application-serviceExtensionContext.md)。 > **说明:** -> +> > - 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 > - 本模块接口仅可在Stage模型下使用。 @@ -110,4 +110,4 @@ export default class ServiceModel { } } }; -``` \ No newline at end of file +``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-extensionRunningInfo.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-extensionRunningInfo.md index a5834f33491284810adbbc6457e50d5d59243ded..13e4ce5df6b37cb85cf82fd9e7e9841c3dca9fc1 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-extensionRunningInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-extensionRunningInfo.md @@ -1,15 +1,15 @@ # ExtensionRunningInfo -ExtensionRunningInfo模块提供对Extension运行的相关信息和类型进行设置和查询的能力,可以通过[getExtensionRunningInfos](js-apis-app-ability-abilityManager.md#getextensionrunninginfos)获取。 +ExtensionRunningInfo模块封装了Extension运行的相关信息,可以通过[getExtensionRunningInfos接口](js-apis-app-ability-abilityManager.md#getextensionrunninginfos)获取。 > **说明:** > -> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 -> 本模块接口均为系统接口,三方应用不支持调用 +> - 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 +> - 本模块被标记为@systemapi,对三方应用隐藏 ## 使用说明 -通过abilityManager中方法获取。 +导入abilityManager模块,通过调用abilityManager中的方法获取ExtensionRunningInfo。 ## 属性 @@ -17,29 +17,37 @@ ExtensionRunningInfo模块提供对Extension运行的相关信息和类型进行 | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| extension | ElementName | 是 | 否 | Extension匹配信息。 | +| extension | [ElementName](js-apis-bundleManager-elementName.md) | 是 | 否 | Extension信息。 | | pid | number | 是 | 否 | 进程ID。 | -| uid | number | 是 | 否 | 用户ID。 | +| uid | number | 是 | 否 | 应用程序的uid。 | | processName | string | 是 | 否 | 进程名称。 | -| startTime | number | 是 | 否 | Extension启动时间。 | +| startTime | number | 是 | 否 | Extension被启动时的时间戳。 | | clientPackage | Array<String> | 是 | 否 | 表示当期进程下的所有包名。 | -| type | [bundle.ExtensionAbilityType](js-apis-Bundle.md) | 是 | 否 | Extension类型。 | +| type | [ExtensionAbilityType](js-apis-bundleManager.md#extensionabilitytype) | 是 | 否 | Extension类型。 | **示例:** ```ts -import abilityManager from '@ohos.application.abilityManager'; -let upperLimit = 1; -abilityManager.getExtensionRunningInfos(upperLimit, (err,data) => { - console.log("getExtensionRunningInfos err: " + err + " data: " + JSON.stringify(data)); - for (let i = 0; i < data.length; i++) { - let extensionRunningInfo = data[i]; - console.log("extensionRunningInfo.extension: " + JSON.stringify(extensionRunningInfo.extension)); - console.log("extensionRunningInfo.pid: " + JSON.stringify(extensionRunningInfo.pid)); - console.log("extensionRunningInfo.uid: " + JSON.stringify(extensionRunningInfo.uid)); - console.log("extensionRunningInfo.processName: " + JSON.stringify(extensionRunningInfo.processName)); - console.log("extensionRunningInfo.startTime: " + JSON.stringify(extensionRunningInfo.startTime)); - console.log("extensionRunningInfo.clientPackage: " + JSON.stringify(extensionRunningInfo.clientPackage)); - console.log("extensionRunningInfo.type: " + JSON.stringify(extensionRunningInfo.type)); - } -}); -``` \ No newline at end of file +import abilityManager from '@ohos.app.ability.abilityManager' + +var upperLimit = 1; +function getExtensionInfos() { + abilityManager.getExtensionRunningInfos(upperLimit, (error, data) => { + if (error && error.code) { + console.log('getForegroundApplications failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); + return; + } + + for (let i = 0; i < data.length; i++) { + let extensionRunningInfo = data[i]; + console.log("extensionRunningInfo.extension: " + JSON.stringify(extensionRunningInfo.extension)); + console.log("extensionRunningInfo.pid: " + JSON.stringify(extensionRunningInfo.pid)); + console.log("extensionRunningInfo.uid: " + JSON.stringify(extensionRunningInfo.uid)); + console.log("extensionRunningInfo.processName: " + JSON.stringify(extensionRunningInfo.processName)); + console.log("extensionRunningInfo.startTime: " + JSON.stringify(extensionRunningInfo.startTime)); + console.log("extensionRunningInfo.clientPackage: " + JSON.stringify(extensionRunningInfo.clientPackage)); + console.log("extensionRunningInfo.type: " + JSON.stringify(extensionRunningInfo.type)); + } + }); +} +``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionInfo.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionInfo.md index 3f3fd0c235df03dd07fc5ccb5705675f8e1056e7..1558a06859d60d4302a217238c8d029143009b6f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionInfo.md @@ -1,6 +1,6 @@ # MissionInfo -表示Ability对应的任务信息,可以通过[getMissionInfo](js-apis-app-ability-missionManager.md#missionmanagergetmissioninfo)获取。 +表示任务的详细信息,可以通过[getMissionInfo](js-apis-app-ability-missionManager.md#missionmanagergetmissioninfo)获取。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Mission @@ -19,16 +19,27 @@ **示例:** ```ts -import missionManager from '@ohos.application.missionManager' +import missionManager from '@ohos.app.ability.missionManager' -missionManager.getMissionInfo("12345", 1, (error, data) => { - console.info('getMissionInfo missionId is:' + JSON.stringify(data.missionId)); - console.info('getMissionInfo runningState is:' + JSON.stringify(data.runningState)); - console.info('getMissionInfo lockedState is:' + JSON.stringify(data.lockedState)); - console.info('getMissionInfo timestamp is:' + JSON.stringify(data.timestamp)); - console.info('getMissionInfo want is:' + JSON.stringify(data.want)); - console.info('getMissionInfo label is:' + JSON.stringify(data.label)); - console.info('getMissionInfo iconPath is:' + JSON.stringify(data.iconPath)); - console.info('getMissionInfo continuable is:' + JSON.stringify(data.continuable)); -}); +try { + missionManager.getMissionInfo("", 1, (error, data) => { + if (error.code) { + // 处理业务逻辑错误 + console.log("getMissionInfo failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } + + console.log('getMissionInfo missionId is:' + JSON.stringify(data.missionId)); + console.log('getMissionInfo runningState is:' + JSON.stringify(data.runningState)); + console.log('getMissionInfo lockedState is:' + JSON.stringify(data.lockedState)); + console.log('getMissionInfo timestamp is:' + JSON.stringify(data.timestamp)); + console.log('getMissionInfo want is:' + JSON.stringify(data.want)); + console.log('getMissionInfo label is:' + JSON.stringify(data.label)); + console.log('getMissionInfo iconPath is:' + JSON.stringify(data.iconPath)); + console.log('getMissionInfo continuable is:' + JSON.stringify(data.continuable)); + }); +} catch (paramError) { + console.log("error: " + paramError.code + ", " + paramError.message); +} ``` \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionListener.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionListener.md index 6dbc6f9e7adf7335f834a3c75637869a9733ab0d..6cf445cbe310532951892f1785a3d5ee5cc7e426 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionListener.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionListener.md @@ -1,6 +1,6 @@ # MissionListener -定义系统任务状态监听,可以通过[registerMissionListener](js-apis-application-missionManager.md#missionmanagerregistermissionlistener)注册。 +定义系统任务状态监听,可以通过[on](js-apis-app-ability-missionManager.md#missionmanageron)注册。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Mission @@ -16,7 +16,7 @@ **示例:** ```ts -import missionManager from '@ohos.application.missionManager' +import missionManager from '@ohos.app.ability.missionManager' let listener = { onMissionCreated: function (mission) { @@ -38,5 +38,10 @@ let listener = { console.log("onMissionClosed mission: " + JSON.stringify(mission)); } }; -let listenerid = missionManager.registerMissionListener(listener); + +try { + let listenerId = missionManager.on("mission", listener); +} catch (paramError) { + console.log("error: " + paramError.code + ", " + paramError.message); +} ``` \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionSnapshot.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionSnapshot.md index 6cfb665902e90388e9043432406e64996bfe9daf..2310755f6bc2fd5ac0720e75060152ce6b050588 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionSnapshot.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-missionSnapshot.md @@ -11,7 +11,7 @@ | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| ability | ElementName | 是 | 是 | 表示Ability任务元素名称。 | +| ability | ElementName | 是 | 是 | 表示该任务的组件信息。 | | snapshot | [image.PixelMap](js-apis-image.md) | 是 | 是 | 表示任务快照。 | ## 使用说明 @@ -20,19 +20,33 @@ **示例:** ```ts -import ElementName from '@ohos.bundle'; -import image from '@ohos.multimedia.image'; -import missionManager from '@ohos.application.missionManager'; - -missionManager.getMissionInfos("", 10, (error, missions) => { - console.log("getMissionInfos is called, error.code = " + error.code); - console.log("size = " + missions.length); - console.log("missions = " + JSON.stringify(missions)); - var id = missions[0].missionId; - - missionManager.getMissionSnapShot("", id, (error, snapshot) => { - console.log("getMissionSnapShot is called, error.code = " + error.code); - console.log("bundleName = " + snapshot.ability.bundleName); - }) -}) + import ElementName from '@ohos.bundle'; + import image from '@ohos.multimedia.image'; + import missionManager from '@ohos.app.ability.missionManager'; + + try { + missionManager.getMissionInfos("", 10, (error, missions) => { + if (error.code) { + console.log("getMissionInfos failed, error.code:" + JSON.stringify(error.code) + + "error.message:" + JSON.stringify(error.message)); + return; + } + console.log("size = " + missions.length); + console.log("missions = " + JSON.stringify(missions)); + var id = missions[0].missionId; + + missionManager.getMissionSnapShot("", id, (err, snapshot) => { + if (err.code) { + console.log("getMissionInfos failed, err.code:" + JSON.stringify(err.code) + + "err.message:" + JSON.stringify(err.message)); + return; + } + + // 执行正常业务 + console.log("bundleName = " + snapshot.ability.bundleName); + }) + }) + } catch (paramError) { + console.log("error: " + paramError.code + ", " + paramError.message); + } ``` \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-permissionRequestResult.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-permissionRequestResult.md deleted file mode 100644 index 06f2abdd90e8cbc5a91bb9b8add5ca63a2049253..0000000000000000000000000000000000000000 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-permissionRequestResult.md +++ /dev/null @@ -1,40 +0,0 @@ -# PermissionRequestResult - -权限请求结果对象,在调用[requestPermissionsFromUser](js-apis-inner-application-uiAbilityContext.md#abilitycontextrequestpermissionsfromuser)申请权限时返回此对象表明此次权限申请的结果。 - -> **说明:** -> -> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 -> 本模块接口仅可在Stage模型下使用。 - -## 属性 - -**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core - -| 名称 | 类型 | 可读 | 可写 | 说明 | -| -------- | -------- | -------- | -------- | -------- | -| permissions | Array<string> | 是 | 否 | 用户传入的权限。| -| authResults | Array<number> | 是 | 否 | 相应请求权限的结果:0表示授权成功,非0表示失败。 | - -## 使用说明 - -通过AbilityContext实例来获取。 - -**示例:** -```ts -import UIAbility from '@ohos.app.ability.UIAbility' -export default class MainAbility extends UIAbility { - onWindowStageCreate(windowStage) { - var permissions = ['com.example.permission'] - var permissionRequestResult; - this.context.requestPermissionsFromUser(permissions, (err, result) => { - if (err) { - console.log('requestPermissionsFromUserError: ' + JSON.stringify(err)); - } else { - permissionRequestResult = result; - console.log('permissionRequestResult: ' + JSON.stringify(permissionRequestResult)); - } - }); - } -} -``` \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-processRunningInfo.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-processRunningInfo.md index fc37e715b753b0dbf862f67057ff053795cc7098..92eaef536c9f8e696ff097a5884539a4e344ccf3 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-processRunningInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-processRunningInfo.md @@ -15,7 +15,7 @@ | pid | number | 是 | 否 | 进程ID。 | | uid | number | 是 | 否 | 用户ID。 | | processName | string | 是 | 否 | 进程名称。 | -| bundleNames | Array<string> | 是 | 否 | 进程中所有运行的包名称。 | +| bundleNames | Array<string> | 是 | 否 | 进程中所有运行的Bundle名称。 | ## 使用说明 diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-processRunningInformation.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-processRunningInformation.md index 6369bace76dc55fb55bdb32546eadb70a0a58f91..15f69daae2ec2fad6279a4312952f1181fa1e66d 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-processRunningInformation.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-processRunningInformation.md @@ -27,4 +27,4 @@ appManager.getProcessRunningInformation((error, data) => { | pid | number | 是 | 否 | 进程ID。 | | uid | number | 是 | 否 | 用户ID。 | | processName | string | 是 | 否 | 进程名称。 | -| bundleNames | Array<string> | 是 | 否 | 进程中所有运行的包名称。 | +| bundleNames | Array<string> | 是 | 否 | 进程中所有运行的Bundle名称。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-serviceExtensionContext.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-serviceExtensionContext.md index 85861abfda9517597aba145bed6686b1c049e841..d645cb1c457ae742033fde456c001b92725fbd2c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-serviceExtensionContext.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-serviceExtensionContext.md @@ -38,7 +38,7 @@ startAbility(want: Want, callback: AsyncCallback<void>): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| want | [Want](js-apis-application-want.md) | 是 | Want类型参数,传入需要启动的ability的信息,如ability名称,包名等。 | +| want | [Want](js-apis-application-want.md) | 是 | Want类型参数,传入需要启动的ability的信息,如Ability名称,Bundle名称等。 | | callback | AsyncCallback<void> | 否 | 回调函数,返回接口调用是否成功的结果。 | **错误码:** @@ -105,7 +105,7 @@ startAbility(want: Want, options?: StartOptions): Promise\; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| want | [Want](js-apis-application-want.md) | 是 | Want类型参数,传入需要启动的ability的信息,如ability名称,包名等。 | +| want | [Want](js-apis-application-want.md) | 是 | Want类型参数,传入需要启动的ability的信息,如Ability名称,Bundle名称等。 | | options | [StartOptions](js-apis-app-ability-startOptions.md) | 是 | 启动Ability所携带的参数。 | **返回值:** @@ -245,6 +245,11 @@ startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\< 根据account启动Ability(callback形式)。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **系统API**: 此接口为系统接口,三方应用不支持调用。 @@ -316,6 +321,11 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca 根据account启动Ability(callback形式)。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **系统API**: 此接口为系统接口,三方应用不支持调用。 @@ -392,6 +402,11 @@ startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): 根据account启动Ability(Promise形式)。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **系统API**: 此接口为系统接口,三方应用不支持调用。 @@ -599,7 +614,7 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: 启动一个新的ServiceExtensionAbility(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -666,7 +681,7 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\ 启动一个新的ServiceExtensionAbility(Promise形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -858,7 +873,7 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: 使用帐户停止同一应用程序内的服务(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -921,7 +936,7 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\< 使用帐户停止同一应用程序内的服务(Promise形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1079,7 +1094,7 @@ connectServiceExtensionAbility(want: Want, options: ConnectOptions): number; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| want | [Want](js-apis-application-want.md) | 是 | Want类型参数,传入需要启动的ability的信息,如ability名称,包名等。 | +| want | [Want](js-apis-application-want.md) | 是 | Want类型参数,传入需要启动的ability的信息,如Ability名称,Bundle名称等。 | | options | [ConnectOptions](js-apis-inner-ability-connectOptions.md) | 是 | ConnectOptions类型的回调函数,返回服务连接成功、断开或连接失败后的信息。 | **返回值:** @@ -1300,6 +1315,11 @@ startAbilityByCall(want: Want): Promise<Caller>; 启动指定Ability至前台或后台,同时获取其Caller通信接口,调用方可使用Caller与被启动的Ability进行通信。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **系统API**:此接口为系统接口,三方应用不支持调用。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-uiAbilityContext.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-uiAbilityContext.md index feaa175b8cd23fceb8e9dfee727ef603356f9a4c..06d0fe012f038d57821c123fc9c282befaabd590 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-uiAbilityContext.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-uiAbilityContext.md @@ -14,7 +14,7 @@ UIAbilityContext是[UIAbility](js-apis-app-ability-uiAbility.md)的上下文环 | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | | abilityInfo | [AbilityInfo](js-apis-bundleManager-abilityInfo.md) | 是 | 否 | UIAbility的相关信息。 | -| currentHapModuleInfo | [HapModuleInfo](js-apis-bundleManager-hapModuleInfo.md) | 是 | 否 | 当前HAP包的信息。 | +| currentHapModuleInfo | [HapModuleInfo](js-apis-bundleManager-hapModuleInfo.md) | 是 | 否 | 当前HAP的信息。 | | config | [Configuration](js-apis-app-ability-configuration.md) | 是 | 否 | 与UIAbility相关的配置信息,如语言、颜色模式等。 | > **关于示例代码的说明:** @@ -26,6 +26,11 @@ startAbility(want: Want, callback: AsyncCallback<void>): void; 启动Ability(callback形式)。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **参数:** @@ -72,7 +77,7 @@ startAbility(want: Want, callback: AsyncCallback<void>): void; if (error.code) { // 处理业务逻辑错误 console.log('startAbility failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 @@ -80,8 +85,8 @@ startAbility(want: Want, callback: AsyncCallback<void>): void; }); } catch (paramError) { // 处理入参错误异常 - console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + console.log('startAbility failed, error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -91,6 +96,11 @@ startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void& 启动Ability(callback形式)。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **参数:** @@ -130,7 +140,7 @@ startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void& ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", + bundleName: "com.example.myapplication", abilityName: "MainAbility" }; var options = { @@ -142,7 +152,7 @@ startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void& if (error.code) { // 处理业务逻辑错误 console.log('startAbility failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 @@ -151,7 +161,7 @@ startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void& } catch (paramError) { // 处理入参错误异常 console.log('startAbility failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -161,6 +171,11 @@ startAbility(want: Want, options?: StartOptions): Promise<void>; 启动Ability(promise形式)。 +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + **系统能力**:SystemCapability.Ability.AbilityRuntime.Core **参数:** @@ -208,7 +223,7 @@ startAbility(want: Want, options?: StartOptions): Promise<void>; abilityName: "MyAbility" }; var options = { - windowMode: 0, + windowMode: 0, }; try { @@ -220,12 +235,12 @@ startAbility(want: Want, options?: StartOptions): Promise<void>; .catch((error) => { // 处理业务逻辑错误 console.log('startAbility failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); }); } catch (paramError) { // 处理入参错误异常 console.log('startAbility failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -233,7 +248,12 @@ startAbility(want: Want, options?: StartOptions): Promise<void>; startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): void; -启动Ability并在该Ability退出的时候返回执行结果(callback形式)。 +启动一个Ability。Ability被启动后,正常情况下可通过调用[terminateSelfWithResult](#uiabilitycontextterminateselfwithresult)接口使之终止并且返回结果给调用者。异常情况下比如杀死Ability会返回异常信息给调用者(callback形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -273,7 +293,7 @@ startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", + bundleName: "com.example.myapplication", abilityName: "MainAbility" }; @@ -282,17 +302,16 @@ startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): if (error.code) { // 处理业务逻辑错误 console.log('startAbilityForResult failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 - console.log("startAbilityForResult succeed, result.resultCode = " + - result.resultCode) + console.log("startAbilityForResult succeed, result.resultCode = " + result.resultCode) }); } catch (paramError) { // 处理入参错误异常 console.log('startAbilityForResult failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -300,7 +319,12 @@ startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>): startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback<AbilityResult>): void; -启动Ability并在该Ability退出的时候返回执行结果(callback形式)。 +启动一个Ability。Ability被启动后,正常情况下可通过调用[terminateSelfWithResult](#uiabilitycontextterminateselfwithresult)接口使之终止并且返回结果给调用者。异常情况下比如杀死Ability会返回异常信息给调用者(callback形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -341,7 +365,7 @@ startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", + bundleName: "com.example.myapplication", abilityName: "MainAbility" }; var options = { @@ -353,17 +377,16 @@ startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback if (error.code) { // 处理业务逻辑错误 console.log('startAbilityForResult failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 - console.log("startAbilityForResult succeed, result.resultCode = " + - result.resultCode) + console.log("startAbilityForResult succeed, result.resultCode = " + result.resultCode) }); } catch (paramError) { // 处理入参错误异常 - console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + console.log('startAbilityForResult failed, error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -372,7 +395,12 @@ startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityResult>; -启动Ability并在该Ability退出的时候返回执行结果(promise形式)。 +启动一个Ability。Ability被启动后,正常情况下可通过调用[terminateSelfWithResult](#uiabilitycontextterminateselfwithresult)接口使之终止并且返回结果给调用者。异常情况下比如杀死Ability会返回异常信息给调用者(promise形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -418,11 +446,11 @@ startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityRes ```ts var want = { - bundleName: "com.example.myapp", - abilityName: "MyAbility" + bundleName: "com.example.myapplication", + abilityName: "MainAbility" }; var options = { - windowMode: 0, + windowMode: 0, }; try { @@ -434,12 +462,12 @@ startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityRes .catch((error) => { // 处理业务逻辑错误 console.log('startAbilityForResult failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); }); } catch (paramError) { // 处理入参错误异常 - console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + console.log('startAbilityForResult failed, error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -447,9 +475,14 @@ startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityRes startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void; -启动一个Ability并在该Ability帐号销毁时返回执行结果(callback形式)。 +启动一个Ability并在该Ability销毁时返回执行结果(callback形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -493,7 +526,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncC ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", + bundleName: "com.example.myapplication", abilityName: "MainAbility" }; var accountId = 100; @@ -503,17 +536,17 @@ startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncC if (error.code) { // 处理业务逻辑错误 console.log('startAbilityForResultWithAccount failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 console.log("startAbilityForResultWithAccount succeed, result.resultCode = " + - result.resultCode + ' result.want = ' + JSON.stringify(result.want)) + result.resultCode + ' result.want = ' + JSON.stringify(result.want)) }); } catch (paramError) { // 处理入参错误异常 console.log('startAbilityForResultWithAccount failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -524,7 +557,12 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOp 启动一个Ability并在该Ability销毁时返回执行结果(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -569,7 +607,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOp ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", + bundleName: "com.example.myapplication", abilityName: "MainAbility" }; var accountId = 100; @@ -582,17 +620,16 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOp if (error.code) { // 处理业务逻辑错误 console.log('startAbilityForResultWithAccount failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 - console.log("startAbilityForResultWithAccount succeed, result.resultCode = " + - result.resultCode + ' result.want = ' + JSON.stringify(result.want)) + console.log("startAbilityForResultWithAccount succeed") }); } catch (paramError) { // 处理入参错误异常 console.log('startAbilityForResultWithAccount failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -603,7 +640,12 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartO 启动一个Ability并在该Ability销毁时返回执行结果(promise形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) + +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -621,7 +663,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartO | 类型 | 说明 | | -------- | -------- | -| Promise<[AbilityResult](js-apis-inner-ability-abilityResult.md)> | Ability被销毁时的回调函数,包含Ability结果。 | +| Promise<[AbilityResult](js-apis-inner-ability-abilityResult.md)> | Ability被销毁时的回调函数,包含AbilityResult参数。 | **错误码:** @@ -653,7 +695,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartO ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", + bundleName: "com.example.myapplication", abilityName: "MainAbility" }; var accountId = 100; @@ -666,17 +708,17 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartO .then((result) => { // 执行正常业务 console.log("startAbilityForResultWithAccount succeed, result.resultCode = " + - result.resultCode) + result.resultCode) }) .catch((error) => { // 处理业务逻辑错误 console.log('startAbilityForResultWithAccount failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); }); } catch (paramError) { // 处理入参错误异常 - console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + console.log('startAbilityForResultWithAccount failed, error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` ## UIAbilityContext.startServiceExtensionAbility @@ -693,8 +735,8 @@ startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| want | [Want](js-apis-application-want.md) | 是 | 启动Ability的want信息。 | -| callback | AsyncCallback\ | 是 | 启动Ability的回调函数。 | +| want | [Want](js-apis-application-want.md) | 是 | 启动ServiceExtensionAbility的want信息。 | +| callback | AsyncCallback\ | 是 | 启动ServiceExtensionAbility的回调函数。 | **错误码:** @@ -718,8 +760,8 @@ startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void; ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", - abilityName: "MainAbility" + bundleName: "com.example.myapplication", + abilityName: "ServiceExtensionAbility" }; try { @@ -727,7 +769,7 @@ startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void; if (error.code) { // 处理业务逻辑错误 console.log('startServiceExtensionAbility failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 @@ -736,7 +778,7 @@ startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void; } catch (paramError) { // 处理入参错误异常 console.log('startServiceExtensionAbility failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -778,8 +820,8 @@ startServiceExtensionAbility(want: Want): Promise\; ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", - abilityName: "MainAbility" + bundleName: "com.example.myapplication", + abilityName: "ServiceExtensionAbility" }; try { @@ -791,12 +833,12 @@ startServiceExtensionAbility(want: Want): Promise\; .catch((error) => { // 处理业务逻辑错误 console.log('startServiceExtensionAbility failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); }); } catch (paramError) { // 处理入参错误异常 console.log('startServiceExtensionAbility failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -806,7 +848,7 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: 启动一个新的ServiceExtensionAbility(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -816,9 +858,9 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| want | [Want](js-apis-application-want.md) | 是 | 启动Ability的want信息。 | +| want | [Want](js-apis-application-want.md) | 是 | 启动ServiceExtensionAbility的want信息。 | | accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getCreatedOsAccountsCount)。 | -| callback | AsyncCallback\ | 是 | 启动Ability的回调函数。 | +| callback | AsyncCallback\ | 是 | 启动ServiceExtensionAbility的回调函数。 | **错误码:** @@ -839,8 +881,8 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", - abilityName: "MainAbility" + bundleName: "com.example.myapplication", + abilityName: "ServiceExtensionAbility" }; var accountId = 100; @@ -849,7 +891,7 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: if (error.code) { // 处理业务逻辑错误 console.log('startServiceExtensionAbilityWithAccount failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 @@ -858,7 +900,7 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: } catch (paramError) { // 处理入参错误异常 console.log('startServiceExtensionAbilityWithAccount failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -868,7 +910,7 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\ 启动一个新的ServiceExtensionAbility(Promise形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -904,8 +946,8 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\ ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", - abilityName: "MainAbility" + bundleName: "com.example.myapplication", + abilityName: "ServiceExtensionAbility" }; var accountId = 100; @@ -918,12 +960,12 @@ startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\ .catch((error) => { // 处理业务逻辑错误 console.log('startServiceExtensionAbilityWithAccount failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); }); } catch (paramError) { // 处理入参错误异常 console.log('startServiceExtensionAbilityWithAccount failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` ## UIAbilityContext.stopServiceExtensionAbility @@ -940,8 +982,8 @@ stopServiceExtensionAbility(want: Want, callback: AsyncCallback\): void; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| want | [Want](js-apis-application-want.md) | 是 | 启动Ability的want信息。 | -| callback | AsyncCallback\ | 是 | 启动Ability的回调函数。 | +| want | [Want](js-apis-application-want.md) | 是 | 停止ServiceExtensionAbility的want信息。 | +| callback | AsyncCallback\ | 是 | 停止ServiceExtensionAbility的回调函数。 | **错误码:** @@ -962,8 +1004,8 @@ stopServiceExtensionAbility(want: Want, callback: AsyncCallback\): void; ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", - abilityName: "MainAbility" + bundleName: "com.example.myapplication", + abilityName: "ServiceExtensionAbility" }; try { @@ -971,7 +1013,7 @@ stopServiceExtensionAbility(want: Want, callback: AsyncCallback\): void; if (error.code) { // 处理业务逻辑错误 console.log('stopServiceExtensionAbility failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 @@ -980,7 +1022,7 @@ stopServiceExtensionAbility(want: Want, callback: AsyncCallback\): void; } catch (paramError) { // 处理入参错误异常 console.log('stopServiceExtensionAbility failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1019,8 +1061,8 @@ stopServiceExtensionAbility(want: Want): Promise\; ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", - abilityName: "MainAbility" + bundleName: "com.example.myapplication", + abilityName: "ServiceExtensionAbility" }; try { @@ -1032,12 +1074,12 @@ stopServiceExtensionAbility(want: Want): Promise\; .catch((error) => { // 处理业务逻辑错误 console.log('stopServiceExtensionAbility failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); }); } catch (paramError) { // 处理入参错误异常 console.log('stopServiceExtensionAbility failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1047,7 +1089,7 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: 停止同一应用程序内指定账户的服务(callback形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1081,8 +1123,8 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", - abilityName: "MainAbility" + bundleName: "com.example.myapplication", + abilityName: "ServiceExtensionAbility" }; var accountId = 100; @@ -1091,7 +1133,7 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: if (error.code) { // 处理业务逻辑错误 console.log('stopServiceExtensionAbilityWithAccount failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 @@ -1100,7 +1142,7 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: } catch (paramError) { // 处理入参错误异常 console.log('stopServiceExtensionAbilityWithAccount failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1110,7 +1152,7 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\< 停止同一应用程序内指定账户的服务(Promise形式)。 -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1143,8 +1185,8 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\< ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", - abilityName: "MainAbility" + bundleName: "com.example.myapplication", + abilityName: "ServiceExtensionAbility" }; var accountId = 100; @@ -1157,12 +1199,12 @@ stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\< .catch((error) => { // 处理业务逻辑错误 console.log('stopServiceExtensionAbilityWithAccount failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); }); } catch (paramError) { // 处理入参错误异常 console.log('stopServiceExtensionAbilityWithAccount failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1225,7 +1267,7 @@ terminateSelf(): Promise<void>; | 类型 | 说明 | | -------- | -------- | -| Promise<void> | 返回一个Promise,包含接口的结果。 | +| Promise<void> | 停止Ability自身的回调函数。 | **错误码:** @@ -1250,12 +1292,12 @@ terminateSelf(): Promise<void>; .catch((error) => { // 处理业务逻辑错误 console.log('terminateSelf failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); }); } catch (error) { // 捕获同步的参数错误 console.log('terminateSelf failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); } ``` @@ -1264,7 +1306,7 @@ terminateSelf(): Promise<void>; terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback<void>): void; -停止Ability,配合startAbilityForResult使用,返回给接口调用方AbilityResult信息(callback形式)。 +停止当前的Ability。如果该Ability是通过调用[startAbilityForResult](#uiabilitycontextstartabilityforresult)接口被拉起的,调用terminateSelfWithResult接口时会将结果返回给调用者,如果该Ability不是通过调用[startAbilityForResult](#uiabilitycontextstartabilityforresult)接口被拉起的,调用terminateSelfWithResult接口时不会有结果返回给调用者(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1290,8 +1332,8 @@ terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback<voi ```ts var want = { - bundleName: "com.extreme.myapplication", - abilityName: "SecondAbility" + bundleName: "com.example.myapplication", + abilityName: "MainAbility" } var resultCode = 100; // 返回给接口调用方AbilityResult信息 @@ -1305,16 +1347,16 @@ terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback<voi if (error.code) { // 处理业务逻辑错误 console.log('terminateSelfWithResult failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 console.log('terminateSelfWithResult succeed'); }); } catch (paramError) { - // 处理入参错误异常 - console.log('terminateSelfWithResult failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + // 处理入参错误异常 + console.log('terminateSelfWithResult failed, error.code: ' + JSON.stringify(paramError.code) + + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1323,7 +1365,7 @@ terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback<voi terminateSelfWithResult(parameter: AbilityResult): Promise<void>; -停止Ability,配合startAbilityForResult使用,返回给接口调用方AbilityResult信息(promise形式)。 +停止当前的Ability。如果该Ability是通过调用[startAbilityForResult](#uiabilitycontextstartabilityforresult)接口被拉起的,调用terminateSelfWithResult接口时会将结果返回给调用者,如果该Ability不是通过调用[startAbilityForResult](#uiabilitycontextstartabilityforresult)接口被拉起的,调用terminateSelfWithResult接口时不会有结果返回给调用者(promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1355,8 +1397,8 @@ terminateSelfWithResult(parameter: AbilityResult): Promise<void>; ```ts var want = { - bundleName: "com.extreme.myapplication", - abilityName: "SecondAbility" + bundleName: "com.example.myapplication", + abilityName: "MainAbility" } var resultCode = 100; // 返回给接口调用方AbilityResult信息 @@ -1374,12 +1416,12 @@ terminateSelfWithResult(parameter: AbilityResult): Promise<void>; .catch((error) => { // 处理业务逻辑错误 console.log('terminateSelfWithResult failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); }); } catch (paramError) { // 处理入参错误异常 console.log('terminateSelfWithResult failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1397,8 +1439,8 @@ connectServiceExtensionAbility(want: Want, options: ConnectOptions): number; | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| want | [Want](js-apis-application-want.md) | 是 | 启动Ability的want信息。 | -| options | [ConnectOptions](js-apis-inner-ability-connectOptions.md) | 否 | 远端对象实例。 | +| want | [Want](js-apis-application-want.md) | 是 | 连接ServiceExtensionAbility的want信息。 | +| options | [ConnectOptions](js-apis-inner-ability-connectOptions.md) | 是 | 与ServiceExtensionAbility建立连接后回调函数的实例。 | **返回值:** @@ -1423,13 +1465,19 @@ connectServiceExtensionAbility(want: Want, options: ConnectOptions): number; ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", - abilityName: "MainAbility" + bundleName: "com.example.myapplication", + abilityName: "ServiceExtensionAbility" }; var options = { - onConnect(elementName, remote) { console.log('----------- onConnect -----------') }, - onDisconnect(elementName) { console.log('----------- onDisconnect -----------') }, - onFailed(code) { console.log('----------- onFailed -----------') } + onConnect(elementName, remote) { + console.log('----------- onConnect -----------') + }, + onDisconnect(elementName) { + console.log('----------- onDisconnect -----------') + }, + onFailed(code) { + console.log('----------- onFailed -----------') + } } var connection = null; @@ -1438,7 +1486,7 @@ connectServiceExtensionAbility(want: Want, options: ConnectOptions): number; } catch (paramError) { // 处理入参错误异常 console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1449,7 +1497,7 @@ connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options 将当前Ability连接到一个使用AbilityInfo.AbilityType.SERVICE模板的指定account的Ability。 -**需要权限:** ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限:** ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1461,7 +1509,7 @@ connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options | -------- | -------- | -------- | -------- | | want | [Want](js-apis-application-want.md) | 是 | 启动Ability的want信息。 | | accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getCreatedOsAccountsCount)。 | -| options | [ConnectOptions](js-apis-inner-ability-connectOptions.md) | 否 | 远端对象实例。 | +| options | [ConnectOptions](js-apis-inner-ability-connectOptions.md) | 是 | 与ServiceExtensionAbility建立连接后回调函数的实例。。 | **返回值:** @@ -1487,14 +1535,20 @@ connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", - abilityName: "MainAbility" + bundleName: "com.example.myapplication", + abilityName: "ServiceExtensionAbility" }; var accountId = 100; var options = { - onConnect(elementName, remote) { console.log('----------- onConnect -----------') }, - onDisconnect(elementName) { console.log('----------- onDisconnect -----------') }, - onFailed(code) { console.log('----------- onFailed -----------') } + onConnect(elementName, remote) { + console.log('----------- onConnect -----------') + }, + onDisconnect(elementName) { + console.log('----------- onDisconnect -----------') + }, + onFailed(code) { + console.log('----------- onFailed -----------') + } } var connection = null; @@ -1503,7 +1557,7 @@ connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options } catch (paramError) { // 处理入参错误异常 console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1579,7 +1633,7 @@ disconnectServiceExtensionAbility(connection: number, callback:AsyncCallback\ | 是 | 表示指定的回调方法。 | +| callback | AsyncCallback\ | 是 | callback形式返回断开连接的结果。 | **错误码:** @@ -1603,7 +1657,7 @@ disconnectServiceExtensionAbility(connection: number, callback:AsyncCallback\ { - // 处理业务逻辑错误 - console.log('startAbilityByCall failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); - }); + // 处理业务逻辑错误 + console.log('startAbilityByCall failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); + }); } catch (paramError) { // 处理入参错误异常 console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1676,13 +1735,13 @@ startAbilityByCall(want: Want): Promise<Caller>; // 前台启动Ability,将parameters中的"ohos.aafwk.param.callAbilityToForeground"配置为true var wantForeground = { - bundleName: "com.example.myservice", - moduleName: "entry", - abilityName: "MainAbility", - deviceId: "", - parameters: { - "ohos.aafwk.param.callAbilityToForeground": true - } + bundleName: "com.example.myservice", + moduleName: "entry", + abilityName: "MainAbility", + deviceId: "", + parameters: { + "ohos.aafwk.param.callAbilityToForeground": true + } }; try { @@ -1692,14 +1751,14 @@ startAbilityByCall(want: Want): Promise<Caller>; caller = obj; console.log('startAbilityByCall succeed'); }).catch((error) => { - // 处理业务逻辑错误 - console.log('startAbilityByCall failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); - }); + // 处理业务逻辑错误 + console.log('startAbilityByCall failed, error.code: ' + JSON.stringify(error.code) + + ' error.message: ' + JSON.stringify(error.message)); + }); } catch (paramError) { // 处理入参错误异常 console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1707,9 +1766,14 @@ startAbilityByCall(want: Want): Promise<Caller>; startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void; -根据accountId启动Ability(callback形式)。 +根据want和accountId启动Ability(callback形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1753,7 +1817,7 @@ startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\< ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", + bundleName: "com.example.myapplication", abilityName: "MainAbility" }; var accountId = 100; @@ -1763,7 +1827,7 @@ startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\< if (error.code) { // 处理业务逻辑错误 console.log('startAbilityWithAccount failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 @@ -1772,7 +1836,7 @@ startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\< } catch (paramError) { // 处理入参错误异常 console.log('error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1781,9 +1845,14 @@ startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\< startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback\): void; -根据accountId及startOptions启动Ability(callback形式)。 +根据want、accountId及startOptions启动Ability(callback形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1795,7 +1864,7 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca | -------- | -------- | -------- | -------- | | want | [Want](js-apis-application-want.md) | 是 | 启动Ability的want信息。 | | accountId | number | 是 | 系统帐号的帐号ID,详情参考[getCreatedOsAccountsCount](js-apis-osAccount.md#getCreatedOsAccountsCount)。| -| options | [StartOptions](js-apis-app-ability-startOptions.md) | 否 | 启动Ability所携带的参数。 | +| options | [StartOptions](js-apis-app-ability-startOptions.md) | 是 | 启动Ability所携带的参数。 | | callback | AsyncCallback\ | 是 | 启动Ability的回调函数。 | **错误码:** @@ -1828,7 +1897,7 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", + bundleName: "com.example.myapplication", abilityName: "MainAbility" }; var accountId = 100; @@ -1841,7 +1910,7 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca if (error.code) { // 处理业务逻辑错误 console.log('startAbilityWithAccount failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); return; } // 执行正常业务 @@ -1850,7 +1919,7 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca } catch (paramError) { // 处理入参错误异常 console.log('startAbilityWithAccount failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` @@ -1859,9 +1928,14 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\; -根据accountId和startOptions启动Ability(Promise形式)。 +根据want、accountId和startOptions启动Ability(Promise形式)。 + +使用规则: + - 调用方应用位于后台时,使用该接口启动Ability需申请`ohos.permission.START_ABILITIES_FROM_BACKGROUND`权限 + - 目标Ability的visible属性若配置为false,调用方应用需申请`ohos.permission.START_INVISIBLE_ABILITY`权限 + - 组件启动规则详见:[组件启动规则(Stage模型)](../../application-models/component-startup-rules.md) -**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS +**需要权限**: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,当accountId为当前用户时,不需要校验该权限。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -1905,7 +1979,7 @@ startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): ```ts var want = { deviceId: "", - bundleName: "com.extreme.test", + bundleName: "com.example.myapplication", abilityName: "MainAbility" }; var accountId = 100; @@ -1922,80 +1996,15 @@ startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): .catch((error) => { // 处理业务逻辑错误 console.log('startAbilityWithAccount failed, error.code: ' + JSON.stringify(error.code) + - ' error.message: ' + JSON.stringify(error.message)); + ' error.message: ' + JSON.stringify(error.message)); }); } catch (paramError) { // 处理入参错误异常 console.log('startAbilityWithAccount failed, error.code: ' + JSON.stringify(paramError.code) + - ' error.message: ' + JSON.stringify(paramError.message)); + ' error.message: ' + JSON.stringify(paramError.message)); } ``` -## UIAbilityContext.requestPermissionsFromUser - -> **说明:** -> - 该接口自API version 9已废弃。 - -requestPermissionsFromUser(permissions: Array<string>, requestCallback: AsyncCallback<PermissionRequestResult>) : void; - -拉起弹窗请求用户授权(callback形式)。 - -**系统能力**:SystemCapability.Ability.AbilityRuntime.Core - -**参数:** - -| 参数名 | 类型 | 必填 | 说明 | -| -------- | -------- | -------- | -------- | -| permissions | Array<string> | 是 | 权限列表。 | -| callback | AsyncCallback<[PermissionRequestResult](js-apis-inner-application-permissionRequestResult.md)> | 是 | 回调函数,返回接口调用是否成功的结果。 | - -**示例:** - - ```ts - var permissions=['com.example.permission'] - this.context.requestPermissionsFromUser(permissions,(result) => { - console.log('requestPermissionsFromUserresult:' + JSON.stringify(result)); - }); - - ``` - - -## UIAbilityContext.requestPermissionsFromUser - -> **说明:** -> - 该接口自API version 9已废弃。 - -requestPermissionsFromUser(permissions: Array<string>) : Promise<PermissionRequestResult>; - -拉起弹窗请求用户授权(promise形式)。 - -**系统能力**:SystemCapability.Ability.AbilityRuntime.Core - -**参数:** - -| 参数名 | 类型 | 必填 | 说明 | -| -------- | -------- | -------- | -------- | -| permissions | Array<string> | 是 | 权限列表。 | - -**返回值:** - -| 类型 | 说明 | -| -------- | -------- | -| Promise<[PermissionRequestResult](js-apis-inner-application-permissionRequestResult.md)> | 返回一个Promise,包含接口的结果。 | - -**示例:** - - ```ts - var permissions=['com.example.permission'] - this.context.requestPermissionsFromUser(permissions).then((data) => { - console.log('success:' + JSON.stringify(data)); - }).catch((error) => { - console.log('failed:' + JSON.stringify(error)); - }); - - ``` - - ## UIAbilityContext.setMissionLabel setMissionLabel(label: string, callback:AsyncCallback<void>): void; @@ -2015,11 +2024,10 @@ setMissionLabel(label: string, callback:AsyncCallback<void>): void; ```ts this.context.setMissionLabel("test", (result) => { - console.log('requestPermissionsFromUserresult:' + JSON.stringify(result)); + console.log('setMissionLabel:' + JSON.stringify(result)); }); ``` - ## UIAbilityContext.setMissionLabel setMissionLabel(label: string): Promise<void>; @@ -2044,9 +2052,9 @@ setMissionLabel(label: string): Promise<void>; ```ts this.context.setMissionLabel("test").then(() => { - console.log('success'); + console.log('success'); }).catch((error) => { - console.log('failed:' + JSON.stringify(error)); + console.log('failed:' + JSON.stringify(error)); }); ``` ## UIAbilityContext.setMissionIcon @@ -2069,25 +2077,25 @@ setMissionIcon(icon: image.PixelMap, callback:AsyncCallback\): void; **示例:** ```ts - import image from '@ohos.multimedia.image'; - var imagePixelMap; - var color = new ArrayBuffer(0); - var initializationOptions = { - size: { - height: 100, - width: 100 - } - }; - image.createPixelMap(color, initializationOptions) - .then((data) => { - imagePixelMap = data; - }) - .catch((err) => { - console.log('--------- createPixelMap fail, err: ---------', err) - }); - this.context.setMissionIcon(imagePixelMap, (err) => { - console.log('---------- setMissionIcon fail, err: -----------', err); + import image from '@ohos.multimedia.image'; + var imagePixelMap; + var color = new ArrayBuffer(0); + var initializationOptions = { + size: { + height: 100, + width: 100 + } + }; + image.createPixelMap(color, initializationOptions) + .then((data) => { + imagePixelMap = data; }) + .catch((err) => { + console.log('--------- createPixelMap fail, err: ---------', err) + }); + this.context.setMissionIcon(imagePixelMap, (err) => { + console.log('---------- setMissionIcon fail, err: -----------', err); + }) ``` @@ -2116,29 +2124,28 @@ setMissionIcon(icon: image.PixelMap): Promise\; **示例:** ```ts - import image from '@ohos.multimedia.image'; - var imagePixelMap; - var color = new ArrayBuffer(0); - var initializationOptions = { - size: { - height: 100, - width: 100 - } - }; - image.createPixelMap(color, initializationOptions) - .then((data) => { - imagePixelMap = data; - }) - .catch((err) => { - console.log('--------- createPixelMap fail, err: ---------', err) - }); - this.context.setMissionIcon(imagePixelMap) - .then(() => { - console.log('-------------- setMissionIcon success -------------'); - }) - .catch((err) => { - console.log('-------------- setMissionIcon fail, err: -------------', err); - }); + var imagePixelMap; + var color = new ArrayBuffer(0); + var initializationOptions = { + size: { + height: 100, + width: 100 + } + }; + image.createPixelMap(color, initializationOptions) + .then((data) => { + imagePixelMap = data; + }) + .catch((err) => { + console.log('--------- createPixelMap fail, err: ---------', err) + }); + this.context.setMissionIcon(imagePixelMap) + .then(() => { + console.log('-------------- setMissionIcon success -------------'); + }) + .catch((err) => { + console.log('-------------- setMissionIcon fail, err: -------------', err); + }); ``` ## UIAbilityContext.restoreWindowStage @@ -2157,8 +2164,8 @@ restoreWindowStage(localStorage: LocalStorage) : void; **示例:** ```ts - var storage = new LocalStorage(); - this.context.restoreWindowStage(storage); + var storage = new LocalStorage(); + this.context.restoreWindowStage(storage); ``` ## UIAbilityContext.isTerminating @@ -2180,4 +2187,4 @@ isTerminating(): boolean; ```ts var isTerminating = this.context.isTerminating(); console.log('ability state :' + isTerminating); - ``` \ No newline at end of file + ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-wantAgent-triggerInfo.md b/zh-cn/application-dev/reference/apis/js-apis-inner-wantAgent-triggerInfo.md index 4f8c88b6cef94a4cc0fbd79c90c7ccf098ae9ba7..8c0cbdd5ebb961644623f580f009407607935488 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-wantAgent-triggerInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-wantAgent-triggerInfo.md @@ -6,7 +6,7 @@ | 名称 | 类型 | 必填 | 说明 | | ---------- | --- |-------------------- | ----------- | -| code | number | 是 | result code。 | +| code | number | 是 | 提供给目标wantAgent的自定义结果码。 | | want | Want | 否 | Want。 | | permission | string | 否 | 权限定义。 | | extraInfo | {[key: string]: any} | 否 | 额外数据。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-wantAgent-wantAgentInfo.md b/zh-cn/application-dev/reference/apis/js-apis-inner-wantAgent-wantAgentInfo.md index 7228bf96d4552040fc72de80826c082076802b14..3f0d49e87c3a5b80e9ccbfa002caab0de4ce0e9e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-wantAgent-wantAgentInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-wantAgent-wantAgentInfo.md @@ -9,5 +9,5 @@ | wants | Array\ | 是 | 将被执行的动作列表。 | | operationType | wantAgent.OperationType | 是 | 动作类型。 | | requestCode | number | 是 | 使用者定义的一个私有值。 | -| wantAgentFlags | Array<[wantAgent.WantAgentFlags](js-apis-wantAgent.md#WantAgentFlags)> | 否 | 动作执行属性。 | +| wantAgentFlags | Array<[wantAgent.WantAgentFlags](js-apis-app-ability-wantAgent.md#wantagentflags)> | 否 | 动作执行属性。 | | extraInfo | {[key: string]: any} | 否 | 额外数据。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-installer.md b/zh-cn/application-dev/reference/apis/js-apis-installer.md index 21f6661377d5a192e8ab444f7e883797cd2db7ee..6ff03076c5db03c4e37fdfce443f7d4a9fa5740c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-installer.md +++ b/zh-cn/application-dev/reference/apis/js-apis-installer.md @@ -99,7 +99,7 @@ install(hapFilePaths: Array<string>, installParam: InstallParam, callback: | 参数名 | 类型 | 必填 | 说明 | | --------------- | ---------------------------------------------------- | ---- | ------------------------------------------------------------ | -| hapFilePaths | Array<string> | 是 | 存储应用程序包的路径。路径应该是当前应用程序中存放HAP包的数据目录。当传入的路径是一个目录时, 该目录下只能放同一个应用的HAP包,且这些HAP包的签名需要保持一致。 | +| hapFilePaths | Array<string> | 是 | 存储应用程序包的路径。路径应该是当前应用程序中存放HAP的数据目录。当传入的路径是一个目录时, 该目录下只能放同一个应用的HAP,且这些HAP的签名需要保持一致。 | | installParam | [InstallParam](#installparam) | 是 | 指定安装所需的其他参数。 | | callback | AsyncCallback<void> | 是 | 回调函数,安装应用成功,err为undefined,否则为错误对象。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-launcherBundleManager.md b/zh-cn/application-dev/reference/apis/js-apis-launcherBundleManager.md index d7b4f4a09f314cbfdd366606f3226c9e6f4870c7..be132d3f887219bb55d89c63cbd09be6f7b42d59 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-launcherBundleManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-launcherBundleManager.md @@ -29,7 +29,7 @@ getLauncherAbilityInfo(bundleName: string, userId: number, callback: AsyncCallba | 参数名 | 类型 | 必填 | 说明 | | ---------- | ------ | ---- | -------------- | -| bundleName | string | 是 | 应用程序包名称。 | +| bundleName | string | 是 | 应用Bundle名称。 | | userId | number | 是 | 被查询的用户id。| **返回值:** @@ -55,12 +55,13 @@ import launcherBundleManager from '@ohos.bundle.launcherBundleManager'; try { launcherBundleManager.getLauncherAbilityInfo('com.example.demo', 100, (errData, data) => { if (errData !== null) { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); + } else { + console.log("data is " + JSON.stringify(data)); } - console.log("data is " + JSON.stringify(data)); }) } catch (errData) { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); } ``` @@ -80,7 +81,7 @@ getLauncherAbilityInfo(bundleName: string, userId: number) : Promise { console.log("data is " + JSON.stringify(data)); }).catch (errData => { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); }) } catch (errData) { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); } ``` @@ -154,12 +155,13 @@ import launcherBundleManager from '@ohos.bundle.launcherBundleManager'; try { launcherBundleManager.getAllLauncherAbilityInfo(100, (errData, data) => { if (errData !== null) { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); + } else { + console.log("data is " + JSON.stringify(data)); } - console.log("data is " + JSON.stringify(data)); }); } catch (errData) { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); } ``` ## launcherBundlemanager.getAllLauncherAbilityInfo9+ @@ -203,10 +205,10 @@ try { launcherBundleManager.getAllLauncherAbilityInfo(100).then(data => { console.log("data is " + JSON.stringify(data)); }).catch (errData => { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); }); } catch (errData) { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); } ``` @@ -224,7 +226,7 @@ getShortcutInfo(bundleName :string, callback: AsyncCallback { if (errData !== null) { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); + } else { + console.log("data is " + JSON.stringify(data)); } - console.log("data is " + JSON.stringify(data)); }); } catch (errData) { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); } ``` @@ -271,7 +274,7 @@ getShortcutInfo(bundleName : string) : Promise { console.log("data is " + JSON.stringify(data)); }).catch (errData => { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); }); } catch (errData) { - console.log(`errData is errCode:${errData.code} message:${errData.message}`); + console.error(`errData is errCode:${errData.code} message:${errData.message}`); } ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-medialibrary.md b/zh-cn/application-dev/reference/apis/js-apis-medialibrary.md index e2d95fca9f38d2f6a42a933a1f4a0d5ce5b11cb6..7ae6d88fe7ae60eb5e4c879e7ca13acd721d6ac8 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-medialibrary.md +++ b/zh-cn/application-dev/reference/apis/js-apis-medialibrary.md @@ -870,7 +870,7 @@ getActivePeers(): Promise\>; | 类型 | 说明 | | ------------------- | -------------------- | -| Promise\> | 返回获取的所有在线对端设备的PeerInfo | +| Promise\> | 返回获取的所有在线对端设备的PeerInfo | **示例:** @@ -906,7 +906,7 @@ getActivePeers(callback: AsyncCallback\>): void; | 类型 | 说明 | | ------------------- | -------------------- | -| callback: AsyncCallback\> | 返回获取的所有在线对端设备的PeerInfo | +| callback: AsyncCallback\> | 返回获取的所有在线对端设备的PeerInfo | **示例:** @@ -941,7 +941,7 @@ getAllPeers(): Promise\>; | 类型 | 说明 | | ------------------- | -------------------- | -| Promise\> | 返回获取的所有对端设备的PeerInfo | +| Promise\> | 返回获取的所有对端设备的PeerInfo | **示例:** @@ -977,7 +977,7 @@ getAllPeers(callback: AsyncCallback\>): void; | 类型 | 说明 | | ------------------- | -------------------- | -| callback: AsyncCallback\> | 返回获取的所有对端设备的PeerInfo | +| callback: AsyncCallback\> | 返回获取的所有对端设备的PeerInfo | **示例:** @@ -2539,9 +2539,9 @@ async function example() { | 名称 | 类型 | 可读 | 可写 | 说明 | | ----------------------- | ------------------- | ---- | ---- | ------------------------------------------------------------ | -| selections | string | 是 | 是 | 检索条件,使用[FileKey](#filekey8)中的枚举值作为检索条件的列名。示例:
selections: mediaLibrary.FileKey.MEDIA_TYPE + '= ? OR ' +mediaLibrary.FileKey.MEDIA_TYPE + '= ?', | -| selectionArgs | Array<string> | 是 | 是 | 检索条件的值,对应selections中检索条件列的值。
示例:
selectionArgs: [mediaLibrary.MediaType.IMAGE.toString(), mediaLibrary.MediaType.VIDEO.toString()], | -| order | string | 是 | 是 | 检索结果排序方式,使用[FileKey](#filekey8)中的枚举值作为检索结果排序的列,可以用升序或降序排列。示例:
升序排列:order: mediaLibrary.FileKey.DATE_ADDED + " ASC"
降序排列:order: mediaLibrary.FileKey.DATE_ADDED + " DESC" | +| selections | string | 是 | 是 | 检索条件,使用[FileKey](#filekey8)中的枚举值作为检索条件的列名。示例:
selections: mediaLibrary.FileKey.MEDIA_TYPE + '= ? OR ' +mediaLibrary.FileKey.MEDIA_TYPE + '= ?', | +| selectionArgs | Array<string> | 是 | 是 | 检索条件的值,对应selections中检索条件列的值。
示例:
selectionArgs: [mediaLibrary.MediaType.IMAGE.toString(), mediaLibrary.MediaType.VIDEO.toString()], | +| order | string | 是 | 是 | 检索结果排序方式,使用[FileKey](#filekey8)中的枚举值作为检索结果排序的列,可以用升序或降序排列。示例:
升序排列:order: mediaLibrary.FileKey.DATE_ADDED + " ASC"
降序排列:order: mediaLibrary.FileKey.DATE_ADDED + " DESC" | | uri8+ | string | 是 | 是 | 文件URI | | networkId8+ | string | 是 | 是 | 注册设备网络ID | | extendArgs8+ | string | 是 | 是 | 扩展的检索参数,目前没有扩展检索参数 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-mouseevent.md b/zh-cn/application-dev/reference/apis/js-apis-mouseevent.md index 2b99f26abd110a15627dc3fd99e16bd86ed1eb1a..67b1b4b37b205a2325b77a19423400290933d6d9 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-mouseevent.md +++ b/zh-cn/application-dev/reference/apis/js-apis-mouseevent.md @@ -9,7 +9,7 @@ ## 导入模块 ```js -import {Action,Button,Axis,AxisValue,MouseEvent} from '@ohos.multimodalInput.mouseEvent'; +import { Action, Button, Axis, AxisValue, MouseEvent } from '@ohos.multimodalInput.mouseEvent'; ``` ## Action diff --git a/zh-cn/application-dev/reference/apis/js-apis-notification.md b/zh-cn/application-dev/reference/apis/js-apis-notification.md index 0d772942b0f9301f331efc7d5237132f7f530a54..39456887ef353e73755bdf030ab6bdd044e979e7 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-notification.md +++ b/zh-cn/application-dev/reference/apis/js-apis-notification.md @@ -3058,7 +3058,7 @@ Notification.cancelAsBundle(0, representativeBundle, userId, cancelAsBundleCallb cancelAsBundle(id: number, representativeBundle: string, userId: number): Promise\ -代理通知(Promise形式)。 +取消代理通知(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification diff --git a/zh-cn/application-dev/reference/apis/js-apis-notificationManager.md b/zh-cn/application-dev/reference/apis/js-apis-notificationManager.md index ec4eea276e6879f5d95b34f3d03d2b909d0854b5..ced38bbef44fcfbdada48f864713fb317efab672 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-notificationManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-notificationManager.md @@ -22,10 +22,10 @@ publish(request: NotificationRequest, callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------------------------- | ---- | ------------------------------------------- | -| request | [NotificationRequest](#notificationrequest) | 是 | 设置要发布通知内容的NotificationRequest对象。 | -| callback | AsyncCallback\ | 是 | 被指定的回调方法。 | +| request | [NotificationRequest](#notificationrequest) | 是 | 用于设置要发布通知的内容和相关配置信息。 | +| callback | AsyncCallback\ | 是 | 发布通知的回调方法。 | **错误码:** @@ -76,9 +76,9 @@ publish(request: NotificationRequest): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------------------------- | ---- | ------------------------------------------- | -| request | [NotificationRequest](#notificationrequest) | 是 | 设置要发布通知内容的NotificationRequest对象。 | +| request | [NotificationRequest](#notificationrequest) | 是 | 用于设置要发布通知的内容和相关配置信息。 | **错误码:** @@ -94,7 +94,7 @@ publish(request: NotificationRequest): Promise\ **示例:** ```js -//通知Request对象 +// 通知Request对象 var notificationRequest = { notificationId: 1, content: { @@ -107,7 +107,7 @@ var notificationRequest = { } } Notification.publish(notificationRequest).then(() => { - console.info("publish sucess"); + console.info("publish success"); }); ``` @@ -116,7 +116,7 @@ Notification.publish(notificationRequest).then(() => { publish(request: NotificationRequest, userId: number, callback: AsyncCallback\): void -发布通知(callback形式)。 +发布通知给指定的用户(callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -126,10 +126,10 @@ publish(request: NotificationRequest, userId: number, callback: AsyncCallback\ | 是 | 被指定的回调方法。 | **错误码:** @@ -147,7 +147,7 @@ publish(request: NotificationRequest, userId: number, callback: AsyncCallback\ -发布通知(Promise形式)。 +发布通知给指定的用户(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -186,10 +186,10 @@ publish(request: NotificationRequest, userId: number): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | ----------------------------------------- | ---- | ------------------------------------------- | -| request | [NotificationRequest](#notificationrequest) | 是 | 设置要发布通知内容的NotificationRequest对象。 | -| userId | number | 是 | 接收通知用户的Id。 | +| request | [NotificationRequest](#notificationrequest) | 是 | 用于设置要发布通知的内容和相关配置信息。 | +| userId | number | 是 | 用户ID。 | **错误码:** @@ -221,7 +221,7 @@ var notificationRequest = { var userId = 1 Notification.publish(notificationRequest, userId).then(() => { - console.info("publish sucess"); + console.info("publish success"); }); ``` @@ -230,13 +230,13 @@ Notification.publish(notificationRequest, userId).then(() => { cancel(id: number, label: string, callback: AsyncCallback\): void -取消与指定id和label相匹配的已发布通知(callback形式)。 +通过通知ID和通知标签取消已发布的通知(callback形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | -------------------- | | id | number | 是 | 通知ID。 | | label | string | 是 | 通知标签。 | @@ -254,7 +254,7 @@ cancel(id: number, label: string, callback: AsyncCallback\): void **示例:** ```js -//cancel回调 +// cancel回调 function cancelCallback(err) { if (err) { console.info("cancel failed " + JSON.stringify(err)); @@ -271,13 +271,13 @@ Notification.cancel(0, "label", cancelCallback) cancel(id: number, label?: string): Promise\ -取消与指定id相匹配的已发布通知,label可以指定也可以不指定(Promise形式)。 +取消与指定通知ID相匹配的已发布通知,label可以指定也可以不指定(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ----- | ------ | ---- | -------- | | id | number | 是 | 通知ID。 | | label | string | 否 | 通知标签。 | @@ -295,7 +295,7 @@ cancel(id: number, label?: string): Promise\ ```js Notification.cancel(0).then(() => { - console.info("cancel sucess"); + console.info("cancel success"); }); ``` @@ -305,13 +305,13 @@ Notification.cancel(0).then(() => { cancel(id: number, callback: AsyncCallback\): void -取消与指定id相匹配的已发布通知(callback形式)。 +取消与指定通知ID相匹配的已发布通知(callback形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | -------------------- | | id | number | 是 | 通知ID。 | | callback | AsyncCallback\ | 是 | 表示被指定的回调方法。 | @@ -328,7 +328,7 @@ cancel(id: number, callback: AsyncCallback\): void **示例:** ```js -//cancel回调 +// cancel回调 function cancelCallback(err) { if (err) { console.info("cancel failed " + JSON.stringify(err)); @@ -359,14 +359,14 @@ cancelAll(callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | -------------------- | | callback | AsyncCallback\ | 是 | 表示被指定的回调方法。 | **示例:** ```js -//cancel回调 +// cancel回调 function cancelAllCallback(err) { if (err) { console.info("cancelAll failed " + JSON.stringify(err)); @@ -399,7 +399,7 @@ cancelAll(): Promise\ ```js Notification.cancelAll().then(() => { - console.info("cancelAll sucess"); + console.info("cancelAll success"); }); ``` @@ -419,7 +419,7 @@ addSlot(slot: NotificationSlot, callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | -------------------- | | slot | [NotificationSlot](#notificationslot) | 是 | 要创建的通知通道对象。 | | callback | AsyncCallback\ | 是 | 表示被指定的回调方法。 | @@ -435,7 +435,7 @@ addSlot(slot: NotificationSlot, callback: AsyncCallback\): void **示例:** ```js -//addslot回调 +// addslot回调 function addSlotCallBack(err) { if (err) { console.info("addSlot failed " + JSON.stringify(err)); @@ -443,7 +443,7 @@ function addSlotCallBack(err) { console.info("addSlot success"); } } -//通知slot对象 +// 通知slot对象 var notificationSlot = { type: Notification.SlotType.SOCIAL_COMMUNICATION } @@ -466,7 +466,7 @@ addSlot(slot: NotificationSlot): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ---- | ---------------- | ---- | -------------------- | | slot | [NotificationSlot](#notificationslot) | 是 | 要创建的通知通道对象。 | @@ -481,12 +481,12 @@ addSlot(slot: NotificationSlot): Promise\ **示例:** ```js -//通知slot对象 +// 通知slot对象 var notificationSlot = { type: Notification.SlotType.SOCIAL_COMMUNICATION } Notification.addSlot(notificationSlot).then(() => { - console.info("addSlot sucess"); + console.info("addSlot success"); }); ``` @@ -496,13 +496,13 @@ Notification.addSlot(notificationSlot).then(() => { addSlot(type: SlotType, callback: AsyncCallback\): void -创建通知通道(callback形式)。 +创建指定类型的通知通道(callback形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | ---------------------- | | type | [SlotType](#slottype) | 是 | 要创建的通知通道的类型。 | | callback | AsyncCallback\ | 是 | 表示被指定的回调方法。 | @@ -518,7 +518,7 @@ addSlot(type: SlotType, callback: AsyncCallback\): void **示例:** ```js -//addslot回调 +// addslot回调 function addSlotCallBack(err) { if (err) { console.info("addSlot failed " + JSON.stringify(err)); @@ -535,13 +535,13 @@ Notification.addSlot(Notification.SlotType.SOCIAL_COMMUNICATION, addSlotCallBack addSlot(type: SlotType): Promise\ -创建通知通道(Promise形式)。 +创建指定类型的通知通道(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ---- | -------- | ---- | ---------------------- | | type | [SlotType](#slottype) | 是 | 要创建的通知通道的类型。 | @@ -557,7 +557,7 @@ addSlot(type: SlotType): Promise\ ```js Notification.addSlot(Notification.SlotType.SOCIAL_COMMUNICATION).then(() => { - console.info("addSlot sucess"); + console.info("addSlot success"); }); ``` @@ -577,7 +577,7 @@ addSlots(slots: Array\, callback: AsyncCallback\): voi **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------- | ---- | ------------------------ | | slots | Array\<[NotificationSlot](#notificationslot)\> | 是 | 要创建的通知通道对象数组。 | | callback | AsyncCallback\ | 是 | 表示被指定的回调方法。 | @@ -593,7 +593,7 @@ addSlots(slots: Array\, callback: AsyncCallback\): voi **示例:** ```js -//addSlots回调 +// addSlots回调 function addSlotsCallBack(err) { if (err) { console.info("addSlots failed " + JSON.stringify(err)); @@ -601,11 +601,11 @@ function addSlotsCallBack(err) { console.info("addSlots success"); } } -//通知slot对象 +// 通知slot对象 var notificationSlot = { type: Notification.SlotType.SOCIAL_COMMUNICATION } -//通知slot array 对象 +// 通知slot array 对象 var notificationSlotArray = new Array(); notificationSlotArray[0] = notificationSlot; @@ -628,7 +628,7 @@ addSlots(slots: Array\): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ----- | ------------------------- | ---- | ------------------------ | | slots | Array\<[NotificationSlot](#notificationslot)\> | 是 | 要创建的通知通道对象数组。 | @@ -643,16 +643,16 @@ addSlots(slots: Array\): Promise\ **示例:** ```js -//通知slot对象 +// 通知slot对象 var notificationSlot = { type: Notification.SlotType.SOCIAL_COMMUNICATION } -//通知slot array 对象 +// 通知slot array 对象 var notificationSlotArray = new Array(); notificationSlotArray[0] = notificationSlot; Notification.addSlots(notificationSlotArray).then(() => { - console.info("addSlots sucess"); + console.info("addSlots success"); }); ``` @@ -662,15 +662,15 @@ Notification.addSlots(notificationSlotArray).then(() => { getSlot(slotType: SlotType, callback: AsyncCallback\): void -获取一个通知通道(callback形式)。 +获取一个指定类型的通知通道(callback形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------------------- | ---- | ----------------------------------------------------------- | -| slotType | [SlotType](#slottype) | 是 | 通知渠道类型,目前分为社交通信、服务提醒、内容咨询和其他类型。 | +| slotType | [SlotType](#slottype) | 是 | 通知渠道类型,目前分为社交通信、服务提醒、内容咨询和其他类型。 | | callback | AsyncCallback\<[NotificationSlot](#notificationslot)\> | 是 | 表示被指定的回调方法。 | **错误码:** @@ -684,7 +684,7 @@ getSlot(slotType: SlotType, callback: AsyncCallback\): void **示例:** ```js -//getSlot回调 +// getSlot回调 function getSlotCallback(err,data) { if (err) { console.info("getSlot failed " + JSON.stringify(err)); @@ -702,15 +702,15 @@ Notification.getSlot(slotType, getSlotCallback) getSlot(slotType: SlotType): Promise\ -获取一个通知通道(Promise形式)。 +获取一个指定类型的通知通道(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | ---- | ----------------------------------------------------------- | -| slotType | [SlotType](#slottype) | 是 | 通知渠道类型,目前分为社交通信、服务提醒、内容咨询和其他类型。 | +| slotType | [SlotType](#slottype) | 是 | 通知渠道类型,目前分为社交通信、服务提醒、内容咨询和其他类型。 | **返回值:** @@ -731,7 +731,7 @@ getSlot(slotType: SlotType): Promise\ ```js var slotType = Notification.SlotType.SOCIAL_COMMUNICATION; Notification.getSlot(slotType).then((data) => { - console.info("getSlot sucess, data: " + JSON.stringify(data)); + console.info("getSlot success, data: " + JSON.stringify(data)); }); ``` @@ -747,9 +747,9 @@ getSlots(callback: AsyncCallback>): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------------------- | ---- | -------------------- | -| callback | AsyncCallback\\> | 是 | 表示被指定的回调方法。 | +| callback | AsyncCallback\\> | 是 | 以callback形式返回获取此应用程序的所有通知通道的结果。 | **错误码:** @@ -762,7 +762,7 @@ getSlots(callback: AsyncCallback>): void **示例:** ```js -//getSlots回调 +// getSlots回调 function getSlotsCallback(err,data) { if (err) { console.info("getSlots failed " + JSON.stringify(err)); @@ -801,7 +801,7 @@ getSlots(): Promise\> ```js Notification.getSlots().then((data) => { - console.info("getSlots sucess, data: " + JSON.stringify(data)); + console.info("getSlots success, data: " + JSON.stringify(data)); }); ``` @@ -811,13 +811,13 @@ Notification.getSlots().then((data) => { removeSlot(slotType: SlotType, callback: AsyncCallback\): void -根据通知通道类型删除创建的通知通道(callback形式)。 +删除指定类型的通知通道(callback形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | ----------------------------------------------------------- | | slotType | [SlotType](#slottype) | 是 | 通知渠道类型,目前分为社交通信、服务提醒、内容咨询和其他类型。 | | callback | AsyncCallback\ | 是 | 表示被指定的回调方法。 | @@ -833,7 +833,7 @@ removeSlot(slotType: SlotType, callback: AsyncCallback\): void **示例:** ```js -//removeSlot回调 +// removeSlot回调 function removeSlotCallback(err) { if (err) { console.info("removeSlot failed " + JSON.stringify(err)); @@ -851,13 +851,13 @@ Notification.removeSlot(slotType,removeSlotCallback) removeSlot(slotType: SlotType): Promise\ -根据通知通道类型删除创建的通知通道(Promise形式)。 +删除指定类型的通知通道(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | ---- | ----------------------------------------------------------- | | slotType | [SlotType](#slottype) | 是 | 通知渠道类型,目前分为社交通信、服务提醒、内容咨询和其他类型。 | @@ -874,7 +874,7 @@ removeSlot(slotType: SlotType): Promise\ ```js var slotType = Notification.SlotType.SOCIAL_COMMUNICATION; Notification.removeSlot(slotType).then(() => { - console.info("removeSlot sucess"); + console.info("removeSlot success"); }); ``` @@ -890,7 +890,7 @@ removeAllSlots(callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | -------------------- | | callback | AsyncCallback\ | 是 | 表示被指定的回调方法。 | @@ -937,7 +937,7 @@ removeAllSlots(): Promise\ ```js Notification.removeAllSlots().then(() => { - console.info("removeAllSlots sucess"); + console.info("removeAllSlots success"); }); ``` @@ -947,7 +947,7 @@ Notification.removeAllSlots().then(() => { setNotificationEnable(bundle: BundleOption, enable: boolean, callback: AsyncCallback\): void -设定指定包的通知使能状态(Callback形式)。 +设定指定应用的通知使能状态(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -957,9 +957,9 @@ setNotificationEnable(bundle: BundleOption, enable: boolean, callback: AsyncCall **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | -------------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | | enable | boolean | 是 | 使能状态。 | | callback | AsyncCallback\ | 是 | 设定通知使能回调函数。 | @@ -994,7 +994,7 @@ Notification.setNotificationEnable(bundle, false, setNotificationEnablenCallback setNotificationEnable(bundle: BundleOption, enable: boolean): Promise\ -设定指定包的通知使能状态(Promise形式)。 +设定指定应用的通知使能状态(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1004,9 +1004,9 @@ setNotificationEnable(bundle: BundleOption, enable: boolean): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | | enable | boolean | 是 | 使能状态。 | **错误码:** @@ -1025,7 +1025,7 @@ var bundle = { bundle: "bundleName1", } Notification.setNotificationEnable(bundle, false).then(() => { - console.info("setNotificationEnable sucess"); + console.info("setNotificationEnable success"); }); ``` @@ -1035,7 +1035,7 @@ Notification.setNotificationEnable(bundle, false).then(() => { isNotificationEnabled(bundle: BundleOption, callback: AsyncCallback\): void -获取指定包的通知使能状态(Callback形式)。 +获取指定应用的通知使能状态(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1045,9 +1045,9 @@ isNotificationEnabled(bundle: BundleOption, callback: AsyncCallback\): **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | ------------------------ | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | | callback | AsyncCallback\ | 是 | 获取通知使能状态回调函数。 | **错误码:** @@ -1081,7 +1081,7 @@ Notification.isNotificationEnabled(bundle, isNotificationEnabledCallback); isNotificationEnabled(bundle: BundleOption): Promise\ -获取指定包的通知使能状态(Promise形式)。 +获取指定应用的通知使能状态(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1091,15 +1091,15 @@ isNotificationEnabled(bundle: BundleOption): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | **返回值:** -| 类型 | 说明 | -| ----------------------------------------------------------- | ------------------------------------------------------------ | -| Promise\ | 以Promise形式返回获取指定包的通知使能状态的结果。 | +| 类型 | 说明 | +| ------------------ | --------------------------------------------------- | +| Promise\ | 以Promise形式返回获取指定应用的通知使能状态的结果。 | **错误码:** @@ -1117,7 +1117,7 @@ var bundle = { bundle: "bundleName1", } Notification.isNotificationEnabled(bundle).then((data) => { - console.info("isNotificationEnabled sucess, data: " + JSON.stringify(data)); + console.info("isNotificationEnabled success, data: " + JSON.stringify(data)); }); ``` @@ -1137,7 +1137,7 @@ isNotificationEnabled(callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | ------------------------ | | callback | AsyncCallback\ | 是 | 获取通知使能状态回调函数。 | @@ -1179,9 +1179,9 @@ isNotificationEnabled(): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | **返回值:** @@ -1202,7 +1202,7 @@ isNotificationEnabled(): Promise\ ```js Notification.isNotificationEnabled().then((data) => { - console.info("isNotificationEnabled sucess, data: " + JSON.stringify(data)); + console.info("isNotificationEnabled success, data: " + JSON.stringify(data)); }); ``` @@ -1212,7 +1212,7 @@ Notification.isNotificationEnabled().then((data) => { displayBadge(bundle: BundleOption, enable: boolean, callback: AsyncCallback\): void -设定指定包的角标使能状态(Callback形式)。 +设定指定应用的角标使能状态(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1222,9 +1222,9 @@ displayBadge(bundle: BundleOption, enable: boolean, callback: AsyncCallback\ | 是 | 设定角标使能回调函数。 | @@ -1259,7 +1259,7 @@ Notification.displayBadge(bundle, false, displayBadgeCallback); displayBadge(bundle: BundleOption, enable: boolean): Promise\ -设定指定包的角标使能状态(Promise形式)。 +设定指定应用的角标使能状态(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1269,9 +1269,9 @@ displayBadge(bundle: BundleOption, enable: boolean): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | | enable | boolean | 是 | 使能状态。 | **错误码:** @@ -1290,7 +1290,7 @@ var bundle = { bundle: "bundleName1", } Notification.displayBadge(bundle, false).then(() => { - console.info("displayBadge sucess"); + console.info("displayBadge success"); }); ``` @@ -1300,7 +1300,7 @@ Notification.displayBadge(bundle, false).then(() => { isBadgeDisplayed(bundle: BundleOption, callback: AsyncCallback\): void -获取指定包的角标使能状态(Callback形式)。 +获取指定应用的角标使能状态(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1310,9 +1310,9 @@ isBadgeDisplayed(bundle: BundleOption, callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | ------------------------ | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | | callback | AsyncCallback\ | 是 | 获取角标使能状态回调函数。 | **错误码:** @@ -1346,7 +1346,7 @@ Notification.isBadgeDisplayed(bundle, isBadgeDisplayedCallback); isBadgeDisplayed(bundle: BundleOption): Promise\ -获取指定包的角标使能状态(Promise形式)。 +获取指定应用的角标使能状态(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1356,15 +1356,15 @@ isBadgeDisplayed(bundle: BundleOption): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | **返回值:** | 类型 | 说明 | | ----------------------------------------------------------- | ------------------------------------------------------------ | -| Promise\ | 以Promise形式返回获取指定包的角标使能状态。 | +| Promise\ | 以Promise形式返回获取指定应用的角标使能状态。 | **错误码:** @@ -1382,7 +1382,7 @@ var bundle = { bundle: "bundleName1", } Notification.isBadgeDisplayed(bundle).then((data) => { - console.info("isBadgeDisplayed sucess, data: " + JSON.stringify(data)); + console.info("isBadgeDisplayed success, data: " + JSON.stringify(data)); }); ``` @@ -1392,7 +1392,7 @@ Notification.isBadgeDisplayed(bundle).then((data) => { setSlotByBundle(bundle: BundleOption, slot: NotificationSlot, callback: AsyncCallback\): void -设定指定包的通知通道状态(Callback形式)。 +设定指定应用的通知通道(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1402,9 +1402,9 @@ setSlotByBundle(bundle: BundleOption, slot: NotificationSlot, callback: AsyncCal **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | -------------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | | slot | [NotificationSlot](#notificationslot) | 是 | 通知通道。 | | callback | AsyncCallback\ | 是 | 设定通知通道回调函数。 | @@ -1444,7 +1444,7 @@ Notification.setSlotByBundle(bundle, notificationSlot, setSlotByBundleCallback); setSlotByBundle(bundle: BundleOption, slot: NotificationSlot): Promise\ -设定指定包的通知通道状态(Promise形式)。 +设定指定应用的通知通道(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1454,10 +1454,10 @@ setSlotByBundle(bundle: BundleOption, slot: NotificationSlot): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | -| slot | [NotificationSlot](#notificationslot) | 是 | 使能状态。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | +| slot | [NotificationSlot](#notificationslot) | 是 | 通知通道。 | **错误码:** @@ -1478,7 +1478,7 @@ var notificationSlot = { type: Notification.SlotType.SOCIAL_COMMUNICATION } Notification.setSlotByBundle(bundle, notificationSlot).then(() => { - console.info("setSlotByBundle sucess"); + console.info("setSlotByBundle success"); }); ``` @@ -1488,7 +1488,7 @@ Notification.setSlotByBundle(bundle, notificationSlot).then(() => { getSlotsByBundle(bundle: BundleOption, callback: AsyncCallback>): void -获取指定包的通知通道(Callback形式)。 +获取指定应用的所有通知通道(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1498,9 +1498,9 @@ getSlotsByBundle(bundle: BundleOption, callback: AsyncCallback> | 是 | 获取通知通道回调函数。 | **错误码:** @@ -1534,7 +1534,7 @@ Notification.getSlotsByBundle(bundle, getSlotsByBundleCallback); getSlotsByBundle(bundle: BundleOption): Promise> -获取指定包的通知通道(Promise形式)。 +获取指定应用的所有通知通道(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1544,15 +1544,15 @@ getSlotsByBundle(bundle: BundleOption): Promise> **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | **返回值:** | 类型 | 说明 | | ----------------------------------------------------------- | ------------------------------------------------------------ | -| Promise> | 以Promise形式返回获取指定包的通知通道。 | +| Promise> | 以Promise形式返回获取指定应用的通知通道。 | **错误码:** @@ -1570,7 +1570,7 @@ var bundle = { bundle: "bundleName1", } Notification.getSlotsByBundle(bundle).then((data) => { - console.info("getSlotsByBundle sucess, data: " + JSON.stringify(data)); + console.info("getSlotsByBundle success, data: " + JSON.stringify(data)); }); ``` @@ -1580,7 +1580,7 @@ Notification.getSlotsByBundle(bundle).then((data) => { getSlotNumByBundle(bundle: BundleOption, callback: AsyncCallback\): void -获取指定包的通知通道数(Callback形式)。 +获取指定应用的通知通道数量(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1590,10 +1590,10 @@ getSlotNumByBundle(bundle: BundleOption, callback: AsyncCallback\): voi **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------- | ---- | ---------------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | -| callback | AsyncCallback\ | 是 | 获取通知通道数回调函数。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | +| callback | AsyncCallback\ | 是 | 获取通知通道数量回调函数。 | **错误码:** @@ -1626,7 +1626,7 @@ Notification.getSlotNumByBundle(bundle, getSlotNumByBundleCallback); getSlotNumByBundle(bundle: BundleOption): Promise\ -获取指定包的通知通道数(Promise形式)。 +获取指定应用的通知通道数量(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1636,15 +1636,15 @@ getSlotNumByBundle(bundle: BundleOption): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | **返回值:** | 类型 | 说明 | | ----------------------------------------------------------- | ------------------------------------------------------------ | -| Promise\ | 以Promise形式返回获取指定包的通知通道数。 | +| Promise\ | 以Promise形式返回获取指定应用的通知通道数量。 | **错误码:** @@ -1662,7 +1662,7 @@ var bundle = { bundle: "bundleName1", } Notification.getSlotNumByBundle(bundle).then((data) => { - console.info("getSlotNumByBundle sucess, data: " + JSON.stringify(data)); + console.info("getSlotNumByBundle success, data: " + JSON.stringify(data)); }); ``` @@ -1673,7 +1673,7 @@ Notification.getSlotNumByBundle(bundle).then((data) => { getAllActiveNotifications(callback: AsyncCallback>): void -获取活动通知(Callback形式)。 +获取当前未删除的所有通知(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1683,7 +1683,7 @@ getAllActiveNotifications(callback: AsyncCallback>) **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------------------------------------------ | ---- | -------------------- | | callback | AsyncCallback> | 是 | 获取活动通知回调函数。 | @@ -1715,7 +1715,7 @@ Notification.getAllActiveNotifications(getAllActiveNotificationsCallback); getAllActiveNotifications(): Promise\\> -获取活动通知(Promise形式)。 +获取当前未删除的所有通知(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1741,7 +1741,7 @@ getAllActiveNotifications(): Promise\ { - console.info("getAllActiveNotifications sucess, data: " + JSON.stringify(data)); + console.info("getAllActiveNotifications success, data: " + JSON.stringify(data)); }); ``` @@ -1751,15 +1751,15 @@ Notification.getAllActiveNotifications().then((data) => { getActiveNotificationCount(callback: AsyncCallback\): void -获取当前应用的活动通知数(Callback形式)。 +获取当前应用未删除的通知数(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | ---------------------- | ---- | ---------------------- | -| callback | AsyncCallback\ | 是 | 获取活动通知数回调函数。 | +| callback | AsyncCallback\ | 是 | 获取未删除通知数回调函数。 | **错误码:** @@ -1789,15 +1789,15 @@ Notification.getActiveNotificationCount(getActiveNotificationCountCallback); getActiveNotificationCount(): Promise\ -获取当前应用的活动通知数(Promise形式)。 +获取当前应用未删除的通知数(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification **返回值:** -| 类型 | 说明 | -| ----------------------------------------------------------- | ------------------------------------------------------------ | -| Promise\ | 以Promise形式返回获取当前应用的活动通知数。 | +| 类型 | 说明 | +| ----------------- | ------------------------------------------- | +| Promise\ | 以Promise形式返回获取当前应用未删除通知数。 | **错误码:** @@ -1811,7 +1811,7 @@ getActiveNotificationCount(): Promise\ ```js Notification.getActiveNotificationCount().then((data) => { - console.info("getActiveNotificationCount sucess, data: " + JSON.stringify(data)); + console.info("getActiveNotificationCount success, data: " + JSON.stringify(data)); }); ``` @@ -1821,15 +1821,15 @@ Notification.getActiveNotificationCount().then((data) => { getActiveNotifications(callback: AsyncCallback>): void -获取当前应用的活动通知(Callback形式)。 +获取当前应用未删除的通知列表(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------------------------------------------ | ---- | ------------------------------ | -| callback | AsyncCallback> | 是 | 获取当前应用的活动通知回调函数。 | +| callback | AsyncCallback> | 是 | 获取当前应用通知列表回调函数。 | **错误码:** @@ -1859,15 +1859,15 @@ Notification.getActiveNotifications(getActiveNotificationsCallback); getActiveNotifications(): Promise\\> -获取当前应用的活动通知(Promise形式)。 +获取当前应用未删除的通知列表(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification **返回值:** -| 类型 | 说明 | -| ----------------------------------------------------------- | ------------------------------------------------------------ | -| Promise\\> | 以Promise形式返回获取当前应用的活动通知。 | +| 类型 | 说明 | +| ------------------------------------------------------------ | --------------------------------------- | +| Promise\\> | 以Promise形式返回获取当前应用通知列表。 | **错误码:** @@ -1881,7 +1881,7 @@ getActiveNotifications(): Promise\ { - console.info("removeGroupByBundle sucess, data: " + JSON.stringify(data)); + console.info("removeGroupByBundle success, data: " + JSON.stringify(data)); }); ``` @@ -1891,16 +1891,16 @@ Notification.getActiveNotifications().then((data) => { cancelGroup(groupName: string, callback: AsyncCallback\): void -取消本应用指定组通知(Callback形式)。 +取消本应用指定组下的通知(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | --------- | --------------------- | ---- | ---------------------------- | -| groupName | string | 是 | 指定通知组名称。 | -| callback | AsyncCallback\ | 是 | 取消本应用指定组通知回调函数。 | +| groupName | string | 是 | 通知组名称,此名称需要在发布通知时通过[NotificationRequest](#notificationrequest)对象指定。 | +| callback | AsyncCallback\ | 是 | 取消本应用指定组下通知的回调函数。 | **错误码:** @@ -1932,15 +1932,15 @@ Notification.cancelGroup(groupName, cancelGroupCallback); cancelGroup(groupName: string): Promise\ -取消本应用指定组通知(Promise形式)。 +取消本应用指定组下的通知(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | --------- | ------ | ---- | -------------- | -| groupName | string | 是 | 指定通知组名称。 | +| groupName | string | 是 | 通知组名称。 | **错误码:** @@ -1955,7 +1955,7 @@ cancelGroup(groupName: string): Promise\ ```js var groupName = "GroupName"; Notification.cancelGroup(groupName).then(() => { - console.info("cancelGroup sucess"); + console.info("cancelGroup success"); }); ``` @@ -1965,7 +1965,7 @@ Notification.cancelGroup(groupName).then(() => { removeGroupByBundle(bundle: BundleOption, groupName: string, callback: AsyncCallback\): void -删除指定应用指定组通知(Callback形式)。 +删除指定应用的指定组下的通知(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -1975,11 +1975,11 @@ removeGroupByBundle(bundle: BundleOption, groupName: string, callback: AsyncCall **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | --------- | --------------------- | ---- | ---------------------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | -| groupName | string | 是 | 指定通知组名称。 | -| callback | AsyncCallback\ | 是 | 删除本应用指定组通知回调函数。 | +| bundle | [BundleOption](#bundleoption) | 是 | 应用的包信息。 | +| groupName | string | 是 | 通知组名称。 | +| callback | AsyncCallback\ | 是 | 删除指定应用指定组下通知的回调函数。 | **错误码:** @@ -2013,7 +2013,7 @@ Notification.removeGroupByBundle(bundleOption, groupName, removeGroupByBundleCal removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\ -删除指定应用指定组通知(Promise形式)。 +删除指定应用的指定组下的通知(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2023,10 +2023,10 @@ removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | --------- | ------------ | ---- | -------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | -| groupName | string | 是 | 指定通知组名称。 | +| bundle | [BundleOption](#bundleoption) | 是 | 应用的包信息。 | +| groupName | string | 是 | 通知组名称。 | **错误码:** @@ -2043,7 +2043,7 @@ removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\ var bundleOption = {bundle: "Bundle"}; var groupName = "GroupName"; Notification.removeGroupByBundle(bundleOption, groupName).then(() => { - console.info("removeGroupByBundle sucess"); + console.info("removeGroupByBundle success"); }); ``` @@ -2063,7 +2063,7 @@ setDoNotDisturbDate(date: DoNotDisturbDate, callback: AsyncCallback\): vo **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | ---------------------- | | date | [DoNotDisturbDate](#donotdisturbdate) | 是 | 免打扰时间选项。 | | callback | AsyncCallback\ | 是 | 设置免打扰时间回调函数。 | @@ -2102,7 +2102,7 @@ Notification.setDoNotDisturbDate(doNotDisturbDate, setDoNotDisturbDateCallback); setDoNotDisturbDate(date: DoNotDisturbDate): Promise\ -设置免打扰时间接口(Promise形式)。 +设置免打扰时间(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2112,7 +2112,7 @@ setDoNotDisturbDate(date: DoNotDisturbDate): Promise\ **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | ---- | ---------------- | ---- | -------------- | | date | [DoNotDisturbDate](#donotdisturbdate) | 是 | 免打扰时间选项。 | @@ -2133,7 +2133,7 @@ var doNotDisturbDate = { end: new Date(2021, 11, 15, 18, 0) } Notification.setDoNotDisturbDate(doNotDisturbDate).then(() => { - console.info("setDoNotDisturbDate sucess"); + console.info("setDoNotDisturbDate success"); }); ``` @@ -2152,10 +2152,10 @@ setDoNotDisturbDate(date: DoNotDisturbDate, userId: number, callback: AsyncCallb **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | ---------------------- | | date | [DoNotDisturbDate](#donotdisturbdate) | 是 | 免打扰时间选项。 | -| userId | number | 是 | 设置免打扰事件的用户ID。 | +| userId | number | 是 | 设置免打扰时间的用户ID。 | | callback | AsyncCallback\ | 是 | 设置免打扰时间回调函数。 | **错误码:** @@ -2195,7 +2195,7 @@ Notification.setDoNotDisturbDate(doNotDisturbDate, userId, setDoNotDisturbDateCa setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\ -指定用户设置免打扰时间接口(Promise形式)。 +指定用户设置免打扰时间(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2205,10 +2205,10 @@ setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\ **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ---------------- | ---- | -------------- | | date | [DoNotDisturbDate](#donotdisturbdate) | 是 | 免打扰时间选项。 | -| userId | number | 是 | 设置免打扰事件的用户ID。 | +| userId | number | 是 | 设置免打扰时间的用户ID。 | **错误码:** @@ -2231,7 +2231,7 @@ var doNotDisturbDate = { var userId = 1 Notification.setDoNotDisturbDate(doNotDisturbDate, userId).then(() => { - console.info("setDoNotDisturbDate sucess"); + console.info("setDoNotDisturbDate success"); }); ``` @@ -2240,7 +2240,7 @@ Notification.setDoNotDisturbDate(doNotDisturbDate, userId).then(() => { getDoNotDisturbDate(callback: AsyncCallback\): void -查询免打扰时间接口(Callback形式)。 +查询免打扰时间(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2250,7 +2250,7 @@ getDoNotDisturbDate(callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------------------- | ---- | ---------------------- | | callback | AsyncCallback\<[DoNotDisturbDate](#donotdisturbdate)\> | 是 | 查询免打扰时间回调函数。 | @@ -2282,7 +2282,7 @@ Notification.getDoNotDisturbDate(getDoNotDisturbDateCallback); getDoNotDisturbDate(): Promise\ -查询免打扰时间接口(Promise形式)。 +查询免打扰时间(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2294,7 +2294,7 @@ getDoNotDisturbDate(): Promise\ | 类型 | 说明 | | ------------------------------------------------ | ----------------------------------------- | -| Promise\<[DoNotDisturbDate](#donotdisturbdate)\> | 以Promise形式返回获取查询免打扰时间接口。 | +| Promise\<[DoNotDisturbDate](#donotdisturbdate)\> | 以Promise形式返回获取查询到的免打扰时间。 | **错误码:** @@ -2308,7 +2308,7 @@ getDoNotDisturbDate(): Promise\ ```js Notification.getDoNotDisturbDate().then((data) => { - console.info("getDoNotDisturbDate sucess, data: " + JSON.stringify(data)); + console.info("getDoNotDisturbDate success, data: " + JSON.stringify(data)); }); ``` @@ -2317,7 +2317,7 @@ Notification.getDoNotDisturbDate().then((data) => { getDoNotDisturbDate(userId: number, callback: AsyncCallback\): void -指定用户查询免打扰时间接口(Callback形式)。 +查询指定用户的免打扰时间(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2327,10 +2327,10 @@ getDoNotDisturbDate(userId: number, callback: AsyncCallback\) **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------------------- | ---- | ---------------------- | | callback | AsyncCallback\<[DoNotDisturbDate](#donotdisturbdate)\> | 是 | 查询免打扰时间回调函数。 | -| userId | number | 是 | 设置免打扰事件的用户ID。 | +| userId | number | 是 | 用户ID。 | **错误码:** @@ -2363,7 +2363,7 @@ Notification.getDoNotDisturbDate(userId, getDoNotDisturbDateCallback); getDoNotDisturbDate(userId: number): Promise\ -指定用户查询免打扰时间接口(Promise形式)。 +查询指定用户的免打扰时间(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2373,15 +2373,15 @@ getDoNotDisturbDate(userId: number): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------------------- | ---- | ---------------------- | -| userId | number | 是 | 设置免打扰事件的用户ID。 | +| userId | number | 是 | 用户ID。 | **返回值:** | 类型 | 说明 | | ------------------------------------------------ | ----------------------------------------- | -| Promise\<[DoNotDisturbDate](#donotdisturbdate)\> | 以Promise形式返回获取查询免打扰时间接口。 | +| Promise\<[DoNotDisturbDate](#donotdisturbdate)\> | 以Promise形式返回获取查询到的免打扰时间。 | **错误码:** @@ -2398,7 +2398,7 @@ getDoNotDisturbDate(userId: number): Promise\ var userId = 1 Notification.getDoNotDisturbDate(userId).then((data) => { - console.info("getDoNotDisturbDate sucess, data: " + JSON.stringify(data)); + console.info("getDoNotDisturbDate success, data: " + JSON.stringify(data)); }); ``` @@ -2407,7 +2407,7 @@ Notification.getDoNotDisturbDate(userId).then((data) => { supportDoNotDisturbMode(callback: AsyncCallback\): void -查询是否支持勿扰模式功能(Callback形式)。 +查询是否支持免打扰功能(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2417,9 +2417,9 @@ supportDoNotDisturbMode(callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------ | ---- | -------------------------------- | -| callback | AsyncCallback\ | 是 | 查询是否支持勿扰模式功能回调函数。 | +| callback | AsyncCallback\ | 是 | 查询是否支持免打扰功能回调函数。 | **错误码:** @@ -2461,7 +2461,7 @@ supportDoNotDisturbMode(): Promise\ | 类型 | 说明 | | ----------------------------------------------------------- | ------------------------------------------------------------ | -| Promise\ | 以Promise形式返回获取是否支持勿扰模式功能的结果。 | +| Promise\ | 以Promise形式返回获取是否支持免打扰功能的结果。 | **错误码:** @@ -2475,7 +2475,7 @@ supportDoNotDisturbMode(): Promise\ ```js Notification.supportDoNotDisturbMode().then((data) => { - console.info("supportDoNotDisturbMode sucess, data: " + JSON.stringify(data)); + console.info("supportDoNotDisturbMode success, data: " + JSON.stringify(data)); }); ``` @@ -2620,10 +2620,9 @@ requestEnableNotification(): Promise\ **示例:** ```javascript -Notification.requestEnableNotification() - .then(() => { - console.info("requestEnableNotification sucess"); - }); +Notification.requestEnableNotification().then(() => { + console.info("requestEnableNotification success"); +}); ``` @@ -2644,7 +2643,7 @@ setDistributedEnable(enable: boolean, callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------ | ---- | -------------------------- | -| enable | boolean | 是 | 是否支持。
true 支持。
false 不支持。| +| enable | boolean | 是 | 是否支持。 | | callback | AsyncCallback\ | 是 | 设置设备是否支持分布式通知的回调函数。 | **错误码:** @@ -2690,7 +2689,7 @@ setDistributedEnable(enable: boolean): Promise\ | 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------ | ---- | -------------------------- | -| enable | boolean | 是 | 是否支持。
true 支持。
false 不支持。| +| enable | boolean | 是 | 是否支持。 | **错误码:** @@ -2706,9 +2705,8 @@ setDistributedEnable(enable: boolean): Promise\ ```javascript var enable = true -Notification.setDistributedEnable(enable) - .then(() => { - console.info("setDistributedEnable sucess"); +Notification.setDistributedEnable(enable).then(() => { + console.info("setDistributedEnable success"); }); ``` @@ -2717,7 +2715,7 @@ Notification.setDistributedEnable(enable) isDistributedEnabled(callback: AsyncCallback\): void -获取设备是否支持分布式通知(Callback形式)。 +查询设备是否支持分布式通知(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2739,11 +2737,11 @@ isDistributedEnabled(callback: AsyncCallback\): void **示例:** ```javascript -function isDistributedEnabledCallback(err) { +function isDistributedEnabledCallback(err, data) { if (err) { console.info("isDistributedEnabled failed " + JSON.stringify(err)); } else { - console.info("isDistributedEnabled success"); + console.info("isDistributedEnabled success " + JSON.stringify(data)); } }; @@ -2756,15 +2754,15 @@ Notification.isDistributedEnabled(isDistributedEnabledCallback); isDistributedEnabled(): Promise\ -获取设备是否支持分布式通知(Promise形式)。 +查询设备是否支持分布式通知(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification **返回值:** -| 类型 | 说明 | -| ------------------ | --------------- | -| Promise\ | Promise方式返回设备是否支持分布式通知的结果。
true 支持。
false 不支持。 | +| 类型 | 说明 | +| ------------------ | --------------------------------------------- | +| Promise\ | Promise方式返回设备是否支持分布式通知的结果。 | **错误码:** @@ -2780,7 +2778,7 @@ isDistributedEnabled(): Promise\ ```javascript Notification.isDistributedEnabled() .then((data) => { - console.info("isDistributedEnabled sucess, data: " + JSON.stringify(data)); + console.info("isDistributedEnabled success, data: " + JSON.stringify(data)); }); ``` @@ -2789,7 +2787,7 @@ Notification.isDistributedEnabled() setDistributedEnableByBundle(bundle: BundleOption, enable: boolean, callback: AsyncCallback\): void -根据应用的包设置应用程序是否支持分布式通知(Callback形式)。 +设置指定应用是否支持分布式通知(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2801,7 +2799,7 @@ setDistributedEnableByBundle(bundle: BundleOption, enable: boolean, callback: As | 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------ | ---- | -------------------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 应用的包。 | +| bundle | [BundleOption](#bundleoption) | 是 | 应用的包信息。 | | enable | boolean | 是 | 是否支持。 | | callback | AsyncCallback\ | 是 | 应用程序是否支持分布式通知的回调函数。 | @@ -2841,7 +2839,7 @@ Notification.setDistributedEnableByBundle(bundle, enable, setDistributedEnableBy setDistributedEnableByBundle(bundle: BundleOption, enable: boolean): Promise\ -根据应用的包设置应用程序是否支持分布式通知(Promise形式)。 +设置指定应用是否支持分布式通知(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2875,9 +2873,8 @@ var bundle = { var enable = true -Notification.setDistributedEnableByBundle(bundle, enable) - .then(() => { - console.info("setDistributedEnableByBundle sucess"); +Notification.setDistributedEnableByBundle(bundle, enable).then(() => { + console.info("setDistributedEnableByBundle success"); }); ``` @@ -2898,7 +2895,7 @@ isDistributedEnabledByBundle(bundle: BundleOption, callback: AsyncCallback\ | 是 | 应用程序是否支持分布式通知的回调函数。 | +| callback | AsyncCallback\ | 是 | 查询指定应用是否支持分布式通知的回调函数。 | **错误码:** @@ -2917,7 +2914,7 @@ function isDistributedEnabledByBundleCallback(data) { if (err) { console.info("isDistributedEnabledByBundle failed " + JSON.stringify(err)); } else { - console.info("isDistributedEnabledByBundle success"); + console.info("isDistributedEnabledByBundle success" + JSON.stringify(data)); } }; @@ -2934,7 +2931,7 @@ Notification.isDistributedEnabledByBundle(bundle, isDistributedEnabledByBundleCa isDistributedEnabledByBundle(bundle: BundleOption): Promise\ -根据应用的包获取应用程序是否支持分布式通知(Promise形式)。 +查询指定应用是否支持分布式通知(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -2950,9 +2947,9 @@ isDistributedEnabledByBundle(bundle: BundleOption): Promise\ **返回值:** -| 类型 | 说明 | -| ------------------ | --------------- | -| Promise\ | Promise方式返回应用程序是否支持分布式通知的结果。
true 支持。
false 不支持。 | +| 类型 | 说明 | +| ------------------ | ------------------------------------------------- | +| Promise\ | Promise方式返回指定应用是否支持分布式通知的结果。 | **错误码:** @@ -2971,10 +2968,9 @@ var bundle = { bundle: "bundleName1", } -Notification.isDistributedEnabledByBundle(bundle) - .then((data) => { - console.info("isDistributedEnabledByBundle sucess, data: " + JSON.stringify(data)); - }); +Notification.isDistributedEnabledByBundle(bundle).then((data) => { + console.info("isDistributedEnabledByBundle success, data: " + JSON.stringify(data)); +}); ``` @@ -2994,7 +2990,7 @@ getDeviceRemindType(callback: AsyncCallback\): void | 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------------------- | ---- | -------------------------- | -| callback | AsyncCallback\<[DeviceRemindType](#deviceremindtype)\> | 是 | 获取通知的提醒方式的回调函数。 | +| callback | AsyncCallback\<[DeviceRemindType](#deviceremindtype)\> | 是 | 获取通知提醒方式的回调函数。 | **错误码:** @@ -3036,7 +3032,7 @@ getDeviceRemindType(): Promise\ | 类型 | 说明 | | ------------------ | --------------- | -| Promise\<[DeviceRemindType](#deviceremindtype)\> | Promise方式返回通知的提醒方式的结果。 | +| Promise\<[DeviceRemindType](#deviceremindtype)\> | Promise方式返回获取通知提醒方式的结果。 | **错误码:** @@ -3049,10 +3045,9 @@ getDeviceRemindType(): Promise\ **示例:** ```javascript -Notification.getDeviceRemindType() - .then((data) => { - console.info("getDeviceRemindType sucess, data: " + JSON.stringify(data)); - }); +Notification.getDeviceRemindType().then((data) => { + console.info("getDeviceRemindType success, data: " + JSON.stringify(data)); +}); ``` @@ -3070,12 +3065,12 @@ publishAsBundle(request: NotificationRequest, representativeBundle: string, user **参数:** -| 参数名 | 类型 | 必填 | 说明 | -| -------------------- | ------------------------------------------- | ---- | --------------------------------------------- | -| request | [NotificationRequest](#notificationrequest) | 是 | 设置要发布通知内容的NotificationRequest对象。 | -| representativeBundle | string | 是 | 被代理应用的包名。 | -| userId | number | 是 | 接收通知用户的Id。 | -| callback | AsyncCallback | 是 | 发布代理通知的回调方法。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------------------- | ------------------------------------------- | ---- | ---------------------------------------- | +| request | [NotificationRequest](#notificationrequest) | 是 | 用于设置要发布通知的内容和相关配置信息。 | +| representativeBundle | string | 是 | 被代理应用的包名。 | +| userId | number | 是 | 用户ID。 | +| callback | AsyncCallback | 是 | 发布代理通知的回调方法。 | **错误码:** @@ -3093,7 +3088,7 @@ publishAsBundle(request: NotificationRequest, representativeBundle: string, user ```js //publishAsBundle回调 -function publishAsBundleCallback(err) { +function callback(err) { if (err) { console.info("publishAsBundle failed " + JSON.stringify(err)); } else { @@ -3102,10 +3097,10 @@ function publishAsBundleCallback(err) { } // 被代理应用的包名 let representativeBundle = "com.example.demo" -// 接收通知的用户ID +// 用户ID let userId = 100 -//通知Request对象 -let notificationRequest = { +// NotificationRequest对象 +let request = { id: 1, content: { contentType: Notification.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT, @@ -3117,7 +3112,7 @@ let notificationRequest = { } } -Notification.publishAsBundle(notificationRequest, representativeBundle, userId, publishAsBundleCallback); +Notification.publishAsBundle(request, representativeBundle, userId, callback); ``` ## Notification.publishAsBundle @@ -3137,9 +3132,9 @@ publishAsBundle(request: NotificationRequest, representativeBundle: string, user | 参数名 | 类型 | 必填 | 说明 | | -------------------- | ------------------------------------------- | ---- | --------------------------------------------- | -| request | [NotificationRequest](#notificationrequest) | 是 | 设置要发布通知内容的NotificationRequest对象。 | +| request | [NotificationRequest](#notificationrequest) | 是 | 用于设置要发布通知的内容和相关配置信息。 | | representativeBundle | string | 是 | 被代理应用的包名。 | -| userId | number | 是 | 接收通知用户的Id。 | +| userId | number | 是 | 用户ID。 | **错误码:** @@ -3158,10 +3153,10 @@ publishAsBundle(request: NotificationRequest, representativeBundle: string, user ```js // 被代理应用的包名 let representativeBundle = "com.example.demo" -// 接收通知的用户ID +// 用户ID let userId = 100 -//通知Request对象 -var notificationRequest = { +// NotificationRequest对象 +var request = { id: 1, content: { contentType: Notification.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT, @@ -3173,8 +3168,8 @@ var notificationRequest = { } } -Notification.publishAsBundle(notificationRequest, representativeBundle, userId).then(() => { - console.info("publishAsBundle sucess"); +Notification.publishAsBundle(request, representativeBundle, userId).then(() => { + console.info("publishAsBundle success"); }); ``` @@ -3198,7 +3193,7 @@ cancelAsBundle(id: number, representativeBundle: string, userId: number, callbac | -------------------- | ------------- | ---- | ------------------------ | | id | number | 是 | 通知ID。 | | representativeBundle | string | 是 | 被代理应用的包名。 | -| userId | number | 是 | 接收通知用户的Id。 | +| userId | number | 是 | 用户ID。 | | callback | AsyncCallback | 是 | 取消代理通知的回调方法。 | **错误码:** @@ -3214,7 +3209,7 @@ cancelAsBundle(id: number, representativeBundle: string, userId: number, callbac **示例:** ```js -//cancelAsBundle +// cancelAsBundle function cancelAsBundleCallback(err) { if (err) { console.info("cancelAsBundle failed " + JSON.stringify(err)); @@ -3224,7 +3219,7 @@ function cancelAsBundleCallback(err) { } // 被代理应用的包名 let representativeBundle = "com.example.demo" -// 接收通知的用户ID +// 用户ID let userId = 100 Notification.cancelAsBundle(0, representativeBundle, userId, cancelAsBundleCallback); @@ -3234,7 +3229,7 @@ Notification.cancelAsBundle(0, representativeBundle, userId, cancelAsBundleCallb cancelAsBundle(id: number, representativeBundle: string, userId: number): Promise\ -发布代理通知(Promise形式)。 +取消代理通知(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -3250,7 +3245,7 @@ cancelAsBundle(id: number, representativeBundle: string, userId: number): Promis | -------------------- | ------ | ---- | ------------------ | | id | number | 是 | 通知ID。 | | representativeBundle | string | 是 | 被代理应用的包名。 | -| userId | number | 是 | 接收通知用户的Id。 | +| userId | number | 是 | 用户ID。 | **错误码:** @@ -3267,7 +3262,7 @@ cancelAsBundle(id: number, representativeBundle: string, userId: number): Promis ```js // 被代理应用的包名 let representativeBundle = "com.example.demo" -// 接收通知的用户ID +// 用户ID let userId = 100 Notification.cancelAsBundle(0, representativeBundle, userId).then(() => { @@ -3279,7 +3274,7 @@ Notification.cancelAsBundle(0, representativeBundle, userId).then(() => { setNotificationEnableSlot(bundle: BundleOption, type: SlotType, enable: boolean, callback: AsyncCallback\): void -设定指定类型的渠道使能状态(Callback形式)。 +设置指定应用的指定渠道类型的使能状态(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -3291,10 +3286,10 @@ setNotificationEnableSlot(bundle: BundleOption, type: SlotType, enable: boolean, | 参数名 | 类型 | 必填 | 说明 | | -------- | ----------------------------- | ---- | ---------------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 应用的包信息。 | | type | [SlotType](#slottype) | 是 | 指定渠道类型。 | | enable | boolean | 是 | 使能状态。 | -| callback | AsyncCallback\ | 是 | 设定渠道使能回调函数。 | +| callback | AsyncCallback\ | 是 | 设置渠道使能回调函数。 | **错误码:** @@ -3308,7 +3303,7 @@ setNotificationEnableSlot(bundle: BundleOption, type: SlotType, enable: boolean, **示例:** ```js -//setNotificationEnableSlot +// setNotificationEnableSlot function setNotificationEnableSlotCallback(err) { if (err) { console.info("setNotificationEnableSlot failed " + JSON.stringify(err)); @@ -3328,7 +3323,7 @@ Notification.setNotificationEnableSlot( setNotificationEnableSlot(bundle: BundleOption, type: SlotType, enable: boolean): Promise\ -设定指定类型的渠道使能状态(Promise形式)。 +设置指定应用的指定渠道类型的使能状态(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -3340,8 +3335,8 @@ setNotificationEnableSlot(bundle: BundleOption, type: SlotType, enable: boolean) | 参数名 | 类型 | 必填 | 说明 | | ------ | ----------------------------- | ---- | -------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | -| type | [SlotType](#slottype) | 是 | 指定渠道类型。 | +| bundle | [BundleOption](#bundleoption) | 是 | 应用的包信息。 | +| type | [SlotType](#slottype) | 是 | 渠道类型。 | | enable | boolean | 是 | 使能状态。 | **错误码:** @@ -3356,12 +3351,12 @@ setNotificationEnableSlot(bundle: BundleOption, type: SlotType, enable: boolean) **示例:** ```js -//setNotificationEnableSlot +// setNotificationEnableSlot Notification.setNotificationEnableSlot( { bundle: "ohos.samples.notification", }, Notification.SlotType.SOCIAL_COMMUNICATION, true).then(() => { - console.info("setNotificationEnableSlot sucess"); + console.info("setNotificationEnableSlot success"); }); ``` @@ -3369,7 +3364,7 @@ Notification.setNotificationEnableSlot( isNotificationSlotEnabled(bundle: BundleOption, type: SlotType, callback: AsyncCallback\): void -获取指定类型的渠道使能状态(Callback形式)。 +获取指定应用的指定渠道类型的使能状态(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -3381,9 +3376,9 @@ isNotificationSlotEnabled(bundle: BundleOption, type: SlotType, callback: AsyncC | 参数名 | 类型 | 必填 | 说明 | | -------- | ----------------------------- | ---- | ---------------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | -| type | [SlotType](#slottype) | 是 | 指定渠道类型。 | -| callback | AsyncCallback\ | 是 | 设定渠道使能回调函数。 | +| bundle | [BundleOption](#bundleoption) | 是 | 应用的包信息。 | +| type | [SlotType](#slottype) | 是 | 渠道类型。 | +| callback | AsyncCallback\ | 是 | 获取渠道使能状态回调函数。 | **错误码:** @@ -3397,7 +3392,7 @@ isNotificationSlotEnabled(bundle: BundleOption, type: SlotType, callback: AsyncC **示例:** ```js -//isNotificationSlotEnabled +// isNotificationSlotEnabled function getEnableSlotCallback(err, data) { if (err) { console.info("isNotificationSlotEnabled failed " + JSON.stringify(err)); @@ -3416,7 +3411,7 @@ Notification.isNotificationSlotEnabled( isNotificationSlotEnabled(bundle: BundleOption, type: SlotType): Promise\ -获取指定类型的渠道使能状态(Promise形式)。 +获取指定应用的指定渠道类型的使能状态(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -3428,8 +3423,8 @@ isNotificationSlotEnabled(bundle: BundleOption, type: SlotType): Promise\ { - console.info("isNotificationSlotEnabled success, data: " + JSON.stringify(data)); - }); +// isNotificationSlotEnabled +Notification.isNotificationSlotEnabled({ bundle: "ohos.samples.notification", }, + Notification.SlotType.SOCIAL_COMMUNICATION).then((data) => { + console.info("isNotificationSlotEnabled success, data: " + JSON.stringify(data)); +}); ``` @@ -3475,8 +3468,8 @@ setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean, callback: | 参数名 | 类型 | 必填 | 说明 | | ------ | ----------------------------- | ---- | -------------- | -| userId | number | 是 | 用户Id。 | -| enable | boolean | 是 | 是否启用。
true:启用。
false:禁用。 | +| userId | number | 是 | 用户ID。 | +| enable | boolean | 是 | 是否启用。 | | callback | AsyncCallback\ | 是 | 设置是否将通知同步到未安装应用程序的设备的回调函数。 | **错误码:** @@ -3494,7 +3487,7 @@ setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean, callback: let userId = 100; let enable = true; -function setSyncNotificationEnabledWithoutAppCallback(err) { +function callback(err) { if (err) { console.info("setSyncNotificationEnabledWithoutApp failed " + JSON.stringify(err)); } else { @@ -3502,7 +3495,7 @@ function setSyncNotificationEnabledWithoutAppCallback(err) { } } -Notification.setSyncNotificationEnabledWithoutApp(userId, enable, setSyncNotificationEnabledWithoutAppCallback); +Notification.setSyncNotificationEnabledWithoutApp(userId, enable, callback); ``` @@ -3522,8 +3515,8 @@ setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean): Promise\< | 参数名 | 类型 | 必填 | 说明 | | ------ | ----------------------------- | ---- | -------------- | -| userId | number | 是 | 用户Id。 | -| enable | boolean | 是 | 是否启用。
true:启用。
false:禁用。 | +| userId | number | 是 | 用户ID。 | +| enable | boolean | 是 | 是否启用。 | **返回值:** @@ -3546,13 +3539,11 @@ setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean): Promise\< let userId = 100; let enable = true; -Notification.setSyncNotificationEnabledWithoutApp(userId, enable) - .then(() => { - console.info('setSyncNotificationEnabledWithoutApp'); - }) - .catch((err) => { - console.info('setSyncNotificationEnabledWithoutApp, err:', err); - }); +Notification.setSyncNotificationEnabledWithoutApp(userId, enable).then(() => { + console.info('setSyncNotificationEnabledWithoutApp success'); +}).catch((err) => { + console.info('setSyncNotificationEnabledWithoutApp, err:' + JSON.stringify(err)); +}); ``` @@ -3560,7 +3551,7 @@ Notification.setSyncNotificationEnabledWithoutApp(userId, enable) getSyncNotificationEnabledWithoutApp(userId: number, callback: AsyncCallback\): void -获取是否同步通知到未安装应用程序的设备(callback形式)。 +获取同步通知到未安装应用程序设备的开关是否开启(callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -3572,8 +3563,8 @@ getSyncNotificationEnabledWithoutApp(userId: number, callback: AsyncCallback\ | 是 | 设置是否将通知同步到未安装应用程序的设备的回调函数。
true: 是。
false: 否。 | +| userId | number | 是 | 用户ID。 | +| callback | AsyncCallback\ | 是 | 获取同步通知到未安装应用程序设备的开关是否开启的回调函数。 | **错误码:** @@ -3591,9 +3582,9 @@ let userId = 100; function getSyncNotificationEnabledWithoutAppCallback(err, data) { if (err) { - console.info('getSyncNotificationEnabledWithoutAppCallback, err' + err); + console.info('getSyncNotificationEnabledWithoutAppCallback, err:' + err); } else { - console.info('getSyncNotificationEnabledWithoutAppCallback, data' + data); + console.info('getSyncNotificationEnabledWithoutAppCallback, data:' + data); } } @@ -3605,7 +3596,7 @@ Notification.getSyncNotificationEnabledWithoutApp(userId, getSyncNotificationEna getSyncNotificationEnabledWithoutApp(userId: number): Promise\ -获取是否同步通知到未安装应用程序的设备(Promise形式)。 +获取同步通知到未安装应用程序设备的开关是否开启(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -3617,13 +3608,13 @@ getSyncNotificationEnabledWithoutApp(userId: number): Promise\ | 参数名 | 类型 | 必填 | 说明 | | ------ | ----------------------------- | ---- | -------------- | -| userId | number | 是 | 用户Id。 | +| userId | number | 是 | 用户ID。 | **返回值:** -| 类型 | 说明 | -| ----------------------------------------------------------- | ------------------------------------------------------------ | -| Promise\ | 以Promise形式返回获取是否同步通知到未安装应用程序的设备的结果。
true: 是。
false: 否。 | +| 类型 | 说明 | +| ------------------ | ------------------------------------------------------------ | +| Promise\ | 以Promise形式返回获取同步通知到未安装应用程序设备的开关是否开启的结果。 | **错误码:** @@ -3638,11 +3629,11 @@ getSyncNotificationEnabledWithoutApp(userId: number): Promise\ ```js let userId = 100; - -Notification.getSyncNotificationEnabledWithoutApp(userId) - .then((data) => { - console.info('getSyncNotificationEnabledWithoutApp, data:', data); - }) +Notification.getSyncNotificationEnabledWithoutApp(userId).then((data) => { + console.info('getSyncNotificationEnabledWithoutApp, data:' + data); +}).catch((err) => { + console.info('getSyncNotificationEnabledWithoutApp, err:' + err); +}); .catch((err) => { console.info('getSyncNotificationEnabledWithoutApp, err:', err); }); @@ -3657,11 +3648,11 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统API**:此接口为系统接口,三方应用不支持调用。 -| 名称 | 可读 | 可写 | 类型 | 说明 | -| ----- | ---- | --- | ------------------------------------- | ------------------------ | -| type | 是 | 否 | [DoNotDisturbType](#donotdisturbtype) | 指定免打扰设置的时间类型。 | -| begin | 是 | 否 | Date | 指定免打扰设置的起点时间。 | -| end | 是 | 否 | Date | 指定免打扰设置的终点时间。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ----- | ------------------------------------- | ---- | ---- | ---------------------- | +| type | [DoNotDisturbType](#donotdisturbtype) | 是 | 是 | 免打扰设置的时间类型。 | +| begin | Date | 是 | 是 | 免打扰设置的起点时间。 | +| end | Date | 是 | 是 | 免打扰设置的终点时间。 | @@ -3708,10 +3699,10 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| ------ | ---- | --- | ------ | ------ | -| bundle | 是 | 是 | string | 包名。 | -| uid | 是 | 是 | number | 用户id。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ------ | ------ |---- | --- | ------ | +| bundle | string | 是 | 是 | 应用的包信息。 | +| uid | number | 是 | 是 | 用户ID。 | ## SlotType @@ -3733,12 +3724,12 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 说明 | -| --------- | --- | ---- | ----------------------------------------------- | ------------------------- | -| title | 是 | 是 | string | 按钮标题。 | -| wantAgent | 是 | 是 | WantAgent | 点击按钮时触发的WantAgent。 | -| extras | 是 | 是 | { [key: string]: any } | 按钮扩展信息。 | -| userInput | 是 | 是 | [NotificationUserInput](#notificationuserinput) | 用户输入对象实例。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| --------- | ----------------------------------------------- | --- | ---- | ------------------------- | +| title | string | 是 | 是 | 按钮标题。 | +| wantAgent | [WantAgent](js-apis-app-ability-wantAgent.md) | 是 | 是 | 点击按钮时触发的WantAgent。 | +| extras | { [key: string]: any } | 是 | 是 | 按钮扩展信息。 | +| userInput | [NotificationUserInput](#notificationuserinput) | 是 | 是 | 用户输入对象实例。 | ## NotificationBasicContent @@ -3747,11 +3738,11 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| -------------- | ---- | ---- | ------ | ---------------------------------- | -| title | 是 | 是 | string | 通知标题。 | -| text | 是 | 是 | string | 通知内容。 | -| additionalText | 是 | 是 | string | 通知次要内容,是对通知内容的补充。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------------- | ------ | ---- | ---- | ---------------------------------- | +| title | string | 是 | 是 | 通知标题。 | +| text | string | 是 | 是 | 通知内容。 | +| additionalText | string | 是 | 是 | 通知附加内容,是对通知内容的补充。 | ## NotificationLongTextContent @@ -3760,14 +3751,14 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| -------------- | ---- | --- | ------ | -------------------------------- | -| title | 是 | 是 | string | 通知标题。 | -| text | 是 | 是 | string | 通知内容。 | -| additionalText | 是 | 是 | string | 通知次要内容,是对通知内容的补充。 | -| longText | 是 | 是 | string | 通知的长文本。 | -| briefText | 是 | 是 | string | 通知概要内容,是对通知内容的总结。 | -| expandedTitle | 是 | 是 | string | 通知展开时的标题。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------------- | ------ | ---- | --- | -------------------------------- | +| title | string | 是 | 是 | 通知标题。 | +| text | string | 是 | 是 | 通知内容。 | +| additionalText | string | 是 | 是 | 通知附加内容,是对通知内容的补充。 | +| longText | string | 是 | 是 | 通知的长文本。 | +| briefText | string | 是 | 是 | 通知概要内容,是对通知内容的总结。 | +| expandedTitle | string | 是 | 是 | 通知展开时的标题。 | ## NotificationMultiLineContent @@ -3776,14 +3767,14 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| -------------- | --- | --- | --------------- | -------------------------------- | -| title | 是 | 是 | string | 通知标题。 | -| text | 是 | 是 | string | 通知内容。 | -| additionalText | 是 | 是 | string | 通知次要内容,是对通知内容的补充。 | -| briefText | 是 | 是 | string | 通知概要内容,是对通知内容的总结。 | -| longTitle | 是 | 是 | string | 通知展开时的标题。 | -| lines | 是 | 是 | Array\ | 通知的多行文本。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------------- | --------------- | --- | --- | -------------------------------- | +| title | string | 是 | 是 | 通知标题。 | +| text | string | 是 | 是 | 通知内容。 | +| additionalText | string | 是 | 是 | 通知附加内容,是对通知内容的补充。 | +| briefText | string | 是 | 是 | 通知概要内容,是对通知内容的总结。 | +| longTitle | string | 是 | 是 | 通知展开时的标题。 | +| lines | Array\ | 是 | 是 | 通知的多行文本。 | ## NotificationPictureContent @@ -3792,14 +3783,14 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| -------------- | ---- | --- | -------------- | -------------------------------- | -| title | 是 | 是 | string | 通知标题。 | -| text | 是 | 是 | string | 通知内容。 | -| additionalText | 是 | 是 | string | 通知次要内容,是对通知内容的补充。 | -| briefText | 是 | 是 | string | 通知概要内容,是对通知内容的总结。 | -| expandedTitle | 是 | 是 | string | 通知展开时的标题。 | -| picture | 是 | 是 | image.PixelMap | 通知的图片内容。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------------- | -------------- | ---- | --- | -------------------------------- | +| title | string | 是 | 是 | 通知标题。 | +| text | string | 是 | 是 | 通知内容。 | +| additionalText | string | 是 | 是 | 通知附加内容,是对通知内容的补充。 | +| briefText | string | 是 | 是 | 通知概要内容,是对通知内容的总结。 | +| expandedTitle | string | 是 | 是 | 通知展开时的标题。 | +| picture | [image.PixelMap](js-apis-image.md#pixelmap7) | 是 | 是 | 通知的图片内容。 | ## NotificationContent @@ -3808,13 +3799,13 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| ----------- | ---- | --- | ------------------------------------------------------------ | ------------------ | -| contentType | 是 | 是 | [ContentType](#contenttype) | 通知内容类型。 | -| normal | 是 | 是 | [NotificationBasicContent](#notificationbasiccontent) | 基本类型通知内容。 | -| longText | 是 | 是 | [NotificationLongTextContent](#notificationlongtextcontent) | 长文本类型通知内容。 | -| multiLine | 是 | 是 | [NotificationMultiLineContent](#notificationmultilinecontent) | 多行类型通知内容。 | -| picture | 是 | 是 | [NotificationPictureContent](#notificationpicturecontent) | 图片类型通知内容。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ----------- | ------------------------------------------------------------ | ---- | --- | ------------------ | +| contentType | [ContentType](#contenttype) | 是 | 是 | 通知内容类型。 | +| normal | [NotificationBasicContent](#notificationbasiccontent) | 是 | 是 | 基本类型通知内容。 | +| longText | [NotificationLongTextContent](#notificationlongtextcontent) | 是 | 是 | 长文本类型通知内容。 | +| multiLine | [NotificationMultiLineContent](#notificationmultilinecontent) | 是 | 是 | 多行类型通知内容。 | +| picture | [NotificationPictureContent](#notificationpicturecontent) | 是 | 是 | 图片类型通知内容。 | ## NotificationFlagStatus @@ -3825,7 +3816,7 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统接口**:此接口为系统接口,三方应用不支持调用。 -| 名称 | 值 | 描述 | +| 名称 | 值 | 说明 | | -------------- | --- | --------------------------------- | | TYPE_NONE | 0 | 默认标志。 | | TYPE_OPEN | 1 | 通知标志打开。 | @@ -3838,10 +3829,10 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| ---------------- | ---- | ---- | ---------------------- | --------------------------------- | -| soundEnabled | 是 | 否 | NotificationFlagStatus | 是否启用声音提示。 | -| vibrationEnabled | 是 | 否 | NotificationFlagStatus | 是否启用振动提醒功能。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ---------------- | ---------------------- | ---- | ---- | --------------------------------- | +| soundEnabled | [NotificationFlagStatus](#notificationflagstatus) | 是 | 否 | 是否启用声音提示。 | +| vibrationEnabled | [NotificationFlagStatus](#notificationflagstatus) | 是 | 否 | 是否启用振动提醒功能。 | ## NotificationRequest @@ -3850,45 +3841,45 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 说明 | -| --------------------- | ---- | --- | --------------------------------------------- | -------------------------- | -| content | 是 | 是 | [NotificationContent](#notificationcontent) | 通知内容。 | -| id | 是 | 是 | number | 通知ID。 | -| slotType | 是 | 是 | [SlotType](#slottype) | 通道类型。 | -| isOngoing | 是 | 是 | boolean | 是否进行时通知。 | -| isUnremovable | 是 | 是 | boolean | 是否可移除。 | -| deliveryTime | 是 | 是 | number | 通知发送时间。 | -| tapDismissed | 是 | 是 | boolean | 通知是否自动清除。 | -| autoDeletedTime | 是 | 是 | number | 自动清除的时间。 | -| wantAgent | 是 | 是 | WantAgent | WantAgent封装了应用的行为意图,点击通知时触发该行为。 | -| extraInfo | 是 | 是 | {[key: string]: any} | 扩展参数。 | -| color | 是 | 是 | number | 通知背景颜色。暂不支持。 | -| colorEnabled | 是 | 是 | boolean | 通知背景颜色是否使能。暂不支持。 | -| isAlertOnce | 是 | 是 | boolean | 设置是否仅有一次此通知警报。 | -| isStopwatch | 是 | 是 | boolean | 是否显示已用时间。 | -| isCountDown | 是 | 是 | boolean | 是否显示倒计时时间。 | -| isFloatingIcon | 是 | 是 | boolean | 是否显示状态栏图标。 | -| label | 是 | 是 | string | 通知标签。 | -| badgeIconStyle | 是 | 是 | number | 通知角标类型。 | -| showDeliveryTime | 是 | 是 | boolean | 是否显示分发时间。 | -| actionButtons | 是 | 是 | Array\<[NotificationActionButton](#notificationactionbutton)\> | 通知按钮,最多两个按钮。 | -| smallIcon | 是 | 是 | PixelMap | 通知小图标。(可选字段,大小不超过30KB) | -| largeIcon | 是 | 是 | PixelMap | 通知大图标。(可选字段,大小不超过30KB) | -| creatorBundleName | 是 | 否 | string | 创建通知的包名。 | -| creatorUid | 是 | 否 | number | 创建通知的UID。 | -| creatorPid | 是 | 否 | number | 创建通知的PID。 | -| creatorUserId | 是 | 否 | number | 创建通知的UserId。 | -| hashCode | 是 | 否 | string | 通知唯一标识。 | -| classification | 是 | 是 | string | 通知分类。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | -| groupName | 是 | 是 | string | 组通知名称。 | -| template | 是 | 是 | [NotificationTemplate](#notificationtemplate) | 通知模板。 | -| isRemoveAllowed | 是 | 否 | boolean | 通知是否能被移除。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | -| source | 是 | 否 | number | 通知源。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | -| distributedOption | 是 | 是 | [DistributedOptions](#distributedoptions) | 分布式通知的选项。 | -| deviceId | 是 | 否 | string | 通知源的deviceId。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | -| notificationFlags | 是 | 否 | [NotificationFlags](#notificationflags) | 获取NotificationFlags。 | -| removalWantAgent | 是 | 是 | WantAgent | 当移除通知时,通知将被重定向到的WantAgent实例。 | -| badgeNumber | 是 | 是 | number | 应用程序图标上显示的通知数。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| --------------------- | --------------------------------------------- | ---- | --- | -------------------------- | +| content | [NotificationContent](#notificationcontent) | 是 | 是 | 通知内容。 | +| id | number | 是 | 是 | 通知ID。 | +| slotType | [SlotType](#slottype) | 是 | 是 | 通道类型。 | +| isOngoing | boolean | 是 | 是 | 是否进行时通知。 | +| isUnremovable | boolean | 是 | 是 | 是否可移除。 | +| deliveryTime | number | 是 | 是 | 通知发送时间。 | +| tapDismissed | boolean | 是 | 是 | 通知是否自动清除。 | +| autoDeletedTime | number | 是 | 是 | 自动清除的时间。 | +| wantAgent | [WantAgent](js-apis-app-ability-wantAgent.md) | 是 | 是 | WantAgent封装了应用的行为意图,点击通知时触发该行为。 | +| extraInfo | {[key: string]: any} | 是 | 是 | 扩展参数。 | +| color | number | 是 | 是 | 通知背景颜色。预留能力,暂未支持。 | +| colorEnabled | boolean | 是 | 是 | 通知背景颜色是否使能。预留能力,暂未支持。 | +| isAlertOnce | boolean | 是 | 是 | 设置是否仅有一次此通知提醒。 | +| isStopwatch | boolean | 是 | 是 | 是否显示已用时间。 | +| isCountDown | boolean | 是 | 是 | 是否显示倒计时时间。 | +| isFloatingIcon | boolean | 是 | 是 | 是否显示状态栏图标。 | +| label | string | 是 | 是 | 通知标签。 | +| badgeIconStyle | number | 是 | 是 | 通知角标类型。 | +| showDeliveryTime | boolean | 是 | 是 | 是否显示分发时间。 | +| actionButtons | Array\<[NotificationActionButton](#notificationactionbutton)\> | 是 | 是 | 通知按钮,最多两个按钮。 | +| smallIcon | [image.PixelMap](js-apis-image.md#pixelmap7) | 是 | 是 | 通知小图标。可选字段,大小不超过30KB。 | +| largeIcon | [image.PixelMap](js-apis-image.md#pixelmap7) | 是 | 是 | 通知大图标。可选字段,大小不超过30KB。 | +| creatorBundleName | string | 是 | 否 | 创建通知的包名。 | +| creatorUid | number | 是 | 否 | 创建通知的UID。 | +| creatorPid | number | 是 | 否 | 创建通知的PID。 | +| creatorUserId| number | 是 | 否 | 创建通知的UserId。 | +| hashCode | string | 是 | 否 | 通知唯一标识。 | +| classification | string | 是 | 是 | 通知分类。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | +| groupName| string | 是 | 是 | 组通知名称。 | +| template | [NotificationTemplate](#notificationtemplate) | 是 | 是 | 通知模板。 | +| isRemoveAllowed | boolean | 是 | 否 | 通知是否能被移除。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | +| source | number | 是 | 否 | 通知源。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | +| distributedOption | [DistributedOptions](#distributedoptions) | 是 | 是 | 分布式通知的选项。 | +| deviceId | string | 是 | 否 | 通知源的deviceId。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | +| notificationFlags | [NotificationFlags](#notificationflags) | 是 | 否 | 获取NotificationFlags。 | +| removalWantAgent | [WantAgent](js-apis-app-ability-wantAgent.md) | 是 | 是 | 当移除通知时,通知将被重定向到的WantAgent实例。 | +| badgeNumber | number | 是 | 是 | 应用程序图标上显示的通知数。 | ## DistributedOptions @@ -3897,12 +3888,12 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| ---------------------- | ---- | ---- | -------------- | ---------------------------------- | -| isDistributed | 是 | 是 | boolean | 是否为分布式通知。 | -| supportDisplayDevices | 是 | 是 | Array\ | 可以同步通知到的设备类型。 | -| supportOperateDevices | 是 | 是 | Array\ | 可以打开通知的设备。 | -| remindType | 是 | 否 | number | 通知的提醒方式。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ---------------------- | -------------- | ---- | ---- | ---------------------------------- | +| isDistributed | boolean | 是 | 是 | 是否为分布式通知。 | +| supportDisplayDevices | Array\ | 是 | 是 | 可以同步通知到的设备列表。 | +| supportOperateDevices | Array\ | 是 | 是 | 可以打开通知的设备列表。 | +| remindType | number | 是 | 否 | 通知的提醒方式。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | ## NotificationSlot @@ -3911,20 +3902,20 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| -------------------- | ---- | --- | --------------------- | ------------------------------------------ | -| type | 是 | 是 | [SlotType](#slottype) | 通道类型。 | -| level | 是 | 是 | number | 通知级别,不设置则根据通知渠道类型有默认值。 | -| desc | 是 | 是 | string | 通知渠道描述信息。 | -| badgeFlag | 是 | 是 | boolean | 是否显示角标。 | -| bypassDnd | 是 | 是 | boolean | 置是否在系统中绕过免打扰模式。 | -| lockscreenVisibility | 是 | 是 | number | 在锁定屏幕上显示通知的模式。 | -| vibrationEnabled | 是 | 是 | boolean | 是否可振动。 | -| sound | 是 | 是 | string | 通知提示音。 | -| lightEnabled | 是 | 是 | boolean | 是否闪灯。 | -| lightColor | 是 | 是 | number | 通知灯颜色。 | -| vibrationValues | 是 | 是 | Array\ | 通知振动样式。 | -| enabled9+ | 是 | 否 | boolean | 此通知插槽中的启停状态。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------------------- | --------------------- | ---- | --- | ------------------------------------------ | +| type | [SlotType](#slottype) | 是 | 是 | 通道类型。 | +| level | number | 是 | 是 | 通知级别,不设置则根据通知渠道类型有默认值。 | +| desc | string | 是 | 是 | 通知渠道描述信息。 | +| badgeFlag | boolean | 是 | 是 | 是否显示角标。 | +| bypassDnd | boolean | 是 | 是 | 置是否在系统中绕过免打扰模式。 | +| lockscreenVisibility | number | 是 | 是 | 在锁定屏幕上显示通知的模式。 | +| vibrationEnabled | boolean | 是 | 是 | 是否可振动。 | +| sound | string | 是 | 是 | 通知提示音。 | +| lightEnabled | boolean | 是 | 是 | 是否闪灯。 | +| lightColor | number | 是 | 是 | 通知灯颜色。 | +| vibrationValues | Array\ | 是 | 是 | 通知振动样式。 | +| enabled9+ | boolean | 是 | 否 | 此通知插槽中的启停状态。 | ## NotificationTemplate @@ -3933,7 +3924,7 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 参数类型 | 可读 | 可写 | 说明 | +| 名称 | 类型 | 可读 | 可写 | 说明 | | ---- | ---------------------- | ---- | ---- | ---------- | | name | string | 是 | 是 | 模板名称。 | | data | {[key:string]: Object} | 是 | 是 | 模板数据。 | @@ -3945,9 +3936,9 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统能力**:SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| -------- | --- | ---- | ------ | ----------------------------- | -| inputKey | 是 | 是 | string | 用户输入时用于标识此输入的key。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------- | ------ | --- | ---- | ----------------------------- | +| inputKey | string | 是 | 是 | 用户输入时用于标识此输入的key。 | ## DeviceRemindType @@ -3956,7 +3947,7 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统API**: 此接口为系统接口,三方应用不支持调用。 -| 名称 | 值 | 描述 | +| 名称 | 值 | 说明 | | -------------------- | --- | --------------------------------- | | IDLE_DONOT_REMIND | 0 | 设备未被使用,无需提醒。 | | IDLE_REMIND | 1 | 提醒设备未被使用。 | @@ -3970,7 +3961,7 @@ Notification.getSyncNotificationEnabledWithoutApp(userId) **系统API**: 此接口为系统接口,三方应用不支持调用。 -| 名称 | 值 | 描述 | +| 名称 | 值 | 说明 | | -------------------- | --- | -------------------- | | TYPE_NORMAL | 0 | 一般通知。 | | TYPE_CONTINUOUS | 1 | 连续通知。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-notificationSubscribe.md b/zh-cn/application-dev/reference/apis/js-apis-notificationSubscribe.md index da154974391b7ac513b31ca4d2485272c0de2205..feddf226db95238b7e378530d9e2fcb043b4ca89 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-notificationSubscribe.md +++ b/zh-cn/application-dev/reference/apis/js-apis-notificationSubscribe.md @@ -28,10 +28,10 @@ subscribe(subscriber: NotificationSubscriber, info: NotificationSubscribeInfo, c **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ---------- | ------------------------- | ---- | ---------------- | | subscriber | [NotificationSubscriber](#notificationsubscriber) | 是 | 通知订阅对象。 | -| info | [NotificationSubscribeInfo](#notificationsubscribeinfo) | 是 | 订阅信息。 | +| info | [NotificationSubscribeInfo](#notificationsubscribeinfo) | 是 | 通知订阅信息。 | | callback | AsyncCallback\ | 是 | 订阅动作回调函数。 | **错误码:** @@ -71,7 +71,7 @@ NotificationSubscribe.subscribe(subscriber, info, subscribeCallback); subscribe(subscriber: NotificationSubscriber, callback: AsyncCallback\): void -订阅通知并指定订阅信息(callback形式)。 +订阅当前用户下所有应用的通知(callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -81,7 +81,7 @@ subscribe(subscriber: NotificationSubscriber, callback: AsyncCallback\): **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ---------- | ---------------------- | ---- | ---------------- | | subscriber | [NotificationSubscriber](#notificationsubscriber) | 是 | 通知订阅对象。 | | callback | AsyncCallback\ | 是 | 订阅动作回调函数。 | @@ -129,10 +129,10 @@ subscribe(subscriber: NotificationSubscriber, info?: NotificationSubscribeInfo): **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ---------- | ------------------------- | ---- | ------------ | | subscriber | [NotificationSubscriber](#notificationsubscriber) | 是 | 通知订阅对象。 | -| info | [NotificationSubscribeInfo](#notificationsubscribeinfo) | 否 | 订阅信息。 | +| info | [NotificationSubscribeInfo](#notificationsubscribeinfo) | 否 | 通知订阅信息。 | **错误码:** @@ -146,17 +146,13 @@ subscribe(subscriber: NotificationSubscriber, info?: NotificationSubscribeInfo): ```js function onConsumeCallback(data) { - if (err) { - console.info("subscribe failed " + JSON.stringify(err)); - } else { - console.info("subscribe success"); - } + console.info("Consume callback: " + JSON.stringify(data)); } var subscriber = { onConsume: onConsumeCallback }; NotificationSubscribe.subscribe(subscriber).then(() => { - console.info("subscribe sucess"); + console.info("subscribe success"); }); ``` @@ -176,7 +172,7 @@ unsubscribe(subscriber: NotificationSubscriber, callback: AsyncCallback\) **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ---------- | ---------------------- | ---- | -------------------- | | subscriber | [NotificationSubscriber](#notificationsubscriber) | 是 | 通知订阅对象。 | | callback | AsyncCallback\ | 是 | 取消订阅动作回调函数。 | @@ -199,11 +195,11 @@ function unsubscribeCallback(err) { console.info("unsubscribe success"); } } -function onCancelCallback(data) { +function onDisconnectCallback(data) { console.info("Cancel callback: " + JSON.stringify(data)); } var subscriber = { - onCancel: onCancelCallback + onDisconnect: onDisconnectCallback } NotificationSubscribe.unsubscribe(subscriber, unsubscribeCallback); ``` @@ -224,7 +220,7 @@ unsubscribe(subscriber: NotificationSubscriber): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ---------- | ---------------------- | ---- | ------------ | | subscriber | [NotificationSubscriber](#notificationsubscriber) | 是 | 通知订阅对象。 | @@ -239,14 +235,14 @@ unsubscribe(subscriber: NotificationSubscriber): Promise\ **示例:** ```js -function onCancelCallback(data) { +function onDisconnectCallback(data) { console.info("Cancel callback: " + JSON.stringify(data)); } var subscriber = { - onCancel: onCancelCallback + onDisconnect: onDisconnectCallback }; NotificationSubscribe.unsubscribe(subscriber).then(() => { - console.info("unsubscribe sucess"); + console.info("unsubscribe success"); }); ``` @@ -266,9 +262,9 @@ remove(bundle: BundleOption, notificationKey: NotificationKey, reason: RemoveRea **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | --------------- | ----------------------------------| ---- | -------------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | | notificationKey | [NotificationKey](#notificationkey) | 是 | 通知键值。 | | reason | [RemoveReason](#removereason) | 是 | 通知删除原因。 | | callback | AsyncCallback\ | 是 | 删除指定通知回调函数。 | @@ -320,9 +316,9 @@ remove(bundle: BundleOption, notificationKey: NotificationKey, reason: RemoveRea **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | --------------- | --------------- | ---- | ---------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | | notificationKey | [NotificationKey](#notificationkey) | 是 | 通知键值。 | | reason | [RemoveReason](#removereason) | 是 | 通知删除原因。 | @@ -348,7 +344,7 @@ var notificationKey = { } var reason = NotificationSubscribe.RemoveReason.CLICK_REASON_REMOVE; NotificationSubscribe.remove(bundle, notificationKey, reason).then(() => { - console.info("remove sucess"); + console.info("remove success"); }); ``` @@ -368,9 +364,9 @@ remove(hashCode: string, reason: RemoveReason, callback: AsyncCallback\): **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | -------------------- | -| hashCode | string | 是 | 通知唯一ID。 | +| hashCode | string | 是 | 通知唯一ID。可以通过[onConsume](#onconsume)回调的入参[SubscribeCallbackData](#subscribecallbackdata)获取其内部[NotificationRequest](#notificationrequest)对象中的hashCode。 | | reason | [RemoveReason](#removereason) | 是 | 通知删除原因。 | | callback | AsyncCallback\ | 是 | 删除指定通知回调函数。 | @@ -415,7 +411,7 @@ remove(hashCode: string, reason: RemoveReason): Promise\ **参数:** -| 名称 | 类型 | 必填 | 说明 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | ---------- | ---- | ---------- | | hashCode | string | 是 | 通知唯一ID。 | | reason | [RemoveReason](#removereason) | 是 | 通知删除原因。 | @@ -435,7 +431,7 @@ remove(hashCode: string, reason: RemoveReason): Promise\ var hashCode = 'hashCode' var reason = NotificationSubscribe.RemoveReason.CLICK_REASON_REMOVE; NotificationSubscribe.remove(hashCode, reason).then(() => { - console.info("remove sucess"); + console.info("remove success"); }); ``` @@ -445,7 +441,7 @@ NotificationSubscribe.remove(hashCode, reason).then(() => { removeAll(bundle: BundleOption, callback: AsyncCallback\): void -删除指定包的所有通知(Callback形式)。 +删除指定应用的所有通知(Callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -455,10 +451,10 @@ removeAll(bundle: BundleOption, callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | ---------------------------- | -| bundle | [BundleOption](#bundleoption) | 是 | 指定包信息。 | -| callback | AsyncCallback\ | 是 | 删除指定包的所有通知回调函数。 | +| bundle | [BundleOption](#bundleoption) | 是 | 指定应用的包信息。 | +| callback | AsyncCallback\ | 是 | 删除指定应用的所有通知回调函数。 | **错误码:** @@ -501,7 +497,7 @@ removeAll(callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | -------------------- | | callback | AsyncCallback\ | 是 | 删除所有通知回调函数。 | @@ -533,7 +529,7 @@ NotificationSubscribe.removeAll(removeAllCallback); removeAll(bundle?: BundleOption): Promise\ -删除所有通知(Promise形式)。 +删除指定应用的所有通知(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -543,9 +539,9 @@ removeAll(bundle?: BundleOption): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| bundle | [BundleOption](#bundleoption) | 否 | 指定包信息。 | +| bundle | [BundleOption](#bundleoption) | 否 | 指定应用的包信息。 | **错误码:** @@ -559,8 +555,9 @@ removeAll(bundle?: BundleOption): Promise\ **示例:** ```js +// 不指定应用时,删除所有通知 NotificationSubscribe.removeAll().then(() => { - console.info("removeAll sucess"); + console.info("removeAll success"); }); ``` @@ -568,7 +565,7 @@ NotificationSubscribe.removeAll().then(() => { removeAll(userId: number, callback: AsyncCallback\): void -删除所有通知(callback形式)。 +删除指定用户下的所有通知(callback形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -578,10 +575,10 @@ removeAll(userId: number, callback: AsyncCallback\): void **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| userId | number | 是 | 接收通知用户的Id。 | -| callback | AsyncCallback\ | 是 | 删除所有通知回调函数。 | +| userId | number | 是 | 用户ID。 | +| callback | AsyncCallback\ | 是 | 删除指定用户所有通知回调函数。 | **错误码:** @@ -612,7 +609,7 @@ NotificationSubscribe.removeAll(userId, removeAllCallback); removeAll(userId: number): Promise\ -删除所有通知(Promise形式)。 +删除指定用户下的所有通知(Promise形式)。 **系统能力**:SystemCapability.Notification.Notification @@ -622,9 +619,9 @@ removeAll(userId: number): Promise\ **参数:** -| 名称 | 类型 | 必填 | 描述 | +| 参数名 | 类型 | 必填 | 说明 | | ------ | ------------ | ---- | ---------- | -| userId | number | 是 | 接收通知用户的Id。 | +| userId | number | 是 | 用户ID。 | **错误码:** @@ -655,7 +652,7 @@ NotificationSubscribe.removeAll(userId, removeAllCallback); ## NotificationSubscriber -提供订阅者接收到新通知或取消通知时的回调方法。 +作为订阅通知接口[subscribe](#notificationsubscribe)的入参,提供订阅者接收到新通知、取消通知等的回调方法。 **系统API**:此接口为系统接口,三方应用不支持调用。 @@ -663,7 +660,7 @@ NotificationSubscribe.removeAll(userId, removeAllCallback); onConsume?: (data: [SubscribeCallbackData](#subscribecallbackdata)) => void -接收通知回调函数。 +接收到新通知的回调函数。 **系统能力**:SystemCapability.Notification.Notification @@ -673,7 +670,7 @@ onConsume?: (data: [SubscribeCallbackData](#subscribecallbackdata)) => void | 参数名 | 类型 | 必填 | 说明 | | ------------ | ------------------------ | ---- | -------------------------- | -| data | [SubscribeCallbackData](#subscribecallbackdata) | 是 | 回调返回接收到的通知信息。 | +| data | [SubscribeCallbackData](#subscribecallbackdata) | 是 | 新接收到的通知信息。 | **示例:** @@ -703,7 +700,7 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); onCancel?:(data: [SubscribeCallbackData](#subscribecallbackdata)) => void -删除通知回调函数。 +取消通知的回调函数。 **系统能力**:SystemCapability.Notification.Notification @@ -713,7 +710,7 @@ onCancel?:(data: [SubscribeCallbackData](#subscribecallbackdata)) => void | 参数名 | 类型 | 必填 | 说明 | | ------------ | ------------------------ | ---- | -------------------------- | -| data | [SubscribeCallbackData](#subscribecallbackdata) | 是 | 回调返回接收到的通知信息。 | +| data | [SubscribeCallbackData](#subscribecallbackdata) | 是 | 需要取消的通知信息。 | **示例:** @@ -743,7 +740,7 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); onUpdate?:(data: [NotificationSortingMap](#notificationsortingmap)) => void -更新通知排序回调函数。 +更新通知排序的回调函数。 **系统能力**:SystemCapability.Notification.Notification @@ -753,7 +750,7 @@ onUpdate?:(data: [NotificationSortingMap](#notificationsortingmap)) => void | 参数名 | 类型 | 必填 | 说明 | | ------------ | ------------------------ | ---- | -------------------------- | -| data | [NotificationSortingMap](#notificationsortingmap) | 是 | 回调返回接收到的通知信息。 | +| data | [NotificationSortingMap](#notificationsortingmap) | 是 | 最新的通知排序列表。 | **示例:** @@ -766,8 +763,8 @@ function subscribeCallback(err) { } }; -function onUpdateCallback() { - console.info('===> onUpdate in test'); +function onUpdateCallback(map) { + console.info('===> onUpdateCallback map:' + JSON.stringify(map)); } var subscriber = { @@ -781,7 +778,7 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); onConnect?:() => void -注册订阅回调函数。 +订阅完成的回调函数。 **系统能力**:SystemCapability.Notification.Notification @@ -813,7 +810,7 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); onDisconnect?:() => void -取消订阅回调函数。 +取消订阅的回调函数。 **系统能力**:SystemCapability.Notification.Notification @@ -829,16 +826,30 @@ function subscribeCallback(err) { console.info("subscribeCallback"); } }; +function unsubscribeCallback(err) { + if (err.code) { + console.info("unsubscribe failed " + JSON.stringify(err)); + } else { + console.info("unsubscribeCallback"); + } +}; +function onConnectCallback() { + console.info('===> onConnect in test'); +} function onDisconnectCallback() { console.info('===> onDisconnect in test'); } var subscriber = { + onConnect: onConnectCallback, onDisconnect: onDisconnectCallback }; +// 订阅通知后会收到onConnect回调 NotificationSubscribe.subscribe(subscriber, subscribeCallback); +// 取消订阅后会收到onDisconnect回调 +NotificationSubscribe.unsubscribe(subscriber, unsubscribeCallback); ``` ### onDestroy @@ -877,7 +888,7 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); onDoNotDisturbDateChange?:(mode: notification.[DoNotDisturbDate](js-apis-notificationManager.md#donotdisturbdate)) => void -免打扰时间选项变更回调函数。 +免打扰时间选项发生变更时的回调函数。 **系统能力**:SystemCapability.Notification.Notification @@ -900,8 +911,8 @@ function subscribeCallback(err) { } }; -function onDoNotDisturbDateChangeCallback() { - console.info('===> onDoNotDisturbDateChange in test'); +function onDoNotDisturbDateChangeCallback(mode) { + console.info('===> onDoNotDisturbDateChange:' + mode); } var subscriber = { @@ -956,19 +967,19 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 说明 | -| ------ | ---- | ---- | ------ | -------- | -| bundle | 是 | 是 | string | 包名。 | -| uid | 是 | 是 | number | 用户id。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ------ | ------ |---- | --- | ------ | +| bundle | string | 是 | 是 | 应用的包信息。 | +| uid | number | 是 | 是 | 用户ID。 | ## NotificationKey **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 说明 | -| ----- | ---- | ---- | ------ | ---------- | -| id | 是 | 是 | number | 通知ID。 | -| label | 是 | 是 | string | 通知标签。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ----- | ------ | ---- | --- | -------- | +| id | number | 是 | 是 | 通知ID。 | +| label | string | 是 | 是 | 通知标签。 | ## SubscribeCallbackData @@ -976,13 +987,13 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); **系统API**:此接口为系统接口,三方应用不支持调用。 -| 名称 | 可读 | 可写 | 类型 | 说明 | -| --------------- | ---- | --- | ------------------------------------------------- | -------- | -| request | 是 | 否 | [NotificationRequest](js-apis-notificationManager.md#notificationrequest) | 通知内容。 | -| sortingMap | 是 | 否 | [NotificationSortingMap](#notificationsortingmap) | 排序信息。 | -| reason | 是 | 否 | number | 删除原因。 | -| sound | 是 | 否 | string | 通知声音。 | -| vibrationValues | 是 | 否 | Array\ | 通知震动。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| --------------- | ------------------------------------------------- | -------- | -------- | -------- | +| request | [NotificationRequest](js-apis-notificationManager.md#notificationrequest) | 是 | 否 | 通知内容。 | +| sortingMap | [NotificationSortingMap](#notificationsortingmap) | 是 | 否 | 排序信息。 | +| reason | number | 是 | 否 | 删除原因。 | +| sound | string | 是 | 否 | 通知声音。 | +| vibrationValues | Array\ | 是 | 否 | 通知震动。 | ## EnabledNotificationCallbackData @@ -991,11 +1002,11 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); **系统API**:此接口为系统接口,三方应用不支持调用。 -| 名称 | 可读 | 可写 | 类型 | 描述 | -| ------ | ---- | --- | ------- | ---------------- | -| bundle | 是 | 否 | string | 应用的包名。 | -| uid | 是 | 否 | number | 应用的uid。 | -| enable | 是 | 否 | boolean | 应用通知使能状态。 | +| 名称 | 类型 | 可读 | 可写 | 描述 | +| ------ | ------- | ---------------- | ---------------- | ---------------- | +| bundle | string | 是 | 否 | 应用的包名。 | +| uid | number | 是 | 否 | 应用的uid。 | +| enable | boolean | 是 | 否 | 应用通知使能状态。 | ## NotificationSorting @@ -1006,11 +1017,11 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); **系统API**: 此接口为系统接口,三方应用不支持调用。 -| 名称 | 可读 | 可写 | 类型 | 说明 | -| -------- | ---- | --- | ------------------------------------- | ------------ | -| slot | 是 | 否 | [NotificationSlot](js-apis-notificationManager.md#notificationslot) | 通知通道内容。 | -| hashCode | 是 | 否 | string | 通知唯一标识。 | -| ranking | 是 | 否 | number | 通知排序序号。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------- | ------------------------------------- | ---- | --- | ------------ | +| slot | [NotificationSlot](js-apis-notificationManager.md#notificationslot) | 是 | 否 | 通知通道内容。 | +| hashCode | string | 是 | 否 | 通知唯一标识。 | +| ranking | number | 是 | 否 | 通知排序序号。 | ## NotificationSortingMap @@ -1021,10 +1032,10 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); **系统API**:此接口为系统接口,三方应用不支持调用。 -| 名称 | 可读 | 可写 | 类型 | 说明 | -| -------------- | ---- | --- | ------------------------------------------------------------ | ---------------- | -| sortings | 是 | 否 | {[key: string]: [NotificationSorting](#notificationsorting)} | 通知排序信息数组。 | -| sortedHashCode | 是 | 否 | Array\ | 通知唯一标识数组。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------------- | ------------------------------------------------------------ | ---- | --- | ---------------- | +| sortings | {[key: string]: [NotificationSorting](#notificationsorting)} | 是 | 否 | 通知排序信息数组。 | +| sortedHashCode | Array\ | 是 | 否 | 通知唯一标识数组。 | ## NotificationSubscribeInfo @@ -1035,10 +1046,10 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); **系统API**: 此接口为系统接口,三方应用不支持调用。 -| 名称 | 可读 | 可写 | 类型 | 描述 | -| ----------- | --- | ---- | --------------- | ------------------------------- | -| bundleNames | 是 | 是 | Array\ | 指定订阅哪些包名的APP发来的通知。 | -| userId | 是 | 是 | number | 指定订阅哪个用户下发来的通知。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ----------- | --------------- | --- | ---- | ------------------------------- | +| bundleNames | Array\ | 是 | 是 | 指定订阅哪些包名的APP发来的通知。 | +| userId | number | 是 | 是 | 指定订阅哪个用户下发来的通知。 | ## NotificationUserInput @@ -1047,9 +1058,9 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); **系统能力**:SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 描述 | -| -------- | --- | ---- | ------ | ----------------------------- | -| inputKey | 是 | 是 | string | 用户输入时用于标识此输入的key。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------- | ------ | --- | ---- | ----------------------------- | +| inputKey | string | 是 | 是 | 用户输入时用于标识此输入的key。 | ## RemoveReason @@ -1057,7 +1068,7 @@ NotificationSubscribe.subscribe(subscriber, subscribeCallback); **系统API**: 此接口为系统接口,三方应用不支持调用。 -| 名称 | 值 | 描述 | +| 名称 | 值 | 说明 | | -------------------- | --- | -------------------- | | CLICK_REASON_REMOVE | 1 | 点击通知后删除通知。 | | CANCEL_REASON_REMOVE | 2 | 用户删除通知。 | \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-osAccount.md b/zh-cn/application-dev/reference/apis/js-apis-osAccount.md index d52394cb303aec35d08749d8ec9f96191e3e6110..e1113330d00d86e527b5919099280af817b92ab5 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-osAccount.md +++ b/zh-cn/application-dev/reference/apis/js-apis-osAccount.md @@ -4361,7 +4361,7 @@ registerInputer(authType: AuthType, inputer: IInputer): void; let authType = account_osAccount.AuthType.DOMAIN; let password = new Uint8Array([0, 0, 0, 0, 0]); try { - InputerMgr.registerInputer(authType, { + inputerMgr.registerInputer(authType, { onGetData: (authSubType, callback) => { callback.onSetData(authSubType, password); } diff --git a/zh-cn/application-dev/reference/apis/js-apis-pasteboard.md b/zh-cn/application-dev/reference/apis/js-apis-pasteboard.md index 624f50e880f490b2d1094edb27de490c2ce2831e..e3fba61896f6997c625b71a1d14020b22bd16127 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-pasteboard.md +++ b/zh-cn/application-dev/reference/apis/js-apis-pasteboard.md @@ -29,7 +29,7 @@ import pasteboard from '@ohos.pasteboard'; 用于表示允许的数据字段类型。 -**系统能力:** 以下各项对应的系统能力均为SystemCapability.MiscServices.Pasteboard +**系统能力:** SystemCapability.MiscServices.Pasteboard | 类型 | 说明 | | -------- | -------- | @@ -120,11 +120,11 @@ let systemPasteboard = pasteboard.getSystemPasteboard(); **系统能力:** SystemCapability.MiscServices.Pasteboard -| 名称 | 说明 | -| ----- | ----------------------- | -| InApp |表示仅允许同应用内粘贴。 | -| LocalDevice |表示允许在此设备中任何应用内粘贴。 | -| CrossDevice |表示允许跨设备在任何应用内粘贴。 | +| 名称 | 值 | 说明 | +| ---- |---|-------------------| +| InApp | 0 | 表示仅允许同应用内粘贴。 | +| LocalDevice | 1 | 表示允许在此设备中任何应用内粘贴。 | +| CrossDevice | 2 | 表示允许跨设备在任何应用内粘贴。 | ## pasteboard.createHtmlData(deprecated) @@ -418,7 +418,7 @@ convertToTextV9(callback: AsyncCallback<string>): void **示例:** ```js -let record = pasteboard.createUriRecord('dataability:///com.example.myapplication1/user.txt'); +let record = pasteboard.createRecord(pasteboard.MIMETYPE_TEXT_URI, 'dataability:///com.example.myapplication1/user.txt'); record.convertToTextV9((err, data) => { if (err) { console.error(`Failed to convert to text. Cause: ${err.message}`); @@ -445,7 +445,7 @@ convertToTextV9(): Promise<string> **示例:** ```js -let record = pasteboard.createUriRecord('dataability:///com.example.myapplication1/user.txt'); +let record = pasteboard.createRecord(pasteboard.MIMETYPE_TEXT_URI, 'dataability:///com.example.myapplication1/user.txt'); record.convertToTextV9().then((data) => { console.info(`Succeeded in converting to text. Data: ${data}`); }).catch((err) => { @@ -536,7 +536,7 @@ getPrimaryText(): string **示例:** ```js -let pasteData = pasteboard.createPlainTextData('hello'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); let plainText = pasteData.getPrimaryText(); ``` @@ -558,7 +558,7 @@ getPrimaryHtml(): string ```js let html = "\n" + "\n" + "\n" + "\n" + "HTML-PASTEBOARD_HTML\n" + "\n" + "\n" + "

HEAD

\n" + "

\n" + "\n" + ""; -let pasteData = pasteboard.createHtmlData(html); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_HTML, html); let htmlText = pasteData.getPrimaryHtml(); ``` @@ -583,7 +583,7 @@ let object = { bundleName: "com.example.aafwk.test", abilityName: "com.example.aafwk.test.TwoAbility" }; -let pasteData = pasteboard.createWantData(object); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_WANT, object); let want = pasteData.getPrimaryWant(); ``` @@ -604,7 +604,7 @@ getPrimaryUri(): string **示例:** ```js -let pasteData = pasteboard.createUriData('dataability:///com.example.myapplication1/user.txt'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_URI, 'dataability:///com.example.myapplication1/user.txt'); let uri = pasteData.getPrimaryUri(); ``` @@ -636,7 +636,7 @@ let opt = { scaleMode: 1 }; image.createPixelMap(buffer, opt).then((pixelMap) => { - let pasteData = pasteboard.createData('app/xml',pixelMap); + let pasteData = pasteboard.createData(MIMETYPE_PIXELMAP, pixelMap); let PixelMap = pasteData.getPrimaryPixelMap(); }); ``` @@ -660,10 +660,10 @@ addRecord(record: PasteDataRecord): void **示例:** ```js -let pasteData = pasteboard.createUriData('dataability:///com.example.myapplication1/user.txt'); -let textRecord = pasteboard.createPlainTextRecord('hello'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_URI, 'dataability:///com.example.myapplication1/user.txt'); +let textRecord = pasteboard.createRecord(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); let html = "\n" + "\n" + "\n" + "\n" + "HTML-PASTEBOARD_HTML\n" + "\n" + "\n" + "

HEAD

\n" + "

\n" + "\n" + ""; -let htmlRecord = pasteboard.createHtmlTextRecord(html); +let htmlRecord = pasteboard.createRecord(pasteboard.MIMETYPE_TEXT_HTML, html); pasteData.addRecord(textRecord); pasteData.addRecord(htmlRecord); ``` @@ -695,7 +695,7 @@ addRecord(mimeType: string, value: ValueType): void **示例:** ```js - let pasteData = pasteboard.createUriData('dataability:///com.example.myapplication1/user.txt'); + let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_URI, 'dataability:///com.example.myapplication1/user.txt'); let dataXml = new ArrayBuffer(256); pasteData.addRecord('app/xml', dataXml); ``` @@ -717,7 +717,7 @@ getMimeTypes(): Array<string> **示例:** ```js -let pasteData = pasteboard.createPlainTextData('hello'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); let types = pasteData.getMimeTypes(); ``` @@ -738,7 +738,7 @@ getPrimaryMimeType(): string **示例:** ```js -let pasteData = pasteboard.createPlainTextData('hello'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); let type = pasteData.getPrimaryMimeType(); ``` @@ -759,7 +759,7 @@ getProperty(): PasteDataProperty **示例:** ```js -let pasteData = pasteboard.createPlainTextData('hello'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); let property = pasteData.getProperty(); ``` @@ -780,7 +780,7 @@ setProperty(property: PasteDataProperty): void **示例:** ```js -let pasteData = pasteboard.createHtmlData('application/xml'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_HTML, 'application/xml'); let prop = pasteData.getProperty(); prop.shareOption = pasteboard.ShareOption.InApp; pasteData.setProperty(prop); @@ -817,7 +817,7 @@ getRecord(index: number): PasteDataRecord **示例:** ```js -let pasteData = pasteboard.createPlainTextData('hello'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); let record = pasteData.getRecord(0); ``` @@ -838,7 +838,7 @@ getRecordCount(): number **示例:** ```js -let pasteData = pasteboard.createPlainTextData('hello'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); let count = pasteData.getRecordCount(); ``` @@ -859,7 +859,7 @@ getTag(): string **示例:** ```js -let pasteData = pasteboard.createPlainTextData('hello'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); let tag = pasteData.getTag(); ``` @@ -886,7 +886,7 @@ hasType(mimeType: string): boolean **示例:** ```js -let pasteData = pasteboard.createPlainTextData('hello'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); let hasType = pasteData.hasType(pasteboard.MIMETYPE_TEXT_PLAIN); ``` @@ -915,7 +915,7 @@ removeRecord(index: number): void **示例:** ```js -let pasteData = pasteboard.createPlainTextData('hello'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); pasteData.removeRecord(0); ``` @@ -945,8 +945,8 @@ replaceRecord(index: number, record: PasteDataRecord): void **示例:** ```js -let pasteData = pasteboard.createPlainTextData('hello'); -let record = pasteboard.createUriRecord('dataability:///com.example.myapplication1/user.txt'); +let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, 'hello'); +let record = pasteboard.createRecord(pasteboard.MIMETYPE_TEXT_URI, 'dataability:///com.example.myapplication1/user.txt'); pasteData.replaceRecord(0, record); ``` ### addHtmlRecord(deprecated) diff --git a/zh-cn/application-dev/reference/apis/js-apis-permissionrequestresult.md b/zh-cn/application-dev/reference/apis/js-apis-permissionrequestresult.md new file mode 100644 index 0000000000000000000000000000000000000000..e6c7832bdb314f38903b4e594c439ea0aa9d10de --- /dev/null +++ b/zh-cn/application-dev/reference/apis/js-apis-permissionrequestresult.md @@ -0,0 +1,38 @@ +# PermissionRequestResult + +权限请求结果对象,在调用[requestPermissionsFromUser](js-apis-abilityAccessCtrl.md#requestpermissionsfromuser9)申请权限时返回此对象表明此次权限申请的结果。 + +> **说明:** +> +> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 +> 本模块接口仅可在Stage模型下使用。 + +## 属性 + +**系统能力**:以下各项对应的系统能力均为SystemCapability.Security.AccessToken + +| 名称 | 类型 | 可读 | 可写 | 说明 | +| -------- | -------- | -------- | -------- | -------- | +| permissions | Array<string> | 是 | 否 | 用户传入的权限。| +| authResults | Array<number> | 是 | 否 | 相应请求权限的结果:0表示授权成功,非0表示失败。 | + +## 使用说明 + +通过atManager实例来获取。 + +**示例:** +```ts +import abilityAccessCtrl from '@ohos.abilityAccessCtrl'; +let atManager = abilityAccessCtrl.createAtManager(); +try { + atManager.requestPermissionsFromUser(this.context, ["ohos.permission.CAMERA"]).then((data) => { + console.info("data:" + JSON.stringify(data)); + console.info("data permissions:" + data.permissions); + console.info("data authResults:" + data.authResults); + }).catch((err) => { + console.info("data:" + JSON.stringify(err)); + }) +} catch(err) { + console.log(`catch err->${JSON.stringify(err)}`); +} +``` \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-pointer.md b/zh-cn/application-dev/reference/apis/js-apis-pointer.md index 97eac7d233ccd4b8cafe3b9ec017b83a3db4aa7c..cb8bab502a388bba94fceba5a648cbb8788cc842 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-pointer.md +++ b/zh-cn/application-dev/reference/apis/js-apis-pointer.md @@ -276,7 +276,7 @@ import window from '@ohos.window'; window.getTopWindow((error, win) => { win.getProperties((error, properties) => { - var windowId = properties.id; + let windowId = properties.id; if (windowId < 0) { console.log(`Invalid windowId`); return; @@ -319,7 +319,7 @@ import window from '@ohos.window'; window.getTopWindow((error, win) => { win.getProperties((error, properties) => { - var windowId = properties.id; + let windowId = properties.id; if (windowId < 0) { console.log(`Invalid windowId`); return; @@ -358,7 +358,7 @@ import window from '@ohos.window'; window.getTopWindow((error, win) => { win.getProperties((error, properties) => { - var windowId = properties.id; + let windowId = properties.id; if (windowId < 0) { console.log(`Invalid windowId`); return; @@ -396,7 +396,7 @@ import window from '@ohos.window'; window.getTopWindow((error, win) => { win.getProperties((error, properties) => { - var windowId = properties.id; + let windowId = properties.id; if (windowId < 0) { console.log(`Invalid windowId`); return; diff --git a/zh-cn/application-dev/reference/apis/js-apis-reminderAgent.md b/zh-cn/application-dev/reference/apis/js-apis-reminderAgent.md index 659a4c964d96ff94d0d57085d6571d2b84282ebd..8092ac7b926a187f7067b4c7fc79bb480f5e6056 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-reminderAgent.md +++ b/zh-cn/application-dev/reference/apis/js-apis-reminderAgent.md @@ -431,7 +431,7 @@ reminderAgent.removeNotificationSlot(notification.SlotType.CONTENT_INFORMATION). | 名称 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| pkgName | string | 是 | 指明点击提醒通知栏后跳转的目标hap包名。 | +| pkgName | string | 是 | 指明点击提醒通知栏后跳转的目标HAP名。 | | abilityName | string | 是 | 指明点击提醒通知栏后跳转的目标ability名称。 | @@ -443,7 +443,7 @@ reminderAgent.removeNotificationSlot(notification.SlotType.CONTENT_INFORMATION). | 名称 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| pkgName | string | 是 | 指明提醒到达时自动拉起的目标hap包名(如果设备在使用中,则只弹出通知横幅框)。 | +| pkgName | string | 是 | 指明提醒到达时自动拉起的目标HAP名(如果设备在使用中,则只弹出通知横幅框)。 | | abilityName | string | 是 | 指明提醒到达时自动拉起的目标ability名(如果设备在使用中,则只弹出通知横幅框)。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-reminderAgentManager.md b/zh-cn/application-dev/reference/apis/js-apis-reminderAgentManager.md index 6613c23ad51cc7e9be4ef086e8a5025c1755b34d..bc10d5d090c7463b4bc75c5e2fc420385e560718 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-reminderAgentManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-reminderAgentManager.md @@ -580,7 +580,7 @@ try { | 名称 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| pkgName | string | 是 | 指明点击提醒通知栏后跳转的目标hap包名。 | +| pkgName | string | 是 | 指明点击提醒通知栏后跳转的目标HAP名。 | | abilityName | string | 是 | 指明点击提醒通知栏后跳转的目标ability名称。 | @@ -592,7 +592,7 @@ try { | 名称 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| pkgName | string | 是 | 指明提醒到达时自动拉起的目标hap包名(如果设备在使用中,则只弹出通知横幅框)。 | +| pkgName | string | 是 | 指明提醒到达时自动拉起的目标HAP名(如果设备在使用中,则只弹出通知横幅框)。 | | abilityName | string | 是 | 指明提醒到达时自动拉起的目标ability名(如果设备在使用中,则只弹出通知横幅框)。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-request.md b/zh-cn/application-dev/reference/apis/js-apis-request.md index a9e649ed9f9ac8f5f92a10764beaf0f94d0162d6..e46673c4ea8afaed51a16428f2c9d59e31658486 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-request.md +++ b/zh-cn/application-dev/reference/apis/js-apis-request.md @@ -112,11 +112,15 @@ uploadFile(context: BaseContext, config: UploadConfig): Promise<UploadTask> files: [{ filename: "test", name: "test", uri: "internal://cache/test.jpg", type: "jpg" }], data: [{ name: "name123", value: "123" }], }; - request.uploadFile(globalThis.abilityContext, uploadConfig).then((data) => { + try { + request.uploadFile(globalThis.abilityContext, uploadConfig).then((data) => { uploadTask = data; - }).catch((err) => { - console.error('Failed to request the upload. Cause: ' + JSON.stringify(err)); - }); + }).catch((err) => { + console.error('Failed to request the upload. Cause: ' + JSON.stringify(err)); + }); + } catch (err) { + console.error('err.code : ' + err.code + ', err.message : ' + err.message); + } ``` @@ -156,13 +160,17 @@ uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback&l files: [{ filename: "test", name: "test", uri: "internal://cache/test.jpg", type: "jpg" }], data: [{ name: "name123", value: "123" }], }; - request.uploadFile(globalThis.abilityContext, uploadConfig, (err, data) => { + try { + request.uploadFile(globalThis.abilityContext, uploadConfig, (err, data) => { if (err) { console.error('Failed to request the upload. Cause: ' + JSON.stringify(err)); return; } uploadTask = data; - }); + }); + } catch (err) { + console.error('err.code : ' + err.code + ', err.message : ' + err.message); + } ``` ## request.upload(deprecated) @@ -363,8 +371,8 @@ on(type: 'progress', callback:(uploadedSize: number, totalSize: number) => vo | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| uploadedSize | number | 是 | 当前已上传文件大小,单位为KB。 | -| totalSize | number | 是 | 上传文件的总大小,单位为KB。 | +| uploadedSize | number | 是 | 当前已上传文件大小,单位为B。 | +| totalSize | number | 是 | 上传文件的总大小,单位为B。 | **示例:** @@ -472,8 +480,8 @@ off(type: 'progress', callback?: (uploadedSize: number, totalSize: number) =&g | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| uploadedSize | number | 是 | 当前已上传文件的大小,单位为KB。 | -| totalSize | number | 是 | 上传文件的总大小,单位为KB。 | +| uploadedSize | number | 是 | 当前已上传文件的大小,单位为B。 | +| totalSize | number | 是 | 上传文件的总大小,单位为B。 | **示例:** @@ -775,11 +783,15 @@ downloadFile(context: BaseContext, config: DownloadConfig): Promise<DownloadT ```js let downloadTask; - request.downloadFile(globalThis.abilityContext, { url: 'https://xxxx/xxxx.hap' }).then((data) => { - downloadTask = data; - }).catch((err) => { - console.error('Failed to request the download. Cause: ' + JSON.stringify(err)); - }) + try { + request.downloadFile(globalThis.abilityContext, { url: 'https://xxxx/xxxx.hap' }).then((data) => { + downloadTask = data; + }).catch((err) => { + console.error('Failed to request the download. Cause: ' + JSON.stringify(err)); + }) + } catch (err) { + console.error('err.code : ' + err.code + ', err.message : ' + err.message); + } ``` @@ -814,14 +826,18 @@ downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallba ```js let downloadTask; - request.downloadFile(globalThis.abilityContext, { url: 'https://xxxx/xxxxx.hap', - filePath: 'xxx/xxxxx.hap'}, (err, data) => { - if (err) { - console.error('Failed to request the download. Cause: ' + JSON.stringify(err)); - return; - } - downloadTask = data; - }); + try { + request.downloadFile(globalThis.abilityContext, { url: 'https://xxxx/xxxxx.hap', + filePath: 'xxx/xxxxx.hap'}, (err, data) => { + if (err) { + console.error('Failed to request the download. Cause: ' + JSON.stringify(err)); + return; + } + downloadTask = data; + }); + } catch (err) { + console.error('err.code : ' + err.code + ', err.message : ' + err.message); + } ``` ## request.download(deprecated) @@ -995,8 +1011,8 @@ on(type: 'progress', callback:(receivedSize: number, totalSize: number) => vo | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| receivedSize | number | 是 | 当前下载的进度,单位为KB。 | -| totalSize | number | 是 | 下载文件的总大小,单位为KB。 | +| receivedSize | number | 是 | 当前下载的进度,单位为B。 | +| totalSize | number | 是 | 下载文件的总大小,单位为B。 | **示例:** @@ -1029,8 +1045,8 @@ off(type: 'progress', callback?: (receivedSize: number, totalSize: number) => | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| receivedSize | number | 是 | 当前下载的进度。 | -| totalSize | number | 是 | 下载文件的总大小。 | +| receivedSize | number | 是 | 当前下载的进度,单位为B。| +| totalSize | number | 是 | 下载文件的总大小,单位为B。| **示例:** @@ -1805,7 +1821,7 @@ resume(callback: AsyncCallback<void>): void | enableMetered | boolean | 否 | 设置是否允许在按流量计费的连接下下载。
- true:是
- false:否 | | enableRoaming | boolean | 否 | 设置是否允许在漫游网络中下载。
- true:是
- false:否| | description | string | 否 | 设置下载会话的描述。 | -| filePath7+ | string | 否 | 设置下载路径(默认在'internal://cache/'路径下)。
- filePath:'workspace/test.txt':默认路径下创建workspace路径,并将文件存储在workspace路径下。
- filePath:'test.txt':将文件存储在默认路径下。
- filePath:'workspace/':默认路径下创建workspace路径,并将文件存储在workspace路径下。 | +| filePath7+ | string | 否 | 设置下载路径。
- filePath:'/data/storage/el2/base/haps/entry/files/test.txt':将文件存储在绝对路径下。
- FA模型下使用[context](js-apis-inner-app-context.md#contextgetcachedir) 获取应用存储路径,比如:'${featureAbility.getContext().getFilesDir()}/test.txt',并将文件存储在此路径下。
- Stage模型下使用[AbilityContext](js-apis-inner-application-context.md) 类获取文件路径,比如:'${globalThis.abilityContext.tempDir}/test.txt'并将文件存储在此路径下。| | networkType | number | 否 | 设置允许下载的网络类型。
- NETWORK_MOBILE:0x00000001
- NETWORK_WIFI:0x00010000| | title | string | 否 | 设置下载会话标题。 | | background9+ | boolean | 否 | 后台任务通知开关,开启后可在通知中显示下载状态。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-resource-manager.md b/zh-cn/application-dev/reference/apis/js-apis-resource-manager.md index 22c9ffa2943a5bbd515cee7b8155b0012d358552..0cd7c52b268043c928bba602b68423d10f487bec 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-resource-manager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-resource-manager.md @@ -19,8 +19,9 @@ import resourceManager from '@ohos.resourceManager'; Stage模型下Context的引用方法请参考[Stage模型的Context详细介绍](../../application-models/application-context-stage.md)。 ```ts -import Ability from '@ohos.application.Ability'; -class MainAbility extends Ability { +import UIAbility from '@ohos.app.ability.UIAbility'; + +export default class EntryAbility extends UIAbility { onWindowStageCreate(windowStage) { let context = this.context; let resourceManager = context.resourceManager; diff --git a/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md b/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md index a9b0d71a042853ab4198ac9e72f9322d040b4584..266497bac93f50fe51651ab7d9576e2967de20e5 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md @@ -235,7 +235,7 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want | --------- | ---------------------------------- | ---- | ---------------------------------------- | | context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | | bgMode | [BackgroundMode](#backgroundmode) | 是 | 向系统申请的后台模式。 | -| wantAgent | [WantAgent](js-apis-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击后跳转的界面。 | +| wantAgent | [WantAgent](js-apis-app-ability-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击后跳转的界面。 | | callback | AsyncCallback<void> | 是 | callback形式返回启动长时任务的结果。 | **错误码**: @@ -309,7 +309,7 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want | --------- | ---------------------------------- | ---- | ---------------------------------------- | | context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | | bgMode | [BackgroundMode](#backgroundmode) | 是 | 向系统申请的后台模式。 | -| wantAgent | [WantAgent](js-apis-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击跳转的界面。 | +| wantAgent | [WantAgent](js-apis-app-ability-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击跳转的界面。 | **返回值**: diff --git a/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md b/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md index 755448c20de4df77b2be331db75132aadd8b34de..dc6ab63d6b99021d6f1c20e89a5ed18fc9460d2b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md +++ b/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md @@ -1476,7 +1476,7 @@ FA的使用信息的属性集合。 | 名称 | 类型 | 必填 | 说明 | | -------------------- | ---------------------------------------- | ---- | ----------------------------- | | deviceId | string | 否 | FA所属deviceId。 | -| bundleName | string | 是 | FA所属应用包名。 | +| bundleName | string | 是 | FA所属应用Bundle名称。 | | moduleName | string | 是 | FA所属module名。 | | abilityName | string | 否 | FA的MainAbility名。 | | appLabelId | number | 否 | FA的应用labelId。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-router.md b/zh-cn/application-dev/reference/apis/js-apis-router.md index caed182678ce01683e5ab8a3b95c296a26780c35..607bf89cf8aff6bb287a87414faa98c5290ebee3 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-router.md +++ b/zh-cn/application-dev/reference/apis/js-apis-router.md @@ -54,8 +54,8 @@ try { data1: 'message', data2: { data3: [123, 456, 789] - }, - }, + } + } }) .then(() => { // success @@ -103,8 +103,8 @@ try { data1: 'message', data2: { data3: [123, 456, 789] - }, - }, + } + } }, (err) => { if (err) { console.error(`pushUrl failed, code is ${err.code}, message is ${err.message}`); @@ -157,8 +157,8 @@ try { data1: 'message', data2: { data3: [123, 456, 789] - }, - }, + } + } }, router.RouterMode.Standard) .then(() => { // success @@ -207,8 +207,8 @@ try { data1: 'message', data2: { data3: [123, 456, 789] - }, - }, + } + } }, router.RouterMode.Standard, (err) => { if (err) { console.error(`pushUrl failed, code is ${err.code}, message is ${err.message}`); @@ -257,8 +257,8 @@ try { router.replaceUrl({ url: 'pages/detail', params: { - data1: 'message', - }, + data1: 'message' + } }) .then(() => { // success @@ -302,8 +302,8 @@ try { router.replaceUrl({ url: 'pages/detail', params: { - data1: 'message', - }, + data1: 'message' + } }, (err) => { if (err) { console.error(`replaceUrl failed, code is ${err.code}, message is ${err.message}`); @@ -354,8 +354,8 @@ try { router.replaceUrl({ url: 'pages/detail', params: { - data1: 'message', - }, + data1: 'message' + } }, router.RouterMode.Standard) .then(() => { // success @@ -400,8 +400,8 @@ try { router.replaceUrl({ url: 'pages/detail', params: { - data1: 'message', - }, + data1: 'message' + } }, router.RouterMode.Standard, (err) => { if (err) { console.error(`replaceUrl failed, code is ${err.code}, message is ${err.message}`); @@ -465,7 +465,7 @@ getLength(): string **示例:** ```js -var size = router.getLength(); +let size = router.getLength(); console.log('pages stack size = ' + size); ``` @@ -486,7 +486,7 @@ getState(): RouterState **示例:** ```js -var page = router.getState(); +let page = router.getState(); console.log('current index = ' + page.index); console.log('current name = ' + page.name); console.log('current path = ' + page.path); @@ -618,8 +618,8 @@ export default { router.push({ url: 'pages/detail/detail', params: { - data1: 'message', - }, + data1: 'message' + } }); } } @@ -649,7 +649,7 @@ struct Index { text: '这是第一页的值', data: { array: [12, 45, 78] - }, + } } } try { @@ -741,8 +741,8 @@ router.push({ data1: 'message', data2: { data3: [123, 456, 789] - }, - }, + } + } }); ``` ## router.push(deprecated) @@ -772,8 +772,8 @@ router.push({ data1: 'message', data2: { data3: [123, 456, 789] - }, - }, + } + } },router.RouterMode.Standard); ``` @@ -799,8 +799,8 @@ replace(options: RouterOptions): void router.replace({ url: 'pages/detail', params: { - data1: 'message', - }, + data1: 'message' + } }); ``` @@ -827,8 +827,8 @@ replace(options: RouterOptions, mode: RouterMode): void router.replace({ url: 'pages/detail/detail', params: { - data1: 'message', - }, + data1: 'message' + } }, router.RouterMode.Standard); ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-rpc.md b/zh-cn/application-dev/reference/apis/js-apis-rpc.md index d9f72bcd6e82743f3eef5999f8a671b6e1baee83..8f0c38fc5710505d39524bd4e380ee4ea218b322 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-rpc.md +++ b/zh-cn/application-dev/reference/apis/js-apis-rpc.md @@ -4,10 +4,9 @@ > **说明:** > -> 本模块首批接口从API version 7开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 +> - 本模块首批接口从API version 7开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 > -> 本模块从API version 9开始支持异常返回功能。 - +> - 本模块从API version 9开始支持异常返回功能。 ## 导入模块 @@ -15,7 +14,6 @@ import rpc from '@ohos.rpc'; ``` - ## ErrorCode9+ 从API version 9起,IPC支持异常返回功能。错误码对应数值及含义如下。 @@ -42,11 +40,11 @@ import rpc from '@ohos.rpc'; ## MessageSequence9+ - 在RPC过程中,发送方可以使用MessageSequence提供的写方法,将待发送的数据以特定格式写入该对象。接收方可以使用MessageSequence提供的读方法从该对象中读取特定格式的数据。数据格式包括:基础类型及数组、IPC对象、接口描述符和自定义序列化对象。 + 在RPC或IPC过程中,发送方可以使用MessageSequence提供的写方法,将待发送的数据以特定格式写入该对象。接收方可以使用MessageSequence提供的读方法从该对象中读取特定格式的数据。数据格式包括:基础类型及数组、IPC对象、接口描述符和自定义序列化对象。 ### create - create(): MessageSequence + static create(): MessageSequence 静态方法,创建MessageSequence对象。 @@ -60,7 +58,7 @@ import rpc from '@ohos.rpc'; **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); console.log("RpcClient: data is " + data); ``` @@ -75,7 +73,7 @@ reclaim(): void **示例:** - ``` + ```ts let reply = rpc.MessageSequence.create(); reply.reclaim(); ``` @@ -105,7 +103,7 @@ writeRemoteObject(object: [IRemoteObject](#iremoteobject)): void **示例:** - ``` + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -146,7 +144,7 @@ readRemoteObject(): IRemoteObject **示例:** - ``` + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -187,7 +185,7 @@ writeInterfaceToken(token: string): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeInterfaceToken("aaa"); @@ -201,7 +199,7 @@ writeInterfaceToken(token: string): void readInterfaceToken(): string -从MessageSequence中读取接口描述符,接口描述符按写入MessageSequence的顺序读取,本地对象可使用该信息检验本次通信。 +从MessageSequence对象中读取接口描述符,接口描述符按写入MessageSequence的顺序读取,本地对象可使用该信息检验本次通信。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -219,29 +217,28 @@ readInterfaceToken(): string | ------- | ----- | | 1900010 | read data from message sequence failed | - **示例:** - ``` - class Stub extends rpc.RemoteObject { - onRemoteRequest(code, data, reply, option) { - try { - let interfaceToken = data.readInterfaceToken(); - console.log("RpcServer: interfaceToken is " + interfaceToken); - } catch(error) { - console.info("RpcServer: read interfaceToken failed, errorCode " + error.code); - console.info("RpcServer: read interfaceToken failed, errorMessage " + error.message); - } - return true; - } - } +```ts +class Stub extends rpc.RemoteObject { + onRemoteRequest(code, data, reply, option) { + try { + let interfaceToken = data.readInterfaceToken(); + console.log("RpcServer: interfaceToken is " + interfaceToken); + } catch(error) { + console.info("RpcServer: read interfaceToken failed, errorCode " + error.code); + console.info("RpcServer: read interfaceToken failed, errorMessage " + error.message); + } + return true; + } +} ``` ### getSize getSize(): number -获取当前MessageSequence的数据大小。 +获取当前创建的MessageSequence对象的数据大小。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -249,11 +246,11 @@ getSize(): number | 类型 | 说明 | | ------ | ----------------------------------------------- | - | number | 获取的MessageSequence的数据大小。以字节为单位。 | + | number | 获取的MessageSequence实例的数据大小。以字节为单位。 | **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); let size = data.getSize(); console.log("RpcClient: size is " + size); @@ -263,7 +260,7 @@ getSize(): number getCapacity(): number -获取当前MessageSequence的容量。 +获取当前MessageSequence对象的容量大小。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -271,11 +268,11 @@ getCapacity(): number | 类型 | 说明 | | ------ | ----- | - | number | 获取的MessageSequence的容量大小。以字节为单位。 | + | number | 获取的MessageSequence实例的容量大小。以字节为单位。 | **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); let result = data.getCapacity(); console.log("RpcClient: capacity is " + result); @@ -285,7 +282,7 @@ getCapacity(): number setSize(size: number): void -设置MessageSequence实例中包含的数据大小。 +设置MessageSequence对象中包含的数据大小。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -297,7 +294,7 @@ setSize(size: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.setSize(16); @@ -312,7 +309,7 @@ setSize(size: number): void setCapacity(size: number): void -设置MessageSequence实例的存储容量。 +设置MessageSequence对象的存储容量。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -332,7 +329,7 @@ setCapacity(size: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.setCapacity(100); @@ -347,7 +344,7 @@ setCapacity(size: number): void getWritableBytes(): number -获取MessageSequence的可写字节空间。 +获取MessageSequence的可写字节空间大小。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -355,18 +352,18 @@ getWritableBytes(): number | 类型 | 说明 | | ------ | ------ | - | number | 获取到的MessageSequence的可写字节空间。以字节为单位。 | + | number | 获取到的MessageSequence实例的可写字节空间。以字节为单位。 | **示例:** - ``` - class Stub extends rpc.RemoteObject { - onRemoteRequest(code, data, reply, option) { - let getWritableBytes = data.getWritableBytes(); - console.log("RpcServer: getWritableBytes is " + getWritableBytes); - return true; - } - } +```ts +class Stub extends rpc.RemoteObject { + onRemoteRequest(code, data, reply, option) { + let getWritableBytes = data.getWritableBytes(); + console.log("RpcServer: getWritableBytes is " + getWritableBytes); + return true; + } +} ``` ### getReadableBytes @@ -381,18 +378,18 @@ getReadableBytes(): number | 类型 | 说明 | | ------ | ------- | - | number | 获取到的MessageSequence的可读字节空间。以字节为单位。 | + | number | 获取到的MessageSequence实例的可读字节空间。以字节为单位。 | **示例:** - ``` - class Stub extends rpc.RemoteObject { - onRemoteRequest(code, data, reply, option) { - let result = data.getReadableBytes(); - console.log("RpcServer: getReadableBytes is " + result); - return true; - } - } + ```ts +class Stub extends rpc.RemoteObject { + onRemoteRequest(code, data, reply, option) { + let result = data.getReadableBytes(); + console.log("RpcServer: getReadableBytes is " + result); + return true; + } +} ``` ### getReadPosition @@ -411,7 +408,7 @@ getReadPosition(): number **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); let readPos = data.getReadPosition(); console.log("RpcClient: readPos is " + readPos); @@ -433,7 +430,7 @@ getWritePosition(): number **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); data.writeInt(10); let bwPos = data.getWritePosition(); @@ -456,7 +453,7 @@ rewindRead(pos: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); data.writeInt(12); data.writeString("sequence"); @@ -488,7 +485,7 @@ rewindWrite(pos: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); data.writeInt(4); try { @@ -526,7 +523,7 @@ writeByte(val: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeByte(2); @@ -560,7 +557,7 @@ readByte(): number **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeByte(2); @@ -601,7 +598,7 @@ writeShort(val: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeShort(8); @@ -635,7 +632,7 @@ readShort(): number **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeShort(8); @@ -676,7 +673,7 @@ writeInt(val: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeInt(10); @@ -710,7 +707,7 @@ readInt(): number **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeInt(10); @@ -751,7 +748,7 @@ writeLong(val: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeLong(10000); @@ -785,7 +782,7 @@ readLong(): number **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeLong(10000); @@ -826,7 +823,7 @@ writeFloat(val: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeFloat(1.2); @@ -860,7 +857,7 @@ readFloat(): number **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeFloat(1.2); @@ -901,7 +898,7 @@ writeDouble(val: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeDouble(10.2); @@ -935,7 +932,7 @@ readDouble(): number **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeDouble(10.2); @@ -976,7 +973,7 @@ writeBoolean(val: boolean): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeBoolean(false); @@ -1010,7 +1007,7 @@ readBoolean(): boolean **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeBoolean(false); @@ -1051,7 +1048,7 @@ writeChar(val: number): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeChar(97); @@ -1085,7 +1082,7 @@ readChar(): number **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeChar(97); @@ -1126,7 +1123,7 @@ writeString(val: string): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeString('abc'); @@ -1160,7 +1157,7 @@ readString(): string **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeString('abc'); @@ -1201,7 +1198,7 @@ writeParcelable(val: Parcelable): void **示例:** - ``` + ```ts class MySequenceable { num: number; str: string; @@ -1255,7 +1252,7 @@ readParcelable(dataIn: Parcelable): void **示例:** - ``` + ```ts class MySequenceable { num: number; str: string; @@ -1310,7 +1307,7 @@ writeByteArray(byteArray: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); let ByteArrayVar = [1, 2, 3, 4, 5]; try { @@ -1345,7 +1342,7 @@ readByteArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); let ByteArrayVar = [1, 2, 3, 4, 5]; try { @@ -1387,7 +1384,7 @@ readByteArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); let byteArrayVar = [1, 2, 3, 4, 5]; try { @@ -1429,7 +1426,7 @@ writeShortArray(shortArray: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeShortArray([11, 12, 13]); @@ -1463,7 +1460,7 @@ readShortArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeShortArray([11, 12, 13]); @@ -1504,7 +1501,7 @@ readShortArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeShortArray([11, 12, 13]); @@ -1545,7 +1542,7 @@ writeIntArray(intArray: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeIntArray([100, 111, 112]); @@ -1579,7 +1576,7 @@ readIntArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeIntArray([100, 111, 112]); @@ -1620,7 +1617,7 @@ readIntArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeIntArray([100, 111, 112]); @@ -1661,7 +1658,7 @@ writeLongArray(longArray: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeLongArray([1111, 1112, 1113]); @@ -1675,7 +1672,7 @@ writeLongArray(longArray: number[]): void readLongArray(dataIn: number[]): void -从MessageSequence实例读取长整数数组。 +从MessageSequence实例读取的长整数数组。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -1695,7 +1692,7 @@ readLongArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeLongArray([1111, 1112, 1113]); @@ -1716,7 +1713,7 @@ readLongArray(dataIn: number[]): void readLongArray(): number[] -从MessageSequence实例中读取长整数数组。 +从MessageSequence实例中读取所有的长整数数组。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -1736,7 +1733,7 @@ readLongArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeLongArray([1111, 1112, 1113]); @@ -1777,7 +1774,7 @@ writeFloatArray(floatArray: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeFloatArray([1.2, 1.3, 1.4]); @@ -1811,7 +1808,7 @@ readFloatArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeFloatArray([1.2, 1.3, 1.4]); @@ -1852,7 +1849,7 @@ readFloatArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeFloatArray([1.2, 1.3, 1.4]); @@ -1893,7 +1890,7 @@ writeDoubleArray(doubleArray: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeDoubleArray([11.1, 12.2, 13.3]); @@ -1927,7 +1924,7 @@ readDoubleArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeDoubleArray([11.1, 12.2, 13.3]); @@ -1948,7 +1945,7 @@ readDoubleArray(dataIn: number[]): void readDoubleArray(): number[] -从MessageSequence实例读取双精度浮点数组。 +从MessageSequence实例读取所有双精度浮点数组。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -1968,7 +1965,7 @@ readDoubleArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeDoubleArray([11.1, 12.2, 13.3]); @@ -2009,7 +2006,7 @@ writeBooleanArray(booleanArray: boolean[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeBooleanArray([false, true, false]); @@ -2043,7 +2040,7 @@ readBooleanArray(dataIn: boolean[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeBooleanArray([false, true, false]); @@ -2064,7 +2061,7 @@ readBooleanArray(dataIn: boolean[]): void readBooleanArray(): boolean[] -从MessageSequence实例中读取布尔数组。 +从MessageSequence实例中读取所有布尔数组。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -2084,7 +2081,7 @@ readBooleanArray(): boolean[] **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeBooleanArray([false, true, false]); @@ -2125,7 +2122,7 @@ writeCharArray(charArray: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeCharArray([97, 98, 88]); @@ -2159,7 +2156,7 @@ readCharArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeCharArray([97, 98, 88]); @@ -2200,7 +2197,7 @@ readCharArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeCharArray([97, 98, 88]); @@ -2242,7 +2239,7 @@ writeStringArray(stringArray: string[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeStringArray(["abc", "def"]); @@ -2276,7 +2273,7 @@ readStringArray(dataIn: string[]): void **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeStringArray(["abc", "def"]); @@ -2317,7 +2314,7 @@ readStringArray(): string[] **示例:** - ``` + ```ts let data = rpc.MessageSequence.create(); try { data.writeStringArray(["abc", "def"]); @@ -2352,7 +2349,7 @@ writeNoException(): void **示例:** - ``` + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -2394,7 +2391,7 @@ readException(): void **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -2467,7 +2464,7 @@ writeParcelableArray(parcelableArray: Parcelable[]): void **示例:** - ``` + ```ts class MyParcelable { num: number; str: string; @@ -2524,7 +2521,7 @@ readParcelableArray(parcelableArray: Parcelable[]): void **示例:** - ``` + ```ts class MyParcelable { num: number; str: string; @@ -2584,7 +2581,7 @@ writeRemoteObjectArray(objectArray: IRemoteObject[]): void **示例:** - ``` + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -2631,7 +2628,7 @@ readRemoteObjectArray(objects: IRemoteObject[]): void **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -2684,7 +2681,7 @@ readRemoteObjectArray(): IRemoteObject[] **示例:** - ``` + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -2712,7 +2709,7 @@ readRemoteObjectArray(): IRemoteObject[] static closeFileDescriptor(fd: number): void -关闭给定的文件描述符。 +静态方法,关闭给定的文件描述符。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -2724,7 +2721,7 @@ static closeFileDescriptor(fd: number): void **示例:** - ``` + ```ts import fileio from '@ohos.fileio'; let filePath = "path/to/file"; let fd = fileio.openSync(filePath, 0o2| 0o100, 0o666); @@ -2740,7 +2737,7 @@ static closeFileDescriptor(fd: number): void static dupFileDescriptor(fd: number) :number -复制给定的文件描述符。 +静态方法,复制给定的文件描述符。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -2766,7 +2763,7 @@ static dupFileDescriptor(fd: number) :number **示例:** - ``` + ```ts import fileio from '@ohos.fileio'; let filePath = "path/to/file"; let fd = fileio.openSync(filePath, 0o2| 0o100, 0o666); @@ -2790,12 +2787,12 @@ containFileDescriptors(): boolean | 类型 | 说明 | | ------- | -------------------------------------------------------------------- | - | boolean | 如果此MessageSequence对象包含文件描述符,则返回true;否则返回false。 | + | boolean | true:包含文件描述符,false:不包含文件描述符。| **示例:** - ``` + ```ts import fileio from '@ohos.fileio'; let sequence = new rpc.MessageSequence(); let filePath = "path/to/file"; @@ -2840,7 +2837,7 @@ writeFileDescriptor(fd: number): void **示例:** - ``` + ```ts import fileio from '@ohos.fileio'; let sequence = new rpc.MessageSequence(); let filePath = "path/to/file"; @@ -2853,7 +2850,6 @@ writeFileDescriptor(fd: number): void } ``` - ### readFileDescriptor readFileDescriptor(): number @@ -2878,7 +2874,7 @@ readFileDescriptor(): number **示例:** - ``` + ```ts import fileio from '@ohos.fileio'; let sequence = new rpc.MessageSequence(); let filePath = "path/to/file"; @@ -2897,7 +2893,6 @@ readFileDescriptor(): number } ``` - ### writeAshmem writeAshmem(ashmem: Ashmem): void @@ -2922,7 +2917,7 @@ writeAshmem(ashmem: Ashmem): void **示例:** - ``` + ```ts let sequence = new rpc.MessageSequence(); let ashmem; try { @@ -2964,7 +2959,7 @@ readAshmem(): Ashmem **示例:** - ``` + ```ts let sequence = new rpc.MessageSequence(); let ashmem; try { @@ -2988,7 +2983,6 @@ readAshmem(): Ashmem } ``` - ### getRawDataCapacity getRawDataCapacity(): number @@ -3005,13 +2999,12 @@ getRawDataCapacity(): number **示例:** - ``` + ```ts let sequence = new rpc.MessageSequence(); let result = sequence.getRawDataCapacity(); console.log("RpcTest: sequence get RawDataCapacity result is : " + result); ``` - ### writeRawData writeRawData(rawData: number[], size: number): void @@ -3037,7 +3030,7 @@ writeRawData(rawData: number[], size: number): void **示例:** - ``` + ```ts let sequence = new rpc.MessageSequence(); let arr = [1, 2, 3, 4, 5]; try { @@ -3048,7 +3041,6 @@ writeRawData(rawData: number[], size: number): void } ``` - ### readRawData readRawData(size: number): number[] @@ -3079,7 +3071,7 @@ readRawData(size: number): number[] **示例:** - ``` + ```ts let sequence = new rpc.MessageSequence(); let arr = [1, 2, 3, 4, 5]; try { @@ -3105,7 +3097,7 @@ readRawData(size: number): number[] ### create -create(): MessageParcel +static create(): MessageParcel 静态方法,创建MessageParcel对象。 @@ -3119,7 +3111,7 @@ create(): MessageParcel **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); console.log("RpcClient: data is " + data); ``` @@ -3134,7 +3126,7 @@ reclaim(): void **示例:** - ``` + ```ts let reply = rpc.MessageParcel.create(); reply.reclaim(); ``` @@ -3157,11 +3149,11 @@ writeRemoteObject(object: [IRemoteObject](#iremoteobject)): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果操作成功,则返回true;否则返回false。 | + | boolean | true:操作成功,false:操作失败。| **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -3202,7 +3194,7 @@ readRemoteObject(): IRemoteObject **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -3246,11 +3238,11 @@ writeInterfaceToken(token: string): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果操作成功,则返回true;否则返回false。 | + | boolean | true:操作成功,false:操作失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeInterfaceToken("aaa"); console.log("RpcServer: writeInterfaceToken is " + result); @@ -3273,7 +3265,7 @@ readInterfaceToken(): string **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let interfaceToken = data.readInterfaceToken(); @@ -3283,7 +3275,6 @@ readInterfaceToken(): string } ``` - ### getSize getSize(): number @@ -3300,13 +3291,12 @@ getSize(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let size = data.getSize(); console.log("RpcClient: size is " + size); ``` - ### getCapacity getCapacity(): number @@ -3323,13 +3313,12 @@ getCapacity(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.getCapacity(); console.log("RpcClient: capacity is " + result); ``` - ### setSize setSize(size: number): boolean @@ -3348,17 +3337,16 @@ setSize(size: number): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 设置成功返回true,否则返回false。 | + | boolean | true:设置成功,false:设置失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let setSize = data.setSize(16); console.log("RpcClient: setSize is " + setSize); ``` - ### setCapacity setCapacity(size: number): boolean @@ -3377,17 +3365,16 @@ setCapacity(size: number): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 设置成功返回true,否则返回false。 | + | boolean | true:设置成功,false:设置失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.setCapacity(100); console.log("RpcClient: setCapacity is " + result); ``` - ### getWritableBytes getWritableBytes(): number @@ -3404,7 +3391,7 @@ getWritableBytes(): number **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let getWritableBytes = data.getWritableBytes(); @@ -3414,7 +3401,6 @@ getWritableBytes(): number } ``` - ### getReadableBytes getReadableBytes(): number @@ -3431,7 +3417,7 @@ getReadableBytes(): number **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteRequest(code, data, reply, option) { let result = data.getReadableBytes(); @@ -3441,7 +3427,6 @@ getReadableBytes(): number } ``` - ### getReadPosition getReadPosition(): number @@ -3458,13 +3443,12 @@ getReadPosition(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let readPos = data.getReadPosition(); console.log("RpcClient: readPos is " + readPos); ``` - ### getWritePosition getWritePosition(): number @@ -3481,14 +3465,13 @@ getWritePosition(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); data.writeInt(10); let bwPos = data.getWritePosition(); console.log("RpcClient: bwPos is " + bwPos); ``` - ### rewindRead rewindRead(pos: number): boolean @@ -3507,11 +3490,11 @@ rewindRead(pos: number): boolean | 类型 | 说明 | | ------- | ------------------------------------------------- | - | boolean | 如果读取位置发生更改,则返回true;否则返回false。 | + | boolean | true:读取位置发生更改,false:读取位置未发生更改。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); data.writeInt(12); data.writeString("parcel"); @@ -3522,7 +3505,6 @@ rewindRead(pos: number): boolean console.log("RpcClient: rewindRead is " + number2); ``` - ### rewindWrite rewindWrite(pos: number): boolean @@ -3541,11 +3523,11 @@ rewindWrite(pos: number): boolean | 类型 | 说明 | | ------- | --------------------------------------------- | - | boolean | 如果写入位置更改,则返回true;否则返回false。 | + | boolean | true:写入位置发生更改,false:写入位置未发生更改。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); data.writeInt(4); data.rewindWrite(0); @@ -3554,7 +3536,6 @@ rewindWrite(pos: number): boolean console.log("RpcClient: rewindWrite is: " + number); ``` - ### writeByte writeByte(val: number): boolean @@ -3577,13 +3558,12 @@ writeByte(val: number): boolean **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeByte(2); console.log("RpcClient: writeByte is: " + result); ``` - ### readByte readByte(): number @@ -3600,7 +3580,7 @@ readByte(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeByte(2); console.log("RpcClient: writeByte is: " + result); @@ -3608,7 +3588,6 @@ readByte(): number console.log("RpcClient: readByte is: " + ret); ``` - ### writeShort writeShort(val: number): boolean @@ -3627,17 +3606,16 @@ writeShort(val: number): boolean | 类型 | 说明 | | ------- | ----------------------------- | - | boolean | 写入返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeShort(8); console.log("RpcClient: writeShort is: " + result); ``` - ### readShort readShort(): number @@ -3654,7 +3632,7 @@ readShort(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeShort(8); console.log("RpcClient: writeShort is: " + result); @@ -3662,7 +3640,6 @@ readShort(): number console.log("RpcClient: readShort is: " + ret); ``` - ### writeInt writeInt(val: number): boolean @@ -3685,13 +3662,12 @@ writeInt(val: number): boolean **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeInt(10); console.log("RpcClient: writeInt is " + result); ``` - ### readInt readInt(): number @@ -3708,7 +3684,7 @@ readInt(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeInt(10); console.log("RpcClient: writeInt is " + result); @@ -3716,7 +3692,6 @@ readInt(): number console.log("RpcClient: readInt is " + ret); ``` - ### writeLong writeLong(val: number): boolean @@ -3735,17 +3710,16 @@ writeLong(val: number): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeLong(10000); console.log("RpcClient: writeLong is " + result); ``` - ### readLong readLong(): number @@ -3762,7 +3736,7 @@ readLong(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeLong(10000); console.log("RpcClient: writeLong is " + result); @@ -3770,7 +3744,6 @@ readLong(): number console.log("RpcClient: readLong is " + ret); ``` - ### writeFloat writeFloat(val: number): boolean @@ -3789,17 +3762,16 @@ writeFloat(val: number): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeFloat(1.2); console.log("RpcClient: writeFloat is " + result); ``` - ### readFloat readFloat(): number @@ -3816,7 +3788,7 @@ readFloat(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeFloat(1.2); console.log("RpcClient: writeFloat is " + result); @@ -3824,7 +3796,6 @@ readFloat(): number console.log("RpcClient: readFloat is " + ret); ``` - ### writeDouble writeDouble(val: number): boolean @@ -3843,17 +3814,16 @@ writeDouble(val: number): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeDouble(10.2); console.log("RpcClient: writeDouble is " + result); ``` - ### readDouble readDouble(): number @@ -3870,7 +3840,7 @@ readDouble(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeDouble(10.2); console.log("RpcClient: writeDouble is " + result); @@ -3896,17 +3866,16 @@ writeBoolean(val: boolean): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeBoolean(false); console.log("RpcClient: writeBoolean is " + result); ``` - ### readBoolean readBoolean(): boolean @@ -3923,7 +3892,7 @@ readBoolean(): boolean **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeBoolean(false); console.log("RpcClient: writeBoolean is " + result); @@ -3931,7 +3900,6 @@ readBoolean(): boolean console.log("RpcClient: readBoolean is " + ret); ``` - ### writeChar writeChar(val: number): boolean @@ -3950,17 +3918,16 @@ writeChar(val: number): boolean | 类型 | 说明 | | ------- | ----------------------------- | - | boolean | 写入返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeChar(97); console.log("RpcClient: writeChar is " + result); ``` - ### readChar readChar(): number @@ -3977,7 +3944,7 @@ readChar(): number **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeChar(97); console.log("RpcClient: writeChar is " + result); @@ -3985,7 +3952,6 @@ readChar(): number console.log("RpcClient: readChar is " + ret); ``` - ### writeString writeString(val: string): boolean @@ -4004,17 +3970,16 @@ writeString(val: string): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeString('abc'); console.log("RpcClient: writeString is " + result); ``` - ### readString readString(): string @@ -4031,7 +3996,7 @@ readString(): string **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeString('abc'); console.log("RpcClient: writeString is " + result); @@ -4039,7 +4004,6 @@ readString(): string console.log("RpcClient: readString is " + ret); ``` - ### writeSequenceable writeSequenceable(val: Sequenceable): boolean @@ -4058,11 +4022,11 @@ writeSequenceable(val: Sequenceable): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts class MySequenceable { num: number; str: string; @@ -4087,7 +4051,6 @@ writeSequenceable(val: Sequenceable): boolean console.log("RpcClient: writeSequenceable is " + result); ``` - ### readSequenceable readSequenceable(dataIn: Sequenceable): boolean @@ -4106,11 +4069,11 @@ readSequenceable(dataIn: Sequenceable): boolean | 类型 | 说明 | | ------- | ------------------------------------------- | - | boolean | 如果反序列成功,则返回true;否则返回false。 | + | boolean | true:反序列化成功,false:反序列化失败。| **示例:** - ``` + ```ts class MySequenceable { num: number; str: string; @@ -4138,7 +4101,6 @@ readSequenceable(dataIn: Sequenceable): boolean console.log("RpcClient: writeSequenceable is " + result2); ``` - ### writeByteArray writeByteArray(byteArray: number[]): boolean @@ -4157,18 +4119,17 @@ writeByteArray(byteArray: number[]): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let ByteArrayVar = [1, 2, 3, 4, 5]; let result = data.writeByteArray(ByteArrayVar); console.log("RpcClient: writeByteArray is " + result); ``` - ### readByteArray readByteArray(dataIn: number[]): void @@ -4185,7 +4146,7 @@ readByteArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let ByteArrayVar = [1, 2, 3, 4, 5]; let result = data.writeByteArray(ByteArrayVar); @@ -4194,7 +4155,6 @@ readByteArray(dataIn: number[]): void data.readByteArray(array); ``` - ### readByteArray readByteArray(): number[] @@ -4211,7 +4171,7 @@ readByteArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let ByteArrayVar = [1, 2, 3, 4, 5]; let result = data.writeByteArray(ByteArrayVar); @@ -4220,7 +4180,6 @@ readByteArray(): number[] console.log("RpcClient: readByteArray is " + array); ``` - ### writeShortArray writeShortArray(shortArray: number[]): boolean @@ -4239,17 +4198,16 @@ writeShortArray(shortArray: number[]): boolean | 类型 | 说明 | | ------- | ----------------------------- | - | boolean | 写入返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeShortArray([11, 12, 13]); console.log("RpcClient: writeShortArray is " + result); ``` - ### readShortArray readShortArray(dataIn: number[]): void @@ -4266,7 +4224,7 @@ readShortArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeShortArray([11, 12, 13]); console.log("RpcClient: writeShortArray is " + result); @@ -4274,7 +4232,6 @@ readShortArray(dataIn: number[]): void data.readShortArray(array); ``` - ### readShortArray readShortArray(): number[] @@ -4291,7 +4248,7 @@ readShortArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeShortArray([11, 12, 13]); console.log("RpcClient: writeShortArray is " + result); @@ -4299,7 +4256,6 @@ readShortArray(): number[] console.log("RpcClient: readShortArray is " + array); ``` - ### writeIntArray writeIntArray(intArray: number[]): boolean @@ -4318,17 +4274,16 @@ writeIntArray(intArray: number[]): boolean | 类型 | 说明 | | ------- | ----------------------------- | - | boolean | 写入返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeIntArray([100, 111, 112]); console.log("RpcClient: writeIntArray is " + result); ``` - ### readIntArray readIntArray(dataIn: number[]): void @@ -4345,7 +4300,7 @@ readIntArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeIntArray([100, 111, 112]); console.log("RpcClient: writeIntArray is " + result); @@ -4353,7 +4308,6 @@ readIntArray(dataIn: number[]): void data.readIntArray(array); ``` - ### readIntArray readIntArray(): number[] @@ -4370,7 +4324,7 @@ readIntArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeIntArray([100, 111, 112]); console.log("RpcClient: writeIntArray is " + result); @@ -4378,7 +4332,6 @@ readIntArray(): number[] console.log("RpcClient: readIntArray is " + array); ``` - ### writeLongArray writeLongArray(longArray: number[]): boolean @@ -4397,17 +4350,16 @@ writeLongArray(longArray: number[]): boolean | 类型 | 说明 | | ------- | ----------------------------- | - | boolean | 写入返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeLongArray([1111, 1112, 1113]); console.log("RpcClient: writeLongArray is " + result); ``` - ### readLongArray readLongArray(dataIn: number[]): void @@ -4424,7 +4376,7 @@ readLongArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeLongArray([1111, 1112, 1113]); console.log("RpcClient: writeLongArray is " + result); @@ -4432,7 +4384,6 @@ readLongArray(dataIn: number[]): void data.readLongArray(array); ``` - ### readLongArray readLongArray(): number[] @@ -4449,7 +4400,7 @@ readLongArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeLongArray([1111, 1112, 1113]); console.log("RpcClient: writeLongArray is " + result); @@ -4457,7 +4408,6 @@ readLongArray(): number[] console.log("RpcClient: readLongArray is " + array); ``` - ### writeFloatArray writeFloatArray(floatArray: number[]): boolean @@ -4476,17 +4426,16 @@ writeFloatArray(floatArray: number[]): boolean | 类型 | 说明 | | ------- | ----------------------------- | - | boolean | 写入返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeFloatArray([1.2, 1.3, 1.4]); console.log("RpcClient: writeFloatArray is " + result); ``` - ### readFloatArray readFloatArray(dataIn: number[]): void @@ -4503,7 +4452,7 @@ readFloatArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeFloatArray([1.2, 1.3, 1.4]); console.log("RpcClient: writeFloatArray is " + result); @@ -4511,7 +4460,6 @@ readFloatArray(dataIn: number[]): void data.readFloatArray(array); ``` - ### readFloatArray readFloatArray(): number[] @@ -4528,7 +4476,7 @@ readFloatArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeFloatArray([1.2, 1.3, 1.4]); console.log("RpcClient: writeFloatArray is " + result); @@ -4536,7 +4484,6 @@ readFloatArray(): number[] console.log("RpcClient: readFloatArray is " + array); ``` - ### writeDoubleArray writeDoubleArray(doubleArray: number[]): boolean @@ -4555,17 +4502,16 @@ writeDoubleArray(doubleArray: number[]): boolean | 类型 | 说明 | | ------- | ----------------------------- | - | boolean | 写入返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeDoubleArray([11.1, 12.2, 13.3]); console.log("RpcClient: writeDoubleArray is " + result); ``` - ### readDoubleArray readDoubleArray(dataIn: number[]): void @@ -4582,7 +4528,7 @@ readDoubleArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeDoubleArray([11.1, 12.2, 13.3]); console.log("RpcClient: writeDoubleArray is " + result); @@ -4590,7 +4536,6 @@ readDoubleArray(dataIn: number[]): void data.readDoubleArray(array); ``` - ### readDoubleArray readDoubleArray(): number[] @@ -4607,7 +4552,7 @@ readDoubleArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeDoubleArray([11.1, 12.2, 13.3]); console.log("RpcClient: writeDoubleArray is " + result); @@ -4615,7 +4560,6 @@ readDoubleArray(): number[] console.log("RpcClient: readDoubleArray is " + array); ``` - ### writeBooleanArray writeBooleanArray(booleanArray: boolean[]): boolean @@ -4634,17 +4578,16 @@ writeBooleanArray(booleanArray: boolean[]): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeBooleanArray([false, true, false]); console.log("RpcClient: writeBooleanArray is " + result); ``` - ### readBooleanArray readBooleanArray(dataIn: boolean[]): void @@ -4661,7 +4604,7 @@ readBooleanArray(dataIn: boolean[]): void **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeBooleanArray([false, true, false]); console.log("RpcClient: writeBooleanArray is " + result); @@ -4669,7 +4612,6 @@ readBooleanArray(dataIn: boolean[]): void data.readBooleanArray(array); ``` - ### readBooleanArray readBooleanArray(): boolean[] @@ -4686,7 +4628,7 @@ readBooleanArray(): boolean[] **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeBooleanArray([false, true, false]); console.log("RpcClient: writeBooleanArray is " + result); @@ -4694,7 +4636,6 @@ readBooleanArray(): boolean[] console.log("RpcClient: readBooleanArray is " + array); ``` - ### writeCharArray writeCharArray(charArray: number[]): boolean @@ -4713,17 +4654,16 @@ writeCharArray(charArray: number[]): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeCharArray([97, 98, 88]); console.log("RpcClient: writeCharArray is " + result); ``` - ### readCharArray readCharArray(dataIn: number[]): void @@ -4740,7 +4680,7 @@ readCharArray(dataIn: number[]): void **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeCharArray([97, 98, 99]); console.log("RpcClient: writeCharArray is " + result); @@ -4748,7 +4688,6 @@ readCharArray(dataIn: number[]): void data.readCharArray(array); ``` - ### readCharArray readCharArray(): number[] @@ -4765,7 +4704,7 @@ readCharArray(): number[] **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeCharArray([97, 98, 99]); console.log("RpcClient: writeCharArray is " + result); @@ -4773,7 +4712,6 @@ readCharArray(): number[] console.log("RpcClient: readCharArray is " + array); ``` - ### writeStringArray writeStringArray(stringArray: string[]): boolean @@ -4792,17 +4730,16 @@ writeStringArray(stringArray: string[]): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeStringArray(["abc", "def"]); console.log("RpcClient: writeStringArray is " + result); ``` - ### readStringArray readStringArray(dataIn: string[]): void @@ -4819,7 +4756,7 @@ readStringArray(dataIn: string[]): void **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeStringArray(["abc", "def"]); console.log("RpcClient: writeStringArray is " + result); @@ -4827,7 +4764,6 @@ readStringArray(dataIn: string[]): void data.readStringArray(array); ``` - ### readStringArray readStringArray(): string[] @@ -4844,7 +4780,7 @@ readStringArray(): string[] **示例:** - ``` + ```ts let data = rpc.MessageParcel.create(); let result = data.writeStringArray(["abc", "def"]); console.log("RpcClient: writeStringArray is " + result); @@ -4852,7 +4788,6 @@ readStringArray(): string[] console.log("RpcClient: readStringArray is " + array); ``` - ### writeNoException8+ writeNoException(): void @@ -4863,7 +4798,7 @@ writeNoException(): void **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -4905,7 +4840,7 @@ readException(): void **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -4967,11 +4902,11 @@ writeSequenceableArray(sequenceableArray: Sequenceable[]): boolean | 类型 | 说明 | | ------- | --------------------------------- | - | boolean | 写入成功返回true,否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts class MySequenceable { num: number; str: string; @@ -4999,7 +4934,6 @@ writeSequenceableArray(sequenceableArray: Sequenceable[]): boolean console.log("RpcClient: writeSequenceableArray is " + result); ``` - ### readSequenceableArray8+ readSequenceableArray(sequenceableArray: Sequenceable[]): void @@ -5016,7 +4950,7 @@ readSequenceableArray(sequenceableArray: Sequenceable[]): void **示例:** - ``` + ```ts class MySequenceable { num: number; str: string; @@ -5046,7 +4980,6 @@ readSequenceableArray(sequenceableArray: Sequenceable[]): void data.readSequenceableArray(b); ``` - ### writeRemoteObjectArray8+ writeRemoteObjectArray(objectArray: IRemoteObject[]): boolean @@ -5065,11 +4998,11 @@ writeRemoteObjectArray(objectArray: IRemoteObject[]): boolean | 类型 | 说明 | | ------- | -------------------------------------------------------------------------------------------------------------------- | - | boolean | 如果IRemoteObject对象数组成功写入MessageParcel,则返回true;如果对象为null或数组写入MessageParcel失败,则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -5099,7 +5032,6 @@ writeRemoteObjectArray(objectArray: IRemoteObject[]): boolean console.log("RpcClient: writeRemoteObjectArray is " + result); ``` - ### readRemoteObjectArray8+ readRemoteObjectArray(objects: IRemoteObject[]): void @@ -5116,7 +5048,7 @@ readRemoteObjectArray(objects: IRemoteObject[]): void **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -5147,7 +5079,6 @@ readRemoteObjectArray(objects: IRemoteObject[]): void data.readRemoteObjectArray(b); ``` - ### readRemoteObjectArray8+ readRemoteObjectArray(): IRemoteObject[] @@ -5164,7 +5095,7 @@ readRemoteObjectArray(): IRemoteObject[] **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -5196,12 +5127,11 @@ readRemoteObjectArray(): IRemoteObject[] console.log("RpcClient: readRemoteObjectArray is " + b); ``` - ### closeFileDescriptor8+ static closeFileDescriptor(fd: number): void -关闭给定的文件描述符。 +静态方法,关闭给定的文件描述符。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -5213,19 +5143,18 @@ static closeFileDescriptor(fd: number): void **示例:** - ``` + ```ts import fileio from '@ohos.fileio'; let filePath = "path/to/file"; let fd = fileio.openSync(filePath, 0o2| 0o100, 0o666); rpc.MessageParcel.closeFileDescriptor(fd); ``` - ### dupFileDescriptor8+ static dupFileDescriptor(fd: number) :number -复制给定的文件描述符。 +静态方法,复制给定的文件描述符。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -5243,14 +5172,13 @@ static dupFileDescriptor(fd: number) :number **示例:** - ``` + ```ts import fileio from '@ohos.fileio'; let filePath = "path/to/file"; let fd = fileio.openSync(filePath, 0o2| 0o100, 0o666); let newFd = rpc.MessageParcel.dupFileDescriptor(fd); ``` - ### containFileDescriptors8+ containFileDescriptors(): boolean @@ -5263,11 +5191,11 @@ containFileDescriptors(): boolean | 类型 | 说明 | | ------- | ------------------------------------------------------------------ | - | boolean | 如果此MessageParcel对象包含文件描述符,则返回true;否则返回false。 | + | boolean |true:包含文件描述符,false:未包含文件描述符。| **示例:** - ``` + ```ts import fileio from '@ohos.fileio'; let parcel = new rpc.MessageParcel(); let filePath = "path/to/file"; @@ -5279,7 +5207,6 @@ containFileDescriptors(): boolean console.log("RpcTest: parcel after write fd containFd result is : " + containFD); ``` - ### writeFileDescriptor8+ writeFileDescriptor(fd: number): boolean @@ -5298,11 +5225,11 @@ writeFileDescriptor(fd: number): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果操作成功,则返回true;否则返回false。 | + | boolean | true:操作成功,false:操作失败。| **示例:** - ``` + ```ts import fileio from '@ohos.fileio'; let parcel = new rpc.MessageParcel(); let filePath = "path/to/file"; @@ -5311,7 +5238,6 @@ writeFileDescriptor(fd: number): boolean console.log("RpcTest: parcel writeFd result is : " + writeResult); ``` - ### readFileDescriptor8+ readFileDescriptor(): number @@ -5328,7 +5254,7 @@ readFileDescriptor(): number **示例:** - ``` + ```ts import fileio from '@ohos.fileio'; let parcel = new rpc.MessageParcel(); let filePath = "path/to/file"; @@ -5338,7 +5264,6 @@ readFileDescriptor(): number console.log("RpcTest: parcel read fd is : " + readFD); ``` - ### writeAshmem8+ writeAshmem(ashmem: Ashmem): boolean @@ -5357,18 +5282,17 @@ writeAshmem(ashmem: Ashmem): boolean | 类型 | 说明 | | ------- | -------------------------------------------------------------------- | - | boolean | 如果匿名共享对象成功写入此MessageParcel,则返回true;否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let parcel = new rpc.MessageParcel(); let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024); let isWriteSuccess = parcel.writeAshmem(ashmem); console.log("RpcTest: write ashmem to result is : " + isWriteSuccess); ``` - ### readAshmem8+ readAshmem(): Ashmem @@ -5385,7 +5309,7 @@ readAshmem(): Ashmem **示例:** - ``` + ```ts let parcel = new rpc.MessageParcel(); let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024); let isWriteSuccess = parcel.writeAshmem(ashmem); @@ -5394,7 +5318,6 @@ readAshmem(): Ashmem console.log("RpcTest: read ashmem to result is : " + readAshmem); ``` - ### getRawDataCapacity8+ getRawDataCapacity(): number @@ -5411,13 +5334,12 @@ getRawDataCapacity(): number **示例:** - ``` + ```ts let parcel = new rpc.MessageParcel(); let result = parcel.getRawDataCapacity(); console.log("RpcTest: parcel get RawDataCapacity result is : " + result); ``` - ### writeRawData8+ writeRawData(rawData: number[], size: number): boolean @@ -5437,18 +5359,17 @@ writeRawData(rawData: number[], size: number): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果操作成功,则返回true;否则返回false。 | + | boolean | true:写入成功,false:写入失败。| **示例:** - ``` + ```ts let parcel = new rpc.MessageParcel(); let arr = [1, 2, 3, 4, 5]; let isWriteSuccess = parcel.writeRawData(arr, arr.length); console.log("RpcTest: parcel write raw data result is : " + isWriteSuccess); ``` - ### readRawData8+ readRawData(size: number): number[] @@ -5471,7 +5392,7 @@ readRawData(size: number): number[] **示例:** - ``` + ```ts let parcel = new rpc.MessageParcel(); let arr = [1, 2, 3, 4, 5]; let isWriteSuccess = parcel.writeRawData(arr, arr.length); @@ -5480,7 +5401,6 @@ readRawData(size: number): number[] console.log("RpcTest: parcel read raw data result is : " + result); ``` - ## Parcelable9+ 在进程间通信(IPC)期间,将类的对象写入MessageSequence并从MessageSequence中恢复它们。 @@ -5503,11 +5423,10 @@ marshalling(dataOut: MessageSequence): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果封送成功,则返回true;否则返回false。 | - + | boolean | true:封送成功,false:封送失败。 **示例:** - ``` + ```ts class MyParcelable { num: number; str: string; @@ -5535,7 +5454,6 @@ marshalling(dataOut: MessageSequence): boolean console.log("RpcClient: readParcelable is " + result2); ``` - ### unmarshalling unmarshalling(dataIn: MessageSequence): boolean @@ -5554,11 +5472,11 @@ unmarshalling(dataIn: MessageSequence): boolean | 类型 | 说明 | | ------- | --------------------------------------------- | - | boolean | 如果可序列化成功,则返回true;否则返回false。 | + | boolean | true:反序列化成功,false:反序列化失败。| **示例:** - ``` + ```ts class MyParcelable { num: number; str: string; @@ -5586,7 +5504,6 @@ unmarshalling(dataIn: MessageSequence): boolean console.log("RpcClient: readParcelable is " + result2); ``` - ## Sequenceable(deprecated) >从API version 9 开始不再维护,建议使用[Parcelable](#parcelable9)类替代。 @@ -5611,11 +5528,10 @@ marshalling(dataOut: MessageParcel): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果封送成功,则返回true;否则返回false。 | - + | boolean | true:封送成功,false:封送失败。 **示例:** - ``` + ```ts class MySequenceable { num: number; str: string; @@ -5643,7 +5559,6 @@ marshalling(dataOut: MessageParcel): boolean console.log("RpcClient: readSequenceable is " + result2); ``` - ### unmarshalling unmarshalling(dataIn: MessageParcel): boolean @@ -5662,11 +5577,11 @@ unmarshalling(dataIn: MessageParcel): boolean | 类型 | 说明 | | ------- | --------------------------------------------- | - | boolean | 如果可序列化成功,则返回true;否则返回false。 | + | boolean | true:反序列化成功,false:反序列化失败。| **示例:** - ``` + ```ts class MySequenceable { num: number; str: string; @@ -5694,7 +5609,6 @@ unmarshalling(dataIn: MessageParcel): boolean console.log("RpcClient: readSequenceable is " + result2); ``` - ## IRemoteBroker 远端对象的代理持有者。用于获取代理对象。 @@ -5715,17 +5629,38 @@ asObject(): IRemoteObject **示例:** - ``` + ```ts class TestAbility extends rpc.RemoteObject { asObject() { return this; } } + let remoteObject = new TestAbility().asObject(); ``` **示例:** - ``` + ```ts + import FA from "@ohos.ability.featureAbility"; + let proxy; + let connect = { + onConnect: function (elementName, remoteProxy) { + console.log("RpcClient: js onConnect called."); + proxy = remoteProxy; + }, + onDisconnect: function (elementName) { + console.log("RpcClient: onDisconnect"); + }, + onFailed: function () { + console.log("RpcClient: onFailed"); + } + }; + let want = { + "bundleName": "com.ohos.server", + "abilityName": "com.ohos.server.MainAbility", + }; + FA.connectAbility(want, connect); + class TestProxy { remote: rpc.RemoteObject; constructor(remote) { @@ -5735,6 +5670,8 @@ asObject(): IRemoteObject return this.remote; } } + let iRemoteObject = new TestProxy(proxy).asObject(); + ``` ## DeathRecipient @@ -5751,7 +5688,7 @@ onRemoteDied(): void **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -5795,7 +5732,7 @@ onRemoteDied(): void getLocalInterface(descriptor: string): IRemoteBroker -查询接口。 +查询接口描述符的字符串。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -5817,7 +5754,7 @@ getLocalInterface(descriptor: string): IRemoteBroker queryLocalInterface(descriptor: string): IRemoteBroker -查询接口。 +查询接口描述符的字符串。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -5833,7 +5770,6 @@ queryLocalInterface(descriptor: string): IRemoteBroker | ------------- | --------------------------------------------- | | IRemoteBroker | 返回绑定到指定接口描述符的IRemoteBroker对象。 | - ### sendRequest(deprecated) >从API version 9 开始不再维护,建议使用[sendMessageRequest](#sendmessagerequest9)类替代。 @@ -5857,7 +5793,7 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me | 类型 | 说明 | | ------- | --------------------------------------------- | - | boolean | 返回一个布尔值,true表示成功,false表示失败。 | + | boolean | true:发送成功,false:发送失败。| ### sendRequest8+(deprecated) @@ -5928,7 +5864,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, | options | [MessageOption](#messageoption) | 是 | 本次请求的同异步模式,默认同步调用。 | | callback | AsyncCallback<RequestResult> | 是 | 接收发送结果的回调。 | - ### sendRequest8+(deprecated) >从API version 9 开始不再维护,建议使用[sendMessageRequest](#sendmessagerequest9)类替代。 @@ -5949,7 +5884,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me | options | [MessageOption](#messageoption) | 是 | 本次请求的同异步模式,默认同步调用。 | | callback | AsyncCallback<SendRequestResult> | 是 | 接收发送结果的回调。 | - ### registerDeathRecipient9+ registerDeathRecipient(recipient: DeathRecipient, flags: number): void @@ -5973,7 +5907,6 @@ registerDeathRecipient(recipient: DeathRecipient, flags: number): void | ------- | -------- | | 1900008 | proxy or remote object is invalid | - ### addDeathrecipient(deprecated) >从API version 9 开始不再维护,建议使用[registerDeathRecipient](#registerdeathrecipient9)类替代。 @@ -5995,7 +5928,7 @@ addDeathRecipient(recipient: DeathRecipient, flags: number): boolean | 类型 | 说明 | | ------- | --------------------------------------------- | - | boolean | 如果回调注册成功,则返回true;否则返回false。 | + | boolean | true:回调注册成功,false:回调注册失败。| ### unregisterDeathRecipient9+ @@ -6021,7 +5954,6 @@ unregisterDeathRecipient(recipient: DeathRecipient, flags: number): void | ------- | -------- | | 1900008 | proxy or remote object is invalid | - ### removeDeathRecipient(deprecated) >从API version 9 开始不再维护,建议使用[unregisterDeathRecipient](#unregisterdeathrecipient9)类替代。 @@ -6043,14 +5975,13 @@ removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean | 类型 | 说明 | | ------- | --------------------------------------------- | - | boolean | 如果回调成功注销,则返回true;否则返回false。 | - + | boolean | true:回调注销成功,false:回调注销失败。| ### getDescriptor9+ getDescriptor(): string -获取对象的接口描述符。接口描述符为字符串。 +获取对象的接口描述符,接口描述符为字符串。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -6075,7 +6006,7 @@ getDescriptor(): string getInterfaceDescriptor(): string -获取对象的接口描述符。接口描述符为字符串。 +获取对象的接口描述符,接口描述符为字符串。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -6098,7 +6029,7 @@ isObjectDead(): boolean | 类型 | 说明 | | ------- | ------------------------------------------- | - | boolean | 如果对象已死亡,则返回true;否则返回false。 | + | boolean | true:对象死亡,false:对象未死亡。| ## RemoteProxy @@ -6107,7 +6038,7 @@ isObjectDead(): boolean **系统能力**:以下各项对应的系统能力均为SystemCapability.Communication.IPC.Core。 -| 名称 | 值 | 说明 | +| 名称 | 默认值 | 说明 | | --------------------- | ----------------------- | --------------------------------- | | PING_TRANSACTION | 1599098439 (0x5f504e47) | 内部指令码,用于测试IPC服务正常。 | | DUMP_TRANSACTION | 1598311760 (0x5f444d50) | 内部指令码,获取Binder内部状态。 | @@ -6115,7 +6046,6 @@ isObjectDead(): boolean | MIN_TRANSACTION_ID | 1 (0x00000001) | 最小有效指令码。 | | MAX_TRANSACTION_ID | 16777215 (0x00FFFFFF) | 最大有效指令码。 | - ### sendRequest(deprecated) >从API version 9 开始不再维护,建议使用[sendMessageRequest](#sendmessagerequest9)类替代。 @@ -6139,11 +6069,11 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me | 类型 | 说明 | | ------- | --------------------------------------------- | - | boolean | 返回一个布尔值,true表示成功,false表示失败。 | + | boolean | true:发送成功,false:发送失败。| **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6181,7 +6111,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me reply.reclaim(); ``` - ### sendMessageRequest9+ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption): Promise<RequestResult> @@ -6207,7 +6136,7 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6251,7 +6180,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, }); ``` - ### sendRequest8+(deprecated) >从API version 9 开始不再维护,建议使用[sendMessageRequest](#sendmessagerequest9)类替代。 @@ -6279,7 +6207,7 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6341,10 +6269,9 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, | options | [MessageOption](#messageoption) | 是 | 本次请求的同异步模式,默认同步调用。 | | callback | AsyncCallback<RequestResult> | 是 | 接收发送结果的回调。 | - **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6390,7 +6317,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, } ``` - ### sendRequest8+(deprecated) >从API version 9 开始不再维护,建议使用[sendMessageRequest](#sendmessagerequest9)类替代。 @@ -6413,7 +6339,7 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6454,7 +6380,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me proxy.sendRequest(1, data, reply, option, sendRequestCallback); ``` - ### getLocalInterface9+ getLocalInterface(interface: string): IRemoteBroker @@ -6485,7 +6410,7 @@ getLocalInterface(interface: string): IRemoteBroker **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6514,7 +6439,6 @@ getLocalInterface(interface: string): IRemoteBroker } ``` - ### queryLocalInterface(deprecated) >从API version 9 开始不再维护,建议使用[getLocalInterface](#getlocalinterface9)类替代。 @@ -6539,7 +6463,7 @@ queryLocalInterface(interface: string): IRemoteBroker **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6563,7 +6487,6 @@ queryLocalInterface(interface: string): IRemoteBroker console.log("RpcClient: queryLocalInterface is " + broker); ``` - ### registerDeathRecipient9+ registerDeathRecipient(recipient: DeathRecipient, flags: number): void @@ -6589,7 +6512,7 @@ registerDeathRecipient(recipient: DeathRecipient, flags: number): void **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6623,7 +6546,6 @@ registerDeathRecipient(recipient: DeathRecipient, flags: number): void } ``` - ### addDeathRecippient(deprecated) >从API version 9 开始不再维护,建议使用[registerDeathRecipient](#registerdeathrecipient9)类替代。 @@ -6645,11 +6567,11 @@ addDeathRecipient(recipient: DeathRecipient, flags: number): boolean | 类型 | 说明 | | ------- | --------------------------------------------- | - | boolean | 如果回调注册成功,则返回true;否则返回false。 | + | boolean | true:回调注册成功,false:回调注册失败。| **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6703,7 +6625,7 @@ unregisterDeathRecipient(recipient: DeathRecipient, flags: number): boolean **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6738,7 +6660,6 @@ unregisterDeathRecipient(recipient: DeathRecipient, flags: number): boolean } ``` - ### removeDeathRecipient(deprecated) >从API version 9 开始不再维护,建议使用[unregisterDeathRecipient](#unregisterdeathrecipient9)类替代。 @@ -6760,11 +6681,11 @@ removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean | 类型 | 说明 | | ------- | --------------------------------------------- | - | boolean | 如果回调成功注销,则返回true;否则返回false。 | + | boolean | true:回调注销成功,false:回调注销失败。| **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6794,12 +6715,11 @@ removeDeathRecipient(recipient: DeathRecipient, flags: number): boolean proxy.removeDeathRecipient(deathRecipient, 0); ``` - ### getDescriptor9+ getDescriptor(): string -获取对象的接口描述符。接口描述符为字符串。 +获取对象的接口描述符,接口描述符为字符串。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -6820,7 +6740,7 @@ getDescriptor(): string **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6849,7 +6769,6 @@ getDescriptor(): string } ``` - ### getInterfaceDescriptor(deprecated) >从API version 9 开始不再维护,建议使用[getDescriptor](#getdescriptor9)类替代。 @@ -6868,7 +6787,7 @@ getInterfaceDescriptor(): string **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6892,7 +6811,6 @@ getInterfaceDescriptor(): string console.log("RpcClient: descriptor is " + descriptor); ``` - ### isObjectDead isObjectDead(): boolean @@ -6905,11 +6823,11 @@ isObjectDead(): boolean | 类型 | 说明 | | ------- | --------------------------------------------------------- | - | boolean | 如果对应的RemoteObject已经死亡,返回true,否则返回false。 | + | boolean | true:对应的对象已经死亡,false:对应的对象未死亡| **示例:** - ``` + ```ts import FA from "@ohos.ability.featureAbility"; let proxy; let connect = { @@ -6933,14 +6851,13 @@ isObjectDead(): boolean console.log("RpcClient: isObjectDead is " + isDead); ``` - ## MessageOption 公共消息选项(int标志,int等待时间),使用标志中指定的标志构造指定的MessageOption对象。 **系统能力**:以下各项对应的系统能力均为SystemCapability.Communication.IPC.Core。 - | 名称 | 值 | 说明 | + | 名称 | 默认值 | 说明 | | ------------- | ---- | ----------------------------------------------------------- | | TF_SYNC | 0 | 同步调用标识。 | | TF_ASYNC | 1 | 异步调用标识。 | @@ -6963,6 +6880,16 @@ MessageOption构造函数。 | syncFlags | number | 否 | 同步调用或异步调用标志。默认同步调用。 | +**示例:** + + ```ts + class TestRemoteObject extends rpc.MessageOption { + constructor(async) { + super(async); + } + } + ``` + ### constructor constructor(syncFlags?: number, waitTime?: number) @@ -6978,7 +6905,15 @@ MessageOption构造函数。 | syncFlags | number | 否 | 同步调用或异步调用标志。默认同步调用。 | | waitTime | number | 否 | 调用rpc最长等待时间。默认 TF_WAIT_TIME。 | +**示例:** + ```ts + class TestRemoteObject extends rpc.MessageOption { + constructor(syncFlags,waitTime) { + super(syncFlags,waitTime); + } + } + ``` ### isAsync9+ isAsync(): boolean; @@ -6991,8 +6926,14 @@ isAsync(): boolean; | 类型 | 说明 | | ------- | ------------------------------------ | - | boolean | 调用成功返回同步调用或异步调用标志。 | + | boolean | true:同步调用成功,false:异步调用成功。 | + +**示例:** + ```ts + let option = new rpc.MessageOption(); + let isAsync = option.isAsync(); + ``` ### setAsync9+ @@ -7002,6 +6943,13 @@ setAsync(async: boolean): void; **系统能力**:SystemCapability.Communication.IPC.Core +**示例:** + + ```ts + let option = new rpc.MessageOption(); + let setAsync = option.setAsync(true); + console.log("Set synchronization flag"); + ``` ### getFlags @@ -7017,7 +6965,23 @@ getFlags(): number | ------ | ------------------------------------ | | number | 调用成功返回同步调用或异步调用标志。 | +**示例:** + ```ts + try { + let option = new rpc.MessageOption(); + console.info("create object successfully."); + let flog = option.getFlags(); + console.info("run getFlags success, flog is " + flog); + option.setFlags(1) + console.info("run setFlags success"); + let flog2 = option.getFlags(); + console.info("run getFlags success, flog2 is " + flog2); + } catch (error) { + console.info("error " + error); + } + ``` + ### setFlags setFlags(flags: number): void @@ -7032,6 +6996,19 @@ setFlags(flags: number): void | ------ | ------ | ---- | ------------------------ | | flags | number | 是 | 同步调用或异步调用标志。 | +**示例:** + + ```ts + try { + let option = new rpc.MessageOption(); + option.setFlags(1) + console.info("run setFlags success"); + let flog = option.getFlags(); + console.info("run getFlags success, flog is " + flog); + } catch (error) { + console.info("error " + error); + } + ``` ### getWaitTime @@ -7047,6 +7024,20 @@ getWaitTime(): number | ------ | ----------------- | | number | rpc最长等待时间。 | +**示例:** + + ```ts + try { + let option = new rpc.MessageOption(); + let time = option.getWaitTime(); + console.info("run getWaitTime success"); + option.setWaitTime(16); + let time2 = option.getWaitTime(); + console.info("run getWaitTime success, time is " + time); + } catch (error) { + console.info("error " + error); + } + ``` ### setWaitTime @@ -7062,6 +7053,18 @@ setWaitTime(waitTime: number): void | -------- | ------ | ---- | --------------------- | | waitTime | number | 是 | rpc调用最长等待时间。 | +**示例:** + + ```ts + try { + let option = new rpc.MessageOption(); + option.setWaitTime(16); + let time = option.getWaitTime(); + console.info("run getWaitTime success, time is " + time); + } catch (error) { + console.info("error " + error); + } + ``` ## IPCSkeleton @@ -7071,7 +7074,7 @@ setWaitTime(waitTime: number): void static getContextObject(): IRemoteObject -获取系统能力的管理者。 +静态方法,获取系统能力的管理者。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7083,17 +7086,16 @@ static getContextObject(): IRemoteObject **示例:** - ``` + ```ts let samgr = rpc.IPCSkeleton.getContextObject(); console.log("RpcServer: getContextObject result: " + samgr); ``` - ### getCallingPid static getCallingPid(): number -获取调用者的PID。此方法由RemoteObject对象在onRemoteRequest方法中调用,不在IPC上下文环境(onRemoteRequest)中调用则返回本进程的PID。 +静态方法,获取调用者的PID。此方法由RemoteObject对象在onRemoteRequest方法中调用,不在IPC上下文环境(onRemoteRequest)中调用则返回本进程的PID。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7105,7 +7107,7 @@ static getCallingPid(): number **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let callerPid = rpc.IPCSkeleton.getCallingPid(); @@ -7115,12 +7117,11 @@ static getCallingPid(): number } ``` - ### getCallingUid static getCallingUid(): number -获取调用者的UID。此方法由RemoteObject对象在onRemoteRequest方法中调用,不在IPC上下文环境(onRemoteRequest)中调用则返回本进程的UID。 +静态方法,获取调用者的UID。此方法由RemoteObject对象在onRemoteRequest方法中调用,不在IPC上下文环境(onRemoteRequest)中调用则返回本进程的UID。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7132,7 +7133,7 @@ static getCallingUid(): number **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let callerUid = rpc.IPCSkeleton.getCallingUid(); @@ -7142,16 +7143,14 @@ static getCallingUid(): number } ``` - ### getCallingTokenId8+ static getCallingTokenId(): number; -获取调用者的TokenId,用于被调用方对调用方的身份校验。 +静态方法,获取调用者的TokenId,用于被调用方对调用方的身份校验。 **系统能力**:SystemCapability.Communication.IPC.Core - **返回值:** | 类型 | 说明 | @@ -7160,7 +7159,7 @@ static getCallingTokenId(): number; **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let callerTokenId = rpc.IPCSkeleton.getCallingTokenId(); @@ -7175,7 +7174,7 @@ static getCallingTokenId(): number; static getCallingDeviceID(): string -获取调用者进程所在的设备ID。 +静态方法,获取调用者进程所在的设备ID。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7187,7 +7186,7 @@ static getCallingDeviceID(): string **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let callerDeviceID = rpc.IPCSkeleton.getCallingDeviceID(); @@ -7197,12 +7196,11 @@ static getCallingDeviceID(): string } ``` - ### getLocalDeviceID static getLocalDeviceID(): string -获取本端设备ID。 +静态方法,获取本端设备ID。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7214,7 +7212,7 @@ static getLocalDeviceID(): string **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let localDeviceID = rpc.IPCSkeleton.getLocalDeviceID(); @@ -7224,12 +7222,11 @@ static getLocalDeviceID(): string } ``` - ### isLocalCalling static isLocalCalling(): boolean -检查当前通信对端是否是本设备的进程。 +静态方法,检查当前通信对端是否是本设备的进程。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7237,11 +7234,11 @@ static isLocalCalling(): boolean | 类型 | 说明 | | ------- | --------------------------------------------------------- | - | boolean | 如果调用是在同一设备上进行的,则返回true,否则返回false。 | + | boolean | true:调用在同一台设备,false:调用未在同一台设备。| **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let isLocalCalling = rpc.IPCSkeleton.isLocalCalling(); @@ -7251,12 +7248,11 @@ static isLocalCalling(): boolean } ``` - ### flushCmdBuffer9+ static flushCmdBuffer(object: IRemoteObject): void -将所有挂起的命令从指定的RemoteProxy刷新到相应的RemoteObject。建议在执行任何时间敏感操作之前调用此方法。 +静态方法,将所有挂起的命令从指定的RemoteProxy刷新到相应的RemoteObject。建议在执行任何时间敏感操作之前调用此方法。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7269,7 +7265,7 @@ static flushCmdBuffer(object: IRemoteObject): void **示例:** - ``` + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -7284,14 +7280,13 @@ static flushCmdBuffer(object: IRemoteObject): void } ``` - ### flushCommands(deprecated) >从API version 9 开始不再维护,建议使用[flushCmdBuffer](#flushcmdbuffer9)类替代。 static flushCommands(object: IRemoteObject): number -将所有挂起的命令从指定的RemoteProxy刷新到相应的RemoteObject。建议在执行任何时间敏感操作之前调用此方法。 +静态方法,将所有挂起的命令从指定的RemoteProxy刷新到相应的RemoteObject。建议在执行任何时间敏感操作之前调用此方法。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7309,7 +7304,7 @@ static flushCommands(object: IRemoteObject): number **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -7338,7 +7333,7 @@ static flushCommands(object: IRemoteObject): number static resetCallingIdentity(): string -将远程用户的UID和PID替换为本地用户的UID和PID。它可以用于身份验证等场景。 +静态方法,将远程用户的UID和PID替换为本地用户的UID和PID。它可以用于身份验证等场景。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7350,7 +7345,7 @@ static resetCallingIdentity(): string **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let callingIdentity = rpc.IPCSkeleton.resetCallingIdentity(); @@ -7365,7 +7360,7 @@ static resetCallingIdentity(): string static restoreCallingIdentity(identity: string): void -将远程用户的UID和PID替换为本地用户的UID和PID。它可以用于身份验证等场景。 +静态方法,将远程用户的UID和PID替换为本地用户的UID和PID。它可以用于身份验证等场景。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7377,7 +7372,7 @@ static restoreCallingIdentity(identity: string): void **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let callingIdentity = null; @@ -7392,14 +7387,13 @@ static restoreCallingIdentity(identity: string): void } ``` - ### setCallingIdentity(deprecated) >从API version 9 开始不再维护,建议使用[restoreCallingIdentity](#restorecallingidentity9)类替代。 static setCallingIdentity(identity: string): boolean -将UID和PID恢复为远程用户的UID和PID。它通常在使用resetCallingIdentity后调用,需要resetCallingIdentity返回的远程用户的UID和PID。 +静态方法,将UID和PID恢复为远程用户的UID和PID。它通常在使用resetCallingIdentity后调用,需要resetCallingIdentity返回的远程用户的UID和PID。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -7413,11 +7407,11 @@ static setCallingIdentity(identity: string): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果操作成功,则返回true;否则返回false。 | + | boolean | true:设置成功,false:设置失败。| **示例:** - ``` + ```ts class Stub extends rpc.RemoteObject { onRemoteMessageRequest(code, data, reply, option) { let callingIdentity = null; @@ -7433,7 +7427,6 @@ static setCallingIdentity(identity: string): boolean } ``` - ## RemoteObject 实现远程对象。服务提供者必须继承此类。 @@ -7476,11 +7469,11 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me | 类型 | 说明 | | ------- | --------------------------------------------- | - | boolean | 返回一个布尔值,true表示成功,false表示失败。 | + | boolean | true:发送成功,false:发送失败。| **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -7519,7 +7512,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me reply.reclaim(); ``` - ### sendRequest8+(deprecated) >从API version 9 开始不再维护,建议使用[sendMessageRequest](#sendmessagerequest9)类替代。 @@ -7547,7 +7539,7 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -7617,7 +7609,7 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, **示例:** - ``` + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -7648,7 +7640,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, }); ``` - ### sendMessageRequest9+ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, options: MessageOption, callback: AsyncCallback<RequestResult>): void @@ -7669,7 +7660,7 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, **示例:** - ``` + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -7697,7 +7688,6 @@ sendMessageRequest(code: number, data: MessageSequence, reply: MessageSequence, testRemoteObject.sendMessageRequest(1, data, reply, option, sendRequestCallback); ``` - ### sendRequest8+(deprecated) >从API version 9 开始不再维护,建议使用[sendMessageRequest](#sendmessagerequest9)类替代。 @@ -7720,7 +7710,7 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -7762,7 +7752,6 @@ sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: Me testRemoteObject.sendRequest(1, data, reply, option, sendRequestCallback); ``` - ### onRemoteRequest8+(deprecated) >从API version 9 开始不再维护,建议使用[onRemoteMessageRequest](#onremotemessagerequest9)类替代。 @@ -7786,11 +7775,11 @@ sendMessageRequest请求的响应处理函数,服务端在该函数里处理 | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果操作成功,则返回true;否则返回false。 | + | boolean | true:操作成功,false:操作失败。| **示例:** - ```ets + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -7847,12 +7836,12 @@ sendMessageRequest请求的响应处理函数,服务端在该函数里同步 | 类型 | 说明 | | ----------------- | ---------------------------------------------------------------------------------------------- | - | boolean | 若在onRemoteMessageRequest中同步地处理请求,则返回一个布尔值:操作成功,则返回true;否则返回false。 | + | boolean | 若在onRemoteMessageRequest中同步地处理请求,则返回一个布尔值:true:操作成功,false:操作失败。 | | Promise\ | 若在onRemoteMessageRequest中异步地处理请求,则返回一个Promise对象。 | **重载onRemoteMessageRequest方法同步处理请求示例:** - ```ets + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -7872,7 +7861,7 @@ sendMessageRequest请求的响应处理函数,服务端在该函数里同步 **重载onRemoteMessageRequest方法异步处理请求示例:** - ```ets + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -7895,7 +7884,7 @@ sendMessageRequest请求的响应处理函数,服务端在该函数里同步 **同时重载onRemoteMessageRequest和onRemoteRequest方法同步处理请求示例:** - ```ets + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -7926,7 +7915,7 @@ sendMessageRequest请求的响应处理函数,服务端在该函数里同步 **同时重载onRemoteMessageRequest和onRemoteRequest方法异步处理请求示例:** - ```ets + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -7957,7 +7946,6 @@ sendMessageRequest请求的响应处理函数,服务端在该函数里同步 } ``` - ### getCallingUid getCallingUid(): number @@ -7973,7 +7961,7 @@ getCallingUid(): number **示例:** - ``` + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -7999,7 +7987,7 @@ getCallingPid(): number **示例:** - ``` + ```ts class TestRemoteObject extends rpc.RemoteObject { constructor(descriptor) { super(descriptor); @@ -8013,7 +8001,7 @@ getCallingPid(): number getLocalInterface(descriptor: string): IRemoteBroker -查询接口。 +查询接口描述符的字符串。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -8032,7 +8020,7 @@ getLocalInterface(descriptor: string): IRemoteBroker **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -8057,7 +8045,6 @@ getLocalInterface(descriptor: string): IRemoteBroker } ``` - ### queryLocalInterface(deprecated) >从API version 9 开始不再维护,建议使用[getLocalInterface](#getlocalinterface9)类替代。 @@ -8082,7 +8069,7 @@ queryLocalInterface(descriptor: string): IRemoteBroker **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -8106,7 +8093,6 @@ queryLocalInterface(descriptor: string): IRemoteBroker let broker = testRemoteObject.queryLocalInterface("testObject"); ``` - ### getDescriptor9+ getDescriptor(): string @@ -8131,7 +8117,7 @@ getDescriptor(): string **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -8157,7 +8143,6 @@ getDescriptor(): string console.log("RpcServer: descriptor is: " + descriptor); ``` - ### getInterfaceDescriptor(deprecated) >从API version 9 开始不再维护,建议使用[getDescriptor](#getdescriptor9)类替代。 @@ -8176,7 +8161,7 @@ getInterfaceDescriptor(): string **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -8201,7 +8186,6 @@ getInterfaceDescriptor(): string console.log("RpcServer: descriptor is: " + descriptor); ``` - ### modifyLocalInterface9+ modifyLocalInterface(localInterface: IRemoteBroker, descriptor: string): void @@ -8217,10 +8201,9 @@ modifyLocalInterface(localInterface: IRemoteBroker, descriptor: string): void | localInterface | IRemoteBroker | 是 | 将与描述符绑定的IRemoteBroker对象。 | | descriptor | string | 是 | 用于与IRemoteBroker对象绑定的描述符。 | - **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -8267,7 +8250,7 @@ attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void **示例:** - ``` + ```ts class MyDeathRecipient { onRemoteDied() { console.log("server died"); @@ -8294,28 +8277,26 @@ attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void let testRemoteObject = new TestRemoteObject("testObject"); ``` - ## Ashmem8+ 提供与匿名共享内存对象相关的方法,包括创建、关闭、映射和取消映射Ashmem、从Ashmem读取数据和写入数据、获取Ashmem大小、设置Ashmem保护。 -映射内存保护类型: - **系统能力**:以下各项对应的系统能力均为SystemCapability.Communication.IPC.Core。 - | 名称 | 值 | 说明 | +映射内存保护类型: + + | 名称 | 默认值 | 说明 | | ---------- | --- | ------------------ | | PROT_EXEC | 4 | 映射的内存可执行 | | PROT_NONE | 0 | 映射的内存不可访问 | | PROT_READ | 1 | 映射的内存可读 | | PROT_WRITE | 2 | 映射的内存可写 | - ### create9+ static create(name: string, size: number): Ashmem -根据指定的名称和大小创建Ashmem对象。 +静态方法,根据指定的名称和大小创建Ashmem对象。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -8332,10 +8313,9 @@ static create(name: string, size: number): Ashmem | ------ | ---------------------------------------------- | | Ashmem | 返回创建的Ashmem对象;如果创建失败,返回null。 | - **示例:** - ``` + ```ts let ashmem; try { ashmem = rpc.Ashmem.create("ashmem", 1024*1024); @@ -8347,14 +8327,13 @@ static create(name: string, size: number): Ashmem console.log("RpcTest: get ashemm by create : " + ashmem + " size is : " + size); ``` - ### createAshmem8+(deprecated) >从API version 9 开始不再维护,建议使用[create](#create9)类替代。 static createAshmem(name: string, size: number): Ashmem -根据指定的名称和大小创建Ashmem对象。 +静态方法,根据指定的名称和大小创建Ashmem对象。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -8373,18 +8352,17 @@ static createAshmem(name: string, size: number): Ashmem **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024*1024); let size = ashmem.getAshmemSize(); console.log("RpcTest: get ashemm by createAshmem : " + ashmem + " size is : " + size); ``` - ### create9+ static create(ashmem: Ashmem): Ashmem -通过复制现有Ashmem对象的文件描述符(fd)来创建Ashmem对象。两个Ashmem对象指向同一个共享内存区域。 +静态方法,通过复制现有Ashmem对象的文件描述符(fd)来创建Ashmem对象。两个Ashmem对象指向同一个共享内存区域。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -8403,7 +8381,7 @@ static create(ashmem: Ashmem): Ashmem **示例:** - ``` + ```ts let ashmem2; try { let ashmem = rpc.Ashmem.create("ashmem", 1024*1024); @@ -8416,14 +8394,13 @@ static create(ashmem: Ashmem): Ashmem console.log("RpcTest: get ashemm by create : " + ashmem2 + " size is : " + size); ``` - ### createAshmemFromExisting8+(deprecated) >从API version 9 开始不再维护,建议使用[create](#create9)类替代。 static createAshmemFromExisting(ashmem: Ashmem): Ashmem -通过复制现有Ashmem对象的文件描述符(fd)来创建Ashmem对象。两个Ashmem对象指向同一个共享内存区域。 +静态方法,通过复制现有Ashmem对象的文件描述符(fd)来创建Ashmem对象。两个Ashmem对象指向同一个共享内存区域。 **系统能力**:SystemCapability.Communication.IPC.Core @@ -8441,14 +8418,13 @@ static createAshmemFromExisting(ashmem: Ashmem): Ashmem **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024*1024); let ashmem2 = rpc.Ashmem.createAshmemFromExisting(ashmem); let size = ashmem2.getAshmemSize(); console.log("RpcTest: get ashemm by createAshmemFromExisting : " + ashmem2 + " size is : " + size); ``` - ### closeAshmem8+ closeAshmem(): void @@ -8459,12 +8435,11 @@ closeAshmem(): void **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.create("ashmem", 1024*1024); ashmem.closeAshmem(); ``` - ### unmapAshmem8+ unmapAshmem(): void @@ -8475,12 +8450,11 @@ unmapAshmem(): void **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.create("ashmem", 1024*1024); ashmem.unmapAshmem(); ``` - ### getAshmemSize8+ getAshmemSize(): number @@ -8497,13 +8471,12 @@ getAshmemSize(): number **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024*1024); let size = ashmem.getAshmemSize(); console.log("RpcTest: get ashmem is " + ashmem + " size is : " + size); ``` - ### mapTypedAshmem9+ mapTypedAshmem(mapType: number): void @@ -8528,7 +8501,7 @@ mapTypedAshmem(mapType: number): void **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.create("ashmem", 1024*1024); try { ashmem.mapTypedAshmem(ashmem.PROT_READ | ashmem.PROT_WRITE); @@ -8538,7 +8511,6 @@ mapTypedAshmem(mapType: number): void } ``` - ### mapAshmem8+(deprecated) >从API version 9 开始不再维护,建议使用[mapTypedAshmem](#maptypedashmem9)类替代。 @@ -8559,17 +8531,16 @@ mapAshmem(mapType: number): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果映射成功,则返回true;否则返回false。 | + | boolean | true:映射成功,false:映射失败。| **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024*1024); let mapReadAndWrite = ashmem.mapAshmem(ashmem.PROT_READ | ashmem.PROT_WRITE); console.log("RpcTest: map ashmem result is : " + mapReadAndWrite); ``` - ### mapReadWriteAshmem9+ mapReadWriteAshmem(): void @@ -8588,7 +8559,7 @@ mapReadWriteAshmem(): void **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.create("ashmem", 1024*1024); try { ashmem.mapReadWriteAshmem(); @@ -8598,7 +8569,6 @@ mapReadWriteAshmem(): void } ``` - ### mapReadAndWriteAshmem8+(deprecated) >从API version 9 开始不再维护,建议使用[mapReadWriteAshmem](#mapreadwriteashmem9)类替代。 @@ -8613,17 +8583,16 @@ mapReadAndWriteAshmem(): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果映射成功,则返回true;否则返回false。 | + | boolean | true:映射成功,false:映射失败。| **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024*1024); let mapResult = ashmem.mapReadAndWriteAshmem(); console.log("RpcTest: map ashmem result is : " + mapResult); ``` - ### mapReadonlyAshmem9+ mapReadonlyAshmem(): void @@ -8642,7 +8611,7 @@ mapReadonlyAshmem(): void **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.create("ashmem", 1024*1024); try { ashmem.mapReadonlyAshmem(); @@ -8652,7 +8621,6 @@ mapReadonlyAshmem(): void } ``` - ### mapReadOnlyAshmem8+(deprecated) >从API version 9 开始不再维护,建议使用[mapReadonlyAshmem](#mapreadonlyashmem9)类替代。 @@ -8667,17 +8635,16 @@ mapReadOnlyAshmem(): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果映射成功,则返回true;否则返回false。 | + | boolean | true:映射成功,false:映射失败。| **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024*1024); let mapResult = ashmem.mapReadOnlyAshmem(); console.log("RpcTest: Ashmem mapReadOnlyAshmem result is : " + mapResult); ``` - ### setProtectionType9+ setProtectionType(protectionType: number): void @@ -8702,7 +8669,7 @@ setProtectionType(protectionType: number): void **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.create("ashmem", 1024*1024); try { ashmem.setProtection(ashmem.PROT_READ); @@ -8712,7 +8679,6 @@ setProtectionType(protectionType: number): void } ``` - ### setProtection8+(deprecated) >从API version 9 开始不再维护,建议使用[setProtectionType](#setprotectiontype9)类替代。 @@ -8733,17 +8699,16 @@ setProtection(protectionType: number): boolean | 类型 | 说明 | | ------- | ----------------------------------------- | - | boolean | 如果设置成功,则返回true;否则返回false。 | + | boolean | true:设置成功,false:设置失败。| **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024*1024); let result = ashmem.setProtection(ashmem.PROT_READ); console.log("RpcTest: Ashmem setProtection result is : " + result); ``` - ### writeAshmem9+ writeAshmem(buf: number[], size: number, offset: number): void @@ -8770,7 +8735,7 @@ writeAshmem(buf: number[], size: number, offset: number): void **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.create("ashmem", 1024*1024); ashmem.mapReadWriteAshmem(); var ByteArrayVar = [1, 2, 3, 4, 5]; @@ -8782,7 +8747,6 @@ writeAshmem(buf: number[], size: number, offset: number): void } ``` - ### writeToAshmem8+(deprecated) >从API version 9 开始不再维护,建议使用[writeAshmem](#writeashmem9)类替代。 @@ -8805,11 +8769,11 @@ writeToAshmem(buf: number[], size: number, offset: number): boolean | 类型 | 说明 | | ------- | ----------------------------------------------------------------------------------------- | - | boolean | 如果数据写入成功,则返回true;在其他情况下,如数据写入越界或未获得写入权限,则返回false。 | + | boolean | true:如果数据写入成功,false:在其他情况下,如数据写入越界或未获得写入权限。。 | **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024*1024); let mapResult = ashmem.mapReadAndWriteAshmem(); console.info("RpcTest map ashmem result is " + mapResult); @@ -8818,7 +8782,6 @@ writeToAshmem(buf: number[], size: number, offset: number): boolean console.log("RpcTest: write to Ashmem result is : " + writeResult); ``` - ### readAshmem9+ readAshmem(size: number, offset: number): number[] @@ -8850,7 +8813,7 @@ readAshmem(size: number, offset: number): number[] **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.create("ashmem", 1024*1024); ashmem.mapReadWriteAshmem(); var ByteArrayVar = [1, 2, 3, 4, 5]; @@ -8864,7 +8827,6 @@ readAshmem(size: number, offset: number): number[] } ``` - ### readFromAshmem8+(deprecated) >从API version 9 开始不再维护,建议使用[readAshmem](#readashmem9)类替代。 @@ -8890,7 +8852,7 @@ readFromAshmem(size: number, offset: number): number[] **示例:** - ``` + ```ts let ashmem = rpc.Ashmem.createAshmem("ashmem", 1024*1024); let mapResult = ashmem.mapReadAndWriteAshmem(); console.info("RpcTest map ashmem result is " + mapResult); diff --git a/zh-cn/application-dev/reference/apis/js-apis-screen-lock.md b/zh-cn/application-dev/reference/apis/js-apis-screen-lock.md index d558a4d54aa54e9a9e4b5e9836657203bd2ce1f1..cc3bb710fece0df42ef6c372aa349156953abd10 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-screen-lock.md +++ b/zh-cn/application-dev/reference/apis/js-apis-screen-lock.md @@ -266,7 +266,7 @@ try { ## screenlock.sendScreenLockEvent9+ -sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void +sendScreenLockEvent(event: string, parameter: number, callback: AsyncCallback<boolean>): void 应用发送事件到锁屏服务。使用callback异步回调。 @@ -278,7 +278,7 @@ sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback< | 参数名 | 类型 | 必填 | 说明 | | --------- | ------------------------ | ---- | -------------------- | -| event | String | 是 | 事件类型,支持如下取值:
- "unlockScreenResult",表示解锁结果。
- "lockScreenResult",表示锁屏结果。
- "screenDrawDone",表示屏幕绘制完成。 | +| event | string | 是 | 事件类型,支持如下取值:
- "unlockScreenResult",表示解锁结果。
- "lockScreenResult",表示锁屏结果。
- "screenDrawDone",表示屏幕绘制完成。 | | parameter | number | 是 | 事件结果。
- parameter为0,表示成功。例如解锁成功或锁屏成功。
- parameter为1,表示失败。例如解锁失败或锁屏失败。
- parameter为2,表示取消。例如锁屏取消或解锁取消。 | | callback | AsyncCallback\ | 是 | 回调函数。返回true表示发送事件成功;返回false表示发送事件失败。 | @@ -304,7 +304,7 @@ screenlock.sendScreenLockEvent('unlockScreenResult', 0, (err, result) => { ## screenlock.sendScreenLockEvent9+ -sendScreenLockEvent(event: String, parameter: number): Promise<boolean> +sendScreenLockEvent(event: string, parameter: number): Promise<boolean> 应用发送事件到锁屏服务。使用Promise异步回调。 @@ -316,7 +316,7 @@ sendScreenLockEvent(event: String, parameter: number): Promise<boolean> | 参数名 | 类型 | 必填 | 说明 | | --------- | ------ | ---- | --------------------------------------- | -| event | String | 是 | 事件类型,支持如下取值:
- "unlockScreenResult",表示解锁结果。
- "lockScreenResult",表示锁屏结果。
- "screenDrawDone",表示屏幕绘制完成。 | +| event | string | 是 | 事件类型,支持如下取值:
- "unlockScreenResult",表示解锁结果。
- "lockScreenResult",表示锁屏结果。
- "screenDrawDone",表示屏幕绘制完成。 | | parameter | number | 是 | 事件结果。
- parameter为0,表示成功。例如解锁成功或锁屏成功。
- parameter为1,表示失败。例如解锁失败或锁屏失败。
- parameter为2,表示取消。例如锁屏取消或解锁取消。 | **返回值:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-sensor.md b/zh-cn/application-dev/reference/apis/js-apis-sensor.md index 7ff2b1e66fbeeb4b84fc35c88bbb52a2031a6a69..8638221b66ef061dd51a5333e602aada717900c3 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-sensor.md +++ b/zh-cn/application-dev/reference/apis/js-apis-sensor.md @@ -3496,9 +3496,9 @@ try { | 名称 | 类型 | 可读 | 可写 | 说明 | | ---- | ------ | ---- | ---- | ------------------------------------ | -| x | number | 是 | 是 | 施加在设备x轴的加速度,单位 : m/s2。 | -| y | number | 是 | 是 | 施加在设备y轴的加速度,单位 : m/s2。 | -| z | number | 是 | 是 | 施加在设备z轴的加速度,单位 : m/s2。 | +| x | number | 是 | 是 | 施加在设备x轴的加速度,单位 : m/s²。 | +| y | number | 是 | 是 | 施加在设备y轴的加速度,单位 : m/s²。 | +| z | number | 是 | 是 | 施加在设备z轴的加速度,单位 : m/s²。 | ## LinearAccelerometerResponse @@ -3510,9 +3510,9 @@ try { | 名称 | 类型 | 可读 | 可写 | 说明 | | ---- | ------ | ---- | ---- | ---------------------------------------- | -| x | number | 是 | 是 | 施加在设备x轴的线性加速度,单位 : m/s2。 | -| y | number | 是 | 是 | 施加在设备y轴的线性加速度,单位 : m/s2。 | -| z | number | 是 | 是 | 施加在设备z轴的线性加速度,单位 : m/s2。 | +| x | number | 是 | 是 | 施加在设备x轴的线性加速度,单位 : m/s²。 | +| y | number | 是 | 是 | 施加在设备y轴的线性加速度,单位 : m/s²。 | +| z | number | 是 | 是 | 施加在设备z轴的线性加速度,单位 : m/s²。 | ## AccelerometerUncalibratedResponse @@ -3524,12 +3524,12 @@ try { | 名称 | 类型 | 可读 | 可写 | 说明 | | ----- | ------ | ---- | ---- | ------------------------------------------------ | -| x | number | 是 | 是 | 施加在设备x轴未校准的加速度,单位 : m/s2。 | -| y | number | 是 | 是 | 施加在设备y轴未校准的加速度,单位 : m/s2。 | -| z | number | 是 | 是 | 施加在设备z轴未校准的加速度,单位 : m/s2。 | -| biasX | number | 是 | 是 | 施加在设备x轴未校准的加速度偏量,单位 : m/s2。 | -| biasY | number | 是 | 是 | 施加在设备上y轴未校准的加速度偏量,单位 : m/s2。 | -| biasZ | number | 是 | 是 | 施加在设备z轴未校准的加速度偏量,单位 : m/s2。 | +| x | number | 是 | 是 | 施加在设备x轴未校准的加速度,单位 : m/s²。 | +| y | number | 是 | 是 | 施加在设备y轴未校准的加速度,单位 : m/s²。 | +| z | number | 是 | 是 | 施加在设备z轴未校准的加速度,单位 : m/s²。 | +| biasX | number | 是 | 是 | 施加在设备x轴未校准的加速度偏量,单位 : m/s²。 | +| biasY | number | 是 | 是 | 施加在设备上y轴未校准的加速度偏量,单位 : m/s²。 | +| biasZ | number | 是 | 是 | 施加在设备z轴未校准的加速度偏量,单位 : m/s²。 | ## GravityResponse @@ -3541,9 +3541,9 @@ try { | 名称 | 类型 | 可读 | 可写 | 说明 | | ---- | ------ | ---- | ---- | ---------------------------------------- | -| x | number | 是 | 是 | 施加在设备x轴的重力加速度,单位 : m/s2。 | -| y | number | 是 | 是 | 施加在设备y轴的重力加速度,单位 : m/s2。 | -| z | number | 是 | 是 | 施加在设备z轴的重力加速度,单位 : m/s2。 | +| x | number | 是 | 是 | 施加在设备x轴的重力加速度,单位 : m/s²。 | +| y | number | 是 | 是 | 施加在设备y轴的重力加速度,单位 : m/s²。 | +| z | number | 是 | 是 | 施加在设备z轴的重力加速度,单位 : m/s²。 | ## OrientationResponse diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-notification.md b/zh-cn/application-dev/reference/apis/js-apis-system-notification.md index 000ec1077531a5c4766c61ac1f2692801f7169ff..dc72936c1bf92decc894bc4c44dd5207a4dc6c79 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-notification.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-notification.md @@ -17,22 +17,22 @@ import notification from '@system.notification'; **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 必填 | 描述 | -| ----------- | --- | ---- | ---------------------------------------------- | ---- | ------------------------- | -| bundleName | 是 | 是 | string | 是 | 单击通知后要重定向到的应用程序的Bundle名。 | -| abilityName | 是 | 是 | string | 是 | 单击通知后要重定向到的应用程序的Ability名称。 | -| uri | 是 | 是 | string | 否 | 要重定向到的页面的uri。 | +| 名称 | 类型 | 可读 | 可写 | 必填 | 描述 | +| ----------- | ---------------------------------------------- | ---- | ------------------------- | ------------------------- | ------------------------- | +| bundleName | string | 是 | 是 | 是 | 单击通知后要重定向到的应用程序的Bundle名。 | +| abilityName | string | 是 | 是 | 是 | 单击通知后要重定向到的应用程序的Ability名称。 | +| uri | string | 是 | 是 | 否 | 要重定向到的页面的uri。 | ## ShowNotificationOptions **系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification -| 名称 | 可读 | 可写 | 类型 | 必填 | 描述 | -| ------------- | --- | ---- | ---------------------------------------------- | ---- | ------------------------- | -| contentTitle | 是 | 是 | string | 否 | 通知标题。 | -| contentText | 是 | 是 | string | 否 | 通知内容。 | -| clickAction | 是 | 是 | ActionResult | 否 | 通知被点击后触发的行为。 | +| 名称 | 类型 | 可读 | 可写 | 必填 | 描述 | +| ------------- | ---------------------------------------------- | ---- | ------------------------- | ------------------------- | ------------------------- | +| contentTitle | string | 是 | 是 | 否 | 通知标题。 | +| contentText | string | 是 | 是 | 否 | 通知内容。 | +| clickAction | ActionResult | 是 | 是 | 否 | 通知被点击后触发的行为。 | ## notification.show diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-package.md b/zh-cn/application-dev/reference/apis/js-apis-system-package.md index 45389b3307208a433dc7f1a9ba00cad35456a000..d5723d98d044a465a2c02c8cd67eb05bb632a42f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-package.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-package.md @@ -77,7 +77,7 @@ export default { | 名称 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | -| bundleName | string | 是 | 应用包名。 | +| bundleName | string | 是 | 应用Bundle名称。 | | success | Function | 否 | 接口调用成功的回调函数。 | | fail | Function | 否 | 接口调用失败的回调函数。 | | complete | Function | 否 | 接口调用结束的回调函数。 | \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-timer.md b/zh-cn/application-dev/reference/apis/js-apis-system-timer.md index f1cec2767a38bc5aaac708ff18a877054b09764a..05105ecb1c6b298b97d2dd14468982050724c13b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-timer.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-timer.md @@ -33,13 +33,13 @@ import systemTimer from '@ohos.systemTimer'; **系统能力:** SystemCapability.MiscServices.Time -| 名称 | 类型 | 必填 | 说明 | -| --------- | --------------------------------- | ---- | ------------------------------------------------------------ | -| type | number | 是 | 定时器类型。
取值为1时,表示为系统启动时间定时器(定时器启动时间不能晚于当前设置的系统时间) ;
取值为2时,表示为唤醒定时器;
取值为4时,表示为精准定时器;
取值为5时,表示为IDLE模式定时器(暂不支持)。 | -| repeat | boolean | 是 | true为循环定时器,false为单次定时器。 | -| interval | number | 否 | 如果是循环定时器,repeat值应大于5000毫秒,非重复定时器置为0。 | -| wantAgent | [WantAgent](js-apis-wantAgent.md) | 否 | 设置通知的WantAgent,定时器到期后通知。(支持拉起应用MainAbility,暂不支持拉起ServiceAbility。) | -| callback | number | 是 | 以回调函数的形式返回定时器的ID。 | +| 名称 | 类型 | 必填 | 说明 | +| --------- | --------------------------------------------- | ---- | ------------------------------------------------------------ | +| type | number | 是 | 定时器类型。
取值为1时,表示为系统启动时间定时器(定时器启动时间不能晚于当前设置的系统时间) ;
取值为2时,表示为唤醒定时器;
取值为4时,表示为精准定时器;
取值为5时,表示为IDLE模式定时器(暂不支持)。 | +| repeat | boolean | 是 | true为循环定时器,false为单次定时器。 | +| interval | number | 否 | 如果是循环定时器,repeat值应大于5000毫秒,非重复定时器置为0。 | +| wantAgent | [WantAgent](js-apis-app-ability-wantAgent.md) | 否 | 设置通知的WantAgent,定时器到期后通知。(支持拉起应用MainAbility,暂不支持拉起ServiceAbility。) | +| callback | number | 是 | 以回调函数的形式返回定时器的ID。 | ## systemTimer.createTimer diff --git a/zh-cn/application-dev/reference/apis/js-apis-url.md b/zh-cn/application-dev/reference/apis/js-apis-url.md index f539153758e66eeb42cd3f69abb8e76e8fd964f8..2f68cab7daf22be323fc4e5de84b79cbda01639b 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-url.md +++ b/zh-cn/application-dev/reference/apis/js-apis-url.md @@ -11,7 +11,6 @@ import Url from '@ohos.url' ``` ## URLParams9+ - ### constructor9+ constructor(init?: string[][] | Record<string, string> | string | URLSearchParams) @@ -384,20 +383,20 @@ console.log(params.toString()); | port | string | 是 | 是 | 获取和设置URL的端口部分。 | | protocol | string | 是 | 是 | 获取和设置URL的协议部分。 | | search | string | 是 | 是 | 获取和设置URL的序列化查询部分。 | -| searchParams | URLSearchParams | 是 | 否 | 获取URLSearchParams表示URL查询参数的对象。 | -| URLParams | URLParams | 是 | 否 | 获取URLParams表示URL查询参数的对象。 | +| searchParams(deprecated) | [URLSearchParams](#urlsearchparamsdeprecated) | 是 | 否 | 获取URLSearchParams表示URL查询参数的对象。
- **说明:** 此属性从API version 7开始支持,从API version 9开始被废弃。建议使用params9+替代。 | +| params9+ | [URLParams](#urlparams9) | 是 | 否 | 获取URLParams表示URL查询参数的对象。 | | username | string | 是 | 是 | 获取和设置URL的用户名部分。 | ### constructor(deprecated) -constructor(url: string, base?: string | URL) - -URL的构造函数。 - > **说明:** > > 从API version 7开始支持,从API version 9开始废弃,建议使用[parseURL9+](#parseurl9)替代。 +constructor(url: string, base?: string | URL) + +URL的构造函数。 + **系统能力:** SystemCapability.Utils.Lang **参数:** @@ -410,13 +409,13 @@ URL的构造函数。 **示例:** ```js -let mm = 'http://username:password@host:8080'; -let a = new Url.URL("/", mm); // Output 'http://username:password@host:8080/'; -let b = new Url.URL(mm); // Output 'http://username:password@host:8080/'; -new Url.URL('path/path1', b); // Output 'http://username:password@host:8080/path/path1'; -let c = new Url.URL('/path/path1', b); // Output 'http://username:password@host:8080/path/path1'; -new Url.URL('/path/path1', c); // Output 'http://username:password@host:8080/path/path1'; -new Url.URL('/path/path1', a); // Output 'http://username:password@host:8080/path/path1'; +let mm = 'https://username:password@host:8080'; +let a = new Url.URL("/", mm); // Output 'https://username:password@host:8080/'; +let b = new Url.URL(mm); // Output 'https://username:password@host:8080/'; +new Url.URL('path/path1', b); // Output 'https://username:password@host:8080/path/path1'; +let c = new Url.URL('/path/path1', b); // Output 'https://username:password@host:8080/path/path1'; +new Url.URL('/path/path1', c); // Output 'https://username:password@host:8080/path/path1'; +new Url.URL('/path/path1', a); // Output 'https://username:password@host:8080/path/path1'; new Url.URL('/path/path1', "https://www.exampleUrl/fr-FR/toto"); // Output https://www.exampleUrl/path/path1 new Url.URL('/path/path1', ''); // Raises a TypeError exception as '' is not a valid URL new Url.URL('/path/path1'); // Raises a TypeError exception as '/path/path1' is not a valid URL @@ -439,19 +438,11 @@ URL静态成员函数。 | url | string | 是 | 入参对象。 | | base | string \| URL | 否 | 入参字符串或者对象。
- string:字符串
- URL:字符串或对象 | -**错误码:** - -以下错误码的详细介绍请参见[语言基础类库错误码](../errorcodes/errorcode-utils.md)。 - -| 错误码ID | 错误信息 | -| -------- | -------- | -| 10200002 | Invalid url string. | - **示例:** ```js -let mm = 'http://username:password@host:8080'; -Url.URL.parseURL(mm); // Output 'http://username:password@host:8080/'; +let mm = 'https://username:password@host:8080'; +Url.URL.parseURL(mm); // Output 'https://username:password@host:8080/'; ``` ### tostring @@ -471,11 +462,10 @@ toString(): string **示例:** ```js -const url = new Url.URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da'); +const url = new Url.URL('https://username:password@host:8080/directory/file?query=pppppp#qwer=da'); url.toString(); ``` - ### toJSON toJSON(): string @@ -492,7 +482,7 @@ toJSON(): string **示例:** ```js -const url = new Url.URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da'); +const url = new Url.URL('https://username:password@host:8080/directory/file?query=pppppp#qwer=da'); url.toJSON(); ``` @@ -902,126 +892,4 @@ let params = new Url.URLSearchParams(url.search.slice(1)); params.append('fod', '3'); console.log(params.toString()); ``` - -## URL - -### 属性 - -**系统能力:** 以下各项对应的系统能力均为SystemCapability.Utils.Lang - -| 名称 | 类型 | 可读 | 可写 | 说明 | -| -------- | -------- | -------- | -------- | -------- | -| hash | string | 是 | 是 | 获取和设置URL的片段部分。 | -| host | string | 是 | 是 | 获取和设置URL的主机部分。 | -| hostname | string | 是 | 是 | 获取和设置URL的主机名部分,不带端口。 | -| href | string | 是 | 是 | 获取和设置序列化的URL。 | -| origin | string | 是 | 否 | 获取URL源的只读序列化。 | -| password | string | 是 | 是 | 获取和设置URL的密码部分。 | -| pathname | string | 是 | 是 | 获取和设置URL的路径部分。 | -| port | string | 是 | 是 | 获取和设置URL的端口部分。 | -| protocol | string | 是 | 是 | 获取和设置URL的协议部分。 | -| search | string | 是 | 是 | 获取和设置URL的序列化查询部分。 | -| searchParams | URLSearchParams | 是 | 否 | 获取URLSearchParams表示URL查询参数的对象。 | -| URLParams | URLParams | 是 | 否 | 获取URLParams表示URL查询参数的对象。 | -| username | string | 是 | 是 | 获取和设置URL的用户名部分。 | - -### constructor(deprecated) - -> **说明:** -> -> 从API version 7开始支持,从API version 9开始废弃,建议使用[parseURL9+](#parseurl9)替代。 - -constructor(url: string, base?: string | URL) - -URL的构造函数。 - -**系统能力:** SystemCapability.Utils.Lang - -**参数:** - -| 参数名 | 类型 | 必填 | 说明 | -| -------- | -------- | -------- | -------- | -| url | string | 是 | 入参对象。 | -| base | string \| URL | 否 | 入参字符串或者对象。
- string:字符串
- URL:字符串或对象 | - -**示例:** - -```js -let mm = 'https://username:password@host:8080'; -let a = new Url.URL("/", mm); // Output 'https://username:password@host:8080/'; -let b = new Url.URL(mm); // Output 'https://username:password@host:8080/'; -new Url.URL('path/path1', b); // Output 'https://username:password@host:8080/path/path1'; -let c = new Url.URL('/path/path1', b); // Output 'https://username:password@host:8080/path/path1'; -new Url.URL('/path/path1', c); // Output 'https://username:password@host:8080/path/path1'; -new Url.URL('/path/path1', a); // Output 'https://username:password@host:8080/path/path1'; -new Url.URL('/path/path1', "https://www.exampleUrl/fr-FR/toto"); // Output https://www.exampleUrl/path/path1 -new Url.URL('/path/path1', ''); // Raises a TypeError exception as '' is not a valid URL -new Url.URL('/path/path1'); // Raises a TypeError exception as '/path/path1' is not a valid URL -new Url.URL('https://www.example.com', ); // Output https://www.example.com/ -new Url.URL('https://www.example.com', b); // Output https://www.example.com/ -``` - -### parseURL9+ - -static parseURL(url : string, base?: string | URL): URL - -URL静态成员函数。 - -**系统能力:** SystemCapability.Utils.Lang - -**参数:** - -| 参数名 | 类型 | 必填 | 说明 | -| -------- | -------- | -------- | -------- | -| url | string | 是 | 入参对象。 | -| base | string \| URL | 否 | 入参字符串或者对象。
- string:字符串
- URL:字符串或对象 | - -**示例:** - -```js -let mm = 'https://username:password@host:8080'; -Url.URL.parseURL(mm); // Output 'https://username:password@host:8080/'; -``` - -### tostring - -toString(): string - -将解析过后的URL转化为字符串。 - -**系统能力:** SystemCapability.Utils.Lang - -**返回值:** - -| 类型 | 说明 | -| -------- | -------- | -| string | 用于返回网址的字符串序列化。 | - -**示例:** - -```js -const url = new Url.URL('https://username:password@host:8080/directory/file?query=pppppp#qwer=da'); -url.toString(); -``` - - -### toJSON - -toJSON(): string - -将解析过后的URL转化为JSON字符串。 - -**系统能力:** SystemCapability.Utils.Lang - -**返回值:** - -| 类型 | 说明 | -| -------- | -------- | -| string | 用于返回网址的字符串序列化。 | - -**示例:** -```js -const url = new Url.URL('https://username:password@host:8080/directory/file?query=pppppp#qwer=da'); -url.toJSON(); -``` \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-usb.md b/zh-cn/application-dev/reference/apis/js-apis-usb.md index a13cf744214736e0ad77171211683579e6f1ba24..d0331a03cdd608b1dd7bd467af0ff552e9e51ab5 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-usb.md +++ b/zh-cn/application-dev/reference/apis/js-apis-usb.md @@ -87,7 +87,7 @@ console.log(`devicesList = ${JSON.stringify(devicesList)}`); connectDevice(device: USBDevice): Readonly<USBDevicePipe> -打开USB设备。 +根据getDevices()返回的设备信息打开USB设备。 需要调用[usb.getDevices](#usbgetdevices)获取设备信息以及device,再调用[usb.requestRight](#usbrequestright)请求使用该设备的权限。 @@ -134,6 +134,8 @@ hasRight(deviceName: string): boolean 判断是否有权访问该设备。 +如果“使用者”(如各种App或系统)有权访问设备则返回true;无权访问设备则返回false。 + **系统能力:** SystemCapability.USB.USBManager **参数:** @@ -187,7 +189,7 @@ usb.requestRight(devicesName).then((ret) => { ## usb.removeRight -removeRight(deviceName: string): boolean; +removeRight(deviceName: string): boolean 移除软件包访问设备的权限。 @@ -216,7 +218,7 @@ if (usb.removeRight(devicesName) { ## usb.addRight -addRight(bundleName: string, deviceName: string): boolean; +addRight(bundleName: string, deviceName: string): boolean 添加软件包访问设备的权限。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-useriam-userauth.md b/zh-cn/application-dev/reference/apis/js-apis-useriam-userauth.md index cdd93e38b72906886abad424509249a0f4890168..40aa943c1b9127d0ed5aea4bb6b5a824204d9227 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-useriam-userauth.md +++ b/zh-cn/application-dev/reference/apis/js-apis-useriam-userauth.md @@ -277,9 +277,14 @@ start : () => void | -------- | ------- | | 201 | Permission verification failed. | | 401 | Incorrect parameters. | +| 12500001 | Execution failed. | | 12500002 | General operation error. | +| 12500003 | The operation is canceled. | +| 12500004 | The operation is time-out. | | 12500005 | The authentication type is not supported. | | 12500006 | The authentication trust level is not supported. | +| 12500007 | The authentication task is busy. | +| 12500009 | The authenticator is locked. | | 12500010 | The type of credential has not been enrolled. | **示例:** @@ -813,6 +818,7 @@ auth.auth(null, userIAM_userAuth.UserAuthType.FACE, userIAM_userAuth.AuthTrustLe | TYPE_NOT_SUPPORT | 5 | 不支持的认证类型。 | | TRUST_LEVEL_NOT_SUPPORT | 6 | 不支持的认证等级。 | | BUSY | 7 | 忙碌状态。 | +| INVALID_PARAMETERS | 8 | 无效参数。 | | LOCKED | 9 | 认证器已锁定。 | | NOT_ENROLLED | 10 | 用户未录入认证信息。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md b/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md index 45f290e0358618e1831a5f83d3f1aca24f9f8583..c21feac3f1d6302352458849818b1045ee5bb743 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md +++ b/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md @@ -1,6 +1,6 @@ # @ohos.wallpaper (壁纸) -壁纸管理服务是OpenHarmony中系统服务,是主题框架的部分组成,主要为系统提供壁纸管理服务能力,支持系统显示、设置、切换壁纸等功能。 +壁纸管理服务是OpenHarmony中的系统服务,主要为系统提供壁纸管理服务能力,支持系统显示、设置、切换壁纸等功能。 > **说明:** > @@ -63,7 +63,12 @@ getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor> **示例**: ```js -let colors = wallpaper.getColorsSync(wallpaper.WallpaperType.WALLPAPER_SYSTEM); +try { + let colors = wallpaper.getColorsSync(wallpaper.WallpaperType.WALLPAPER_SYSTEM); + console.log(`success to getColorsSync: ${JSON.stringify(colors)}`); +} catch (error) { + console.error(`failed to getColorsSync because: ${JSON.stringify(error)}`); +} ``` ## wallpaper.getIdSync9+ @@ -84,12 +89,17 @@ getIdSync(wallpaperType: WallpaperType): number | 类型 | 说明 | | -------- | -------- | -| number | 返回壁纸的ID。如果配置了这种壁纸类型的壁纸就返回一个大于等于0的数,否则返回-1。取值范围是-1~2^31-1。 | +| number | 返回壁纸的ID。如果配置了这种壁纸类型的壁纸就返回一个大于等于0的数,否则返回-1。取值范围是-1到(2^31-1)。 | **示例**: ```js -let id = wallpaper.getIdSync(wallpaper.WallpaperType.WALLPAPER_SYSTEM); +try { + let id = wallpaper.getIdSync(wallpaper.WallpaperType.WALLPAPER_SYSTEM); + console.log(`success to getIdSync: ${JSON.stringify(id)}`); +} catch (error) { + console.error(`failed to getIdSync because: ${JSON.stringify(error)}`); +} ``` ## wallpaper.getMinHeightSync9+ @@ -187,7 +197,7 @@ restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | wallpaperType | [WallpaperType](#wallpapertype) | 是 | 壁纸类型。 | -| callback | AsyncCallback<void> | 是 | 回调函数,移除壁纸成功,error为undefined 否则返回error信息。 | +| callback | AsyncCallback<void> | 是 | 回调函数,移除壁纸成功,error为undefined,否则返回error信息。 | **示例:** @@ -221,7 +231,7 @@ restore(wallpaperType: WallpaperType): Promise<void> | 类型 | 说明 | | -------- | -------- | -| Promise<void> | Promise对象。无返回结果的Promise对象。 | +| Promise<void> | 无返回结果的Promise对象。 | **示例:** @@ -249,7 +259,7 @@ setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback | -------- | -------- | -------- | -------- | | source | string \| [image.PixelMap](js-apis-image.md#pixelmap7) | 是 | JPEG或PNG文件的Uri路径,或者PNG格式文件的位图。 | | wallpaperType | [WallpaperType](#wallpapertype) | 是 | 壁纸类型。 | -| callback | AsyncCallback<void> | 是 | 回调函数,设置壁纸成功,error为undefined 否则返回error信息。 | +| callback | AsyncCallback<void> | 是 | 回调函数,设置壁纸成功,error为undefined,否则返回error信息。 | **示例:** @@ -307,7 +317,7 @@ setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise | 类型 | 说明 | | -------- | -------- | -| Promise<void> | Promise对象。无返回结果的Promise对象。 | +| Promise<void> | 无返回结果的Promise对象。 | **示例:** @@ -365,7 +375,12 @@ getFileSync(wallpaperType: WallpaperType): number; **示例:** ```js -let file = wallpaper.getFileSync(wallpaper.WallpaperType.WALLPAPER_SYSTEM); +try { + let file = wallpaper.getFileSync(wallpaper.WallpaperType.WALLPAPER_SYSTEM); + console.log(`success to getFileSync: ${JSON.stringify(file)}`); +} catch (error) { + console.error(`failed to getFileSync because: ${JSON.stringify(error)}`); +} ``` ## wallpaper.getImage9+ @@ -385,7 +400,7 @@ getImage(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | wallpaperType | [WallpaperType](#wallpapertype) | 是 | 壁纸类型。 | -| callback | AsyncCallback<[image.PixelMap](js-apis-image.md#pixelmap7)> | 是 | 回调函数,调用成功则返回壁纸图片的像素图大小,调用失败则返回error信息。 | +| callback | AsyncCallback<[image.PixelMap](js-apis-image.md#pixelmap7)> | 是 | 回调函数,调用成功则返回壁纸图片的像素图对象,调用失败则返回error信息。 | **示例:** @@ -422,7 +437,7 @@ getImage(wallpaperType: WallpaperType): Promise<image.PixelMap> | 类型 | 说明 | | -------- | -------- | -| Promise<[image.PixelMap](js-apis-image.md#pixelmap7)> | 调用成功则返回壁纸图片的像素图大小,调用失败则返回error信息。 | +| Promise<[image.PixelMap](js-apis-image.md#pixelmap7)> | 调用成功则返回壁纸图片的像素图对象,调用失败则返回error信息。 | **示例:** @@ -452,10 +467,14 @@ on(type: 'colorChange', callback: (colors: Array<RgbaColor>, wallpaperType **示例:** ```js -let listener = (colors, wallpaperType) => { - console.log(`wallpaper color changed.`); -}; -wallpaper.on('colorChange', listener); +try { + let listener = (colors, wallpaperType) => { + console.log(`wallpaper color changed.`); + }; + wallpaper.on('colorChange', listener); +} catch (error) { + console.error(`failed to on because: ${JSON.stringify(error)}`); +} ``` ## wallpaper.off('colorChange')9+ @@ -479,11 +498,25 @@ off(type: 'colorChange', callback?: (colors: Array<RgbaColor>, wallpaperTy let listener = (colors, wallpaperType) => { console.log(`wallpaper color changed.`); }; -wallpaper.on('colorChange', listener); -// 取消订阅listener -wallpaper.off('colorChange', listener); -// 取消所有'colorChange'类型的订阅 -wallpaper.off('colorChange'); +try { + wallpaper.on('colorChange', listener); +} catch (error) { + console.error(`failed to on because: ${JSON.stringify(error)}`); +} + +try { + // 取消订阅listener + wallpaper.off('colorChange', listener); +} catch (error) { + console.error(`failed to off because: ${JSON.stringify(error)}`); +} + +try { + // 取消所有'colorChange'类型的订阅 + wallpaper.off('colorChange'); +} catch (error) { + console.error(`failed to off because: ${JSON.stringify(error)}`); +} ``` ## wallpaper.getColors(deprecated) @@ -568,7 +601,7 @@ getId(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | wallpaperType | [WallpaperType](#wallpapertype) | 是 | 壁纸类型。 | -| callback | AsyncCallback<number> | 是 | 回调函数,返回壁纸的ID。如果配置了指定类型的壁纸就返回一个大于等于0的数,否则返回-1。取值范围是-1~2^31-1。 | +| callback | AsyncCallback<number> | 是 | 回调函数,返回壁纸的ID。如果配置了指定类型的壁纸就返回一个大于等于0的数,否则返回-1。取值范围是-1到(2^31-1)。 | **示例:** @@ -604,7 +637,7 @@ getId(wallpaperType: WallpaperType): Promise<number> | 类型 | 说明 | | -------- | -------- | -| Promise<number> | 壁纸的ID。如果配置了这种壁纸类型的壁纸就返回一个大于等于0的数,否则返回-1。取值范围是-1~2^31-1。 | +| Promise<number> | 壁纸的ID。如果配置了这种壁纸类型的壁纸就返回一个大于等于0的数,否则返回-1。取值范围是-1到(2^31-1)。 | **示例:** @@ -867,7 +900,7 @@ reset(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | wallpaperType | [WallpaperType](#wallpapertype) | 是 | 壁纸类型。 | -| callback | AsyncCallback<void> | 是 | 回调函数,移除壁纸成功,error为undefined 否则返回error信息。 | +| callback | AsyncCallback<void> | 是 | 回调函数,移除壁纸成功,error为undefined,否则返回error信息。 | **示例:** @@ -905,7 +938,7 @@ reset(wallpaperType: WallpaperType): Promise<void> | 类型 | 说明 | | -------- | -------- | -| Promise<void> | Promise对象。无返回结果的Promise对象。 | +| Promise<void> | 无返回结果的Promise对象。 | **示例:** @@ -937,7 +970,7 @@ setWallpaper(source: string | image.PixelMap, wallpaperType: WallpaperType, call | -------- | -------- | -------- | -------- | | source | string \| [image.PixelMap](js-apis-image.md#pixelmap7) | 是 | JPEG或PNG文件的Uri路径,或者PNG格式文件的位图。 | | wallpaperType | [WallpaperType](#wallpapertype) | 是 | 壁纸类型。 | -| callback | AsyncCallback<void> | 是 | 回调函数,设置壁纸成功,error为undefined 否则返回error信息。 | +| callback | AsyncCallback<void> | 是 | 回调函数,设置壁纸成功,error为undefined,否则返回error信息。 | **示例:** @@ -999,7 +1032,7 @@ setWallpaper(source: string | image.PixelMap, wallpaperType: WallpaperType): Pro | 类型 | 说明 | | -------- | -------- | -| Promise<void> | Promise对象。无返回结果的Promise对象。 | +| Promise<void> | 无返回结果的Promise对象。 | **示例:** @@ -1123,7 +1156,7 @@ getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.Pixel | 参数名 | 类型 | 必填 | 说明 | | -------- | -------- | -------- | -------- | | wallpaperType | [WallpaperType](#wallpapertype) | 是 | 壁纸类型。 | -| callback | AsyncCallback<image.PixelMap> | 是 | 回调函数,调用成功则返回壁纸图片的像素图大小,调用失败则返回error信息。 | +| callback | AsyncCallback<image.PixelMap> | 是 | 回调函数,调用成功则返回壁纸图片的像素图对象,调用失败则返回error信息。 | **示例:** @@ -1163,7 +1196,7 @@ getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap> | 类型 | 说明 | | -------- | -------- | -| Promise<image.PixelMap> | 调用成功则返回壁纸图片的像素图大小,调用失败则返回error信息。 | +| Promise<image.PixelMap> | 调用成功则返回壁纸图片的像素图对象,调用失败则返回error信息。 | **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-wantAgent.md b/zh-cn/application-dev/reference/apis/js-apis-wantAgent.md index 00eae0c2c49def55828413f925748b29b8feb893..7a67ad66eb81f3aca814479cbe1c3d2482f06295 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-wantAgent.md +++ b/zh-cn/application-dev/reference/apis/js-apis-wantAgent.md @@ -1,6 +1,6 @@ # @ohos.wantAgent (WantAgent模块) -WantAgent模块提供了触发、取消、比较WantAgent实例和获取bundle名称的能力,包括创建WantAgent实例、获取实例的用户ID、获取want信息等。 +WantAgent模块提供了创建WantAgent实例、获取实例的用户ID、获取want信息、比较WantAgent实例和获取bundle名称等能力。 > **说明:** > @@ -8,7 +8,7 @@ WantAgent模块提供了触发、取消、比较WantAgent实例和获取bundle ## 导入模块 -```js +```ts import WantAgent from '@ohos.wantAgent'; ``` @@ -29,7 +29,7 @@ getWantAgent(info: WantAgentInfo, callback: AsyncCallback\): void **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; //getWantAgent回调 @@ -91,7 +91,7 @@ getWantAgent(info: WantAgentInfo): Promise\ **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; @@ -134,7 +134,7 @@ WantAgent.getWantAgent(wantAgentInfo).then((data) => { getBundleName(agent: WantAgent, callback: AsyncCallback\): void -获取WantAgent实例的包名(callback形式)。 +获取WantAgent实例的Bundle名称(callback形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -147,7 +147,7 @@ getBundleName(agent: WantAgent, callback: AsyncCallback\): void **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; @@ -206,7 +206,7 @@ WantAgent.getBundleName(wantAgent, getBundleNameCallback) getBundleName(agent: WantAgent): Promise\ -获取WantAgent实例的包名(Promise形式)。 +获取WantAgent实例的Bundle名称(Promise形式)。 **系统能力**:SystemCapability.Ability.AbilityRuntime.Core @@ -218,16 +218,15 @@ getBundleName(agent: WantAgent): Promise\ **返回值:** -| 类型 | 说明 | -| ----------------------------------------------------------- | ------------------------------------------------------------ | -| Promise\ | 以Promise形式返回获取WantAgent实例的包名。 | +| 类型 | 说明 | +| ----------------- | ------------------------------------------------ | +| Promise\ | 以Promise形式返回获取WantAgent实例的Bundle名称。 | **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; - //wantAgent对象 var wantAgent; @@ -288,7 +287,7 @@ getUid(agent: WantAgent, callback: AsyncCallback\): void **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; @@ -365,7 +364,7 @@ getUid(agent: WantAgent): Promise\ **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; @@ -431,7 +430,7 @@ getWant(agent: WantAgent, callback: AsyncCallback\): void **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; @@ -510,7 +509,7 @@ getWant(agent: WantAgent): Promise\ **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; @@ -574,7 +573,7 @@ cancel(agent: WantAgent, callback: AsyncCallback\): void **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; @@ -651,7 +650,7 @@ cancel(agent: WantAgent): Promise\ **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; @@ -711,12 +710,12 @@ trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback\ | 否 | 主动激发WantAgent实例的回调方法。 | **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; @@ -793,7 +792,7 @@ equal(agent: WantAgent, otherAgent: WantAgent, callback: AsyncCallback\ **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; @@ -937,7 +936,7 @@ getOperationType(agent: WantAgent, callback: AsyncCallback\): void; **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; //wantAgent对象 @@ -1003,7 +1002,7 @@ getOperationType(agent: WantAgent): Promise\; **示例:** -```js +```ts import WantAgent from '@ohos.wantAgent'; //wantAgent对象 diff --git a/zh-cn/application-dev/reference/apis/js-apis-window.md b/zh-cn/application-dev/reference/apis/js-apis-window.md index 05548fba0405541c2986c97719a0a3fae90e3284..6fb39162efe913ac2f65843264619acd47f5838e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-window.md +++ b/zh-cn/application-dev/reference/apis/js-apis-window.md @@ -248,7 +248,7 @@ import window from '@ohos.window'; | 名称 | 值 | 说明 | | ---------- | ------ | -------------- | -| DEFAULT | 0 | 默认色域模式。 | +| DEFAULT | 0 | 默认SRGB色域模式。 | | WIDE_GAMUT | 1 | 广色域模式。 | ## ScaleOptions9+ @@ -1548,6 +1548,8 @@ moveWindowTo(x: number, y: number, callback: AsyncCallback<void>): void 移动窗口位置,使用callback异步回调。 +全屏模式窗口不支持该操作。 + **系统能力:** SystemCapability.WindowManager.WindowManager.Core **参数:** @@ -1589,6 +1591,8 @@ moveWindowTo(x: number, y: number): Promise<void> 移动窗口位置,使用Promise异步回调。 +全屏模式窗口不支持该操作。 + **系统能力:** SystemCapability.WindowManager.WindowManager.Core **参数:** @@ -1640,6 +1644,8 @@ resize(width: number, height: number, callback: AsyncCallback<void>): void 设置的宽度与高度受到此约束限制。 +全屏模式窗口不支持该操作。 + **系统能力:** SystemCapability.WindowManager.WindowManager.Core **参数:** @@ -1687,6 +1693,8 @@ resize(width: number, height: number): Promise<void> 设置的宽度与高度受到此约束限制。 +全屏模式窗口不支持该操作。 + **系统能力:** SystemCapability.WindowManager.WindowManager.Core **参数:** @@ -4314,6 +4322,8 @@ moveTo(x: number, y: number, callback: AsyncCallback<void>): void 移动窗口位置,使用callback异步回调。 +全屏模式窗口不支持该操作。 + > **说明:** > > 从 API version 7开始支持,从API version 9开始废弃,推荐使用[moveWindowTo()](#movewindowto9)。 @@ -4346,6 +4356,8 @@ moveTo(x: number, y: number): Promise<void> 移动窗口位置,使用Promise异步回调。 +全屏模式窗口不支持该操作。 + > **说明:** > > 从 API version 7开始支持,从API version 9开始废弃,推荐使用[moveWindowTo()](#movewindowto9-1)。 @@ -4388,6 +4400,8 @@ resetSize(width: number, height: number, callback: AsyncCallback<void>): v 设置的宽度与高度受到此约束限制。 +全屏模式窗口不支持该操作。 + > **说明:** > > 从 API version 7开始支持,从API version 9开始废弃,推荐使用[resize()](#resize9)。 @@ -4426,6 +4440,8 @@ resetSize(width: number, height: number): Promise<void> 设置的宽度与高度受到此约束限制。 +全屏模式窗口不支持该操作。 + > **说明:** > > 从 API version 7开始支持,从API version 9开始废弃,推荐使用[resize()](#resize9-1)。 diff --git a/zh-cn/application-dev/reference/arkui-js/js-components-common-customizing-font.md b/zh-cn/application-dev/reference/arkui-js/js-components-common-customizing-font.md index d3fab563616168ac3fc532cd674af5e4f8f9bbfb..ad4a19530524a86dad7fbfa03168b287840de941 100644 --- a/zh-cn/application-dev/reference/arkui-js/js-components-common-customizing-font.md +++ b/zh-cn/application-dev/reference/arkui-js/js-components-common-customizing-font.md @@ -11,8 +11,8 @@ ``` @font-face { - font-family: HWfont; - src: url('/common/HWfont.ttf'); + font-family: font; + src: url('/common/font.ttf'); } ``` @@ -48,10 +48,10 @@ ```css /*xxx.css*/ @font-face { - font-family: HWfont; - src: url("/common/HWfont.ttf"); + font-family: font; + src: url("/common/font.ttf"); } .demo-text { - font-family: HWfont; + font-family: font; } ``` diff --git a/zh-cn/application-dev/reference/arkui-ts/figures/relativecontainer.png b/zh-cn/application-dev/reference/arkui-ts/figures/relativecontainer.png index 574fcaa48023d14a579eaa843ebc59f1b961a29f..eff44d4efadaeb8dc94da8d166333c5956878f27 100644 Binary files a/zh-cn/application-dev/reference/arkui-ts/figures/relativecontainer.png and b/zh-cn/application-dev/reference/arkui-ts/figures/relativecontainer.png differ diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md index c1d315d8ad68d16d309e7946b7c4bb20116dc97e..110cd22f3613c091ea583da25e34e0fe99fc7766 100755 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-web.md @@ -707,13 +707,13 @@ blockNetwork(block: boolean) defaultFixedFontSize(size: number) -设置网页的默认固定字体大小。 +设置网页的默认等宽字体大小。 **参数:** | 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 | | ------ | -------- | ---- | ------ | ---------------------------- | -| size | number | 是 | 13 | 设置网页的默认固定字体大小。入参限制为1到72之间的非负整数,小于1的数固定为1,超过72的数固定为72。 | +| size | number | 是 | 13 | 设置网页的默认等宽字体大小,单位px。输入值的范围为-2^31到2^31-1,实际渲染时超过72的值按照72进行渲染,低于1的值按照1进行渲染。 | **示例:** @@ -744,7 +744,7 @@ defaultFontSize(size: number) | 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 | | ------ | -------- | ---- | ------ | ------------------------ | -| size | number | 是 | 16 | 设置网页的默认字体大小。入参限制为1到72之间的非负整数,小于1的数固定为1,超过72的数固定为72。 | +| size | number | 是 | 16 | 设置网页的默认字体大小,单位px。输入值的范围为-2^31到2^31-1,实际渲染时超过72的值按照72进行渲染,低于1的值按照1进行渲染。 | **示例:** @@ -775,7 +775,7 @@ minFontSize(size: number) | 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 | | ------ | -------- | ---- | ------ | ------------------------ | -| size | number | 是 | 8 | 设置网页字体大小最小值。入参限制为1到72之间的非负整数,小于1的数固定为1,超过72的数固定为72。 | +| size | number | 是 | 8 | 设置网页字体大小最小值,单位px。输入值的范围为-2^31到2^31-1,实际渲染时超过72的值按照72进行渲染,低于1的值按照1进行渲染。 | **示例:** @@ -796,6 +796,38 @@ minFontSize(size: number) } ``` +### minLogicalFontSize9+ + +minLogicalFontSize(size: number) + +设置网页逻辑字体大小最小值。 + +**参数:** + +| 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 | +| ------ | -------- | ---- | ------ | ------------------------ | +| size | number | 是 | 8 | 设置网页逻辑字体大小最小值,单位px。输入值的范围为-2^31到2^31-1,实际渲染时超过72的值按照72进行渲染,低于1的值按照1进行渲染。 | + +**示例:** + + ```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 }) + .minLogicalFontSize(this.size) + } + } + } + ``` + + ### webFixedFont9+ webFixedFont(family: string) @@ -1361,7 +1393,7 @@ onHttpErrorReceive(callback: (event?: { request: WebResourceRequest, response: W | 参数名 | 参数类型 | 参数描述 | | ------- | ---------------------------------------- | --------------- | | request | [WebResourceRequest](#webresourcerequest) | 网页请求的封装信息。 | -| error | [WebResourceError](#webresourceerror) | 网页加载资源错误的封装信息 。 | +| response | [WebResourceResponse](#webresourceresponse) | 资源响应的封装信息。 | **示例:** diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas-lottie.md b/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas-lottie.md index 2dab45e8523430be89c0723ba7e7dff2b38352e4..36064dceb6c9c2435cd52f880fa8a7823dd9952a 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas-lottie.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas-lottie.md @@ -31,15 +31,15 @@ path: string, container: object, render: string, loop: boolean, autoplay: boolea **参数:** -| 参数 | 类型 | 必填 | 描述 | -| -------------- | --------------------------- | ---- | ---------------------------------------- | -| path | string | 是 | hap包内动画资源文件路径,仅支持json格式。示例:path: "common/lottie/data.json" | -| container | object | 是 | canvas绘图上下文,声明范式需提前声明CanvasRenderingContext2D。 | -| render | string | 是 | 渲染类型,仅支持“canvas”。 | -| loop | boolean \| number | 否 | 动画播放结束后,是否循环播放,默认值true。值类型为number,且大于等于1时为设置的重复播放的次数。 | -| autoplay | boolean | 否 | 是否自动播放动画,默认值true。 | -| name | string | 否 | 开发者自定义的动画名称,后续支持通过该名称引用控制动画,默认为空。 | -| initialSegment | [number, number] | 否 | 指定动画播放的起始帧号,指定动画播放的结束帧号。 | +| 参数 | 类型 | 必填 | 描述 | +| -------------- | --------------------------- | ---- | ------------------------------------------------------------ | +| path | string | 是 | HAP内动画资源文件路径,仅支持json格式。示例:path: "common/lottie/data.json" | +| container | object | 是 | canvas绘图上下文,声明范式需提前声明CanvasRenderingContext2D。 | +| render | string | 是 | 渲染类型,仅支持“canvas”。 | +| loop | boolean \| number | 否 | 动画播放结束后,是否循环播放,默认值true。值类型为number,且大于等于1时为设置的重复播放的次数。 | +| autoplay | boolean | 否 | 是否自动播放动画,默认值true。 | +| name | string | 否 | 开发者自定义的动画名称,后续支持通过该名称引用控制动画,默认为空。 | +| initialSegment | [number, number] | 否 | 指定动画播放的起始帧号,指定动画播放的结束帧号。 | ## lottie.destroy diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-container-relativecontainer.md b/zh-cn/application-dev/reference/arkui-ts/ts-container-relativecontainer.md index 385ed0175ca61adc84833dfaec314b4429d29fdc..368f1e3e5bbd929fb5e209ba8accffbbb7d27934 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-container-relativecontainer.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-container-relativecontainer.md @@ -16,7 +16,7 @@ * 子组件可以将容器或者其他子组件设为锚点: * 参与相对布局的容器内组件必须设置id,不设置id的组件不显示,容器id固定为__container__。 * 此子组件某一方向上的三个位置可以将容器或其他子组件的同方向三个位置为锚点,同方向上两个以上位置设置锚点以后会跳过第三个。 - * 前端页面设置的子组件尺寸大小不会受到相对布局规则的影响。 + * 前端页面设置的子组件尺寸大小不会受到相对布局规则的影响。子组件某个方向上设置两个或以上alignRules时不建议设置此方向尺寸大小。 * 对齐后需要额外偏移可设置offset。 * 特殊情况 * 互相依赖,环形依赖时容器内子组件全部不绘制。 @@ -38,62 +38,65 @@ RelativeContainer() @Component struct Index { build() { - Row() { - Button("Extra button").width(100).height(50) - - RelativeContainer() { - Button("Button 1") - .width(120) - .height(30) - .alignRules({ - middle: { anchor: "__container__", align: HorizontalAlign.Center }, - }) - .id("bt1") - .borderWidth(1) - .borderColor(Color.Black) - - Text("This is text 2") - .fontSize(20) - .padding(10) - .alignRules({ - bottom: { anchor: "__container__", align: VerticalAlign.Bottom }, - top: { anchor: "bt1", align: VerticalAlign.Bottom }, - right: { anchor: "bt1", align: HorizontalAlign.Center } - }) - .id("tx2") - .borderWidth(1) - .borderColor(Color.Black) - .height(30) - - Button("Button 3") - .width(100) - .height(100) - .alignRules({ - left: { anchor: "bt1", align: HorizontalAlign.End }, - top: { anchor: "tx2", align: VerticalAlign.Center }, - bottom: { anchor: "__container__", align: VerticalAlign.Bottom } - }) - .id("bt3") - .borderWidth(1) - .borderColor(Color.Black) - - Text("This is text 4") - .fontSize(20) - .padding(10) - .alignRules({ - left: { anchor: "tx2", align: HorizontalAlign.End }, - right: { anchor: "__container__", align: HorizontalAlign.End }, - top: { anchor: "__container__", align: VerticalAlign.Top }, - bottom: { anchor: "bt3", align: VerticalAlign.Top } - }) - .id("tx4") - .borderWidth(1) - .borderColor(Color.Black) + @Entry + @Component + struct Index { + build() { + Row() { + + RelativeContainer() { + Row().width(100).height(100) + .backgroundColor("#FF3333") + .alignRules({ + top: {anchor: "__container__", align: VerticalAlign.Top}, + left: {anchor: "__container__", align: HorizontalAlign.Start} + }) + .id("row1") + + Row().width(100).height(100) + .backgroundColor("#FFCC00") + .alignRules({ + top: {anchor: "__container__", align: VerticalAlign.Top}, + right: {anchor: "__container__", align: HorizontalAlign.End} + }) + .id("row2") + + Row().height(100) + .backgroundColor("#FF6633") + .alignRules({ + top: {anchor: "row1", align: VerticalAlign.Bottom}, + left: {anchor: "row1", align: HorizontalAlign.End}, + right: {anchor: "row2", align: HorizontalAlign.Start} + }) + .id("row3") + + Row() + .backgroundColor("#FF9966") + .alignRules({ + top: {anchor: "row3", align: VerticalAlign.Bottom}, + bottom: {anchor: "__container__", align: VerticalAlign.Bottom}, + left: {anchor: "__container__", align: HorizontalAlign.Start}, + right: {anchor: "row1", align: HorizontalAlign.End} + }) + .id("row4") + + Row() + .backgroundColor("#FF66FF") + .alignRules({ + top: {anchor: "row3", align: VerticalAlign.Bottom}, + bottom: {anchor: "__container__", align: VerticalAlign.Bottom}, + left: {anchor: "row2", align: HorizontalAlign.Start}, + right: {anchor: "__container__", align: HorizontalAlign.End} + }) + .id("row5") + } + .width(300).height(300) + .margin({left: 100}) + .border({width:2, color: "#6699FF"}) + } + .height('100%') } - .width(200).height(200) - .backgroundColor(Color.Orange) } - .height('100%') } } ``` diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md b/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md index 5ac4e16276a39de5b64b2e1a558413162ca40671..e9b00bc26c5a7632c0ad12531130154b0cbdde77 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md @@ -88,6 +88,8 @@ onChange(event: (index: number) => void) 当前显示的子组件索引变化时触发该事件,返回值为当前显示的子组件的索引值。 +**说明**:Swiper组件结合LazyForEach使用时,不能在onChange事件里触发子页面UI的刷新。 + **返回值:** | 名称 | 类型 | 参数描述 | diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-location.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-location.md index 47ff618136fd82249f3f687ca5e9f64f201599fd..fe33e7e9bd2a464ec43fd9a138c9b5a2320583d6 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-location.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-location.md @@ -58,16 +58,16 @@ struct PositionExample1 { .direction(Direction.Ltr) // 父容器设置direction为Direction.Rtl,子元素从右到左排列 Row() { - Text('1').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3) - Text('2').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C) - Text('3').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3) - Text('4').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C) + Text('1').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3).textAlign(TextAlign.End) + Text('2').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C).textAlign(TextAlign.End) + Text('3').height(50).width('25%').fontSize(16).backgroundColor(0xF5DEB3).textAlign(TextAlign.End) + Text('4').height(50).width('25%').fontSize(16).backgroundColor(0xD2B48C).textAlign(TextAlign.End) } .width('90%') .direction(Direction.Rtl) } } - .width('100%').margin({ top: 5 }).direction(Direction.Rtl) + .width('100%').margin({ top: 5 }) } } ``` diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-ability.md b/zh-cn/application-dev/reference/errorcodes/errorcode-ability.md index d5aa62b58c0c5d3a97e72f9d9e0cc82afb15a30f..cc739e400bfe01b6300e9b15cb9a1d8a9acea75b 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-ability.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-ability.md @@ -16,8 +16,8 @@ Input error. The specified ability name does not exist. **处理步骤** -1. 检查包名称是否正确。 -2. 检查包名对应的Ability是否正确。 +1. 检查Bundle名称是否正确。 +2. 检查Bundle名称对应的Ability是否正确。 ## 16000002 接口调用Ability类型错误 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md b/zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md index 5059b68b1deb6a7c0a5b465cba8b4541c6e6a8f0..6582878d486508c65b0b6bb726188becc4112219 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md @@ -43,11 +43,11 @@ The specified ability name is not found. **可能原因**
1. 输入的abilityName有误。 -2. 系统中对应的应用没有安装。 +2. 系统中对应的应用不存在该abilityName对应的ability。 **处理步骤**
1. 检查abilityName拼写是否正确。 -2. 确认对应的应用是否安装该组件。 +2. 确认对应的应用是否存在该abilityName对应的ability。 ## 17700004 指定的用户不存在 @@ -58,16 +58,17 @@ The specified user ID is not found. 调用与用户相关接口时,传入的用户不存在。 **可能原因**
-输入的用户名有误,系统中没有该用户。 +1. 输入的用户名有误。 +2. 系统中没有该用户。 **处理步骤**
1. 检查用户名拼写是否正确。 2. 确认系统中存在该用户。 -## 17700005 指定的appId不存在 +## 17700005 指定的appId为空字符串 **错误信息**
-The specified app ID is not found. +The specified app ID is empty string. **错误描述**
调用appControl模块中的相关接口时,传入的appId为空字符串。 @@ -116,12 +117,12 @@ The specified device ID is not found. Failed to install the HAP because the HAP fails to be parsed. **错误描述**
-调用installer模块中的install接口时,传入的HAP包解析失败。 +调用installer模块中的install接口时,传入的HAP解析失败。 **可能原因**
-1. hap包的格式不是zip格式。 -2. hap包的配置文件不满足json格式。 -3. hap包的配置文件缺少必要的字段。 +1. HAP的格式不是zip格式。 +2. HAP的配置文件不满足json格式。 +3. HAP的配置文件缺少必要的字段。 **处理步骤**
1. 确认hap的格式是zip。 @@ -138,15 +139,16 @@ Failed to install the HAP because the HAP signature fails to be verified. **可能原因**
-1. hap包没有签名。 +1. HAP没有签名。 2. hap签名信息来源不可靠。 -3. 升级的hap包与已安装的hap包签名信息不一致。 +3. 升级的HAP与已安装的HAP签名信息不一致。 4. 多个hap的签名信息不一致。 **处理步骤**
-1. 确认hap是否签名成功。 -2. 确认多个hap签名时使用的证书相同。 -3. 确认升级的hap签名证书与已安装的hap相同。 +1. 确认hap包是否签名成功。 +2. 确认hap包的签名证书是从应用市场申请。 +3. 确认多个hap包签名时使用的证书相同。 +4. 确认升级的ha包p签名证书与已安装的hap包相同。 ## 17700012 安装包路径无效或者文件过大导致应用安装失败 @@ -157,28 +159,28 @@ Failed to install the HAP because the HAP path is invalid or the HAP is too larg 调用installer模块中的install接口时,安装包路径无效或者文件过大导致应用安装失败。 **可能原因**
-1. 输入错误,hap包的文件路径不存在。 -2. hap包的路径无法访问。 -3. hap包的大小超过最大限制4G。 +1. 输入错误,HAP的文件路径不存在。 +2. HAP的路径无法访问。 +3. HAP的大小超过最大限制4G。 **处理步骤**
1. 确认hap是否存在。 2. 查看hap的可执行权限,是否可读。 -3. 查看hap包的大小是否超过4G。 +3. 查看HAP的大小是否超过4G。 -## 17700015 多个hap包配置信息不同导致应用安装失败 +## 17700015 多个HAP配置信息不同导致应用安装失败 **错误信息**
Failed to install the HAPs because they have different configuration information. **错误描述**
-调用installer模块中的install接口时,多个hap包配置信息不同导致应用安装失败。 +调用installer模块中的install接口时,多个HAP配置信息不同导致应用安装失败。 **可能原因**
-多个hap包中配置文件app下面的字段不一致。 +多个hap包中配置文件中app标签下面的字段信息不一致。 **处理步骤**
-确认多个hap包中配置文件app下面的字段是否一致。 +确认多个HAP中配置文件app下面的字段是否一致。 ## 17700016 系统磁盘空间不足导致应用安装失败 @@ -206,7 +208,7 @@ Failed to install the HAP since the version of the HAP to install is too early. 新安装的应用版本号低于已安装的版本号。 **处理步骤**
-确认新安装的应用版本号是否比已安装的同应用版本号高。 +确认新安装的应用版本号是否不低于已安装的同应用版本号。 ## 17700020 预置应用无法卸载 @@ -299,7 +301,8 @@ The specified type is invalid. 2. 输入的type不存在。 **处理步骤**
-确认输入的type是否拼写正确。 +1. 确认输入的type是否拼写正确。 +2. 确认输入的type是否存在。 ## 17700026 指定应用被禁用 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-distributedKVStore.md b/zh-cn/application-dev/reference/errorcodes/errorcode-distributedKVStore.md index 381d687e85d54dec77c865096f180217a1f80419..ad8fb47ea9149b0bf14fd1907c681f4b1a76a613 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-distributedKVStore.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-distributedKVStore.md @@ -66,20 +66,20 @@ Not found. **错误描述** -该错误码表示在调用数据库deleteKVStore、delete、deleteBatch、get等接口时,未找到相关数据。 +该错误码表示在调用数据库deleteKVStore、sync、get等接口时,未找到相关数据。 **可能原因** 在调用删除数据库、数据查询、数据删除等接口时未找到相关数据,可能原因如下。 1. 删除数据库操作时,数据库不存在或已删除。 2. 数据库数据查询操作时,相关数据不存在或已删除。 -3. 数据库数据删除操作时,相关数据不存在或已删除。 +3. 数据库数据同步操作时,数据库不存在或已删除。 **处理步骤** 1. 在删除数据库操作前,请检查数据库名称是否正确或是否重复删除。 2. 在数据库数据查询操作前,请检查查询关键字是否正确。 -3. 在数据库数据删除操作前,请检查删除关键字是否正确或是否重复删除。 +3. 在数据库数据同步操作前,请检查相关数据库是否已经删除。 ## 15100005 数据库或查询结果集已关闭 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-useriam.md b/zh-cn/application-dev/reference/errorcodes/errorcode-useriam.md index 8c8159524635a0d0369b9b9e76cf99316af09ed3..d8a1feb3710f7696bc1590cf5cf596c6e8c0faaf 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-useriam.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-useriam.md @@ -12,6 +12,20 @@ 具体参见[通用错误码](./errorcode-universal.md) +## 12500001 执行认证失败 + +**错误信息** + +Authentication failed. + +**可能原因** + +出现该错误码一般是系统内部错误,例如内存申请失败、内存拷贝出错等。 + +**处理步骤** + +重启设备,重新调用接口。 + ## 12500002 一般的操作错误 **错误信息** @@ -30,6 +44,34 @@ General operation error. 重启设备,重新调用接口。 +## 12500003 认证被取消 + +**错误信息** + +Authentication canceled. + +**可能原因** + +当前的认证操作已经被取消。 + +**处理步骤** + +重新调用认证接口,发起认证。 + +## 12500004 认证操作超时 + +**错误信息** + +Authentication timeout. + +**可能原因** + +当前的认证操作超过了设定的时限。 + +**处理步骤** + +重新调用认证接口,发起认证。 + ## 12500005 认证类型不支持 **错误信息** @@ -60,6 +102,34 @@ The authentication trust level is not supported. 检查传入的authTrustLevel是否在合理范围,如果在合理范围,则是当前的设备不支持该认证信任等级。 +## 12500007 认证服务已经繁忙 + +**错误信息** + +Authentication service is busy. + +**可能原因** + +当前已经存在某个尚未结束的认证,又发起了一次认证。 + +**处理步骤** + +稍后重新发起认证。 + +## 12500009 认证被锁定 + +**错误信息** + +Authentication is lockout. + +**可能原因** + +当前认证失败的次数超过了上限,触发防爆模式,认证被锁定。 + +**处理步骤** + +稍后重新发起一次成功的认证。 + ## 12500010 该类型的凭据没有录入 **错误信息** diff --git a/zh-cn/application-dev/reference/js-service-widget-ui/js-service-widget-syntax-hml.md b/zh-cn/application-dev/reference/js-service-widget-ui/js-service-widget-syntax-hml.md index aab1b2529434e24ee563ef399aaee74526af422c..3cafcb4415cdd3b4ab806b077fc6e4537489da7d 100644 --- a/zh-cn/application-dev/reference/js-service-widget-ui/js-service-widget-syntax-hml.md +++ b/zh-cn/application-dev/reference/js-service-widget-ui/js-service-widget-syntax-hml.md @@ -94,7 +94,7 @@ HML(OpenHarmony Markup Language)是一套类HTML的标记语言,通过组 } ``` - 也可以使用want格式绑定参数跳转到目标应用,want定义了ability名称、包名、携带的参数字段等。 + 也可以使用want格式绑定参数跳转到目标应用,want定义了Ability名称、Bundle名称、携带的参数字段等。 | 选择器 | 类型 | 默认值 | 样例描述 | | ------ | ------ | -------- | ---------------------------------------- | @@ -102,7 +102,7 @@ HML(OpenHarmony Markup Language)是一套类HTML的标记语言,通过组 | want | [Want](../apis/js-apis-app-ability-want.md) | - | 跳转目标应用的信息,参考want格式表。 | - ```json +```json { "data": { "mainAbility": "xxx.xxx.xxx" @@ -124,9 +124,9 @@ HML(OpenHarmony Markup Language)是一套类HTML的标记语言,通过组 } } } - ``` +``` - 在API Version 8,want参数需要在app.js或app.ets文件的onCreate方法中调用[featureAbility.getWant](../apis/js-apis-ability-featureAbility.md)接口接收相关参数。 +在API Version 8,want参数需要在app.js或app.ets文件的onCreate方法中调用[featureAbility.getWant](../apis/js-apis-ability-featureAbility.md)接口接收相关参数。 - 消息事件格式 diff --git a/zh-cn/application-dev/reference/native-apis/_raw_file_descriptor.md b/zh-cn/application-dev/reference/native-apis/_raw_file_descriptor.md index e72c69ef55b51c2ef152473ac894b27c473c75e0..3364447f8b1375f3e6b739d2ba623bfee77eb462 100644 --- a/zh-cn/application-dev/reference/native-apis/_raw_file_descriptor.md +++ b/zh-cn/application-dev/reference/native-apis/_raw_file_descriptor.md @@ -5,7 +5,7 @@ 提供rawfile文件描述符信息。 -RawFileDescriptor是[OH_ResourceManager_GetRawFileDescriptor()](rawfile.md#oh_resourcemanager_getrawfiledescriptor)的输出参数,涵盖了rawfile文件的文件描述符以及在HAP包中的起始位置和长度。 +RawFileDescriptor是[OH_ResourceManager_GetRawFileDescriptor()](rawfile.md#oh_resourcemanager_getrawfiledescriptor)的输出参数,涵盖了rawfile文件的文件描述符以及在HAP中的起始位置和长度。 **自从:** @@ -21,11 +21,11 @@ RawFileDescriptor是[OH_ResourceManager_GetRawFileDescriptor()](rawfile.md#oh_re ### 成员变量 - | 成员变量名称 | 描述 | +| 成员变量名称 | 描述 | | -------- | -------- | -| [fd](#fd) | rawfile文件描述符 | -| [start](#start) | rawfile在HAP包中的长度 | -| [length](#length) | rawfile在HAP包中的起始位置 | +| [fd](#fd) | rawfile文件描述符 | +| [start](#start) | rawfile在HAP中的长度 | +| [length](#length) | rawfile在HAP中的起始位置 | ## 结构体成员变量说明 @@ -33,7 +33,7 @@ RawFileDescriptor是[OH_ResourceManager_GetRawFileDescriptor()](rawfile.md#oh_re ### fd - + ``` int RawFileDescriptor::fd ``` @@ -45,23 +45,23 @@ rawfile文件描述符 ### length - + ``` long RawFileDescriptor::length ``` **描述:** -rawfile在HAP包中的长度 +rawfile在HAP中的长度 ### start - + ``` long RawFileDescriptor::start ``` **描述:** -rawfile在HAP包中的起始位置 +rawfile在HAP中的起始位置 diff --git a/zh-cn/application-dev/reference/native-apis/rawfile.md b/zh-cn/application-dev/reference/native-apis/rawfile.md index c613f611d50323b5efa35294e960cc3796f88c9e..01f4faf838864e83489a68d56587197b364b9222 100644 --- a/zh-cn/application-dev/reference/native-apis/rawfile.md +++ b/zh-cn/application-dev/reference/native-apis/rawfile.md @@ -215,10 +215,10 @@ bool OH_ResourceManager_GetRawFileDescriptor (const RawFile * rawFile, RawFileDe **参数:** -| Name | 描述 | -| ---------- | -------------------------------- | -| rawFile | 表示指向[RawFile](#rawfile)的指针。 | -| descriptor | 显示rawfile文件描述符,以及在HAP包中的起始位置和长度。 | +| Name | 描述 | +| ---------- | ---------------------------------------------------- | +| rawFile | 表示指向[RawFile](#rawfile)的指针。 | +| descriptor | 显示rawfile文件描述符,以及在HAP中的起始位置和长度。 | **返回:** @@ -482,9 +482,9 @@ bool OH_ResourceManager_ReleaseRawFileDescriptor (const RawFileDescriptor & desc **参数:** -| Name | 描述 | -| ---------- | -------------------------------- | -| descriptor | 包含rawfile文件描述符,以及在HAP包中的起始位置和长度。 | +| Name | 描述 | +| ---------- | ---------------------------------------------------- | +| descriptor | 包含rawfile文件描述符,以及在HAP中的起始位置和长度。 | **返回:** diff --git a/zh-cn/application-dev/security/accesstoken-guidelines.md b/zh-cn/application-dev/security/accesstoken-guidelines.md index 745b23f071aaf9ec4a9f2d7278bbb346836386c8..2ae4941a8d6928d20bc1876e332b9a483efdc60f 100644 --- a/zh-cn/application-dev/security/accesstoken-guidelines.md +++ b/zh-cn/application-dev/security/accesstoken-guidelines.md @@ -1,61 +1,45 @@ -# 访问控制授权申请指导 +# 访问控制授权申请 ## 场景介绍 -以下示例代码基于此场景假设:应用因为应用核心功能诉求,需要申请权限"ohos.permission.PERMISSION1"和权限"ohos.permission.PERMISSION2"。 +[应用的APL(Ability Privilege Level)等级](accesstoken-overview.md#应用apl等级说明)分为`normal`、`system_basic`和`system_core`三个等级,默认情况下,应用的APL等级都为`normal`等级。[权限类型](accesstoken-overview.md#权限类型说明)分为`system_grant`和`user_grant`两种类型。应用可申请的权限项参见[应用权限列表](permission-list.md)。 -- 应用的APL等级为normal。 -- 权限"ohos.permission.PERMISSION1"的权限等级为normal,权限类型为system_grant。 -- 权限"ohos.permission.PERMISSION2"的权限等级为system_basic, 权限类型为user_grant。 +本文将从如下场景分别介绍: -> **注意:** -> -> 当前场景下,应用申请的权限包括了user_grant权限,对这部分user_grant权限,可以先通过权限校验,判断当前调用者是否具备相应权限。 -> -> 当权限校验结果显示当前应用尚未被授权该权限时,再通过动态弹框授权方式给用户提供手动授权入口。 +- [配置文件权限声明](#配置文件权限声明) +- [ACL方式声明](#acl方式声明) +- [向用户申请授权](#向用户申请授权) +- [user_grant权限预授权](#user_grant权限预授权) -应用可申请的权限,可查询[应用权限列表](permission-list.md) +## 配置文件权限声明 -## 接口说明 +应用需要在工程配置文件中,对需要的权限逐个声明,未在配置文件中声明的权限,应用将无法获得授权。OpenHarmony提供了两种应用模型,分别为FA模型和Stage模型,更多信息可以参考[应用模型解读](../application-models/application-model-description.md)。不同的应用模型的应用包结构不同,所使用的配置文件不同。 -以下仅列举本指导使用的接口,更多说明可以查阅[API参考](../reference/apis/js-apis-ability-context.md)。 +配置文件标签说明如下表所示。 -| 接口名 | 描述 | -| ------------------------------------------------------------ | --------------------------------------------------- | -| requestPermissionsFromUser(permissions: Array<string>, requestCallback: AsyncCallback<PermissionRequestResult>) : void; | 拉起弹窗请求用户授权。 | +| 标签 | 是否必填 | 说明 | +| --------- | -------- | ------------------------------------------------------------ | +| name | 是 | 权限名称。 | +| reason | 否 | 描述申请权限的原因。
> 说明:当申请的权限为user_grant权限时,此字段必填。 | +| usedScene | 否 | 描述权限使用的场景和时机。
> 说明:当申请的权限为user_grant权限时,此字段必填。 | +| abilities | 否 | 标识需要使用到该权限的Ability,标签为数组形式。
**适用模型**:Stage模型 | +| ability | 否 | 标识需要使用到该权限的Ability,标签为数组形式。
**适用模型**:FA模型 | +| when | 否 | 标识权限使用的时机,值为`inuse/always`。
- inuse:表示为仅允许前台使用。
- always:表示前后台都可使用。 | -## 权限申请声明 - -应用需要在工程配置文件中,对需要的权限逐个声明,没有在配置文件中声明的权限,应用将无法获得授权。OpenHarmony提供了两种应用模型,分别为FA模型和Stage模型,更多信息可以参考[应用模型解读](../application-models/application-model-description.md)。 - -不同的应用模型的应用包结构不同,所使用的配置文件不同,请开发者在申请权限时注意区分。 - -配置文件标签说明如下表。 - -| 标签 | 说明 | -| --------- | ------------------------------------------------------------ | -| name | 权限名称。 | -| reason | 当申请的权限为user_grant权限时,此字段必填,描述申请权限的原因。 | -| usedScene | 当申请的权限为user_grant权限时,此字段必填,描述权限使用的场景和时机。 | -| ability | 标识需要使用到该权限的Ability,标签为数组形式。
**适用模型:** FA模型 | -| abilities | 标识需要使用到该权限的Ability,标签为数组形式。
**适用模型:** Stage模型 | -| when | 标识权限使用的时机,值为"inuse/always",表示为仅允许前台使用和前后台都可使用。 | - -### FA模型 - -使用FA模型的应用,需要在config.json文件中声明权限。 +### Stage模型 -**示例:** +使用Stage模型的应用,需要在[module.json5配置文件](../quick-start/module-configuration-file.md)中声明权限。 ```json { "module" : { - "reqPermissions":[ + // ... + "requestPermissions":[ { "name" : "ohos.permission.PERMISSION1", "reason": "$string:reason", "usedScene": { - "ability": [ + "abilities": [ "FormAbility" ], "when":"inuse" @@ -65,7 +49,7 @@ "name" : "ohos.permission.PERMISSION2", "reason": "$string:reason", "usedScene": { - "ability": [ + "abilities": [ "FormAbility" ], "when":"always" @@ -76,21 +60,20 @@ } ``` -### Stage模型 - -使用Stage模型的应用,需要在module.json5文件中声明权限。 +### FA模型 -**示例:** +使用FA模型的应用,需要在config.json配置文件中声明权限。 ```json { "module" : { - "requestPermissions":[ + // ... + "reqPermissions":[ { "name" : "ohos.permission.PERMISSION1", "reason": "$string:reason", "usedScene": { - "abilities": [ + "ability": [ "FormAbility" ], "when":"inuse" @@ -100,7 +83,7 @@ "name" : "ohos.permission.PERMISSION2", "reason": "$string:reason", "usedScene": { - "abilities": [ + "ability": [ "FormAbility" ], "when":"always" @@ -113,89 +96,156 @@ ## ACL方式声明 -如上述示例所示,权限"ohos.permission.PERMISSION2"的权限等级为system_basic,高于此时应用的APL等级,开发者的最佳做法是使用ACL方式。 +应用在申请`system_basic`等级权限时,高于应用默认的`normal`等级。当应用需要申请权限项的等级高于应用默认的等级时,需要通过ACL方式进行声明使用。 -在配置文件声明的基础上,应用还需要在Profile文件中声明不满足申请条件部分的权限。Profile文件的字段说明可参考[HarmonyAppProvision配置文件的说明](app-provision-structure.md)。 - -该场景中,开发者应该在字段"acls"中做声明如下: +例如应用在申请访问用户公共目录下音乐类型的文件,需要申请` ohos.permission.WRITE_AUDIO`权限,该权限为`system_basic`等级;以及应用在申请截取屏幕图像功能,该权限为`system_core`等级,需要申请` ohos.permission.CAPTURE_SCREEN`权限。此时需要将相关权限项配置到[HarmonyAppProvision配置文件](app-provision-structure.md)的`acl`字段中。 ```json { - "acls": { - "allowed-acls": [ - "ohos.permission.PERMISSION2" - ] - } + // ... + "acls":{ + "allowed-acls":[ + "ohos.permission.WRITE_AUDIO", + "ohos.permission.CAPTURE_SCREEN" + ] + } } ``` -## 申请授权user_grant权限 - -在前期的权限声明步骤后,在安装过程中系统会对system_grant类型的权限进行权限预授权,而user_grant类型权限则需要用户进行手动授权。 +## 向用户申请授权 -所以,应用在调用受"ohos.permission.PERMISSION2"权限保护的接口前,需要先校验应用是否已经获取该权限。 +应用需要获取用户的隐私信息或使用系统能力时,例如获取位置信息、访问日历、使用相机拍摄照片或者录制视频等,需要向用户申请授权。此时应用申请的权限包括了`user_grant`类型权限,需要先通过权限校验,判断当前调用者是否具备相应权限。当权限校验结果显示当前应用尚未被授权该权限时,再通过动态弹框授权方式给用户提供手动授权入口。示意效果如下图所示。 + -如果校验结果显示,应用已经获取了该权限,那么应用可以直接访问该目标接口,否则,应用需要通过动态弹框先申请用户授权,并根据授权结果进行相应处理,处理方式可参考[访问控制开发概述](accesstoken-overview.md)。 +> **说明**:每次访问受目标权限保护的接口前,都需要调用[requestPermissionsFromUser()](../reference/apis/js-apis-abilityAccessCtrl.md#requestpermissionsfromuser9)接口请求权限,用户在动态授予后可能通过设置取消应用的权限,因此不能把之前授予的授权状态持久化。 -> **注意:** -> -> 不能把之前授予的状态持久化,每次访问受目标权限保护的接口前,都应该调用requestPermissionsFromUser接口请求权限,因为用户在动态授予后可能通过设置取消应用的权限。 +### Stage模型 -## 完整示例 +以允许应用读取日历信息为例进行说明。 + +1. 申请`ohos.permission.READ_CALENDAR`权限,配置方式请参见[访问控制授权申请](#stage模型)。 + +2. 可以在UIAbility的onWindowStageCreate()回调中调用[requestPermissionsFromUser()](../reference/apis/js-apis-abilityAccessCtrl.md#requestpermissionsfromuser9)接口动态申请权限,也可以根据业务需要在UI界面中向用户申请授权。根据[requestPermissionsFromUser()](../reference/apis/js-apis-abilityAccessCtrl.md#requestpermissionsfromuser9)接口返回值判断是否已获取目标权限,如果当前已经获取权限,则可以继续正常访问目标接口。 + + 在UIAbility中动态申请授权。 + + ```typescript + import UIAbility from '@ohos.app.ability.UIAbility'; + import Window from '@ohos.window'; + import abilityAccessCtrl from '@ohos.abilityAccessCtrl'; + import { Permissions } from '@ohos.abilityAccessCtrl'; + + export default class EntryAbility extends UIAbility { + // ... + + onWindowStageCreate(windowStage: Window.WindowStage) { + // Main window is created, set main page for this ability + let context = this.context; + let AtManager = abilityAccessCtrl.createAtManager(); + // requestPermissionsFromUser会判断权限的授权状态来决定是否唤起弹窗 + const permissions: Array = ['ohos.permission.READ_CALENDAR']; + AtManager.requestPermissionsFromUser(context, permissions).then((data) => { + console.info(`[requestPermissions] data: ${JSON.stringify(data)}`); + let grantStatus: Array = data.authResults; + if (grantStatus[0] === -1) { + // 授权失败 + } else { + // 授权成功 + } + }).catch((err) => { + console.error(`[requestPermissions] Failed to start request permissions. Error: ${JSON.stringify(err)}`); + }) + + // ... + } + } + ``` + + 在UI界面中向用户申请授权。 + ```typescript + import abilityAccessCtrl from '@ohos.abilityAccessCtrl'; + import { Permissions } from '@ohos.abilityAccessCtrl'; + import common from '@ohos.app.ability.common'; + + @Entry + @Component + struct Index { + reqPermissions() { + let context = getContext(this) as common.UIAbilityContext; + let AtManager = abilityAccessCtrl.createAtManager(); + // requestPermissionsFromUser会判断权限的授权状态来决定是否唤起弹窗 + const permissions: Array = ['ohos.permission.READ_CALENDAR']; + AtManager.requestPermissionsFromUser(context, permissions).then((data) => { + console.info(`[requestPermissions] data: ${JSON.stringify(data)}`); + let grantStatus: Array = data.authResults; + if (grantStatus[0] === -1) { + // 授权失败 + } else { + // 授权成功 + } + }).catch((err) => { + console.error(`[requestPermissions] Failed to start request permissions. Error: ${JSON.stringify(err)}`); + }) + } + + // 页面展示 + build() { + // ... + } + } + ``` -请求用户授权权限的开发步骤为: +### FA模型 -1. 获取ability的上下文context。 -2. 调用requestPermissionsFromUser接口请求权限。运行过程中,该接口会根据应用是否已获得目标权限决定是否拉起动态弹框请求用户授权。 -3. 根据requestPermissionsFromUser接口返回值判断是否已获取目标权限。如果当前已经获取权限,则可以继续正常访问目标接口。 +通过调用[requestPermissionsFromUser()](../reference/apis/js-apis-inner-app-context.md#contextrequestpermissionsfromuser7)接口向用户动态申请授权。 ```js - //ability的onWindowStageCreate生命周期 - onWindowStageCreate() { - var context = this.context +// Ability的onWindowStageCreate()生命周期 +onWindowStageCreate() { + let context = this.context; let array:Array = ["ohos.permission.PERMISSION2"]; //requestPermissionsFromUser会判断权限的授权状态来决定是否唤起弹窗 context.requestPermissionsFromUser(array).then(function(data) { - console.log("data type:" + typeof(data)); - console.log("data:" + data); - console.log("data permissions:" + data.permissions); - console.log("data result:" + data.authResults); + console.log("data:" + JSON.stringify(data)); + console.log("data permissions:" + JSON.stringify(data.permissions)); + console.log("data result:" + JSON.stringify(data.authResults)); }, (err) => { - console.error('Failed to start ability', err.code); + console.error('Failed to start ability', err.code); }); - } - +} ``` -> **说明:** -> 动态授权申请接口的使用详见[API参考](../reference/apis/js-apis-ability-context.md)。 - ## user_grant权限预授权 -当前正常情况下,user_grant类型的权限默认不授权,需要时应通过拉起弹框由用户确认是否授予。对于一些预置应用,比如截屏应用,不希望出现弹框,则可以通过预授权的方式完成user_grant类型权限的授权。[预置配置文件](https://gitee.com/openharmony/vendor_hihope/blob/master/rk3568/preinstall-config/install_list_permissions.json)在设备上的路径为system/etc/app/install_list_permission.json,设备开机启动时会读取该配置文件,在应用安装会对在文件中配置的user_grant类型权限授权。当前仅支持预置应用配置该文件。 -预授权配置文件字段内容包括bundleName、app_signature、permissions。 -1. 这里的权限仅对user_grant类型的权限生效[查看权限等级和类型](permission-list.md)。 -2. userCancellable配置为true,表示支持用户取消授权,为false则表示不支持用户取消授权。 +应用在申请`user_grant`类型的权限默认未授权,需要通过拉起弹框由用户确认是否授予该权限。对于一些预制应用,不希望出现弹窗申请`user_grant`类型的权限,例如系统相机应用需要使用麦克风` ohos.permission.MICROPHONE`等权限,需要对麦克风等权限进行预授权,可以通过预授权的方式完成`user_grant`类型权限的授权。[预置配置文件](https://gitee.com/openharmony/vendor_hihope/blob/master/rk3568/preinstall-config/install_list_permissions.json)在设备上的路径为`/system/etc/app/install_list_permission.json`,设备开机启动时会读取该配置文件,在应用安装会对在文件中配置的`user_grant`类型权限授权。预授权配置文件字段内容包括`bundleName`、`app_signature`和`permissions`。 + +- `bundleName`字段配置为应用的Bundle名称。 +- `app_signature`字段配置为应用的指纹信息。指纹信息的配置参见[应用特权配置指南](../../device-dev/subsystems/subsys-app-privilege-config-guide.md#install_list_capabilityjson中配置)。 +- `permissions`字段中`name`配置为需要预授权的`user_grant`类型的权限名;`permissions`字段中`userCancellable`表示为用户是否能够取消该预授权,配置为true,表示支持用户取消授权,为false则表示不支持用户取消授权。 + +> 说明:当前仅支持预置应用配置该文件。 ```json [ + // ... { - "bundleName": "com.ohos.myapplication", // 包名 - "app_signature":[], // 指纹信息 + "bundleName": "com.example.myapplication", // Bundle名称 + "app_signature": ["****"], // 指纹信息 "permissions":[ { - "name":"xxxx", // 权限名,不可缺省 - "userCancellable":false // 用户不可取消授权,不可缺省 + "name": "ohos.permission.PERMISSION_X", // user_grant类型预授权的权限名 + "userCancellable": false // 用户不可取消授权 }, { - "name":"yyy", // 权限名,不可缺省 - "userCancellable":true // 用户可取消授权,不可缺省 + "name": "ohos.permission.PERMISSION_Y", // user_grant类型预授权的权限名 + "userCancellable": true // 用户可取消授权 } ] } ] ``` + ## 相关实例 针对访问控制,有以下相关实例可供参考: -- [`AbilityAccessCtrl`:访问权限控制(ArkTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/Safety/AbilityAccessCtrl) +- [AbilityAccessCtrl:访问权限控制(ArkTS)(API8)(Full SDK)](https://gitee.com/openharmony/applications_app_samples/tree/master/Safety/AbilityAccessCtrl) - [为应用添加运行时权限(ArkTS)(API 9)](https://gitee.com/openharmony/codelabs/tree/master/Ability/AccessPermission) \ No newline at end of file diff --git a/zh-cn/application-dev/security/app-provision-structure.md b/zh-cn/application-dev/security/app-provision-structure.md index 542660387d477046f84009bfe31cd54458c22818..34932b3a2ca9beec759c3220b9272c93c7ecc983 100644 --- a/zh-cn/application-dev/security/app-provision-structure.md +++ b/zh-cn/application-dev/security/app-provision-structure.md @@ -1,4 +1,4 @@ -# HarmonyAppProvision配置文件的说明 +# HarmonyAppProvision配置文件说明 在应用的开发过程中,应用的权限、签名信息等需要在HarmonyAppProvision配置文件(该文件在部分文档中也称为profile文件)中声明。 ## 配置文件的内部结构 @@ -16,7 +16,7 @@ HarmonyAppProvision文件包含version-code对象、version-name对象、uuid对 | acls | 表示授权的acl权限信息。参考[acls对象内部结构](#acls对象内部结构)。 | 对象 | 可选 | 可缺省 | | permissions | 表示允许使用的受限敏感权限信息。参考[permissions对象内部结构](#permissions对象内部结构)。 | 对象 | 可选 | 可缺省 | | debug-info | 表示应用调试场景下的额外信息。参考[debug-info对象内部结构](#debug-info对象内部结构)。 | 对象 | 可选 | 可缺省 | -| app-privilege-capabilities | 表示应用包所需要的特权信息。可以参考[应用特权配置指南](../../device-dev/subsystems/subsys-app-privilege-config-guide.md) | 字符串数组 | 可选 | 可缺省 | +| app-privilege-capabilities | 表示应用包所需要的特权信息。可以参考[应用特权配置指南](../../device-dev/subsystems/subsys-app-privilege-config-guide.md)。 | 字符串数组 | 可选 | 可缺省 | HarmonyAppProvision文件示例: ```json @@ -68,20 +68,20 @@ HarmonyAppProvision文件示例: | developer-id | 表示开发者的唯一ID号,用于OEM厂商标识开发者,开源社区版本该属性不做强制要求。 | 字符串 | 必选 | 不可缺省 | | development-certificate | 表示[调试证书](hapsigntool-guidelines.md)的信息。 | 数值 | 当type属性为debug时,该属性必选;否则,该属性可选。 | 不可缺省 | | distribution-certificate | 表示[发布证书](hapsigntool-guidelines.md)的信息。 | 数值 | 当type属性为release时,该标签必选;否则,该标签可选。 | 不可缺省 | -| bundle-name | 表示应用程序的包名。 | 字符串 | 必选 | 不可缺省 | +| bundle-name | 表示应用程序的Bundle名称。 | 字符串 | 必选 | 不可缺省 | | apl | 表示应用程序的[APL级别](accesstoken-overview.md),系统预定义的apl包括:normal、system_basic和system_core。 | 字符串 | 必选 | 不可缺省 | | app-feature | 表示应用程序的类型,系统预定义的app-feature包括hos_system_app (系统应用)和hos_normal_app(普通应用)。只有系统应用才允许调用系统API,普通应用调用系统API可能会调用失败或运行异常。 | 字符串 | 必选 | 不可缺省 | ### acls对象内部结构 -acls对象包含已授权的[ACL权限](accesstoken-overview.md)。需要指出的是,开发者仍然需要在[应用包配置文件](../quick-start/module-configuration-file.md#requestpermissions标签)将acls权限信息填写到reqPermissions属性中。 +acls对象包含已授权的[ACL权限](accesstoken-overview.md)。需要指出的是,开发者仍然需要在[应用包配置文件](../quick-start/module-configuration-file.md#requestpermissions标签)将acls权限信息填写到requestPermissions属性中。 | 属性名称 | 含义 | 数据类型 | 是否必选 | 是否可缺省 | | ------------------------ | ------------------------------- | ------- | ------- | --------- | | allowed-acls | 表示已授权的[acl权限](accesstoken-overview.md)列表。 | 字符串数组 | 可选 | 不可缺省 | ### permissions对象内部结构 -permissions对象包含允许使用的受限敏感权限。不同于acls对象,permissions对象中的权限仅代表应用允许使用该敏感权限,权限最终由用户运行时授权。需要指出的是,开发者仍然需要在[应用包配置文件](../quick-start/module-configuration-file.md#requestpermissions标签)将permissions权限信息填写到reqPermissions属性中。 +permissions对象包含允许使用的受限敏感权限。不同于acls对象,permissions对象中的权限仅代表应用允许使用该敏感权限,权限最终由用户运行时授权。需要指出的是,开发者仍然需要在[应用包配置文件](../quick-start/module-configuration-file.md#requestpermissions标签)将permissions权限信息填写到requestPermissions属性中。 | 属性名称 | 含义 | 数据类型 | 是否必选 | 是否可缺省 | | ------------------------ | ------------------------------- | ------- | ------- | --------- | diff --git a/zh-cn/application-dev/security/figures/permission-read_calendar.jpeg b/zh-cn/application-dev/security/figures/permission-read_calendar.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..58e9f98807fac79356c57fa9d950798f8ee25457 Binary files /dev/null and b/zh-cn/application-dev/security/figures/permission-read_calendar.jpeg differ diff --git a/zh-cn/application-dev/security/hapsigntool-overview.md b/zh-cn/application-dev/security/hapsigntool-overview.md index 0b5b41070fbecfe753411a5fe6b333484521fb04..993d56023533862a6121ad98243441669091f3d1 100644 --- a/zh-cn/application-dev/security/hapsigntool-overview.md +++ b/zh-cn/application-dev/security/hapsigntool-overview.md @@ -20,7 +20,7 @@ Hap包签名工具支持本地签名需求的开发,为OpenHarmony应用提供 OpenHarmony采用RFC5280标准构建X509证书信任体系。用于应用签名的OpenHarmony证书共有三级,分为:根CA证书、中间CA证书、最终实体证书,其中最终实体证书分为应用签名证书和profile签名证书。应用签名证书表示应用开发者的身份,可保证系统上安装的应用来源可追溯,profile签名证书实现对profile文件的签名进行验签,保证profile文件的完整性。 - - HAP包: + - HAP: HAP(OpenHarmony Ability Package)是Ability的部署包,OpenHarmony应用代码围绕Ability组件展开,它是由一个或者多个Ability组成。 diff --git a/zh-cn/application-dev/security/permission-list.md b/zh-cn/application-dev/security/permission-list.md index 9404c136465c37575491443e2835532c177ea43c..4396e14cb1cebab8bac2f927e285f0efad738275 100644 --- a/zh-cn/application-dev/security/permission-list.md +++ b/zh-cn/application-dev/security/permission-list.md @@ -1583,3 +1583,13 @@ **授权方式**:system_grant **ACL使能**:TRUE + +## ohos.permission.RUN_ANY_CODE + +允许应用运行未签名的代码。 + +**权限级别**:system_basic + +**授权方式**:system_grant + +**ACL使能**:TRUE \ No newline at end of file diff --git a/zh-cn/application-dev/security/userauth-guidelines.md b/zh-cn/application-dev/security/userauth-guidelines.md index a038885378a06e158f561e64a427c45de59155c9..f6b31bc96ed0635ab85a9294522de3aae7015103 100644 --- a/zh-cn/application-dev/security/userauth-guidelines.md +++ b/zh-cn/application-dev/security/userauth-guidelines.md @@ -65,7 +65,7 @@ userIAM_userAuth模块提供了用户认证的相关方法,包括查询认证 } ``` -## 执行认证操作并请阅认证结果 +## 执行认证操作并订阅认证结果 ### 开发步骤 diff --git a/zh-cn/application-dev/task-management/continuous-task-dev-guide.md b/zh-cn/application-dev/task-management/continuous-task-dev-guide.md index dd6c4ee9da00dab13a49e4ac2cef1e1bf2e35e88..632cacbce5f90b7cdfceeff4efb10076d7086b1d 100644 --- a/zh-cn/application-dev/task-management/continuous-task-dev-guide.md +++ b/zh-cn/application-dev/task-management/continuous-task-dev-guide.md @@ -15,7 +15,7 @@ | stopBackgroundRunning(context: Context): Promise<void> | 停止后台长时任务的运行。 | -其中,wantAgent的信息详见([WantAgent](../reference/apis/js-apis-wantAgent.md)) +其中,wantAgent的信息详见([WantAgent](../reference/apis/js-apis-app-ability-wantAgent.md)) **表2** 后台模式类型 diff --git a/zh-cn/application-dev/task-management/transient-task-dev-guide.md b/zh-cn/application-dev/task-management/transient-task-dev-guide.md index 18c3030bfe2fec8941c386c76a1078da52394cf9..3acef00b7632e9bb398141a48dbfb457973505ef 100644 --- a/zh-cn/application-dev/task-management/transient-task-dev-guide.md +++ b/zh-cn/application-dev/task-management/transient-task-dev-guide.md @@ -3,12 +3,14 @@ ## 场景说明 当应用退到后台默认有6到12秒的运行时长,超过该时间后,系统会将应用置为挂起状态。对于绝大多数应用,6到12秒的时间,足够执行一些重要的任务,但如果应用需要更多的时间,可以通过短时任务接口,扩展应用的执行时间。 -建议不要等到应用退后台后,才调用requestSuspendDelay方法申请延迟挂起,而是应该在执行任何的耗时操作前,都应该调用该接口,向系统申明扩展应用的执行时间。 -当应用在前台时,使用requestSuspendDelay方法,不会影响应用的短时任务配额。 -由于每个应用每天的短时任务配额时间有限,当执行完耗时任务后,应当及时取消延迟挂起的申请。 +建议不要等到应用退后台后,才调用[requestSuspendDelay()](../reference/apis/js-apis-resourceschedule-backgroundTaskManager.md#backgroundtaskmanagerrequestsuspenddelay)方法申请延迟挂起,而是应该在执行任何的耗时操作前,都应该调用该接口,向系统申明扩展应用的执行时间。 -一些典型的耗时任务有,需要保存一些状态数据到本地数据库,需要打开和处理一个大型文件,需要同步一些数据到应用的云端服务器等。 +当应用在前台时,使用[requestSuspendDelay()](../reference/apis/js-apis-resourceschedule-backgroundTaskManager.md#backgroundtaskmanagerrequestsuspenddelay)方法,不会影响应用的短时任务配额。 + +根据需要调用[getRemainingDelayTime()](../reference/apis/js-apis-resourceschedule-backgroundTaskManager.md#backgroundtaskmanagergetremainingdelaytimecallback)接口获取应用程序进入挂起状态前的剩余时间。由于每个应用每天的短时任务配额时间有限,当执行完耗时任务后,应当及时调用[cancelSuspendDelay()](../reference/apis/js-apis-resourceschedule-backgroundTaskManager.md#backgroundtaskmanagercancelsuspenddelay)接口取消延迟挂起的申请。 + +一些典型的耗时任务,例如保存一些状态数据到本地数据库、打开和处理一个大型文件、同步一些数据到应用的云端服务器等。 ## 接口说明 @@ -25,60 +27,67 @@ ## 开发步骤 -1、当应用需要开始执行一个耗时的任务时。调用短时任务申请接口,并且在任务执行完后,调用短时任务取消接口。 +当应用需要开始执行一个耗时的任务时。调用短时任务申请接口,并且在任务执行完后,调用短时任务取消接口。 ```js -import backgroundTaskManager from '@ohos.backgroundTaskManager'; +import backgroundTaskManager from '@ohos.resourceschedule.backgroundTaskManager'; -let delayInfo; -let id; +let id; // 申请延迟挂起任务ID +let delayTime; // 本次申请延迟挂起任务的剩余时间 // 申请延迟挂起 function requestSuspendDelay() { - let myReason = 'test requestSuspendDelay'; - delayInfo = backgroundTaskManager.requestSuspendDelay(myReason, () => { - console.info("Request suspension delay will time out."); - // 此回调函数执行,表示应用的延迟挂起申请即将超时,应用需要执行一些清理和标注工作。 - }); - + let myReason = 'test requestSuspendDelay'; // 申请原因 + + try { + let delayInfo = backgroundTaskManager.requestSuspendDelay(myReason, () => { + // 此回调函数执行,表示应用的延迟挂起申请即将超时,应用需要执行一些清理和标注工作,并取消延时挂起 + console.info("[backgroundTaskManager] Request suspension delay will time out."); + backgroundTaskManager.cancelSuspendDelay(id); + }) id = delayInfo.requestId; - console.info("requestId is: " + id); + delayTime = delayInfo.actualDelayTime; + console.info("[backgroundTaskManager] The requestId is: " + id); + console.info("[backgroundTaskManager]The actualDelayTime is: " + delayTime); + } catch (error) { + console.error(`[backgroundTaskManager] requestSuspendDelay failed. code is ${error.code} message is ${error.message}`); + } } // 获取进入挂起前的剩余时间 -function getRemainingDelayTime() { - let delayTime = 0; - backgroundTaskManager.getRemainingDelayTime(id).then((res) => { - console.log('promise => Operation getRemainingDelayTime succeeded. Data: ' + JSON.stringify(res)); - delayTime = res; - }).catch((err) => { - console.log('promise => Operation getRemainingDelayTime failed. Cause: ' + err.code); - }); - return delayTime; +async function getRemainingDelayTime() { + try { + await backgroundTaskManager.getRemainingDelayTime(id).then(res => { + console.log('[backgroundTaskManager] promise => Operation getRemainingDelayTime succeeded. Data: ' + JSON.stringify(res)); + }).catch(error => { + console.error(`[backgroundTaskManager] promise => Operation getRemainingDelayTime failed. code is ${error.code} message is ${error.message}`); + }) + } catch (error) { + console.error(`[backgroundTaskManager] promise => Operation getRemainingDelayTime failed. code is ${error.code} message is ${error.message}`); + } } // 取消延迟挂起 function cancelSuspendDelay() { - backgroundTaskManager.cancelSuspendDelay(id); + backgroundTaskManager.cancelSuspendDelay(id); } -function performingLongRunningTask() { - // 在执行具体的耗时任务前,调用短时任务申请接口。向系统申请延迟挂起,延长应用的后台执行时间。 - requestSuspendDelay(); +async function performingLongRunningTask() { + // 在执行具体的耗时任务前,调用短时任务申请接口。向系统申请延迟挂起,延长应用的后台执行时间。 + requestSuspendDelay(); - // 通过剩余时间查询接口,获取可用时间配额。 - let delayTime = getRemainingDelayTime(); + // 根据需要,通过剩余时间查询接口,获取可用时间配额。 + await getRemainingDelayTime(); - if (delayTime < 0) { // 如果时间配置少于一定的大小,考虑取消此次耗时操作。 - // 处理短时任务配额时间不够的场景 - - cancelSuspendDelay(); - return; - } + if (delayTime < 0) { // 如果时间配置少于一定的大小,考虑取消此次耗时操作。 + // 处理短时任务配额时间不够的场景 + cancelSuspendDelay(); + return; + } - // 此处执行具体的耗时任务。 + // 此处执行具体的耗时任务 - // 耗时任务执行完,调用短时任务取消接口,避免配额浪费。 - cancelSuspendDelay(); + // 耗时任务执行完,调用短时任务取消接口,避免配额浪费 + cancelSuspendDelay(); } ``` diff --git a/zh-cn/application-dev/task-management/work-scheduler-dev-guide.md b/zh-cn/application-dev/task-management/work-scheduler-dev-guide.md index 1b454be58cf699e69e0d5909913c416045c7e772..87bc72823acf2dccecfeab599872541e1495dc9b 100644 --- a/zh-cn/application-dev/task-management/work-scheduler-dev-guide.md +++ b/zh-cn/application-dev/task-management/work-scheduler-dev-guide.md @@ -26,8 +26,8 @@ WorkInfo设置参数约束见[延迟任务调度约束](./background-task-overvi 参数名| 类型 |描述 ---------------------------------------------------------|-----------------------------------------|--------------------------------------------------------- -workId| number | 延迟任务Id(必填) -bundleName| string | 延迟任务包名(必填) +workId| number | 延迟任务ID(必填) +bundleName| string | 延迟任务Bundle名称(必填) abilityName| string | 延迟任务回调通知的组件名(必填) networkType | [NetworkType](../reference/apis/js-apis-resourceschedule-workScheduler.md#networktype) | 网络类型 isCharging| boolean | 是否充电 diff --git a/zh-cn/application-dev/tools/anm-tool.md b/zh-cn/application-dev/tools/anm-tool.md index f91ad97ae854237ac5ec4afbae827f62a23494d3..13c100f8c51d7b7a787102e986ec78da34149c33 100644 --- a/zh-cn/application-dev/tools/anm-tool.md +++ b/zh-cn/application-dev/tools/anm-tool.md @@ -28,14 +28,14 @@ Advanced Notification Manager(通知管理工具,简称anm)是实现通知 参数如下表所示 - | 参数 | 参数说明 | - | ---------------- | -------------------------------- | - | -A/--active | 打印所有活跃的通知信息 | - | -R/--recent | 打印最近的通知信息 | - | -D/--distributed | 打印来自其他设备的分布式通知信息 | - | -b/--bundle | 可选参数,设置指定的包名打印 | - | -u/--user-id | 可选参数,设置指定的用户ID打印 | - | -h/--help | 帮助信息 | + | 参数 | 参数说明 | + | ---------------- | ---------------------------------- | + | -A/--active | 打印所有活跃的通知信息 | + | -R/--recent | 打印最近的通知信息 | + | -D/--distributed | 打印来自其他设备的分布式通知信息 | + | -b/--bundle | 可选参数,设置指定的Bundle名称打印 | + | -u/--user-id | 可选参数,设置指定的用户ID打印 | + | -h/--help | 帮助信息 | * **示例**:打印活跃的通知信息 diff --git a/zh-cn/application-dev/tools/bm-tool.md b/zh-cn/application-dev/tools/bm-tool.md index 6b7fade3819c991b669bb5b3d183f208cdbee0c0..bd45b86df9b7723fbc4d78a4190d0d73f15f1f90 100644 --- a/zh-cn/application-dev/tools/bm-tool.md +++ b/zh-cn/application-dev/tools/bm-tool.md @@ -48,10 +48,10 @@ bm install [-h] [-p path] [-u userId] [-r] [-w waitting-time] | 命令 | 是否必选 | 描述 | | -------- | -------- | -------- | | -h | 否,默认输出帮助信息 | 显示install支持的命令信息 | -| -p | 是 | 安装HAP包路径,支持指定路径和多个HAP同时安装 | -| -u | 否,默认安装到当前所有用户上 | 给指定用户安装一个HAP包 | -| -r | 否,默认值为覆盖安装 | 覆盖安装一个HAP包 | -| -w | 否,默认等待5s | 安装HAP包时指定bm工具等待时间,最小的等待时长为5s,最大的等待时长为600s, 默认缺省为5s | +| -p | 是 | 安装HAP路径,支持指定路径和多个HAP同时安装 | +| -u | 否,默认安装到当前所有用户上 | 给指定用户安装一个HAP | +| -r | 否,默认值为覆盖安装 | 覆盖安装一个HAP | +| -w | 否,默认等待5s | 安装HAP时指定bm工具等待时间,最小的等待时长为5s,最大的等待时长为600s, 默认缺省为5s | 示例: @@ -75,7 +75,7 @@ bm uninstall [-h help] [-n bundleName] [-m moduleName] [-u userId] [-k] | 命令 | 是否必选 | 描述 | | -------- | -------- | -------- | | -h | 否,默认输出帮助信息 | 显示uninstall支持的命令信息 | -| -n | 是 | 指定包名卸载应用 | +| -n | 是 | 指定Bundle名称卸载应用 | | -m | 否,默认卸载所有模块 | 指定卸载应用的一个模块 | | -u | 否,默认卸载当前所有用户下该应用 | 指定用户卸载应用 | | -k | 否,默认卸载应用时不保存应用数据 | 卸载应用时保存应用数据 | @@ -106,16 +106,16 @@ bm dump [-h help] [-a] [-n bundleName] [-s shortcutInfo] [-u userId] [-d deviceI | -------- | -------- | -------- | | -h | 否,默认输出帮助信息 | 显示dump支持的命令信息 | | -a | 是 | 查询系统已经安装的所有应用 | -| -n | 是 | 查询指定包名的详细信息 | -| -s | 是 | 查询指定包名下的快捷方式信息 | +| -n | 是 | 查询指定Bundle名称的详细信息 | +| -s | 是 | 查询指定Bundle名称下的快捷方式信息 | | -d | 否,默认查询当前设备 | 查询指定设备中的包信息 | -| -u | 否,默认查询当前设备上的所有用户 | 查询指定用户下指定包名的详细信息 | +| -u | 否,默认查询当前设备上的所有用户 | 查询指定用户下指定Bundle名称的详细信息 | 示例: ```bash -# 显示所有已安装的包名 +# 显示所有已安装的Bundle名称 bm dump -a # 查询该应用的详细信息 bm dump -n com.ohos.app -u 100 @@ -141,9 +141,9 @@ bm clean [-h] [-c] [-n bundleName] [-d] [-u userId] | 命令 | 描述 | | -------- | -------- | | -h | 显示clean支持的命令信息 | -| -c -n | 清除指定包名的缓存数据 | -| -d -n | 清除指定包名的数据目录 | -| -u | 清除指定用户下包名的缓存数据 | +| -c -n | 清除指定Bundle名称的缓存数据 | +| -d -n | 清除指定Bundle名称的数据目录 | +| -u | 清除指定用户下Bundle名称的缓存数据 | 示例: @@ -175,9 +175,9 @@ bm enable [-h] [-n bundleName] [-a abilityName] [-u userId] | 命令 | 描述 | | -------- | -------- | | -h | 显示enable支持的命令信息 | -| -n | 使能指定包名的应用 | -| -a | 使能指定包名下的元能力模块 | -| -u | 使能指定用户和包名的应用 | +| -n | 使能指定Bundle名称的应用 | +| -a | 使能指定Bundle名称下的元能力模块 | +| -u | 使能指定用户和Bundle名称的应用 | 示例: @@ -205,9 +205,9 @@ bm disable [-h] [-n bundleName] [-a abilityName] [-u userId] | 命令 | 描述 | | -------- | -------- | | -h | 显示disable支持的命令信息 | -| -n | 禁用指定包名的应用 | -| -a | 禁用指定包名下的元能力模块 | -| -u | 禁用指定用户和包名下的应用 | +| -n | 禁用指定Bundle名称的应用 | +| -a | 禁用指定Bundle名称下的元能力模块 | +| -u | 禁用指定用户和Bundle名称下的应用 | 示例: diff --git a/zh-cn/application-dev/ui/js-framework-multiple-languages.md b/zh-cn/application-dev/ui/js-framework-multiple-languages.md index 293f174c1f22b0ff8f7639a67aff9d0e9c857e9f..4928931ff6ff2daeb1065fd84a2ed56bb2331691 100644 --- a/zh-cn/application-dev/ui/js-framework-multiple-languages.md +++ b/zh-cn/application-dev/ui/js-framework-multiple-languages.md @@ -183,4 +183,4 @@ ar-AE.json ## 获取语言 -获取语言功能请参考[应用配置](../reference/apis/js-apis-application-configuration.md)。 +获取语言功能请参考[应用配置](../reference/apis/js-apis-app-ability-configuration.md)。 diff --git a/zh-cn/application-dev/windowmanager/system-window-stage.md b/zh-cn/application-dev/windowmanager/system-window-stage.md index 1b8b0756e551869d67127b888851237c54a35b7a..c665a537fd281fac2205334f5711cfbbc41003c2 100644 --- a/zh-cn/application-dev/windowmanager/system-window-stage.md +++ b/zh-cn/application-dev/windowmanager/system-window-stage.md @@ -4,6 +4,12 @@ 在`Stage`模型下, 允许系统应用创建和管理系统窗口,包括音量条、壁纸、通知栏、状态栏、导航栏等。具体支持的系统窗口类型见[API参考-WindowType](../reference/apis/js-apis-window.md#windowtype7)。 +在窗口显示、隐藏及窗口间切换时,窗口模块通常会添加动画效果,以使各个交互过程更加连贯流畅。 + +在OpenHarmony中,应用窗口的动效为默认行为,不需要开发者进行设置或者修改。 + +相对于应用窗口,在显示系统窗口过程中,开发者可以自定义窗口的显示动画、隐藏动画。 + > **说明:** > > 本文档涉及系统接口的使用,请使用full-SDK进行开发。具体使用可见[full-SDK替换指南](../quick-start/full-sdk-switch-guide.md)。 @@ -13,23 +19,27 @@ 更多API说明请参见[API参考](../reference/apis/js-apis-window.md)。 -| 实例名 | 接口名 | 描述 | -| -------- | -------- | -------- | -| window静态方法 | createWindow(config: Configuration, callback: AsyncCallback\): void | 创建子窗口或系统窗口。
-`config`:创建窗口时的参数。 | -| Window | resize(width: number, height: number, callback: AsyncCallback<void>): void | 改变当前窗口大小。 | -| Window | moveWindowTo(x: number, y: number, callback: AsyncCallback<void>): void | 移动当前窗口位置。 | -| Window | SetUIContent(path: string, callback: AsyncCallback<void>): void | 为当前窗口加载具体页面。 | -| Window | showWindow(callback: AsyncCallback\): void | 显示当前窗口。 | -| Window | on(type: 'touchOutside', callback: Callback<void>): void | 开启本窗口区域外的点击事件的监听。 | -| Window | hide (callback: AsyncCallback\): void | 隐藏当前窗口。此接口为系统接口。 | -| Window | destroyWindow(callback: AsyncCallback<void>): void | 销毁当前窗口。 | - - -## 开发步骤 +| 实例名 | 接口名 | 描述 | +| ----------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | +| window静态方法 | createWindow(config: Configuration, callback: AsyncCallback\): void | 创建子窗口或系统窗口。
-`config`:创建窗口时的参数。 | +| Window | resize(width: number, height: number, callback: AsyncCallback<void>): void | 改变当前窗口大小。 | +| Window | moveWindowTo(x: number, y: number, callback: AsyncCallback<void>): void | 移动当前窗口位置。 | +| Window | SetUIContent(path: string, callback: AsyncCallback<void>): void | 为当前窗口加载具体页面。 | +| Window | showWindow(callback: AsyncCallback\): void | 显示当前窗口。 | +| Window | on(type: 'touchOutside', callback: Callback<void>): void | 开启本窗口区域外的点击事件的监听。 | +| Window | hide (callback: AsyncCallback\): void | 隐藏当前窗口。此接口为系统接口。 | +| Window | destroyWindow(callback: AsyncCallback<void>): void | 销毁当前窗口。 | +| Window | getTransitionController(): TransitionController | 获取窗口属性转换控制器。此接口为系统接口。 | +| TransitionContext | completeTransition(isCompleted: boolean): void | 设置属性转换的最终完成状态。该函数需要在动画函数[animateTo()](../reference/arkui-ts/ts-explicit-animation.md)执行后设置。此接口为系统接口。 | +| Window | showWithAnimation(callback: AsyncCallback\): void | 显示当前窗口,过程中播放动画。此接口为系统接口。 | +| Window | hideWithAnimation(callback: AsyncCallback\): void | 隐藏当前窗口,过程中播放动画。此接口为系统接口。 | +## 系统窗口的开发 本文以音量条窗口为例,介绍系统窗口的基本开发和管理步骤。 +### 开发步骤 + 1. 创建系统窗口。 @@ -112,3 +122,140 @@ export default class ServiceExtensionAbility1 extends ExtensionContext { } }; ``` + +## 自定义系统窗口的显示与隐藏动画 + +在显示系统窗口过程中,开发者可以自定义窗口的显示动画。在隐藏系统窗口过程中,开发者可以自定义窗口的隐藏动画。本文以显示和隐藏动画为例介绍主要开发步骤。 + +### 开发步骤 + +1. 获取窗口属性转换控制器。 + + 通过`getTransitionController`接口获取控制器。后续的动画操作都由属性控制器来完成。 + +2. 配置窗口显示时的动画。 + + 通过动画函数[animateTo()](../reference/arkui-ts/ts-explicit-animation.md)配置具体的属性动画。 + +3. 设置属性转换完成。 + + 通过`completeTransition(true)`来设置属性转换的最终完成状态。如果传入false,则表示撤销本次转换。 + +4. 显示或隐藏当前窗口,过程中播放动画。 + + 调用`showWithAnimation`接口,来显示窗口并播放动画。调用`hideWithAnimation`接口,来隐藏窗口并播放动画。 + +```ts +import ExtensionContext from '@ohos.app.ability.ServiceExtensionAbility'; +import window from '@ohos.window'; + +export default class ServiceExtensionAbility1 extends ExtensionContext { + onCreate(want) { + console.log("[Demo] MainAbility onCreate") + globalThis.abilityWant = want; + // 创建音量条窗口。 + let windowClass = null; + let config = {name: "volume", windowType: window.WindowType.TYPE_VOLUME_OVERLAY, ctx: this.context}; + window.createWindow(config, (err, data) => { + if (err.code) { + console.error('Failed to create the volume window. Cause:' + JSON.stringify(err)); + return; + } + console.info('Succeeded in creating the volume window.') + windowClass = data; + // 以下为系统窗口显示动画的开发步骤 + // 1. 获取窗口属性转换控制器 + let controller = windowClass.getTransitionController(); + // 2. 配置窗口显示时的动画 + controller.animationForShown = (context : window.TransitionContext) => { + let toWindow = context.toWindow + // 配置动画参数 + animateTo({ + duration: 1000, // 动画时长 + tempo: 0.5, // 播放速率 + curve: Curve.EaseInOut, // 动画曲线 + delay: 0, // 动画延迟 + iterations: 1, // 播放次数 + playMode: PlayMode.Normal, // 动画模式 + onFinish: ()=> { + // 3. 设置属性转换完成 + context.completeTransition(true) + } + }, () => { + let obj : window.TranslateOptions = { + x : 100.0, + y : 0.0, + z : 0.0 + } + toWindow.translate(obj); + console.info('toWindow translate end'); + }) + console.info('complete transition end'); + } + + windowClass.loadContent("pages/page_volume", (err) => { + if (err.code) { + console.error('Failed to load the content. Cause:' + JSON.stringify(err)); + return; + } + console.info('Succeeded in loading the content.'); + // 4.显示当前窗口,过程中播放动画 + windowClass.showWithAnimation((err) => { + if (err.code) { + console.error('Failed to show the window with animation. Cause: ' + JSON.stringify(err)); + return; + } + console.info('Succeeded in showing the window with animation.'); + }) + }); + }); + } + onDestroy() { + let windowClass = null; + try { + windowClass = window.findWindow('volume'); + } catch (exception) { + console.error('Failed to find the Window. Cause: ' + JSON.stringify(exception)); + } + // 以下为系统窗口隐藏动画的开发步骤 + // 1. 获取窗口属性转换控制器 + let controller = windowClass.getTransitionController(); + // 2. 配置窗口显示时的动画 + controller.animationForHidden = (context : window.TransitionContext) => { + let toWindow = context.toWindow + // 配置动画参数 + animateTo({ + duration: 1000, // 动画时长 + tempo: 0.5, // 播放速率 + curve: Curve.EaseInOut, // 动画曲线 + delay: 0, // 动画延迟 + iterations: 1, // 播放次数 + playMode: PlayMode.Normal, // 动画模式 + onFinish: ()=> { + // 3. 设置属性转换完成 + context.completeTransition(true) + windowClass.destroyWindow((err) => { + if (err.code) { + console.error('Failed to destroy the window. Cause:' + JSON.stringify(err)); + return; + } + console.info('Succeeded in destroying the window.'); + }); + } + }, () => { + toWindow.opacity(0.0); + console.info('toWindow opacity end'); + }) + console.info('complete transition end'); + } + // 4.隐藏当前窗口,过程中播放动画 + windowClass.hideWithAnimation((err) => { + if (err.code) { + console.error('Failed to hide the window with animation. Cause: ' + JSON.stringify(err)); + return; + } + console.info('Succeeded in hiding the window with animation.'); + }); + } +}; +``` \ No newline at end of file diff --git a/zh-cn/device-dev/device-test/xts.md b/zh-cn/device-dev/device-test/xts.md index dbe852a1830d6def4f1630d31d12f6689a568b79..77dba25a137504ae7a19c2edcc3248bea4f7da60 100644 --- a/zh-cn/device-dev/device-test/xts.md +++ b/zh-cn/device-dev/device-test/xts.md @@ -191,7 +191,7 @@ XTS子系统当前包括acts与tools软件包: 5. 测试套件编译命令。 随版本编译,debug版本编译时会同步编译acts测试套件。 - > ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:** + > ![icon-note.gif](../public_sys-resources/icon-note.gif) **说明:** > acts测试套件编译中间件为静态库,最终链接到版本镜像中 。 ### C语言用例执行指导(适用于轻量系统产品用例开发) @@ -324,7 +324,7 @@ XTS子系统当前包括acts与tools软件包: 5. 测试套件编译命令。 随版本编译,debug版本编译时会同步编译acts测试套件 - > ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:** + > ![icon-note.gif](../public_sys-resources/icon-note.gif) **说明:** > 小型系统acts独立编译成可执行文件(bin格式), 在编译产物的suites\acts目录下归档。 diff --git a/zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md b/zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md index ba60462140e473e666f029e1e92244c30f3925bf..c1bd5906e9b3b09a0bb798d9ff7e3f0153160f86 100755 --- a/zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md +++ b/zh-cn/device-dev/subsystems/subsys-app-privilege-config-guide.md @@ -4,7 +4,7 @@ OpenHarmony提供通用的应用特权和可由设备厂商针对不同设备单独配置的应用特权。当签名证书中配置的特权与白名单(install_list_capability.json)中特权相同时,以白名单的配置为主。 -注:应当注意不要滥用应用特权,避免造成用户反感甚至对用户造成侵权。 +> 说明:应当注意不要滥用应用特权,避免造成用户反感甚至对用户造成侵权。 ## 通用应用特权 @@ -14,22 +14,22 @@ OpenHarmony提供通用的应用特权和可由设备厂商针对不同设备单 | 权限 | 描述 | | ---------------- | ------------------------------------------------------------ | -| AllowAppDataNotCleared | 是否允许应用数据被删除 | -| AllowAppDesktopIconHide | 是否允许隐藏桌面图标 | -| AllowAbilityPriorityQueried | 是否允许Ability配置查询优先级 | -| AllowAbilityExcludeFromMissions | 是否允许Ability不在任务栈中显示 | +| AllowAppDataNotCleared | 是否允许应用数据被删除。 | +| AllowAppDesktopIconHide | 是否允许隐藏桌面图标。 | +| AllowAbilityPriorityQueried | 是否允许Ability配置查询优先级。 | +| AllowAbilityExcludeFromMissions | 是否允许Ability不在任务栈中显示。 | ### 配置方式 1. 在[HarmonyAppProvision文件](../../application-dev/security/app-provision-structure.md)中添加字段”app-privilege-capabilities“,按需配置通用权限能力。 -2. 使用签名工具对HarmonyAppProvision文件重新签名,生成p7b文件 -3. 使用p7b文件签名hap +2. 使用签名工具对[HarmonyAppProvision文件](../../application-dev/security/app-provision-structure.md)重新签名,生成p7b文件。 +3. 使用p7b文件签名HAP。 -参考:[应用签名](https://gitee.com/openharmony/developtools_hapsigner#hap%E5%8C%85%E7%AD%BE%E5%90%8D%E5%B7%A5%E5%85%B7 ) +参考:[应用签名](https://gitee.com/openharmony/developtools_hapsigner#hap%E5%8C%85%E7%AD%BE%E5%90%8D%E5%B7%A5%E5%85%B7 )。 ### 示例 -``` +```json { "version-name": "1.0.0", ... @@ -42,8 +42,6 @@ OpenHarmony提供通用的应用特权和可由设备厂商针对不同设备单 } ``` - - ## 可由设备厂商配置的特权 ### 简介 @@ -52,19 +50,19 @@ OpenHarmony提供通用的应用特权和可由设备厂商针对不同设备单 | 权限 | 类型 | 默认值 | 描述 | | --------------------- | -------- | ------ | ------------------------------------------------- | -| removable | bool | true | 是否允许应用被卸载,仅预置应用生效 | -| keepAlive | bool | false | 是否允许应用常驻 | -| singleton | bool | false | 是否允许应用安装到单用户下(U0) | -| allowCommonEvent | string[] | - | 是否允许静态广播拉起 | -| associatedWakeUp | bool | false | 是否允许FA模型应用被关联唤醒 | -| runningResourcesApply | bool | false | 是否允许应用运行资源申请(CPU、事件通知、蓝牙等) | -| allowAppDataNotCleared | bool | false|是否允许应用数据被删除 | -| allowAppMultiProcess | bool | false| 是否允许应用多进程 | -| allowAppDesktopIconHide | bool | false| 是否允许隐藏桌面图标 | -| allowAbilityPriorityQueried | bool | false| 是否允许Ability配置查询优先级 | -| allowAbilityExcludeFromMissions | bool | false| 是否允许Ability不在任务栈中显示 | -| allowAppUsePrivilegeExtension | bool | false|是否允许应用使用ServiceExtension、DataExtension | -| allowFormVisibleNotify | bool | false| 是否允许桌面卡片可见 | +| removable | bool | true | 是否允许应用被卸载,仅预置应用生效。 | +| keepAlive | bool | false | 是否允许应用常驻。 | +| singleton | bool | false | 是否允许应用安装到单用户下(U0)。 | +| allowCommonEvent | string[] | - | 是否允许静态广播拉起。 | +| associatedWakeUp | bool | false | 是否允许FA模型应用被关联唤醒。 | +| runningResourcesApply | bool | false | 是否允许应用运行资源申请(CPU、事件通知、蓝牙等)。 | +| allowAppDataNotCleared | bool | false|是否允许应用数据被删除。 | +| allowAppMultiProcess | bool | false| 是否允许应用多进程。 | +| allowAppDesktopIconHide | bool | false| 是否允许隐藏桌面图标。 | +| allowAbilityPriorityQueried | bool | false| 是否允许Ability配置查询优先级。 | +| allowAbilityExcludeFromMissions | bool | false| 是否允许Ability不在任务栈中显示。 | +| allowAppUsePrivilegeExtension | bool | false|是否允许应用使用ServiceExtension、DataExtension。 | +| allowFormVisibleNotify | bool | false| 是否允许桌面卡片可见。 | ### 配置方式 @@ -74,7 +72,7 @@ OpenHarmony提供通用的应用特权和可由设备厂商针对不同设备单 #### install_list_capability.json中配置 -``` +```json { "install_list": [ { @@ -83,7 +81,7 @@ OpenHarmony提供通用的应用特权和可由设备厂商针对不同设备单 "keepAlive": true, // 应用常驻 "runningResourcesApply": true, // 运行资源申请(CPU、事件通知、蓝牙等) "associatedWakeUp": true, // FA模型应用被关联唤醒 - "app_signature" : [“8E93863FC32EE238060BF69A9B37E2608FFFB21F93C862DD511CBAC”], // 当配置的证书指纹和hap的证书指纹一致才生效 + "app_signature" : ["****"], // 当配置的证书指纹和hap的证书指纹一致才生效 "allowCommonEvent": [“usual.event.SCREEN_ON”, “usual.event.THERMAL_LEVEL_CHANGED”], "allowAppDataNotCleared": true, // 不允许应用数据被删除 "allowAppMultiProcess": true, //允许应用多进程 @@ -98,64 +96,59 @@ OpenHarmony提供通用的应用特权和可由设备厂商针对不同设备单 **证书指纹获取** -**步骤一、证书存放在HarmonyAppProvision文件的distribution-certificate字段下,新建profile.cer文件,将证书的内容拷贝到profile.cer文件中** - -示例 - -``` -{ - ... - "bundle-info": { - "distribution-certificate": "-----BEGIN CERTIFICATE----\nMIICMzCCAbegAwIBAgIEaOC/zDAMBggqhkjOPQQDAwUAMk..." /证书的内容 - ... - } - ... -} -``` - -**步骤二、将profile.cer内容换行和去掉换行符** - -示例 - -``` ------BEGIN CERTIFICATE----- -MIICMzCCAbegAwIBAgIEaOC/zDAMBggqhkjOPQQDAwUAMGMxCzAJBgNVBAYTAkNO -MRQwEgYDVQQKEwtPcGVuSGFybW9ueTEZMBcGA1UECxMQT3Blbkhhcm1vbnkgVGVh -bTEjMCEGA1UEAxMaT3Blbkhhcm1vbnkgQXBwbGljYXRpb24gQ0EwHhcNMjEwMjAy -MTIxOTMxWhcNNDkxMjMxMTIxOTMxWjBoMQswCQYDVQQGEwJDTjEUMBIGA1UEChML -T3Blbkhhcm1vbnkxGTAXBgNVBAsTEE9wZW5IYXJtb255IFRlYW0xKDAmBgNVBAMT -H09wZW5IYXJtb255IEFwcGxpY2F0aW9uIFJlbGVhc2UwWTATBgcqhkjOPQIBBggq -hkjOPQMBBwNCAATbYOCQQpW5fdkYHN45v0X3AHax12jPBdEDosFRIZ1eXmxOYzSG -JwMfsHhUU90E8lI0TXYZnNmgM1sovubeQqATo1IwUDAfBgNVHSMEGDAWgBTbhrci -FtULoUu33SV7ufEFfaItRzAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0OBBYEFPtxruhl -cRBQsJdwcZqLu9oNUVgaMAwGCCqGSM49BAMDBQADaAAwZQIxAJta0PQ2p4DIu/ps -LMdLCDgQ5UH1l0B4PGhBlMgdi2zf8nk9spazEQI/0XNwpft8QAIwHSuA2WelVi/o -zAlF08DnbJrOOtOnQq5wHOPlDYB4OtUzOYJk9scotrEnJxJzGsh/ ------END CERTIFICATE----- -``` - -**步骤三、使用keytool工具打印对应的证书指纹** - -示例 - -``` -keytool -printcert -file profile.cer -result: -所有者: CN=OpenHarmony Application Release, OU=OpenHarmony Team, O=OpenHarmony, C=CN -发布者: CN=OpenHarmony Application CA, OU=OpenHarmony Team, O=OpenHarmony, C=CN -序列号: 68e0bfcc -生效时间: Tue Feb 02 20:19:31 CST 2021, 失效时间: Fri Dec 31 20:19:31 CST 2049 -证书指纹: - SHA1: E3:E8:7C:65:B8:1D:02:52:24:6A:06:A4:3C:4A:02:39:19:92:D1:F5 - SHA256: 8E:93:86:3F:C3:2E:E2:38:06:0B:F6:9A:9B:37:E2:60:8F:FF:B2:1F:93:C8:62:DD:51:1C:BA:C9:F3:00:24:B5 // 证书指纹,去掉冒号,最终结果为8E93863FC32EE238060BF69A9B37E2608FFFB21F93C862DD511CBAC9F30024B5 -... -``` - - +1. 证书存放在[HarmonyAppProvision文件](../../application-dev/security/app-provision-structure.md)的distribution-certificate字段下,新建profile.cer文件,将证书的内容拷贝到profile.cer文件中。 + + ```json + { + ... + "bundle-info": { + "distribution-certificate": "-----BEGIN CERTIFICATE----\nMIICMzCCAbegAwIBAgIEaOC/zDAMBggqhkjOPQQDAwUAMk..." /证书的内容 + ... + } + ... + } + ``` + +2. 将profile.cer内容换行和去掉换行符。 + ``` + -----BEGIN CERTIFICATE----- + MIICMzCCAbegAwIBAgIEaOC/zDAMBggqhkjOPQQDAwUAMGMxCzAJBgNVBAYTAkNO + MRQwEgYDVQQKEwtPcGVuSGFybW9ueTEZMBcGA1UECxMQT3Blbkhhcm1vbnkgVGVh + bTEjMCEGA1UEAxMaT3Blbkhhcm1vbnkgQXBwbGljYXRpb24gQ0EwHhcNMjEwMjAy + MTIxOTMxWhcNNDkxMjMxMTIxOTMxWjBoMQswCQYDVQQGEwJDTjEUMBIGA1UEChML + T3Blbkhhcm1vbnkxGTAXBgNVBAsTEE9wZW5IYXJtb255IFRlYW0xKDAmBgNVBAMT + H09wZW5IYXJtb255IEFwcGxpY2F0aW9uIFJlbGVhc2UwWTATBgcqhkjOPQIBBggq + hkjOPQMBBwNCAATbYOCQQpW5fdkYHN45v0X3AHax12jPBdEDosFRIZ1eXmxOYzSG + JwMfsHhUU90E8lI0TXYZnNmgM1sovubeQqATo1IwUDAfBgNVHSMEGDAWgBTbhrci + FtULoUu33SV7ufEFfaItRzAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0OBBYEFPtxruhl + cRBQsJdwcZqLu9oNUVgaMAwGCCqGSM49BAMDBQADaAAwZQIxAJta0PQ2p4DIu/ps + LMdLCDgQ5UH1l0B4PGhBlMgdi2zf8nk9spazEQI/0XNwpft8QAIwHSuA2WelVi/o + zAlF08DnbJrOOtOnQq5wHOPlDYB4OtUzOYJk9scotrEnJxJzGsh/ + -----END CERTIFICATE----- + ``` + +3. 使用keytool工具,执行以下命令获取对应的证书指纹。 + + > 说明:keytool工具可以在DevEco Studio安装后的`\tools\openjdk\bin`目录中获取。 + + ```shell + keytool -printcert -file profile.cer + + # 运行结果举例 + # result: + # 所有者: CN=OpenHarmony Application Release, OU=OpenHarmony Team, O=OpenHarmony, C=CN + # 发布者: CN=OpenHarmony Application CA, OU=OpenHarmony Team, O=OpenHarmony, C=CN + # 序列号: 68e0bfcc + # 生效时间: Tue Feb 02 20:19:31 CST 2021, 失效时间: Fri Dec 31 20:19:31 CST 2049 + # 证书指纹: + # SHA1: E3:E8:7C:65:B8:1D:02:52:24:6A:06:A4:3C:4A:02:39:19:92:D1:F5 + # SHA256: 8E:93:86:3F:C3:2E:E2:38:06:0B:F6:9A:9B:37:E2:60:8F:FF:B2:1F:93:C8:62:DD:51:1C:BA:C9:F3:00:24:B5 // 证书指纹,去掉冒号,最终结果为8E93863FC32EE238060BF69A9B37E2608FFFB21F93C862DD511CBAC9F30024B5 + # ... + ``` #### install_list.json中配置 -``` +```json { "install_list" : [ { @@ -165,6 +158,3 @@ result: ] } ``` - - - diff --git a/zh-cn/device-dev/website.md b/zh-cn/device-dev/website.md index 7c60895c2a5446bffda63bb7fca41cc13cd2c270..897e3e7550dcd897fa94c62fd29cf63525c724f5 100644 --- a/zh-cn/device-dev/website.md +++ b/zh-cn/device-dev/website.md @@ -149,6 +149,8 @@ - 标准系统芯片移植案例 - [标准系统方案之瑞芯微RK3568移植案例](porting/porting-dayu200-on_standard-demo.md) + - [标准系统方案之瑞芯微RK3566移植案例](https://gitee.com/openharmony/vendor_kaihong/blob/master/khdvk_3566b/porting-khdvk_3566b-on_standard-demo.md) + - [标准系统方案之扬帆移植案例](porting/porting-yangfan-on_standard-demo.md) - 子系统开发 @@ -217,6 +219,7 @@ - [虚拟文件系统](kernel/kernel-small-bundles-fs-virtual.md) - [支持的文件系统](kernel/kernel-small-bundles-fs-support.md) - [适配新的文件系统](kernel/kernel-small-bundles-fs-new.md) + - [Plimitsfs文件系统](kernel/kernel-small-plimits.md) - 调测与工具 - Shell - [Shell介绍](kernel/kernel-small-debug-shell-overview.md) @@ -383,6 +386,7 @@ - [产品配置规则](subsystems/subsys-build-product.md) - [子系统配置规则](subsystems/subsys-build-subsystem.md) - [部件配置规则](subsystems/subsys-build-component.md) + - [部件编译构建规范](subsystems/subsys-build-component-building-rules.md) - [模块配置规则](subsystems/subsys-build-module.md) - [芯片解决方案配置规则](subsystems/subsys-build-chip_solution.md) - [特性配置规则](subsystems/subsys-build-feature.md) @@ -393,6 +397,7 @@ - [查看NinjaTrace](subsystems/subsys-build-reference.md) - [HAP编译构建指导](subsystems/subsys-build-gn-hap-compilation-guide.md) - [常见问题](subsystems/subsys-build-FAQ.md) + - [ArkCompiler](subsystems/subsys-arkcompiler-guide.md) - [分布式远程启动](subsystems/subsys-remote-start.md) - 图形图像 - [图形图像概述](subsystems/subsys-graphics-overview.md) @@ -457,6 +462,8 @@ - [系统参数](subsystems/subsys-boot-init-sysparam.md) - [沙盒管理](subsystems/subsys-boot-init-sandbox.md) - [插件](subsystems/subsys-boot-init-plugin.md) + - [组件化启动](subsystems/subsys-boot-init-sub-unit.md) + - [init运行日志规范化](subsystems/subsys-boot-init-log.md) - [appspawn应用孵化组件](subsystems/subsys-boot-appspawn.md) - [bootstrap服务启动组件](subsystems/subsys-boot-bootstrap.md) - [常见问题](subsystems/subsys-boot-faqs.md) diff --git a/zh-cn/glossary.md b/zh-cn/glossary.md index 6b64d3dca5e379db12fa92249aecd00d21606d27..fe7e0e4b48f21f6fcd7a984c6f5dd4c59bc3155b 100644 --- a/zh-cn/glossary.md +++ b/zh-cn/glossary.md @@ -73,7 +73,7 @@ - ### FA模型 - Ability框架提供的一种开发模型。API version 8及更早版本的应用开发仅支持FA模型。FA模型将Ability分为[FA(Feature Ability)](#fa)和[PA(Particle Ability)](#pa)两种类型,其中FA支持Page Ability模板,PA支持Service ability、Data ability、以及Form ability模板。详情可参考[FA模型综述](application-dev/ability/fa-brief.md)。 + Ability框架提供的一种开发模型。API version 8及更早版本的应用开发仅支持FA模型。FA模型将Ability分为[FA(Feature Ability)](#fa)和[PA(Particle Ability)](#pa)两种类型,其中FA支持Page Ability模板,PA支持Service ability、Data ability、以及Form ability模板。详情可参考[FA模型综述](application-dev/application-models/fa-model-development-overview.md)。 ## H diff --git a/zh-cn/readme/figures/build_framework_ZN.png.PNG b/zh-cn/readme/figures/build_framework_ZN.png.PNG new file mode 100644 index 0000000000000000000000000000000000000000..226d514152d6397bcdc55dcecbfbbafb53cbabce Binary files /dev/null and b/zh-cn/readme/figures/build_framework_ZN.png.PNG differ diff --git "a/zh-cn/readme/\346\265\213\350\257\225\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\346\265\213\350\257\225\345\255\220\347\263\273\347\273\237.md" index cfef586c836ade2118dd84dd4f999a4f8674f873..3e9fdbaf2b34b1b7de740aedd90dd990b20d34b4 100755 --- "a/zh-cn/readme/\346\265\213\350\257\225\345\255\220\347\263\273\347\273\237.md" +++ "b/zh-cn/readme/\346\265\213\350\257\225\345\255\220\347\263\273\347\273\237.md" @@ -4,7 +4,7 @@ OpenHarmony为开发者提供了一套全面的自测试框架,开发者可根 本文从基础环境构建,用例开发,编译以及执行等方面介绍OpenHarmony测试框架如何运行和使用。 ## 基础环境构建 测试框架依赖于python运行环境,在使用测试框架之前可参阅以下方式进行配置。 - - [环境配置](../device-dev/subsystems/subsys-testguide-envbuild.md) + - [环境配置](../device-dev/device-test/xdevice.md) - [源码获取](../device-dev/get-code/sourcecode-acquire.md) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-ability.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-ability.md index a5b90375861a5bfe33d1c393d795b853de47f291..9f4bb4556589e98c26ad2746c213c07c72bb2217 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-ability.md +++ b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-ability.md @@ -44,4 +44,97 @@ onWindowStageCreate() { console.error('Failed to start ability', err.code); }) } -``` \ No newline at end of file +``` + + + +## cl.ability.2 删除标记为废弃的API9接口 + +[元能力异常处理整改](../OpenHarmony_3.2.8.3/changelogs-ability.md)将部分API9接口标记为了废弃,根据OpenHarmony接口规范,需要删除标记为废弃的API9接口。 + +**变更影响** + +基于此前版本开发的应用,需要将被删除的接口替换为新接口,否则会影响应用编译。 + +**关键接口/组件变更** + +接口文件被删除: + +| 被删除接口 | 新接口 | +| ----------------------------------------------- | ----------------------------------------------- | +| @ohos.application.Ability.d.ts | @ohos.app.ability.UIAbility.d.ts | +| @ohos.application.AbilityConstant.d.ts | @ohos.app.ability.AbilityConstant.d.ts | +| @ohos.application.AbilityLifecycleCallback.d.ts | @ohos.app.ability.AbilityLifecycleCallback.d.ts | +| @ohos.application.AbilityStage.d.ts | @ohos.app.ability.AbilityStage.d.ts | +| @ohos.application.EnvironmentCallback.d.ts | @ohos.app.ability.EnvironmentCallback.d.ts | +| @ohos.application.ExtensionAbility.d.ts | @ohos.app.ability.ExtensionAbility.d.ts | +| @ohos.application.FormExtension.d.ts | @ohos.app.form.FormExtensionAbility.d.ts | +| @ohos.application.ServiceExtensionAbility.d.ts | @ohos.app.ability.ServiceExtensionAbility.d.ts | +| @ohos.application.StartOptions.d.ts | @ohos.app.ability.StartOptions.d.ts | +| @ohos.application.context.d.ts | @ohos.app.ability.common.d.ts | +| @ohos.application.errorManager.d.ts | @ohos.app.ability.errorManager.d.ts | + +接口、属性被删除: + +- @ohos.application.Configuration.d.ts + - Configuration 的 direction、screenDensity、displayId、hasPointerDevice 被删除。可以使用 @ohos.app.ability.Configuration.d.ts 的 Configuration替换。 +- @ohos.application.ConfigurationConstant.d.ts + - 枚举 Direction 和 ScreenDensity 被删除。可以使用 @ohos.app.ability.ConfigurationConstant.d.ts 的枚举 Direction 和 ScreenDensity 替换。 +- @ohos.application.abilityManager.d.ts + - 方法 getExtensionRunningInfos 和 getTopAbility 被删除。可以使用 @ohos.app.ability.abilityManager.d.ts 的同名方法替换。 +- @ohos.application.appManager.d.ts + - 枚举 ApplicationState 和 ProcessState 被删除。可以使用 @ohos.app.ability.appManager.d.ts 的枚举 ApplicationState 和 ProcessState 替换。 + - 方法 registerApplicationStateObserver 和 getProcessRunningInformation被删除。可以使用 @ohos.app.ability.appManager.d.ts 的同名方法替换。 +- @ohos.application.formHost.d.ts + - 方法 shareForm 和 notifyFormsPrivacyProtected 被删除。可以使用 @ohos.app.form.formHost.d.ts 的同名方法替换。 +- @ohos.application.formInfo.d.ts + - 枚举 FormType 的 eTS 被删除,可以使用 @ohos.app.form.formInfo.d.ts 的 FormType 中的 eTS 替换。 + - 枚举 FormParam 的 IDENTITY_KEY、BUNDLE_NAME_KEY、ABILITY_NAME_KEY、DEVICE_ID_KEY 被删除,可以使用 @ohos.app.form.formInfo.d.ts 的 FormParam 中的同名枚举替换。 + - 接口 FormInfoFilter 被删除。可以使用 @ohos.app.form.formInfo.d.ts 的 FormInfoFilter 替换。 + - 枚举 FormDimension 被删除。可以使用 @ohos.app.form.formInfo.d.ts 的 FormDimension 替换。 + - 枚举 VisibilityType 被删除。可以使用 @ohos.app.form.formInfo.d.ts 的 VisibilityType 替换。 +- @ohos.wantAgent.d.ts + - 方法 trigger 和 getOperationType 被删除。可以使用 @ohos.app.ability.wantAgent.d.ts 的同名方法替换。 +- application/ApplicationContext.d.ts + - 方法 registerAbilityLifecycleCallback、unregisterAbilityLifecycleCallback、registerEnvironmentCallback、unregisterEnvironmentCallback 被删除。可以使用 on、off 替换。 +- application/ServiceExtensionContext.d.ts + - 方法 connectAbility、connectAbilityWithAccount、disconnectAbility 被删除。可以使用 connectServiceExtensionAbility、connectServiceExtensionAbilityWithAccount、disconnectServiceExtensionAbility 替换。 +- @ohos.application.ExtensionAbility.d.ts + - 生命周期onCreate、onCastToNormal、onUpdate、onVisibilityChange、onEvent、onDestroy、onAcquireFormState、onShare 被删除。可以使用@ohos.app.form.FormExtensionAbility.d.ts的onAddForm、onCastToNormalForm、onUpdateForm、onChangeFormVisibility、onFormEvent、onRemoveForm、onAcquireFormState、onShareForm +- @ohos.application.abilityDelegatorRegistry.d.ts + - 导出类 AbilityDelegator、AbilityDelegatorArgs、AbilityMonitor、ShellCmdResult 被删除。可以使用@ohos.app.ability.abilityDelegatorRegistry.d.ts中的同名导出类替换。 +- @ohos.application.abilityManager.d.ts + - 导出类 AbilityRunningInfo、ExtensionRunningInfo 被删除。可以使用@ohos.app.ability.abilityManager.d.ts中的同名导出类替换。 +- @ohos.application.appManager.d.ts + - 导出类 AbilityStateData、AppStateData、ApplicationStateObserver、ProcessRunningInfo、ProcessRunningInformation 被删除。可以使用@ohos.app.ability.appManager.d.ts中的同名导出类替换。 +- @ohos.application.missionManager.d.ts + - 导出类 MissionInfo、MissionListener、MissionSnapshot 被删除。可以使用@ohos.app.ability.missionManager.d.ts中的同名导出类替换。 +- @ohos.wantAgent.d.ts + - 导出类 TriggerInfo、WantAgentInfo 被删除。可以使用@ohos.app.ability.wantAgent.d.ts中的同名导出类替换。 + + + + + +**适配指导** + +如上所述,仅少数接口修改了接口名的如注册回调函数(registerAbilityLifecycleCallback、unregisterAbilityLifecycleCallback、registerEnvironmentCallback、unregisterEnvironmentCallback)和连接断开 ServiceExtensionAbility(connectAbility、connectAbilityWithAccount、disconnectAbility),卡片生命周期等需要替换成新的接口名。 + +绝大多数接口平移到了新的namespace中,所以可以通过修改import来解决适配问题: + +如原先接口使用了@ohos.application.Ability + +```js +import Ability from '@ohos.application.Ability'; +``` + +可以通过直接修改import,来切换到新的namespace上: + +```js +import Ability from '@ohos.app.ability.UIAbility'; +``` + +此外还需要适配异常处理,具体参考新接口的接口文档。 + + + diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-container.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-container.md new file mode 100644 index 0000000000000000000000000000000000000000..23f4ce5addb9e28937c2ca0033159fd160515eaf --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-container.md @@ -0,0 +1,23 @@ +# commonlibrary子系统JS API变更Changelog + +OpenHarmony 3.2.10.1(Mr)版本相较于OpenHarmony 3.2.beta4版本,container子系统的API变更如下 + +## cl.commonlibrary.1 错误码及信息变更 +commonlibrary子系统中ArrayList、List、LinkedList、Stack、Queue、Deque、PlainArray、LightWeightMap、LightWeightSet、HashMap、HashSet、TreeMap、TreeSet类的接口抛出的错误码及信息变更: + +变更后的错误码详细介绍请参见[语言基础类库错误码](../../../application-dev/reference/errorcodes/errorcode-utils.md)。 + +已使用相关接口开发的应用无需重新适配。 + +**关键的接口/组件变更** +各个类中的接口重新定义了错误码抛出的信息,并在对应模块的`*.d.ts`声明文件中通过'@throws'标签进行标示。 +示例如下: +ArrayList类变更前: +constructor(); +ArrayList类变更后: +@throws { BusinessError } 10200012 - The ArrayList's constructor cannot be directly invoked. +constructor(); + +**变更影响** + +暂无影响。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md index 94330771c5860ec446038097f4900c9cb673f255..71eb53fd2197c49afaf5bef27d214d075760cd54 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md +++ b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md @@ -62,4 +62,99 @@ try { } catch (e) { console.error(`Failed to create KVManager.code is ${e.code},message is ${e.message}`); } -``` \ No newline at end of file +``` + +## cl.distributeddatamgr.2 function getRdbStoreV9 从@ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts +**变更影响** +应用需要进行适配,才可以在新版本SDK环境正常编译通过。 + +**关键的接口/组件变更** +如下接口: +```ts +function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number, callback: AsyncCallback): void; +function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number): Promise; +``` +从@ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts: +``` +function getRdbStore(context: Context, config: StoreConfig, version: number, callback: AsyncCallback): void; +function getRdbStore(context: Context, config: StoreConfig, version: number): Promise; +``` + +**适配指导** + * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`; + * 按上述接口变更对齐修改所调用的方法名称即可。 + +## cl.distributeddatamgr.3 function deleteRdbStoreV9 从@ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts +**变更影响** +应用需要进行适配,才可以在新版本SDK环境正常编译通过。 + +**关键的接口/组件变更** +如下接口: +```ts +function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback): void; +function deleteRdbStoreV9(context: Context, name: string): Promise; +``` +从@ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts: +``` +function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback): void; +function deleteRdbStoreV9(context: Context, name: string): Promise; +``` + +**适配指导** + * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`; + * 按上述接口变更对齐修改所调用的方法名称即可。 + +## cl.distributeddatamgr.4 interface StoreConfigV9 从@ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts +**变更影响** +应用需要进行适配,才可以在新版本SDK环境正常编译通过。 + +**关键的接口/组件变更** +interface StoreConfigV9 从@ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts 改名为interface StoreConfig。 + +**适配指导** + * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`; + * 按上述接口变更对齐修改所调用的接口名称即可。 + +## cl.distributeddatamgr.5 enum SecurityLevel 从@ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts +**变更影响** +应用需要进行适配,才可以在新版本SDK环境正常编译通过。 + +**关键的接口/组件变更** +enum SecurityLevel 从ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts。 + +**适配指导** + * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`; + * 按上述接口变更对齐修改所调用的接口名称即可。 + +## cl.distributeddatamgr.6 interface RdbStoreV9 从@ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts +**变更影响** +应用需要进行适配,才可以在新版本SDK环境正常编译通过。 + +**关键的接口/组件变更** +interface RdbStoreV9 从@ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts 改名为interface RdbStore。 + +**适配指导** + * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`; + * 按上述接口变更对齐修改所调用的接口名称即可。 + +## cl.distributeddatamgr.7 class RdbPredicatesV9 从ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts +**变更影响** +应用需要进行适配,才可以在新版本SDK环境正常编译通过。 + +**关键的接口/组件变更** +class RdbPredicatesV9 从ohos.data.rdb.d.ts 迁移至@ohos.data.relationalStore.d.ts 改名为interface RdbPredicates。 + +**适配指导** + * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`; + * 按上述接口变更对齐修改所调用的接口名称即可。 + +## cl.distributeddatamgr.8 interface ResultSetV9 从api/@ohos.data.relationalStore.d.ts 迁移至@ohos.data.relationalStore.d.ts +**变更影响** +应用需要进行适配,才可以在新版本SDK环境正常编译通过。 + +**关键的接口/组件变更** +interface ResultSetV9 从api/data/rdb/resultSet.d.ts 迁移至@ohos.data.relationalStore.d.ts 改名为interface ResultSet。 + +**适配指导** + * `import rdb from "@ohos.data.rdb"` 改为 `import rdb from "@ohos.data.relationalStore"`; + * ResultSetV9实例仅通过getRdbStoreV9方法获取,参考cl.distributeddatamgr.2变更后,代码可自动适配ResultSet。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-notification.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-notification.md new file mode 100644 index 0000000000000000000000000000000000000000..7877ff8ae51a74460187fcd3460070bf12919813 --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-notification.md @@ -0,0 +1,48 @@ +# 事件通知子系统ChangeLog + +## cl.notification.1 删除标记为废弃的API9接口 + +[事件通知异常处理整改](../OpenHarmony_3.2.8.3/changelogs-notification.md)将部分API9接口标记为了废弃,根据OpenHarmony接口规范,需要删除标记为废弃的API9接口。 + +**变更影响** + +基于此前版本开发的应用,需要将被删除的接口替换为新接口,否则会影响应用编译。 + +**关键接口/组件变更** + +原接口中标记为废弃的API9接口将被删除,可以使用新接口中的同名接口替换。 + +| 原接口 | 新接口 | +| ----------------------- | -------------------------------- | +| @ohos.commonEvent.d.ts | @ohos.commonEventManager.d.ts | +| @ohos.notification.d.ts | @ohos.notificationManager.d.ts | +| @ohos.notification.d.ts | @ohos.notificationSubscribe.d.ts | + +接口、属性被删除: + +- @ohos.notification.d.ts + - 接口 publishAsBundle、cancelAsBundle、isNotificationSlotEnabled、setSyncNotificationEnabledWithoutApp、getSyncNotificationEnabledWithoutApp 被删除。可以使用 api/@ohos.notificationManager.d.ts 的同名接口替换。 + - 接口 enableNotificationSlot 被删除。可以使用 api/@ohos.notificationManager.d.ts 的接口 setNotificationEnableSlot 替换。 + - 导出类 NotificationActionButton、NotificationBasicContent、NotificationContent、NotificationLongTextContent、NotificationMultiLineContent、NotificationPictureContent、NotificationFlags、NotificationFlagStatus、NotificationRequest、DistributedOptions、NotificationSlot、NotificationSorting、NotificationTemplate、NotificationUserInput 被删除。可以使用 api/@ohos.notificationManager.d.ts 的同名导出类替换。 + - 导出类 NotificationSubscribeInfo、NotificationSubscriber、SubscribeCallbackData、EnabledNotificationCallbackData 被删除。可以使用 api/@ohos.notificationSubscribe.d.ts 的同名导出类替换。 + +**适配指导** + +如上所述,仅将老接口平移到了新的namespace中,所以可以通过修改import来解决适配问题: + +如原先接口使用了@ohos.commonEvent + +```js +import commonEvent from '@ohos.commonEvent'; +``` + +可以通过直接修改import,来切换到新的namespace上: + +```js +import commonEvent from '@ohos.commonEventManager'; +``` + +@ohos.notification拆分成了两个namespace,需要根据接口情况选择需要的新namespace进行适配。 + +此外还需要适配异常处理,具体参考新接口的接口文档。 + diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-camera.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-camera.md new file mode 100644 index 0000000000000000000000000000000000000000..9d5c7e9811baa1f5f4a2abbad0702db42aaadacd --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-camera.md @@ -0,0 +1,783 @@ +# 媒体子系统JS API变更Changelog + +OpenHarmony3.2 Beta4版本相较于OpenHarmony3.2 Beta3版本,媒体子系统camera部件API变更如下 + +## camera接口变更 +基于以下原因新增部分功能接口以及废弃部分接口: +1. 提升开发者使用相机接口的便利。 +2. 帮助开发者快速掌握相机开发接口,快速投入到开发当中。 +3. 易于后续版本中框架功能的扩展,降低框架模块之间的耦合度。 + +具体参考下方变更内容,开发者需要根据以下说明对应用进行适配。 + + **变更影响** + +影响API9版本的JS接口,应用需要进行适配才可以在新版本SDK环境正常实现功能。 + +**关键的接口/组件变更** + +| 模块名 | 类名 | 方法/属性/枚举/常量 | 变更类型 | +| ---------------------- | ----------------------- | ------------------------------------------------------------ | -------- | +| ohos.multimedia.camera | Profile | readonly format:CameraFormat; | 新增 | +| ohos.multimedia.camera | Profile | readonly size: Size; | 新增 | +| ohos.multimedia.camera | FrameRateRange | readonly min: number; | 新增 | +| ohos.multimedia.camera | FrameRateRange | readonly max: number; | 新增 | +| ohos.multimedia.camera | VideoProfile | readonly frameRateRange: FrameRateRange; | 新增 | +| ohos.multimedia.camera | CameraOutputCapability | readonly previewProfiles: Array; | 新增 | +| ohos.multimedia.camera | CameraOutputCapability | readonly photoProfiles: Array; | 新增 | +| ohos.multimedia.camera | CameraOutputCapability | readonly videoProfiles: Array; | 新增 | +| ohos.multimedia.camera | CameraOutputCapability | readonly supportedMetadataObjectTypes: Array; | 新增 | +| ohos.multimedia.camera | CameraManager | getSupportedCameras(callback: AsyncCallback>): void;
getSupportedCameras(): Promise>; | 新增 | +| ohos.multimedia.camera | CameraManager | getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback): void;
getSupportedOutputCapability(camera: CameraDevice): Promise; | 新增 | +| ohos.multimedia.camera | CameraManager | isCameraMuted(): boolean; | 新增 | +| ohos.multimedia.camera | CameraManager | isCameraMuteSupported(): boolean; | 新增 | +| ohos.multimedia.camera | CameraManager | muteCamera(mute: boolean): void; | 新增 | +| ohos.multimedia.camera | CameraManager | createCameraInput(camera: CameraDevice, callback: AsyncCallback): void;
createCameraInput(camera: CameraDevice): Promise; | 新增 | +| ohos.multimedia.camera | CameraManager | createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;
createPreviewOutput(profile: Profile, surfaceId: string): Promise; | 新增 | +| ohos.multimedia.camera | CameraManager | createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;
createPhotoOutput(profile: Profile, surfaceId: string): Promise; | 新增 | +| ohos.multimedia.camera | CameraManager | createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback): void;
createVideoOutput(profile: VideoProfile, surfaceId: string): Promise; | 新增 | +| ohos.multimedia.camera | CameraManager | createMetadataOutput(metadataObjectTypes: Array, callback: AsyncCallback): void;
createMetadataOutput(metadataObjectTypes: Array): Promise; | 新增 | +| ohos.multimedia.camera | CameraManager | createCaptureSession(callback: AsyncCallback): void;
createCaptureSession(): Promise; | 新增 | +| ohos.multimedia.camera | CameraManager | on(type: 'cameraMute', callback: AsyncCallback): void; | 新增 | +| ohos.multimedia.camera | CameraManager | getCameras(callback: AsyncCallback>): void;
getCameras(): Promise>; | 废弃 | +| ohos.multimedia.camera | CameraManager | createCameraInput(cameraId: string, callback: AsyncCallback): void;
createCameraInput(cameraId: string): Promise; | 废弃 | +| ohos.multimedia.camera | CameraManager | createCaptureSession(context: Context, callback: AsyncCallback): void;
createCaptureSession(context: Context): Promise; | 废弃 | +| ohos.multimedia.camera | CameraManager | createPreviewOutput(surfaceId: string, callback: AsyncCallback): void;
createPreviewOutput(surfaceId: string): Promise; | 废弃 | +| ohos.multimedia.camera | CameraManager | CreatePhotoOutput(surfaceId: string, callback: AsyncCallback): void;
CreatePhotoOutput(surfaceId: string): Promise; | 废弃 | +| ohos.multimedia.camera | CameraManager | createVideoOutput(surfaceId: string, callback: AsyncCallback): void;
createVideoOutput(surfaceId: string): Promise; | 废弃 | +| ohos.multimedia.camera | CameraManager | createMetadataOutput(callback: AsyncCallback): void;
createVideoOutput(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraStatusInfo | camera: CameraDevice; | 新增 | +| ohos.multimedia.camera | CameraStatusInfo | camera: Camera; | 废弃 | +| ohos.multimedia.camera | CameraDevice | interface CameraDevice | 新增 | +| ohos.multimedia.camera | Camera | interface Camera | 废弃 | +| ohos.multimedia.camera | CameraInput | open(callback: AsyncCallback): void;
open(): Promise; | 新增 | +| ohos.multimedia.camera | CameraInput | close(callback: AsyncCallback): void;
close(): Promise; | 新增 | +| ohos.multimedia.camera | CameraInput | on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void; | 新增 | +| ohos.multimedia.camera | CameraInput | isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback): void;
isFocusModeSupported(afMode: FocusMode): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getFocusMode(callback: AsyncCallback): void;
getFocusMode(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | setFocusMode(afMode: FocusMode, callback: AsyncCallback): void;
setFocusMode(afMode: FocusMode): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getZoomRatioRange(callback: AsyncCallback>): void;
getZoomRatioRange(): Promise>; | 废弃 | +| ohos.multimedia.camera | CameraInput | getZoomRatio(callback: AsyncCallback): void;
getZoomRatio(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | setZoomRatio(zoomRatio: number, callback: AsyncCallback): void;
setZoomRatio(zoomRatio: number): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getCameraId(callback: AsyncCallback): void;
getCameraId(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getExposurePoint(callback: AsyncCallback): void;
getExposurePoint(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | setExposurePoint(exposurePoint: Point, callback: AsyncCallback): void;
setExposurePoint(exposurePoint: Point): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | hasFlash(callback: AsyncCallback): void;
hasFlash(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback): void;
isFlashModeSupported(flashMode: FlashMode): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getFlashMode(callback: AsyncCallback): void;
getFlashMode(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | setFlashMode(flashMode: FlashMode, callback: AsyncCallback): void;
setFlashMode(flashMode: FlashMode): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback): void;
isExposureModeSupported(aeMode: ExposureMode): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getExposureMode(callback: AsyncCallback): void;
getExposureMode(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | setExposureMode(aeMode: ExposureMode, callback: AsyncCallback): void;
setExposureMode(aeMode: ExposureMode): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getMeteringPoint(callback: AsyncCallback): void;
getMeteringPoint(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | setMeteringPoint(point: Point, callback: AsyncCallback): void;
setMeteringPoint(point: Point): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getExposureBiasRange(callback: AsyncCallback>): void;
getExposureBiasRange(): Promise>; | 废弃 | +| ohos.multimedia.camera | CameraInput | setExposureBias(exposureBias: number, callback: AsyncCallback): void;
setExposureBias(exposureBias: number): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getExposureValue(callback: AsyncCallback): void;
getExposureValue(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback): void;
isFocusModeSupported(afMode: FocusMode): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getFocusMode(callback: AsyncCallback): void;
getFocusMode(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | setFocusMode(afMode: FocusMode, callback: AsyncCallback): void;
setFocusMode(afMode: FocusMode): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | setFocusPoint(point: Point, callback: AsyncCallback): void;
setFocusPoint(point: Point): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getFocusPoint(callback: AsyncCallback): void;
getFocusPoint(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getFocalLength(callback: AsyncCallback): void;
getFocalLength(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | getZoomRatioRange(callback: AsyncCallback>): void;
getZoomRatioRange(): Promise>; | 废弃 | +| ohos.multimedia.camera | CameraInput | getZoomRatio(callback: AsyncCallback): void;
getZoomRatio(): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | setZoomRatio(zoomRatio: number, callback: AsyncCallback): void;
setZoomRatio(zoomRatio: number): Promise; | 废弃 | +| ohos.multimedia.camera | CameraInput | on(type: 'focusStateChange', callback: AsyncCallback): void; | 废弃 | +| ohos.multimedia.camera | CameraInput | on(type: 'exposureStateChange', callback: AsyncCallback): void; | 废弃 | +| ohos.multimedia.camera | CameraInput | on(type: 'error', callback: ErrorCallback): void; | 废弃 | +| ohos.multimedia.camera | CameraInputErrorCode | ERROR_NO_PERMISSION = 0 | 新增 | +| ohos.multimedia.camera | CameraInputErrorCode | ERROR_DEVICE_PREEMPTED = 1 | 新增 | +| ohos.multimedia.camera | CameraInputErrorCode | ERROR_DEVICE_DISCONNECTED = 2 | 新增 | +| ohos.multimedia.camera | CameraInputErrorCode | ERROR_DEVICE_IN_USE = 3 | 新增 | +| ohos.multimedia.camera | CameraInputErrorCode | ERROR_DRIVER_ERROR = 4 | 新增 | +| ohos.multimedia.camera | CameraFormat | CAMERA_FORMAT_RGBA_8888 = 3 | 新增 | +| ohos.multimedia.camera | ExposureMode | EXPOSURE_MODE_AUTO = 1 | 新增 | +| ohos.multimedia.camera | ExposureMode | EXPOSURE_MODE_CONTINUOUS_AUTO = 2 | 新增 | +| ohos.multimedia.camera | ExposureMode | EXPOSURE_MODE_AUTO | 废弃 | +| ohos.multimedia.camera | ExposureMode | EXPOSURE_MODE_CONTINUOUS_AUTO | 废弃 | +| ohos.multimedia.camera | VideoStabilizationMode | LOW = 1 | 新增 | +| ohos.multimedia.camera | VideoStabilizationMode | MIDDLE = 2 | 新增 | +| ohos.multimedia.camera | VideoStabilizationMode | HIGH = 3 | 新增 | +| ohos.multimedia.camera | VideoStabilizationMode | AUTO = 4 | 新增 | +| ohos.multimedia.camera | VideoStabilizationMode | LOW | 废弃 | +| ohos.multimedia.camera | VideoStabilizationMode | MIDDLE | 废弃 | +| ohos.multimedia.camera | VideoStabilizationMode | HIGH | 废弃 | +| ohos.multimedia.camera | VideoStabilizationMode | AUTO | 废弃 | +| ohos.multimedia.camera | CaptureSession | addOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
addOutput(cameraOutput: CameraOutput): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
removeOutput(cameraOutput: CameraOutput): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode, callback: AsyncCallback): void;
isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | getActiveVideoStabilizationMode(callback: AsyncCallback): void;
getActiveVideoStabilizationMode(): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | setVideoStabilizationMode(mode: VideoStabilizationMode, callback: AsyncCallback): void;
setVideoStabilizationMode(mode: VideoStabilizationMode): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | on(type: 'focusStateChange', callback: AsyncCallback): void; | 新增 | +| ohos.multimedia.camera | CaptureSession | hasFlash(callback: AsyncCallback): void;
hasFlash(): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback): void;
isFlashModeSupported(flashMode: FlashMode): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | getFlashMode(callback: AsyncCallback): void;
getFlashMode(): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | setFlashMode(flashMode: FlashMode, callback: AsyncCallback): void;
setFlashMode(flashMode: FlashMode): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback): void;
isExposureModeSupported(aeMode: ExposureMode): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | getExposureMode(callback: AsyncCallback): void;
getExposureMode(): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | setExposureMode(aeMode: ExposureMode, callback: AsyncCallback): void;
setExposureMode(aeMode: ExposureMode): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | getMeteringPoint(callback: AsyncCallback): void;
getMeteringPoint(): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | setMeteringPoint(point: Point, callback: AsyncCallback): void;
setMeteringPoint(point: Point): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | getExposureBiasRange(callback: AsyncCallback>): void;
getExposureBiasRange(): Promise>; | 新增 | +| ohos.multimedia.camera | CaptureSession | setExposureBias(exposureBias: number, callback: AsyncCallback): void;
setExposureBias(exposureBias: number): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | getExposureValue(callback: AsyncCallback): void;
getExposureValue(): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback): void;
isFocusModeSupported(afMode: FocusMode): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | getFocusMode(callback: AsyncCallback): void;
getFocusMode(): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | setFocusMode(afMode: FocusMode, callback: AsyncCallback): void;
setFocusMode(afMode: FocusMode): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | setFocusPoint(point: Point, callback: AsyncCallback): void;
setFocusPoint(point: Point): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | getFocusPoint(callback: AsyncCallback): void;
getFocusPoint(): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | getFocalLength(callback: AsyncCallback): void;
getFocalLength(): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | getZoomRatioRange(callback: AsyncCallback>): void;
getZoomRatioRange(): Promise>; | 新增 | +| ohos.multimedia.camera | CaptureSession | getZoomRatio(callback: AsyncCallback): void;
getZoomRatio(): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | setZoomRatio(zoomRatio: number, callback: AsyncCallback): void;
setZoomRatio(zoomRatio: number): Promise; | 新增 | +| ohos.multimedia.camera | CaptureSession | addOutput(previewOutput: PreviewOutput, callback: AsyncCallback): void;
addOutput(previewOutput: PreviewOutput): Promise;
addOutput(photoOutput: PhotoOutput, callback: AsyncCallback): void;
addOutput(photoOutput: PhotoOutput): Promise;
addOutput(videoOutput: VideoOutput, callback: AsyncCallback): void;
addOutput(videoOutput: VideoOutput): Promise; | 废弃 | +| ohos.multimedia.camera | CaptureSession | removeOutput(previewOutput: PreviewOutput, callback: AsyncCallback): void;
removeOutput(previewOutput: PreviewOutput): Promise;
removeOutput(photoOutput: PhotoOutput, callback: AsyncCallback): void;
removeOutput(photoOutput: PhotoOutput): Promise;removeOutput(videoOutput: VideoOutput, callback: AsyncCallback): void;
removeOutput(videoOutput: VideoOutput): Promise;
removeOutput(metadataOutput: MetadataOutput, callback: AsyncCallback): void;
removeOutput(metadataOutput: MetadataOutput): Promise; | 废弃 | +| ohos.multimedia.camera | CaptureSessionErrorCode | ERROR_INSUFFICIENT_RESOURCES = 0 | 新增 | +| ohos.multimedia.camera | CaptureSessionErrorCode | ERROR_TIMEOUT = 1 | 新增 | +| ohos.multimedia.camera | CameraOutput | release(callback: AsyncCallback): void;
release(): Promise; | 新增 | +| ohos.multimedia.camera | PreviewOutput | start(callback: AsyncCallback): void;
start(): Promise; | 新增 | +| ohos.multimedia.camera | PreviewOutput | stop(callback: AsyncCallback): void;
stop(): Promise; | 新增 | +| ohos.multimedia.camera | PreviewOutput | release(callback: AsyncCallback): void;
release(): Promise; | 废弃 | +| ohos.multimedia.camera | PhotoOutput | release(callback: AsyncCallback): void;
release(): Promise; | 废弃 | +| ohos.multimedia.camera | VideoOutput | release(callback: AsyncCallback): void;
release(): Promise; | 废弃 | +| ohos.multimedia.camera | PhotoCaptureSetting | mirror?: boolean; | 新增 | +| ohos.multimedia.camera | PhotoOutputErrorCode | ERROR_DRIVER_ERROR = 0 | 新增 | +| ohos.multimedia.camera | PhotoOutputErrorCode | ERROR_INSUFFICIENT_RESOURCES = 1 | 新增 | +| ohos.multimedia.camera | PhotoOutputErrorCode | ERROR_TIMEOUT = 2 | 新增 | +| ohos.multimedia.camera | VideoOutputErrorCode | ERROR_DRIVER_ERROR = 0 | 新增 | +| ohos.multimedia.camera | MetadataObjectType | FACE_DETECTION = 0 | 新增 | +| ohos.multimedia.camera | MetadataObjectType | FACE = 0 | 废弃 | +| ohos.multimedia.camera | MetadataOutput | on(type: 'error', callback: ErrorCallback): void; | 新增 | +| ohos.multimedia.camera | MetadataOutput | setCapturingMetadataObjectTypes(metadataObjectTypes: Array, callback: AsyncCallback): void;
setCapturingMetadataObjectTypes(metadataObjectTypes: Array): Promise; | 废弃 | +| ohos.multimedia.camera | MetadataOutput | getSupportedMetadataObjectTypes(callback: AsyncCallback>): void;
getSupportedMetadataObjectTypes(): Promise>; | 废弃 | +| ohos.multimedia.camera | MetadataOutputErrorCode | ERROR_UNKNOWN = -1 | 新增 | +| ohos.multimedia.camera | MetadataOutputErrorCode | ERROR_INSUFFICIENT_RESOURCES = 0 | 新增 | +| ohos.multimedia.camera | MetadataOutputError | code: MetadataOutputErrorCode; | 新增 | + +**适配指导** + +除新增接口,和废弃接口之外,开发者需要关注变更的接口的适配: + +从Beta4版本开始,对以下接口进行调整: + +**新增接口** + +1. Profile接口 + + 属性1:readonly format,类型:CameraFormat; + + 属性2:readonly size,类型:Size; + +2. FrameRateRange接口 + + 属性1:readonly min,类型:number; + + 属性2:readonly max,类型:number; + +3. VideoProfile接口,继承自Profile + + 属性:readonly frameRateRange,类型:FrameRateRange; + +4. CameraOutputCapability接口 + + 属性1:readonly previewProfiles,类型:Array; + + 属性2:readonly photoProfiles,类型:Array; + + 属性3:readonly videoProfiles,类型:Array; + + 属性4:readonly supportedMetadataObjectTypes,类型:Array; + +5. CameraManager中新增 + + getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback): void; + + getSupportedOutputCapability(camera: CameraDevice): Promise; + + 参考代码如下: + + ``` + cameraManager.getSupportedCameras().then((cameras) => { + let cameraDevice = cameras[0]; + cameraManager.getSupportedOutputCapability(cameraDevice, (err, CameraOutputCapability) => { + if (err) { + console.error(`Failed to get the outputCapability. ${err.message}`); + return; + } + console.log('Callback returned with an array of supported outputCapability'); + }) + }) + ``` + + ``` + cameraManager.getSupportedCameras().then((cameras) => { + let cameraDevice = cameras[0]; + cameraManager.getSupportedOutputCapability(cameraDevice).then((cameraoutputcapability) => { + console.log('Promise returned with an array of supported outputCapability'); + }) + }) + ``` + +6. CameraManager中新增isCameraMuted(): boolean; + + 参考代码如下: + + ``` + let ismuted = cameraManager.isCameraMuted(); + ``` + +7. CameraManager中新增isCameraMuteSupported(): boolean; + + 参考代码如下: + + ``` + let ismutesuppotred = cameraManager.isCameraMuteSupported(); + ``` + +8. CameraManager中新增muteCamera(mute: boolean): void; + + 参考代码如下: + + ``` + let mute = true; + cameraManager.muteCamera(mute); + ``` + +9. CameraManager中新增on(type: 'cameraMute', callback: AsyncCallback): void; + + 参考代码如下: + + ``` + cameraManager.on('cameraMute', (err, curMuetd) => { + if (err) { + console.error(`Failed to get cameraMute callback. ${err.message}`); + return; + } + }) + ``` + +10. CameraInput中新增open(callback: AsyncCallback): void;以及open(): Promise; + +参考代码如下: + +``` +cameraInput.open((err) => { + if (err) { + console.error(`Failed to open the camera. ${err.message}`); + return; + } + console.log('Callback returned with camera opened.'); +}) +``` + +``` +cameraInput.open().then(() => { + console.log('Promise returned with camera opened.'); +}) +``` + +11. CameraInput中新增close(callback: AsyncCallback): void;以及close(): Promise; + + 参考代码如下: + + ``` + cameraInput.close((err) => { + if (err) { + console.error(`Failed to close the cameras. ${err.message}`); + return; + } + console.log('Callback returned with camera closed.'); + }) + ``` + + ``` + cameraInput.close().then(() => { + console.log('Promise returned with camera closed.'); + }) + ``` + +12. 枚举CameraInputErrorCode中新增 + + 枚举值名称:ERROR_NO_PERMISSION,值:0; + + 枚举值名称:ERROR_DEVICE_PREEMPTED,值:1; + + 枚举值名称:ERROR_DEVICE_DISCONNECTED,值:2; + + 枚举值名称:ERROR_DEVICE_IN_USE,值:3; + + 枚举值名称:ERROR_DRIVER_ERROR,值:4; + +13. 枚举CameraFormat中新增 + + 枚举值名称:CAMERA_FORMAT_RGBA_8888,值:3; + +14. CaptureSession中新增getMeteringPoint(callback: AsyncCallback): void;以及getMeteringPoint(): Promise; + + 参考代码如下: + + ``` + captureSession.getMeteringPoint((err, exposurePoint) => { + if (err) { + console.log(`Failed to get the current exposure point ${err.message}`); + return ; + } + console.log(`Callback returned with current exposure point: ${exposurePoint}`); + }) + ``` + + ``` + captureSession.getMeteringPoint().then((exposurePoint) => { + console.log(`Promise returned with current exposure point : ${exposurePoint}`); + }) + ``` + +15. CaptureSession中新增setMeteringPoint(point: Point, callback: AsyncCallback): void;以及setMeteringPoint(point: Point): Promise; + + 参考代码如下: + + ``` + const Point1 = {x: 1, y: 1}; + + captureSession.setMeteringPoint(Point1,(err) => { + if (err) { + console.log(`Failed to set the exposure point ${err.message}`); + return ; + } + console.log('Callback returned with the successful execution of setMeteringPoint'); + }) + ``` + + ``` + const Point2 = {x: 2, y: 2}; + + captureSession.setMeteringPoint(Point2).then(() => { + console.log('Promise returned with the successful execution of setMeteringPoint'); + }) + ``` + +16. 枚举CaptureSessionErrorCode中新增 + + 枚举值名称:ERROR_INSUFFICIENT_RESOURCES,值:0; + + 枚举值名称:ERROR_TIMEOUT,值:1; + +17. 新增接口CameraOutput,接口下有release(callback: AsyncCallback): void;以及release(): Promise;方法 + + 参考代码如下:用previewOutput做示例 + + ``` + previewOutput.release((err) => { + if (err) { + console.error(`Failed to release the PreviewOutput instance ${err.message}`); + return; + } + console.log('Callback invoked to indicate that the PreviewOutput instance is released successfully.'); + }); + ``` + + ``` + previewOutput.release().then(() => { + console.log('Promise returned to indicate that the PreviewOutput instance is released successfully.'); + }) + ``` + +18. PreviewOutput中新增start(callback: AsyncCallback): void;以及start(): Promise; + + 参考代码如下 + + ``` + previewOutput.start((err) => { + if (err) { + console.error(`Failed to start the previewOutput. ${err.message}`); + return; + } + console.log('Callback returned with previewOutput started.'); + }) + ``` + + ``` + previewOutput.start().then(() => { + console.log('Promise returned with previewOutput started.'); + }) + ``` + +19. PreviewOutput中新增stop(callback: AsyncCallback): void;以及stop(): Promise; + + 参考代码如下 + + ``` + previewOutput.stop((err) => { + if (err) { + console.error(`Failed to stop the previewOutput. ${err.message}`); + return; + } + console.log('Callback returned with previewOutput stopped.'); + }) + ``` + + ``` + previewOutput.stop().then(() => { + console.log('Callback returned with previewOutput stopped.'); + }) + ``` + +20. PhotoCaptureSetting接口 + + 属性1:mirror?,类型:boolean; + +21. 枚举PhotoOutputErrorCode中新增 + + 枚举值名称:ERROR_DRIVER_ERROR,值:0; + + 枚举值名称:ERROR_INSUFFICIENT_RESOURCES,值:1; + + 枚举值名称:ERROR_TIMEOUT,值:2; + +22. 枚举VideoOutputErrorCode中新增 + + 枚举值名称:ERROR_DRIVER_ERROR,值:0; + +23. MetadataOutput中新增on(type: 'error', callback: ErrorCallback): void; + + 参考代码如下 + + ``` + metadataOutput.on('error', (metadataOutputError) => { + console.log(`Metadata output error code: ${metadataOutputError.code}`); + }) + ``` + +24. MetadataOutputErrorCode枚举 + + 枚举值名称:ERROR_UNKNOWN,值:-1; + + 枚举值名称:ERROR_INSUFFICIENT_RESOURCES,值:0; + +25. MetadataOutputError接口 + + 属性名称:code,值:MetadataOutputErrorCode + +**废弃接口** + +1. CameraInput中废弃接口on(type: 'exposureStateChange', callback: AsyncCallback): void; + +2. previewOutput中废弃接口release(callback: AsyncCallback): void;以及release(): Promise; + +3. metadataOutput中废弃接口 + + setCapturingMetadataObjectTypes(metadataObjectTypes: Array, callback: AsyncCallback): void;
setCapturingMetadataObjectTypes(metadataObjectTypes: Array): Promise; + +4. metadataOutput中废弃接口 + + getSupportedMetadataObjectTypes(callback: AsyncCallback>): void;
getSupportedMetadataObjectTypes(): Promise>; + +5. PreviewOutput中废弃接口release(callback: AsyncCallback): void;以及release(): Promise; + +6. PhotoOutput中废弃接口release(callback: AsyncCallback): void;以及release(): Promise; + +7. VideoOutput中废弃接口release(callback: AsyncCallback): void;以及release(): Promise; + +8. CameraInput中废弃接口getCameraId(callback: AsyncCallback): void;以及getCameraId(): Promise; + +9. CameraInput中废弃接口getExposurePoint(callback: AsyncCallback): void;以及getExposurePoint(): Promise; + +10. CameraInput中废弃接口setExposurePoint(exposurePoint: Point, callback: AsyncCallback): void;以及setExposurePoint(exposurePoint: Point): Promise; + +**接口变更** + +1. CameraManager中接口getCameras返回值由Array变更为Array,接口名由getCameras 更换为 getSupportedCameras,因此旧接口getCameras(callback: AsyncCallback>): void;以及getCameras(): Promise>;变更为getSupportedCameras(callback: AsyncCallback>): void和getSupportedCameras(): Promise>; + + 参考代码如下: + + ``` + cameraManager.getSupportedCameras((err, cameras) => { + if (err) { + console.error(`Failed to get the cameras. ${err.message}`); + return; + } + console.log(`Callback returned with an array of supported cameras: ${cameras.length}`); + }) + ``` + + ``` + cameraManager.getSupportedCameras().then((cameras) => { + console.log(`Promise returned with an array of supported cameras: ${cameras.length}`); + }) + ``` + +2. CameraManager中接口createCameraInput传递参数由原来cameraId: string变更为camera: CameraDevice,因此旧接口createCameraInput(cameraId: string, callback: AsyncCallback): void;以及createCameraInput(cameraId: string): Promise;变更为createCameraInput(camera: CameraDevice, callback: AsyncCallback): void;和createCameraInput(camera: CameraDevice): Promise; + + 参考代码如下: + + ``` + let cameraDevice = cameras[0]; + cameraManager.createCameraInput(cameraDevice, (err, cameraInput) => { + if (err) { + console.error(`Failed to create the CameraInput instance. ${err.message}`); + return; + } + console.log('Callback returned with the CameraInput instance.'); + }) + ``` + + ``` + let cameraDevice = cameras[0]; + cameraManager.createCameraInput(cameraDevice).then((cameraInput) => { + console.log('Promise returned with the CameraInput instance'); + }) + ``` + +3. CameraManager中接口createPreviewOutput新增传递参数profile: Profile,profile参数由getSupportedOutputCapability接口获取,因此旧接口createPreviewOutput(surfaceId: string, callback: AsyncCallback): void;以及createPreviewOutput(surfaceId: string): Promise;变更为createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;createPreviewOutput(profile: Profile, surfaceId: string): Promise; + + 参考代码如下: + + ``` + let profile = cameraoutputcapability.previewProfiles[0]; + cameraManager.createPreviewOutput(profile, surfaceId, (err, previewOutput) => { + if (err) { + console.error(`Failed to gcreate previewOutput. ${err.message}`); + return; + } + console.log('Callback returned with previewOutput created.'); + }) + ``` + + ``` + let profile = cameraoutputcapability.previewProfiles[0]; + cameraManager.createPreviewOutput(profile, surfaceId).then((previewOutput) => { + console.log('Promise returned with previewOutput created.'); + }) + ``` + +4. CameraManager中接口createPhotoOutput新增传递参数profile: Profile,profile参数由getSupportedOutputCapability接口获取,因此旧接口CreatePhotoOutput(surfaceId: string, callback: AsyncCallback): void;以及CreatePhotoOutput(surfaceId: string): Promise;变更为createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;和createPhotoOutput(profile: Profile, surfaceId: string): Promise; + + 参考代码如下: + + ``` + let profile = cameraoutputcapability.photoProfiles[0]; + cameraManager.createPhotoOutput(profile, surfaceId, (err, photoOutput) => { + if (err) { + console.error(`Failed to create photoOutput. ${err.message}`); + return; + } + console.log('Callback returned with photoOutput created.'); + }) + ``` + + ``` + let profile = cameraoutputcapability.photoProfiles[0]; + cameraManager.createPhotoOutput(profile, surfaceId).then((photoOutput) => { + console.log('Promise returned with photoOutput created.'); + }) + ``` + +5. CameraManager中接口createVideoOutput新增传递参数profile: Profile,profile参数由getSupportedOutputCapability接口获取,因此旧接口createVideoOutput(surfaceId: string, callback: AsyncCallback): void;以及createVideoOutput(surfaceId: string): Promise;变更为createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback): void;和createVideoOutput(profile: VideoProfile, surfaceId: string): Promise; + + 参考代码如下: + + ``` + let profile = cameraoutputcapability.videoProfiles[0]; + cameraManager.createVideoOutput(profile, surfaceId, (err, videoOutput) => { + if (err) { + console.error(`Failed to create videoOutput. ${err.message}`); + return; + } + console.log('Callback returned with an array of supported outputCapability' ); + }) + ``` + + ``` + let profile = cameraoutputcapability.videoProfiles[0]; + cameraManager.createVideoOutput(profile, surfaceId).then((videoOutput) => { + console.log('Promise returned with videoOutput created.'); + }) + ``` + +6. CameraManager中接口createMetadataOutput新增传递参数metadataObjectTypes: Array,metadataObjectTypes参数由getSupportedOutputCapability接口获取,因此旧接口function createMetadataOutput(callback: AsyncCallback): void;以及function createMetadataOutput(): Promise;变更为createMetadataOutput(metadataObjectTypes: Array, callback: AsyncCallback): void;和createMetadataOutput(metadataObjectTypes: Array): Promise; + + 参考代码如下: + + ``` + let metadataObjectTypes = cameraoutputcapability.supportedMetadataObjectTypes; + cameraManager.createMetadataOutput(metadataObjectTypes, (err, metadataOutput) => { + if (err) { + console.error(`Failed to create metadataOutput. ${err.message}`); + return; + } + console.log('Callback returned with metadataOutput created.'); + }) + ``` + + ``` + let metadataObjectTypes = cameraoutputcapability.supportedMetadataObjectTypes; + cameraManager.createMetadataOutput(metadataObjectTypes).then((metadataOutput) => { + console.log('Promise returned with metadataOutput created.'); + }) + ``` + +7. CameraManager中createCaptureSession不需要考虑context属性,因此旧接口createCaptureSession(context: Context, callback: AsyncCallback): void;以及createCaptureSession(context: Context): Promise;改为createCaptureSession(callback: AsyncCallback): void;和createCaptureSession(): Promise; + + 参考代码如下: + + ```typescript + cameraManager.createCaptureSession((err, captureSession) => { + if (err) { + console.error(`Failed to create captureSession. ${err.message}`); + return; + } + console.log('Callback returned with captureSession created.'); + }) + ``` + + ``` + cameraManager.createCaptureSession().then((captureSession) => { + console.log('Promise returned with captureSession created.'); + }) + ``` + +8. CameraStatusInfo接口下属性camera类型由Camera变更为CameraDevice + +9. CameraInput中接口on(type: 'error')新增传递参数camera: CameraDevice,因此旧接口on(type: 'error', callback: ErrorCallback): void;变更为on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void; + + 参考代码如下: + + ``` + let cameraDevice = cameras[0]; + cameraInput.on('error', cameraDevice, (cameraInputError) => { + console.log(`Camera input error code: ${cameraInputError.code}`); + }) + ``` + +10. CameraInput中以下接口调整到CaptureSession中 + + hasFlash(callback: AsyncCallback): void;
hasFlash(): Promise;
+ + isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback): void;
isFlashModeSupported(flashMode: FlashMode): Promise;
+ + getFlashMode(callback: AsyncCallback): void;
getFlashMode(): Promise;
+ + setFlashMode(flashMode: FlashMode, callback: AsyncCallback): void;
setFlashMode(flashMode: FlashMode): Promise;
+ + isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback): void;
isExposureModeSupported(aeMode: ExposureMode): Promise;
+ + getExposureMode(callback: AsyncCallback): void;
getExposureMode(): Promise;
+ + setExposureMode(aeMode: ExposureMode, callback: AsyncCallback): void;
setExposureMode(aeMode: ExposureMode): Promise;
+ + getMeteringPoint(callback: AsyncCallback): void;
getMeteringPoint(): Promise;
+ + setMeteringPoint(point: Point, callback: AsyncCallback): void;
setMeteringPoint(point: Point): Promise;
+ + getExposureBiasRange(callback: AsyncCallback>): void;
getExposureBiasRange(): Promise>;
+ + setExposureBias(exposureBias: number, callback: AsyncCallback): void;
setExposureBias(exposureBias: number): Promise;
+ + getExposureValue(callback: AsyncCallback): void;
getExposureValue(): Promise;
+ + isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback): void;
isFocusModeSupported(afMode: FocusMode): Promise;
+ + getFocusMode(callback: AsyncCallback): void;
getFocusMode(): Promise;
+ + setFocusMode(afMode: FocusMode, callback: AsyncCallback): void;
setFocusMode(afMode: FocusMode): Promise;
+ + setFocusPoint(point: Point, callback: AsyncCallback): void;
setFocusPoint(point: Point): Promise;
+ + getFocusPoint(callback: AsyncCallback): void;
getFocusPoint(): Promise;
+ + getFocalLength(callback: AsyncCallback): void;
getFocalLength(): Promise;
+ + getZoomRatioRange(callback: AsyncCallback>): void;
getZoomRatioRange(): Promise>;
+ + getZoomRatio(callback: AsyncCallback): void;
getZoomRatio(): Promise;
+ + setZoomRatio(zoomRatio: number, callback: AsyncCallback): void;
setZoomRatio(zoomRatio: number): Promise; + +11. CameraInput中接口on(type: 'focusStateChange', callback: AsyncCallback): void;调整到CaptureSession中,对应接口on(type: 'focusStateChange', callback: AsyncCallback): void; + + 参考代码如下: + + ``` + captureSession.on('focusStateChange', (focusState) => { + console.log(`Focus state : ${focusState}`); + }) + ``` + +12. 枚举ExposureMode中 + + 枚举值名称:EXPOSURE_MODE_AUTO,初值由默认变更为1; + + 枚举值名称:EXPOSURE_MODE_CONTINUOUS_AUTO,初值由默认变更为2; + +13. 枚举VideoStabilizationMode中 + + 枚举值名称:LOW,初值由默认变更为1; + + 枚举值名称:MIDDLE,初值由默认变更为2; + + 枚举值名称:HIGH,初值由默认变更为3; + + 枚举值名称:AUTO,初值由默认变更为4; + +14. CaptureSession中接口addOutput参数由原来子类类型(PreviewOutput,PhotoOutput,VideoOutput,MetadataOutput)统一修改为基类类型(CameraOutput),变更后由原来8个接口缩减为2个接口。 + + 改变前接口为: + + addOutput(previewOutput: PreviewOutput, callback: AsyncCallback): void;
addOutput(previewOutput: PreviewOutput): Promise;
addOutput(photoOutput: PhotoOutput, callback: AsyncCallback): void;
addOutput(photoOutput: PhotoOutput): Promise;
addOutput(videoOutput: VideoOutput, callback: AsyncCallback): void;
addOutput(videoOutput: VideoOutput): Promise;
addOutput(metadataOutput: MetadataOutput, callback: AsyncCallback): void;
addOutput(metadataOutput: MetadataOutput): Promise; + + 改变后接口为: + + addOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
addOutput(cameraOutput: CameraOutput): Promise; + + 参考代码如下:以PreviewOutput为例 + + ``` + captureSession.addOutput(previewOutput, (err) => { + if (err) { + console.error(`Failed to add output. ${err.message}`); + return; + } + console.log('Callback returned with output added.'); + }) + ``` + + ``` + captureSession.addOutput(previewOutput).then(() => { + console.log('Promise returned with cameraOutput added.'); + }) + ``` + +15. CaptureSession中接口removeOutput参数由原来子类类型(PreviewOutput,PhotoOutput,VideoOutput,MetadataOutput)统一修改为基类类型(CameraOutput),变更后由原来8个接口缩减为2个接口。 + + 改变前接口为: + + removeOutput(previewOutput: PreviewOutput, callback: AsyncCallback): void;
removeOutput(previewOutput: PreviewOutput): Promise;
removeOutput(photoOutput: PhotoOutput, callback: AsyncCallback): void;
removeOutput(photoOutput: PhotoOutput): Promise;
removeOutput(videoOutput: VideoOutput, callback: AsyncCallback): void;
removeOutput(videoOutput: VideoOutput): Promise;
removeOutput(metadataOutput: MetadataOutput, callback: AsyncCallback): void;
removeOutput(metadataOutput: MetadataOutput): Promise; + + 改变后接口为: + + removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
removeOutput(cameraOutput: CameraOutput): Promise; + + 参考代码如下:以PreviewOutput为例 + + ``` + captureSession.removeOutput(previewOutput, (err) => { + if (err) { + console.error(`Failed to remove the CameraOutput instance. ${err.message}`); + return; + } + console.log('Callback invoked to indicate that the CameraOutput instance is removed.'); + }); + ``` + + ``` + captureSession.removeOutput(previewOutput).then(() => { + console.log('Promise returned to indicate that the CameraOutput instance is removed.'); + }) + ``` + +16. 枚举MetadataObjectType中 + + 枚举值名称由FACE变更为FACE_DETECTION; + +17. 接口Camera名称更改为CameraDevice diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-filemanagement.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-filemanagement.md new file mode 100644 index 0000000000000000000000000000000000000000..15cf796c6820cfb09820d43fe3e4c52d7b7f15f9 --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-filemanagement.md @@ -0,0 +1,90 @@ +# 文件管理子系统ChangeLog + +## cl.filemanagement.1 fileio相关接口异常处理方式变更 + +file_api部件fileio接口返回值不包含错误码error.code,现进行错误码整改,废弃原有相关接口,新增相关接口。 + +**变更影响** + +基于此前版本开发的应用,需注意废弃接口的迭代更新。新接口在接口规格上进行了微调,需注意新接口使用方法。 + +**关键接口/组件变更** + +为适配统一的API异常处理方式,对fileio相关接口进行废弃,并新增对应接口,原接口位于@ohos.fileio,新接口位于@ohos.file.fs。新增接口支持统一的错误码异常处理规范,功能上与原接口保持一致,参数上有微调。 + +| 模块名 | 方法/属性/枚举/常量 | 变更类型 | +| ------------------------- | ------------------------------------------------------------ | -------- | +| @ohos.fileio | **function** open(path: string, flags?: number, mode?: number, callback?: AsyncCallback): void \| Promise; | 废弃 | +| @ohos.fileio | **function** openSync(path: string, flags?: number, mode?: number): number; | 废弃 | +| @ohos.file.fs | **function** open(path: string, mode?: number, callback?: AsyncCallback): void \| Promise; | 新增 | +| @ohos.file.fs | **function** openSync(path: string, mode?: number): File; | 新增 | +| @ohos.fileio | **function** read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }, callback?: AsyncCallback): void \| Promise; | 废弃 | +| @ohos.fileio | **function** readSync(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }): number; | 废弃 | +| @ohos.file.fs | **function** read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; }, callback?: AsyncCallback): void \| Promise; | 新增 | +| @ohos.file.fs | **function** readSync(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): number; | 新增 | +| @ohos.fileio | **function** stat(path: string, callback?: AsyncCallback): void \| Promise; | 废弃 | +| @ohos.fileio | **function** statSync(path: string): Stat; | 废弃 | +| @ohos.fileio | **function** fstat(fd: number, callback?: AsyncCallback): void \| Promise; | 废弃 | +| @ohos.fileio | **function** fstatSync(fd: number): Stat; | 废弃 | +| @ohos.file.fs | **function** stat(file: string \| number, callback?: AsyncCallback): void \| Promise; | 新增 | +| @ohos.file.fs | **function** statSync(file: string \| number): Stat; | 新增 | +| @ohos.fileio | **function** truncate(path: string, len?: number, callback?: AsyncCallback): void \| Promise; | 废弃 | +| @ohos.fileio | **function** truncateSync(path: string, len?: number): void; | 废弃 | +| @ohos.fileio | **function** ftruncate(fd: number, len?: number, callback?: AsyncCallback): void \| Promise; | 废弃 | +| @ohos.fileio | **function** ftruncateSync(fd: number, len?: number): void; | 废弃 | +| @ohos.file.fs | **function** truncate(file: string \| number, len?: number, callback?: AsyncCallback): void \| Promise; | 新增 | +| @ohos.file.fs | **function** truncateSync(file: string \| number, len?: number): void; | 新增 | +| @ohos.fileio | **function** write(fd: number, buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }, callback?: AsyncCallback): void \| Promise; | 废弃 | +| @ohos.fileio | **function** writeSync(fd: number, buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): number; | 废弃 | +| @ohos.file.fs | **function** write(fd: number, buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; encoding?: string; }, callback?: AsyncCallback): void \| Promise; | 新增 | +| @ohos.file.fs | **function** writeSync(fd: number, buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; encoding?: string; }): number; | 新增 | + +**适配指导** + +原接口使用的是@ohos.fileio,以以下方式import: + +```js +import fileio from '@ohos.fileio'; +``` + +现新接口使用的是@ohos.file.fs,以以下方式import: + +```js +import fs from '@ohos.file.fs'; +``` + +此外还需要适配异常处理,同步接口异常处理示例代码: +```js +import fs from '@ohos.file.fs' + +try { + let file = fs.openSync(path, fs.OpenMode.READ_ONLY); +} catch (err) { + console.error("openSync errCode:" + err.code + ", errMessage:" + err.message); +} +``` +异步接口promise方法异常处理示例代码: +```js +import fs from '@ohos.file.fs' + +try { + let file = await fs.open(path, fs.OpenMode.READ_ONLY); +} catch (err) { + console.error("open promise errCode:" + err.code + ", errMessage:" + err.message); +} +``` + +异步接口callback方法异常处理示例代码: +```js +import fs from '@ohos.file.fs' + +try { + fs.open(path, fs.OpenMode.READ_ONLY, function(e, file){ //异步线程的错误(如系统调用等)在回调中获取 + if (e) { + console.error("open in async errCode:" + e.code + ", errMessage:" + e.message); + } + }); +} catch (err) { //主线程的错误(如非法参数等)通过try catch获取 + console.error("open callback errCode:" + err.code + ", errMessage:" + err.message); +} +``` diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-inputmethod-framworks.md b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-inputmethod-framworks.md new file mode 100644 index 0000000000000000000000000000000000000000..2f2096bfbc50c7558cc65e95d22d93fae5b0eaf7 --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-inputmethod-framworks.md @@ -0,0 +1,196 @@ +# 输入法框架changeLog + +## cl.inputmethod_frameworks.1 API错误信息返回方式变更 + +下列模块内部接口使用业务逻辑返回值表示错误信息,不符合OpenHarmony接口错误码规范。在API9进行变更。 + + - 输入法框架模块:系统接口,@ohos.inputmethod.d.ts + + - 输入法服务模块:系统接口,@ohos.inputmethodengine.d.ts + + - 输入法ExtentionAbility模块:系统接口,@ohos.inputmethodextensionability.d.ts + + - 输入法ExtentionContext模块:系统接口,@ohos.inputmethodextensioncontext.d.ts + + - 输入法子类型模块:系统接口,@ohos.inputMethodSubtype.d.ts + +异步接口:通过AsyncCallback或Promise的error对象返回错误信息。 + +同步接口:通过抛出异常的方式返回错误信息。 + +**变更影响** + +基于此前版本开发的应用,需适配接口的错误信息返回方式,否则会影响原有业务逻辑。 + +**关键接口/组件变更** + +在以下接口增加错误码处理: + - getSetting(): InputMethodSetting; + - getController(): InputMethodController; + - switchInputMethod(target: InputMethodProperty, callback: AsyncCallback): void; + - switchInputMethod(target: InputMethodProperty): Promise; + - switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallback): void; + - switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise; + - switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype, callback: AsyncCallback): void; + - switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype): Promise; + - listInputMethodSubtype(inputMethodProperty: InputMethodProperty, callback: AsyncCallback>): void; + - listInputMethodSubtype(inputMethodProperty: InputMethodProperty): Promise>; + - listCurrentInputMethodSubtype(callback: AsyncCallback>): void; + - listCurrentInputMethodSubtype(): Promise>; + - getInputMethods(enable: boolean, callback: AsyncCallback>): void; + - getInputMethods(enable: boolean): Promise>; + - showOptionalInputMethods(callback: AsyncCallback): void; + - showOptionalInputMethods(): Promise; + - stopInputSession(callback: AsyncCallback): void; + - stopInputSession(): Promise; + - showSoftKeyboard(callback: AsyncCallback): void; + - showSoftKeyboard():Promise; + - hideSoftKeyboard(callback: AsyncCallback): void; + - hideSoftKeyboard():Promise; + - hide(callback: AsyncCallback): void; + - hide(): Promise; + - onCreate(want: Want): void; + - onDestroy(): void; + InputClient 接口下: + - sendKeyFunction(action: number, callback: AsyncCallback): void; + - sendKeyFunction(action: number): Promise; + - deleteForward(length: number, callback: AsyncCallback): void; + - deleteForward(length: number): Promise; + - deleteBackward(length: number, callback: AsyncCallback): void; + - deleteBackward(length: number): Promise; + - insertText(text: string, callback: AsyncCallback): void; + - insertText(text: string): Promise; + - getForward(length: number, callback: AsyncCallback): void; + - getForward(length: number): Promise; + - getBackward(length: number, callback: AsyncCallback): void; + - getBackward(length: number): Promise; + - getEditorAttribute(callback: AsyncCallback): void; + - getEditorAttribute(): Promise; + - moveCursor(direction: number, callback: AsyncCallback): void; + - moveCursor(direction: number): Promise; + InputMethodExtensionAbility 类下: + - onCreate(want: Want): void; + - onDestroy(): void; + +**适配指导** + +异步接口以showOptionalInputMethods为例,示例代码如下: + +callback回调: + +```js +import inputMethod from '@ohos.inputmethod'; +let inputMethodSetting = inputMethod.getSetting(); +try { + inputMethodSetting.showOptionalInputMethods((err, data) => { + if (err !== undefined) { + console.error('Failed to showOptionalInputMethods: ' + JSON.stringify(err)); + return; + } + console.info('Succeeded in showing optionalInputMethods.'); + }); +} catch (err) { + console.error('Failed to showOptionalInputMethods: ' + JSON.stringify(err)); +} +``` + +Promise回调: + +```js +import inputMethod from '@ohos.inputmethod'; +let inputMethodSetting = inputMethod.getSetting(); +inputMethodSetting.showOptionalInputMethods().then((data) => { + console.info('Succeeded in showing optionalInputMethods.'); +}).catch((err) => { + console.error('Failed to showOptionalInputMethods: ' + JSON.stringify(err)); +}) +``` + +## cl.inputmethod_frameworks.2 API部分接口废弃 + +以下接口标记废除: + - getInputMethodSetting(): InputMethodSetting; + - getInputMethodController(): InputMethodController; + - listInputMethod(callback: AsyncCallback>): void; + - listInputMethod(): Promise>; + - displayOptionalInputMethod(callback: AsyncCallback): void; + - displayOptionalInputMethod(): Promise; + - stopInput(callback: AsyncCallback): void; + - stopInput(): Promise; + interface InputMethodProperty: + - readonly packageName: string; + - readonly methodId: string; + - getInputMethodEngine(): InputMethodEngine; + - createKeyboardDelegate(): KeyboardDelegate; + - hideKeyboard(callback: AsyncCallback): void; + - hideKeyboard(): Promise; + +替代接口如下: + - getSetting(): InputMethodSetting; + - getController(): InputMethodController; + - getInputMethods(enable: boolean, callback: AsyncCallback>): void; + - getInputMethods(enable: boolean): Promise>; + - showOptionalInputMethods(callback: AsyncCallback): void; + - showOptionalInputMethods(): Promise; + - stopInputSession(callback: AsyncCallback): void; + - stopInputSession(): Promise; + interface InputMethodProperty: + - readonly name: string; + - readonly id: string; + - getInputMethodAbility(): InputMethodAbility; + - getKeyboardDelegate(): KeyboardDelegate; + - hide(callback: AsyncCallback): void; + - hide(): Promise; + +**特别注意:** + 使用getInputMethodAbility()接口获取到InputMethodAbility对象,代替使用getInputMethodEngine()接口获取InputMethodEngine对象。 + 使用InputMethodAbility中的方法,不要再使用InputMethodEngine中的方法。 + 使用InputMethodAbility中的on('inputStart')方法,获取到KeyboardController实例与InputClient实例,不要再使用InputMethodEngine中的on('inputStart')方法去获取TextInputClient实例。 +之前: + +```js +inputMethodEngine.getInputMethodEngine().on('inputStart', (kbController, textClient) => { + let keyboardController = kbController; + let textInputClient = textClient; // 获取到TextInputClient实例 +}); +``` + +之后: +```js +inputMethodEngine.getInputMethodAbility().on('inputStart', (kbController, client) => { + let keyboardController = kbController; + let inputClient = client; // // 获取到InputClient实例 +}); +``` + +## cl.inputmethod_frameworks.3 API部分接口变更 + +变更前: + - listInputMethod(enable: boolean, callback: AsyncCallback>): void; + - listInputMethod(enable: boolean): Promise>; + - terminateSelf(callback: AsyncCallback): void; + - terminateSelf(): Promise; + +变更后: + - getInputMethods(enable: boolean, callback: AsyncCallback>): void; + - getInputMethods(enable: boolean): Promise>; + - destroy(callback: AsyncCallback): void; + - destroy(): Promise; + +删除API9接口: + - startAbility(want: Want, callback: AsyncCallback): void; + - startAbility(want: Want, options: StartOptions, callback: AsyncCallback): void; + - startAbility(want: Want, options?: StartOptions): Promise; + +其他新增接口: + - on(type: 'imeChange', callback: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void; + - off(type: 'imeChange', callback?: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void; + - interface InputMethodProperty: + - readonly label?: string; + - readonly icon?: string; + - readonly iconId?: number; + - extra: object; + + - interface InputMethodAbility: + - on(type: 'setSubtype', callback: (inputMethodSubtype: InputMethodSubtype) => void): void; + - off(type: 'setSubtype', callback?: (inputMethodSubtype: InputMethodSubtype) => void): void; \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-account_os_account.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-account_os_account.md new file mode 100644 index 0000000000000000000000000000000000000000..bf26a15f894d6fd568f51a3fcaf6a269d33ad999 --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-account_os_account.md @@ -0,0 +1,20 @@ +# 帐号子系统ChangeLog + +## cl.account_os_account.1 分布式帐号昵称和头像规格扩大 + +已有分布式帐号的昵称长度和头像大小的规格过小,无法满足其他昵称较长、头像较大的使用场景。 + +因此,将分布式帐号昵称长度和头像大小的规格扩大。 + +**变更影响** + +该接口变更前向兼容,基于此前版本开发的应用可按照最新规格使用该接口,原有逻辑不受影响。 + +**关键接口/组件变更** + +变更前: + - 昵称长度限制为20个字符,头像大小限制为3M + +变更后: + - 昵称长度限制为1024个字符,头像大小限制为10M + diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-time.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-time.md new file mode 100644 index 0000000000000000000000000000000000000000..3a31803cc7ba744c449fe784b587a13b2a22fea8 --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-time.md @@ -0,0 +1,31 @@ +# 时间时区子系统ChangeLog + +## cl.time.1 接口异常抛出变更 + +时间时区子系统定时器接口异常抛出:202非系统应用异常和401参数无效异常。 + +**变更影响** + +该接口变更前向兼容,基于此前版本开发的应用可继续使用接口,增加相应的异常处理,原有功能不受影响。 + +**关键接口/组件变更** + +变更前: + - 接口异常抛出message,无错误码。 + +变更后: + - 接口异常抛出message和code,包括202非系统应用异常和401参数无效异常。 + + | 模块名 | 类名 | 方法/属性/枚举/常量 | 变更类型 | + | ----------------- | ----------- | ------------------------------------------------------------ | -------- | + | @ohos.systemTimer | systemTimer | function createTimer(options: TimerOptions, callback: AsyncCallback): void | 变更 | + | @ohos.systemTimer | systemTimer | function createTimer(options: TimerOptions): Promise | 变更 | + | @ohos.systemTimer | systemTimer | function startTimer(timer: number, triggerTime: number, callback: AsyncCallback): void | 变更 | + | @ohos.systemTimer | systemTimer | function startTimer(timer: number, triggerTime: number): Promise | 变更 | + | @ohos.systemTimer | systemTimer | function stopTimer(timer: number, callback: AsyncCallback): void | 变更 | + | @ohos.systemTimer | systemTimer | function stopTimer(timer: number): Promise | 变更 | + | @ohos.systemTimer | systemTimer | function destroyTimer(timer: number, callback: AsyncCallback): void | 变更 | + | @ohos.systemTimer | systemTimer | function destroyTimer(timer: number): Promise | 变更 | + + + diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-geoLocationManager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-geoLocationManager.md new file mode 100644 index 0000000000000000000000000000000000000000..f1e652c43fe7e78d6642b34871cadccd7c2ca85d --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-geoLocationManager.md @@ -0,0 +1,18 @@ +# 位置服务子系统ChangeLog + +## cl.location.1 删除API9接口geoLocationManager.requestEnableLocation + +在位置开关关闭的场景下,应用可以调用geoLocationManager.requestEnableLocation接口,以请求用户开启位置开关;实际该接口使用较少,并且该接口用户体验不太好,并没有告诉用户该应用在什么场景下使用位置信息。 + +因此变更为由应用本身弹框请求用户跳转到settings开启位置开关,并且在弹框上写清楚会在什么场景下使用位置信息,这样用户体验更好。 + +**变更影响** + +在API9上应用无法使用geoLocationManager.requestEnableLocation请求用户开启位置开关,需要应用自己实现弹框,请求用户开启位置开关。 + +**关键的接口/组件变更** + +| 类名 | 接口类型 | 接口声明 | 变更类型 | +| -- | -- | -- | -- | +|geoLocationManager| method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | 该接口从API9中删除 | +|geoLocationManager| method | function requestEnableLocation(): Promise<boolean>; | 该接口从API9中删除 | diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-wifiManager.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-wifiManager.md new file mode 100644 index 0000000000000000000000000000000000000000..e24ff589dd249e8593c17b5fddaf3f217a655743 --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-wifiManager.md @@ -0,0 +1,62 @@ +# 基础通信子系统WiFi ChangeLog + +## cl.location.1 位置服务权限变更 + +从API9开始,增加ohos.permission.APPROXIMATELY_LOCATION,表示模糊位置权限。 + +如果应用开发者使用的API版本大于等于9,则需要同时申请ohos.permission.LOCATION和ohos.permission.APPROXIMATELY_LOCATION,单独申请ohos.permission.LOCATION会失败。 + +**变更影响** + +如果是存量应用(使用的API版本小于9),则无影响。如果使用的API版本大于等于9,位置服务权限申请方式有变更,详情如下: + +应用在使用系统能力前,需要检查是否已经获取用户授权访问设备位置信息。如未获得授权,可以向用户申请需要的位置权限,申请方式请参考下文。 + +系统提供的定位权限有: + +- ohos.permission.LOCATION + +- ohos.permission.APPROXIMATELY_LOCATION + +- ohos.permission.LOCATION_IN_BACKGROUND + +访问设备的位置信息,必须申请权限,并且获得用户授权。 + +API9之前的版本,申请ohos.permission.LOCATION即可。 + +API9及之后的版本,需要申请ohos.permission.APPROXIMATELY_LOCATION或者同时申请ohos.permission.APPROXIMATELY_LOCATION和ohos.permission.LOCATION;无法单独申请ohos.permission.LOCATION。 + +| 使用的API版本 | 申请位置权限 | 申请结果 | 位置的精确度 | +| -------- | -------- | -------- | -------- | +| 小于9 | ohos.permission.LOCATION | 成功 | 获取到精准位置,精准度在米级别。 | +| 大于等于9 | ohos.permission.LOCATION | 失败 | 无法获取位置。 | +| 大于等于9 | ohos.permission.APPROXIMATELY_LOCATION | 成功 | 获取到模糊位置,精确度为5公里。 | +| 大于等于9 | ohos.permission.APPROXIMATELY_LOCATION和ohos.permission.LOCATION | 成功 | 获取到精准位置,精准度在米级别。 | + +如果应用在后台运行时也需要访问设备位置,除需要将应用声明为允许后台运行外,还必须申请ohos.permission.LOCATION_IN_BACKGROUND权限,这样应用在切入后台之后,系统可以继续上报位置信息。 + +开发者可以在应用配置文件中声明所需要的权限,具体可参考[授权申请指导](../../../application-dev/security/accesstoken-guidelines.md)。 + +**关键的接口/组件变更** + +| 类名 | 接口类型 | 接口声明 | 变更类型 | +| -- | -- | -- | -- | +|wifiManager| method | function scan(): void; | 权限变更为ohos.permission.SET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function getScanResults(): Promise<Array<WifiScanInfo>>; | 权限变更为ohos.permission.GET_WIFI_INFO and (ohos.permission.GET_WIFI_PEERS_MAC or (ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION)) | +|wifiManager| method | function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void; | 权限变更为ohos.permission.GET_WIFI_INFO and (ohos.permission.GET_WIFI_PEERS_MAC or (ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION)) | +|wifiManager| method | function getScanResultsSync(): Array<WifiScanInfo>; | 权限变更为ohos.permission.GET_WIFI_INFO and (ohos.permission.GET_WIFI_PEERS_MAC or (ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION)) | +|wifiManager| method | function getCandidateConfigs(): Array<WifiDeviceConfig>; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function getDeviceConfigs(): Array<WifiDeviceConfig>; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION and ohos.permission.GET_WIFI_CONFIG | +|wifiManager| method | function getStations(): Array<StationInfo>; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION and ohos.permission.MANAGE_WIFI_HOTSPOT | +|wifiManager| method | function getCurrentGroup(): Promise<WifiP2pGroupInfo>; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function getP2pPeerDevices(): Promise<WifiP2pDevice[]>; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function p2pConnect(config: WifiP2PConfig): void; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function startDiscoverDevices(): void; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function getP2pGroups(): Promise<Array<WifiP2pGroupInfo>>; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function on(type: "p2pDeviceChange", callback: Callback<WifiP2pDevice>): void; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function off(type: "p2pDeviceChange", callback?: Callback<WifiP2pDevice>): void; | 权限变更为ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function on(type: "p2pPeerDeviceChange", callback: Callback<WifiP2pDevice[]>): void; | 权限变更为ohos.permission.GET_WIFI_INFO and ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | +|wifiManager| method | function off(type: "p2pPeerDeviceChange", callback?: Callback<WifiP2pDevice[]>): void; | 权限变更为ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION | \ No newline at end of file diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-global.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-global.md new file mode 100644 index 0000000000000000000000000000000000000000..383b48481c098317e210132d70e9e65e56dfd159 --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-global.md @@ -0,0 +1,41 @@ +# 全球化子系统ChangeLog + +## cl.global.1 国际化模块系统接口添加运行时鉴权 + +全球化子系统国际化组件在如下场景中提供的系统接口添加运行时鉴权。从API9开始作以下变更: + - 设置系统语言、系统国家或地区、系统区域 + - 设置系统24小时制 + - 添加、移除系统偏好语言 + - 设置本地化数字 + +开发者需要根据以下说明对应用进行适配。 + +**变更影响** + +上述场景涉及的国际化系统接口添加运行时鉴权,只有具有UPDATE_CONFIGURATION权限的系统应用可以正常调用。 + +**关键的接口/组件变更** + + - 涉及接口 + - setSystemLanguage(language: string): void; + - setSystemRegion(region: string): void; + - setSystemLocale(locale: string): void; + - set24HourClock(option: boolean): void; + - addPreferredLanguage(language: string, index?: number): void; + - removePreferredLanguage(index: number): void; + - setUsingLocalDigit(flag: boolean): void; + +**适配指导** + +确保应用为系统应用,非系统应用禁止调用上述接口。 +当前权限不足或非系统应用调用该接口时会抛出异常,可以通过try-catch来捕获异常。 + +```js +import I18n from '@ohos.i18n' + +try { + I18n.System.setSystemLanguage('zh'); +} catch(error) { + console.error(`call System.setSystemLanguage failed, error code: ${error.code}, message: ${error.message}.`) +} +``` \ No newline at end of file