diff --git a/en/application-dev/background-agent-scheduled-reminder/Readme-EN.md b/en/application-dev/background-agent-scheduled-reminder/Readme-EN.md index 7f4083e641ecf002e40313deaed5a9616ad32913..45eba39ce6b4baa365ef8f684a37522e7157a459 100644 --- a/en/application-dev/background-agent-scheduled-reminder/Readme-EN.md +++ b/en/application-dev/background-agent-scheduled-reminder/Readme-EN.md @@ -1,4 +1,4 @@ -# Agent-Powered Scheduled Reminders +# Agent-Powered Scheduled Reminder -- [Overview](background-agent-scheduled-reminder-overview.md) -- [Development Guidelines](background-agent-scheduled-reminder-guide.md) +- [Agent-Powered Scheduled Reminder Overview](background-agent-scheduled-reminder-overview.md) +- [Agent-Powered Scheduled Reminder Development](background-agent-scheduled-reminder-guide.md) diff --git a/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-guide.md b/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-guide.md index 5b5961b409b1c843bc344a898582de3bfffd7060..d61ce4bab7d7cd3baf75bcfa3948f61fb39af994 100644 --- a/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-guide.md +++ b/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-guide.md @@ -1,4 +1,4 @@ -# Development Guidelines +# Agent-Powered Scheduled Reminder Development ## When to Use diff --git a/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-overview.md b/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-overview.md index 32f0b858f30ce9f6dcec7c979f7c196ecc42e42c..b44656a23200393dc8ac0a2d21d2f5b4a7e06796 100644 --- a/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-overview.md +++ b/en/application-dev/background-agent-scheduled-reminder/background-agent-scheduled-reminder-overview.md @@ -1,4 +1,4 @@ -# Overview +# Agent-Powered Scheduled Reminder Overview Your application can call the **ReminderRequest** class to create scheduled reminders for countdown timers, calendar events, and alarm clocks. When the created reminders are published, the timing and pop-up notification functions of your application will be taken over by the reminder agent in the background, even when your application is frozen or exits. diff --git a/en/application-dev/notification/Readme-EN.md b/en/application-dev/notification/Readme-EN.md index 2a0df0e3a4f6f2bbc27739a97b44df5f72569de5..3207b121ae79dc08a97d90857e8469aaf22e6988 100644 --- a/en/application-dev/notification/Readme-EN.md +++ b/en/application-dev/notification/Readme-EN.md @@ -1,17 +1,9 @@ # Common Event and Notification -[Common Event and Notification Overview](notification-brief.md) - -### Common Event - -* [Common Event Development](common-event.md) - -### Notification - -* [Notification Development](notification.md) - - - -### Debugging Tools - -* [Debugging Assistant Usage](assistant-guidelines.md) +- [Common Event and Notification Overview](notification-brief.md) +- Common Event + - [Common Event Development](common-event.md) +- Notification + - [Notification Development](notification.md) +- Debugging Tools + - [Debugging Assistant Usage](assistant-guidelines.md) diff --git a/en/application-dev/quick-start/Readme-EN.md b/en/application-dev/quick-start/Readme-EN.md index 8535200ec968a2073264fbf188381b9914e33011..e101158532d51ba2a072a1d860bb7eaf1bee1602 100644 --- a/en/application-dev/quick-start/Readme-EN.md +++ b/en/application-dev/quick-start/Readme-EN.md @@ -1,15 +1,14 @@ # Quick Start -- Getting Started - - [Preparations](start-overview.md) - - [Getting Started with eTS in the Traditional Coding Approach](start-with-ets.md) - - [Getting Started with eTS in the Low-Code Approach](start-with-ets-low-code.md) - - [Getting Started with JavaScript in the Traditional Coding Approach](start-with-js.md) - - [Getting Started with JavaScript in the Low-Code Approach](start-with-js-low-code.md) - -- Development Fundamentals - - [Application Development Package Structure (FA Model)](package-structure.md) - - [Application Development Package Structure (Stage Model)](module-structure.md) - - [Resource File Categories](basic-resource-file-categories.md) - - [SysCap](syscap.md) - +- Getting Started + - [Preparations](start-overview.md) + - [Getting Started with eTS in the Traditional Coding Approach](start-with-ets.md) + - [Getting Started with eTS in the Low-Code Approach](start-with-ets-low-code.md) + - [Getting Started with JavaScript in the Traditional Coding Approach](start-with-js.md) + - [Getting Started with JavaScript in the Low-Code Approach](start-with-js-low-code.md) + +- Development Fundamentals + - [Application Development Package Structure (FA Model)](package-structure.md) + - [Application Development Package Structure (Stage Model)](module-structure.md) + - [Resource File Categories](basic-resource-file-categories.md) + - [SysCap](syscap.md) diff --git a/en/application-dev/reference/apis/Readme-EN.md b/en/application-dev/reference/apis/Readme-EN.md index 97d64ac3ff9e26945372209671c595379117577d..23d9e59c46ab9b96d44dbfd7dc1b65b5147c2f6f 100644 --- a/en/application-dev/reference/apis/Readme-EN.md +++ b/en/application-dev/reference/apis/Readme-EN.md @@ -44,6 +44,7 @@ - application/[ProcessRunningInfo](js-apis-processrunninginfo.md) - application/[ServiceExtensionContext](js-apis-service-extension-context.md) - application/[shellCmdResult](js-apis-application-shellCmdResult.md) + - Common Event and Notification - [@ohos.commonEvent](js-apis-commonEvent.md) @@ -51,16 +52,20 @@ - [@ohos.notification](js-apis-notification.md) - [@ohos.reminderAgent](js-apis-reminderAgent.md) - application/[EventHub](js-apis-eventhub.md) + - Bundle Management - [@ohos.bundle](js-apis-Bundle.md) + - [@ohos.bundleState](js-apis-deviceUsageStatistics.md) - [@ohos.zlib](js-apis-zlib.md) + - UI Page - [@ohos.animator](js-apis-animator.md) - [@ohos.mediaquery](js-apis-mediaquery.md) - [@ohos.prompt](js-apis-prompt.md) - [@ohos.router](js-apis-router.md) + - Graphics - [@ohos.display ](js-apis-display.md) @@ -68,6 +73,7 @@ - [@ohos.window](js-apis-window.md) - [webgl](js-apis-webgl.md) - [webgl2](js-apis-webgl2.md) + - Media - [@ohos.multimedia.audio](js-apis-audio.md) @@ -75,27 +81,30 @@ - [@ohos.multimedia.image](js-apis-image.md) - [@ohos.multimedia.media](js-apis-media.md) - [@ohos.multimedia.medialibrary](js-apis-medialibrary.md) + - Resource Management - [@ohos.i18n](js-apis-i18n.md) - [@ohos.intl](js-apis-intl.md) - [@ohos.resourceManager](js-apis-resource-manager.md) + - Resource Scheduling - [@ohos.backgroundTaskManager](js-apis-backgroundTaskManager.md) - [@ohos.workScheduler ](js-apis-workScheduler.md) - [@ohos.WorkSchedulerExtensionAbility](js-apis-WorkSchedulerExtensionAbility.md) - - [@ohos.bundleState ](js-apis-deviceUsageStatistics.md) - Custom Management - [@ohos.configPolicy](js-apis-config-policy.md) - [@ohos.enterpriseDeviceManager](js-apis-enterprise-device-manager.md) + - Security - [@ohos.abilityAccessCtrl](js-apis-abilityAccessCtrl.md) - [@ohos.security.huks ](js-apis-huks.md) - [@ohos.userIAM.userAuth ](js-apis-useriam-userauth.md) - [@system.cipher](js-apis-system-cipher.md) + - Data Management - [@ohos.data.dataAbility ](js-apis-data-ability.md) @@ -105,6 +114,7 @@ - [@ohos.data.rdb](js-apis-data-rdb.md) - [@ohos.settings](js-apis-settings.md) - data/rdb/[resultSet](js-apis-data-resultset.md) + - File Management - [@ohos.document](js-apis-document.md) @@ -114,6 +124,7 @@ - [@ohos.statfs](js-apis-statfs.md) - [@ohos.storageStatistics](js-apis-storage-statistics.md) - [@ohos.volumeManager](js-apis-volumemanager.md) + - Telephony Service - [@ohos.contact](js-apis-contact.md) @@ -123,12 +134,14 @@ - [@ohos.telephony.sim](js-apis-sim.md) - [@ohos.telephony.sms](js-apis-sms.md) - [@ohos.telephony.data](js-apis-telephony-data.md) + - Network Management - [@ohos.net.connection](js-apis-net-connection.md) - [@ohos.net.http](js-apis-http.md) - [@ohos.request](js-apis-request.md) - [@ohos.net.socket](js-apis-socket.md) - [@ohos.net.webSocket](js-apis-webSocket.md) + - Connectivity - [@ohos.bluetooth](js-apis-bluetooth.md) @@ -136,6 +149,7 @@ - [@ohos.rpc](js-apis-rpc.md) - [@ohos.wifi](js-apis-wifi.md) - [@ohos.wifiext](js-apis-wifiext.md) + - Basic Features - [@ohos.accessibility](js-apis-accessibility.md) @@ -153,6 +167,7 @@ - [@ohos.systemTime](js-apis-system-time.md) - [@ohos.wallpaper](js-apis-wallpaper.md) - [Timer](js-apis-timer.md) + - Device Management - [@ohos.batteryInfo ](js-apis-battery-info.md) @@ -172,11 +187,13 @@ - [@ohos.update](js-apis-update.md) - [@ohos.usb](js-apis-usb.md) - [@ohos.vibrator](js-apis-vibrator.md) + - Account Management - [@ohos.account.appAccount](js-apis-appAccount.md) - [@ohos.account.distributedAccount](js-apis-distributed-account.md) - [@ohos.account.osAccount](js-apis-osAccount.md) + - Language Base Class Library - [@ohos.convertxml](js-apis-convertxml.md) @@ -200,15 +217,18 @@ - [@ohos.util.Vector](js-apis-vector.md) - [@ohos.worker](js-apis-worker.md) - [@ohos.xml](js-apis-xml.md) + - Test - [@ohos.application.testRunner](js-apis-testRunner.md) - [@ohos.uitest](js-apis-uitest.md) + - APIs No Longer Maintained - [@ohos.bytrace](js-apis-bytrace.md) - [@ohos.data.storage](js-apis-data-storage.md) - [@system.app](js-apis-system-app.md) - [@system.battery](js-apis-system-battery.md) + - [@system.bluetooth](js-apis-system-bluetooth.md) - [@system.brightness](js-apis-system-brightness.md) - [@system.configuration](js-apis-system-configuration.md) - [@system.device](js-apis-system-device.md) @@ -217,6 +237,7 @@ - [@system.geolocation](js-apis-system-location.md) - [@system.mediaquery](js-apis-system-mediaquery.md) - [@system.network](js-apis-system-network.md) + - [@system.notification](js-apis-system-notification.md) - [@system.package](js-apis-system-package.md) - [@system.prompt](js-apis-system-prompt.md) - [@system.request](js-apis-system-request.md) diff --git a/en/application-dev/reference/apis/js-apis-enterprise-device-manager.md b/en/application-dev/reference/apis/js-apis-enterprise-device-manager.md index 08edc1455302ac2f3dd7848ffae82139444e34b6..3e5762750b71ceec5c3b6d852ecec054ef29ad1e 100644 --- a/en/application-dev/reference/apis/js-apis-enterprise-device-manager.md +++ b/en/application-dev/reference/apis/js-apis-enterprise-device-manager.md @@ -1,6 +1,7 @@ # Enterprise Device Management > ![icon-note.gif](public_sys-resources/icon-note.gif) **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. @@ -18,16 +19,18 @@ activateAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, call Activates a device administrator application based on the specified bundle name and class name. This API uses an asynchronous callback to return the result. **Required permissions** + ohos.permission.MANAGE_ADMIN **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** | Name| Type| Mandatory| Description| | -------- | -------- | -------- | -------- | -| admin | [Want](js-apis-featureAbility.md#Want)| Yes | Device administrator application. | +| admin | [Want](js-apis-application-Want.md) | Yes | Device administrator application. | | enterpriseInfo | [EnterpriseInfo](#EnterpriseInfo) | Yes | Enterprise information of the device administrator application.| | type | [AdminType](#AdminType) | Yes| Type of the device administrator to activate.| | callback | AsyncCallback\ | Yes| Callback used to return the result.| @@ -59,16 +62,18 @@ activateAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType): Pro Activates a device administrator application based on the specified bundle name and class name. This API uses a promise to return the result. **Required permissions** + ohos.permission.MANAGE_ADMIN **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** | Name | Type | Mandatory| Description | | -------------- | ---------------------------------------------- | ---- | ------------------------ | -| admin | [Want](js-apis-featureAbility.md#Want)| Yes | Device administrator application. | +| admin | [Want](js-apis-application-Want.md) | Yes | Device administrator application. | | enterpriseInfo | [EnterpriseInfo](#EnterpriseInfo) | Yes | Enterprise information of the device administrator application.| | type | [AdminType](#AdminType) | Yes | Type of the device administrator to activate. | @@ -104,16 +109,18 @@ deactivateAdmin(admin: Want, callback: AsyncCallback\): void Deactivates a device common administrator application based on the specified bundle name and class name. This API uses an asynchronous callback to return the result. **Required permissions** + ohos.permission.MANAGE_ADMIN **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** | Name | Type | Mandatory| Description | | -------- | ---------------------------------------------- | ---- | ------------------------------ | -| admin | [Want](js-apis-featureAbility.md#Want)| Yes | Device common administrator application. | +| admin | [Want](js-apis-application-Want.md) | Yes | Device common administrator application. | | callback | AsyncCallback\ | Yes | Callback used to return the result.| **Example** @@ -141,16 +148,18 @@ deactivateAdmin(admin: Want): Promise\ Deactivates a device common administrator application based on the specified bundle name and class name. This API uses a promise to return the result. **Required permissions** + ohos.permission.MANAGE_ADMIN **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** | Name| Type | Mandatory| Description | | ------ | ---------------------------------------------- | ---- | ------------------ | -| admin | [Want](js-apis-featureAbility.md#Want)| Yes | Device common administrator application.| +| admin | [Want](js-apis-application-Want.md) | Yes | Device common administrator application.| **Return value** @@ -179,6 +188,7 @@ deactivateSuperAdmin(bundleName: String, callback: AsyncCallback\): voi Deactivates a device super administrator application based on the specified bundle name. This API uses an asynchronous callback to return the result. **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** @@ -208,6 +218,7 @@ deactivateSuperAdmin(bundleName: String): Promise\ Deactivates a device super administrator application based on the specified bundle name. This API uses a promise to return the result. **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** @@ -240,13 +251,14 @@ isAdminAppActive(admin: Want, callback: AsyncCallback\): void Checks whether a device administrator application is activated based on the specified bundle name and class name. This API uses an asynchronous callback to return the result. **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** | Name | Type | Mandatory| Description | | -------- | ---------------------------------------------- | ---- | -------------------------------- | -| admin | [Want](js-apis-featureAbility.md#Want)| Yes | Device administrator application. | +| admin | [Want](js-apis-application-Want.md) | Yes | Device administrator application. | | callback | AsyncCallback\ | Yes | Callback used to return the result.| **Example** @@ -274,13 +286,14 @@ isAdminAppActive(admin: Want): Promise\ Checks whether a device administrator application is activated based on the specified bundle name and class name. This API uses a promise to return the result. **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** | Name| Type | Mandatory| Description | | ------ | ---------------------------------------------- | ---- | -------------- | -| admin | [Want](js-apis-featureAbility.md#Want)| Yes | Device administrator application.| +| admin | [Want](js-apis-application-Want.md) | Yes | Device administrator application.| **Return value** @@ -309,6 +322,7 @@ isSuperAdmin(bundleName: String, callback: AsyncCallback\): void Checks whether a device super administrator application is activated based on the specified bundle name. This API uses an asynchronous callback to return the result. **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** @@ -340,6 +354,7 @@ isSuperAdmin(bundleName: String): Promise\ Checks whether a device super administrator application is activated based on the specified bundle name. This API uses a promise to return the result. **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** @@ -372,6 +387,7 @@ getDeviceSettingsManager(callback: AsyncCallback<DeviceSettingsManager>): Obtains a **DeviceSettingsManager** object. This API uses an asynchronous callback to return the result. **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** @@ -410,6 +426,7 @@ getDeviceSettingsManager(): Promise<DeviceSettingsManager> Obtains a **DeviceSettingsManager** object. This API uses a promise to return the result. **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Return value** @@ -443,13 +460,14 @@ setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo, callback: AsyncCa Sets the enterprise information of a device administrator application. This API uses an asynchronous callback to return the result. **System capability** + SystemCapability.Customation.EnterpriseDeviceManager **Parameters** | Name | Type | Mandatory| Description | | -------------- | ---------------------------------------------- | ---- | ------------------------------------ | -| admin | [Want](js-apis-featureAbility.md#Want)| Yes | Device administrator application. | +| admin | [Want](js-apis-application-Want.md) | Yes | Device administrator application. | | enterpriseInfo | [EnterpriseInfo](#EnterpriseInfo) | Yes | Enterprise information of the device administrator application. | | callback | AsyncCallback\ { Describes the enterprise information of a device administrator application. -**System capability**: +**System capability** + SystemCapability.Customation.EnterpriseDeviceManager + | Name | Readable/Writable| Type | Mandatory| Description | | ----------- | -------- | ------ | ---- | ---------------------------------- | | name | Read only | string | Yes | Name of the enterprise to which the device administrator application belongs.| @@ -600,8 +623,10 @@ SystemCapability.Customation.EnterpriseDeviceManager Enumerates the administrator types of the device administrator application. -**System capability**: +**System capability** + SystemCapability.Customation.EnterpriseDeviceManager + | Name| Default Value| Description| | -------- | -------- | -------- | | ADMIN_TYPE_NORMAL | 0x00 | Common administrator.| diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-button.md b/en/application-dev/reference/arkui-ts/ts-basic-components-button.md index 33e0654aaa787c1ee4bd58e7d198653463a32c80..68d1c22f59642c5fb0d1460c4c3be13481fb9210 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-button.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-button.md @@ -2,6 +2,7 @@ > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** +> > This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. @@ -21,7 +22,8 @@ Supported ## APIs - Button(options?: {type?: ButtonType, stateEffect?: boolean}) - **Table1** options parameters + + **Table 1** options parameters | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | @@ -30,14 +32,15 @@ Supported - Button(label?: string, options?: { type?: ButtonType, stateEffect?: boolean }) + Creates a button component based on text content. In this case, the **<Button>** component cannot contain child components. - **Table2** value parameters - - | Name | Type | Mandatory | Default Value | Description | - | -------- | -------- | -------- | -------- | -------- | - | label | string | No | - | Button text. | - | options | Object | No | - | For details, see the **options** parameters. | + **Table 2** value parameters + +| Name | Type | Mandatory | Default Value | Description | +| -------- | -------- | -------- | -------- | -------- | +| label | string | No | - | Button text. | +| options | Object | No | - | For details, see the **options** parameters. | ## Attributes diff --git a/en/application-dev/ui/ui-js-overview.md b/en/application-dev/ui/ui-js-overview.md index 39612e9d878502f3a855b24dae62eee1ea8b5436..e69b8f2553764abe0420e13febb351faaaadb724 100644 --- a/en/application-dev/ui/ui-js-overview.md +++ b/en/application-dev/ui/ui-js-overview.md @@ -1,8 +1,9 @@ # Overview - The web-like development paradigm uses the classical three-stage programming model, in which OpenHarmony Markup Language (HML) is used for building layouts, CSS for defining styles, and JavaScript for adding processing logic. UI components are associated with data through one-way data-binding. This means that when data changes, the UI automatically updates with the new data. This development paradigm has a low learning curve for frontend web developers, allowing them to quickly transform existing web applications into ArkUI applications. It could be helpful if you are developing small- and medium-sized applications with simple UIs. +For details about the components, see [Component Reference (JavaScript-based Web-like Development Paradigm)](../reference/arkui-js/js-components-common-attributes.md). + ## Overall Architecture diff --git a/en/application-dev/ui/ui-ts-basic-components-button.md b/en/application-dev/ui/ui-ts-basic-components-button.md index 4f762787f1d9d2fa8de991b33fa6e1b5c1a7b78d..0d65412ecb0b19a1937d223cadb87696a890d9ee 100644 --- a/en/application-dev/ui/ui-ts-basic-components-button.md +++ b/en/application-dev/ui/ui-ts-basic-components-button.md @@ -1,7 +1,7 @@ # Button -The **\