diff --git a/en/application-dev/ability/fa-formability.md b/en/application-dev/ability/fa-formability.md
index 49f2cf96d7d515fe60c9b8d85e793e7c9fbb9111..a39894a015af16fc254356927d4480b66d3b71e4 100644
--- a/en/application-dev/ability/fa-formability.md
+++ b/en/application-dev/ability/fa-formability.md
@@ -231,7 +231,7 @@ You should override **onDestroy** to delete widget data.
}
```
-For details about the persistence method, see [Lightweight Data Store Development](../database/database-preference-guidelines.md).
+For details about the persistence method, see [Lightweight Data Store Development](../database/database-storage-guidelines.md).
Note that the **Want** passed by the widget host to the widget provider contains a temporary flag, indicating whether the requested widget is a temporary one.
diff --git a/en/application-dev/application-dev-website.md b/en/application-dev/application-dev-website.md
index 940eebed02bc164d876e87a310cd9c8bc509f95f..dc8ef359e3041aeaaaf0321704bf675611c3eb96 100644
--- a/en/application-dev/application-dev-website.md
+++ b/en/application-dev/application-dev-website.md
@@ -2,16 +2,8 @@
- [Application Development Overview](application-dev-guide.md)
- Quick Start
- - Getting Started
- - [Preparations](quick-start/start-overview.md)
- - [Getting Started with eTS in the Traditional Coding Approach](quick-start/start-with-ets.md)
- - [Getting Started with eTS in the Low-Code Approach](quick-start/start-with-ets-low-code.md)
- - [Getting Started with JavaScript in the Traditional Coding Approach](quick-start/start-with-js.md)
- - [Getting Started with JavaScript in the Low-Code Approach](quick-start/start-with-js-low-code.md)
- - Development Fundamentals
- - [Directory Structure](quick-start/package-structure.md)
- - [Resource File Categories](quick-start/basic-resource-file-categories.md)
- - [SysCap](quick-start/syscap.md)
+ - [Directory Structure](quick-start/package-structure.md)
+ - [Resource File Categories](quick-start/basic-resource-file-categories.md)
- Development
- Ability Development
- FA Model
@@ -20,12 +12,10 @@
- [Service Ability Development](ability/fa-serviceability.md)
- [Data Ability Development](ability/fa-dataability.md)
- [FA Widget Development](ability/fa-formability.md)
- - Other
- - [WantAgent Development](wantagent.md)
- - [Ability Assistant Usage](ability-assistant-guidelines.md)
- - [Test Framework Usage](ability-delegator.md)
+
+ - Other
+ - [Ability Assistant Usage](ability/ability-assistant-guidelines.md)
- UI
- - [ArkUI Overview](ui/arkui-overview.md)
- JavaScript-based Web-Like Development Paradigm
- [Overview](ui/ui-js-overview.md)
- Framework
@@ -53,40 +43,18 @@
- [Defining Page Routes](ui/ui-js-building-ui-routes.md)
- Common Component Development Guidelines
- Container Components
- - [List Development](ui/ui-js-components-list.md)
- - [Dialog Development](ui/ui-js-components-dialog.md)
- - [Form Development](ui/ui-js-components-form.md)
- - [Stepper Development](ui/ui-js-components-stepper.md)
- - [Tabs Development](ui/ui-js-component-tabs.md)
- - [Swiper Development](ui/ui-js-components-swiper.md)
+ - [List](ui/ui-js-components-list.md)
+ - [Dialog](ui/ui-js-components-dialog.md)
+ - [Form](ui/ui-js-components-form.md)
+ - [Stepper](ui/ui-js-components-stepper.md)
+ - [Tabs](ui/ui-js-component-tabs.md)
- Basic Components
- - [Text Development](ui/ui-js-components-text.md)
- - [Input Development](ui/ui-js-components-input.md)
- - [Button Development](ui/ui-js-components-button.md)
- - [Picker Development](ui/ui-js-components-picker.md)
- - [Image Development](ui/ui-js-components-images.md)
- - [Image-animator Development](ui/ui-js-components-image-animator.md)
- - [Rating Development](ui/ui-js-components-rating.md)
- - [Slider Development](ui/ui-js-components-slider.md)
- - [Chart Development](ui/ui-js-components-chart.md)
- - [Switch Development](ui/ui-js-components-switch.md)
- - [Toolbar Development](ui/ui-js-components-toolbar.md)
- - [Menu Development](ui/ui-js-components-menu.md)
- - [Marquee Development](ui/ui-js-components-marquee.md)
- - [Qrcode Development](ui/ui-js-components-qrcode.md)
- - [Search Development](ui/ui-js-components-search.md)
- - Canvas Development
- - [Canvas](ui/ui-js-components-canvas.md)
- - [CanvasRenderingContext2D](ui/ui-js-components-canvasrenderingcontext2d.md)
- - [Path2D](ui/ui-js-components-path2d.md)
- - [OffscreenCanvas](ui/ui-js-components-offscreencanvas.md)
- - [Grid-container Development](ui/ui-js-components-calendar.md)
- - Svg
- - [Basics](ui/ui-js-components-svg-overview.md)
- - [Graph Drawing](ui/ui-js-components-svg-graphics.md)
- - [Path Drawing](ui/ui-js-components-svg-path.md)
- - [Text Drawing](ui/ui-js-components-svg-text.md)
- - Animation Development Guidelines
+ - [Text](ui/ui-js-components-text.md)
+ - [Input](ui/ui-js-components-input.md)
+ - [Button](ui/ui-js-components-button.md)
+ - [Picker](ui/ui-js-components-picker.md)
+ - [Image](ui/ui-js-components-images.md)
+ - Animation Development Guidelines
- CSS Animation
- [Defining Attribute Style Animations](ui/ui-js-animate-attribute-style.md)
- [Defining Animations with the transform Attribute](ui/ui-js-animate-transform.md)
@@ -152,13 +120,6 @@
- [Custom Component Lifecycle Callbacks](ui/ts-custom-component-lifecycle-callbacks.md)
- [Example: Component Creation and Re-Initialization](ui/ts-component-creation-re-initialization.md)
- [Syntactic Sugar](ui/ts-syntactic-sugar.md)
- - Common Component Development Guidelines
- - [Button](ui/ui-ts-basic-components-button.md)
- - [Web](ui/ui-ts-components-web.md)
- - Common Layout Development Guidelines
- - [Flex Layout](ui/ui-ts-layout-flex.md)
- - [Grid Layout](ui/ui-ts-layout-grid-container.md)
- - [Media Query](ui/ui-ts-layout-mediaquery.md)
- Experiencing the Declarative UI
- [Creating a Declarative UI Project](ui/ui-ts-creating-project.md)
- [Getting to Know Components](ui/ui-ts-components.md)
@@ -197,14 +158,8 @@
- User Authentication
- [User Authentication Overview](security/userauth-overview.md)
- [User Authentication Development](security/userauth-guidelines.md)
- - Key Management
- - [HUKS Overview](security/huks-overview.md)
- - [HUKS Development](security/huks-guidelines.md)
- - hapsigntool
- - [hapsigntool Guide](security/hapsigntool-guidelines.md)
- - Access Control
- - [Access Control Overview](security/accesstoken-overview.md)
- - [Access Control Development](security/accesstoken-guidelines.md)
+ - hapsigner
+ - [hapsigner Guide](security/hapsigntool-guidelines.md)
- Connectivity
- IPC & RPC
- [IPC & RPC Overview](connectivity/ipc-rpc-overview.md)
@@ -218,11 +173,8 @@
- [RDB Overview](database/database-relational-overview.md)
- [RDB Development](database/database-relational-guidelines.md)
- Lightweight Data Store
- - [Lightweight Data Store Overview](database/database-preference-overview.md)
- - [Lightweight Data Store Development](database/database-preference-guidelines.md)
- - Distributed Data Object
- - [Distributed Data Object Overview](database/database-distributedobject-overview.md)
- - [Distributed Data Object Development](database/database-distributedobject-guidelines.md)
+ - [Lightweight Data Store Overview](database/database-storage-overview.md)
+ - [Lightweight Data Store Development](database/database-storage-guidelines.md)
- Agent-Powered Scheduled Reminders
- [Overview](background-agent-scheduled-reminder/background-agent-scheduled-reminder-overview.md)
- [Development Guidelines](background-agent-scheduled-reminder/background-agent-scheduled-reminder-guide.md)
@@ -516,31 +468,35 @@
- APIs
- Ability Framework
- - [@ohos.ability.dataUriUtils](reference/js-apis-DataUriUtils.md)
- - [@ohos.ability.errorCode](reference/js-apis-ability-errorCode.md)
- - [@ohos.ability.wantConstant](reference/js-apis-ability-wantConstant.md)
- - [@ohos.application.abilityDelegatorRegistry](reference/js-apis-abilityDelegatorRegistry.md)
- - [@ohos.application.appManager](reference/js-apis-appmanager.md)
- - [@ohos.application.Configuration](reference/js-apis-configuration.md)
- - [@ohos.application.ConfigurationConstant](reference/js-apis-configurationconstant.md)
- - [@ohos.ability.featureAbility](reference/js-apis-featureAbility.md)
- - [@ohos.application.formBindingData](reference/js-apis-formbindingdata.md)
- - [@ohos.application.formError](reference/js-apis-formerror.md)
- - [@ohos.application.formHost](reference/js-apis-formhost.md)
- - [@ohos.application.formInfo](reference/js-apis-formInfo.md)
- - [@ohos.application.missionManager](reference/js-apis-missionManager.md)
- - [@ohos.application.formProvider](reference/js-apis-formprovider.md)
- - [@ohos.ability.particleAbility](reference/js-apis-particleAbility.md)
- - [@ohos.application.Want](reference/js-apis-application-Want.md)
- - [@ohos.wantAgent](reference/js-apis-wantAgent.md)
- - [dataAbilityHelper](reference/js-apis-dataAbilityHelper.md)
- - [context](reference/js-apis-Context.md)
- - [abilityDelegator](reference/js-apis-application-abilityDelegator.md)
- - [abilityDelegatorArgs](reference/js-apis-application-abilityDelegatorArgs.md)
- - [AbilityRunningInfo](reference/js-apis-abilityrunninginfo.md)
- - [MissionSnapshot](reference/js-apis-application-MissionSnapshot.md)
- - [ProcessRunningInfo](reference/js-apis-processrunninginfo.md)
- - [shellCmdResult](reference/js-apis-application-shellCmdResult.md)
+ - [@ohos.ability.dataUriUtils](reference/apis/js-apis-DataUriUtils.md)
+ - [@ohos.application.Ability](reference/apis/js-apis-application-ability.md)
+ - [@ohos.application.AbilityConstant](reference/apis/js-apis-application-abilityConstant.md)
+ - [@ohos.application.AbilityStage ](reference/apis/js-apis-application-abilitystage.md)
+ - [@ohos.application.appManager](reference/apis/js-apis-appmanager.md)
+ - [@ohos.application.Configuration](reference/apis/js-apis-configuration.md)
+ - [@ohos.application.ConfigurationConstant](reference/apis/js-apis-configurationconstant.md)
+ - [@ohos.ability.featureAbility](reference/apis/js-apis-featureAbility.md)
+ - [@ohos.application.formBindingData](reference/apis/js-apis-formbindingdata.md)
+ - [@ohos.application.FormExtension](reference/apis/js-apis-formextension.md)
+ - [@ohos.application.missionManager](reference/apis/js-apis-missionManager.md)
+ - [@ohos.application.formProvider](reference/apis/js-apis-formprovider.md)
+ - [@ohos.ability.particleAbility](reference/apis/js-apis-particleAbility.md)
+ - [@ohos.application.ServiceExtensionAbility](reference/apis/js-apis-service-extension-ability.md)
+ - [@ohos.application.uriPermissionManager](reference/apis/js-apis-uripermissionmanager.md)
+ - [@ohos.wantAgent](reference/apis/js-apis-wantAgent.md)
+ - [dataAbilityHelper](reference/apis/js-apis-dataAbilityHelper.md)
+ - [context](reference/apis/js-apis-Context.md)
+ - [AbilityContext](reference/apis/js-apis-ability-context.md)
+ - [AbilityRunningInfo](reference/apis/js-apis-abilityrunninginfo.md)
+ - [AbilityStageContext](reference/apis/js-apis-abilitystagecontext.md)
+ - [Context](reference/apis/js-apis-application-context.md)
+ - [ExtensionContext](reference/apis/js-apis-extension-context.md)
+ - [ExtensionRunningInfo](reference/apis/js-apis-extensionrunninginfo.md)
+ - [FormExtensionContext](reference/apis/js-apis-formextensioncontext.md)
+ - [MissionSnapshot](reference/apis/js-apis-application-MissionSnapshot.md)
+ - [PermissionRequestResult](reference/apis/js-apis-permissionrequestresult.md)
+ - [ProcessRunningInfo](reference/apis/js-apis-processrunninginfo.md)
+ - [ServiceExtensionContext](reference/apis/js-apis-service-extension-context.md)
- Common Event and Notification
@@ -548,6 +504,7 @@
- [@ohos.events.emitter](reference/apis/js-apis-emitter.md)
- [@ohos.notification](reference/apis/js-apis-notification.md)
- [@ohos.reminderAgent](reference/apis/js-apis-reminderAgent.md)
+ - [EventHub](reference/apis/js-apis-eventhub.md)
- Bundle Management
@@ -558,9 +515,6 @@
- UI Page
- [@ohos.animator](reference/apis/js-apis-animator.md)
- - [@ohos.mediaquery](reference/js-apis-mediaquery.md)
- - [@ohos.prompt](reference/js-apis-prompt.md)
- - [@ohos.router](reference/js-apis-router.md)
- Graphics
@@ -592,10 +546,8 @@
- Security
- - [@ohos.abilityAccessCtrl](reference/js-apis-abilityAccessCtrl.md)
- - [@ohos.security.huks ](reference/js-apis-huks.md)
- - [@ohos.userIAM.userAuth ](reference/js-apis-useriam-userauth.md)
- - [@system.cipher](reference/js-apis-system-cipher.md)
+ - [@ohos.abilityAccessCtrl](reference/apis/js-apis-abilityAccessCtrl.md)
+ - [@ohos.userIAM.userAuth ](reference/apis/js-apis-useriam-userauth.md)
- Data Management
@@ -603,7 +555,7 @@
- [@ohos.data.distributedData](reference/apis/js-apis-distributed-data.md)
- [@ohos.data.distributedDataObject](reference/apis/js-apis-data-distributedobject.md)
- [@ohos.data.rdb](reference/apis/js-apis-data-rdb.md)
- - [@ohos.data.storage](reference/js-apis-data-storage.md)
+ - [@ohos.data.storage](reference/apis/js-apis-data-storage.md)
- [@ohos.settings](reference/apis/js-apis-settings.md)
- [resultSet](reference/apis/js-apis-data-resultset.md)
@@ -636,7 +588,6 @@
- [@ohos.bluetooth](reference/apis/js-apis-bluetooth.md)
- [@ohos.rpc](reference/apis/js-apis-rpc.md)
- - [@ohos.connectedTag](reference/js-apis-connectedTag.md)
- [@ohos.wifi](reference/apis/js-apis-wifi.md)
- [@ohos.wifiext](reference/apis/js-apis-wifiext.md)
@@ -650,8 +601,6 @@
- [@ohos.hilog](reference/apis/js-apis-hilog.md)
- [@ohos.hiTraceChain](reference/apis/js-apis-hitracechain.md)
- [@ohos.hiTraceMeter](reference/apis/js-apis-hitracemeter.md)
- - [@ohos.inputMethod](reference/js-apis-inputmethod.md)
- - [@ohos.inputMethodEngine](reference/js-apis-inputmethodengine.md)
- [@ohos.pasteboard](reference/apis/js-apis-pasteboard.md)
- [@ohos.screenLock](reference/apis/js-apis-screen-lock.md)
- [@ohos.systemTime](reference/apis/js-apis-system-time.md)
@@ -667,7 +616,6 @@
- [@ohos.geolocation](reference/apis/js-apis-geolocation.md)
- [@ohos.multimodalInput.inputConsumer](reference/apis/js-apis-inputconsumer.md)
- [@ohos.multimodalInput.inputDevice](reference/apis/js-apis-inputdevice.md)
- - [@ohos.multimodalInput.inputEventClient](reference/js-apis-inputeventclient.md)
- [@ohos.multimodalInput.inputMonitor](reference/apis/js-apis-inputmonitor.md)
- [@ohos.power](reference/apis/js-apis-power.md)
- [@ohos.runningLock](reference/apis/js-apis-runninglock.md)
@@ -708,29 +656,10 @@
- [@ohos.worker](reference/apis/js-apis-worker.md)
- [@ohos.xml](reference/apis/js-apis-xml.md)
- - Test
-
- - [@ohos.application.testRunner](reference/js-apis-testRunner.md)
- - [@ohos.uitest](reference/js-apis-uitest.md)
-
- APIs No Longer Maintained
- - [@ohos.bytrace](reference/js-apis-bytrace.md)
- - [@system.app](reference/js-apis-system-app.md)
- - [@system.battery](reference/js-apis-system-battery.md)
- - [@system.brightness](reference/js-apis-system-brightness.md)
- - [@system.configuration](reference/js-apis-system-configuration.md)
- - [@system.device](reference/js-apis-system-device.md)
- - [@system.fetch](reference/js-apis-system-fetch.md)
- - [@system.file](reference/js-apis-system-file.md)
- - [@system.geolocation](reference/js-apis-system-location.md)
- - [@system.mediaquery](reference/js-apis-system-mediaquery.md)
- - [@system.network](reference/js-apis-system-network.md)
- - [@system.package](reference/js-apis-system-package.md)
- - [@system.prompt](reference/js-apis-system-prompt.md)
- - [@system.request](reference/js-apis-system-request.md)
- - [@system.router](reference/js-apis-system-router.md)
- - [@system.sensor](reference/js-apis-system-sensor.md)
- - [@system.storage](reference/js-apis-system-storage.md)
- - [@system.vibrator](reference/js-apis-system-vibrate.md)
- - [console](reference/js-apis-logs.md)
\ No newline at end of file
+ - [@ohos.bytrace](reference/apis/js-apis-bytrace.md)
+ - [@ohos.data.storage](reference/apis/js-apis-data-storage.md)
+ - [@system.sensor](reference/apis/js-apis-system-sensor.md)
+ - [@system.vibrator](reference/apis/js-apis-system-vibrate.md)
+ - [console](reference/apis/js-apis-logs.md)
\ No newline at end of file
diff --git a/en/application-dev/database/Readme-EN.md b/en/application-dev/database/Readme-EN.md
index 2be9b2dc5a8f9d6c714cc81e695ade8ad11f23ab..8e1963724bf595f9190e854581edfedbb701471f 100644
--- a/en/application-dev/database/Readme-EN.md
+++ b/en/application-dev/database/Readme-EN.md
@@ -7,8 +7,8 @@
- [RDB Overview](database-relational-overview.md)
- [RDB Development](database-relational-guidelines.md)
- Lightweight Data Store
- - [Lightweight Data Store Overview](database-preference-overview.md)
- - [Lightweight Data Store Development](database-preference-guidelines.md)
+ - [Lightweight Data Store Overview](database-storage-overview.md)
+ - [Lightweight Data Store Development](database-storage-guidelines.md)
- Distributed Data Object
- [Distributed Data Object Overview](database-distributedobject-overview.md)
- [Distributed Data Object Development](database-distributedobject-guidelines.md)
diff --git a/en/application-dev/database/database-preference-guidelines.md b/en/application-dev/database/database-storage-guidelines.md
similarity index 100%
rename from en/application-dev/database/database-preference-guidelines.md
rename to en/application-dev/database/database-storage-guidelines.md
diff --git a/en/application-dev/database/database-preference-overview.md b/en/application-dev/database/database-storage-overview.md
similarity index 100%
rename from en/application-dev/database/database-preference-overview.md
rename to en/application-dev/database/database-storage-overview.md
diff --git a/en/application-dev/reference/apis/js-apis-filemanager.md b/en/application-dev/reference/apis/js-apis-filemanager.md
index c3b738b12c4e0b3f1ea674feb3b5e25304ba9f9d..a100d8b02766e2e022c4e961cb5cb938f0ce18ea 100644
--- a/en/application-dev/reference/apis/js-apis-filemanager.md
+++ b/en/application-dev/reference/apis/js-apis-filemanager.md
@@ -3,6 +3,7 @@
>
>- 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 of this module are system APIs and cannot be called by third-party applications. Currently, these APIs can be called only by **filepicker**.
+
## Modules to Import
```js
@@ -20,7 +21,7 @@ Obtains information about the files in the first-level directory in asynchronous
- Parameters
| Name| Type| Mandatory| Description|
| --- | --- | --- | -- |
- | dev | [DevInfo](#devinfo) | No| Device name. The default value is **local**, which is the only value supported.|
+ | options | Object | No| The options are as follows:
- **dev**: Device type. For details, see [DevInfo](#devinfo). It is **dev = {name: "local"}** by default if not specified. Currently, only 'local' is supported.|
- Return value
@@ -30,17 +31,17 @@ Obtains information about the files in the first-level directory in asynchronous
- Example
-```js
-filemanager.getRoot().then((fileInfo) => {
- if(Array.isArray(fileInfo)) {
- for (var i = 0; i < fileInfo.length; i++) {
- console.log(JSON.Stringify(fileInfo))
- }
- }
-}).catch((err) => {
- console.log(err)
-});
-```
+ ```js
+ filemanager.getRoot().then((fileInfo) => {
+ if(Array.isArray(fileInfo)) {
+ for (var i = 0; i < fileInfo.length; i++) {
+ console.log(JSON.Stringify(fileInfo))
+ }
+ }
+ }).catch((err) => {
+ console.log(err)
+ });
+ ```
## filemanager.getRoot
@@ -54,20 +55,20 @@ Obtains information about the files in the first-level directory in asynchronous
| Name | Type | Mandatory| Description |
| -------- | ------------------------- | ---- | ----------------------------- |
- | dev | [DevInfo](#devinfo) | No | Device name. The default value is **local**, which is the only value supported.|
+ | options | Object | No| The options are as follows:
- **dev**: Device type. For details, see [DevInfo](#devinfo). It is **dev = {name: "local"}** by default if not specified. Currently, only 'local' is supported.|
| callback | AsyncCallback<[FileInfo](#fileinfo)[]> | Yes | Callback invoked to return the file information obtained. |
- Example
-```js
-filemanager.getRoot((err, fileInfo) => {
- if(Array.isArray(fileInfo)) {
- for (var i = 0; i < fileInfo.length; i++) {
- console.log(JSON.Stringify(fileInfo))
- }
- }
-})
-```
+ ```js
+ filemanager.getRoot((err, fileInfo) => {
+ if(Array.isArray(fileInfo)) {
+ for (var i = 0; i < fileInfo.length; i++) {
+ console.log(JSON.Stringify(fileInfo))
+ }
+ }
+ });
+ ```
## filemanager.listFile
@@ -80,12 +81,10 @@ Obtains information about the files in the second-level directory in asynchronou
- Parameters
| Name| Type| Mandatory| Description|
| --- | --- | --- | -- |
- | type | string | Yes| Type of the files to query. The file type can be **file**, **image**, **audio**, or **video**.|
| path | string | Yes| URI of the directory to query.|
- | dev | [DevInfo](#devinfo) | Yes| Device name. The default value is **local**, which is the only value supported.|
- | offset | number | No| Start position from which the files are to query.|
- | count | number | No| Number of files to query.|
-
+ | type | string | Yes| Type of the files to query. The file type can be **file**, **image**, **audio**, or **video**.|
+ | options | Object | No| The options are as follows:
- **dev**: Device type. For details, see [DevInfo](#devinfo). It is **dev = {name: "local"}** by default if not specified. Currently, only 'local' is supported.
- **offset**: position to start the query. The value is a number.
- **count**: number of files to query.|
+
- Return value
| Type| Description|
@@ -94,26 +93,29 @@ Obtains information about the files in the second-level directory in asynchronou
- Error
| Error Info| Error Code|Description|
- | -- | --- | -- |
- |No such file or directory | 2 | The directory or file of the specified URI does not exist.|
- |No such process | 3 | Failed to obtain the FMS service.|
- |Not a directory | 20 | The object specified by the URI is not a directory.|
+ | -- | --- | -- |
+ | No such file or directory | 2 | The directory or file of the specified URI does not exist.|
+ | No such process | 3 | Failed to obtain the FMS service.|
+ | Not a directory | 20 | The object specified by the URI is not a directory.|
+
+- Example
+
+ ```js
+ // Obtain all files in the directory.
+ // Call listFile() and getRoot() to obtain file URIs.
+ let media_path = file.uri
+ filemanager.listFile(media_path, "file")
+ .then((fileInfo) => {
+ if(Array.isArray(fileInfo)) {
+ for (var i = 0; i < fileInfo.length; i++) {
+ console.log(JSON.Stringify(fileInfo))
+ }
+ }
+ }).catch((err) => {
+ console.log(err)
+ });
+ ```
-```js
-// Obtain all files in the directory.
-// Call listFile() and getRoot() to obtain file URIs.
-let media_path = file.uri
-filemanager.listFile(media_path, "file")
-.then((fileInfo) => {
- if(Array.isArray(fileInfo)) {
- for (var i = 0; i < fileInfo.length; i++) {
- console.log(JSON.Stringify(fileInfo))
- }
- }
-}).catch((err) => {
- console.log(err)
-})
-```
## filemanager.listFile
listFile(path : string, type : string, options? : {dev? : DevInfo, offset? : number, count? : number}, callback : AsyncCallback<FileInfo[]>) : void
@@ -126,35 +128,35 @@ Obtains information about the files in the second-level directory in asynchronou
| Name | Type | Mandatory| Description |
| -------- | ------------------------- | ---- | ------------------------------------------------------------ |
- | type | string | Yes | Type of the files to query. The file type can be **file**, **image**, **audio**, or **video**.|
| path | string | Yes | URI of the directory to query. |
- | dev | [DevInfo](#devinfo) | No| Device name. The default value is **local**, which is the only value supported.|
- | offset | number | No| Start position from which the files are to query.|
- | count | number | No| Number of files to query.|
+ | type | string | Yes | Type of the files to query. The file type can be **file**, **image**, **audio**, or **video**.|
+ | options | Object | No| The options are as follows:
- **dev**: Device type. For details, see [DevInfo](#devinfo). It is **dev = {name: "local"}** by default if not specified. Currently, only 'local' is supported.
- **offset**: position to start the query. The value is a number.
- **count**: number of files to query.|
| callback | AsyncCallback<[FileInfo](#fileinfo)[]> | Yes | Callback invoked to return the file information obtained. |
- Error
| Error Info | Error Code| Description |
| ------------------------- | ------ | ------------------------- |
- |No such file or directory | 2 | The directory or file of the specified URI does not exist.|
- |No such process | 3 | Failed to obtain the FMS service. |
- |Not a directory | 20 | The object specified by the URI is not a directory.|
+ | No such file or directory | 2 | The directory or file of the specified URI does not exist.|
+ | No such process | 3 | Failed to obtain the FMS service. |
+ | Not a directory | 20 | The object specified by the URI is not a directory.|
-```js
-// Call listFile() and getRoot() to obtain the file UIRs.
-let media_path = file.uri
-filemanager.listFile(media_path, "file", (err, fileInfo) => {
- if(Array.isArray(fileInfo)) {
- for (var i = 0; i < fileInfo.length; i++) {
- console.log(JSON.Stringify(fileInfo))
- }
- }
-})
-```
+- Example
+
+ ```js
+ // Call listFile() and getRoot() to obtain file URIs.
+ let media_path = file.uri
+ filemanager.listFile(media_path, "file", (err, fileInfo) => {
+ if(Array.isArray(fileInfo)) {
+ for (var i = 0; i < fileInfo.length; i++) {
+ console.log(JSON.Stringify(fileInfo))
+ }
+ }
+ });
+ ```
## filemanager.createFile
-filemanager.createFile(path : string, filename : string, options? : {dev? : DevInfo}) : promise<string>
+filemanager.createFile(path : string, filename : string, options? : {dev? : DevInfo}) : Promise<string>
Creates a file in the specified path in asynchronous mode. This method uses a promise to return the result.
@@ -165,7 +167,7 @@ Creates a file in the specified path in asynchronous mode. This method uses a pr
| --- | --- | --- | -- |
| filename | string | Yes| Name of the file to create.|
| path | string | Yes| URI of the file to create.|
- | dev | [DevInfo](#devinfo) | No| Device name. The default value is **local**, which is the only value supported.|
+ | options | Object | No| The options are as follows:
- **dev**: Device type. For details, see [DevInfo](#devinfo). It is **dev = {name: "local"}** by default if not specified. Currently, only 'local' is supported.|
- Return value
@@ -181,18 +183,20 @@ Creates a file in the specified path in asynchronous mode. This method uses a pr
| No such process | 3 | Failed to obtain the FMS service.|
| Not a directory | 20 | The object specified by the URI is not a directory.|
-```js
-// Create a file.
-let media_path = file.uri // Obtain the file URI using listFile() and getRoot().
-let name = "xxx.jpg" // File to be saved.
-filemanager.createFile(media_path, name)
-.then((uri) => {
-// The URI of the file created is returned.
-})
-.catch((err) => {
- console.log(err)
-})
-```
+- Example
+
+ ```js
+ // Create a file.
+ let media_path = file.uri // Obtain the file URI using listFile() and getRoot().
+ let name = "xxx.jpg" // File to be saved.
+ filemanager.createFile(media_path, name)
+ .then((uri) => {
+ // The URI of the file created is returned.
+ })
+ .catch((err) => {
+ console.log(err)
+ });
+ ```
## filemanager.createFile
@@ -208,7 +212,7 @@ Creates a file in the specified path in asynchronous mode. This method uses a ca
| -------- | ------------------------- | ---- | ----------------------------- |
| filename | string | Yes | Name of the file to create. |
| path | string | Yes | URI of the file to create. |
- | dev | [DevInfo](#devinfo) | No| Device name. The default value is **local**, which is the only value supported.|
+ | options | Object | No| The options are as follows:
- **dev**: Device type. For details, see [DevInfo](#devinfo). It is **dev = {name: "local"}** by default if not specified. Currently, only 'local' is supported.|
| callback | AsyncCallback<[FileInfo](#fileinfo)[]> | Yes | Callback invoked to return the file information obtained. |
- Error
@@ -220,16 +224,18 @@ Creates a file in the specified path in asynchronous mode. This method uses a ca
| No such process | 3 | Failed to obtain the FMS service. |
| Not a directory | 20 | The object specified by the URI is not a directory.|
-```js
-// Create a file.
-// Call listFile() and getRoot() to obtain the file URI.
-let media_path = file.uri
-// File to be saved.
-let name = "xxx.jpg"
-filemanager.createFile(media_path, name, (err, uri) => {
-// The URI of the file created is returned.
-})
-```
+- Example
+
+ ```js
+ // Create a file.
+ // Call listFile() and getRoot() to obtain the file URI.
+ let media_path = file.uri
+ // File to be saved.
+ let name = "xxx.jpg"
+ filemanager.createFile(media_path, name, (err, uri) => {
+ // The URI of the file created is returned.
+ });
+ ```
## FileInfo
Defines the file information returned by **getRoot()** or **listFile()**.
@@ -248,12 +254,13 @@ Defines the file information returned by **getRoot()** or **listFile()**.
| modifiedTime | number | Yes| No| Time when the file was modified.|
## DevInfo
+
Defines the device type.
**System capability**: SystemCapability.FileManagement.FileManagerService
### Attributes
- | Name| Type| Readable| Writable| Description|
- | --- | -- | -- | -- | -- |
- | name | string | Yes| Yes| Device name.|
+| Name| Type | Readable| Writable| Description |
+| ------ | ------ | ---- | ---- | -------- |
+| name | string | Yes | Yes | Device name.|
diff --git a/en/application-dev/reference/apis/js-apis-huks.md b/en/application-dev/reference/apis/js-apis-huks.md
index 804832a1d404dffa132b55aded09528367869b7c..3d8e138fd13e472bc44da7d892852173f594bedd 100644
--- a/en/application-dev/reference/apis/js-apis-huks.md
+++ b/en/application-dev/reference/apis/js-apis-huks.md
@@ -924,7 +924,7 @@ Updates a key. This method uses an asynchronous callback to return the result.
| handle | number | Yes | Handle of the **Update** operation.|
| token | Uint8Array | No| Token of the **Update** operation.|
| options | [HuksOptions](#huksoptions) | Yes | Parameter set of the **Update** operation.|
-| callback | AsyncCallback\<[HksResult](#hksresult)> | Yes| Callback used to return the operation result.|
+| callback | AsyncCallback\<[HuksResult](#huksresult)> | Yes| Callback used to return the operation result.|
**Example**
diff --git a/en/application-dev/reference/apis/js-apis-system-bluetooth.md b/en/application-dev/reference/apis/js-apis-system-bluetooth.md
new file mode 100644
index 0000000000000000000000000000000000000000..b952a91eabffa710b5f622acb54a84a9536ec297
--- /dev/null
+++ b/en/application-dev/reference/apis/js-apis-system-bluetooth.md
@@ -0,0 +1,169 @@
+# Bluetooth
+
+
+>  **NOTE**
+>
+> - The APIs of this module are no longer maintained since API version 7. You are advised to use [`@ohos.bluetooth`](js-apis-bluetooth.md).
+>
+> - 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
+
+
+```
+import bluetooth from '@system.bluetooth';
+```
+
+
+## bluetooth.startBLEScan(OBJECT)
+
+Scans for Bluetooth Low Energy (BLE) devices nearby. This operation consumes system resources. Call [bluetooth.stopBLEScan](#bluetoothstopblescanobject) to stop the scan after a BLE device is detected and connected.
+
+**Required permissions**: ohos.permission.DISCOVER_BLUETOOTH and ohos.permission.LOCATION
+
+**System capability**: SystemCapability.Communication.Bluetooth.Lite
+
+**Parameters**
+**Table 1** StartBLEScanOptions
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| interval | number | No| Interval for reporting device information, in milliseconds. The default value is **0**, which means to report the detected device immediately and report other information at the given interval.|
+| success | Function | No| Called when the operation is successful.|
+| fail | Function | No| Called when the operation fails.|
+| complete | Function | No| Called when the execution is complete.|
+
+**Example**
+
+ ```
+ bluetooth.startBLEScan({
+ success() {
+ console.log('call bluetooth.startBLEScan success.');
+ },
+ fail(code, data) {
+ console.log('call bluetooth.startBLEScan failed, code: ${code}, data: ${data}.');
+ },
+ complete() {
+ console.log('call bluetooth.startBLEScan complete.');
+ }
+ });
+ ```
+
+
+## bluetooth.stopBLEScan(OBJECT)
+
+Stops scanning for BLE devices nearby. This API is used with [bluetooth.startBLEScan(OBJECT)](#bluetoothstartblescanobject) in pairs.
+
+**Required permissions**: ohos.permission.DISCOVER_BLUETOOTH and ohos.permission.LOCATION
+
+**System capability**: SystemCapability.Communication.Bluetooth.Lite
+
+**Parameters**
+**Table 2** StopBLEScanOptions
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| success | Function | No| Called when the operation is successful.|
+| fail | Function | No| Called when the operation fails.|
+| complete | Function | No| Called when the execution is complete.|
+
+**Example**
+
+ ```
+ bluetooth.stopBLEScan({
+ success() {
+ console.log('call bluetooth.stopBLEScan success.');
+ },
+ fail(data, code) {
+ console.log('call bluethooth.stopBLEScan fail, code: ${code}, data: ${data}.');
+ },
+ complete() {
+ console.log('call bluethooth.stopBLEScan complete.');
+ }
+ });
+ ```
+
+
+## bluetooth.subscribeBLEFound(OBJECT)
+
+Subscribes to the newly detected BLE device. If this API is called multiple times, the last call takes effect.
+
+**Required permissions**: ohos.permission.DISCOVER_BLUETOOTH and ohos.permission.LOCATION
+
+**System capability**: SystemCapability.Communication.Bluetooth.Lite
+
+**Parameters**
+**Table 3** SubscribeBLEFoundOptions
+
+| Name| Type| Mandatory| Description|
+| -------- | -------- | -------- | -------- |
+| success | Function | Yes| Called to report the newly detected device.|
+| fail | Function | No| Called when the operation fails.|
+
+**Table 4** Return value in success
+
+| Name| Type| Description|
+| -------- | -------- | -------- |
+| devices | Array<BluetoothDevice> | List of the newly detected BLE devices.|
+
+**Table 5** BluethoothDevice
+
+| Name| Type| Description|
+| -------- | -------- | -------- |
+| addrType | string | Device address type, which can be:
- **public**: a public address
- **random**: a random address|
+| addr | string | MAC address of the device.|
+| rssi | number | Received signal strength indicator (RSSl) of the device.|
+| txpower | string | **txpower** field in the Bluetooth advertising data.|
+| data | hex string | Bluetooth advertising data (including advertising data and scan response data), in a hexadecimal string.|
+
+**Example**
+
+ ```
+ bluetooth.startaBLEScan({
+ success() {
+ bluetooth.subscribeBLEFound({
+ success(data) {
+ const [device] = data.devices;
+ if (!!device) {
+ bluetooth.stopBLEScan();
+ }
+ }
+ });
+ },
+ fail(code, data) {
+ console.log('Failed to start BLE device scan, code: ${code}, data: ${data}');
+ }
+ });
+ ```
+
+
+## bluetooth.unsubscribeBLEFound()
+
+Unsubscribes from the newly detected devices.
+
+**Required permissions**: ohos.permission.DISCOVER_BLUETOOTH and ohos.permission.LOCATION
+
+**System capability**: SystemCapability.Communication.Bluetooth.Lite
+
+**Example**
+
+ ```
+ bluetooth.unsubscribeBLEFound();
+ ```
+
+
+## Common Error Codes
+
+| Error Code| Description|
+| -------- | -------- |
+| 1100 | The Bluetooth adapter is not initialized.|
+| 1101 | The Bluetooth adapter is unavailable.|
+| 1102 | The specified device is not found.|
+| 1103 | Connection failed.|
+| 1104 | The specified service is not found.|
+| 1105 | The specified characteristic value is not found.|
+| 1106 | The Bluetooth device is disconnected.|
+| 1107 | The characteristic value does not support this operation.|
+| 1108 | Other exceptions reported by the system.|
+| 1109 | The system version does not support BLE.|
diff --git a/en/application-dev/reference/apis/js-apis-system-storage.md b/en/application-dev/reference/apis/js-apis-system-storage.md
index 2440183d41464f6b88907b096cd0185707192bd5..038558c55e164f3a381c21ad5a98949d75191c52 100644
--- a/en/application-dev/reference/apis/js-apis-system-storage.md
+++ b/en/application-dev/reference/apis/js-apis-system-storage.md
@@ -1,8 +1,9 @@
# Data Storage
->  **Noteļ¼**
-> - The APIs of this module are no longer maintained since API version 6. It is recommended that you use [`@ohos.data.storage`](js-apis-data-storage.md) instead.
->
+>  **NOTE**
+>
+> - The APIs of this module are no longer maintained since API Version 6. You are advised to use [`@ohos.data.storage`](js-apis-data-storage.md). From API Version 9, you are advised to use [`@ohos.data.preferences`](js-apis-data-preferences.md).
+>
> - 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.
@@ -18,19 +19,19 @@ import storage from '@system.storage';
get(Object): void
-Reads the stored content.
+Obtains the stored data.
**System capability**: SystemCapability.DistributedDataManager.Preferences.Core
**Parameters**
-| Name | Type | Mandatory | Description |
+| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| key | string | Yes | Content index. |
-| default | string | No | Default value returned when the **key** does not exist. |
-| success | Function | No | Called when the stored content is successfully read. |
-| fail | Function | No | Called when the stored content fails to be read. |
-| complete | Function | No | Called when the execution is complete. |
+| key | string | Yes| Index of the data to obtain.|
+| default | string | No| Default value returned when the **key** does not exist.|
+| success | Function | No| Called when the stored data is successfully obtained.|
+| fail | Function | No| Called when the stored data failed to be obtained.|
+| complete | Function | No| Called when the execution is complete.|
**Example**
@@ -58,19 +59,19 @@ export default {
set(Object): void
-Modifies the stored content.
+Modifies the stored data.
**System capability**: SystemCapability.DistributedDataManager.Preferences.Core
**Parameters**
-| Name | Type | Mandatory | Description |
+| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| key | string | Yes | Index of the stored content to be modified. |
-| value | string | No | Target storage content. The maximum number of characters allowed is 128. |
-| success | Function | No | Called when the stored content is modified successfully. |
-| fail | Function | No | Called when the stored content fails to be modified. |
-| complete | Function | No | Called when the execution is complete. |
+| key | string | Yes| Index of the data to modify.|
+| value | string | No| New value to set. The maximum length is 128 bytes.|
+| success | Function | No| Called when the data is successfully modified.|
+| fail | Function | No| Called when the data failed to be modified.|
+| complete | Function | No| Called when the execution is complete.|
**Example**
@@ -96,17 +97,17 @@ export default {
clear(Object): void
-Clears the stored content.
+Clears the stored data.
**System capability**: SystemCapability.DistributedDataManager.Preferences.Core
**Parameters**
-| Name | Type | Mandatory | Description |
+| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| success | Function | No | Called when the stored content is cleared successfully |
-| fail | Function | No | Called when the stored content fails to be cleared |
-| complete | Function | No | Called when the execution is complete |
+| success | Function | No| Called when the data is successfully cleared.|
+| fail | Function | No| Called when the data failed to be cleared.|
+| complete | Function | No| Called when the execution is complete.|
**Example**
@@ -130,18 +131,18 @@ export default {
delete(Object): void
-Deletes the stored content.
+Deletes the stored data.
**System capability**: SystemCapability.DistributedDataManager.Preferences.Core
**Parameters**
-| Name | Type | Mandatory | Description |
+| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
-| key | string | Yes | Content index. |
-| success | Function | No | Called when the stored content is deleted successfully. |
-| fail | Function | No | Called when the stored content fails to be deleted. |
-| complete | Function | No | Called when the execution is complete. |
+| key | string | Yes| Index of the data to delete.|
+| success | Function | No| Called when the data is deleted.|
+| fail | Function | No| Called when the data failed to be deleted.|
+| complete | Function | No| Called when the execution is complete.|
**Example**
@@ -159,4 +160,4 @@ export default {
});
}
}
-```
\ No newline at end of file
+```
diff --git a/en/application-dev/website.md b/en/application-dev/website.md
index 940eebed02bc164d876e87a310cd9c8bc509f95f..2ebf0b336340d2836eb0c916e899bc4d237f0af6 100644
--- a/en/application-dev/website.md
+++ b/en/application-dev/website.md
@@ -2,16 +2,8 @@
- [Application Development Overview](application-dev-guide.md)
- Quick Start
- - Getting Started
- - [Preparations](quick-start/start-overview.md)
- - [Getting Started with eTS in the Traditional Coding Approach](quick-start/start-with-ets.md)
- - [Getting Started with eTS in the Low-Code Approach](quick-start/start-with-ets-low-code.md)
- - [Getting Started with JavaScript in the Traditional Coding Approach](quick-start/start-with-js.md)
- - [Getting Started with JavaScript in the Low-Code Approach](quick-start/start-with-js-low-code.md)
- - Development Fundamentals
- - [Directory Structure](quick-start/package-structure.md)
- - [Resource File Categories](quick-start/basic-resource-file-categories.md)
- - [SysCap](quick-start/syscap.md)
+ - [Directory Structure](quick-start/package-structure.md)
+ - [Resource File Categories](quick-start/basic-resource-file-categories.md)
- Development
- Ability Development
- FA Model
@@ -20,10 +12,9 @@
- [Service Ability Development](ability/fa-serviceability.md)
- [Data Ability Development](ability/fa-dataability.md)
- [FA Widget Development](ability/fa-formability.md)
- - Other
- - [WantAgent Development](wantagent.md)
- - [Ability Assistant Usage](ability-assistant-guidelines.md)
- - [Test Framework Usage](ability-delegator.md)
+
+ - Other
+ - [Ability Assistant Usage](ability/ability-assistant-guidelines.md)
- UI
- [ArkUI Overview](ui/arkui-overview.md)
- JavaScript-based Web-Like Development Paradigm
@@ -53,40 +44,18 @@
- [Defining Page Routes](ui/ui-js-building-ui-routes.md)
- Common Component Development Guidelines
- Container Components
- - [List Development](ui/ui-js-components-list.md)
- - [Dialog Development](ui/ui-js-components-dialog.md)
- - [Form Development](ui/ui-js-components-form.md)
- - [Stepper Development](ui/ui-js-components-stepper.md)
- - [Tabs Development](ui/ui-js-component-tabs.md)
- - [Swiper Development](ui/ui-js-components-swiper.md)
+ - [List](ui/ui-js-components-list.md)
+ - [Dialog](ui/ui-js-components-dialog.md)
+ - [Form](ui/ui-js-components-form.md)
+ - [Stepper](ui/ui-js-components-stepper.md)
+ - [Tabs](ui/ui-js-component-tabs.md)
- Basic Components
- - [Text Development](ui/ui-js-components-text.md)
- - [Input Development](ui/ui-js-components-input.md)
- - [Button Development](ui/ui-js-components-button.md)
- - [Picker Development](ui/ui-js-components-picker.md)
- - [Image Development](ui/ui-js-components-images.md)
- - [Image-animator Development](ui/ui-js-components-image-animator.md)
- - [Rating Development](ui/ui-js-components-rating.md)
- - [Slider Development](ui/ui-js-components-slider.md)
- - [Chart Development](ui/ui-js-components-chart.md)
- - [Switch Development](ui/ui-js-components-switch.md)
- - [Toolbar Development](ui/ui-js-components-toolbar.md)
- - [Menu Development](ui/ui-js-components-menu.md)
- - [Marquee Development](ui/ui-js-components-marquee.md)
- - [Qrcode Development](ui/ui-js-components-qrcode.md)
- - [Search Development](ui/ui-js-components-search.md)
- - Canvas Development
- - [Canvas](ui/ui-js-components-canvas.md)
- - [CanvasRenderingContext2D](ui/ui-js-components-canvasrenderingcontext2d.md)
- - [Path2D](ui/ui-js-components-path2d.md)
- - [OffscreenCanvas](ui/ui-js-components-offscreencanvas.md)
- - [Grid-container Development](ui/ui-js-components-calendar.md)
- - Svg
- - [Basics](ui/ui-js-components-svg-overview.md)
- - [Graph Drawing](ui/ui-js-components-svg-graphics.md)
- - [Path Drawing](ui/ui-js-components-svg-path.md)
- - [Text Drawing](ui/ui-js-components-svg-text.md)
- - Animation Development Guidelines
+ - [Text](ui/ui-js-components-text.md)
+ - [Input](ui/ui-js-components-input.md)
+ - [Button](ui/ui-js-components-button.md)
+ - [Picker](ui/ui-js-components-picker.md)
+ - [Image](ui/ui-js-components-images.md)
+ - Animation Development Guidelines
- CSS Animation
- [Defining Attribute Style Animations](ui/ui-js-animate-attribute-style.md)
- [Defining Animations with the transform Attribute](ui/ui-js-animate-transform.md)
@@ -152,13 +121,6 @@
- [Custom Component Lifecycle Callbacks](ui/ts-custom-component-lifecycle-callbacks.md)
- [Example: Component Creation and Re-Initialization](ui/ts-component-creation-re-initialization.md)
- [Syntactic Sugar](ui/ts-syntactic-sugar.md)
- - Common Component Development Guidelines
- - [Button](ui/ui-ts-basic-components-button.md)
- - [Web](ui/ui-ts-components-web.md)
- - Common Layout Development Guidelines
- - [Flex Layout](ui/ui-ts-layout-flex.md)
- - [Grid Layout](ui/ui-ts-layout-grid-container.md)
- - [Media Query](ui/ui-ts-layout-mediaquery.md)
- Experiencing the Declarative UI
- [Creating a Declarative UI Project](ui/ui-ts-creating-project.md)
- [Getting to Know Components](ui/ui-ts-components.md)
@@ -197,14 +159,8 @@
- User Authentication
- [User Authentication Overview](security/userauth-overview.md)
- [User Authentication Development](security/userauth-guidelines.md)
- - Key Management
- - [HUKS Overview](security/huks-overview.md)
- - [HUKS Development](security/huks-guidelines.md)
- - hapsigntool
- - [hapsigntool Guide](security/hapsigntool-guidelines.md)
- - Access Control
- - [Access Control Overview](security/accesstoken-overview.md)
- - [Access Control Development](security/accesstoken-guidelines.md)
+ - hapsigner
+ - [hapsigner Guide](security/hapsigntool-guidelines.md)
- Connectivity
- IPC & RPC
- [IPC & RPC Overview](connectivity/ipc-rpc-overview.md)
@@ -218,11 +174,8 @@
- [RDB Overview](database/database-relational-overview.md)
- [RDB Development](database/database-relational-guidelines.md)
- Lightweight Data Store
- - [Lightweight Data Store Overview](database/database-preference-overview.md)
- - [Lightweight Data Store Development](database/database-preference-guidelines.md)
- - Distributed Data Object
- - [Distributed Data Object Overview](database/database-distributedobject-overview.md)
- - [Distributed Data Object Development](database/database-distributedobject-guidelines.md)
+ - [Lightweight Data Store Overview](database/database-storage-overview.md)
+ - [Lightweight Data Store Development](database/database-storage-guidelines.md)
- Agent-Powered Scheduled Reminders
- [Overview](background-agent-scheduled-reminder/background-agent-scheduled-reminder-overview.md)
- [Development Guidelines](background-agent-scheduled-reminder/background-agent-scheduled-reminder-guide.md)
@@ -516,31 +469,35 @@
- APIs
- Ability Framework
- - [@ohos.ability.dataUriUtils](reference/js-apis-DataUriUtils.md)
- - [@ohos.ability.errorCode](reference/js-apis-ability-errorCode.md)
- - [@ohos.ability.wantConstant](reference/js-apis-ability-wantConstant.md)
- - [@ohos.application.abilityDelegatorRegistry](reference/js-apis-abilityDelegatorRegistry.md)
- - [@ohos.application.appManager](reference/js-apis-appmanager.md)
- - [@ohos.application.Configuration](reference/js-apis-configuration.md)
- - [@ohos.application.ConfigurationConstant](reference/js-apis-configurationconstant.md)
- - [@ohos.ability.featureAbility](reference/js-apis-featureAbility.md)
- - [@ohos.application.formBindingData](reference/js-apis-formbindingdata.md)
- - [@ohos.application.formError](reference/js-apis-formerror.md)
- - [@ohos.application.formHost](reference/js-apis-formhost.md)
- - [@ohos.application.formInfo](reference/js-apis-formInfo.md)
- - [@ohos.application.missionManager](reference/js-apis-missionManager.md)
- - [@ohos.application.formProvider](reference/js-apis-formprovider.md)
- - [@ohos.ability.particleAbility](reference/js-apis-particleAbility.md)
- - [@ohos.application.Want](reference/js-apis-application-Want.md)
- - [@ohos.wantAgent](reference/js-apis-wantAgent.md)
- - [dataAbilityHelper](reference/js-apis-dataAbilityHelper.md)
- - [context](reference/js-apis-Context.md)
- - [abilityDelegator](reference/js-apis-application-abilityDelegator.md)
- - [abilityDelegatorArgs](reference/js-apis-application-abilityDelegatorArgs.md)
- - [AbilityRunningInfo](reference/js-apis-abilityrunninginfo.md)
- - [MissionSnapshot](reference/js-apis-application-MissionSnapshot.md)
- - [ProcessRunningInfo](reference/js-apis-processrunninginfo.md)
- - [shellCmdResult](reference/js-apis-application-shellCmdResult.md)
+ - [@ohos.ability.dataUriUtils](reference/apis/js-apis-DataUriUtils.md)
+ - [@ohos.application.Ability](reference/apis/js-apis-application-ability.md)
+ - [@ohos.application.AbilityConstant](reference/apis/js-apis-application-abilityConstant.md)
+ - [@ohos.application.AbilityStage ](reference/apis/js-apis-application-abilitystage.md)
+ - [@ohos.application.appManager](reference/apis/js-apis-appmanager.md)
+ - [@ohos.application.Configuration](reference/apis/js-apis-configuration.md)
+ - [@ohos.application.ConfigurationConstant](reference/apis/js-apis-configurationconstant.md)
+ - [@ohos.ability.featureAbility](reference/apis/js-apis-featureAbility.md)
+ - [@ohos.application.formBindingData](reference/apis/js-apis-formbindingdata.md)
+ - [@ohos.application.FormExtension](reference/apis/js-apis-formextension.md)
+ - [@ohos.application.missionManager](reference/apis/js-apis-missionManager.md)
+ - [@ohos.application.formProvider](reference/apis/js-apis-formprovider.md)
+ - [@ohos.ability.particleAbility](reference/apis/js-apis-particleAbility.md)
+ - [@ohos.application.ServiceExtensionAbility](reference/apis/js-apis-service-extension-ability.md)
+ - [@ohos.application.uriPermissionManager](reference/apis/js-apis-uripermissionmanager.md)
+ - [@ohos.wantAgent](reference/apis/js-apis-wantAgent.md)
+ - [dataAbilityHelper](reference/apis/js-apis-dataAbilityHelper.md)
+ - [context](reference/apis/js-apis-Context.md)
+ - [AbilityContext](reference/apis/js-apis-ability-context.md)
+ - [AbilityRunningInfo](reference/apis/js-apis-abilityrunninginfo.md)
+ - [AbilityStageContext](reference/apis/js-apis-abilitystagecontext.md)
+ - [Context](reference/apis/js-apis-application-context.md)
+ - [ExtensionContext](reference/apis/js-apis-extension-context.md)
+ - [ExtensionRunningInfo](reference/apis/js-apis-extensionrunninginfo.md)
+ - [FormExtensionContext](reference/apis/js-apis-formextensioncontext.md)
+ - [MissionSnapshot](reference/apis/js-apis-application-MissionSnapshot.md)
+ - [PermissionRequestResult](reference/apis/js-apis-permissionrequestresult.md)
+ - [ProcessRunningInfo](reference/apis/js-apis-processrunninginfo.md)
+ - [ServiceExtensionContext](reference/apis/js-apis-service-extension-context.md)
- Common Event and Notification
@@ -548,6 +505,7 @@
- [@ohos.events.emitter](reference/apis/js-apis-emitter.md)
- [@ohos.notification](reference/apis/js-apis-notification.md)
- [@ohos.reminderAgent](reference/apis/js-apis-reminderAgent.md)
+ - [EventHub](reference/apis/js-apis-eventhub.md)
- Bundle Management
@@ -558,9 +516,6 @@
- UI Page
- [@ohos.animator](reference/apis/js-apis-animator.md)
- - [@ohos.mediaquery](reference/js-apis-mediaquery.md)
- - [@ohos.prompt](reference/js-apis-prompt.md)
- - [@ohos.router](reference/js-apis-router.md)
- Graphics
@@ -592,10 +547,8 @@
- Security
- - [@ohos.abilityAccessCtrl](reference/js-apis-abilityAccessCtrl.md)
- - [@ohos.security.huks ](reference/js-apis-huks.md)
- - [@ohos.userIAM.userAuth ](reference/js-apis-useriam-userauth.md)
- - [@system.cipher](reference/js-apis-system-cipher.md)
+ - [@ohos.abilityAccessCtrl](reference/apis/js-apis-abilityAccessCtrl.md)
+ - [@ohos.userIAM.userAuth ](reference/apis/js-apis-useriam-userauth.md)
- Data Management
@@ -603,7 +556,7 @@
- [@ohos.data.distributedData](reference/apis/js-apis-distributed-data.md)
- [@ohos.data.distributedDataObject](reference/apis/js-apis-data-distributedobject.md)
- [@ohos.data.rdb](reference/apis/js-apis-data-rdb.md)
- - [@ohos.data.storage](reference/js-apis-data-storage.md)
+ - [@ohos.data.storage](reference/apis/js-apis-data-storage.md)
- [@ohos.settings](reference/apis/js-apis-settings.md)
- [resultSet](reference/apis/js-apis-data-resultset.md)
@@ -636,7 +589,6 @@
- [@ohos.bluetooth](reference/apis/js-apis-bluetooth.md)
- [@ohos.rpc](reference/apis/js-apis-rpc.md)
- - [@ohos.connectedTag](reference/js-apis-connectedTag.md)
- [@ohos.wifi](reference/apis/js-apis-wifi.md)
- [@ohos.wifiext](reference/apis/js-apis-wifiext.md)
@@ -650,8 +602,6 @@
- [@ohos.hilog](reference/apis/js-apis-hilog.md)
- [@ohos.hiTraceChain](reference/apis/js-apis-hitracechain.md)
- [@ohos.hiTraceMeter](reference/apis/js-apis-hitracemeter.md)
- - [@ohos.inputMethod](reference/js-apis-inputmethod.md)
- - [@ohos.inputMethodEngine](reference/js-apis-inputmethodengine.md)
- [@ohos.pasteboard](reference/apis/js-apis-pasteboard.md)
- [@ohos.screenLock](reference/apis/js-apis-screen-lock.md)
- [@ohos.systemTime](reference/apis/js-apis-system-time.md)
@@ -667,7 +617,6 @@
- [@ohos.geolocation](reference/apis/js-apis-geolocation.md)
- [@ohos.multimodalInput.inputConsumer](reference/apis/js-apis-inputconsumer.md)
- [@ohos.multimodalInput.inputDevice](reference/apis/js-apis-inputdevice.md)
- - [@ohos.multimodalInput.inputEventClient](reference/js-apis-inputeventclient.md)
- [@ohos.multimodalInput.inputMonitor](reference/apis/js-apis-inputmonitor.md)
- [@ohos.power](reference/apis/js-apis-power.md)
- [@ohos.runningLock](reference/apis/js-apis-runninglock.md)
@@ -708,29 +657,10 @@
- [@ohos.worker](reference/apis/js-apis-worker.md)
- [@ohos.xml](reference/apis/js-apis-xml.md)
- - Test
-
- - [@ohos.application.testRunner](reference/js-apis-testRunner.md)
- - [@ohos.uitest](reference/js-apis-uitest.md)
-
- APIs No Longer Maintained
- - [@ohos.bytrace](reference/js-apis-bytrace.md)
- - [@system.app](reference/js-apis-system-app.md)
- - [@system.battery](reference/js-apis-system-battery.md)
- - [@system.brightness](reference/js-apis-system-brightness.md)
- - [@system.configuration](reference/js-apis-system-configuration.md)
- - [@system.device](reference/js-apis-system-device.md)
- - [@system.fetch](reference/js-apis-system-fetch.md)
- - [@system.file](reference/js-apis-system-file.md)
- - [@system.geolocation](reference/js-apis-system-location.md)
- - [@system.mediaquery](reference/js-apis-system-mediaquery.md)
- - [@system.network](reference/js-apis-system-network.md)
- - [@system.package](reference/js-apis-system-package.md)
- - [@system.prompt](reference/js-apis-system-prompt.md)
- - [@system.request](reference/js-apis-system-request.md)
- - [@system.router](reference/js-apis-system-router.md)
- - [@system.sensor](reference/js-apis-system-sensor.md)
- - [@system.storage](reference/js-apis-system-storage.md)
- - [@system.vibrator](reference/js-apis-system-vibrate.md)
- - [console](reference/js-apis-logs.md)
\ No newline at end of file
+ - [@ohos.bytrace](reference/apis/js-apis-bytrace.md)
+ - [@ohos.data.storage](reference/apis/js-apis-data-storage.md)
+ - [@system.sensor](reference/apis/js-apis-system-sensor.md)
+ - [@system.vibrator](reference/apis/js-apis-system-vibrate.md)
+ - [console](reference/apis/js-apis-logs.md)
\ No newline at end of file