diff --git a/en/release-notes/OpenHarmony-v4.0-beta2.md b/en/release-notes/OpenHarmony-v4.0-beta2.md new file mode 100644 index 0000000000000000000000000000000000000000..892d95e83883ddd30781465bd87481d9897f8bbc --- /dev/null +++ b/en/release-notes/OpenHarmony-v4.0-beta2.md @@ -0,0 +1,450 @@ +# OpenHarmony 4.0 Beta2 + +## Version Description + +The standard system capabilities of OpenHarmony 4.0 are continuously improved. ArkUI further enhances the capabilities of basic components. The application framework supports ArkTS widget updates triggered by agents. The bundle manager subsystem supports data sharing across atomic services, as well as enterprise application installation. The DSoftBus subsystem supports session-level transmission capability negotiation. The Unified Data Management Framework (UDMF) supports temporary authorization for files in distributed directories in cross-device dragging scenarios. The file management subsystem supports device-cloud synchronization of public image files. The multimedia subsystem further enhances the audio, media playback, and audio/video codec capabilities. The graphics rendering library is upgraded to Skia 0310. The window component capability is enhanced. The common event and notification subsystem supports batch notification deletion. The security subsystem supports Digital Signature Algorithm (DSA). ArkCompiler Runtime supports JSContext and dynamic profile guided optimization (PGO). DFX provides a unified collection framework for easier application debugging. + +## Feature Description + + +### Application Framework + +- The content of an ArkTS widget can be updated through a data agent. + +- Static configuration and static graph display are provided for ArkTS widgets. + + +### ArkUI + +- **\** supports texture rendering. Popup positions can be customized, and popups can be closed layer by layer by pressing the **Esc** key. The **\** component supports the swipe-to-delete gesture, which means that users can long swipe left to delete an element. ArkTS/JS widgets support callbacks triggered upon the completion of rendering. The **\** and **\** components support obscuring. The **\** component supports segment-based display. + +- The animation effect is enhanced, including the layout attribute, background image size and position, and show/hide attribute (implicit animation). **scrollToIndex** can be used to set animation effects for lists. Fuzzy animations are provided for tabs, and display/disappearance animations are provided for popups. Custom animations are also supported. + +- Named routes are supported so that page-specific switching animations can be set. The lite ArkUI framework supports global data objects and data sharing between pages within an application. + +- Global APIs support the stage model multiton scenario. + + +### Bundle Management + +- APIs are provided to set and query the application distribution type and attachment information. + +- Applications that can open a file are identified through the file name extension, implementing the mapping between a file name extension and an application. + +- Enterprise applications can be installed. To install an application whose certificate type is **enterprise**, you must request the **ohos.permission.INSTALL_ENTERPRISE_BUNDLE** permission. + + +### Distributed Data Management + +- The UDMF supports temporary authorization for files in distributed directories in cross-device dragging scenarios. + +- RDB store NDK interfaces are provided. These interfaces are used for transaction addition, deletion, modification, and query, data encryption, hierarchical data protection, and backup and restore. + +- The system can automatically selects a Bluetooth or Wi-Fi P2P channel for synchronization of key-value and distributed data objects based on the data volume. + + +### DSoftBus + +- Management of soft bus link information is supported. + +- Cross-device transmission capability negotiation is provided at the session level. + + +### Distributed Hardware + +- The audio recording latency in distributed scenarios is optimized. + +- The distributed file system supports mutual file access over Bluetooth P2P connections. + +- A listener can be provided to listen for device name changes. + + +### File Management + +- Public image files can be synchronized between the device and cloud (on the prerequisite that the cloud service is enabled for the login account of the device). Images on the cloud can be selected through the picker. + +- Applications can customize the directories to be backed up. + +- Public images can be managed by category. Users can classify user images through albums in Gallery. + +- Applications can listen for the addition, modification, and deletion of files in the sandbox. + +- Applications can share files in the sandbox across devices. + + +### Graphics & Window + +**Graphics** + +- APIs are provided to pick the color of a selected region in an image. Applications can use the APIs to select a region in an image and obtain its dominant color and average color value. + +- APIs are provided to set the offset of the rotation center on the z-axis anchor point so that the rendered anchor point can be modified during rotation. + +- The rendering library on which the graphics subsystem depends is upgraded to Skia 0310. + +**Window** + +- The way for obtaining the parameter values of the display module is optimized. Now actual parameter values are directly obtained from the hardware instead of the software. + +- The window component capability is enhanced. The window supports window attributes, child windows, modal windows, window effects, window decoration, screen-on/screen-off, screenshot, and screen recording in component mode. + + +### Multimedia + +**Audio** + +- The sound effect framework is supported. Device vendors can configure sound effect policies and load custom sound effects. Applications can query, switch, or disable the sound effect mode. + +- Intra-system recording is supported. Audio data played in the system can be filtered and recorded based on the audio scene attribute. + +- The display name of the audio output device can be obtained from the playback object information. + +**Media Playback** + +Audio effect parameters can be configured. + +**Audio/Video Codecs** + +- Native APIs can be used to query the audio and video codecs of the system. + +- Native APIs can be used to encapsulate audio and video data, that is, to store encoded media data in files in a certain format. + +- Native APIs can be used to decapsulate audio and video data, that is, to extract media frame data from bit stream data. + + +### Common Event and Notification + +- Notifications can be deleted in batches. + +- The emitter supports unsubscription of condition-specific callbacks. + + +### Basic Communications + +- The Wi-Fi module supports background scanning. + +- The Wi-Fi module supports random MAC addresses in STA mode. + + +### Network and Communication + +- A TCP socket can be used for communication with the server. + +- Data transfer to a remote server is supported. + +- HTTPS certificate management adaptation is supported. + +- The NIC proxy is supported. + + +### System Service Management + +- System services can be started as required, for example, called by external systems or triggered by events. System services can be automatically stopped when the device is idle. + +- The system service configuration format is optimized by using the JSON format instead of the XML format. + + +### Power Supply + +- New APIs are provided to enable the system to enter the sleep state immediately. + +- Events and behavior can be customized based on the hibernation source. + +- Wakeup events can be customized based on the wakeup source. + + +### Multimodal Input + +- Original events of keyboard input devices are mapped to the intent event of normalized interaction, so that you do not need to pay attention to whether the input behavior comes from the touch or keyboard during application development. + +- Users can customize the touchpad based on their use habits. + - Both the press and touch actions can be used to map a click on the left mouse button. + - Both of the following actions can be used to map a right-click on the mouse: touching the left or lower right corner, and pressing or touching the left or lower right corner with two fingers. + - 10 speed levels are supported. + - Both of the following actions can be used to map a scroll with mouse: content moving in the same direction as your finger moves, and content moving in the reverse direction as your finger moves. + + +### Theme Framework + +- The lock screen management service supports lock screen event callbacks, static/dynamic wallpaper, and service status query when the screen is locked. + +- The wallpaper management service allows users to customize and reset wallpapers, and lock/unlock the screen. + + +### Upload and Download + +Users can query upload and download tasks, synchronize and query task status, persistently store task records, and rectify exceptions. + + +### Security + +**Crypto Framework** + +- DSA is supported. + +- APIs are provided to parse DSA, Elliptic Curve Cryptography (ECC), and Rivest Shamir Adleman (RSA) keys and obtain key parameters. + +- APIs are provided to obtain the algorithm type used to generate random numbers. + +- APIs are provided to randomly generate, convert, encrypt, and decrypt SM4 keys. + +- The Hash-based Message Authentication Code (HMAC) and hash capabilities are provided for SM3 keys. + +- APIs are provided to randomly generate, convert, sign, verify, encrypt, and decrypt SM2 keys. + +**Key Management** + +- HUKS key encryption is supported. + +- The service identity field of the key can be added to the Key Attestation public key certificate. + +- Standard HDIs are provided. + +**Mutual Authentication Between Devices** + +Pseudonyms can be generated and identified in the following scenarios: + +- Mutual authentication on multiple devices that use the same account to log in + +- Mutual authentication on two devices that are connected in P2P mode using different accounts + + +### Ability Access Control + +- The display of the permission management menu is optimized. The permission groups of media assets and files are split, and the authorization granularity of corresponding permissions is more refined. + +- Compatibility with SELinux in the Treble architecture is supported. + + +### Account + +- Third-party applications can use the account authorization capability. + +- Management on domain account plugins is provided to support domain account management and authentication. + + +### WebView + +- The web camera capability and HTML5 tag capabilities such as bindContextMenu, Select, and date input are supplemented. + +- Multiple rendering processes can be split. + +- Basic text and image dragging capabilities are provided. + +- WebRTC video conferencing (excluding camera sharing) is supported. + +- Independent SELinux labels are provided for rendering processes to enhance basic security. + + +### ArkCompiler + +- ArkCompiler Runtime supports JSContext and dynamic PGO, which collects type and function hotspot information at runtime and generates AP files. The NAPI library can be dynamically imported and loaded. + +- In type compilation mode of ArkCompiler, the front-end compilation toolchain is switched to es2abc. + +- New APIs are provided for the NAPI buffer, object, arraybuffer, and object types. + +- The task pool supports task interruption and cancellation, task group definition, task status and scheduling information dotting, and identification and recovery of tasks that wait for a long time. + +- Different versions can be built for system users and user **root**. The user version supports Wukong and XTS. + +- The compiler toolchain supports debugging of the previewer. + + +### DFX + +- A unified collection framework is provided for application debugging. + +- Unified trace collection is provided. + +- Native HiTraceMeter APIs are provided. + +- The performance radar provides tool classes for service modules (subsystems) to transfer performance tracing point records and settlement performance data in service processes. + + +### Kernel + +Code execution permission control is enhanced as follows: + +- Secure memory is supported. + +- Scenario-specific code execution permission control policies are provided. + +- Full lifecycle management is provided for code execution permission control. + +- Executable files can be parsed to obtain code segment information. + +- Integrity protection is provided for code pages. + + +### Driver + +- The extended device driver framework provides the following capabilities: + - Based on the DriverExtensionAbility, the extended device driver framework builds lifecycle management capabilities, including developing, deploying, installing, updating, uninstalling, and running extended driver packages in the application state. + - USB device extension driver packages that are developed by third-party device vendors and do not comply with standard protocols can be installed on OpenHarmony devices. After such a USB device is inserted, the system can identify it and matches an extension driver package. + - Third-party applications can query and bind to a USB device extension driver package through the extended device management framework. + +- The camera driver provides the following capabilities: + - Identifying USB camera hot swap events during startup check and after startup. + - Preview, photographing, and video recording of USB cameras, and query and configuration of the camera format and resolution. + +- The codec driver provides hardware decoding acceleration for JPEG images, including obtaining hardware decoding information, initializing and deinitializing instances, decoding JPEG images, and applying for and releasing a buffer. + +- The sensor driver provides driving for temperature and humidity sensors. It supports the query of temperature and humidity components of small-system devices, component enabling/disabling, and data query. + + +## Version Mapping + +**Table 1** Version mapping of software and tools + +| Software/Tool| Version| Remarks| +| -------- | -------- | -------- | +| OpenHarmony | 4.0 Beta2 | NA | +| Public SDK | Ohos_sdk_public 4.0.9.6 (API Version 10 Beta2) | 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.| +| (Optional) HUAWEI DevEco Studio| 4.0 Beta2 | Recommended for developing OpenHarmony applications How to obtain:

SHA-256 checksum: ae9b228fb1f79e99441e10bdcf347ebfc42266be8b170bbce3c9764ba32d82a4

SHA-256 checksum: 5c9afc5b1262868b58376155f1e8576d33c1ade8b01091edc4d7d397cd34026c

SHA-256 checksum: ea6c98cafd5036e4a6fd46b0b1cde3a306953b1eef423d5940f1af7c632205d6 | +| (Optional) HUAWEI DevEco Device Tool| 4.0 Beta1 | Recommended for developing OpenHarmony smart devices How to obtain:
[Click here to go to the download page](https://device.harmonyos.com/cn/develop/ide#download).| + + +## 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-4.0-Beta2 --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-v4.0-Beta2 --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-4.0-Beta2 --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-v4.0-Beta2 --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| **Site** | **SHA-256 Checksum** | Software Package Size| +| --------------------------------------- | ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -------- | +| Full code base (for mini, small, and standard systems) | 4.0 Beta2 | [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/code-v4.0-Beta2.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/code-v4.0-Beta2.tar.gz.sha256)| 27.7 GB | +| Hi3861 solution (binary) | 4.0 Beta2 | [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_pegasus.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_pegasus.tar.gz.sha256)| 27.5 MB | +| Hi3516 solution-LiteOS (binary)| 4.0 Beta2 | [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_taurus_LiteOS.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_taurus_LiteOS.tar.gz.sha256)| 300.9 MB | +| Hi3516 solution-Linux (binary) | 4.0 Beta2 | [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_taurus_Linux.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/hispark_taurus_Linux.tar.gz.sha256)| 192.4 MB | +| RK3568 standard system solution (binary) | 4.0 Beta2 | [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/dayu200_standard_arm32.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/dayu200_standard_arm32.tar.gz.sha256)| 5.2 GB | +| Public SDK package for the standard system (macOS) | 4.0.9.6 | [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/ohos-sdk-mac-public.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/ohos-sdk-mac-public.tar.gz.sha256)| 832.3 MB | +| Public SDK package for the standard system (macOS-M1) | 4.0.9.6 | [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/L2-SDK-MAC-M1-PUBLIC.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/L2-SDK-MAC-M1-PUBLIC.tar.gz.sha256)| 788.4 MB | +| Public SDK package for the standard system (Windows\Linux) | 4.0.9.6 | [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/ohos-sdk-windows_linux-public.tar.gz)| [Download](https://repo.huaweicloud.com/openharmony/os/4.0-Beta2/ohos-sdk-windows_linux-public.tar.gz.sha256)| 2.0 GB | + + +## What's New + +This version has the following updates to OpenHarmony 4.0 Beta1. + +### API + +For details about the API changes over OpenHarmony 4.0 Beta1, see [API Differences](/api-diff/v4.0-beta2/Readme-EN.md). A few API changes may affect applications developed using API version 9 or earlier. For details about the change impact and adaptation guide, see [Changelogs](changelogs/v4.0-beta2/Readme-EN.md). + + +### Feature Updates + +[Version Description](#version-description) + +### 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 + +**Table 3** New samples + +| Subsystem| Name| Introduction| Programming Language| +| -------- | -------- | -------- | -------- | +| Connectivity| [Upload and Download](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/BasicFeature/Connectivity/UploadAndDownLoad)| This sample uses the **\@ohos.request** APIs to create and query upload and download tasks. In this sample, an HTTP File Server (HFS) functions as the server.| ArkTS | +| File management| [Application Access Data Backup and Restore](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/BasicFeature/FileManagement/FileBackupExtension)
(Full SDK)| The BackupExtensionAbility enables an application to access the backup and restore framework.
**BackupExtensionAbility** is a derived class of **ExtensionAbility** in the stage model. You can modify the configuration file to customize the backup and restore framework behavior, including whether to allow backup and restore and specifying the files to be backed up.
This sample provides an application for the backup process to generate and display data.| ArkTS | +| Common event and notification| [Custom Badge](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/BasicFeature/Notification/CustomNotificationBadge)| This sample shows how to use the **\@ohos.notificationManager** APIs to set a badge on the home screen and send and obtain notifications.| ArkTS | +| Common event and notification| [Custom Notification Push](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/BasicFeature/Notification/CustomNotificationPush)
(Full SDK)| This sample shows how to use the **\@ohos.notificationManager** APIs to listen for callbacks to determine whether to send notifications. It implements notification filtering callback management.| ArkTS | +| NDK | [Native Xcomponent](https://gitee.com/openharmony/applications_app_samples/tree/master/code/BasicFeature/Native/NdkXComponent)
(Native SDK)| This sample shows how to use the native XComponent interface to obtain a **NativeWindow** instance, obtain the layout/event information, register an event callback, and draw shapes on the page through OpenGL/EGL. In this sample application, you can click the button to draw a pentagon and click the XComponent area to change the pentagon color.| Native C++ | +| Application Model| [Data Agent Widget - Database Update](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/SystemFeature/ApplicationModels/PersistentProxyForm)
(Full SDK)| This sample shows a data agent widget. It uses the **\@ohos.application.DataShareExtensionAbility**, **\@ohos.data.dataShare**, and **\@ohos.data.dataSharePredicates** APIs to implement widget content updates along with RDB changes after widget subscription information is modified.| ArkTS | +| Application Model| [Data Agent Widget - Push Application Update](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/SystemFeature/ApplicationModels/ProcessProxyForm)
(Full SDK)| This sample shows how to use the data agent widget in the push application form. It uses the **\@ohos.data.dataShare** APIs to modify subscription conditions of the data agent widget and publish the widget data.| ArkTS | +| Application Model| [Edit Application](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/SystemFeature/ApplicationModels/Receiver)| This sample implements simple sharing, including sharing cancellation and completion, based on the UIExtension. In the sample application, you can touch **Return Share** to return to the calling application; you can also touch **Stay Edit App** to stay in the current application.| ArkTS | +| Application Model| [Initiating Application Sharing](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/SystemFeature/ApplicationModels/Share)
(Full SDK)| This sample implements the initiation of sharing through the **Share** button. It provides two application icons: share demo and share edit. You can touch one of them to initiate sharing and redirect to the corresponding application.| ArkTS | +| Application Model| [Text Application](https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Beta2/code/SystemFeature/ApplicationModels/Template)
(Full SDK)| This sample implements simple sharing, including sharing cancellation and completion, based on the UIExtension. In the sample application, you can touch **Return Share** to return to the calling application; you can also touch **Stay Share Text** to stay in the current application.| ArkTS | + +For more information, visit [Samples](https://gitee.com/openharmony/applications_app_samples). + + +## Resolved Issues + +**Table 4** Resolved issues + +| Issue No.| Description| +| -------- | -------- | +| I6U4ZT | The first photo in Gallery cannot be opened when the power supply is disconnected immediately after the photo is taken.| +| I79752 | There is a medium probability that the .ohos.smartperf thread of the com.ohos.smartperf process causes a C++ crash in libark_jsruntime.so.| +| I79P3K | There is a low probability that the onDestroy stack encounters a JS crash in the com.ohos.callui process.| +| I79TCB | There is a low probability that the VizCompositorTh thread of the com.ohos.note process causes a C++ crash in libweb_engine.soTh.| +| I78CBC | Memory leakage occurs in libace.z.so when a user touches an image folder in Gallery to browse images in grid form and then exits repeatedly.| +| I78CH7 | Memory leakage occurs in libace.z.so when applications are repeatedly added to or removed from the dock bar.| + + +## Known Issues + +**Table 5** Known issues + +| Issue No.| Description| Impact| To Be Resolved By| +| -------- | -------- | -------- | -------- | +| I78C9W | Memory leakage occurs in libace.z.so when a user touches an image in Gallery to maximize it and then exits repeatedly.| This operation scenario is uncommon, and the leak issue disappears after the application is restarted. The impact is controllable.| 2023-08-30| +| I7BF3M | During the long-term running test, the launcher process occasionally encounters app freezing because STRINGID:APPLICATION_BLOCK_INPUT is stuck in libeventhandler.z.so.| This issue does not cause the system to restart. The impact is controllable.| 2023-08-30| +| I7M51R | There is a low probability that a C++ crash occurs in the render_service thread of the com.ohos.systemui process.| The render_service thread will restart automatically. The impact is controllable.| 2023-08-30| +| I7NWF3 | Due to compatibility issues, the session fails to be enabled for a Wi-Fi P2P connection between a device running 3.2.x and a device running 4.0.x. | This issue does not occur when both devices run 4.0.x. The impact is controllable. | 2023-08-30 | +| I7BOAO | Multiple GLES3 test cases of the third-party repository fail to be executed. | The third-party vendor is carrying out adaptation. | 2023-08-30 | diff --git a/en/release-notes/Readme.md b/en/release-notes/Readme.md index 4a49ce72f79cb4ee7879ac8ac9eaa38332dbf977..dd567ba649ff18c91d3d38b54048045a54a6b0b4 100644 --- a/en/release-notes/Readme.md +++ b/en/release-notes/Readme.md @@ -2,6 +2,7 @@ ## OpenHarmony 4.x Releases +- [OpenHarmony v4.0 Beta2 (2023-08-02)](OpenHarmony-v4.0-beta2.md) - [OpenHarmony v4.0 Beta1 (2023-06-03)](OpenHarmony-v4.0-beta1.md) ## OpenHarmony 3.x Releases diff --git a/en/release-notes/api-diff/v4.0-beta2/Readme-EN.md b/en/release-notes/api-diff/v4.0-beta2/Readme-EN.md new file mode 100644 index 0000000000000000000000000000000000000000..928a0479346baf9293eed9d73d566aeb181551cf --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/Readme-EN.md @@ -0,0 +1,34 @@ +# Readme + +- [Ability framework](js-apidiff-ability.md) +- [Account subsystem](js-apidiff-account.md) +- [AI subsystem](js-apidiff-ai.md) +- [System Applications](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) +- [Compiler and runtime 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) +- [Upload and download](js-apidiff-download-upload.md) +- [Driver subsystem](js-apidiff-driver.md) +- [File management subsystem](js-apidiff-file-management.md) +- [Geolocation 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) +- [USB subsystem](js-apidiff-usb.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/v4.0-beta2/js-apidiff-ability.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-ability.md new file mode 100644 index 0000000000000000000000000000000000000000..ad24d6021c33757cf6f2168784b94ba8f26ab6f0 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-ability.md @@ -0,0 +1,746 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: LastExitReason;
Method or attribute name: CPP_CRASH = 3|@ohos.app.ability.AbilityConstant.d.ts| +|Added|NA|Class name: LastExitReason;
Method or attribute name: JS_ERROR = 4|@ohos.app.ability.AbilityConstant.d.ts| +|Added|NA|Class name: LastExitReason;
Method or attribute name: APP_FREEZE = 5|@ohos.app.ability.AbilityConstant.d.ts| +|Added|NA|Class name: LastExitReason;
Method or attribute name: PERFORMANCE_CONTROL = 6|@ohos.app.ability.AbilityConstant.d.ts| +|Added|NA|Class name: LastExitReason;
Method or attribute name: RESOURCE_CONTROL = 7|@ohos.app.ability.AbilityConstant.d.ts| +|Added|NA|Class name: LastExitReason;
Method or attribute name: UPGRADE = 8|@ohos.app.ability.AbilityConstant.d.ts| +|Added|NA|Class name: ContinueState;
Method or attribute name: ACTIVE = 0|@ohos.app.ability.AbilityConstant.d.ts| +|Added|NA|Class name: ContinueState;
Method or attribute name: INACTIVE = 1|@ohos.app.ability.AbilityConstant.d.ts| +|Added|NA|Class name: abilityManager;
Method or attribute name: function notifySaveAsResult(parameter: AbilityResult, requestCode: number, callback: AsyncCallback\): void;|@ohos.app.ability.abilityManager.d.ts| +|Added|NA|Class name: abilityManager;
Method or attribute name: function notifySaveAsResult(parameter: AbilityResult, requestCode: number): Promise\;|@ohos.app.ability.abilityManager.d.ts| +|Added|NA|Class name: ApplicationStateChangeCallback;
Method or attribute name: onApplicationForeground(): void;|@ohos.app.ability.ApplicationStateChangeCallback.d.ts| +|Added|NA|Class name: ApplicationStateChangeCallback;
Method or attribute name: onApplicationBackground(): void;|@ohos.app.ability.ApplicationStateChangeCallback.d.ts| +|Added|NA|Class name: appManager;
Method or attribute name: function getProcessMemoryByPid(pid: number): Promise\;|@ohos.app.ability.appManager.d.ts| +|Added|NA|Class name: appManager;
Method or attribute name: function getProcessMemoryByPid(pid: number, callback: AsyncCallback\): void;|@ohos.app.ability.appManager.d.ts| +|Added|NA|Class name: appManager;
Method or attribute name: function getRunningProcessInfoByBundleName(bundleName: string, callback: AsyncCallback\>): void;|@ohos.app.ability.appManager.d.ts| +|Added|NA|Class name: appManager;
Method or attribute name: function getRunningProcessInfoByBundleName(bundleName: string, userId: number, callback: AsyncCallback\>): void;|@ohos.app.ability.appManager.d.ts| +|Added|NA|Class name: appManager;
Method or attribute name: function getRunningProcessInfoByBundleName(bundleName: string): Promise\>;|@ohos.app.ability.appManager.d.ts| +|Added|NA|Class name: appManager;
Method or attribute name: function getRunningProcessInfoByBundleName(bundleName: string, userId: number): Promise\>;|@ohos.app.ability.appManager.d.ts| +|Added|NA|Class name: WindowRect;
Method or attribute name: left: number;|@ohos.app.ability.dialogRequest.d.ts| +|Added|NA|Class name: WindowRect;
Method or attribute name: top: number;|@ohos.app.ability.dialogRequest.d.ts| +|Added|NA|Class name: WindowRect;
Method or attribute name: width: number;|@ohos.app.ability.dialogRequest.d.ts| +|Added|NA|Class name: WindowRect;
Method or attribute name: height: number;|@ohos.app.ability.dialogRequest.d.ts| +|Added|NA|Class name: RequestInfo;
Method or attribute name: windowRect?: WindowRect|@ohos.app.ability.dialogRequest.d.ts| +|Added|NA|Class name: RequestResult;
Method or attribute name: want?: Want;|@ohos.app.ability.dialogRequest.d.ts| +|Added|NA|Class name: missionManager;
Method or attribute name: function moveMissionsToForeground(missionIds: Array\, callback: AsyncCallback\): void;|@ohos.app.ability.missionManager.d.ts| +|Added|NA|Class name: missionManager;
Method or attribute name: function moveMissionsToForeground(missionIds: Array\, topMission: number, callback: AsyncCallback\): void;|@ohos.app.ability.missionManager.d.ts| +|Added|NA|Class name: missionManager;
Method or attribute name: function moveMissionsToForeground(missionIds: Array\, topMission?: number): Promise\;|@ohos.app.ability.missionManager.d.ts| +|Added|NA|Class name: missionManager;
Method or attribute name: function moveMissionsToBackground(missionIds: Array\, callback: AsyncCallback\>): void;|@ohos.app.ability.missionManager.d.ts| +|Added|NA|Class name: missionManager;
Method or attribute name: function moveMissionsToBackground(missionIds: Array\): Promise\>;|@ohos.app.ability.missionManager.d.ts| +|Added|NA|Class name: UIAbility;
Method or attribute name: onPrepareToTerminate(): boolean;|@ohos.app.ability.UIAbility.d.ts| +|Added|NA|Class name: UIAbility;
Method or attribute name: onBackPressed(): boolean;|@ohos.app.ability.UIAbility.d.ts| +|Added|NA|Class name: UIExtensionAbility;
Method or attribute name: context: UIExtensionContext;|@ohos.app.ability.UIExtensionAbility.d.ts| +|Added|NA|Class name: UIExtensionAbility;
Method or attribute name: onCreate(): void;|@ohos.app.ability.UIExtensionAbility.d.ts| +|Added|NA|Class name: UIExtensionAbility;
Method or attribute name: onSessionCreate(want: Want, session: UIExtensionContentSession): void;|@ohos.app.ability.UIExtensionAbility.d.ts| +|Added|NA|Class name: UIExtensionAbility;
Method or attribute name: onSessionDestroy(session: UIExtensionContentSession): void;|@ohos.app.ability.UIExtensionAbility.d.ts| +|Added|NA|Class name: UIExtensionAbility;
Method or attribute name: onForeground(): void;|@ohos.app.ability.UIExtensionAbility.d.ts| +|Added|NA|Class name: UIExtensionAbility;
Method or attribute name: onBackground(): void;|@ohos.app.ability.UIExtensionAbility.d.ts| +|Added|NA|Class name: UIExtensionAbility;
Method or attribute name: onDestroy(): void \| Promise\;|@ohos.app.ability.UIExtensionAbility.d.ts| +|Added|NA|Class name: UIExtensionContentSession;
Method or attribute name: sendData(data: { [key: string]: Object }): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|Added|NA|Class name: UIExtensionContentSession;
Method or attribute name: setReceiveDataCallback(callback: (data: { [key: string]: Object }) => void): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|Added|NA|Class name: UIExtensionContentSession;
Method or attribute name: loadContent(path: string, storage?: LocalStorage): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|Added|NA|Class name: UIExtensionContentSession;
Method or attribute name: terminateSelf(callback: AsyncCallback\): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|Added|NA|Class name: UIExtensionContentSession;
Method or attribute name: terminateSelf(): Promise\;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|Added|NA|Class name: UIExtensionContentSession;
Method or attribute name: terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback\): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|Added|NA|Class name: UIExtensionContentSession;
Method or attribute name: terminateSelfWithResult(parameter: AbilityResult): Promise\;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|Added|NA|Class name: UIExtensionContentSession;
Method or attribute name: setWindowBackgroundColor(color: string): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|Added|NA|Class name: UIExtensionContentSession;
Method or attribute name: setWindowPrivacyMode(isPrivacyMode: boolean): Promise\;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|Added|NA|Class name: UIExtensionContentSession;
Method or attribute name: setWindowPrivacyMode(isPrivacyMode: boolean, callback: AsyncCallback\): void;|@ohos.app.ability.UIExtensionContentSession.d.ts| +|Added|NA|Class name: Params;
Method or attribute name: SUPPORT_CONTINUE_PAGE_STACK_KEY = 'ohos.extra.param.key.supportContinuePageStack'|@ohos.app.ability.wantConstant.d.ts| +|Added|NA|Class name: Params;
Method or attribute name: SUPPORT_CONTINUE_SOURCE_EXIT_KEY = 'ohos.extra.param.key.supportContinueSourceExit'|@ohos.app.ability.wantConstant.d.ts| +|Added|NA|Class name: FormBindingData;
Method or attribute name: proxies?: Array\;|@ohos.app.form.formBindingData.d.ts| +|Added|NA|Class name: ProxyData;
Method or attribute name: key: string;|@ohos.app.form.formBindingData.d.ts| +|Added|NA|Class name: ProxyData;
Method or attribute name: subscriberId?: string;|@ohos.app.form.formBindingData.d.ts| +|Added|NA|Class name: formHost;
Method or attribute name: function on(
type: 'notifyVisible',
observerCallback: Callback\>,
hostBundleName?: string
): void;|@ohos.app.form.formHost.d.ts| +|Added|NA|Class name: formHost;
Method or attribute name: function on(
type: 'notifyInvisible',
observerCallback: Callback\>,
hostBundleName?: string
): void;|@ohos.app.form.formHost.d.ts| +|Added|NA|Class name: formHost;
Method or attribute name: function off(
type: 'notifyVisible',
observerCallback?: Callback\>,
hostBundleName?: string
): void;|@ohos.app.form.formHost.d.ts| +|Added|NA|Class name: formHost;
Method or attribute name: function off(
type: 'notifyInvisible',
observerCallback?: Callback\>,
hostBundleName?: string
): void;|@ohos.app.form.formHost.d.ts| +|Added|NA|Class name: FormInfo;
Method or attribute name: isDynamic: boolean;|@ohos.app.form.formInfo.d.ts| +|Added|NA|Class name: distributedMissionManager;
Method or attribute name: function on(type: 'continueStateChange', callback: Callback\<{ state: ContinueState, info: ContinuableInfo }>): void;|@ohos.distributedMissionManager.d.ts| +|Added|NA|Class name: distributedMissionManager;
Method or attribute name: function off(type: 'continueStateChange', callback?: Callback\<{ state: ContinueState, info: ContinuableInfo }>): void;|@ohos.distributedMissionManager.d.ts| +|Added|NA|Class name: distributedMissionManager;
Method or attribute name: function continueMission(parameter: ContinueMissionInfo, callback: AsyncCallback\): void;|@ohos.distributedMissionManager.d.ts| +|Added|NA|Class name: distributedMissionManager;
Method or attribute name: function continueMission(parameter: ContinueMissionInfo): Promise\;|@ohos.distributedMissionManager.d.ts| +|Added|NA|Class name: distributedMissionManager;
Method or attribute name: export type ContinuableInfo = _ContinuableInfo;|@ohos.distributedMissionManager.d.ts| +|Added|NA|Class name: distributedMissionManager;
Method or attribute name: export type ContinueMissionInfo = _ContinueMissionInfo;|@ohos.distributedMissionManager.d.ts| +|Added|NA|Class name: ContinueState;
Method or attribute name: ACTIVE = 0|@ohos.distributedMissionManager.d.ts| +|Added|NA|Class name: ContinueState;
Method or attribute name: INACTIVE = 1|@ohos.distributedMissionManager.d.ts| +|Added|NA|Class name: ApplicationContext;
Method or attribute name: on(type: 'applicationStateChange', callback: ApplicationStateChangeCallback): void;|ApplicationContext.d.ts| +|Added|NA|Class name: ApplicationContext;
Method or attribute name: off(type: 'applicationStateChange', callback?: ApplicationStateChangeCallback): void;|ApplicationContext.d.ts| +|Added|NA|Class name: BusinessAbilityInfo;
Method or attribute name: readonly bundleName: string;|BusinessAbilityInfo.d.ts| +|Added|NA|Class name: BusinessAbilityInfo;
Method or attribute name: readonly moduleName: string;|BusinessAbilityInfo.d.ts| +|Added|NA|Class name: BusinessAbilityInfo;
Method or attribute name: readonly name: string;|BusinessAbilityInfo.d.ts| +|Added|NA|Class name: BusinessAbilityInfo;
Method or attribute name: readonly labelId: number;|BusinessAbilityInfo.d.ts| +|Added|NA|Class name: BusinessAbilityInfo;
Method or attribute name: readonly descriptionId: number;|BusinessAbilityInfo.d.ts| +|Added|NA|Class name: BusinessAbilityInfo;
Method or attribute name: readonly iconId: number;|BusinessAbilityInfo.d.ts| +|Added|NA|Class name: BusinessAbilityInfo;
Method or attribute name: readonly businessType: businessAbilityRouter.BusinessType;|BusinessAbilityInfo.d.ts| +|Added|NA|Class name: BusinessAbilityInfo;
Method or attribute name: readonly applicationInfo: ApplicationInfo;|BusinessAbilityInfo.d.ts| +|Added|NA|Class name: Context;
Method or attribute name: getGroupDir(dataGroupID: string, callback: AsyncCallback\): void;|Context.d.ts| +|Added|NA|Class name: Context;
Method or attribute name: getGroupDir(dataGroupID: string): Promise\;|Context.d.ts| +|Added|NA|Class name: ContinuableInfo;
Method or attribute name: srcDeviceId: string;|ContinuableInfo.d.ts| +|Added|NA|Class name: ContinuableInfo;
Method or attribute name: bundleName: string;|ContinuableInfo.d.ts| +|Added|NA|Class name: ContinueMissionInfo;
Method or attribute name: srcDeviceId: string;|ContinueMissionInfo.d.ts| +|Added|NA|Class name: ContinueMissionInfo;
Method or attribute name: dstDeviceId: string;|ContinueMissionInfo.d.ts| +|Added|NA|Class name: ContinueMissionInfo;
Method or attribute name: bundleName: string;|ContinueMissionInfo.d.ts| +|Added|NA|Class name: ContinueMissionInfo;
Method or attribute name: wantParam: { [key: string]: Object };|ContinueMissionInfo.d.ts| +|Added|NA|Class name: FormExtensionContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;|FormExtensionContext.d.ts| +|Added|NA|Class name: FormExtensionContext;
Method or attribute name: disconnectServiceExtensionAbility(connection: number, callback: AsyncCallback\): void;|FormExtensionContext.d.ts| +|Added|NA|Class name: FormExtensionContext;
Method or attribute name: disconnectServiceExtensionAbility(connection: number): Promise\;|FormExtensionContext.d.ts| +|Added|NA|Class name: MissionInfo;
Method or attribute name: abilityState: number;|MissionInfo.d.ts| +|Added|NA|Class name: MissionInfo;
Method or attribute name: unclearable: boolean;|MissionInfo.d.ts| +|Added|NA|Class name: ProcessInformation;
Method or attribute name: state: appManager.ProcessState;|ProcessInformation.d.ts| +|Added|NA|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityAsCaller(want: Want, callback: AsyncCallback\): void;|ServiceExtensionContext.d.ts| +|Added|NA|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityAsCaller(want: Want, options: StartOptions, callback: AsyncCallback\): void;|ServiceExtensionContext.d.ts| +|Added|NA|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityAsCaller(want: Want, options?: StartOptions): Promise\;|ServiceExtensionContext.d.ts| +|Added|NA|Class name: UIAbilityContext;
Method or attribute name: startAbilityAsCaller(want: Want, callback: AsyncCallback\): void;|UIAbilityContext.d.ts| +|Added|NA|Class name: UIAbilityContext;
Method or attribute name: startAbilityAsCaller(want: Want, options: StartOptions, callback: AsyncCallback\): void;|UIAbilityContext.d.ts| +|Added|NA|Class name: UIAbilityContext;
Method or attribute name: startAbilityAsCaller(want: Want, options?: StartOptions): Promise\;|UIAbilityContext.d.ts| +|Added|NA|Class name: UIAbilityContext;
Method or attribute name: setMissionContinueState(state: AbilityConstant.ContinueState, callback: AsyncCallback\): void;|UIAbilityContext.d.ts| +|Added|NA|Class name: UIAbilityContext;
Method or attribute name: setMissionContinueState(state: AbilityConstant.ContinueState): Promise\;|UIAbilityContext.d.ts| +|Added|NA|Class name: UIAbilityContext;
Method or attribute name: reportDrawnCompleted(callback: AsyncCallback\): void;|UIAbilityContext.d.ts| +|Added|NA|Class name: UIExtensionContext;
Method or attribute name: startAbility(want: Want, callback: AsyncCallback\): void;|UIExtensionContext.d.ts| +|Added|NA|Class name: UIExtensionContext;
Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;|UIExtensionContext.d.ts| +|Added|NA|Class name: UIExtensionContext;
Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise\;|UIExtensionContext.d.ts| +|Added|NA|Class name: UIExtensionContext;
Method or attribute name: startAbilityForResult(want: Want, callback: AsyncCallback\): void;|UIExtensionContext.d.ts| +|Added|NA|Class name: UIExtensionContext;
Method or attribute name: startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback\): void;|UIExtensionContext.d.ts| +|Added|NA|Class name: UIExtensionContext;
Method or attribute name: startAbilityForResult(want: Want, options?: StartOptions): Promise\;|UIExtensionContext.d.ts| +|Deprecated version changed|Class name: LastExitReason;
Method or attribute name: ABILITY_NOT_RESPONDING = 1
Old version information: |Class name: LastExitReason;
Method or attribute name: ABILITY_NOT_RESPONDING = 1
New version information: 10
Substitute API: AbilityConstant.LastExitReason#APP_FREEZE|@ohos.app.ability.AbilityConstant.d.ts| +|Deprecated version changed|Class name: continuationManager;
Method or attribute name: function off(type: 'deviceConnect', callback?: Callback\): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function off(type: 'deviceConnect', callback?: Callback\): void;
New version information: 9
Substitute API: ohos.continuation.continuationManager/continuationManager#off|@ohos.continuation.continuationManager.d.ts| +|Deprecated version changed|Class name: continuationManager;
Method or attribute name: function off(type: 'deviceDisconnect', callback?: Callback\): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function off(type: 'deviceDisconnect', callback?: Callback\): void;
New version information: 9
Substitute API: ohos.continuation.continuationManager/continuationManager#off|@ohos.continuation.continuationManager.d.ts| +|Deprecated version changed|Class name: continuationManager;
Method or attribute name: function register(options: ContinuationExtraParams, callback: AsyncCallback\): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function register(options: ContinuationExtraParams, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.continuation.continuationManager/continuationManager#registerContinuation|@ohos.continuation.continuationManager.d.ts| +|Deprecated version changed|Class name: continuationManager;
Method or attribute name: function register(options?: ContinuationExtraParams): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function register(options?: ContinuationExtraParams): Promise\;
New version information: 9
Substitute API: ohos.continuation.continuationManager/continuationManager#registerContinuation|@ohos.continuation.continuationManager.d.ts| +|Deprecated version changed|Class name: continuationManager;
Method or attribute name: function unregister(token: number): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function unregister(token: number): Promise\;
New version information: 9
Substitute API: ohos.continuation.continuationManager/continuationManager#unregisterContinuation|@ohos.continuation.continuationManager.d.ts| +|Deprecated version changed|Class name: continuationManager;
Method or attribute name: function updateConnectStatus(token: number, deviceId: string, status: DeviceConnectState): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function updateConnectStatus(token: number, deviceId: string, status: DeviceConnectState): Promise\;
New version information: 9
Substitute API: ohos.continuation.continuationManager/continuationManager#updateContinuationState|@ohos.continuation.continuationManager.d.ts| +|Deprecated version changed|Class name: continuationManager;
Method or attribute name: function startDeviceManager(token: number, options: ContinuationExtraParams, callback: AsyncCallback\): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function startDeviceManager(token: number, options: ContinuationExtraParams, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.continuation.continuationManager/continuationManager#startContinuationDeviceManager|@ohos.continuation.continuationManager.d.ts| +|Deprecated version changed|Class name: continuationManager;
Method or attribute name: function startDeviceManager(token: number, options?: ContinuationExtraParams): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function startDeviceManager(token: number, options?: ContinuationExtraParams): Promise\;
New version information: 9
Substitute API: ohos.continuation.continuationManager/continuationManager#startContinuationDeviceManager|@ohos.continuation.continuationManager.d.ts| +|Deprecated version changed|Class name: Context;
Method or attribute name: getExternalCacheDir(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getExternalCacheDir(): Promise\;
New version information: 7
Substitute API: |context.d.ts| +|Deprecated version changed|Class name: Context;
Method or attribute name: setShowOnLockScreen(show: boolean): Promise\;
Old version information: |Class name: Context;
Method or attribute name: setShowOnLockScreen(show: boolean): Promise\;
New version information: 9
Substitute API: ohos.window/window.WindowStage#setShowOnLockScreen|context.d.ts| +|Error code added|Class name: continuationManager;
Method or attribute name: function off(type: 'deviceSelected', token: number): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function off(type: 'deviceSelected', token: number): void;
New version information: 201,401,16600001,16600002,16600004|@ohos.continuation.continuationManager.d.ts| +|Error code added|Class name: continuationManager;
Method or attribute name: function off(type: 'deviceUnselected', token: number): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function off(type: 'deviceUnselected', token: number): void;
New version information: 201,401,16600001,16600002,16600004|@ohos.continuation.continuationManager.d.ts| +|Error code added|Class name: continuationManager;
Method or attribute name: function registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback\): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback\): void;
New version information: 201,401,16600001,16600003|@ohos.continuation.continuationManager.d.ts| +|Error code added|Class name: continuationManager;
Method or attribute name: function registerContinuation(options?: ContinuationExtraParams): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function registerContinuation(options?: ContinuationExtraParams): Promise\;
New version information: 201,401,16600001,16600003|@ohos.continuation.continuationManager.d.ts| +|Error code added|Class name: continuationManager;
Method or attribute name: function unregisterContinuation(token: number): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function unregisterContinuation(token: number): Promise\;
New version information: 201,401,16600001,16600002|@ohos.continuation.continuationManager.d.ts| +|Error code added|Class name: continuationManager;
Method or attribute name: function updateContinuationState(token: number, deviceId: string, status: DeviceConnectState): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function updateContinuationState(token: number, deviceId: string, status: DeviceConnectState): Promise\;
New version information: 201,401,16600001,16600002|@ohos.continuation.continuationManager.d.ts| +|Error code added|Class name: continuationManager;
Method or attribute name: function startContinuationDeviceManager(
token: number,
options: ContinuationExtraParams,
callback: AsyncCallback\
): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function startContinuationDeviceManager(
token: number,
options: ContinuationExtraParams,
callback: AsyncCallback\
): void;
New version information: 201,401,16600001,16600002|@ohos.continuation.continuationManager.d.ts| +|Error code added|Class name: continuationManager;
Method or attribute name: function startContinuationDeviceManager(token: number, options?: ContinuationExtraParams): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function startContinuationDeviceManager(token: number, options?: ContinuationExtraParams): Promise\;
New version information: 201,401,16600001,16600002|@ohos.continuation.continuationManager.d.ts| +|Error code added|Class name: distributedMissionManager;
Method or attribute name: function startSyncRemoteMissions(parameter: MissionParameter): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function startSyncRemoteMissions(parameter: MissionParameter): Promise\;
New version information: 201,401|@ohos.distributedMissionManager.d.ts| +|Error code added|Class name: distributedMissionManager;
Method or attribute name: function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\;
New version information: 201,401|@ohos.distributedMissionManager.d.ts| +|Error code added|Class name: distributedMissionManager;
Method or attribute name: function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\;
New version information: 201,401|@ohos.distributedMissionManager.d.ts| +|Error code added|Class name: distributedMissionManager;
Method or attribute name: function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\;
New version information: 201,401|@ohos.distributedMissionManager.d.ts| +|Error code added|Class name: distributedMissionManager;
Method or attribute name: function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\;
New version information: 201,202,401,16300501,16300502,16300503,16300504,16300505,16300506|@ohos.distributedMissionManager.d.ts| +|Error code changed|Class name: uriPermissionManager;
Method or attribute name: function grantUriPermission(

uri: string,

flag: wantConstant.Flags,

targetBundleName: string,

callback: AsyncCallback\

): void;
Old version information: 201,202,401,16000050,16000058,16000059|Class name: uriPermissionManager;
Method or attribute name: function grantUriPermission(

uri: string,

flag: wantConstant.Flags,

targetBundleName: string,

callback: AsyncCallback\

): void;
New version information: 201,202,401,16000050,16000058,16000059,16000060|@ohos.application.uriPermissionManager.d.ts| +|Error code changed|Class name: uriPermissionManager;
Method or attribute name: function grantUriPermission(uri: string, flag: wantConstant.Flags, targetBundleName: string): Promise\;
Old version information: 201,202,401,16000050,16000058,16000059|Class name: uriPermissionManager;
Method or attribute name: function grantUriPermission(uri: string, flag: wantConstant.Flags, targetBundleName: string): Promise\;
New version information: 201,202,401,16000050,16000058,16000059,16000060|@ohos.application.uriPermissionManager.d.ts| +|Error code changed|Class name: distributedMissionManager;
Method or attribute name: function continueMission(

parameter: ContinueDeviceInfo,

options: ContinueCallback,

callback: AsyncCallback\

): void;
Old version information: 201,401,16300501,16300502,16300503,16300504,16300505,16300506|Class name: distributedMissionManager;
Method or attribute name: function continueMission(

parameter: ContinueDeviceInfo,

options: ContinueCallback,

callback: AsyncCallback\

): void;
New version information: 201,202,401,16300501,16300502,16300503,16300504,16300505,16300506|@ohos.distributedMissionManager.d.ts| +|Error code changed|Class name: AbilityDelegator;
Method or attribute name: startAbility(want: Want, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: AbilityDelegator;
Method or attribute name: startAbility(want: Want, callback: AsyncCallback\): void;
New version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|AbilityDelegator.d.ts| +|Error code changed|Class name: AbilityDelegator;
Method or attribute name: startAbility(want: Want): Promise\;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: AbilityDelegator;
Method or attribute name: startAbility(want: Want): Promise\;
New version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|AbilityDelegator.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, callback: AsyncCallback\): void;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;
New version information: 201,401,16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise\;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise\;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
Old version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback\): void;
Old version information: 16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001,201,202,401|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback\): void;
New version information: 16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001,201,202,401|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\;
Old version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbility(want: Want): Promise\;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbility(want: Want): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: stopServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
Old version information: 202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|Class name: ServiceExtensionContext;
Method or attribute name: stopServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: stopServiceExtensionAbility(want: Want): Promise\;
Old version information: 202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|Class name: ServiceExtensionContext;
Method or attribute name: stopServiceExtensionAbility(want: Want): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|Class name: ServiceExtensionContext;
Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|Class name: ServiceExtensionContext;
Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: terminateSelf(callback: AsyncCallback\): void;
Old version information: 401,16000001,16000004,16000005,16000009,16000011,16000050|Class name: ServiceExtensionContext;
Method or attribute name: terminateSelf(callback: AsyncCallback\): void;
New version information: 401,16000009,16000011,16000050|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: terminateSelf(): Promise\;
Old version information: 16000001,16000004,16000005,16000009,16000011,16000050|Class name: ServiceExtensionContext;
Method or attribute name: terminateSelf(): Promise\;
New version information: 16000009,16000011,16000050|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
Old version information: 201,401,16000001,16000005,16000011,16000050|Class name: ServiceExtensionContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16000053,16000055|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;
Old version information: 201,202,401,16000001,16000005,16000011,16000050|Class name: ServiceExtensionContext;
Method or attribute name: connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16000053,16000055|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityByCall(want: Want): Promise\;
Old version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityByCall(want: Want): Promise\;
New version information: 201,401,16000001,16000002,16000004,16000006,16000008,16000011,16000050|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityByCallWithAccount(want: Want, accountId: number): Promise\;
Old version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityByCallWithAccount(want: Want, accountId: number): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startRecentAbility(want: Want, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startRecentAbility(want: Want, callback: AsyncCallback\): void;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startRecentAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startRecentAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;
New version information: 201,401,16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: ServiceExtensionContext;
Method or attribute name: startRecentAbility(want: Want, options?: StartOptions): Promise\;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: ServiceExtensionContext;
Method or attribute name: startRecentAbility(want: Want, options?: StartOptions): Promise\;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|ServiceExtensionContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbility(want: Want, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbility(want: Want, callback: AsyncCallback\): void;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;
New version information: 201,401,16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise\;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise\;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityByCall(want: Want): Promise\;
Old version information: 16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16200001,201,401|Class name: UIAbilityContext;
Method or attribute name: startAbilityByCall(want: Want): Promise\;
New version information: 16000001,16000002,16000004,16000006,16000008,16000011,16000012,16000013,16000050,201,401|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityByCallWithAccount(want: Want, accountId: number): Promise\;
Old version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbilityByCallWithAccount(want: Want, accountId: number): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
Old version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback\): void;
Old version information: 16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001,201,202,401|Class name: UIAbilityContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback\): void;
New version information: 16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001,201,202,401|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\;
Old version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResult(want: Want, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResult(want: Want, callback: AsyncCallback\): void;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback\): void;
New version information: 201,401,16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResult(want: Want, options?: StartOptions): Promise\;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResult(want: Want, options?: StartOptions): Promise\;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
Old version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResultWithAccount(
want: Want,
accountId: number,
options: StartOptions,
callback: AsyncCallback\
): void;
Old version information: 16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001,201,202,401|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResultWithAccount(
want: Want,
accountId: number,
options: StartOptions,
callback: AsyncCallback\
): void;
New version information: 16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001,201,202,401|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\;
Old version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbility(want: Want): Promise\;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbility(want: Want): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000008,16000011,16000050,16200001|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: stopServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
Old version information: 202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|Class name: UIAbilityContext;
Method or attribute name: stopServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000012,16000013,16000050,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: stopServiceExtensionAbility(want: Want): Promise\;
Old version information: 202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|Class name: UIAbilityContext;
Method or attribute name: stopServiceExtensionAbility(want: Want): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|Class name: UIAbilityContext;
Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\;
Old version information: 201,202,401,16000001,16000002,16000005,16000006,16000011,16000050,16200001|Class name: UIAbilityContext;
Method or attribute name: stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise\;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000011,16000050,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: terminateSelf(callback: AsyncCallback\): void;
Old version information: 401,16000001,16000004,16000005,16000009,16000011,16000050|Class name: UIAbilityContext;
Method or attribute name: terminateSelf(callback: AsyncCallback\): void;
New version information: 401,16000009,16000011,16000050|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: terminateSelf(): Promise\;
Old version information: 16000001,16000004,16000005,16000009,16000011,16000050|Class name: UIAbilityContext;
Method or attribute name: terminateSelf(): Promise\;
New version information: 16000009,16000011,16000050|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000004,16000005,16000009,16000011,16000050|Class name: UIAbilityContext;
Method or attribute name: terminateSelfWithResult(parameter: AbilityResult, callback: AsyncCallback\): void;
New version information: 401,16000009,16000011,16000050|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: terminateSelfWithResult(parameter: AbilityResult): Promise\;
Old version information: 401,16000001,16000004,16000005,16000009,16000011,16000050|Class name: UIAbilityContext;
Method or attribute name: terminateSelfWithResult(parameter: AbilityResult): Promise\;
New version information: 401,16000009,16000011,16000050|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
Old version information: 201,401,16000001,16000005,16000011,16000050|Class name: UIAbilityContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16000053,16000055|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;
Old version information: 201,202,401,16000001,16000005,16000011,16000050|Class name: UIAbilityContext;
Method or attribute name: connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number;
New version information: 201,202,401,16000001,16000002,16000004,16000005,16000006,16000008,16000011,16000050,16000053,16000055|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: setMissionIcon(icon: image.PixelMap, callback: AsyncCallback\): void;
Old version information: 401,16000011,16000050|Class name: UIAbilityContext;
Method or attribute name: setMissionIcon(icon: image.PixelMap, callback: AsyncCallback\): void;
New version information: 202,401,16000011,16000050|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: setMissionIcon(icon: image.PixelMap): Promise\;
Old version information: 401,16000011,16000050|Class name: UIAbilityContext;
Method or attribute name: setMissionIcon(icon: image.PixelMap): Promise\;
New version information: 202,401,16000011,16000050|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startRecentAbility(want: Want, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startRecentAbility(want: Want, callback: AsyncCallback\): void;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startRecentAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startRecentAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;
New version information: 201,401,16000001,16000004,16000005,16000006,16000008,16000009,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: startRecentAbility(want: Want, options?: StartOptions): Promise\;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: startRecentAbility(want: Want, options?: StartOptions): Promise\;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: requestDialogService(want: Want, result: AsyncCallback\): void;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: requestDialogService(want: Want, result: AsyncCallback\): void;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Error code changed|Class name: UIAbilityContext;
Method or attribute name: requestDialogService(want: Want): Promise\;
Old version information: 401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000050,16000053,16000055,16200001|Class name: UIAbilityContext;
Method or attribute name: requestDialogService(want: Want): Promise\;
New version information: 201,401,16000001,16000002,16000004,16000005,16000006,16000008,16000009,16000010,16000011,16000012,16000013,16000050,16000053,16000055,16200001|UIAbilityContext.d.ts| +|Access level changed|Class name: WindowMode;
Method or attribute name: WINDOW_MODE_UNDEFINED = 0
Old version information: |Class name: WindowMode;
Method or attribute name: WINDOW_MODE_UNDEFINED = 0
New version information: systemapi|@ohos.app.ability.AbilityConstant.d.ts| +|Access level changed|Class name: WindowMode;
Method or attribute name: WINDOW_MODE_FULLSCREEN = 1
Old version information: |Class name: WindowMode;
Method or attribute name: WINDOW_MODE_FULLSCREEN = 1
New version information: systemapi|@ohos.app.ability.AbilityConstant.d.ts| +|Access level changed|Class name: WindowMode;
Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY = 100
Old version information: |Class name: WindowMode;
Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY = 100
New version information: systemapi|@ohos.app.ability.AbilityConstant.d.ts| +|Access level changed|Class name: WindowMode;
Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY = 101
Old version information: |Class name: WindowMode;
Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY = 101
New version information: systemapi|@ohos.app.ability.AbilityConstant.d.ts| +|Access level changed|Class name: WindowMode;
Method or attribute name: WINDOW_MODE_FLOATING = 102
Old version information: |Class name: WindowMode;
Method or attribute name: WINDOW_MODE_FLOATING = 102
New version information: systemapi|@ohos.app.ability.AbilityConstant.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: INITIAL = 0
Old version information: |Class name: AbilityState;
Method or attribute name: INITIAL = 0
New version information: systemapi|@ohos.app.ability.abilityManager.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: FOCUS = 2
Old version information: |Class name: AbilityState;
Method or attribute name: FOCUS = 2
New version information: systemapi|@ohos.app.ability.abilityManager.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: FOREGROUND = 9
Old version information: |Class name: AbilityState;
Method or attribute name: FOREGROUND = 9
New version information: systemapi|@ohos.app.ability.abilityManager.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: BACKGROUND = 10
Old version information: |Class name: AbilityState;
Method or attribute name: BACKGROUND = 10
New version information: systemapi|@ohos.app.ability.abilityManager.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: FOREGROUNDING = 11
Old version information: |Class name: AbilityState;
Method or attribute name: FOREGROUNDING = 11
New version information: systemapi|@ohos.app.ability.abilityManager.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: BACKGROUNDING = 12
Old version information: |Class name: AbilityState;
Method or attribute name: BACKGROUNDING = 12
New version information: systemapi|@ohos.app.ability.abilityManager.d.ts| +|Access level changed|Class name: ApplicationState;
Method or attribute name: STATE_CREATE
Old version information: |Class name: ApplicationState;
Method or attribute name: STATE_CREATE
New version information: systemapi|@ohos.app.ability.appManager.d.ts| +|Access level changed|Class name: ProcessState;
Method or attribute name: STATE_CREATE
Old version information: |Class name: ProcessState;
Method or attribute name: STATE_CREATE
New version information: systemapi|@ohos.app.ability.appManager.d.ts| +|Access level changed|Class name: ApplicationState;
Method or attribute name: STATE_FOREGROUND
Old version information: |Class name: ApplicationState;
Method or attribute name: STATE_FOREGROUND
New version information: systemapi|@ohos.app.ability.appManager.d.ts| +|Access level changed|Class name: ProcessState;
Method or attribute name: STATE_FOREGROUND
Old version information: |Class name: ProcessState;
Method or attribute name: STATE_FOREGROUND
New version information: systemapi|@ohos.app.ability.appManager.d.ts| +|Access level changed|Class name: ApplicationState;
Method or attribute name: STATE_ACTIVE
Old version information: |Class name: ApplicationState;
Method or attribute name: STATE_ACTIVE
New version information: systemapi|@ohos.app.ability.appManager.d.ts| +|Access level changed|Class name: ProcessState;
Method or attribute name: STATE_ACTIVE
Old version information: |Class name: ProcessState;
Method or attribute name: STATE_ACTIVE
New version information: systemapi|@ohos.app.ability.appManager.d.ts| +|Access level changed|Class name: ApplicationState;
Method or attribute name: STATE_BACKGROUND
Old version information: |Class name: ApplicationState;
Method or attribute name: STATE_BACKGROUND
New version information: systemapi|@ohos.app.ability.appManager.d.ts| +|Access level changed|Class name: ProcessState;
Method or attribute name: STATE_BACKGROUND
Old version information: |Class name: ProcessState;
Method or attribute name: STATE_BACKGROUND
New version information: systemapi|@ohos.app.ability.appManager.d.ts| +|Access level changed|Class name: ApplicationState;
Method or attribute name: STATE_DESTROY
Old version information: |Class name: ApplicationState;
Method or attribute name: STATE_DESTROY
New version information: systemapi|@ohos.app.ability.appManager.d.ts| +|Access level changed|Class name: ProcessState;
Method or attribute name: STATE_DESTROY
Old version information: |Class name: ProcessState;
Method or attribute name: STATE_DESTROY
New version information: systemapi|@ohos.app.ability.appManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function on(type: 'mission', listener: MissionListener): number;
Old version information: |Class name: missionManager;
Method or attribute name: function on(type: 'mission', listener: MissionListener): number;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function off(type: 'mission', listenerId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function off(type: 'mission', listenerId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function off(type: 'mission', listenerId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function off(type: 'mission', listenerId: number): Promise\;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number): Promise\;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\>): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\>): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number): Promise\>;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number): Promise\>;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number): Promise\;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getLowResolutionMissionSnapShot(
deviceId: string,
missionId: number,
callback: AsyncCallback\
): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getLowResolutionMissionSnapShot(
deviceId: string,
missionId: number,
callback: AsyncCallback\
): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise\;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function lockMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function lockMission(missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function lockMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function lockMission(missionId: number): Promise\;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number): Promise\;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function clearMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function clearMission(missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function clearMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function clearMission(missionId: number): Promise\;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function clearAllMissions(callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function clearAllMissions(callback: AsyncCallback\): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function clearAllMissions(): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function clearAllMissions(): Promise\;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options?: StartOptions): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options?: StartOptions): Promise\;
New version information: systemapi|@ohos.app.ability.missionManager.d.ts| +|Access level changed|Class name: abilityManager;
Method or attribute name: function updateConfiguration(config: Configuration): Promise\;
Old version information: |Class name: abilityManager;
Method or attribute name: function updateConfiguration(config: Configuration): Promise\;
New version information: systemapi|@ohos.application.abilityManager.d.ts| +|Access level changed|Class name: abilityManager;
Method or attribute name: function getAbilityRunningInfos(callback: AsyncCallback\>): void;
Old version information: |Class name: abilityManager;
Method or attribute name: function getAbilityRunningInfos(callback: AsyncCallback\>): void;
New version information: systemapi|@ohos.application.abilityManager.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: INITIAL = 0
Old version information: |Class name: AbilityState;
Method or attribute name: INITIAL = 0
New version information: systemapi|@ohos.application.abilityManager.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: FOREGROUND = 9
Old version information: |Class name: AbilityState;
Method or attribute name: FOREGROUND = 9
New version information: systemapi|@ohos.application.abilityManager.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: BACKGROUND = 10
Old version information: |Class name: AbilityState;
Method or attribute name: BACKGROUND = 10
New version information: systemapi|@ohos.application.abilityManager.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: FOREGROUNDING = 11
Old version information: |Class name: AbilityState;
Method or attribute name: FOREGROUNDING = 11
New version information: systemapi|@ohos.application.abilityManager.d.ts| +|Access level changed|Class name: AbilityState;
Method or attribute name: BACKGROUNDING = 12
Old version information: |Class name: AbilityState;
Method or attribute name: BACKGROUNDING = 12
New version information: systemapi|@ohos.application.abilityManager.d.ts| +|Access level changed|Class name: appManager;
Method or attribute name: function unregisterApplicationStateObserver(observerId: number): Promise\;
Old version information: |Class name: appManager;
Method or attribute name: function unregisterApplicationStateObserver(observerId: number): Promise\;
New version information: systemapi|@ohos.application.appManager.d.ts| +|Access level changed|Class name: appManager;
Method or attribute name: function getForegroundApplications(): Promise\>;
Old version information: |Class name: appManager;
Method or attribute name: function getForegroundApplications(): Promise\>;
New version information: systemapi|@ohos.application.appManager.d.ts| +|Access level changed|Class name: appManager;
Method or attribute name: function killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback\): void;
Old version information: |Class name: appManager;
Method or attribute name: function killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.appManager.d.ts| +|Access level changed|Class name: appManager;
Method or attribute name: function killProcessesByBundleName(bundleName: string, callback: AsyncCallback\);
Old version information: |Class name: appManager;
Method or attribute name: function killProcessesByBundleName(bundleName: string, callback: AsyncCallback\);
New version information: systemapi|@ohos.application.appManager.d.ts| +|Access level changed|Class name: appManager;
Method or attribute name: function clearUpApplicationData(bundleName: string, callback: AsyncCallback\);
Old version information: |Class name: appManager;
Method or attribute name: function clearUpApplicationData(bundleName: string, callback: AsyncCallback\);
New version information: systemapi|@ohos.application.appManager.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function deleteForm(formId: string, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function deleteForm(formId: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function deleteForm(formId: string): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function deleteForm(formId: string): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function releaseForm(formId: string, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function releaseForm(formId: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function releaseForm(formId: string, isReleaseCache?: boolean): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function releaseForm(formId: string, isReleaseCache?: boolean): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function requestForm(formId: string, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function requestForm(formId: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function requestForm(formId: string): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function requestForm(formId: string): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function castTempForm(formId: string, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function castTempForm(formId: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function castTempForm(formId: string): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function castTempForm(formId: string): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function notifyVisibleForms(formIds: Array\, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function notifyVisibleForms(formIds: Array\, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function notifyVisibleForms(formIds: Array\): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function notifyVisibleForms(formIds: Array\): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function notifyInvisibleForms(formIds: Array\, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function notifyInvisibleForms(formIds: Array\, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function notifyInvisibleForms(formIds: Array\): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function notifyInvisibleForms(formIds: Array\): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function enableFormsUpdate(formIds: Array\, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function enableFormsUpdate(formIds: Array\, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function enableFormsUpdate(formIds: Array\): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function enableFormsUpdate(formIds: Array\): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function disableFormsUpdate(formIds: Array\, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function disableFormsUpdate(formIds: Array\, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function disableFormsUpdate(formIds: Array\): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function disableFormsUpdate(formIds: Array\): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function isSystemReady(callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function isSystemReady(callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function isSystemReady(): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function isSystemReady(): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function getAllFormsInfo(callback: AsyncCallback\>): void;
Old version information: |Class name: formHost;
Method or attribute name: function getAllFormsInfo(callback: AsyncCallback\>): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function getAllFormsInfo(): Promise\>;
Old version information: |Class name: formHost;
Method or attribute name: function getAllFormsInfo(): Promise\>;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function getFormsInfo(bundleName: string, callback: AsyncCallback\>): void;
Old version information: |Class name: formHost;
Method or attribute name: function getFormsInfo(bundleName: string, callback: AsyncCallback\>): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function getFormsInfo(
bundleName: string,
moduleName: string,
callback: AsyncCallback\>
): void;
Old version information: |Class name: formHost;
Method or attribute name: function getFormsInfo(
bundleName: string,
moduleName: string,
callback: AsyncCallback\>
): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function getFormsInfo(bundleName: string, moduleName?: string): Promise\>;
Old version information: |Class name: formHost;
Method or attribute name: function getFormsInfo(bundleName: string, moduleName?: string): Promise\>;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function deleteInvalidForms(formIds: Array\, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function deleteInvalidForms(formIds: Array\, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function deleteInvalidForms(formIds: Array\): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function deleteInvalidForms(formIds: Array\): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function acquireFormState(want: Want, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function acquireFormState(want: Want, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function acquireFormState(want: Want): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function acquireFormState(want: Want): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function on(type: 'formUninstall', callback: Callback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function on(type: 'formUninstall', callback: Callback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function off(type: 'formUninstall', callback?: Callback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function off(type: 'formUninstall', callback?: Callback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function notifyFormsVisible(formIds: Array\, isVisible: boolean, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function notifyFormsVisible(formIds: Array\, isVisible: boolean, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function notifyFormsVisible(formIds: Array\, isVisible: boolean): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function notifyFormsVisible(formIds: Array\, isVisible: boolean): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function notifyFormsEnableUpdate(
formIds: Array\,
isEnableUpdate: boolean,
callback: AsyncCallback\
): void;
Old version information: |Class name: formHost;
Method or attribute name: function notifyFormsEnableUpdate(
formIds: Array\,
isEnableUpdate: boolean,
callback: AsyncCallback\
): void;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: formHost;
Method or attribute name: function notifyFormsEnableUpdate(formIds: Array\, isEnableUpdate: boolean): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function notifyFormsEnableUpdate(formIds: Array\, isEnableUpdate: boolean): Promise\;
New version information: systemapi|@ohos.application.formHost.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function registerMissionListener(listener: MissionListener): number;
Old version information: |Class name: missionManager;
Method or attribute name: function registerMissionListener(listener: MissionListener): number;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function unregisterMissionListener(listenerId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function unregisterMissionListener(listenerId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function unregisterMissionListener(listenerId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function unregisterMissionListener(listenerId: number): Promise\;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number): Promise\;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\>): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\>): void;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number): Promise\>;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number): Promise\>;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number): Promise\;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function lockMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function lockMission(missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function lockMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function lockMission(missionId: number): Promise\;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number): Promise\;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function clearMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function clearMission(missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function clearMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function clearMission(missionId: number): Promise\;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function clearAllMissions(callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function clearAllMissions(callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function clearAllMissions(): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function clearAllMissions(): Promise\;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options?: StartOptions): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options?: StartOptions): Promise\;
New version information: systemapi|@ohos.application.missionManager.d.ts| +|Access level changed|Class name: distributedMissionManager;
Method or attribute name: function startSyncRemoteMissions(parameter: MissionParameter): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function startSyncRemoteMissions(parameter: MissionParameter): Promise\;
New version information: systemapi|@ohos.distributedMissionManager.d.ts| +|Access level changed|Class name: distributedMissionManager;
Method or attribute name: function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\;
New version information: systemapi|@ohos.distributedMissionManager.d.ts| +|Access level changed|Class name: distributedMissionManager;
Method or attribute name: function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\;
New version information: systemapi|@ohos.distributedMissionManager.d.ts| +|Access level changed|Class name: distributedMissionManager;
Method or attribute name: function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\;
New version information: systemapi|@ohos.distributedMissionManager.d.ts| +|Access level changed|Class name: distributedMissionManager;
Method or attribute name: function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\;
New version information: systemapi|@ohos.distributedMissionManager.d.ts| +|Access level changed|Class name: ContinueCallback;
Method or attribute name: onContinueDone(result: number): void;
Old version information: |Class name: ContinueCallback;
Method or attribute name: onContinueDone(result: number): void;
New version information: systemapi|ContinueCallback.d.ts| +|Access level changed|Class name: ContinueDeviceInfo;
Method or attribute name: srcDeviceId: string;
Old version information: |Class name: ContinueDeviceInfo;
Method or attribute name: srcDeviceId: string;
New version information: systemapi|ContinueDeviceInfo.d.ts| +|Access level changed|Class name: ContinueDeviceInfo;
Method or attribute name: dstDeviceId: string;
Old version information: |Class name: ContinueDeviceInfo;
Method or attribute name: dstDeviceId: string;
New version information: systemapi|ContinueDeviceInfo.d.ts| +|Access level changed|Class name: ContinueDeviceInfo;
Method or attribute name: missionId: number;
Old version information: |Class name: ContinueDeviceInfo;
Method or attribute name: missionId: number;
New version information: systemapi|ContinueDeviceInfo.d.ts| +|Access level changed|Class name: ContinueDeviceInfo;
Method or attribute name: wantParam: { [key: string]: any };
Old version information: |Class name: ContinueDeviceInfo;
Method or attribute name: wantParam: { [key: string]: any };
New version information: systemapi|ContinueDeviceInfo.d.ts| +|Access level changed|Class name: MissionCallback;
Method or attribute name: notifyMissionsChanged(deviceId: string): void;
Old version information: |Class name: MissionCallback;
Method or attribute name: notifyMissionsChanged(deviceId: string): void;
New version information: systemapi|MissionCallbacks.d.ts| +|Access level changed|Class name: MissionCallback;
Method or attribute name: notifySnapshot(deviceId: string, mission: number): void;
Old version information: |Class name: MissionCallback;
Method or attribute name: notifySnapshot(deviceId: string, mission: number): void;
New version information: systemapi|MissionCallbacks.d.ts| +|Access level changed|Class name: MissionCallback;
Method or attribute name: notifyNetDisconnect(deviceId: string, state: number): void;
Old version information: |Class name: MissionCallback;
Method or attribute name: notifyNetDisconnect(deviceId: string, state: number): void;
New version information: systemapi|MissionCallbacks.d.ts| +|Access level changed|Class name: MissionDeviceInfo;
Method or attribute name: deviceId: string;
Old version information: |Class name: MissionDeviceInfo;
Method or attribute name: deviceId: string;
New version information: systemapi|MissionDeviceInfo.d.ts| +|Access level changed|Class name: MissionInfo;
Method or attribute name: missionId: number;
Old version information: |Class name: MissionInfo;
Method or attribute name: missionId: number;
New version information: systemapi|MissionInfo.d.ts| +|Access level changed|Class name: MissionInfo;
Method or attribute name: runningState: number;
Old version information: |Class name: MissionInfo;
Method or attribute name: runningState: number;
New version information: systemapi|MissionInfo.d.ts| +|Access level changed|Class name: MissionInfo;
Method or attribute name: lockedState: boolean;
Old version information: |Class name: MissionInfo;
Method or attribute name: lockedState: boolean;
New version information: systemapi|MissionInfo.d.ts| +|Access level changed|Class name: MissionInfo;
Method or attribute name: timestamp: string;
Old version information: |Class name: MissionInfo;
Method or attribute name: timestamp: string;
New version information: systemapi|MissionInfo.d.ts| +|Access level changed|Class name: MissionInfo;
Method or attribute name: want: Want;
Old version information: |Class name: MissionInfo;
Method or attribute name: want: Want;
New version information: systemapi|MissionInfo.d.ts| +|Access level changed|Class name: MissionInfo;
Method or attribute name: label: string;
Old version information: |Class name: MissionInfo;
Method or attribute name: label: string;
New version information: systemapi|MissionInfo.d.ts| +|Access level changed|Class name: MissionInfo;
Method or attribute name: iconPath: string;
Old version information: |Class name: MissionInfo;
Method or attribute name: iconPath: string;
New version information: systemapi|MissionInfo.d.ts| +|Access level changed|Class name: MissionInfo;
Method or attribute name: continuable: boolean;
Old version information: |Class name: MissionInfo;
Method or attribute name: continuable: boolean;
New version information: systemapi|MissionInfo.d.ts| +|Access level changed|Class name: MissionListener;
Method or attribute name: onMissionCreated(mission: number): void;
Old version information: |Class name: MissionListener;
Method or attribute name: onMissionCreated(mission: number): void;
New version information: systemapi|MissionListener.d.ts| +|Access level changed|Class name: MissionListener;
Method or attribute name: onMissionDestroyed(mission: number): void;
Old version information: |Class name: MissionListener;
Method or attribute name: onMissionDestroyed(mission: number): void;
New version information: systemapi|MissionListener.d.ts| +|Access level changed|Class name: MissionListener;
Method or attribute name: onMissionSnapshotChanged(mission: number): void;
Old version information: |Class name: MissionListener;
Method or attribute name: onMissionSnapshotChanged(mission: number): void;
New version information: systemapi|MissionListener.d.ts| +|Access level changed|Class name: MissionListener;
Method or attribute name: onMissionMovedToFront(mission: number): void;
Old version information: |Class name: MissionListener;
Method or attribute name: onMissionMovedToFront(mission: number): void;
New version information: systemapi|MissionListener.d.ts| +|Access level changed|Class name: MissionListener;
Method or attribute name: onMissionLabelUpdated(mission: number): void;
Old version information: |Class name: MissionListener;
Method or attribute name: onMissionLabelUpdated(mission: number): void;
New version information: systemapi|MissionListener.d.ts| +|Access level changed|Class name: MissionListener;
Method or attribute name: onMissionIconUpdated(mission: number, icon: image.PixelMap): void;
Old version information: |Class name: MissionListener;
Method or attribute name: onMissionIconUpdated(mission: number, icon: image.PixelMap): void;
New version information: systemapi|MissionListener.d.ts| +|Access level changed|Class name: MissionListener;
Method or attribute name: onMissionClosed(mission: number): void;
Old version information: |Class name: MissionListener;
Method or attribute name: onMissionClosed(mission: number): void;
New version information: systemapi|MissionListener.d.ts| +|Access level changed|Class name: MissionParameter;
Method or attribute name: deviceId: string;
Old version information: |Class name: MissionParameter;
Method or attribute name: deviceId: string;
New version information: systemapi|MissionParameter.d.ts| +|Access level changed|Class name: MissionParameter;
Method or attribute name: fixConflict: boolean;
Old version information: |Class name: MissionParameter;
Method or attribute name: fixConflict: boolean;
New version information: systemapi|MissionParameter.d.ts| +|Access level changed|Class name: MissionParameter;
Method or attribute name: tag: number;
Old version information: |Class name: MissionParameter;
Method or attribute name: tag: number;
New version information: systemapi|MissionParameter.d.ts| +|Access level changed|Class name: MissionSnapshot;
Method or attribute name: ability: ElementName;
Old version information: |Class name: MissionSnapshot;
Method or attribute name: ability: ElementName;
New version information: systemapi|MissionSnapshot.d.ts| +|Access level changed|Class name: MissionSnapshot;
Method or attribute name: snapshot: image.PixelMap;
Old version information: |Class name: MissionSnapshot;
Method or attribute name: snapshot: image.PixelMap;
New version information: systemapi|MissionSnapshot.d.ts| +|Access level changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, callback: AsyncCallback\): void;
Old version information: |Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, callback: AsyncCallback\): void;
New version information: systemapi|ServiceExtensionContext.d.ts| +|Access level changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;
Old version information: |Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback\): void;
New version information: systemapi|ServiceExtensionContext.d.ts| +|Access level changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise\;
Old version information: |Class name: ServiceExtensionContext;
Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise\;
New version information: systemapi|ServiceExtensionContext.d.ts| +|Access level changed|Class name: ServiceExtensionContext;
Method or attribute name: terminateSelf(callback: AsyncCallback\): void;
Old version information: |Class name: ServiceExtensionContext;
Method or attribute name: terminateSelf(callback: AsyncCallback\): void;
New version information: systemapi|ServiceExtensionContext.d.ts| +|Access level changed|Class name: ServiceExtensionContext;
Method or attribute name: terminateSelf(): Promise\;
Old version information: |Class name: ServiceExtensionContext;
Method or attribute name: terminateSelf(): Promise\;
New version information: systemapi|ServiceExtensionContext.d.ts| +|Access level changed|Class name: ServiceExtensionContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
Old version information: |Class name: ServiceExtensionContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
New version information: systemapi|ServiceExtensionContext.d.ts| +|Access level changed|Class name: ServiceExtensionContext;
Method or attribute name: disconnectServiceExtensionAbility(connection: number, callback: AsyncCallback\): void;
Old version information: |Class name: ServiceExtensionContext;
Method or attribute name: disconnectServiceExtensionAbility(connection: number, callback: AsyncCallback\): void;
New version information: systemapi|ServiceExtensionContext.d.ts| +|Access level changed|Class name: ServiceExtensionContext;
Method or attribute name: disconnectServiceExtensionAbility(connection: number): Promise\;
Old version information: |Class name: ServiceExtensionContext;
Method or attribute name: disconnectServiceExtensionAbility(connection: number): Promise\;
New version information: systemapi|ServiceExtensionContext.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function on(type: 'mission', listener: MissionListener): number;
Old version information: |Class name: missionManager;
Method or attribute name: function on(type: 'mission', listener: MissionListener): number;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function off(type: 'mission', listenerId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function off(type: 'mission', listenerId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function off(type: 'mission', listenerId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function off(type: 'mission', listenerId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\>): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\>): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number): Promise\>;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number): Promise\>;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getLowResolutionMissionSnapShot(
deviceId: string,
missionId: number,
callback: AsyncCallback\
): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getLowResolutionMissionSnapShot(
deviceId: string,
missionId: number,
callback: AsyncCallback\
): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function lockMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function lockMission(missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function lockMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function lockMission(missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function clearMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function clearMission(missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function clearMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function clearMission(missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function clearAllMissions(callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function clearAllMissions(callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function clearAllMissions(): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function clearAllMissions(): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options?: StartOptions): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options?: StartOptions): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: export type MissionInfo = _MissionInfo;
Old version information: |Class name: missionManager;
Method or attribute name: export type MissionInfo = _MissionInfo;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: export type MissionListener = _MissionListener;
Old version information: |Class name: missionManager;
Method or attribute name: export type MissionListener = _MissionListener;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: export type MissionSnapshot = _MissionSnapshot;
Old version information: |Class name: missionManager;
Method or attribute name: export type MissionSnapshot = _MissionSnapshot;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.app.ability.missionManager.d.ts| +|Permission changed|Class name: abilityManager;
Method or attribute name: function updateConfiguration(config: Configuration): Promise\;
Old version information: |Class name: abilityManager;
Method or attribute name: function updateConfiguration(config: Configuration): Promise\;
New version information: ohos.permission.UPDATE_CONFIGURATION|@ohos.application.abilityManager.d.ts| +|Permission changed|Class name: abilityManager;
Method or attribute name: function getAbilityRunningInfos(callback: AsyncCallback\>): void;
Old version information: |Class name: abilityManager;
Method or attribute name: function getAbilityRunningInfos(callback: AsyncCallback\>): void;
New version information: ohos.permission.GET_RUNNING_INFO|@ohos.application.abilityManager.d.ts| +|Permission changed|Class name: appManager;
Method or attribute name: function unregisterApplicationStateObserver(observerId: number): Promise\;
Old version information: |Class name: appManager;
Method or attribute name: function unregisterApplicationStateObserver(observerId: number): Promise\;
New version information: ohos.permission.RUNNING_STATE_OBSERVER|@ohos.application.appManager.d.ts| +|Permission changed|Class name: appManager;
Method or attribute name: function getForegroundApplications(): Promise\>;
Old version information: |Class name: appManager;
Method or attribute name: function getForegroundApplications(): Promise\>;
New version information: ohos.permission.GET_RUNNING_INFO|@ohos.application.appManager.d.ts| +|Permission changed|Class name: appManager;
Method or attribute name: function killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback\): void;
Old version information: |Class name: appManager;
Method or attribute name: function killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,ohos.permission.CLEAN_BACKGROUND_PROCESSES|@ohos.application.appManager.d.ts| +|Permission changed|Class name: appManager;
Method or attribute name: function getProcessRunningInfos(callback: AsyncCallback\>): void;
Old version information: |Class name: appManager;
Method or attribute name: function getProcessRunningInfos(callback: AsyncCallback\>): void;
New version information: ohos.permission.GET_RUNNING_INFO|@ohos.application.appManager.d.ts| +|Permission changed|Class name: appManager;
Method or attribute name: function killProcessesByBundleName(bundleName: string, callback: AsyncCallback\);
Old version information: |Class name: appManager;
Method or attribute name: function killProcessesByBundleName(bundleName: string, callback: AsyncCallback\);
New version information: ohos.permission.CLEAN_BACKGROUND_PROCESSES|@ohos.application.appManager.d.ts| +|Permission changed|Class name: appManager;
Method or attribute name: function clearUpApplicationData(bundleName: string, callback: AsyncCallback\);
Old version information: |Class name: appManager;
Method or attribute name: function clearUpApplicationData(bundleName: string, callback: AsyncCallback\);
New version information: ohos.permission.CLEAN_APPLICATION_DATA|@ohos.application.appManager.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function deleteForm(formId: string): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function deleteForm(formId: string): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback\): void;
Old version information: |Class name: formHost;
Method or attribute name: function releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback\): void;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function releaseForm(formId: string, isReleaseCache?: boolean): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function releaseForm(formId: string, isReleaseCache?: boolean): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function requestForm(formId: string): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function requestForm(formId: string): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function castTempForm(formId: string): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function castTempForm(formId: string): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function notifyVisibleForms(formIds: Array\): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function notifyVisibleForms(formIds: Array\): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function notifyInvisibleForms(formIds: Array\): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function notifyInvisibleForms(formIds: Array\): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function enableFormsUpdate(formIds: Array\): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function enableFormsUpdate(formIds: Array\): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function disableFormsUpdate(formIds: Array\): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function disableFormsUpdate(formIds: Array\): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function getAllFormsInfo(): Promise\>;
Old version information: |Class name: formHost;
Method or attribute name: function getAllFormsInfo(): Promise\>;
New version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function getFormsInfo(
bundleName: string,
moduleName: string,
callback: AsyncCallback\>
): void;
Old version information: |Class name: formHost;
Method or attribute name: function getFormsInfo(
bundleName: string,
moduleName: string,
callback: AsyncCallback\>
): void;
New version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function getFormsInfo(bundleName: string, moduleName?: string): Promise\>;
Old version information: |Class name: formHost;
Method or attribute name: function getFormsInfo(bundleName: string, moduleName?: string): Promise\>;
New version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function deleteInvalidForms(formIds: Array\): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function deleteInvalidForms(formIds: Array\): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function acquireFormState(want: Want): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function acquireFormState(want: Want): Promise\;
New version information: ohos.permission.REQUIRE_FORM,ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function notifyFormsVisible(formIds: Array\, isVisible: boolean): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function notifyFormsVisible(formIds: Array\, isVisible: boolean): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: formHost;
Method or attribute name: function notifyFormsEnableUpdate(formIds: Array\, isEnableUpdate: boolean): Promise\;
Old version information: |Class name: formHost;
Method or attribute name: function notifyFormsEnableUpdate(formIds: Array\, isEnableUpdate: boolean): Promise\;
New version information: ohos.permission.REQUIRE_FORM|@ohos.application.formHost.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function registerMissionListener(listener: MissionListener): number;
Old version information: |Class name: missionManager;
Method or attribute name: function registerMissionListener(listener: MissionListener): number;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function unregisterMissionListener(listenerId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function unregisterMissionListener(listenerId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function unregisterMissionListener(listenerId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function unregisterMissionListener(listenerId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfo(deviceId: string, missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\>): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback\>): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number): Promise\>;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionInfos(deviceId: string, numMax: number): Promise\>;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function getMissionSnapShot(deviceId: string, missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function lockMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function lockMission(missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function lockMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function lockMission(missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function unlockMission(missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function clearMission(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function clearMission(missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function clearMission(missionId: number): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function clearMission(missionId: number): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function clearAllMissions(callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function clearAllMissions(callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function clearAllMissions(): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function clearAllMissions(): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\): void;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback\): void;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options?: StartOptions): Promise\;
Old version information: |Class name: missionManager;
Method or attribute name: function moveMissionToFront(missionId: number, options?: StartOptions): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.application.missionManager.d.ts| +|Permission changed|Class name: continuationManager;
Method or attribute name: function off(type: 'deviceSelected', token: number): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function off(type: 'deviceSelected', token: number): void;
New version information: ohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|Permission changed|Class name: continuationManager;
Method or attribute name: function off(type: 'deviceUnselected', token: number): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function off(type: 'deviceUnselected', token: number): void;
New version information: ohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|Permission changed|Class name: continuationManager;
Method or attribute name: function registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback\): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback\): void;
New version information: ohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|Permission changed|Class name: continuationManager;
Method or attribute name: function registerContinuation(options?: ContinuationExtraParams): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function registerContinuation(options?: ContinuationExtraParams): Promise\;
New version information: ohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|Permission changed|Class name: continuationManager;
Method or attribute name: function unregisterContinuation(token: number): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function unregisterContinuation(token: number): Promise\;
New version information: ohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|Permission changed|Class name: continuationManager;
Method or attribute name: function updateContinuationState(token: number, deviceId: string, status: DeviceConnectState): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function updateContinuationState(token: number, deviceId: string, status: DeviceConnectState): Promise\;
New version information: ohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|Permission changed|Class name: continuationManager;
Method or attribute name: function startContinuationDeviceManager(
token: number,
options: ContinuationExtraParams,
callback: AsyncCallback\
): void;
Old version information: |Class name: continuationManager;
Method or attribute name: function startContinuationDeviceManager(
token: number,
options: ContinuationExtraParams,
callback: AsyncCallback\
): void;
New version information: ohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|Permission changed|Class name: continuationManager;
Method or attribute name: function startContinuationDeviceManager(token: number, options?: ContinuationExtraParams): Promise\;
Old version information: |Class name: continuationManager;
Method or attribute name: function startContinuationDeviceManager(token: number, options?: ContinuationExtraParams): Promise\;
New version information: ohos.permission.DISTRIBUTED_DATASYNC|@ohos.continuation.continuationManager.d.ts| +|Permission changed|Class name: distributedMissionManager;
Method or attribute name: function startSyncRemoteMissions(parameter: MissionParameter): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function startSyncRemoteMissions(parameter: MissionParameter): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts| +|Permission changed|Class name: distributedMissionManager;
Method or attribute name: function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function stopSyncRemoteMissions(parameter: MissionDeviceInfo): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts| +|Permission changed|Class name: distributedMissionManager;
Method or attribute name: function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function registerMissionListener(parameter: MissionDeviceInfo, options: MissionCallback): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts| +|Permission changed|Class name: distributedMissionManager;
Method or attribute name: function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function unRegisterMissionListener(parameter: MissionDeviceInfo): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS|@ohos.distributedMissionManager.d.ts| +|Permission changed|Class name: distributedMissionManager;
Method or attribute name: function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\;
Old version information: |Class name: distributedMissionManager;
Method or attribute name: function continueMission(parameter: ContinueDeviceInfo, options: ContinueCallback): Promise\;
New version information: ohos.permission.MANAGE_MISSIONS,ohos.permission.DISTRIBUTED_DATASYNC|@ohos.distributedMissionManager.d.ts| +|Permission changed|Class name: MissionCallback;
Method or attribute name: notifyMissionsChanged(deviceId: string): void;
Old version information: |Class name: MissionCallback;
Method or attribute name: notifyMissionsChanged(deviceId: string): void;
New version information: ohos.permission.MANAGE_MISSIONS|MissionCallbacks.d.ts| +|Permission changed|Class name: MissionCallback;
Method or attribute name: notifySnapshot(deviceId: string, mission: number): void;
Old version information: |Class name: MissionCallback;
Method or attribute name: notifySnapshot(deviceId: string, mission: number): void;
New version information: ohos.permission.MANAGE_MISSIONS|MissionCallbacks.d.ts| +|Permission changed|Class name: MissionCallback;
Method or attribute name: notifyNetDisconnect(deviceId: string, state: number): void;
Old version information: |Class name: MissionCallback;
Method or attribute name: notifyNetDisconnect(deviceId: string, state: number): void;
New version information: ohos.permission.MANAGE_MISSIONS|MissionCallbacks.d.ts| +|Permission changed|Class name: MissionDeviceInfo;
Method or attribute name: deviceId: string;
Old version information: |Class name: MissionDeviceInfo;
Method or attribute name: deviceId: string;
New version information: ohos.permission.MANAGE_MISSIONS|MissionDeviceInfo.d.ts| +|Permission changed|Class name: MissionParameter;
Method or attribute name: deviceId: string;
Old version information: |Class name: MissionParameter;
Method or attribute name: deviceId: string;
New version information: ohos.permission.MANAGE_MISSIONS|MissionParameter.d.ts| +|Permission changed|Class name: MissionParameter;
Method or attribute name: fixConflict: boolean;
Old version information: |Class name: MissionParameter;
Method or attribute name: fixConflict: boolean;
New version information: ohos.permission.MANAGE_MISSIONS|MissionParameter.d.ts| +|Permission changed|Class name: MissionParameter;
Method or attribute name: tag: number;
Old version information: |Class name: MissionParameter;
Method or attribute name: tag: number;
New version information: ohos.permission.MANAGE_MISSIONS|MissionParameter.d.ts| +|Permission changed|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
Old version information: ohos.permission.START_INVISIBLE_ABILITY|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
New version information: |ServiceExtensionContext.d.ts| +|Permission changed|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbility(want: Want): Promise\;
Old version information: ohos.permission.START_INVISIBLE_ABILITY|Class name: ServiceExtensionContext;
Method or attribute name: startServiceExtensionAbility(want: Want): Promise\;
New version information: |ServiceExtensionContext.d.ts| +|Permission changed|Class name: ServiceExtensionContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
Old version information: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION|Class name: ServiceExtensionContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
New version information: |ServiceExtensionContext.d.ts| +|Permission changed|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityByCallWithAccount(want: Want, accountId: number): Promise\;
Old version information: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,ohos.permission.START_ABILITIES_FROM_BACKGROUND,ohos.permission.START_INVISIBLE_ABILITY|Class name: ServiceExtensionContext;
Method or attribute name: startAbilityByCallWithAccount(want: Want, accountId: number): Promise\;
New version information: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS|ServiceExtensionContext.d.ts| +|Permission changed|Class name: UIAbilityContext;
Method or attribute name: startAbilityByCallWithAccount(want: Want, accountId: number): Promise\;
Old version information: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS,ohos.permission.START_ABILITIES_FROM_BACKGROUND,ohos.permission.START_INVISIBLE_ABILITY|Class name: UIAbilityContext;
Method or attribute name: startAbilityByCallWithAccount(want: Want, accountId: number): Promise\;
New version information: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION,ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS|UIAbilityContext.d.ts| +|Permission changed|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
Old version information: ohos.permission.START_INVISIBLE_ABILITY|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbility(want: Want, callback: AsyncCallback\): void;
New version information: |UIAbilityContext.d.ts| +|Permission changed|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbility(want: Want): Promise\;
Old version information: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION|Class name: UIAbilityContext;
Method or attribute name: startServiceExtensionAbility(want: Want): Promise\;
New version information: |UIAbilityContext.d.ts| +|Permission changed|Class name: UIAbilityContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
Old version information: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION|Class name: UIAbilityContext;
Method or attribute name: connectServiceExtensionAbility(want: Want, options: ConnectOptions): number;
New version information: |UIAbilityContext.d.ts| +|Model changed|Class name: featureAbility;
Method or attribute name: function getWant(): Promise\;
Old version information: |Class name: featureAbility;
Method or attribute name: function getWant(): Promise\;
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: featureAbility;
Method or attribute name: function startAbility(parameter: StartAbilityParameter): Promise\;
Old version information: |Class name: featureAbility;
Method or attribute name: function startAbility(parameter: StartAbilityParameter): Promise\;
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: featureAbility;
Method or attribute name: function startAbilityForResult(parameter: StartAbilityParameter): Promise\;
Old version information: |Class name: featureAbility;
Method or attribute name: function startAbilityForResult(parameter: StartAbilityParameter): Promise\;
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: featureAbility;
Method or attribute name: function terminateSelfWithResult(parameter: AbilityResult): Promise\;
Old version information: |Class name: featureAbility;
Method or attribute name: function terminateSelfWithResult(parameter: AbilityResult): Promise\;
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: featureAbility;
Method or attribute name: function terminateSelf(): Promise\;
Old version information: |Class name: featureAbility;
Method or attribute name: function terminateSelf(): Promise\;
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: featureAbility;
Method or attribute name: function hasWindowFocus(): Promise\;
Old version information: |Class name: featureAbility;
Method or attribute name: function hasWindowFocus(): Promise\;
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: featureAbility;
Method or attribute name: function disconnectAbility(connection: number): Promise\;
Old version information: |Class name: featureAbility;
Method or attribute name: function disconnectAbility(connection: number): Promise\;
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: featureAbility;
Method or attribute name: function getWindow(): Promise\;
Old version information: |Class name: featureAbility;
Method or attribute name: function getWindow(): Promise\;
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: featureAbility;
Method or attribute name: export type AppVersionInfo = _AppVersionInfo;
Old version information: |Class name: featureAbility;
Method or attribute name: export type AppVersionInfo = _AppVersionInfo;
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: featureAbility;
Method or attribute name: export type ProcessInfo = _ProcessInfo;
Old version information: |Class name: featureAbility;
Method or attribute name: export type ProcessInfo = _ProcessInfo;
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: AbilityWindowConfiguration;
Method or attribute name: WINDOW_MODE_UNDEFINED = 0
Old version information: |Class name: AbilityWindowConfiguration;
Method or attribute name: WINDOW_MODE_UNDEFINED = 0
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: AbilityWindowConfiguration;
Method or attribute name: WINDOW_MODE_FULLSCREEN = 1
Old version information: |Class name: AbilityWindowConfiguration;
Method or attribute name: WINDOW_MODE_FULLSCREEN = 1
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: AbilityWindowConfiguration;
Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY = 100
Old version information: |Class name: AbilityWindowConfiguration;
Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY = 100
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: AbilityWindowConfiguration;
Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY = 101
Old version information: |Class name: AbilityWindowConfiguration;
Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY = 101
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: AbilityWindowConfiguration;
Method or attribute name: WINDOW_MODE_FLOATING = 102
Old version information: |Class name: AbilityWindowConfiguration;
Method or attribute name: WINDOW_MODE_FLOATING = 102
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: AbilityStartSetting;
Method or attribute name: BOUNDS_KEY = 'abilityBounds'
Old version information: |Class name: AbilityStartSetting;
Method or attribute name: BOUNDS_KEY = 'abilityBounds'
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: AbilityStartSetting;
Method or attribute name: WINDOW_MODE_KEY = 'windowMode'
Old version information: |Class name: AbilityStartSetting;
Method or attribute name: WINDOW_MODE_KEY = 'windowMode'
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: AbilityStartSetting;
Method or attribute name: DISPLAY_ID_KEY = 'displayId'
Old version information: |Class name: AbilityStartSetting;
Method or attribute name: DISPLAY_ID_KEY = 'displayId'
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: ErrorCode;
Method or attribute name: NO_ERROR = 0
Old version information: |Class name: ErrorCode;
Method or attribute name: NO_ERROR = 0
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: ErrorCode;
Method or attribute name: INVALID_PARAMETER = -1
Old version information: |Class name: ErrorCode;
Method or attribute name: INVALID_PARAMETER = -1
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: ErrorCode;
Method or attribute name: ABILITY_NOT_FOUND = -2
Old version information: |Class name: ErrorCode;
Method or attribute name: ABILITY_NOT_FOUND = -2
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: ErrorCode;
Method or attribute name: PERMISSION_DENY = -3
Old version information: |Class name: ErrorCode;
Method or attribute name: PERMISSION_DENY = -3
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: DataAbilityOperationType;
Method or attribute name: TYPE_INSERT = 1
Old version information: |Class name: DataAbilityOperationType;
Method or attribute name: TYPE_INSERT = 1
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: DataAbilityOperationType;
Method or attribute name: TYPE_UPDATE = 2
Old version information: |Class name: DataAbilityOperationType;
Method or attribute name: TYPE_UPDATE = 2
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: DataAbilityOperationType;
Method or attribute name: TYPE_DELETE = 3
Old version information: |Class name: DataAbilityOperationType;
Method or attribute name: TYPE_DELETE = 3
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: DataAbilityOperationType;
Method or attribute name: TYPE_ASSERT = 4
Old version information: |Class name: DataAbilityOperationType;
Method or attribute name: TYPE_ASSERT = 4
New version information: FAModelOnly|@ohos.ability.featureAbility.d.ts| +|Model changed|Class name: particleAbility;
Method or attribute name: function startAbility(parameter: StartAbilityParameter): Promise\;
Old version information: |Class name: particleAbility;
Method or attribute name: function startAbility(parameter: StartAbilityParameter): Promise\;
New version information: FAModelOnly|@ohos.ability.particleAbility.d.ts| +|Model changed|Class name: particleAbility;
Method or attribute name: function terminateSelf(): Promise\;
Old version information: |Class name: particleAbility;
Method or attribute name: function terminateSelf(): Promise\;
New version information: FAModelOnly|@ohos.ability.particleAbility.d.ts| +|Model changed|Class name: particleAbility;
Method or attribute name: function disconnectAbility(connection: number): Promise\;
Old version information: |Class name: particleAbility;
Method or attribute name: function disconnectAbility(connection: number): Promise\;
New version information: FAModelOnly|@ohos.ability.particleAbility.d.ts| +|Model changed|Class name: ErrorCode;
Method or attribute name: INVALID_PARAMETER = -1
Old version information: |Class name: ErrorCode;
Method or attribute name: INVALID_PARAMETER = -1
New version information: FAModelOnly|@ohos.ability.particleAbility.d.ts| +|Model changed|Class name: LaunchReason;
Method or attribute name: SHARE = 5
Old version information: |Class name: LaunchReason;
Method or attribute name: SHARE = 5
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnContinueResult;
Method or attribute name: AGREE = 0
Old version information: |Class name: OnContinueResult;
Method or attribute name: AGREE = 0
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnContinueResult;
Method or attribute name: REJECT = 1
Old version information: |Class name: OnContinueResult;
Method or attribute name: REJECT = 1
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnContinueResult;
Method or attribute name: MISMATCH = 2
Old version information: |Class name: OnContinueResult;
Method or attribute name: MISMATCH = 2
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: MemoryLevel;
Method or attribute name: MEMORY_LEVEL_MODERATE = 0
Old version information: |Class name: MemoryLevel;
Method or attribute name: MEMORY_LEVEL_MODERATE = 0
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: MemoryLevel;
Method or attribute name: MEMORY_LEVEL_LOW = 1
Old version information: |Class name: MemoryLevel;
Method or attribute name: MEMORY_LEVEL_LOW = 1
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: MemoryLevel;
Method or attribute name: MEMORY_LEVEL_CRITICAL = 2
Old version information: |Class name: MemoryLevel;
Method or attribute name: MEMORY_LEVEL_CRITICAL = 2
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: WindowMode;
Method or attribute name: WINDOW_MODE_UNDEFINED = 0
Old version information: |Class name: WindowMode;
Method or attribute name: WINDOW_MODE_UNDEFINED = 0
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: WindowMode;
Method or attribute name: WINDOW_MODE_FULLSCREEN = 1
Old version information: |Class name: WindowMode;
Method or attribute name: WINDOW_MODE_FULLSCREEN = 1
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: WindowMode;
Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY = 100
Old version information: |Class name: WindowMode;
Method or attribute name: WINDOW_MODE_SPLIT_PRIMARY = 100
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: WindowMode;
Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY = 101
Old version information: |Class name: WindowMode;
Method or attribute name: WINDOW_MODE_SPLIT_SECONDARY = 101
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: WindowMode;
Method or attribute name: WINDOW_MODE_FLOATING = 102
Old version information: |Class name: WindowMode;
Method or attribute name: WINDOW_MODE_FLOATING = 102
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnSaveResult;
Method or attribute name: ALL_AGREE = 0
Old version information: |Class name: OnSaveResult;
Method or attribute name: ALL_AGREE = 0
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnSaveResult;
Method or attribute name: CONTINUATION_REJECT = 1
Old version information: |Class name: OnSaveResult;
Method or attribute name: CONTINUATION_REJECT = 1
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnSaveResult;
Method or attribute name: CONTINUATION_MISMATCH = 2
Old version information: |Class name: OnSaveResult;
Method or attribute name: CONTINUATION_MISMATCH = 2
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnSaveResult;
Method or attribute name: RECOVERY_AGREE = 3
Old version information: |Class name: OnSaveResult;
Method or attribute name: RECOVERY_AGREE = 3
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnSaveResult;
Method or attribute name: RECOVERY_REJECT = 4
Old version information: |Class name: OnSaveResult;
Method or attribute name: RECOVERY_REJECT = 4
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: OnSaveResult;
Method or attribute name: ALL_REJECT
Old version information: |Class name: OnSaveResult;
Method or attribute name: ALL_REJECT
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: StateType;
Method or attribute name: CONTINUATION = 0
Old version information: |Class name: StateType;
Method or attribute name: CONTINUATION = 0
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: StateType;
Method or attribute name: APP_RECOVERY = 1
Old version information: |Class name: StateType;
Method or attribute name: APP_RECOVERY = 1
New version information: StageModelOnly|@ohos.app.ability.AbilityConstant.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: openFile(uri: string, mode: string): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: openFile(uri: string, mode: string): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: getType(uri: string): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: getType(uri: string): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: getFileTypes(uri: string, mimeTypeFilter: string): Promise\>;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: getFileTypes(uri: string, mimeTypeFilter: string): Promise\>;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: normalizeUri(uri: string): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: normalizeUri(uri: string): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: denormalizeUri(uri: string): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: denormalizeUri(uri: string): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: notifyChange(uri: string): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: notifyChange(uri: string): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: insert(uri: string, valuesBucket: rdb.ValuesBucket): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: insert(uri: string, valuesBucket: rdb.ValuesBucket): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: batchInsert(uri: string, valuesBuckets: Array\): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: batchInsert(uri: string, valuesBuckets: Array\): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: delete(uri: string, predicates?: dataAbility.DataAbilityPredicates): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: delete(uri: string, predicates?: dataAbility.DataAbilityPredicates): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: delete(uri: string, callback: AsyncCallback\): void;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: delete(uri: string, callback: AsyncCallback\): void;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: update(uri: string, valuesBucket: rdb.ValuesBucket, predicates?: dataAbility.DataAbilityPredicates): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: update(uri: string, valuesBucket: rdb.ValuesBucket, predicates?: dataAbility.DataAbilityPredicates): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: update(uri: string, valuesBucket: rdb.ValuesBucket, callback: AsyncCallback\): void;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: update(uri: string, valuesBucket: rdb.ValuesBucket, callback: AsyncCallback\): void;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: query(uri: string, callback: AsyncCallback\): void;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: query(uri: string, callback: AsyncCallback\): void;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: query(uri: string, columns: Array\, callback: AsyncCallback\): void;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: query(uri: string, columns: Array\, callback: AsyncCallback\): void;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: query(uri: string, predicates: dataAbility.DataAbilityPredicates, callback: AsyncCallback\): void;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: query(uri: string, predicates: dataAbility.DataAbilityPredicates, callback: AsyncCallback\): void;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: query(uri: string, columns?: Array\, predicates?: dataAbility.DataAbilityPredicates): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: query(uri: string, columns?: Array\, predicates?: dataAbility.DataAbilityPredicates): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: call(uri: string, method: string, arg: string, extras: PacMap): Promise\;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: call(uri: string, method: string, arg: string, extras: PacMap): Promise\;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: executeBatch(
uri: string,
operations: Array\,
callback: AsyncCallback\>
): void;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: executeBatch(
uri: string,
operations: Array\,
callback: AsyncCallback\>
): void;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: DataAbilityHelper;
Method or attribute name: executeBatch(uri: string, operations: Array\): Promise\>;
Old version information: |Class name: DataAbilityHelper;
Method or attribute name: executeBatch(uri: string, operations: Array\): Promise\>;
New version information: FAModelOnly|dataAbilityHelper.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getOrCreateLocalDir(callback: AsyncCallback\): void;
Old version information: |Class name: Context;
Method or attribute name: getOrCreateLocalDir(callback: AsyncCallback\): void;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: verifyPermission(permission: string, options: PermissionOptions, callback: AsyncCallback\): void;
Old version information: |Class name: Context;
Method or attribute name: verifyPermission(permission: string, options: PermissionOptions, callback: AsyncCallback\): void;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: verifyPermission(permission: string, callback: AsyncCallback\): void;
Old version information: |Class name: Context;
Method or attribute name: verifyPermission(permission: string, callback: AsyncCallback\): void;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: requestPermissionsFromUser(permissions: Array\, requestCode: number): Promise\;
Old version information: |Class name: Context;
Method or attribute name: requestPermissionsFromUser(permissions: Array\, requestCode: number): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getApplicationInfo(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getApplicationInfo(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getBundleName(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getBundleName(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getDisplayOrientation(callback: AsyncCallback\): void;
Old version information: |Class name: Context;
Method or attribute name: getDisplayOrientation(callback: AsyncCallback\): void;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getDisplayOrientation(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getDisplayOrientation(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getExternalCacheDir(callback: AsyncCallback\): void;
Old version information: |Class name: Context;
Method or attribute name: getExternalCacheDir(callback: AsyncCallback\): void;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getExternalCacheDir(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getExternalCacheDir(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: setDisplayOrientation(orientation: bundle.DisplayOrientation, callback: AsyncCallback\): void;
Old version information: |Class name: Context;
Method or attribute name: setDisplayOrientation(orientation: bundle.DisplayOrientation, callback: AsyncCallback\): void;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: setDisplayOrientation(orientation: bundle.DisplayOrientation): Promise\;
Old version information: |Class name: Context;
Method or attribute name: setDisplayOrientation(orientation: bundle.DisplayOrientation): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: setShowOnLockScreen(show: boolean, callback: AsyncCallback\): void;
Old version information: |Class name: Context;
Method or attribute name: setShowOnLockScreen(show: boolean, callback: AsyncCallback\): void;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: setShowOnLockScreen(show: boolean): Promise\;
Old version information: |Class name: Context;
Method or attribute name: setShowOnLockScreen(show: boolean): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: setWakeUpScreen(wakeUp: boolean, callback: AsyncCallback\): void;
Old version information: |Class name: Context;
Method or attribute name: setWakeUpScreen(wakeUp: boolean, callback: AsyncCallback\): void;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: setWakeUpScreen(wakeUp: boolean): Promise\;
Old version information: |Class name: Context;
Method or attribute name: setWakeUpScreen(wakeUp: boolean): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getProcessInfo(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getProcessInfo(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getElementName(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getElementName(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getProcessName(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getProcessName(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getCallingBundle(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getCallingBundle(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getFilesDir(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getFilesDir(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getCacheDir(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getCacheDir(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getOrCreateDistributedDir(callback: AsyncCallback\): void;
Old version information: |Class name: Context;
Method or attribute name: getOrCreateDistributedDir(callback: AsyncCallback\): void;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getAppType(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getAppType(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getHapModuleInfo(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getHapModuleInfo(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getAppVersionInfo(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getAppVersionInfo(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: getAbilityInfo(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: getAbilityInfo(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: isUpdatingConfigurations(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: isUpdatingConfigurations(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Model changed|Class name: Context;
Method or attribute name: printDrawnCompleted(): Promise\;
Old version information: |Class name: Context;
Method or attribute name: printDrawnCompleted(): Promise\;
New version information: FAModelOnly|context.d.ts| +|Type changed|Class name: LaunchParam;
Method or attribute name: launchReason: LaunchReason;
Old version information: |Class name: LaunchParam;
Method or attribute name: launchReason: LaunchReason;
New version information: LaunchReason|@ohos.app.ability.AbilityConstant.d.ts| +|Type changed|Class name: LaunchParam;
Method or attribute name: lastExitReason: LastExitReason;
Old version information: |Class name: LaunchParam;
Method or attribute name: lastExitReason: LastExitReason;
New version information: LastExitReason|@ohos.app.ability.AbilityConstant.d.ts| +|Type changed|Class name: Configuration;
Method or attribute name: language?: string;
Old version information: string|Class name: Configuration;
Method or attribute name: language?: string;
New version information: ?string|@ohos.app.ability.Configuration.d.ts| +|Type changed|Class name: Configuration;
Method or attribute name: colorMode?: ConfigurationConstant.ColorMode;
Old version information: ConfigurationConstant.ColorMode|Class name: Configuration;
Method or attribute name: colorMode?: ConfigurationConstant.ColorMode;
New version information: ?ConfigurationConstant.ColorMode|@ohos.app.ability.Configuration.d.ts| +|Type changed|Class name: Configuration;
Method or attribute name: direction?: ConfigurationConstant.Direction;
Old version information: ConfigurationConstant.Direction|Class name: Configuration;
Method or attribute name: direction?: ConfigurationConstant.Direction;
New version information: ?ConfigurationConstant.Direction|@ohos.app.ability.Configuration.d.ts| +|Type changed|Class name: Configuration;
Method or attribute name: screenDensity?: ConfigurationConstant.ScreenDensity;
Old version information: ConfigurationConstant.ScreenDensity|Class name: Configuration;
Method or attribute name: screenDensity?: ConfigurationConstant.ScreenDensity;
New version information: ?ConfigurationConstant.ScreenDensity|@ohos.app.ability.Configuration.d.ts| +|Type changed|Class name: Configuration;
Method or attribute name: displayId?: number;
Old version information: number|Class name: Configuration;
Method or attribute name: displayId?: number;
New version information: ?number|@ohos.app.ability.Configuration.d.ts| +|Type changed|Class name: Configuration;
Method or attribute name: hasPointerDevice?: boolean;
Old version information: boolean|Class name: Configuration;
Method or attribute name: hasPointerDevice?: boolean;
New version information: ?boolean|@ohos.app.ability.Configuration.d.ts| +|Type changed|Class name: RequestResult;
Method or attribute name: result: ResultCode;
Old version information: |Class name: RequestResult;
Method or attribute name: result: ResultCode;
New version information: ResultCode|@ohos.app.ability.dialogRequest.d.ts| +|Type changed|Class name: ServiceExtensionAbility;
Method or attribute name: context: ServiceExtensionContext;
Old version information: |Class name: ServiceExtensionAbility;
Method or attribute name: context: ServiceExtensionContext;
New version information: ServiceExtensionContext|@ohos.app.ability.ServiceExtensionAbility.d.ts| +|Type changed|Class name: StartOptions;
Method or attribute name: windowMode?: number;
Old version information: |Class name: StartOptions;
Method or attribute name: windowMode?: number;
New version information: ?number|@ohos.app.ability.StartOptions.d.ts| +|Type changed|Class name: StartOptions;
Method or attribute name: displayId?: number;
Old version information: |Class name: StartOptions;
Method or attribute name: displayId?: number;
New version information: ?number|@ohos.app.ability.StartOptions.d.ts| +|Type changed|Class name: Want;
Method or attribute name: deviceId?: string;
Old version information: |Class name: Want;
Method or attribute name: deviceId?: string;
New version information: ?string|@ohos.app.ability.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: uri?: string;
Old version information: |Class name: Want;
Method or attribute name: uri?: string;
New version information: ?string|@ohos.app.ability.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: type?: string;
Old version information: |Class name: Want;
Method or attribute name: type?: string;
New version information: ?string|@ohos.app.ability.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: flags?: number;
Old version information: |Class name: Want;
Method or attribute name: flags?: number;
New version information: ?number|@ohos.app.ability.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: action?: string;
Old version information: |Class name: Want;
Method or attribute name: action?: string;
New version information: ?string|@ohos.app.ability.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: parameters?: { [key: string]: Object };
Old version information: |Class name: Want;
Method or attribute name: parameters?: { [key: string]: Object };
New version information: ?object|@ohos.app.ability.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: entities?: Array\;
Old version information: |Class name: Want;
Method or attribute name: entities?: Array\;
New version information: ?Array\|@ohos.app.ability.Want.d.ts| +|Type changed|Class name: CompleteData;
Method or attribute name: extraInfo?: { [key: string]: Object };
Old version information: { [key: string]: Object }|Class name: CompleteData;
Method or attribute name: extraInfo?: { [key: string]: Object };
New version information: ?object|@ohos.app.ability.wantAgent.d.ts| +|Type changed|Class name: FormBindingData;
Method or attribute name: data: Object;
Old version information: |Class name: FormBindingData;
Method or attribute name: data: Object;
New version information: Object|@ohos.app.form.formBindingData.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: bundleName: string;
Old version information: |Class name: FormInfo;
Method or attribute name: bundleName: string;
New version information: string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormProviderFilter;
Method or attribute name: bundleName: string;
Old version information: |Class name: FormProviderFilter;
Method or attribute name: bundleName: string;
New version information: string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: moduleName: string;
Old version information: |Class name: FormInfo;
Method or attribute name: moduleName: string;
New version information: string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: abilityName: string;
Old version information: |Class name: FormInfo;
Method or attribute name: abilityName: string;
New version information: string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: name: string;
Old version information: |Class name: FormInfo;
Method or attribute name: name: string;
New version information: string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: description: string;
Old version information: |Class name: FormInfo;
Method or attribute name: description: string;
New version information: string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: descriptionId: number;
Old version information: |Class name: FormInfo;
Method or attribute name: descriptionId: number;
New version information: number|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: type: FormType;
Old version information: |Class name: FormInfo;
Method or attribute name: type: FormType;
New version information: FormType|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: jsComponentName: string;
Old version information: |Class name: FormInfo;
Method or attribute name: jsComponentName: string;
New version information: string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: colorMode: ColorMode;
Old version information: |Class name: FormInfo;
Method or attribute name: colorMode: ColorMode;
New version information: ColorMode|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: isDefault: boolean;
Old version information: |Class name: FormInfo;
Method or attribute name: isDefault: boolean;
New version information: boolean|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: updateEnabled: boolean;
Old version information: |Class name: FormInfo;
Method or attribute name: updateEnabled: boolean;
New version information: boolean|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: formVisibleNotify: boolean;
Old version information: |Class name: FormInfo;
Method or attribute name: formVisibleNotify: boolean;
New version information: boolean|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: scheduledUpdateTime: string;
Old version information: |Class name: FormInfo;
Method or attribute name: scheduledUpdateTime: string;
New version information: string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: formConfigAbility: string;
Old version information: |Class name: FormInfo;
Method or attribute name: formConfigAbility: string;
New version information: string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: updateDuration: number;
Old version information: |Class name: FormInfo;
Method or attribute name: updateDuration: number;
New version information: number|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: defaultDimension: number;
Old version information: |Class name: FormInfo;
Method or attribute name: defaultDimension: number;
New version information: number|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: supportDimensions: Array\;
Old version information: |Class name: FormInfo;
Method or attribute name: supportDimensions: Array\;
New version information: Array\|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: customizeData: { [key: string]: [value: string] };
Old version information: |Class name: FormInfo;
Method or attribute name: customizeData: { [key: string]: [value: string] };
New version information: object|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormStateInfo;
Method or attribute name: formState: FormState;
Old version information: |Class name: FormStateInfo;
Method or attribute name: formState: FormState;
New version information: FormState|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormStateInfo;
Method or attribute name: want: Want;
Old version information: |Class name: FormStateInfo;
Method or attribute name: want: Want;
New version information: Want|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormInfoFilter;
Method or attribute name: moduleName?: string;
Old version information: |Class name: FormInfoFilter;
Method or attribute name: moduleName?: string;
New version information: ?string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormProviderFilter;
Method or attribute name: moduleName?: string;
Old version information: |Class name: FormProviderFilter;
Method or attribute name: moduleName?: string;
New version information: ?string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormProviderFilter;
Method or attribute name: formName?: string;
Old version information: |Class name: FormProviderFilter;
Method or attribute name: formName?: string;
New version information: ?string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: FormProviderFilter;
Method or attribute name: abilityName?: string;
Old version information: |Class name: FormProviderFilter;
Method or attribute name: abilityName?: string;
New version information: ?string|@ohos.app.form.formInfo.d.ts| +|Type changed|Class name: Configuration;
Method or attribute name: language?: string;
Old version information: |Class name: Configuration;
Method or attribute name: language?: string;
New version information: ?string|@ohos.application.Configuration.d.ts| +|Type changed|Class name: Configuration;
Method or attribute name: colorMode?: ConfigurationConstant.ColorMode;
Old version information: |Class name: Configuration;
Method or attribute name: colorMode?: ConfigurationConstant.ColorMode;
New version information: ?ConfigurationConstant.ColorMode|@ohos.application.Configuration.d.ts| +|Type changed|Class name: FormBindingData;
Method or attribute name: data: Object;
Old version information: |Class name: FormBindingData;
Method or attribute name: data: Object;
New version information: Object|@ohos.application.formBindingData.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: bundleName: string;
Old version information: |Class name: FormInfo;
Method or attribute name: bundleName: string;
New version information: string|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: moduleName: string;
Old version information: |Class name: FormInfo;
Method or attribute name: moduleName: string;
New version information: string|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: abilityName: string;
Old version information: |Class name: FormInfo;
Method or attribute name: abilityName: string;
New version information: string|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: name: string;
Old version information: |Class name: FormInfo;
Method or attribute name: name: string;
New version information: string|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: description: string;
Old version information: |Class name: FormInfo;
Method or attribute name: description: string;
New version information: string|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: type: FormType;
Old version information: |Class name: FormInfo;
Method or attribute name: type: FormType;
New version information: FormType|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: jsComponentName: string;
Old version information: |Class name: FormInfo;
Method or attribute name: jsComponentName: string;
New version information: string|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: colorMode: ColorMode;
Old version information: |Class name: FormInfo;
Method or attribute name: colorMode: ColorMode;
New version information: ColorMode|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: isDefault: boolean;
Old version information: |Class name: FormInfo;
Method or attribute name: isDefault: boolean;
New version information: boolean|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: updateEnabled: boolean;
Old version information: |Class name: FormInfo;
Method or attribute name: updateEnabled: boolean;
New version information: boolean|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: formVisibleNotify: boolean;
Old version information: |Class name: FormInfo;
Method or attribute name: formVisibleNotify: boolean;
New version information: boolean|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: relatedBundleName: string;
Old version information: |Class name: FormInfo;
Method or attribute name: relatedBundleName: string;
New version information: string|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: scheduledUpdateTime: string;
Old version information: |Class name: FormInfo;
Method or attribute name: scheduledUpdateTime: string;
New version information: string|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: formConfigAbility: string;
Old version information: |Class name: FormInfo;
Method or attribute name: formConfigAbility: string;
New version information: string|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: updateDuration: number;
Old version information: |Class name: FormInfo;
Method or attribute name: updateDuration: number;
New version information: number|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: defaultDimension: number;
Old version information: |Class name: FormInfo;
Method or attribute name: defaultDimension: number;
New version information: number|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: supportDimensions: Array\;
Old version information: |Class name: FormInfo;
Method or attribute name: supportDimensions: Array\;
New version information: Array\|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormInfo;
Method or attribute name: customizeData: { [key: string]: [value: string] };
Old version information: |Class name: FormInfo;
Method or attribute name: customizeData: { [key: string]: [value: string] };
New version information: object|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormStateInfo;
Method or attribute name: formState: FormState;
Old version information: |Class name: FormStateInfo;
Method or attribute name: formState: FormState;
New version information: FormState|@ohos.application.formInfo.d.ts| +|Type changed|Class name: FormStateInfo;
Method or attribute name: want: Want;
Old version information: |Class name: FormStateInfo;
Method or attribute name: want: Want;
New version information: Want|@ohos.application.formInfo.d.ts| +|Type changed|Class name: Want;
Method or attribute name: deviceId?: string;
Old version information: |Class name: Want;
Method or attribute name: deviceId?: string;
New version information: ?string|@ohos.application.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: bundleName?: string;
Old version information: |Class name: Want;
Method or attribute name: bundleName?: string;
New version information: ?string|@ohos.application.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: abilityName?: string;
Old version information: |Class name: Want;
Method or attribute name: abilityName?: string;
New version information: ?string|@ohos.application.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: uri?: string;
Old version information: |Class name: Want;
Method or attribute name: uri?: string;
New version information: ?string|@ohos.application.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: type?: string;
Old version information: |Class name: Want;
Method or attribute name: type?: string;
New version information: ?string|@ohos.application.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: flags?: number;
Old version information: |Class name: Want;
Method or attribute name: flags?: number;
New version information: ?number|@ohos.application.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: action?: string;
Old version information: |Class name: Want;
Method or attribute name: action?: string;
New version information: ?string|@ohos.application.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: parameters?: { [key: string]: any };
Old version information: |Class name: Want;
Method or attribute name: parameters?: { [key: string]: any };
New version information: ?object|@ohos.application.Want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: entities?: Array\;
Old version information: |Class name: Want;
Method or attribute name: entities?: Array\;
New version information: ?Array\|@ohos.application.Want.d.ts| +|Type changed|Class name: CompleteData;
Method or attribute name: info: WantAgent;
Old version information: |Class name: CompleteData;
Method or attribute name: info: WantAgent;
New version information: WantAgent|@ohos.wantAgent.d.ts| +|Type changed|Class name: CompleteData;
Method or attribute name: want: Want;
Old version information: |Class name: CompleteData;
Method or attribute name: want: Want;
New version information: Want|@ohos.wantAgent.d.ts| +|Type changed|Class name: CompleteData;
Method or attribute name: finalCode: number;
Old version information: |Class name: CompleteData;
Method or attribute name: finalCode: number;
New version information: number|@ohos.wantAgent.d.ts| +|Type changed|Class name: CompleteData;
Method or attribute name: finalData: string;
Old version information: |Class name: CompleteData;
Method or attribute name: finalData: string;
New version information: string|@ohos.wantAgent.d.ts| +|Type changed|Class name: CompleteData;
Method or attribute name: extraInfo?: { [key: string]: any };
Old version information: |Class name: CompleteData;
Method or attribute name: extraInfo?: { [key: string]: any };
New version information: ?object|@ohos.wantAgent.d.ts| +|Type changed|Class name: AbilityResult;
Method or attribute name: resultCode: number;
Old version information: |Class name: AbilityResult;
Method or attribute name: resultCode: number;
New version information: number|abilityResult.d.ts| +|Type changed|Class name: AbilityResult;
Method or attribute name: want?: Want;
Old version information: |Class name: AbilityResult;
Method or attribute name: want?: Want;
New version information: ?Want|abilityResult.d.ts| +|Type changed|Class name: DataAbilityOperation;
Method or attribute name: uri: string;
Old version information: |Class name: DataAbilityOperation;
Method or attribute name: uri: string;
New version information: string|dataAbilityOperation.d.ts| +|Type changed|Class name: DataAbilityOperation;
Method or attribute name: type: featureAbility.DataAbilityOperationType;
Old version information: |Class name: DataAbilityOperation;
Method or attribute name: type: featureAbility.DataAbilityOperationType;
New version information: featureAbility.DataAbilityOperationType|dataAbilityOperation.d.ts| +|Type changed|Class name: DataAbilityOperation;
Method or attribute name: valuesBucket?: rdb.ValuesBucket;
Old version information: |Class name: DataAbilityOperation;
Method or attribute name: valuesBucket?: rdb.ValuesBucket;
New version information: ?rdb.ValuesBucket|dataAbilityOperation.d.ts| +|Type changed|Class name: DataAbilityOperation;
Method or attribute name: valueBackReferences?: rdb.ValuesBucket;
Old version information: |Class name: DataAbilityOperation;
Method or attribute name: valueBackReferences?: rdb.ValuesBucket;
New version information: ?rdb.ValuesBucket|dataAbilityOperation.d.ts| +|Type changed|Class name: DataAbilityOperation;
Method or attribute name: predicates?: dataAbility.DataAbilityPredicates;
Old version information: |Class name: DataAbilityOperation;
Method or attribute name: predicates?: dataAbility.DataAbilityPredicates;
New version information: ?dataAbility.DataAbilityPredicates|dataAbilityOperation.d.ts| +|Type changed|Class name: DataAbilityOperation;
Method or attribute name: predicatesBackReferences?: Map\;
Old version information: |Class name: DataAbilityOperation;
Method or attribute name: predicatesBackReferences?: Map\;
New version information: ?Map\|dataAbilityOperation.d.ts| +|Type changed|Class name: DataAbilityOperation;
Method or attribute name: interrupted?: boolean;
Old version information: |Class name: DataAbilityOperation;
Method or attribute name: interrupted?: boolean;
New version information: ?boolean|dataAbilityOperation.d.ts| +|Type changed|Class name: DataAbilityOperation;
Method or attribute name: expectedCount?: number;
Old version information: |Class name: DataAbilityOperation;
Method or attribute name: expectedCount?: number;
New version information: ?number|dataAbilityOperation.d.ts| +|Type changed|Class name: DataAbilityResult;
Method or attribute name: uri?: string;
Old version information: |Class name: DataAbilityResult;
Method or attribute name: uri?: string;
New version information: ?string|dataAbilityResult.d.ts| +|Type changed|Class name: DataAbilityResult;
Method or attribute name: count?: number;
Old version information: |Class name: DataAbilityResult;
Method or attribute name: count?: number;
New version information: ?number|dataAbilityResult.d.ts| +|Type changed|Class name: StartAbilityParameter;
Method or attribute name: want: Want;
Old version information: |Class name: StartAbilityParameter;
Method or attribute name: want: Want;
New version information: Want|startAbilityParameter.d.ts| +|Type changed|Class name: StartAbilityParameter;
Method or attribute name: abilityStartSetting?: { [key: string]: any };
Old version information: |Class name: StartAbilityParameter;
Method or attribute name: abilityStartSetting?: { [key: string]: any };
New version information: ?object|startAbilityParameter.d.ts| +|Type changed|Class name: Want;
Method or attribute name: deviceId?: string;
Old version information: |Class name: Want;
Method or attribute name: deviceId?: string;
New version information: ?string|want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: bundleName?: string;
Old version information: |Class name: Want;
Method or attribute name: bundleName?: string;
New version information: ?string|want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: abilityName?: string;
Old version information: |Class name: Want;
Method or attribute name: abilityName?: string;
New version information: ?string|want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: uri?: string;
Old version information: |Class name: Want;
Method or attribute name: uri?: string;
New version information: ?string|want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: type?: string;
Old version information: |Class name: Want;
Method or attribute name: type?: string;
New version information: ?string|want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: flags?: number;
Old version information: |Class name: Want;
Method or attribute name: flags?: number;
New version information: ?number|want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: action?: string;
Old version information: |Class name: Want;
Method or attribute name: action?: string;
New version information: ?string|want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: parameters?: { [key: string]: any };
Old version information: |Class name: Want;
Method or attribute name: parameters?: { [key: string]: any };
New version information: ?object|want.d.ts| +|Type changed|Class name: Want;
Method or attribute name: entities?: Array\;
Old version information: |Class name: Want;
Method or attribute name: entities?: Array\;
New version information: ?Array\|want.d.ts| +|Type changed|Class name: AppVersionInfo;
Method or attribute name: readonly appName: string;
Old version information: |Class name: AppVersionInfo;
Method or attribute name: readonly appName: string;
New version information: string|appVersionInfo.d.ts| +|Type changed|Class name: AppVersionInfo;
Method or attribute name: readonly versionCode: number;
Old version information: |Class name: AppVersionInfo;
Method or attribute name: readonly versionCode: number;
New version information: number|appVersionInfo.d.ts| +|Type changed|Class name: AppVersionInfo;
Method or attribute name: readonly versionName: string;
Old version information: |Class name: AppVersionInfo;
Method or attribute name: readonly versionName: string;
New version information: string|appVersionInfo.d.ts| +|Type changed|Class name: PermissionRequestResult;
Method or attribute name: requestCode: number;
Old version information: |Class name: PermissionRequestResult;
Method or attribute name: requestCode: number;
New version information: number|context.d.ts| +|Type changed|Class name: PermissionRequestResult;
Method or attribute name: permissions: Array\;
Old version information: |Class name: PermissionRequestResult;
Method or attribute name: permissions: Array\;
New version information: Array\|context.d.ts| +|Type changed|Class name: PermissionRequestResult;
Method or attribute name: authResults: Array\;
Old version information: |Class name: PermissionRequestResult;
Method or attribute name: authResults: Array\;
New version information: Array\|context.d.ts| +|Type changed|Class name: PermissionOptions;
Method or attribute name: pid?: number;
Old version information: |Class name: PermissionOptions;
Method or attribute name: pid?: number;
New version information: ?number|context.d.ts| +|Type changed|Class name: PermissionOptions;
Method or attribute name: uid?: number;
Old version information: |Class name: PermissionOptions;
Method or attribute name: uid?: number;
New version information: ?number|context.d.ts| +|Type changed|Class name: ProcessInfo;
Method or attribute name: pid: number;
Old version information: |Class name: ProcessInfo;
Method or attribute name: pid: number;
New version information: number|processInfo.d.ts| +|Type changed|Class name: ProcessInfo;
Method or attribute name: processName: string;
Old version information: |Class name: ProcessInfo;
Method or attribute name: processName: string;
New version information: string|processInfo.d.ts| +|Type changed|Class name: AbilityDelegatorArgs;
Method or attribute name: bundleName: string;
Old version information: |Class name: AbilityDelegatorArgs;
Method or attribute name: bundleName: string;
New version information: string|abilityDelegatorArgs.d.ts| +|Type changed|Class name: AbilityDelegatorArgs;
Method or attribute name: parameters: { [key: string]: string };
Old version information: |Class name: AbilityDelegatorArgs;
Method or attribute name: parameters: { [key: string]: string };
New version information: object|abilityDelegatorArgs.d.ts| +|Type changed|Class name: AbilityDelegatorArgs;
Method or attribute name: testCaseNames: string;
Old version information: |Class name: AbilityDelegatorArgs;
Method or attribute name: testCaseNames: string;
New version information: string|abilityDelegatorArgs.d.ts| +|Type changed|Class name: AbilityDelegatorArgs;
Method or attribute name: testRunnerClassName: string;
Old version information: |Class name: AbilityDelegatorArgs;
Method or attribute name: testRunnerClassName: string;
New version information: string|abilityDelegatorArgs.d.ts| +|Type changed|Class name: AbilityMonitor;
Method or attribute name: abilityName: string;
Old version information: |Class name: AbilityMonitor;
Method or attribute name: abilityName: string;
New version information: string|AbilityMonitor.d.ts| +|Type changed|Class name: AbilityMonitor;
Method or attribute name: moduleName?: string;
Old version information: |Class name: AbilityMonitor;
Method or attribute name: moduleName?: string;
New version information: ?string|AbilityMonitor.d.ts| +|Type changed|Class name: AbilityRunningInfo;
Method or attribute name: ability: ElementName;
Old version information: |Class name: AbilityRunningInfo;
Method or attribute name: ability: ElementName;
New version information: ElementName|AbilityRunningInfo.d.ts| +|Type changed|Class name: AbilityRunningInfo;
Method or attribute name: pid: number;
Old version information: |Class name: AbilityRunningInfo;
Method or attribute name: pid: number;
New version information: number|AbilityRunningInfo.d.ts| +|Type changed|Class name: AbilityRunningInfo;
Method or attribute name: uid: number;
Old version information: |Class name: AbilityRunningInfo;
Method or attribute name: uid: number;
New version information: number|AbilityRunningInfo.d.ts| +|Type changed|Class name: AbilityRunningInfo;
Method or attribute name: processName: string;
Old version information: |Class name: AbilityRunningInfo;
Method or attribute name: processName: string;
New version information: string|AbilityRunningInfo.d.ts| +|Type changed|Class name: AbilityRunningInfo;
Method or attribute name: startTime: number;
Old version information: |Class name: AbilityRunningInfo;
Method or attribute name: startTime: number;
New version information: number|AbilityRunningInfo.d.ts| +|Type changed|Class name: AbilityRunningInfo;
Method or attribute name: abilityState: abilityManager.AbilityState;
Old version information: |Class name: AbilityRunningInfo;
Method or attribute name: abilityState: abilityManager.AbilityState;
New version information: abilityManager.AbilityState|AbilityRunningInfo.d.ts| +|Type changed|Class name: AbilityStageContext;
Method or attribute name: currentHapModuleInfo: HapModuleInfo;
Old version information: |Class name: AbilityStageContext;
Method or attribute name: currentHapModuleInfo: HapModuleInfo;
New version information: HapModuleInfo|AbilityStageContext.d.ts| +|Type changed|Class name: AbilityStageContext;
Method or attribute name: config: Configuration;
Old version information: |Class name: AbilityStageContext;
Method or attribute name: config: Configuration;
New version information: Configuration|AbilityStageContext.d.ts| +|Type changed|Class name: AbilityStageMonitor;
Method or attribute name: moduleName: string;
Old version information: |Class name: AbilityStageMonitor;
Method or attribute name: moduleName: string;
New version information: string|AbilityStageMonitor.d.ts| +|Type changed|Class name: AbilityStageMonitor;
Method or attribute name: srcEntrance: string;
Old version information: |Class name: AbilityStageMonitor;
Method or attribute name: srcEntrance: string;
New version information: string|AbilityStageMonitor.d.ts| +|Type changed|Class name: AbilityStateData;
Method or attribute name: moduleName: string;
Old version information: |Class name: AbilityStateData;
Method or attribute name: moduleName: string;
New version information: string|AbilityStateData.d.ts| +|Type changed|Class name: AbilityStateData;
Method or attribute name: bundleName: string;
Old version information: |Class name: AbilityStateData;
Method or attribute name: bundleName: string;
New version information: string|AbilityStateData.d.ts| +|Type changed|Class name: AbilityStateData;
Method or attribute name: abilityName: string;
Old version information: |Class name: AbilityStateData;
Method or attribute name: abilityName: string;
New version information: string|AbilityStateData.d.ts| +|Type changed|Class name: AbilityStateData;
Method or attribute name: pid: number;
Old version information: |Class name: AbilityStateData;
Method or attribute name: pid: number;
New version information: number|AbilityStateData.d.ts| +|Type changed|Class name: AbilityStateData;
Method or attribute name: uid: number;
Old version information: |Class name: AbilityStateData;
Method or attribute name: uid: number;
New version information: number|AbilityStateData.d.ts| +|Type changed|Class name: AbilityStateData;
Method or attribute name: state: number;
Old version information: |Class name: AbilityStateData;
Method or attribute name: state: number;
New version information: number|AbilityStateData.d.ts| +|Type changed|Class name: AbilityStateData;
Method or attribute name: abilityType: number;
Old version information: |Class name: AbilityStateData;
Method or attribute name: abilityType: number;
New version information: number|AbilityStateData.d.ts| +|Type changed|Class name: AppStateData;
Method or attribute name: bundleName: string;
Old version information: |Class name: AppStateData;
Method or attribute name: bundleName: string;
New version information: string|AppStateData.d.ts| +|Type changed|Class name: AppStateData;
Method or attribute name: uid: number;
Old version information: |Class name: AppStateData;
Method or attribute name: uid: number;
New version information: number|AppStateData.d.ts| +|Type changed|Class name: AppStateData;
Method or attribute name: state: number;
Old version information: |Class name: AppStateData;
Method or attribute name: state: number;
New version information: number|AppStateData.d.ts| +|Type changed|Class name: BaseContext;
Method or attribute name: stageMode: boolean;
Old version information: |Class name: BaseContext;
Method or attribute name: stageMode: boolean;
New version information: boolean|BaseContext.d.ts| +|Type changed|Class name: Context;
Method or attribute name: area: contextConstant.AreaMode;
Old version information: AreaMode|Class name: Context;
Method or attribute name: area: contextConstant.AreaMode;
New version information: contextConstant.AreaMode|Context.d.ts| +|Type changed|Class name: ContinueDeviceInfo;
Method or attribute name: srcDeviceId: string;
Old version information: |Class name: ContinueDeviceInfo;
Method or attribute name: srcDeviceId: string;
New version information: string|ContinueDeviceInfo.d.ts| +|Type changed|Class name: ContinueDeviceInfo;
Method or attribute name: dstDeviceId: string;
Old version information: |Class name: ContinueDeviceInfo;
Method or attribute name: dstDeviceId: string;
New version information: string|ContinueDeviceInfo.d.ts| +|Type changed|Class name: ContinueDeviceInfo;
Method or attribute name: missionId: number;
Old version information: |Class name: ContinueDeviceInfo;
Method or attribute name: missionId: number;
New version information: number|ContinueDeviceInfo.d.ts| +|Type changed|Class name: ContinueDeviceInfo;
Method or attribute name: wantParam: { [key: string]: any };
Old version information: |Class name: ContinueDeviceInfo;
Method or attribute name: wantParam: { [key: string]: any };
New version information: object|ContinueDeviceInfo.d.ts| +|Type changed|Class name: ExtensionContext;
Method or attribute name: currentHapModuleInfo: HapModuleInfo;
Old version information: |Class name: ExtensionContext;
Method or attribute name: currentHapModuleInfo: HapModuleInfo;
New version information: HapModuleInfo|ExtensionContext.d.ts| +|Type changed|Class name: ExtensionContext;
Method or attribute name: config: Configuration;
Old version information: |Class name: ExtensionContext;
Method or attribute name: config: Configuration;
New version information: Configuration|ExtensionContext.d.ts| +|Type changed|Class name: ExtensionContext;
Method or attribute name: extensionAbilityInfo: ExtensionAbilityInfo;
Old version information: |Class name: ExtensionContext;
Method or attribute name: extensionAbilityInfo: ExtensionAbilityInfo;
New version information: ExtensionAbilityInfo|ExtensionContext.d.ts| +|Type changed|Class name: ExtensionRunningInfo;
Method or attribute name: extension: ElementName;
Old version information: |Class name: ExtensionRunningInfo;
Method or attribute name: extension: ElementName;
New version information: ElementName|ExtensionRunningInfo.d.ts| +|Type changed|Class name: ExtensionRunningInfo;
Method or attribute name: pid: number;
Old version information: |Class name: ExtensionRunningInfo;
Method or attribute name: pid: number;
New version information: number|ExtensionRunningInfo.d.ts| +|Type changed|Class name: ExtensionRunningInfo;
Method or attribute name: uid: number;
Old version information: |Class name: ExtensionRunningInfo;
Method or attribute name: uid: number;
New version information: number|ExtensionRunningInfo.d.ts| +|Type changed|Class name: ExtensionRunningInfo;
Method or attribute name: processName: string;
Old version information: |Class name: ExtensionRunningInfo;
Method or attribute name: processName: string;
New version information: string|ExtensionRunningInfo.d.ts| +|Type changed|Class name: ExtensionRunningInfo;
Method or attribute name: startTime: number;
Old version information: |Class name: ExtensionRunningInfo;
Method or attribute name: startTime: number;
New version information: number|ExtensionRunningInfo.d.ts| +|Type changed|Class name: ExtensionRunningInfo;
Method or attribute name: clientPackage: Array\;
Old version information: |Class name: ExtensionRunningInfo;
Method or attribute name: clientPackage: Array\;
New version information: Array\|ExtensionRunningInfo.d.ts| +|Type changed|Class name: ExtensionRunningInfo;
Method or attribute name: type: bundle.ExtensionAbilityType;
Old version information: |Class name: ExtensionRunningInfo;
Method or attribute name: type: bundle.ExtensionAbilityType;
New version information: bundle.ExtensionAbilityType|ExtensionRunningInfo.d.ts| +|Type changed|Class name: MissionDeviceInfo;
Method or attribute name: deviceId: string;
Old version information: |Class name: MissionDeviceInfo;
Method or attribute name: deviceId: string;
New version information: string|MissionDeviceInfo.d.ts| +|Type changed|Class name: MissionInfo;
Method or attribute name: missionId: number;
Old version information: |Class name: MissionInfo;
Method or attribute name: missionId: number;
New version information: number|MissionInfo.d.ts| +|Type changed|Class name: MissionInfo;
Method or attribute name: runningState: number;
Old version information: |Class name: MissionInfo;
Method or attribute name: runningState: number;
New version information: number|MissionInfo.d.ts| +|Type changed|Class name: MissionInfo;
Method or attribute name: lockedState: boolean;
Old version information: |Class name: MissionInfo;
Method or attribute name: lockedState: boolean;
New version information: boolean|MissionInfo.d.ts| +|Type changed|Class name: MissionInfo;
Method or attribute name: timestamp: string;
Old version information: |Class name: MissionInfo;
Method or attribute name: timestamp: string;
New version information: string|MissionInfo.d.ts| +|Type changed|Class name: MissionInfo;
Method or attribute name: want: Want;
Old version information: |Class name: MissionInfo;
Method or attribute name: want: Want;
New version information: Want|MissionInfo.d.ts| +|Type changed|Class name: MissionInfo;
Method or attribute name: label: string;
Old version information: |Class name: MissionInfo;
Method or attribute name: label: string;
New version information: string|MissionInfo.d.ts| +|Type changed|Class name: MissionInfo;
Method or attribute name: iconPath: string;
Old version information: |Class name: MissionInfo;
Method or attribute name: iconPath: string;
New version information: string|MissionInfo.d.ts| +|Type changed|Class name: MissionInfo;
Method or attribute name: continuable: boolean;
Old version information: |Class name: MissionInfo;
Method or attribute name: continuable: boolean;
New version information: boolean|MissionInfo.d.ts| +|Type changed|Class name: MissionParameter;
Method or attribute name: deviceId: string;
Old version information: |Class name: MissionParameter;
Method or attribute name: deviceId: string;
New version information: string|MissionParameter.d.ts| +|Type changed|Class name: MissionParameter;
Method or attribute name: fixConflict: boolean;
Old version information: |Class name: MissionParameter;
Method or attribute name: fixConflict: boolean;
New version information: boolean|MissionParameter.d.ts| +|Type changed|Class name: MissionParameter;
Method or attribute name: tag: number;
Old version information: |Class name: MissionParameter;
Method or attribute name: tag: number;
New version information: number|MissionParameter.d.ts| +|Type changed|Class name: MissionSnapshot;
Method or attribute name: ability: ElementName;
Old version information: |Class name: MissionSnapshot;
Method or attribute name: ability: ElementName;
New version information: ElementName|MissionSnapshot.d.ts| +|Type changed|Class name: MissionSnapshot;
Method or attribute name: snapshot: image.PixelMap;
Old version information: |Class name: MissionSnapshot;
Method or attribute name: snapshot: image.PixelMap;
New version information: image.PixelMap|MissionSnapshot.d.ts| +|Type changed|Class name: ProcessData;
Method or attribute name: bundleName: string;
Old version information: |Class name: ProcessData;
Method or attribute name: bundleName: string;
New version information: string|ProcessData.d.ts| +|Type changed|Class name: ProcessData;
Method or attribute name: pid: number;
Old version information: |Class name: ProcessData;
Method or attribute name: pid: number;
New version information: number|ProcessData.d.ts| +|Type changed|Class name: ProcessData;
Method or attribute name: uid: number;
Old version information: |Class name: ProcessData;
Method or attribute name: uid: number;
New version information: number|ProcessData.d.ts| +|Type changed|Class name: ProcessData;
Method or attribute name: state: number;
Old version information: |Class name: ProcessData;
Method or attribute name: state: number;
New version information: number|ProcessData.d.ts| +|Type changed|Class name: ProcessData;
Method or attribute name: isContinuousTask: boolean;
Old version information: |Class name: ProcessData;
Method or attribute name: isContinuousTask: boolean;
New version information: boolean|ProcessData.d.ts| +|Type changed|Class name: ProcessData;
Method or attribute name: isKeepAlive: boolean;
Old version information: |Class name: ProcessData;
Method or attribute name: isKeepAlive: boolean;
New version information: boolean|ProcessData.d.ts| +|Type changed|Class name: ProcessInformation;
Method or attribute name: pid: number;
Old version information: |Class name: ProcessInformation;
Method or attribute name: pid: number;
New version information: number|ProcessInformation.d.ts| +|Type changed|Class name: ProcessInformation;
Method or attribute name: uid: number;
Old version information: |Class name: ProcessInformation;
Method or attribute name: uid: number;
New version information: number|ProcessInformation.d.ts| +|Type changed|Class name: ProcessInformation;
Method or attribute name: processName: string;
Old version information: |Class name: ProcessInformation;
Method or attribute name: processName: string;
New version information: string|ProcessInformation.d.ts| +|Type changed|Class name: ProcessInformation;
Method or attribute name: bundleNames: Array\;
Old version information: |Class name: ProcessInformation;
Method or attribute name: bundleNames: Array\;
New version information: Array\|ProcessInformation.d.ts| +|Type changed|Class name: ProcessRunningInfo;
Method or attribute name: pid: number;
Old version information: |Class name: ProcessRunningInfo;
Method or attribute name: pid: number;
New version information: number|ProcessRunningInfo.d.ts| +|Type changed|Class name: ProcessRunningInfo;
Method or attribute name: uid: number;
Old version information: |Class name: ProcessRunningInfo;
Method or attribute name: uid: number;
New version information: number|ProcessRunningInfo.d.ts| +|Type changed|Class name: ProcessRunningInfo;
Method or attribute name: processName: string;
Old version information: |Class name: ProcessRunningInfo;
Method or attribute name: processName: string;
New version information: string|ProcessRunningInfo.d.ts| +|Type changed|Class name: ProcessRunningInfo;
Method or attribute name: bundleNames: Array\;
Old version information: |Class name: ProcessRunningInfo;
Method or attribute name: bundleNames: Array\;
New version information: Array\|ProcessRunningInfo.d.ts| +|Type changed|Class name: ShellCmdResult;
Method or attribute name: stdResult: string;
Old version information: |Class name: ShellCmdResult;
Method or attribute name: stdResult: string;
New version information: string|shellCmdResult.d.ts| +|Type changed|Class name: ShellCmdResult;
Method or attribute name: exitCode: number;
Old version information: |Class name: ShellCmdResult;
Method or attribute name: exitCode: number;
New version information: number|shellCmdResult.d.ts| +|Type changed|Class name: ContinuationExtraParams;
Method or attribute name: deviceType?: Array\;
Old version information: |Class name: ContinuationExtraParams;
Method or attribute name: deviceType?: Array\;
New version information: ?Array\|continuationExtraParams.d.ts| +|Type changed|Class name: ContinuationExtraParams;
Method or attribute name: targetBundle?: string;
Old version information: |Class name: ContinuationExtraParams;
Method or attribute name: targetBundle?: string;
New version information: ?string|continuationExtraParams.d.ts| +|Type changed|Class name: ContinuationExtraParams;
Method or attribute name: description?: string;
Old version information: |Class name: ContinuationExtraParams;
Method or attribute name: description?: string;
New version information: ?string|continuationExtraParams.d.ts| +|Type changed|Class name: ContinuationExtraParams;
Method or attribute name: filter?: any;
Old version information: |Class name: ContinuationExtraParams;
Method or attribute name: filter?: any;
New version information: ?any|continuationExtraParams.d.ts| +|Type changed|Class name: ContinuationExtraParams;
Method or attribute name: continuationMode?: continuationManager.ContinuationMode;
Old version information: |Class name: ContinuationExtraParams;
Method or attribute name: continuationMode?: continuationManager.ContinuationMode;
New version information: ?continuationManager.ContinuationMode|continuationExtraParams.d.ts| +|Type changed|Class name: ContinuationExtraParams;
Method or attribute name: authInfo?: { [key: string]: any };
Old version information: |Class name: ContinuationExtraParams;
Method or attribute name: authInfo?: { [key: string]: any };
New version information: ?object|continuationExtraParams.d.ts| +|Type changed|Class name: ContinuationResult;
Method or attribute name: id: string;
Old version information: |Class name: ContinuationResult;
Method or attribute name: id: string;
New version information: string|continuationResult.d.ts| +|Type changed|Class name: ContinuationResult;
Method or attribute name: type: string;
Old version information: |Class name: ContinuationResult;
Method or attribute name: type: string;
New version information: string|continuationResult.d.ts| +|Type changed|Class name: ContinuationResult;
Method or attribute name: name: string;
Old version information: |Class name: ContinuationResult;
Method or attribute name: name: string;
New version information: string|continuationResult.d.ts| +|Type changed|Class name: TriggerInfo;
Method or attribute name: code: number;
Old version information: |Class name: TriggerInfo;
Method or attribute name: code: number;
New version information: number|triggerInfo.d.ts| +|Type changed|Class name: TriggerInfo;
Method or attribute name: want?: Want;
Old version information: |Class name: TriggerInfo;
Method or attribute name: want?: Want;
New version information: ?Want|triggerInfo.d.ts| +|Type changed|Class name: TriggerInfo;
Method or attribute name: permission?: string;
Old version information: |Class name: TriggerInfo;
Method or attribute name: permission?: string;
New version information: ?string|triggerInfo.d.ts| +|Type changed|Class name: TriggerInfo;
Method or attribute name: extraInfo?: { [key: string]: any };
Old version information: |Class name: TriggerInfo;
Method or attribute name: extraInfo?: { [key: string]: any };
New version information: ?object|triggerInfo.d.ts| +|Type changed|Class name: WantAgentInfo;
Method or attribute name: wants: Array\;
Old version information: |Class name: WantAgentInfo;
Method or attribute name: wants: Array\;
New version information: Array\|wantAgentInfo.d.ts| +|Type changed|Class name: WantAgentInfo;
Method or attribute name: operationType: wantAgent.OperationType;
Old version information: |Class name: WantAgentInfo;
Method or attribute name: operationType: wantAgent.OperationType;
New version information: wantAgent.OperationType|wantAgentInfo.d.ts| +|Type changed|Class name: WantAgentInfo;
Method or attribute name: requestCode: number;
Old version information: |Class name: WantAgentInfo;
Method or attribute name: requestCode: number;
New version information: number|wantAgentInfo.d.ts| +|Type changed|Class name: WantAgentInfo;
Method or attribute name: wantAgentFlags?: Array\;
Old version information: |Class name: WantAgentInfo;
Method or attribute name: wantAgentFlags?: Array\;
New version information: ?Array\|wantAgentInfo.d.ts| +|Type changed|Class name: WantAgentInfo;
Method or attribute name: extraInfo?: { [key: string]: any };
Old version information: |Class name: WantAgentInfo;
Method or attribute name: extraInfo?: { [key: string]: any };
New version information: ?object|wantAgentInfo.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-account.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-account.md new file mode 100644 index 0000000000000000000000000000000000000000..da4f51da7eacf71128179e4c6ed2ee1615a987a1 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-account.md @@ -0,0 +1,17 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: AuthorizationExtensionAbility;
Method or attribute name: onStartAuthorization(request: AuthorizationRequest, callback: AuthorizationCallback): void;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts| +|Added|NA|Class name: AuthorizationRequest;
Method or attribute name: readonly callerUid: number;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts| +|Added|NA|Class name: AuthorizationRequest;
Method or attribute name: readonly parameters: appAccount.AccountCapabilityRequest;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts| +|Added|NA|Class name: AuthorizationCallback;
Method or attribute name: onResult: AsyncCallback\;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts| +|Added|NA|Class name: AccountCapabilityType;
Method or attribute name: AUTHORIZATION = 1|@ohos.account.appAccount.d.ts| +|Added|NA|Class name: AccountCapabilityProvider;
Method or attribute name: readonly capabilityType: AccountCapabilityType;|@ohos.account.appAccount.d.ts| +|Added|NA|Class name: AccountCapabilityProvider;
Method or attribute name: constructor(capabilityType: AccountCapabilityType);|@ohos.account.appAccount.d.ts| +|Added|NA|Class name: AuthorizationProvider;
Method or attribute name: constructor(info: AuthorizationProviderInfo);|@ohos.account.appAccount.d.ts| +|Added|NA|Class name: AuthorizationProviderInfo;
Method or attribute name: readonly bundleName: string;|@ohos.account.appAccount.d.ts| +|Added|NA|Class name: AuthorizationProviderInfo;
Method or attribute name: readonly abilityName: string;|@ohos.account.appAccount.d.ts| +|Added|NA|Class name: AccountCapabilityRequest;
Method or attribute name: constructor(provider: AccountCapabilityProvider);|@ohos.account.appAccount.d.ts| +|Added|NA|Class name: AccountCapabilityResponse;
Method or attribute name: readonly request: AccountCapabilityRequest;|@ohos.account.appAccount.d.ts| +|Added|NA|Class name: AccountCapabilityResponse;
Method or attribute name: constructor(request: AccountCapabilityRequest);|@ohos.account.appAccount.d.ts| +|Added|NA|Class name: AccountCapabilityScheduler;
Method or attribute name: executeRequest(
request: AccountCapabilityRequest,
callback: AsyncCallback\
): void;|@ohos.account.appAccount.d.ts| +|Added|NA|Class name: AccountCapabilityScheduler;
Method or attribute name: executeRequest(request: AccountCapabilityRequest): Promise\;|@ohos.account.appAccount.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-ai.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-ai.md new file mode 100644 index 0000000000000000000000000000000000000000..4e1a4fc7971e09820e93c7f3e13e41b8e15dffb2 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-ai.md @@ -0,0 +1,52 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: mindSporeLite;
Method or attribute name: function loadModelFromFile(
model: string,
context?: Context): Promise\;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: mindSporeLite;
Method or attribute name: function loadModelFromFile(
model: string, callback: Callback\): void;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: mindSporeLite;
Method or attribute name: function loadModelFromFile(
model: string,
context: Context, callback: Callback\): void;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: mindSporeLite;
Method or attribute name: function loadModelFromBuffer(
model: ArrayBuffer,
context?: Context): Promise\;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: mindSporeLite;
Method or attribute name: function loadModelFromBuffer(
model: ArrayBuffer, callback: Callback\): void;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: mindSporeLite;
Method or attribute name: function loadModelFromBuffer(
model: ArrayBuffer,
context: Context, callback: Callback\): void;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: mindSporeLite;
Method or attribute name: function loadModelFromFd(
model: number,
context?: Context): Promise\;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: mindSporeLite;
Method or attribute name: function loadModelFromFd(
model: number, callback: Callback\): void;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: mindSporeLite;
Method or attribute name: function loadModelFromFd(
model: number,
context: Context, callback: Callback\): void;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Model;
Method or attribute name: getInputs(): MSTensor[];|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Model;
Method or attribute name: predict(inputs: MSTensor[], callback: Callback\): void;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Model;
Method or attribute name: predict(inputs: MSTensor[]): Promise\;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Model;
Method or attribute name: resize(inputs: MSTensor[], dims: Array\>): boolean;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Context;
Method or attribute name: target?: string[];|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Context;
Method or attribute name: cpu?: CpuDevice;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Context;
Method or attribute name: nnrt?: NNRTDevice;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: CpuDevice;
Method or attribute name: threadNum?: number;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: CpuDevice;
Method or attribute name: threadAffinityMode?: ThreadAffinityMode;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: CpuDevice;
Method or attribute name: threadAffinityCoreList?: number[];|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: CpuDevice;
Method or attribute name: precisionMode?: string;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: ThreadAffinityMode;
Method or attribute name: NO_AFFINITIES = 0|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: ThreadAffinityMode;
Method or attribute name: BIG_CORES_FIRST = 1|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: ThreadAffinityMode;
Method or attribute name: LITTLE_CORES_FIRST = 2|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: MSTensor;
Method or attribute name: name: string;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: MSTensor;
Method or attribute name: shape: number[];|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: MSTensor;
Method or attribute name: elementNum: number;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: MSTensor;
Method or attribute name: dataSize: number;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: MSTensor;
Method or attribute name: dtype: DataType;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: MSTensor;
Method or attribute name: format: Format;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: MSTensor;
Method or attribute name: getData(): ArrayBuffer;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: MSTensor;
Method or attribute name: setData(inputArray: ArrayBuffer): void;|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: TYPE_UNKNOWN = 0|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_INT8 = 32|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_INT16 = 33|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_INT32 = 34|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_INT64 = 35|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_UINT8 = 37|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_UINT16 = 38|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_UINT32 = 39|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_UINT64 = 40|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_FLOAT16 = 42|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_FLOAT32 = 43|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: DataType;
Method or attribute name: NUMBER_TYPE_FLOAT64 = 44|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Format;
Method or attribute name: DEFAULT_FORMAT = -1|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Format;
Method or attribute name: NCHW = 0|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Format;
Method or attribute name: NHWC = 1|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Format;
Method or attribute name: NHWC4 = 2|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Format;
Method or attribute name: HWKC = 3|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Format;
Method or attribute name: HWCK = 4|@ohos.ai.mindSporeLite.d.ts| +|Added|NA|Class name: Format;
Method or attribute name: KCHW = 5|@ohos.ai.mindSporeLite.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-application.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-application.md new file mode 100644 index 0000000000000000000000000000000000000000..38399ab164126bca0466e09df37232b7c698e3d3 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-application.md @@ -0,0 +1,19 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: settings;
Method or attribute name: function getValue(context: Context, name: string, callback: AsyncCallback\): void;|@ohos.settings.d.ts| +|Added|NA|Class name: settings;
Method or attribute name: function getValue(context: Context, name: string): Promise\;|@ohos.settings.d.ts| +|Added|NA|Class name: settings;
Method or attribute name: function setValue(context: Context, name: string, value: string, callback: AsyncCallback\): void;|@ohos.settings.d.ts| +|Added|NA|Class name: settings;
Method or attribute name: function setValue(context: Context, name: string, value: string): Promise\;|@ohos.settings.d.ts| +|Added|NA|Class name: settings;
Method or attribute name: function getValueSync(context: Context, name: string, defValue: string): string;|@ohos.settings.d.ts| +|Added|NA|Class name: settings;
Method or attribute name: function setValueSync(context: Context, name: string, value: string): boolean;|@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings;
Method or attribute name: function getURI(name: string): Promise\;
Old version information: |Class name: settings;
Method or attribute name: function getURI(name: string): Promise\;
New version information: 9
Substitute API: |@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\;
Old version information: |Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\;
New version information: 9
Substitute API: ohos.settings#getValue|@ohos.settings.d.ts| +|Deprecated version changed|Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\;
Old version information: |Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\;
New version information: 9
Substitute API: ohos.settings#setValue|@ohos.settings.d.ts| +|Error code added|Class name: call;
Method or attribute name: function makeCall(phoneNumber: string): Promise\;
Old version information: |Class name: call;
Method or attribute name: function makeCall(phoneNumber: string): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Access level changed|Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\;
Old version information: |Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\;
New version information: systemapi|@ohos.settings.d.ts| +|Model changed|Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\): void;
Old version information: FAModelOnly|Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\): void;
New version information: famodelonly|@ohos.settings.d.ts| +|Model changed|Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\;
Old version information: |Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\;
New version information: famodelonly|@ohos.settings.d.ts| +|Model changed|Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback\): void;
Old version information: FAModelOnly|Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback\): void;
New version information: famodelonly|@ohos.settings.d.ts| +|Model changed|Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\;
Old version information: |Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\;
New version information: famodelonly|@ohos.settings.d.ts| +|Model changed|Class name: settings;
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
Old version information: FAModelOnly|Class name: settings;
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
New version information: famodelonly|@ohos.settings.d.ts| +|Model changed|Class name: settings;
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Old version information: FAModelOnly|Class name: settings;
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
New version information: famodelonly|@ohos.settings.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-arkui.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-arkui.md new file mode 100644 index 0000000000000000000000000000000000000000..f2199d144acc7a602adb667f92a3dde4bc1955c2 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-arkui.md @@ -0,0 +1,833 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: NamedRouterOptions;
Method or attribute name: params?: Object;|@ohos.router.d.ts| +|Added|NA|Class name: dragController;
Method or attribute name: function executeDrag(custom: CustomBuilder \| DragItemInfo, dragInfo: DragInfo, callback: AsyncCallback\<{
event: DragEvent, extraParams: string
}>): void;|@ohos.arkui.dragController.d.ts| +|Added|NA|Class name: dragController;
Method or attribute name: function executeDrag(custom: CustomBuilder \| DragItemInfo, dragInfo: DragInfo): Promise\<{
event: DragEvent, extraParams: string
}>;|@ohos.arkui.dragController.d.ts| +|Added|NA|Class name: DragInfo;
Method or attribute name: pointerId: number;|@ohos.arkui.dragController.d.ts| +|Added|NA|Class name: DragInfo;
Method or attribute name: data?: UDMF.UnifiedData;|@ohos.arkui.dragController.d.ts| +|Added|NA|Class name: DragInfo;
Method or attribute name: extraParams?: string;|@ohos.arkui.dragController.d.ts| +|Added|NA|Class name: LayeredDrawableDescriptor;
Method or attribute name: static getMaskClipPath(): string;|@ohos.arkui.drawableDescriptor.d.ts| +|Added|NA|Class name: inspector;
Method or attribute name: function createComponentObserver(id: string): ComponentObserver;|@ohos.arkui.inspector.d.ts| +|Added|NA|Class name: ComponentObserver;
Method or attribute name: on(type: 'layout', callback: () => void): void;|@ohos.arkui.inspector.d.ts| +|Added|NA|Class name: ComponentObserver;
Method or attribute name: on(type: 'draw', callback: () => void): void;|@ohos.arkui.inspector.d.ts| +|Added|NA|Class name: ComponentObserver;
Method or attribute name: off(type: 'layout', callback?: () => void): void;|@ohos.arkui.inspector.d.ts| +|Added|NA|Class name: ComponentObserver;
Method or attribute name: off(type: 'draw', callback?: () => void): void;|@ohos.arkui.inspector.d.ts| +|Added|NA|Class name: performanceMonitor;
Method or attribute name: function begin(scene: string, startInputType: ActionType, note?: string): void;|@ohos.arkui.performanceMonitor.d.ts| +|Added|NA|Class name: performanceMonitor;
Method or attribute name: function end(scene: string): void;|@ohos.arkui.performanceMonitor.d.ts| +|Added|NA|Class name: ActionType;
Method or attribute name: LAST_DOWN = 0|@ohos.arkui.performanceMonitor.d.ts| +|Added|NA|Class name: ActionType;
Method or attribute name: LAST_UP = 1|@ohos.arkui.performanceMonitor.d.ts| +|Added|NA|Class name: ActionType;
Method or attribute name: FIRST_MOVE = 2|@ohos.arkui.performanceMonitor.d.ts| +|Added|NA|Class name: Font;
Method or attribute name: registerFont(options: font.FontOptions): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Font;
Method or attribute name: getSystemFontList(): Array\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Font;
Method or attribute name: getFontByName(fontName: string): font.FontInfo;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: MediaQuery;
Method or attribute name: matchMediaSync(condition: string): mediaQuery.MediaQueryListener;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIInspector;
Method or attribute name: createComponentObserver(id: string): inspector.ComponentObserver;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: pushUrl(options: router.RouterOptions, callback: AsyncCallback\): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: pushUrl(options: router.RouterOptions): Promise\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: pushUrl(options: router.RouterOptions, mode: router.RouterMode, callback: AsyncCallback\): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: pushUrl(options: router.RouterOptions, mode: router.RouterMode): Promise\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: replaceUrl(options: router.RouterOptions, callback: AsyncCallback\): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: replaceUrl(options: router.RouterOptions): Promise\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: replaceUrl(options: router.RouterOptions, mode: router.RouterMode, callback: AsyncCallback\): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: replaceUrl(options: router.RouterOptions, mode: router.RouterMode): Promise\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: back(options: router.RouterOptions): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: clear(): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: getLength(): string;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: getState(): router.RouterState;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: showAlertBeforeBackPage(options: router.EnableAlertOptions): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: hideAlertBeforeBackPage(): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: getParams(): Object;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: pushNamedRoute(options: router.NamedRouterOptions, callback: AsyncCallback\): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: pushNamedRoute(options: router.NamedRouterOptions): Promise\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: pushNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode, callback: AsyncCallback\): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: pushNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode): Promise\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: replaceNamedRoute(options: router.NamedRouterOptions, callback: AsyncCallback\): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: replaceNamedRoute(options: router.NamedRouterOptions): Promise\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: replaceNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode, callback: AsyncCallback\): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: Router;
Method or attribute name: replaceNamedRoute(options: router.NamedRouterOptions, mode: router.RouterMode): Promise\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: PromptAction;
Method or attribute name: showToast(options: promptAction.ShowToastOptions): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: PromptAction;
Method or attribute name: showDialog(options: promptAction.ShowDialogOptions, callback: AsyncCallback\): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: PromptAction;
Method or attribute name: showDialog(options: promptAction.ShowDialogOptions): Promise\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: PromptAction;
Method or attribute name: showActionMenu(options: promptAction.ActionMenuOptions, callback: promptAction.ActionMenuSuccessResponse): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: PromptAction;
Method or attribute name: showActionMenu(options: promptAction.ActionMenuOptions): Promise\;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: ComponentUtils;
Method or attribute name: getRectangleById(id: string): componentUtils.ComponentInfo;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: getFont(): Font;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: getMediaQuery(): MediaQuery;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: getUIInspector(): UIInspector;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: getRouter(): Router;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: getPromptAction(): PromptAction;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: getComponentUtils(): ComponentUtils;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: createAnimator(options: AnimatorOptions): AnimatorResult;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: animateTo(value: AnimateParam, event: () => void): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: showAlertDialog(options: AlertDialogParamWithConfirm \| AlertDialogParamWithButtons): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: showActionSheet(value: ActionSheetOptions): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: showDatePickerDialog(options: DatePickerDialogOptions): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: showTimePickerDialog(options: TimePickerDialogOptions): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: showTextPickerDialog(options: TextPickerDialogOptions): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: UIContext;
Method or attribute name: runScopedTask(callback: () => void): void;|@ohos.arkui.UIContext.d.ts| +|Added|NA|Class name: componentUtils;
Method or attribute name: type Matrix4Result = [
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
];|@ohos.componentUtils.d.ts| +|Added|NA|Class name: componentUtils;
Method or attribute name: function getRectangleById(id: string): ComponentInfo;|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ComponentInfo;
Method or attribute name: size: Size|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ComponentInfo;
Method or attribute name: localOffset: Offset|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ComponentInfo;
Method or attribute name: windowOffset: Offset|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ComponentInfo;
Method or attribute name: screenOffset: Offset|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ComponentInfo;
Method or attribute name: translate: TranslateResult|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ComponentInfo;
Method or attribute name: scale: ScaleResult|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ComponentInfo;
Method or attribute name: rotate: RotateResult|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ComponentInfo;
Method or attribute name: transform: Matrix4Result|@ohos.componentUtils.d.ts| +|Added|NA|Class name: Size;
Method or attribute name: width: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: Size;
Method or attribute name: height: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: Offset;
Method or attribute name: x: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: TranslateResult;
Method or attribute name: x: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ScaleResult;
Method or attribute name: x: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: RotateResult;
Method or attribute name: x: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: Offset;
Method or attribute name: y: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: TranslateResult;
Method or attribute name: y: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ScaleResult;
Method or attribute name: y: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: RotateResult;
Method or attribute name: y: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: TranslateResult;
Method or attribute name: z: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ScaleResult;
Method or attribute name: z: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: RotateResult;
Method or attribute name: z: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ScaleResult;
Method or attribute name: centerX: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: RotateResult;
Method or attribute name: centerX: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: ScaleResult;
Method or attribute name: centerY: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: RotateResult;
Method or attribute name: centerY: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: RotateResult;
Method or attribute name: angle: number|@ohos.componentUtils.d.ts| +|Added|NA|Class name: curves;
Method or attribute name: function customCurve(interpolate: (fraction: number) => number): ICurve;|@ohos.curves.d.ts| +|Added|NA|Class name: font;
Method or attribute name: function getSystemFontList(): Array\;|@ohos.font.d.ts| +|Added|NA|Class name: font;
Method or attribute name: function getFontByName(fontName: string): FontInfo;|@ohos.font.d.ts| +|Added|NA|Class name: FontInfo;
Method or attribute name: path: string;|@ohos.font.d.ts| +|Added|NA|Class name: FontInfo;
Method or attribute name: postScriptName: string;|@ohos.font.d.ts| +|Added|NA|Class name: FontInfo;
Method or attribute name: fullName: string;|@ohos.font.d.ts| +|Added|NA|Class name: FontInfo;
Method or attribute name: family: string;|@ohos.font.d.ts| +|Added|NA|Class name: FontInfo;
Method or attribute name: subfamily: string;|@ohos.font.d.ts| +|Added|NA|Class name: FontInfo;
Method or attribute name: weight: number;|@ohos.font.d.ts| +|Added|NA|Class name: FontInfo;
Method or attribute name: width: number;|@ohos.font.d.ts| +|Added|NA|Class name: FontInfo;
Method or attribute name: italic: boolean;|@ohos.font.d.ts| +|Added|NA|Class name: FontInfo;
Method or attribute name: monoSpace: boolean;|@ohos.font.d.ts| +|Added|NA|Class name: FontInfo;
Method or attribute name: symbolic: boolean;|@ohos.font.d.ts| +|Added|NA|Class name: router;
Method or attribute name: function pushNamedRoute(options: NamedRouterOptions, callback: AsyncCallback\): void;|@ohos.router.d.ts| +|Added|NA|Class name: router;
Method or attribute name: function pushNamedRoute(options: NamedRouterOptions): Promise\;|@ohos.router.d.ts| +|Added|NA|Class name: router;
Method or attribute name: function pushNamedRoute(options: NamedRouterOptions, mode: RouterMode, callback: AsyncCallback\): void;|@ohos.router.d.ts| +|Added|NA|Class name: router;
Method or attribute name: function pushNamedRoute(options: NamedRouterOptions, mode: RouterMode): Promise\;|@ohos.router.d.ts| +|Added|NA|Class name: router;
Method or attribute name: function replaceNamedRoute(options: NamedRouterOptions, callback: AsyncCallback\): void;|@ohos.router.d.ts| +|Added|NA|Class name: router;
Method or attribute name: function replaceNamedRoute(options: NamedRouterOptions): Promise\;|@ohos.router.d.ts| +|Added|NA|Class name: router;
Method or attribute name: function replaceNamedRoute(options: NamedRouterOptions, mode: RouterMode, callback: AsyncCallback\): void;|@ohos.router.d.ts| +|Added|NA|Class name: router;
Method or attribute name: function replaceNamedRoute(options: NamedRouterOptions, mode: RouterMode): Promise\;|@ohos.router.d.ts| +|Added|NA|Class name: NamedRouterOptions;
Method or attribute name: name: string;|@ohos.router.d.ts| +|Deprecated version changed|Class name: matrix4;
Method or attribute name: function copy(): Matrix4Transit;
Old version information: |Class name: matrix4;
Method or attribute name: function copy(): Matrix4Transit;
New version information: 10
Substitute API: |@ohos.matrix4.d.ts| +|Deprecated version changed|Class name: matrix4;
Method or attribute name: function invert(): Matrix4Transit;
Old version information: |Class name: matrix4;
Method or attribute name: function invert(): Matrix4Transit;
New version information: 10
Substitute API: |@ohos.matrix4.d.ts| +|Deprecated version changed|Class name: matrix4;
Method or attribute name: function combine(options: Matrix4Transit): Matrix4Transit;
Old version information: |Class name: matrix4;
Method or attribute name: function combine(options: Matrix4Transit): Matrix4Transit;
New version information: 10
Substitute API: |@ohos.matrix4.d.ts| +|Deprecated version changed|Class name: matrix4;
Method or attribute name: function translate(options: TranslateOption): Matrix4Transit;
Old version information: |Class name: matrix4;
Method or attribute name: function translate(options: TranslateOption): Matrix4Transit;
New version information: 10
Substitute API: |@ohos.matrix4.d.ts| +|Deprecated version changed|Class name: matrix4;
Method or attribute name: function scale(options: ScaleOption): Matrix4Transit;
Old version information: |Class name: matrix4;
Method or attribute name: function scale(options: ScaleOption): Matrix4Transit;
New version information: 10
Substitute API: |@ohos.matrix4.d.ts| +|Deprecated version changed|Class name: matrix4;
Method or attribute name: function rotate(options: RotateOption): Matrix4Transit;
Old version information: |Class name: matrix4;
Method or attribute name: function rotate(options: RotateOption): Matrix4Transit;
New version information: 10
Substitute API: |@ohos.matrix4.d.ts| +|Deprecated version changed|Class name: matrix4;
Method or attribute name: function transformPoint(options: [number, number]): [number, number];
Old version information: |Class name: matrix4;
Method or attribute name: function transformPoint(options: [number, number]): [number, number];
New version information: 10
Substitute API: |@ohos.matrix4.d.ts| +|Deprecated version changed|Class name: ClickEvent;
Method or attribute name: screenX: number;
Old version information: |Class name: ClickEvent;
Method or attribute name: screenX: number;
New version information: 10
Substitute API: ClickEvent#windowX|common.d.ts| +|Deprecated version changed|Class name: MouseEvent;
Method or attribute name: screenX: number;
Old version information: |Class name: MouseEvent;
Method or attribute name: screenX: number;
New version information: 10
Substitute API: MouseEvent#windowX|common.d.ts| +|Deprecated version changed|Class name: TouchObject;
Method or attribute name: screenX: number;
Old version information: |Class name: TouchObject;
Method or attribute name: screenX: number;
New version information: 10
Substitute API: TouchObject#windowX|common.d.ts| +|Deprecated version changed|Class name: ClickEvent;
Method or attribute name: screenY: number;
Old version information: |Class name: ClickEvent;
Method or attribute name: screenY: number;
New version information: 10
Substitute API: ClickEvent#windowY|common.d.ts| +|Deprecated version changed|Class name: MouseEvent;
Method or attribute name: screenY: number;
Old version information: |Class name: MouseEvent;
Method or attribute name: screenY: number;
New version information: 10
Substitute API: MouseEvent#windowY|common.d.ts| +|Deprecated version changed|Class name: TouchObject;
Method or attribute name: screenY: number;
Old version information: |Class name: TouchObject;
Method or attribute name: screenY: number;
New version information: 10
Substitute API: TouchObject#windowY|common.d.ts| +|Deprecated version changed|Class name: DragEvent;
Method or attribute name: getX(): number;
Old version information: |Class name: DragEvent;
Method or attribute name: getX(): number;
New version information: 10
Substitute API: DragEvent#getWindowX()|common.d.ts| +|Deprecated version changed|Class name: DragEvent;
Method or attribute name: getY(): number;
Old version information: |Class name: DragEvent;
Method or attribute name: getY(): number;
New version information: 10
Substitute API: DragEvent#getWindowY()|common.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static Link(propName: string): any;
Old version information: |Class name: AppStorage;
Method or attribute name: static Link(propName: string): any;
New version information: 10
Substitute API: AppStorage#link|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static SetAndLink\(propName: string, defaultValue: T): SubscribedAbstractProperty\;
Old version information: |Class name: AppStorage;
Method or attribute name: static SetAndLink\(propName: string, defaultValue: T): SubscribedAbstractProperty\;
New version information: 10
Substitute API: AppStorage#setAndLink|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static Prop(propName: string): any;
Old version information: |Class name: AppStorage;
Method or attribute name: static Prop(propName: string): any;
New version information: 10
Substitute API: AppStorage#prop|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static SetAndProp\(propName: string, defaultValue: S): SubscribedAbstractProperty\;
Old version information: |Class name: AppStorage;
Method or attribute name: static SetAndProp\(propName: string, defaultValue: S): SubscribedAbstractProperty\;
New version information: 10
Substitute API: AppStorage#setAndProp|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static Has(propName: string): boolean;
Old version information: |Class name: AppStorage;
Method or attribute name: static Has(propName: string): boolean;
New version information: 10
Substitute API: AppStorage#has|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static Get\(propName: string): T \| undefined;
Old version information: |Class name: AppStorage;
Method or attribute name: static Get\(propName: string): T \| undefined;
New version information: 10
Substitute API: AppStorage#get|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static Set\(propName: string, newValue: T): boolean;
Old version information: |Class name: AppStorage;
Method or attribute name: static Set\(propName: string, newValue: T): boolean;
New version information: 10
Substitute API: AppStorage#set|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static SetOrCreate\(propName: string, newValue: T): void;
Old version information: |Class name: AppStorage;
Method or attribute name: static SetOrCreate\(propName: string, newValue: T): void;
New version information: 10
Substitute API: AppStorage#setOrCreate|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static Delete(propName: string): boolean;
Old version information: |Class name: AppStorage;
Method or attribute name: static Delete(propName: string): boolean;
New version information: 10
Substitute API: AppStorage#delete|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static Keys(): IterableIterator\;
Old version information: |Class name: AppStorage;
Method or attribute name: static Keys(): IterableIterator\;
New version information: 10
Substitute API: AppStorage#keys|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static Clear(): boolean;
Old version information: |Class name: AppStorage;
Method or attribute name: static Clear(): boolean;
New version information: 10
Substitute API: AppStorage#clear|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static IsMutable(propName: string): boolean;
Old version information: |Class name: AppStorage;
Method or attribute name: static IsMutable(propName: string): boolean;
New version information: 10
Substitute API: |common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: AppStorage;
Method or attribute name: static Size(): number;
Old version information: |Class name: AppStorage;
Method or attribute name: static Size(): number;
New version information: 10
Substitute API: AppStorage#size|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: Environment;
Method or attribute name: static EnvProp\(key: string, value: S): boolean;
Old version information: |Class name: Environment;
Method or attribute name: static EnvProp\(key: string, value: S): boolean;
New version information: 10
Substitute API: Environment#envProp|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: Environment;
Method or attribute name: static EnvProps(
props: {
key: string;
defaultValue: any;
}[],
): void;
Old version information: |Class name: Environment;
Method or attribute name: static EnvProps(
props: {
key: string;
defaultValue: any;
}[],
): void;
New version information: 10
Substitute API: Environment#envProps|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: Environment;
Method or attribute name: static Keys(): Array\;
Old version information: |Class name: Environment;
Method or attribute name: static Keys(): Array\;
New version information: 10
Substitute API: Environment#keys|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: PersistentStorage;
Method or attribute name: static Keys(): Array\;
Old version information: |Class name: PersistentStorage;
Method or attribute name: static Keys(): Array\;
New version information: 10
Substitute API: PersistentStorage#keys|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: PersistentStorage;
Method or attribute name: static PersistProp\(key: string, defaultValue: T): void;
Old version information: |Class name: PersistentStorage;
Method or attribute name: static PersistProp\(key: string, defaultValue: T): void;
New version information: 10
Substitute API: PersistentStorage#persistProp|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: PersistentStorage;
Method or attribute name: static DeleteProp(key: string): void;
Old version information: |Class name: PersistentStorage;
Method or attribute name: static DeleteProp(key: string): void;
New version information: 10
Substitute API: PersistentStorage#deleteProp|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: PersistentStorage;
Method or attribute name: static PersistProps(
properties: {
key: string;
defaultValue: any;
}[],
): void;
Old version information: |Class name: PersistentStorage;
Method or attribute name: static PersistProps(
properties: {
key: string;
defaultValue: any;
}[],
): void;
New version information: 10
Substitute API: PersistentStorage#PersistProps|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: LocalStorage;
Method or attribute name: static GetShared(): LocalStorage;
Old version information: |Class name: LocalStorage;
Method or attribute name: static GetShared(): LocalStorage;
New version information: 10
Substitute API: LocalStorage#getShared|common_ts_ets_api.d.ts| +|Deprecated version changed|Class name: ListItemInterface;
Method or attribute name: (value?: string): ListItemAttribute;
Old version information: |Class name: ListItemInterface;
Method or attribute name: (value?: string): ListItemAttribute;
New version information: 10
Substitute API: listItem/ListItemInterface|list_item.d.ts| +|Deprecated version changed|Class name: NavigationAttribute;
Method or attribute name: toolBar(value: object \| CustomBuilder): NavigationAttribute;
Old version information: |Class name: NavigationAttribute;
Method or attribute name: toolBar(value: object \| CustomBuilder): NavigationAttribute;
New version information: 10
Substitute API: navigation/NavigationAttribute#toolbarConfiguration|navigation.d.ts| +|Deprecated version changed|Class name: WebAttribute;
Method or attribute name: password(password: boolean): WebAttribute;
Old version information: |Class name: WebAttribute;
Method or attribute name: password(password: boolean): WebAttribute;
New version information: 10
Substitute API: |web.d.ts| +|Deprecated version changed|Class name: WebAttribute;
Method or attribute name: tableData(tableData: boolean): WebAttribute;
Old version information: |Class name: WebAttribute;
Method or attribute name: tableData(tableData: boolean): WebAttribute;
New version information: 10
Substitute API: |web.d.ts| +|Deprecated version changed|Class name: WebAttribute;
Method or attribute name: wideViewModeAccess(wideViewModeAccess: boolean): WebAttribute;
Old version information: |Class name: WebAttribute;
Method or attribute name: wideViewModeAccess(wideViewModeAccess: boolean): WebAttribute;
New version information: 10
Substitute API: |web.d.ts| +|Access level changed|Class name: uiAppearance;
Method or attribute name: declare uiAppearance
Old version information: |Class name: uiAppearance;
Method or attribute name: declare uiAppearance
New version information: systemapi|@ohos.uiAppearance.d.ts| +|Access level changed|Class name: DarkMode;
Method or attribute name: enum DarkMode
Old version information: |Class name: DarkMode;
Method or attribute name: enum DarkMode
New version information: systemapi|@ohos.uiAppearance.d.ts| +|Access level changed|Class name: DarkMode;
Method or attribute name: ALWAYS_DARK = 0
Old version information: |Class name: DarkMode;
Method or attribute name: ALWAYS_DARK = 0
New version information: systemapi|@ohos.uiAppearance.d.ts| +|Access level changed|Class name: DarkMode;
Method or attribute name: ALWAYS_LIGHT = 1
Old version information: |Class name: DarkMode;
Method or attribute name: ALWAYS_LIGHT = 1
New version information: systemapi|@ohos.uiAppearance.d.ts| +|Access level changed|Class name: CommonMethod;
Method or attribute name: sphericalEffect(value: number): T;
Old version information: |Class name: CommonMethod;
Method or attribute name: sphericalEffect(value: number): T;
New version information: systemapi|common.d.ts| +|Access level changed|Class name: CommonMethod;
Method or attribute name: lightUpEffect(value: number): T;
Old version information: |Class name: CommonMethod;
Method or attribute name: lightUpEffect(value: number): T;
New version information: systemapi|common.d.ts| +|Access level changed|Class name: CommonMethod;
Method or attribute name: pixelStretchEffect(options: PixelStretchEffectOptions): T;
Old version information: |Class name: CommonMethod;
Method or attribute name: pixelStretchEffect(options: PixelStretchEffectOptions): T;
New version information: systemapi|common.d.ts| +|Access level changed|Class name: ChainEdgeEffect;
Method or attribute name: DEFAULT
Old version information: |Class name: ChainEdgeEffect;
Method or attribute name: DEFAULT
New version information: systemapi|list.d.ts| +|Access level changed|Class name: ChainEdgeEffect;
Method or attribute name: STRETCH
Old version information: |Class name: ChainEdgeEffect;
Method or attribute name: STRETCH
New version information: systemapi|list.d.ts| +|Access level changed|Class name: ChainAnimationOptions;
Method or attribute name: minSpace: Length;
Old version information: |Class name: ChainAnimationOptions;
Method or attribute name: minSpace: Length;
New version information: systemapi|list.d.ts| +|Access level changed|Class name: ChainAnimationOptions;
Method or attribute name: maxSpace: Length;
Old version information: |Class name: ChainAnimationOptions;
Method or attribute name: maxSpace: Length;
New version information: systemapi|list.d.ts| +|Access level changed|Class name: ChainAnimationOptions;
Method or attribute name: conductivity?: number;
Old version information: |Class name: ChainAnimationOptions;
Method or attribute name: conductivity?: number;
New version information: systemapi|list.d.ts| +|Access level changed|Class name: ChainAnimationOptions;
Method or attribute name: intensity?: number;
Old version information: |Class name: ChainAnimationOptions;
Method or attribute name: intensity?: number;
New version information: systemapi|list.d.ts| +|Access level changed|Class name: ChainAnimationOptions;
Method or attribute name: edgeEffect?: ChainEdgeEffect;
Old version information: |Class name: ChainAnimationOptions;
Method or attribute name: edgeEffect?: ChainEdgeEffect;
New version information: systemapi|list.d.ts| +|Access level changed|Class name: RRect;
Method or attribute name: left: number;
Old version information: |Class name: RRect;
Method or attribute name: left: number;
New version information: systemapi|remote_window.d.ts| +|Access level changed|Class name: RRect;
Method or attribute name: top: number;
Old version information: |Class name: RRect;
Method or attribute name: top: number;
New version information: systemapi|remote_window.d.ts| +|Access level changed|Class name: RRect;
Method or attribute name: width: number;
Old version information: |Class name: RRect;
Method or attribute name: width: number;
New version information: systemapi|remote_window.d.ts| +|Access level changed|Class name: RRect;
Method or attribute name: height: number;
Old version information: |Class name: RRect;
Method or attribute name: height: number;
New version information: systemapi|remote_window.d.ts| +|Access level changed|Class name: RRect;
Method or attribute name: radius: number;
Old version information: |Class name: RRect;
Method or attribute name: radius: number;
New version information: systemapi|remote_window.d.ts| +|Access level changed|Class name: WindowAnimationTarget;
Method or attribute name: readonly bundleName: string;
Old version information: |Class name: WindowAnimationTarget;
Method or attribute name: readonly bundleName: string;
New version information: systemapi|remote_window.d.ts| +|Access level changed|Class name: WindowAnimationTarget;
Method or attribute name: readonly abilityName: string;
Old version information: |Class name: WindowAnimationTarget;
Method or attribute name: readonly abilityName: string;
New version information: systemapi|remote_window.d.ts| +|Access level changed|Class name: WindowAnimationTarget;
Method or attribute name: readonly windowBounds: RRect;
Old version information: |Class name: WindowAnimationTarget;
Method or attribute name: readonly windowBounds: RRect;
New version information: systemapi|remote_window.d.ts| +|Access level changed|Class name: WindowAnimationTarget;
Method or attribute name: readonly missionId: number;
Old version information: |Class name: WindowAnimationTarget;
Method or attribute name: readonly missionId: number;
New version information: systemapi|remote_window.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: scaleX?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: scaleX?: number;
New version information: number|canvaspattern.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: rotateY?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: rotateY?: number;
New version information: number|canvaspattern.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: rotateX?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: rotateX?: number;
New version information: number|canvaspattern.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: scaleY?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: scaleY?: number;
New version information: number|canvaspattern.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: translateX?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: translateX?: number;
New version information: number|canvaspattern.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: translateY?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: translateY?: number;
New version information: number|canvaspattern.d.ts| +|Type changed|Class name: FontOptions;
Method or attribute name: familyName: string \| Resource;
Old version information: |Class name: FontOptions;
Method or attribute name: familyName: string \| Resource;
New version information: string \| Resource|@ohos.font.d.ts| +|Type changed|Class name: FontOptions;
Method or attribute name: familySrc: string \| Resource;
Old version information: |Class name: FontOptions;
Method or attribute name: familySrc: string \| Resource;
New version information: string \| Resource|@ohos.font.d.ts| +|Type changed|Class name: TranslateOption;
Method or attribute name: x?: number;
Old version information: |Class name: TranslateOption;
Method or attribute name: x?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: ScaleOption;
Method or attribute name: x?: number;
Old version information: |Class name: ScaleOption;
Method or attribute name: x?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: RotateOption;
Method or attribute name: x?: number;
Old version information: |Class name: RotateOption;
Method or attribute name: x?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: TranslateOption;
Method or attribute name: y?: number;
Old version information: |Class name: TranslateOption;
Method or attribute name: y?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: ScaleOption;
Method or attribute name: y?: number;
Old version information: |Class name: ScaleOption;
Method or attribute name: y?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: RotateOption;
Method or attribute name: y?: number;
Old version information: |Class name: RotateOption;
Method or attribute name: y?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: TranslateOption;
Method or attribute name: z?: number;
Old version information: |Class name: TranslateOption;
Method or attribute name: z?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: ScaleOption;
Method or attribute name: z?: number;
Old version information: |Class name: ScaleOption;
Method or attribute name: z?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: RotateOption;
Method or attribute name: z?: number;
Old version information: |Class name: RotateOption;
Method or attribute name: z?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: ScaleOption;
Method or attribute name: centerX?: number;
Old version information: |Class name: ScaleOption;
Method or attribute name: centerX?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: RotateOption;
Method or attribute name: centerX?: number;
Old version information: |Class name: RotateOption;
Method or attribute name: centerX?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: ScaleOption;
Method or attribute name: centerY?: number;
Old version information: |Class name: ScaleOption;
Method or attribute name: centerY?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: RotateOption;
Method or attribute name: centerY?: number;
Old version information: |Class name: RotateOption;
Method or attribute name: centerY?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: RotateOption;
Method or attribute name: angle?: number;
Old version information: |Class name: RotateOption;
Method or attribute name: angle?: number;
New version information: ?number|@ohos.matrix4.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: textContent: string \| Resource;
Old version information: ( string \| Resource )|Class name: MeasureOptions;
Method or attribute name: textContent: string \| Resource;
New version information: string \| Resource|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: constraintWidth?: number \| string \| Resource;
Old version information: |Class name: MeasureOptions;
Method or attribute name: constraintWidth?: number \| string \| Resource;
New version information: ?(number \| string \| Resource)|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: fontSize?: number \| string \| Resource;
Old version information: |Class name: MeasureOptions;
Method or attribute name: fontSize?: number \| string \| Resource;
New version information: ?(number \| string \| Resource)|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: fontStyle?: number \| FontStyle;
Old version information: |Class name: MeasureOptions;
Method or attribute name: fontStyle?: number \| FontStyle;
New version information: ?(number \| FontStyle)|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: fontWeight?: number \| string \| FontWeight;
Old version information: |Class name: MeasureOptions;
Method or attribute name: fontWeight?: number \| string \| FontWeight;
New version information: ?(number \| string \| FontWeight)|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: fontFamily?: string \| Resource;
Old version information: |Class name: MeasureOptions;
Method or attribute name: fontFamily?: string \| Resource;
New version information: ?(number \| Resource)|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: letterSpacing?: number \| string;
Old version information: |Class name: MeasureOptions;
Method or attribute name: letterSpacing?: number \| string;
New version information: ?(number \| string)|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: textAlign?: number \| TextAlign;
Old version information: |Class name: MeasureOptions;
Method or attribute name: textAlign?: number \| TextAlign;
New version information: ?(number \| TextAlign)|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: overflow?: number \| TextOverflow;
Old version information: |Class name: MeasureOptions;
Method or attribute name: overflow?: number \| TextOverflow;
New version information: ?(number \| TextOverflow)|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: maxLines?: number;
Old version information: |Class name: MeasureOptions;
Method or attribute name: maxLines?: number;
New version information: ?number|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: lineHeight?: number \| string \| Resource;
Old version information: |Class name: MeasureOptions;
Method or attribute name: lineHeight?: number \| string \| Resource;
New version information: ?(number \| string \| Resource)|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: baselineOffset?: number \| string;
Old version information: |Class name: MeasureOptions;
Method or attribute name: baselineOffset?: number \| string;
New version information: ?(number \| string)|@ohos.measure.d.ts| +|Type changed|Class name: MeasureOptions;
Method or attribute name: textCase?: number \| TextCase;
Old version information: |Class name: MeasureOptions;
Method or attribute name: textCase?: number \| TextCase;
New version information: ?(number \| TextCase)|@ohos.measure.d.ts| +|Type changed|Class name: MediaQueryResult;
Method or attribute name: readonly matches: boolean;
Old version information: |Class name: MediaQueryResult;
Method or attribute name: readonly matches: boolean;
New version information: boolean|@ohos.mediaquery.d.ts| +|Type changed|Class name: MediaQueryResult;
Method or attribute name: readonly media: string;
Old version information: |Class name: MediaQueryResult;
Method or attribute name: readonly media: string;
New version information: string|@ohos.mediaquery.d.ts| +|Type changed|Class name: ShowToastOptions;
Method or attribute name: duration?: number;
Old version information: |Class name: ShowToastOptions;
Method or attribute name: duration?: number;
New version information: ?number|@ohos.prompt.d.ts| +|Type changed|Class name: ShowToastOptions;
Method or attribute name: bottom?: string \| number;
Old version information: |Class name: ShowToastOptions;
Method or attribute name: bottom?: string \| number;
New version information: ?(string \| number)|@ohos.prompt.d.ts| +|Type changed|Class name: ShowDialogOptions;
Method or attribute name: title?: string;
Old version information: string|Class name: ShowDialogOptions;
Method or attribute name: title?: string;
New version information: ?string|@ohos.prompt.d.ts| +|Type changed|Class name: ActionMenuOptions;
Method or attribute name: title?: string;
Old version information: string|Class name: ActionMenuOptions;
Method or attribute name: title?: string;
New version information: ?string|@ohos.prompt.d.ts| +|Type changed|Class name: ShowDialogOptions;
Method or attribute name: message?: string;
Old version information: string|Class name: ShowDialogOptions;
Method or attribute name: message?: string;
New version information: ?string|@ohos.prompt.d.ts| +|Type changed|Class name: ShowDialogOptions;
Method or attribute name: buttons?: [Button, Button?, Button?];
Old version information: |Class name: ShowDialogOptions;
Method or attribute name: buttons?: [Button, Button?, Button?];
New version information: ?([Button, Button?, Button?])|@ohos.prompt.d.ts| +|Type changed|Class name: ActionMenuSuccessResponse;
Method or attribute name: index: number;
Old version information: |Class name: ActionMenuSuccessResponse;
Method or attribute name: index: number;
New version information: number|@ohos.prompt.d.ts| +|Type changed|Class name: ActionMenuOptions;
Method or attribute name: buttons: [Button, Button?, Button?, Button?, Button?, Button?];
Old version information: |Class name: ActionMenuOptions;
Method or attribute name: buttons: [Button, Button?, Button?, Button?, Button?, Button?];
New version information: [Button, Button?, Button?, Button?, Button?, Button?]|@ohos.prompt.d.ts| +|Type changed|Class name: ShowToastOptions;
Method or attribute name: duration?: number;
Old version information: number|Class name: ShowToastOptions;
Method or attribute name: duration?: number;
New version information: ?number|@ohos.promptAction.d.ts| +|Type changed|Class name: ShowToastOptions;
Method or attribute name: bottom?: string \| number;
Old version information: string \| number|Class name: ShowToastOptions;
Method or attribute name: bottom?: string \| number;
New version information: ?string \| number|@ohos.promptAction.d.ts| +|Type changed|Class name: ShowDialogOptions;
Method or attribute name: title?: string \| Resource;
Old version information: string \| Resource|Class name: ShowDialogOptions;
Method or attribute name: title?: string \| Resource;
New version information: ?string \| Resource|@ohos.promptAction.d.ts| +|Type changed|Class name: ActionMenuOptions;
Method or attribute name: title?: string \| Resource;
Old version information: string \| Resource|Class name: ActionMenuOptions;
Method or attribute name: title?: string \| Resource;
New version information: ?string \| Resource|@ohos.promptAction.d.ts| +|Type changed|Class name: ShowDialogOptions;
Method or attribute name: message?: string \| Resource;
Old version information: string \| Resource|Class name: ShowDialogOptions;
Method or attribute name: message?: string \| Resource;
New version information: ?string \| Resource|@ohos.promptAction.d.ts| +|Type changed|Class name: RouterOptions;
Method or attribute name: params?: Object;
Old version information: Object|Class name: RouterOptions;
Method or attribute name: params?: Object;
New version information: ?Object|@ohos.router.d.ts| +|Type changed|Class name: AppResponse;
Method or attribute name: appID: string;
Old version information: |Class name: AppResponse;
Method or attribute name: appID: string;
New version information: string|@system.app.d.ts| +|Type changed|Class name: AppResponse;
Method or attribute name: appName: string;
Old version information: |Class name: AppResponse;
Method or attribute name: appName: string;
New version information: string|@system.app.d.ts| +|Type changed|Class name: AppResponse;
Method or attribute name: versionName: string;
Old version information: |Class name: AppResponse;
Method or attribute name: versionName: string;
New version information: string|@system.app.d.ts| +|Type changed|Class name: AppResponse;
Method or attribute name: versionCode: number;
Old version information: |Class name: AppResponse;
Method or attribute name: versionCode: number;
New version information: string|@system.app.d.ts| +|Type changed|Class name: ScreenOnVisibleOptions;
Method or attribute name: visible?: boolean;
Old version information: |Class name: ScreenOnVisibleOptions;
Method or attribute name: visible?: boolean;
New version information: ?string|@system.app.d.ts| +|Type changed|Class name: ScreenOnVisibleOptions;
Method or attribute name: success?: () => void;
Old version information: |Class name: ScreenOnVisibleOptions;
Method or attribute name: success?: () => void;
New version information: ?(() => void)|@system.app.d.ts| +|Type changed|Class name: ScreenOnVisibleOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: ScreenOnVisibleOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: ?((data: string, code: number) => void)|@system.app.d.ts| +|Type changed|Class name: ScreenOnVisibleOptions;
Method or attribute name: complete?: () => void;
Old version information: |Class name: ScreenOnVisibleOptions;
Method or attribute name: complete?: () => void;
New version information: ?(() => void)|@system.app.d.ts| +|Type changed|Class name: RequestFullWindowOptions;
Method or attribute name: duration: number;
Old version information: |Class name: RequestFullWindowOptions;
Method or attribute name: duration: number;
New version information: number|@system.app.d.ts| +|Type changed|Class name: LocaleResponse;
Method or attribute name: language: string;
Old version information: |Class name: LocaleResponse;
Method or attribute name: language: string;
New version information: string|@system.configuration.d.ts| +|Type changed|Class name: LocaleResponse;
Method or attribute name: countryOrRegion: string;
Old version information: |Class name: LocaleResponse;
Method or attribute name: countryOrRegion: string;
New version information: string|@system.configuration.d.ts| +|Type changed|Class name: LocaleResponse;
Method or attribute name: dir: "ltr" \| "rtl";
Old version information: |Class name: LocaleResponse;
Method or attribute name: dir: "ltr" \| "rtl";
New version information: 'ltr' \| 'rtl'|@system.configuration.d.ts| +|Type changed|Class name: MediaQueryEvent;
Method or attribute name: matches: boolean;
Old version information: |Class name: MediaQueryEvent;
Method or attribute name: matches: boolean;
New version information: boolean|@system.mediaquery.d.ts| +|Type changed|Class name: MediaQueryList;
Method or attribute name: media?: string;
Old version information: |Class name: MediaQueryList;
Method or attribute name: media?: string;
New version information: ?string|@system.mediaquery.d.ts| +|Type changed|Class name: MediaQueryList;
Method or attribute name: matches?: boolean;
Old version information: |Class name: MediaQueryList;
Method or attribute name: matches?: boolean;
New version information: ?boolean|@system.mediaquery.d.ts| +|Type changed|Class name: MediaQueryList;
Method or attribute name: onchange?: (matches: boolean) => void;
Old version information: |Class name: MediaQueryList;
Method or attribute name: onchange?: (matches: boolean) => void;
New version information: ?((matches: boolean) => void)|@system.mediaquery.d.ts| +|Type changed|Class name: ShowToastOptions;
Method or attribute name: message: string;
Old version information: |Class name: ShowToastOptions;
Method or attribute name: message: string;
New version information: string|@system.prompt.d.ts| +|Type changed|Class name: ShowToastOptions;
Method or attribute name: duration?: number;
Old version information: |Class name: ShowToastOptions;
Method or attribute name: duration?: number;
New version information: number|@system.prompt.d.ts| +|Type changed|Class name: ShowToastOptions;
Method or attribute name: bottom?: string \| number;
Old version information: |Class name: ShowToastOptions;
Method or attribute name: bottom?: string \| number;
New version information: string \| number|@system.prompt.d.ts| +|Type changed|Class name: Button;
Method or attribute name: text: string;
Old version information: |Class name: Button;
Method or attribute name: text: string;
New version information: string|@system.prompt.d.ts| +|Type changed|Class name: Button;
Method or attribute name: color: string;
Old version information: |Class name: Button;
Method or attribute name: color: string;
New version information: string|@system.prompt.d.ts| +|Type changed|Class name: ShowDialogSuccessResponse;
Method or attribute name: index: number;
Old version information: |Class name: ShowDialogSuccessResponse;
Method or attribute name: index: number;
New version information: number|@system.prompt.d.ts| +|Type changed|Class name: ShowDialogOptions;
Method or attribute name: title?: string;
Old version information: |Class name: ShowDialogOptions;
Method or attribute name: title?: string;
New version information: ?string|@system.prompt.d.ts| +|Type changed|Class name: ShowActionMenuOptions;
Method or attribute name: title?: string;
Old version information: |Class name: ShowActionMenuOptions;
Method or attribute name: title?: string;
New version information: ?string|@system.prompt.d.ts| +|Type changed|Class name: ShowDialogOptions;
Method or attribute name: message?: string;
Old version information: |Class name: ShowDialogOptions;
Method or attribute name: message?: string;
New version information: ?string|@system.prompt.d.ts| +|Type changed|Class name: ShowDialogOptions;
Method or attribute name: buttons?: [Button, Button?, Button?];
Old version information: |Class name: ShowDialogOptions;
Method or attribute name: buttons?: [Button, Button?, Button?];
New version information: [Button, Button?, Button?]|@system.prompt.d.ts| +|Type changed|Class name: ShowActionMenuOptions;
Method or attribute name: buttons: [Button, Button?, Button?, Button?, Button?, Button?];
Old version information: |Class name: ShowActionMenuOptions;
Method or attribute name: buttons: [Button, Button?, Button?, Button?, Button?, Button?];
New version information: [Button, Button?, Button?, Button?, Button?, Button?]|@system.prompt.d.ts| +|Type changed|Class name: ShowActionMenuOptions;
Method or attribute name: success?: (tapIndex: number, errMsg: string) => void;
Old version information: |Class name: ShowActionMenuOptions;
Method or attribute name: success?: (tapIndex: number, errMsg: string) => void;
New version information: ?((tapIndex: number, errMsg: string) => void)|@system.prompt.d.ts| +|Type changed|Class name: ShowActionMenuOptions;
Method or attribute name: fail?: (errMsg: string) => void;
Old version information: |Class name: ShowActionMenuOptions;
Method or attribute name: fail?: (errMsg: string) => void;
New version information: ?((errMsg: string) => void)|@system.prompt.d.ts| +|Type changed|Class name: ShowActionMenuOptions;
Method or attribute name: complete?: () => void;
Old version information: |Class name: ShowActionMenuOptions;
Method or attribute name: complete?: () => void;
New version information: ?(() => void)|@system.prompt.d.ts| +|Type changed|Class name: RouterOptions;
Method or attribute name: uri: string;
Old version information: |Class name: RouterOptions;
Method or attribute name: uri: string;
New version information: string|@system.router.d.ts| +|Type changed|Class name: RouterOptions;
Method or attribute name: params?: Object;
Old version information: |Class name: RouterOptions;
Method or attribute name: params?: Object;
New version information: ?Object|@system.router.d.ts| +|Type changed|Class name: BackRouterOptions;
Method or attribute name: params?: Object;
Old version information: |Class name: BackRouterOptions;
Method or attribute name: params?: Object;
New version information: ?Object|@system.router.d.ts| +|Type changed|Class name: BackRouterOptions;
Method or attribute name: uri?: string;
Old version information: |Class name: BackRouterOptions;
Method or attribute name: uri?: string;
New version information: ?string|@system.router.d.ts| +|Type changed|Class name: RouterState;
Method or attribute name: index: number;
Old version information: |Class name: RouterState;
Method or attribute name: index: number;
New version information: number|@system.router.d.ts| +|Type changed|Class name: RouterState;
Method or attribute name: name: string;
Old version information: |Class name: RouterState;
Method or attribute name: name: string;
New version information: string|@system.router.d.ts| +|Type changed|Class name: RouterState;
Method or attribute name: path: string;
Old version information: |Class name: RouterState;
Method or attribute name: path: string;
New version information: string|@system.router.d.ts| +|Type changed|Class name: EnableAlertBeforeBackPageOptions;
Method or attribute name: message: string;
Old version information: |Class name: EnableAlertBeforeBackPageOptions;
Method or attribute name: message: string;
New version information: string|@system.router.d.ts| +|Type changed|Class name: EnableAlertBeforeBackPageOptions;
Method or attribute name: success?: (errMsg: string) => void;
Old version information: |Class name: EnableAlertBeforeBackPageOptions;
Method or attribute name: success?: (errMsg: string) => void;
New version information: (errMsg: string) => void|@system.router.d.ts| +|Type changed|Class name: DisableAlertBeforeBackPageOptions;
Method or attribute name: success?: (errMsg: string) => void;
Old version information: |Class name: DisableAlertBeforeBackPageOptions;
Method or attribute name: success?: (errMsg: string) => void;
New version information: (errMsg: string) => void|@system.router.d.ts| +|Type changed|Class name: EnableAlertBeforeBackPageOptions;
Method or attribute name: cancel?: (errMsg: string) => void;
Old version information: |Class name: EnableAlertBeforeBackPageOptions;
Method or attribute name: cancel?: (errMsg: string) => void;
New version information: (errMsg: string) => void|@system.router.d.ts| +|Type changed|Class name: DisableAlertBeforeBackPageOptions;
Method or attribute name: cancel?: (errMsg: string) => void;
Old version information: |Class name: DisableAlertBeforeBackPageOptions;
Method or attribute name: cancel?: (errMsg: string) => void;
New version information: (errMsg: string) => void|@system.router.d.ts| +|Type changed|Class name: EnableAlertBeforeBackPageOptions;
Method or attribute name: complete?: () => void;
Old version information: |Class name: EnableAlertBeforeBackPageOptions;
Method or attribute name: complete?: () => void;
New version information: () => void|@system.router.d.ts| +|Type changed|Class name: DisableAlertBeforeBackPageOptions;
Method or attribute name: complete?: () => void;
Old version information: |Class name: DisableAlertBeforeBackPageOptions;
Method or attribute name: complete?: () => void;
New version information: () => void|@system.router.d.ts| +|Type changed|Class name: sourcefile;
Method or attribute name: declare type CustomBuilder = (() => any) \| void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare type CustomBuilder = (() => any) \| void;
New version information: (() => any) \| void|common.d.ts| +|Type changed|Class name: SheetInfo;
Method or attribute name: title: string \| Resource;
Old version information: |Class name: SheetInfo;
Method or attribute name: title: string \| Resource;
New version information: string \| Resource|action_sheet.d.ts| +|Type changed|Class name: SheetInfo;
Method or attribute name: icon?: string \| Resource;
Old version information: |Class name: SheetInfo;
Method or attribute name: icon?: string \| Resource;
New version information: ?(string \| Resource)|action_sheet.d.ts| +|Type changed|Class name: SheetInfo;
Method or attribute name: action: () => void;
Old version information: |Class name: SheetInfo;
Method or attribute name: action: () => void;
New version information: () => void|action_sheet.d.ts| +|Type changed|Class name: AlertDialogParam;
Method or attribute name: title?: ResourceStr;
Old version information: |Class name: AlertDialogParam;
Method or attribute name: title?: ResourceStr;
New version information: ?ResourceStr|alert_dialog.d.ts| +|Type changed|Class name: AlertDialogParam;
Method or attribute name: message: ResourceStr;
Old version information: |Class name: AlertDialogParam;
Method or attribute name: message: ResourceStr;
New version information: ResourceStr|alert_dialog.d.ts| +|Type changed|Class name: AlertDialogParam;
Method or attribute name: autoCancel?: boolean;
Old version information: |Class name: AlertDialogParam;
Method or attribute name: autoCancel?: boolean;
New version information: ?boolean|alert_dialog.d.ts| +|Type changed|Class name: AlertDialogParam;
Method or attribute name: cancel?: () => void;
Old version information: |Class name: AlertDialogParam;
Method or attribute name: cancel?: () => void;
New version information: ?(() => void)|alert_dialog.d.ts| +|Type changed|Class name: AlertDialogParam;
Method or attribute name: alignment?: DialogAlignment;
Old version information: |Class name: AlertDialogParam;
Method or attribute name: alignment?: DialogAlignment;
New version information: ?DialogAlignment|alert_dialog.d.ts| +|Type changed|Class name: AlertDialogParam;
Method or attribute name: offset?: Offset;
Old version information: |Class name: AlertDialogParam;
Method or attribute name: offset?: Offset;
New version information: ?Offset|alert_dialog.d.ts| +|Type changed|Class name: AlertDialogParam;
Method or attribute name: gridCount?: number;
Old version information: |Class name: AlertDialogParam;
Method or attribute name: gridCount?: number;
New version information: ?number|alert_dialog.d.ts| +|Type changed|Class name: AlertDialogParamWithConfirm;
Method or attribute name: confirm?: {
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
value: ResourceStr;

/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
fontColor?: ResourceColor;

/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
backgroundColor?: ResourceColor;

/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
action: () => void;
};
Old version information: |Class name: AlertDialogParamWithConfirm;
Method or attribute name: confirm?: {
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
value: ResourceStr;

/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
fontColor?: ResourceColor;

/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
backgroundColor?: ResourceColor;

/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
action: () => void;
};
New version information: ?{value: ResourceStr; fontColor?: ResourceColor; backgroundColor?: ResourceColor;action: () => void;}|alert_dialog.d.ts| +|Type changed|Class name: AlertDialogParamWithButtons;
Method or attribute name: primaryButton: {
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
value: ResourceStr;

/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
fontColor?: ResourceColor;

/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
backgroundColor?: ResourceColor;

/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
action: () => void;
};
Old version information: |Class name: AlertDialogParamWithButtons;
Method or attribute name: primaryButton: {
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
value: ResourceStr;

/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
fontColor?: ResourceColor;

/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
backgroundColor?: ResourceColor;

/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
action: () => void;
};
New version information: {value: ResourceStr; fontColor?: ResourceColor; backgroundColor?: ResourceColor;action: () => void;}|alert_dialog.d.ts| +|Type changed|Class name: AlertDialogParamWithButtons;
Method or attribute name: secondaryButton: {
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
value: ResourceStr;

/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
fontColor?: ResourceColor;

/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
backgroundColor?: ResourceColor;

/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
action: () => void;
};
Old version information: |Class name: AlertDialogParamWithButtons;
Method or attribute name: secondaryButton: {
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text content of the confirmation button.
*
* @type { ResourceStr }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
value: ResourceStr;

/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Text color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
fontColor?: ResourceColor;

/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Background color of the confirmation button.
*
* @type { ?ResourceColor }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
backgroundColor?: ResourceColor;

/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 7
*/
/**
* Method executed by the callback.
*
* @type { () => void }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @since 10
*/
action: () => void;
};
New version information: {value: ResourceStr; fontColor?: ResourceColor; backgroundColor?: ResourceColor;action: () => void;}|alert_dialog.d.ts| +|Type changed|Class name: BadgeStyle;
Method or attribute name: color?: ResourceColor;
Old version information: |Class name: BadgeStyle;
Method or attribute name: color?: ResourceColor;
New version information: ?ResourceColor|badge.d.ts| +|Type changed|Class name: BadgeStyle;
Method or attribute name: fontSize?: number \| string;
Old version information: |Class name: BadgeStyle;
Method or attribute name: fontSize?: number \| string;
New version information: ?(number \| string)|badge.d.ts| +|Type changed|Class name: BadgeStyle;
Method or attribute name: badgeSize?: number \| string;
Old version information: |Class name: BadgeStyle;
Method or attribute name: badgeSize?: number \| string;
New version information: ?(number \| string)|badge.d.ts| +|Type changed|Class name: BadgeStyle;
Method or attribute name: badgeColor?: ResourceColor;
Old version information: |Class name: BadgeStyle;
Method or attribute name: badgeColor?: ResourceColor;
New version information: ?ResourceColor|badge.d.ts| +|Type changed|Class name: BadgeStyle;
Method or attribute name: borderColor?: ResourceColor;
Old version information: ResourceColor|Class name: BadgeStyle;
Method or attribute name: borderColor?: ResourceColor;
New version information: ?ResourceColor|badge.d.ts| +|Type changed|Class name: BadgeStyle;
Method or attribute name: borderWidth?: Length;
Old version information: Length|Class name: BadgeStyle;
Method or attribute name: borderWidth?: Length;
New version information: ?Length|badge.d.ts| +|Type changed|Class name: BadgeStyle;
Method or attribute name: fontWeight?: number \| FontWeight \| string;
Old version information: number \| FontWeight \| string|Class name: BadgeStyle;
Method or attribute name: fontWeight?: number \| FontWeight \| string;
New version information: ?(number \| FontWeight \| string)|badge.d.ts| +|Type changed|Class name: BadgeParam;
Method or attribute name: position?: BadgePosition \| Position;
Old version information: |Class name: BadgeParam;
Method or attribute name: position?: BadgePosition \| Position;
New version information: BadgePosition \| Position|badge.d.ts| +|Type changed|Class name: BadgeParam;
Method or attribute name: style: BadgeStyle;
Old version information: |Class name: BadgeParam;
Method or attribute name: style: BadgeStyle;
New version information: BadgeStyle|badge.d.ts| +|Type changed|Class name: BadgeParamWithNumber;
Method or attribute name: count: number;
Old version information: |Class name: BadgeParamWithNumber;
Method or attribute name: count: number;
New version information: number|badge.d.ts| +|Type changed|Class name: BadgeParamWithNumber;
Method or attribute name: maxCount?: number;
Old version information: |Class name: BadgeParamWithNumber;
Method or attribute name: maxCount?: number;
New version information: ?number|badge.d.ts| +|Type changed|Class name: BadgeParamWithString;
Method or attribute name: value: string;
Old version information: |Class name: BadgeParamWithString;
Method or attribute name: value: string;
New version information: string|badge.d.ts| +|Type changed|Class name: ButtonOptions;
Method or attribute name: type?: ButtonType;
Old version information: |Class name: ButtonOptions;
Method or attribute name: type?: ButtonType;
New version information: ?ButtonType|button.d.ts| +|Type changed|Class name: ButtonOptions;
Method or attribute name: stateEffect?: boolean;
Old version information: |Class name: ButtonOptions;
Method or attribute name: stateEffect?: boolean;
New version information: ?boolean|button.d.ts| +|Type changed|Class name: LabelStyle;
Method or attribute name: overflow?: TextOverflow;
Old version information: TextOverflow|Class name: LabelStyle;
Method or attribute name: overflow?: TextOverflow;
New version information: ?TextOverflow|button.d.ts| +|Type changed|Class name: LabelStyle;
Method or attribute name: maxLines?: number;
Old version information: number|Class name: LabelStyle;
Method or attribute name: maxLines?: number;
New version information: ?number|button.d.ts| +|Type changed|Class name: LabelStyle;
Method or attribute name: minFontSize?: number \| ResourceStr;
Old version information: number \| ResourceStr|Class name: LabelStyle;
Method or attribute name: minFontSize?: number \| ResourceStr;
New version information: ?(number \| ResourceStr)|button.d.ts| +|Type changed|Class name: LabelStyle;
Method or attribute name: maxFontSize?: number \| ResourceStr;
Old version information: number \| ResourceStr|Class name: LabelStyle;
Method or attribute name: maxFontSize?: number \| ResourceStr;
New version information: ?(number \| ResourceStr)|button.d.ts| +|Type changed|Class name: LabelStyle;
Method or attribute name: heightAdaptivePolicy?: TextHeightAdaptivePolicy;
Old version information: TextHeightAdaptivePolicy|Class name: LabelStyle;
Method or attribute name: heightAdaptivePolicy?: TextHeightAdaptivePolicy;
New version information: ?TextHeightAdaptivePolicy|button.d.ts| +|Type changed|Class name: LabelStyle;
Method or attribute name: font?: Font;
Old version information: Font|Class name: LabelStyle;
Method or attribute name: font?: Font;
New version information: ?Font|button.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: index: number;
Old version information: |Class name: CalendarDay;
Method or attribute name: index: number;
New version information: number|calendar.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: lunarMonth: string;
Old version information: |Class name: CalendarDay;
Method or attribute name: lunarMonth: string;
New version information: string|calendar.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: lunarDay: string;
Old version information: |Class name: CalendarDay;
Method or attribute name: lunarDay: string;
New version information: string|calendar.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: dayMark: string;
Old version information: |Class name: CalendarDay;
Method or attribute name: dayMark: string;
New version information: string|calendar.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: dayMarkValue: string;
Old version information: |Class name: CalendarDay;
Method or attribute name: dayMarkValue: string;
New version information: string|calendar.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: year: number;
Old version information: |Class name: CalendarDay;
Method or attribute name: year: number;
New version information: number|calendar.d.ts| +|Type changed|Class name: MonthData;
Method or attribute name: year: number;
Old version information: |Class name: MonthData;
Method or attribute name: year: number;
New version information: number|calendar.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: month: number;
Old version information: |Class name: CalendarDay;
Method or attribute name: month: number;
New version information: number|calendar.d.ts| +|Type changed|Class name: MonthData;
Method or attribute name: month: number;
Old version information: |Class name: MonthData;
Method or attribute name: month: number;
New version information: number|calendar.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: day: number;
Old version information: |Class name: CalendarDay;
Method or attribute name: day: number;
New version information: number|calendar.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: isFirstOfLunar: boolean;
Old version information: |Class name: CalendarDay;
Method or attribute name: isFirstOfLunar: boolean;
New version information: boolean|calendar.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: hasSchedule: boolean;
Old version information: |Class name: CalendarDay;
Method or attribute name: hasSchedule: boolean;
New version information: boolean|calendar.d.ts| +|Type changed|Class name: CalendarDay;
Method or attribute name: markLunarDay: boolean;
Old version information: |Class name: CalendarDay;
Method or attribute name: markLunarDay: boolean;
New version information: boolean|calendar.d.ts| +|Type changed|Class name: MonthData;
Method or attribute name: data: CalendarDay[];
Old version information: |Class name: MonthData;
Method or attribute name: data: CalendarDay[];
New version information: CalendarDay[]|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: dayColor?: ResourceColor;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: dayColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: lunarColor?: ResourceColor;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: lunarColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: markLunarColor?: ResourceColor;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: markLunarColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: dayFontSize?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: dayFontSize?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: lunarDayFontSize?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: lunarDayFontSize?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: dayHeight?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: dayHeight?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: dayWidth?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: dayWidth?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: gregorianCalendarHeight?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: gregorianCalendarHeight?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: dayYAxisOffset?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: dayYAxisOffset?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: lunarDayYAxisOffset?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: lunarDayYAxisOffset?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: underscoreXAxisOffset?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: underscoreXAxisOffset?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: underscoreYAxisOffset?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: underscoreYAxisOffset?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: scheduleMarkerXAxisOffset?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: scheduleMarkerXAxisOffset?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: scheduleMarkerYAxisOffset?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: scheduleMarkerYAxisOffset?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: colSpace?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: colSpace?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: dailyFiveRowSpace?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: dailyFiveRowSpace?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: dailySixRowSpace?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: dailySixRowSpace?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: lunarHeight?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: lunarHeight?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: underscoreWidth?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: underscoreWidth?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: underscoreLength?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: underscoreLength?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: scheduleMarkerRadius?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: scheduleMarkerRadius?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: boundaryRowOffset?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: boundaryRowOffset?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: CurrentDayStyle;
Method or attribute name: boundaryColOffset?: number;
Old version information: |Class name: CurrentDayStyle;
Method or attribute name: boundaryColOffset?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: NonCurrentDayStyle;
Method or attribute name: nonCurrentMonthDayColor?: ResourceColor;
Old version information: |Class name: NonCurrentDayStyle;
Method or attribute name: nonCurrentMonthDayColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: NonCurrentDayStyle;
Method or attribute name: nonCurrentMonthLunarColor?: ResourceColor;
Old version information: |Class name: NonCurrentDayStyle;
Method or attribute name: nonCurrentMonthLunarColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: NonCurrentDayStyle;
Method or attribute name: nonCurrentMonthWorkDayMarkColor?: ResourceColor;
Old version information: |Class name: NonCurrentDayStyle;
Method or attribute name: nonCurrentMonthWorkDayMarkColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: NonCurrentDayStyle;
Method or attribute name: nonCurrentMonthOffDayMarkColor?: ResourceColor;
Old version information: |Class name: NonCurrentDayStyle;
Method or attribute name: nonCurrentMonthOffDayMarkColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: TodayStyle;
Method or attribute name: focusedDayColor?: ResourceColor;
Old version information: |Class name: TodayStyle;
Method or attribute name: focusedDayColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: TodayStyle;
Method or attribute name: focusedLunarColor?: ResourceColor;
Old version information: |Class name: TodayStyle;
Method or attribute name: focusedLunarColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: TodayStyle;
Method or attribute name: focusedAreaBackgroundColor?: ResourceColor;
Old version information: |Class name: TodayStyle;
Method or attribute name: focusedAreaBackgroundColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: TodayStyle;
Method or attribute name: focusedAreaRadius?: number;
Old version information: |Class name: TodayStyle;
Method or attribute name: focusedAreaRadius?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: WeekStyle;
Method or attribute name: weekColor?: ResourceColor;
Old version information: |Class name: WeekStyle;
Method or attribute name: weekColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: WeekStyle;
Method or attribute name: weekendDayColor?: ResourceColor;
Old version information: |Class name: WeekStyle;
Method or attribute name: weekendDayColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: WeekStyle;
Method or attribute name: weekendLunarColor?: ResourceColor;
Old version information: |Class name: WeekStyle;
Method or attribute name: weekendLunarColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: WeekStyle;
Method or attribute name: weekFontSize?: number;
Old version information: |Class name: WeekStyle;
Method or attribute name: weekFontSize?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: WeekStyle;
Method or attribute name: weekHeight?: number;
Old version information: |Class name: WeekStyle;
Method or attribute name: weekHeight?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: WeekStyle;
Method or attribute name: weekWidth?: number;
Old version information: |Class name: WeekStyle;
Method or attribute name: weekWidth?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: WeekStyle;
Method or attribute name: weekAndDayRowSpace?: number;
Old version information: |Class name: WeekStyle;
Method or attribute name: weekAndDayRowSpace?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: WorkStateStyle;
Method or attribute name: workDayMarkColor?: ResourceColor;
Old version information: |Class name: WorkStateStyle;
Method or attribute name: workDayMarkColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: WorkStateStyle;
Method or attribute name: offDayMarkColor?: ResourceColor;
Old version information: |Class name: WorkStateStyle;
Method or attribute name: offDayMarkColor?: ResourceColor;
New version information: ?ResourceColor|calendar.d.ts| +|Type changed|Class name: WorkStateStyle;
Method or attribute name: workDayMarkSize?: number;
Old version information: |Class name: WorkStateStyle;
Method or attribute name: workDayMarkSize?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: WorkStateStyle;
Method or attribute name: offDayMarkSize?: number;
Old version information: |Class name: WorkStateStyle;
Method or attribute name: offDayMarkSize?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: WorkStateStyle;
Method or attribute name: workStateWidth?: number;
Old version information: |Class name: WorkStateStyle;
Method or attribute name: workStateWidth?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: WorkStateStyle;
Method or attribute name: workStateHorizontalMovingDistance?: number;
Old version information: |Class name: WorkStateStyle;
Method or attribute name: workStateHorizontalMovingDistance?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: WorkStateStyle;
Method or attribute name: workStateVerticalMovingDistance?: number;
Old version information: |Class name: WorkStateStyle;
Method or attribute name: workStateVerticalMovingDistance?: number;
New version information: ?number|calendar.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly actualBoundingBoxAscent: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly actualBoundingBoxAscent: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly actualBoundingBoxDescent: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly actualBoundingBoxDescent: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly actualBoundingBoxLeft: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly actualBoundingBoxLeft: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly actualBoundingBoxRight: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly actualBoundingBoxRight: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly alphabeticBaseline: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly alphabeticBaseline: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly emHeightAscent: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly emHeightAscent: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly emHeightDescent: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly emHeightDescent: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly fontBoundingBoxAscent: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly fontBoundingBoxAscent: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly fontBoundingBoxDescent: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly fontBoundingBoxDescent: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly hangingBaseline: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly hangingBaseline: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly ideographicBaseline: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly ideographicBaseline: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly width: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly width: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: ImageBitmap;
Method or attribute name: readonly width: number;
Old version information: |Class name: ImageBitmap;
Method or attribute name: readonly width: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: ImageData;
Method or attribute name: readonly width: number;
Old version information: |Class name: ImageData;
Method or attribute name: readonly width: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: CanvasRenderingContext2D;
Method or attribute name: readonly width: number;
Old version information: |Class name: CanvasRenderingContext2D;
Method or attribute name: readonly width: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: TextMetrics;
Method or attribute name: readonly height: number;
Old version information: |Class name: TextMetrics;
Method or attribute name: readonly height: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: ImageBitmap;
Method or attribute name: readonly height: number;
Old version information: |Class name: ImageBitmap;
Method or attribute name: readonly height: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: ImageData;
Method or attribute name: readonly height: number;
Old version information: |Class name: ImageData;
Method or attribute name: readonly height: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: CanvasRenderingContext2D;
Method or attribute name: readonly height: number;
Old version information: |Class name: CanvasRenderingContext2D;
Method or attribute name: readonly height: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: ImageData;
Method or attribute name: readonly data: Uint8ClampedArray;
Old version information: |Class name: ImageData;
Method or attribute name: readonly data: Uint8ClampedArray;
New version information: Uint8ClampedArray|canvas.d.ts| +|Type changed|Class name: RenderingContextSettings;
Method or attribute name: antialias?: boolean;
Old version information: |Class name: RenderingContextSettings;
Method or attribute name: antialias?: boolean;
New version information: ?boolean|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: globalAlpha: number;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: globalAlpha: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: globalCompositeOperation: string;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: globalCompositeOperation: string;
New version information: string|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: filter: string;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: filter: string;
New version information: string|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: imageSmoothingEnabled: boolean;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: imageSmoothingEnabled: boolean;
New version information: boolean|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: imageSmoothingQuality: ImageSmoothingQuality;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: imageSmoothingQuality: ImageSmoothingQuality;
New version information: ImageSmoothingQuality|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: lineCap: CanvasLineCap;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: lineCap: CanvasLineCap;
New version information: CanvasLineCap|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: lineDashOffset: number;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: lineDashOffset: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: lineJoin: CanvasLineJoin;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: lineJoin: CanvasLineJoin;
New version information: CanvasLineJoin|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: lineWidth: number;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: lineWidth: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: miterLimit: number;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: miterLimit: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: shadowBlur: number;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: shadowBlur: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: shadowColor: string;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: shadowColor: string;
New version information: string|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: shadowOffsetX: number;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: shadowOffsetX: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: shadowOffsetY: number;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: shadowOffsetY: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: font: string;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: font: string;
New version information: string|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: textAlign: CanvasTextAlign;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: textAlign: CanvasTextAlign;
New version information: CanvasTextAlign|canvas.d.ts| +|Type changed|Class name: CanvasRenderer;
Method or attribute name: textBaseline: CanvasTextBaseline;
Old version information: |Class name: CanvasRenderer;
Method or attribute name: textBaseline: CanvasTextBaseline;
New version information: CanvasTextBaseline|canvas.d.ts| +|Type changed|Class name: OffscreenCanvas;
Method or attribute name: height: number;
Old version information: |Class name: OffscreenCanvas;
Method or attribute name: height: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: OffscreenCanvas;
Method or attribute name: width: number;
Old version information: |Class name: OffscreenCanvas;
Method or attribute name: width: number;
New version information: number|canvas.d.ts| +|Type changed|Class name: CheckboxOptions;
Method or attribute name: name?: string;
Old version information: |Class name: CheckboxOptions;
Method or attribute name: name?: string;
New version information: ?string|checkbox.d.ts| +|Type changed|Class name: CheckboxOptions;
Method or attribute name: group?: string;
Old version information: |Class name: CheckboxOptions;
Method or attribute name: group?: string;
New version information: ?string|checkbox.d.ts| +|Type changed|Class name: CheckboxGroupOptions;
Method or attribute name: group?: string;
Old version information: |Class name: CheckboxGroupOptions;
Method or attribute name: group?: string;
New version information: ?string|checkboxgroup.d.ts| +|Type changed|Class name: CheckboxGroupResult;
Method or attribute name: name: Array\;
Old version information: |Class name: CheckboxGroupResult;
Method or attribute name: name: Array\;
New version information: Array\|checkboxgroup.d.ts| +|Type changed|Class name: CheckboxGroupResult;
Method or attribute name: status: SelectStatus;
Old version information: |Class name: CheckboxGroupResult;
Method or attribute name: status: SelectStatus;
New version information: SelectStatus|checkboxgroup.d.ts| +|Type changed|Class name: CircleOptions;
Method or attribute name: width?: string \| number;
Old version information: |Class name: CircleOptions;
Method or attribute name: width?: string \| number;
New version information: ?(string \| number)|circle.d.ts| +|Type changed|Class name: CircleOptions;
Method or attribute name: height?: string \| number;
Old version information: |Class name: CircleOptions;
Method or attribute name: height?: string \| number;
New version information: ?(string \| number)|circle.d.ts| +|Type changed|Class name: Configuration;
Method or attribute name: readonly colorMode: string;
Old version information: |Class name: Configuration;
Method or attribute name: readonly colorMode: string;
New version information: string|common.d.ts| +|Type changed|Class name: Configuration;
Method or attribute name: readonly fontScale: number;
Old version information: |Class name: Configuration;
Method or attribute name: readonly fontScale: number;
New version information: number|common.d.ts| +|Type changed|Class name: Rectangle;
Method or attribute name: x?: Length;
Old version information: |Class name: Rectangle;
Method or attribute name: x?: Length;
New version information: ?Length|common.d.ts| +|Type changed|Class name: Rectangle;
Method or attribute name: y?: Length;
Old version information: |Class name: Rectangle;
Method or attribute name: y?: Length;
New version information: ?Length|common.d.ts| +|Type changed|Class name: Rectangle;
Method or attribute name: width?: Length;
Old version information: |Class name: Rectangle;
Method or attribute name: width?: Length;
New version information: ?Length|common.d.ts| +|Type changed|Class name: Rectangle;
Method or attribute name: height?: Length;
Old version information: |Class name: Rectangle;
Method or attribute name: height?: Length;
New version information: ?Length|common.d.ts| +|Type changed|Class name: AnimateParam;
Method or attribute name: duration?: number;
Old version information: |Class name: AnimateParam;
Method or attribute name: duration?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: sharedTransitionOptions;
Method or attribute name: duration?: number;
Old version information: |Class name: sharedTransitionOptions;
Method or attribute name: duration?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: AnimateParam;
Method or attribute name: tempo?: number;
Old version information: |Class name: AnimateParam;
Method or attribute name: tempo?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: AnimateParam;
Method or attribute name: curve?: Curve \| string \| ICurve;
Old version information: string \| Curve \| ICurve|Class name: AnimateParam;
Method or attribute name: curve?: Curve \| string \| ICurve;
New version information: ?(Curve \| string \| ICurve)|common.d.ts| +|Type changed|Class name: sharedTransitionOptions;
Method or attribute name: curve?: Curve \| string \| ICurve;
Old version information: |Class name: sharedTransitionOptions;
Method or attribute name: curve?: Curve \| string \| ICurve;
New version information: ?(Curve \| string \| ICurve)|common.d.ts| +|Type changed|Class name: AnimateParam;
Method or attribute name: delay?: number;
Old version information: |Class name: AnimateParam;
Method or attribute name: delay?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: sharedTransitionOptions;
Method or attribute name: delay?: number;
Old version information: |Class name: sharedTransitionOptions;
Method or attribute name: delay?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: AnimateParam;
Method or attribute name: iterations?: number;
Old version information: |Class name: AnimateParam;
Method or attribute name: iterations?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: AnimateParam;
Method or attribute name: playMode?: PlayMode;
Old version information: |Class name: AnimateParam;
Method or attribute name: playMode?: PlayMode;
New version information: ?PlayMode|common.d.ts| +|Type changed|Class name: AnimateParam;
Method or attribute name: onFinish?: () => void;
Old version information: |Class name: AnimateParam;
Method or attribute name: onFinish?: () => void;
New version information: ?(() => void)|common.d.ts| +|Type changed|Class name: MotionPathOptions;
Method or attribute name: path: string;
Old version information: |Class name: MotionPathOptions;
Method or attribute name: path: string;
New version information: string|common.d.ts| +|Type changed|Class name: MotionPathOptions;
Method or attribute name: from?: number;
Old version information: |Class name: MotionPathOptions;
Method or attribute name: from?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: MotionPathOptions;
Method or attribute name: to?: number;
Old version information: |Class name: MotionPathOptions;
Method or attribute name: to?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: MotionPathOptions;
Method or attribute name: rotatable?: boolean;
Old version information: |Class name: MotionPathOptions;
Method or attribute name: rotatable?: boolean;
New version information: ?boolean|common.d.ts| +|Type changed|Class name: sharedTransitionOptions;
Method or attribute name: motionPath?: MotionPathOptions;
Old version information: |Class name: sharedTransitionOptions;
Method or attribute name: motionPath?: MotionPathOptions;
New version information: ?MotionPathOptions|common.d.ts| +|Type changed|Class name: sharedTransitionOptions;
Method or attribute name: zIndex?: number;
Old version information: |Class name: sharedTransitionOptions;
Method or attribute name: zIndex?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: sharedTransitionOptions;
Method or attribute name: type?: SharedTransitionEffectType;
Old version information: |Class name: sharedTransitionOptions;
Method or attribute name: type?: SharedTransitionEffectType;
New version information: ?SharedTransitionEffectType|common.d.ts| +|Type changed|Class name: TranslateOptions;
Method or attribute name: y?: number \| string;
Old version information: |Class name: TranslateOptions;
Method or attribute name: y?: number \| string;
New version information: ?(number \| string)|common.d.ts| +|Type changed|Class name: TranslateOptions;
Method or attribute name: z?: number \| string;
Old version information: |Class name: TranslateOptions;
Method or attribute name: z?: number \| string;
New version information: ?(number \| string)|common.d.ts| +|Type changed|Class name: ScaleOptions;
Method or attribute name: x?: number;
Old version information: |Class name: ScaleOptions;
Method or attribute name: x?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: RotateOptions;
Method or attribute name: x?: number;
Old version information: |Class name: RotateOptions;
Method or attribute name: x?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: ScaleOptions;
Method or attribute name: y?: number;
Old version information: |Class name: ScaleOptions;
Method or attribute name: y?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: RotateOptions;
Method or attribute name: y?: number;
Old version information: |Class name: RotateOptions;
Method or attribute name: y?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: ScaleOptions;
Method or attribute name: z?: number;
Old version information: |Class name: ScaleOptions;
Method or attribute name: z?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: RotateOptions;
Method or attribute name: z?: number;
Old version information: |Class name: RotateOptions;
Method or attribute name: z?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: ScaleOptions;
Method or attribute name: centerX?: number \| string;
Old version information: |Class name: ScaleOptions;
Method or attribute name: centerX?: number \| string;
New version information: ?(number \| string)|common.d.ts| +|Type changed|Class name: RotateOptions;
Method or attribute name: centerX?: number \| string;
Old version information: |Class name: RotateOptions;
Method or attribute name: centerX?: number \| string;
New version information: ?(number \| string)|common.d.ts| +|Type changed|Class name: ScaleOptions;
Method or attribute name: centerY?: number \| string;
Old version information: |Class name: ScaleOptions;
Method or attribute name: centerY?: number \| string;
New version information: ?(number \| string)|common.d.ts| +|Type changed|Class name: AlignRuleOption;
Method or attribute name: left?: { anchor: string, align: HorizontalAlign };
Old version information: |Class name: AlignRuleOption;
Method or attribute name: left?: { anchor: string, align: HorizontalAlign };
New version information: ?{ anchor: string, align: HorizontalAlign }|common.d.ts| +|Type changed|Class name: AlignRuleOption;
Method or attribute name: right?: { anchor: string, align: HorizontalAlign };
Old version information: |Class name: AlignRuleOption;
Method or attribute name: right?: { anchor: string, align: HorizontalAlign };
New version information: ?{ anchor: string, align: HorizontalAlign }|common.d.ts| +|Type changed|Class name: AlignRuleOption;
Method or attribute name: middle?: { anchor: string, align: HorizontalAlign };
Old version information: |Class name: AlignRuleOption;
Method or attribute name: middle?: { anchor: string, align: HorizontalAlign };
New version information: ?{ anchor: string, align: HorizontalAlign }|common.d.ts| +|Type changed|Class name: AlignRuleOption;
Method or attribute name: top?: { anchor: string, align: VerticalAlign };
Old version information: |Class name: AlignRuleOption;
Method or attribute name: top?: { anchor: string, align: VerticalAlign };
New version information: ?{ anchor: string, align: VerticalAlign }|common.d.ts| +|Type changed|Class name: AlignRuleOption;
Method or attribute name: bottom?: { anchor: string, align: VerticalAlign };
Old version information: |Class name: AlignRuleOption;
Method or attribute name: bottom?: { anchor: string, align: VerticalAlign };
New version information: ?{ anchor: string, align: VerticalAlign }|common.d.ts| +|Type changed|Class name: AlignRuleOption;
Method or attribute name: center?: { anchor: string, align: VerticalAlign };
Old version information: |Class name: AlignRuleOption;
Method or attribute name: center?: { anchor: string, align: VerticalAlign };
New version information: ?{ anchor: string, align: VerticalAlign }|common.d.ts| +|Type changed|Class name: RotateOptions;
Method or attribute name: angle: number \| string;
Old version information: |Class name: RotateOptions;
Method or attribute name: angle: number \| string;
New version information: number \| string|common.d.ts| +|Type changed|Class name: TransitionOptions;
Method or attribute name: type?: TransitionType;
Old version information: |Class name: TransitionOptions;
Method or attribute name: type?: TransitionType;
New version information: ?TransitionType|common.d.ts| +|Type changed|Class name: TransitionOptions;
Method or attribute name: opacity?: number;
Old version information: |Class name: TransitionOptions;
Method or attribute name: opacity?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: TransitionOptions;
Method or attribute name: translate?: TranslateOptions;
Old version information: |Class name: TransitionOptions;
Method or attribute name: translate?: TranslateOptions;
New version information: ?TranslateOptions|common.d.ts| +|Type changed|Class name: TransitionOptions;
Method or attribute name: scale?: ScaleOptions;
Old version information: |Class name: TransitionOptions;
Method or attribute name: scale?: ScaleOptions;
New version information: ?ScaleOptions|common.d.ts| +|Type changed|Class name: TransitionOptions;
Method or attribute name: rotate?: RotateOptions;
Old version information: |Class name: TransitionOptions;
Method or attribute name: rotate?: RotateOptions;
New version information: ?RotateOptions|common.d.ts| +|Type changed|Class name: PreviewParams;
Method or attribute name: title?: string;
Old version information: |Class name: PreviewParams;
Method or attribute name: title?: string;
New version information: ?string|common.d.ts| +|Type changed|Class name: PreviewParams;
Method or attribute name: width?: number;
Old version information: |Class name: PreviewParams;
Method or attribute name: width?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: PreviewParams;
Method or attribute name: height?: number;
Old version information: |Class name: PreviewParams;
Method or attribute name: height?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: PreviewParams;
Method or attribute name: locale?: string;
Old version information: |Class name: PreviewParams;
Method or attribute name: locale?: string;
New version information: ?string|common.d.ts| +|Type changed|Class name: PreviewParams;
Method or attribute name: colorMode?: string;
Old version information: |Class name: PreviewParams;
Method or attribute name: colorMode?: string;
New version information: ?string|common.d.ts| +|Type changed|Class name: PreviewParams;
Method or attribute name: deviceType?: string;
Old version information: |Class name: PreviewParams;
Method or attribute name: deviceType?: string;
New version information: ?string|common.d.ts| +|Type changed|Class name: PreviewParams;
Method or attribute name: dpi?: number;
Old version information: |Class name: PreviewParams;
Method or attribute name: dpi?: number;
New version information: ?number|common.d.ts| +|Type changed|Class name: PreviewParams;
Method or attribute name: orientation?: string;
Old version information: |Class name: PreviewParams;
Method or attribute name: orientation?: string;
New version information: ?string|common.d.ts| +|Type changed|Class name: PreviewParams;
Method or attribute name: roundScreen?: boolean;
Old version information: |Class name: PreviewParams;
Method or attribute name: roundScreen?: boolean;
New version information: ?boolean|common.d.ts| +|Type changed|Class name: ItemDragInfo;
Method or attribute name: x: number;
Old version information: |Class name: ItemDragInfo;
Method or attribute name: x: number;
New version information: number|common.d.ts| +|Type changed|Class name: ClickEvent;
Method or attribute name: x: number;
Old version information: |Class name: ClickEvent;
Method or attribute name: x: number;
New version information: number|common.d.ts| +|Type changed|Class name: MouseEvent;
Method or attribute name: x: number;
Old version information: |Class name: MouseEvent;
Method or attribute name: x: number;
New version information: number|common.d.ts| +|Type changed|Class name: TouchObject;
Method or attribute name: x: number;
Old version information: |Class name: TouchObject;
Method or attribute name: x: number;
New version information: number|common.d.ts| +|Type changed|Class name: ItemDragInfo;
Method or attribute name: y: number;
Old version information: |Class name: ItemDragInfo;
Method or attribute name: y: number;
New version information: number|common.d.ts| +|Type changed|Class name: ClickEvent;
Method or attribute name: y: number;
Old version information: |Class name: ClickEvent;
Method or attribute name: y: number;
New version information: number|common.d.ts| +|Type changed|Class name: MouseEvent;
Method or attribute name: y: number;
Old version information: |Class name: MouseEvent;
Method or attribute name: y: number;
New version information: number|common.d.ts| +|Type changed|Class name: TouchObject;
Method or attribute name: y: number;
Old version information: |Class name: TouchObject;
Method or attribute name: y: number;
New version information: number|common.d.ts| +|Type changed|Class name: DragItemInfo;
Method or attribute name: pixelMap?: PixelMap;
Old version information: |Class name: DragItemInfo;
Method or attribute name: pixelMap?: PixelMap;
New version information: ?PixelMap|common.d.ts| +|Type changed|Class name: DragItemInfo;
Method or attribute name: builder?: CustomBuilder;
Old version information: |Class name: DragItemInfo;
Method or attribute name: builder?: CustomBuilder;
New version information: ?CustomBuilder|common.d.ts| +|Type changed|Class name: DragItemInfo;
Method or attribute name: extraInfo?: string;
Old version information: |Class name: DragItemInfo;
Method or attribute name: extraInfo?: string;
New version information: ?string|common.d.ts| +|Type changed|Class name: EventTarget;
Method or attribute name: area: Area;
Old version information: |Class name: EventTarget;
Method or attribute name: area: Area;
New version information: Area|common.d.ts| +|Type changed|Class name: PickerTextStyle;
Method or attribute name: color?: ResourceColor;
Old version information: ResourceColor|Class name: PickerTextStyle;
Method or attribute name: color?: ResourceColor;
New version information: ?ResourceColor|common.d.ts| +|Type changed|Class name: PickerTextStyle;
Method or attribute name: font?: Font;
Old version information: Font|Class name: PickerTextStyle;
Method or attribute name: font?: Font;
New version information: ?Font|common.d.ts| +|Type changed|Class name: PopupMessageOptions;
Method or attribute name: font?: Font;
Old version information: Font|Class name: PopupMessageOptions;
Method or attribute name: font?: Font;
New version information: ?Font|common.d.ts| +|Type changed|Class name: ShadowOptions;
Method or attribute name: radius: number \| Resource;
Old version information: |Class name: ShadowOptions;
Method or attribute name: radius: number \| Resource;
New version information: number \| Resource|common.d.ts| +|Type changed|Class name: ShadowOptions;
Method or attribute name: type?: ShadowType;
Old version information: ShadowType|Class name: ShadowOptions;
Method or attribute name: type?: ShadowType;
New version information: ?ShadowType|common.d.ts| +|Type changed|Class name: ShadowOptions;
Method or attribute name: color?: Color \| string \| Resource;
Old version information: |Class name: ShadowOptions;
Method or attribute name: color?: Color \| string \| Resource;
New version information: ?(Color \| string \| Resource)|common.d.ts| +|Type changed|Class name: ShadowOptions;
Method or attribute name: offsetX?: number \| Resource;
Old version information: |Class name: ShadowOptions;
Method or attribute name: offsetX?: number \| Resource;
New version information: ?(number \| Resource)|common.d.ts| +|Type changed|Class name: ShadowOptions;
Method or attribute name: offsetY?: number \| Resource;
Old version information: |Class name: ShadowOptions;
Method or attribute name: offsetY?: number \| Resource;
New version information: ?(number \| Resource)|common.d.ts| +|Type changed|Class name: BaseEvent;
Method or attribute name: target: EventTarget;
Old version information: |Class name: BaseEvent;
Method or attribute name: target: EventTarget;
New version information: EventTarget|common.d.ts| +|Type changed|Class name: BaseEvent;
Method or attribute name: timestamp: number;
Old version information: |Class name: BaseEvent;
Method or attribute name: timestamp: number;
New version information: number|common.d.ts| +|Type changed|Class name: KeyEvent;
Method or attribute name: timestamp: number;
Old version information: |Class name: KeyEvent;
Method or attribute name: timestamp: number;
New version information: number|common.d.ts| +|Type changed|Class name: BaseEvent;
Method or attribute name: source: SourceType;
Old version information: |Class name: BaseEvent;
Method or attribute name: source: SourceType;
New version information: SourceType|common.d.ts| +|Type changed|Class name: BaseEvent;
Method or attribute name: pressure: number;
Old version information: |Class name: BaseEvent;
Method or attribute name: pressure: number;
New version information: number|common.d.ts| +|Type changed|Class name: BaseEvent;
Method or attribute name: tiltX: number;
Old version information: |Class name: BaseEvent;
Method or attribute name: tiltX: number;
New version information: number|common.d.ts| +|Type changed|Class name: BaseEvent;
Method or attribute name: tiltY: number;
Old version information: |Class name: BaseEvent;
Method or attribute name: tiltY: number;
New version information: number|common.d.ts| +|Type changed|Class name: BaseEvent;
Method or attribute name: sourceTool: SourceTool;
Old version information: |Class name: BaseEvent;
Method or attribute name: sourceTool: SourceTool;
New version information: SourceTool|common.d.ts| +|Type changed|Class name: BorderImageOption;
Method or attribute name: slice?: Length \| EdgeWidths,
Old version information: |Class name: BorderImageOption;
Method or attribute name: slice?: Length \| EdgeWidths,
New version information: ?(Length \| EdgeWidths)|common.d.ts| +|Type changed|Class name: BorderImageOption;
Method or attribute name: repeat?: RepeatMode,
Old version information: |Class name: BorderImageOption;
Method or attribute name: repeat?: RepeatMode,
New version information: ?RepeatMode|common.d.ts| +|Type changed|Class name: BorderImageOption;
Method or attribute name: source?: string \| Resource \| LinearGradient,
Old version information: |Class name: BorderImageOption;
Method or attribute name: source?: string \| Resource \| LinearGradient,
New version information: ?(string \| Resource \| LinearGradient)|common.d.ts| +|Type changed|Class name: BorderImageOption;
Method or attribute name: width?: Length \| EdgeWidths,
Old version information: |Class name: BorderImageOption;
Method or attribute name: width?: Length \| EdgeWidths,
New version information: ?(Length \| EdgeWidths)|common.d.ts| +|Type changed|Class name: BorderImageOption;
Method or attribute name: outset?: Length \| EdgeWidths,
Old version information: |Class name: BorderImageOption;
Method or attribute name: outset?: Length \| EdgeWidths,
New version information: ?(Length \| EdgeWidths)|common.d.ts| +|Type changed|Class name: BorderImageOption;
Method or attribute name: fill?: boolean
Old version information: |Class name: BorderImageOption;
Method or attribute name: fill?: boolean
New version information: ?boolean|common.d.ts| +|Type changed|Class name: ClickEvent;
Method or attribute name: screenX: number;
Old version information: |Class name: ClickEvent;
Method or attribute name: screenX: number;
New version information: number|common.d.ts| +|Type changed|Class name: MouseEvent;
Method or attribute name: screenX: number;
Old version information: |Class name: MouseEvent;
Method or attribute name: screenX: number;
New version information: number|common.d.ts| +|Type changed|Class name: TouchObject;
Method or attribute name: screenX: number;
Old version information: |Class name: TouchObject;
Method or attribute name: screenX: number;
New version information: number|common.d.ts| +|Type changed|Class name: ClickEvent;
Method or attribute name: screenY: number;
Old version information: |Class name: ClickEvent;
Method or attribute name: screenY: number;
New version information: number|common.d.ts| +|Type changed|Class name: MouseEvent;
Method or attribute name: screenY: number;
Old version information: |Class name: MouseEvent;
Method or attribute name: screenY: number;
New version information: number|common.d.ts| +|Type changed|Class name: TouchObject;
Method or attribute name: screenY: number;
Old version information: |Class name: TouchObject;
Method or attribute name: screenY: number;
New version information: number|common.d.ts| +|Type changed|Class name: MouseEvent;
Method or attribute name: button: MouseButton;
Old version information: |Class name: MouseEvent;
Method or attribute name: button: MouseButton;
New version information: MouseButton|common.d.ts| +|Type changed|Class name: MouseEvent;
Method or attribute name: action: MouseAction;
Old version information: |Class name: MouseEvent;
Method or attribute name: action: MouseAction;
New version information: MouseAction|common.d.ts| +|Type changed|Class name: MouseEvent;
Method or attribute name: stopPropagation?: () => void;
Old version information: |Class name: MouseEvent;
Method or attribute name: stopPropagation?: () => void;
New version information: ?(() => void)|common.d.ts| +|Type changed|Class name: KeyEvent;
Method or attribute name: stopPropagation?: () => void;
Old version information: |Class name: KeyEvent;
Method or attribute name: stopPropagation?: () => void;
New version information: ?(() => void)|common.d.ts| +|Type changed|Class name: TouchObject;
Method or attribute name: type: TouchType;
Old version information: |Class name: TouchObject;
Method or attribute name: type: TouchType;
New version information: TouchType|common.d.ts| +|Type changed|Class name: TouchEvent;
Method or attribute name: type: TouchType;
Old version information: |Class name: TouchEvent;
Method or attribute name: type: TouchType;
New version information: TouchType|common.d.ts| +|Type changed|Class name: TouchObject;
Method or attribute name: id: number;
Old version information: |Class name: TouchObject;
Method or attribute name: id: number;
New version information: number|common.d.ts| +|Type changed|Class name: TouchEvent;
Method or attribute name: touches: TouchObject[];
Old version information: |Class name: TouchEvent;
Method or attribute name: touches: TouchObject[];
New version information: TouchObject[]|common.d.ts| +|Type changed|Class name: TouchEvent;
Method or attribute name: changedTouches: TouchObject[];
Old version information: |Class name: TouchEvent;
Method or attribute name: changedTouches: TouchObject[];
New version information: TouchObject[]|common.d.ts| +|Type changed|Class name: DragEvent;
Method or attribute name: getX(): number;
Old version information: |Class name: DragEvent;
Method or attribute name: getX(): number;
New version information: number|common.d.ts| +|Type changed|Class name: DragEvent;
Method or attribute name: getY(): number;
Old version information: |Class name: DragEvent;
Method or attribute name: getY(): number;
New version information: number|common.d.ts| +|Type changed|Class name: KeyEvent;
Method or attribute name: type: KeyType;
Old version information: |Class name: KeyEvent;
Method or attribute name: type: KeyType;
New version information: KeyType|common.d.ts| +|Type changed|Class name: KeyEvent;
Method or attribute name: keyCode: number;
Old version information: |Class name: KeyEvent;
Method or attribute name: keyCode: number;
New version information: number|common.d.ts| +|Type changed|Class name: KeyEvent;
Method or attribute name: keyText: string;
Old version information: |Class name: KeyEvent;
Method or attribute name: keyText: string;
New version information: string|common.d.ts| +|Type changed|Class name: KeyEvent;
Method or attribute name: keySource: KeySource;
Old version information: |Class name: KeyEvent;
Method or attribute name: keySource: KeySource;
New version information: KeySource|common.d.ts| +|Type changed|Class name: KeyEvent;
Method or attribute name: deviceId: number;
Old version information: |Class name: KeyEvent;
Method or attribute name: deviceId: number;
New version information: number|common.d.ts| +|Type changed|Class name: KeyEvent;
Method or attribute name: metaKey: number;
Old version information: |Class name: KeyEvent;
Method or attribute name: metaKey: number;
New version information: number|common.d.ts| +|Type changed|Class name: StateStyles;
Method or attribute name: normal?: any;
Old version information: |Class name: StateStyles;
Method or attribute name: normal?: any;
New version information: ?any|common.d.ts| +|Type changed|Class name: StateStyles;
Method or attribute name: pressed?: any;
Old version information: |Class name: StateStyles;
Method or attribute name: pressed?: any;
New version information: ?any|common.d.ts| +|Type changed|Class name: StateStyles;
Method or attribute name: disabled?: any;
Old version information: |Class name: StateStyles;
Method or attribute name: disabled?: any;
New version information: ?any|common.d.ts| +|Type changed|Class name: StateStyles;
Method or attribute name: focused?: any;
Old version information: |Class name: StateStyles;
Method or attribute name: focused?: any;
New version information: ?any|common.d.ts| +|Type changed|Class name: StateStyles;
Method or attribute name: clicked?: any;
Old version information: |Class name: StateStyles;
Method or attribute name: clicked?: any;
New version information: ?any|common.d.ts| +|Type changed|Class name: PopupMessageOptions;
Method or attribute name: textColor?: ResourceColor;
Old version information: ResourceColor|Class name: PopupMessageOptions;
Method or attribute name: textColor?: ResourceColor;
New version information: ?ResourceColor|common.d.ts| +|Type changed|Class name: PopupOptions;
Method or attribute name: message: string;
Old version information: |Class name: PopupOptions;
Method or attribute name: message: string;
New version information: string|common.d.ts| +|Type changed|Class name: PopupOptions;
Method or attribute name: placementOnTop?: boolean;
Old version information: |Class name: PopupOptions;
Method or attribute name: placementOnTop?: boolean;
New version information: ?boolean|common.d.ts| +|Type changed|Class name: PopupOptions;
Method or attribute name: placement?: Placement;
Old version information: Placement|Class name: PopupOptions;
Method or attribute name: placement?: Placement;
New version information: ?Placement|common.d.ts| +|Type changed|Class name: CustomPopupOptions;
Method or attribute name: placement?: Placement;
Old version information: |Class name: CustomPopupOptions;
Method or attribute name: placement?: Placement;
New version information: ?Placement|common.d.ts| +|Type changed|Class name: PopupOptions;
Method or attribute name: arrowOffset?: Length;
Old version information: |Class name: PopupOptions;
Method or attribute name: arrowOffset?: Length;
New version information: ?Length|common.d.ts| +|Type changed|Class name: CustomPopupOptions;
Method or attribute name: arrowOffset?: Length;
Old version information: |Class name: CustomPopupOptions;
Method or attribute name: arrowOffset?: Length;
New version information: ?Length|common.d.ts| +|Type changed|Class name: PopupOptions;
Method or attribute name: showInSubWindow?: boolean;
Old version information: |Class name: PopupOptions;
Method or attribute name: showInSubWindow?: boolean;
New version information: ?boolean|common.d.ts| +|Type changed|Class name: CustomPopupOptions;
Method or attribute name: showInSubWindow?: boolean;
Old version information: |Class name: CustomPopupOptions;
Method or attribute name: showInSubWindow?: boolean;
New version information: ?boolean|common.d.ts| +|Type changed|Class name: PopupOptions;
Method or attribute name: mask?: boolean \| { color: ResourceColor };
Old version information: |Class name: PopupOptions;
Method or attribute name: mask?: boolean \| { color: ResourceColor };
New version information: ?(boolean \| { color: ResourceColor })|common.d.ts| +|Type changed|Class name: CustomPopupOptions;
Method or attribute name: mask?: boolean \| { color: ResourceColor };
Old version information: |Class name: CustomPopupOptions;
Method or attribute name: mask?: boolean \| { color: ResourceColor };
New version information: ?(boolean \| { color: ResourceColor })|common.d.ts| +|Type changed|Class name: PopupOptions;
Method or attribute name: messageOptions?: PopupMessageOptions
Old version information: PopupMessageOptions|Class name: PopupOptions;
Method or attribute name: messageOptions?: PopupMessageOptions
New version information: ?PopupMessageOptions|common.d.ts| +|Type changed|Class name: PopupOptions;
Method or attribute name: targetSpace?: Length
Old version information: Length|Class name: PopupOptions;
Method or attribute name: targetSpace?: Length
New version information: ?Length|common.d.ts| +|Type changed|Class name: CustomPopupOptions;
Method or attribute name: targetSpace?: Length
Old version information: Length|Class name: CustomPopupOptions;
Method or attribute name: targetSpace?: Length
New version information: ?Length|common.d.ts| +|Type changed|Class name: CustomPopupOptions;
Method or attribute name: builder: CustomBuilder;
Old version information: |Class name: CustomPopupOptions;
Method or attribute name: builder: CustomBuilder;
New version information: CustomBuilder|common.d.ts| +|Type changed|Class name: CustomPopupOptions;
Method or attribute name: maskColor?: Color \| string \| Resource \| number;
Old version information: |Class name: CustomPopupOptions;
Method or attribute name: maskColor?: Color \| string \| Resource \| number;
New version information: ?(Color \| string \| Resource \| number)|common.d.ts| +|Type changed|Class name: CustomPopupOptions;
Method or attribute name: popupColor?: Color \| string \| Resource \| number;
Old version information: |Class name: CustomPopupOptions;
Method or attribute name: popupColor?: Color \| string \| Resource \| number;
New version information: ?(Color \| string \| Resource \| number)|common.d.ts| +|Type changed|Class name: CustomPopupOptions;
Method or attribute name: enableArrow?: boolean;
Old version information: |Class name: CustomPopupOptions;
Method or attribute name: enableArrow?: boolean;
New version information: ?boolean|common.d.ts| +|Type changed|Class name: CustomPopupOptions;
Method or attribute name: autoCancel?: boolean;
Old version information: |Class name: CustomPopupOptions;
Method or attribute name: autoCancel?: boolean;
New version information: ?boolean|common.d.ts| +|Type changed|Class name: ContextMenuOptions;
Method or attribute name: onAppear?: () => void;
Old version information: ?() => void|Class name: ContextMenuOptions;
Method or attribute name: onAppear?: () => void;
New version information: ?(() => void)|common.d.ts| +|Type changed|Class name: ContextMenuOptions;
Method or attribute name: onDisappear?: () => void;
Old version information: ?() => void|Class name: ContextMenuOptions;
Method or attribute name: onDisappear?: () => void;
New version information: ?(() => void)|common.d.ts| +|Type changed|Class name: PixelStretchEffectOptions;
Method or attribute name: top?: Length;
Old version information: Length|Class name: PixelStretchEffectOptions;
Method or attribute name: top?: Length;
New version information: ?Length|common.d.ts| +|Type changed|Class name: PixelStretchEffectOptions;
Method or attribute name: bottom?: Length;
Old version information: Length|Class name: PixelStretchEffectOptions;
Method or attribute name: bottom?: Length;
New version information: ?Length|common.d.ts| +|Type changed|Class name: PixelStretchEffectOptions;
Method or attribute name: left?: Length;
Old version information: Length|Class name: PixelStretchEffectOptions;
Method or attribute name: left?: Length;
New version information: ?Length|common.d.ts| +|Type changed|Class name: LayoutBorderInfo;
Method or attribute name: borderWidth: EdgeWidths;
Old version information: |Class name: LayoutBorderInfo;
Method or attribute name: borderWidth: EdgeWidths;
New version information: EdgeWidths|common.d.ts| +|Type changed|Class name: LayoutBorderInfo;
Method or attribute name: margin: Margin,
Old version information: |Class name: LayoutBorderInfo;
Method or attribute name: margin: Margin,
New version information: Margin|common.d.ts| +|Type changed|Class name: LayoutBorderInfo;
Method or attribute name: padding: Padding,
Old version information: |Class name: LayoutBorderInfo;
Method or attribute name: padding: Padding,
New version information: Padding|common.d.ts| +|Type changed|Class name: LayoutInfo;
Method or attribute name: position: Position,
Old version information: |Class name: LayoutInfo;
Method or attribute name: position: Position,
New version information: Position|common.d.ts| +|Type changed|Class name: LayoutChild;
Method or attribute name: position: Position,
Old version information: |Class name: LayoutChild;
Method or attribute name: position: Position,
New version information: Position|common.d.ts| +|Type changed|Class name: LayoutInfo;
Method or attribute name: constraint: ConstraintSizeOptions,
Old version information: |Class name: LayoutInfo;
Method or attribute name: constraint: ConstraintSizeOptions,
New version information: ConstraintSizeOptions|common.d.ts| +|Type changed|Class name: LayoutChild;
Method or attribute name: constraint: ConstraintSizeOptions,
Old version information: |Class name: LayoutChild;
Method or attribute name: constraint: ConstraintSizeOptions,
New version information: ConstraintSizeOptions|common.d.ts| +|Type changed|Class name: LayoutChild;
Method or attribute name: name: string,
Old version information: |Class name: LayoutChild;
Method or attribute name: name: string,
New version information: string|common.d.ts| +|Type changed|Class name: LayoutChild;
Method or attribute name: id: string,
Old version information: |Class name: LayoutChild;
Method or attribute name: id: string,
New version information: string|common.d.ts| +|Type changed|Class name: LayoutChild;
Method or attribute name: borderInfo: LayoutBorderInfo,
Old version information: |Class name: LayoutChild;
Method or attribute name: borderInfo: LayoutBorderInfo,
New version information: LayoutBorderInfo|common.d.ts| +|Type changed|Class name: SubscribedAbstractProperty;
Method or attribute name: protected subscribers_: Set\;
Old version information: |Class name: SubscribedAbstractProperty;
Method or attribute name: protected subscribers_: Set\;
New version information: Set\|common_ts_ets_api.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: builder: any;
Old version information: |Class name: CustomDialogControllerOptions;
Method or attribute name: builder: any;
New version information: any|custom_dialog_controller.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: cancel?: () => void;
Old version information: |Class name: CustomDialogControllerOptions;
Method or attribute name: cancel?: () => void;
New version information: ?(() => void)|custom_dialog_controller.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: autoCancel?: boolean;
Old version information: |Class name: CustomDialogControllerOptions;
Method or attribute name: autoCancel?: boolean;
New version information: ?boolean|custom_dialog_controller.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: alignment?: DialogAlignment;
Old version information: |Class name: CustomDialogControllerOptions;
Method or attribute name: alignment?: DialogAlignment;
New version information: ?DialogAlignment|custom_dialog_controller.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: offset?: Offset;
Old version information: |Class name: CustomDialogControllerOptions;
Method or attribute name: offset?: Offset;
New version information: ?Offset|custom_dialog_controller.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: customStyle?: boolean;
Old version information: |Class name: CustomDialogControllerOptions;
Method or attribute name: customStyle?: boolean;
New version information: ?boolean|custom_dialog_controller.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: gridCount?: number;
Old version information: |Class name: CustomDialogControllerOptions;
Method or attribute name: gridCount?: number;
New version information: ?number|custom_dialog_controller.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: maskColor?: ResourceColor;
Old version information: |Class name: CustomDialogControllerOptions;
Method or attribute name: maskColor?: ResourceColor;
New version information: ?ResourceColor|custom_dialog_controller.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: openAnimation?: AnimateParam;
Old version information: |Class name: CustomDialogControllerOptions;
Method or attribute name: openAnimation?: AnimateParam;
New version information: ?AnimateParam|custom_dialog_controller.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: closeAnimation?: AnimateParam;
Old version information: |Class name: CustomDialogControllerOptions;
Method or attribute name: closeAnimation?: AnimateParam;
New version information: ?AnimateParam|custom_dialog_controller.d.ts| +|Type changed|Class name: CustomDialogControllerOptions;
Method or attribute name: showInSubWindow?: boolean;
Old version information: boolean|Class name: CustomDialogControllerOptions;
Method or attribute name: showInSubWindow?: boolean;
New version information: ?boolean|custom_dialog_controller.d.ts| +|Type changed|Class name: DataPanelOptions;
Method or attribute name: values: number[];
Old version information: |Class name: DataPanelOptions;
Method or attribute name: values: number[];
New version information: number[]|data_panel.d.ts| +|Type changed|Class name: DataPanelOptions;
Method or attribute name: max?: number;
Old version information: |Class name: DataPanelOptions;
Method or attribute name: max?: number;
New version information: ?number|data_panel.d.ts| +|Type changed|Class name: DataPanelOptions;
Method or attribute name: type?: DataPanelType;
Old version information: |Class name: DataPanelOptions;
Method or attribute name: type?: DataPanelType;
New version information: ?DataPanelType|data_panel.d.ts| +|Type changed|Class name: DatePickerResult;
Method or attribute name: year?: number;
Old version information: |Class name: DatePickerResult;
Method or attribute name: year?: number;
New version information: ?number|date_picker.d.ts| +|Type changed|Class name: DatePickerResult;
Method or attribute name: month?: number;
Old version information: |Class name: DatePickerResult;
Method or attribute name: month?: number;
New version information: ?number|date_picker.d.ts| +|Type changed|Class name: DatePickerResult;
Method or attribute name: day?: number;
Old version information: |Class name: DatePickerResult;
Method or attribute name: day?: number;
New version information: ?number|date_picker.d.ts| +|Type changed|Class name: DatePickerOptions;
Method or attribute name: start?: Date;
Old version information: |Class name: DatePickerOptions;
Method or attribute name: start?: Date;
New version information: ?Date|date_picker.d.ts| +|Type changed|Class name: DatePickerOptions;
Method or attribute name: end?: Date;
Old version information: |Class name: DatePickerOptions;
Method or attribute name: end?: Date;
New version information: ?Date|date_picker.d.ts| +|Type changed|Class name: DatePickerOptions;
Method or attribute name: selected?: Date;
Old version information: |Class name: DatePickerOptions;
Method or attribute name: selected?: Date;
New version information: ?Date|date_picker.d.ts| +|Type changed|Class name: DatePickerDialogOptions;
Method or attribute name: lunar?: boolean;
Old version information: |Class name: DatePickerDialogOptions;
Method or attribute name: lunar?: boolean;
New version information: ?boolean|date_picker.d.ts| +|Type changed|Class name: DatePickerDialogOptions;
Method or attribute name: showTime?: boolean;
Old version information: boolean|Class name: DatePickerDialogOptions;
Method or attribute name: showTime?: boolean;
New version information: ?boolean|date_picker.d.ts| +|Type changed|Class name: DatePickerDialogOptions;
Method or attribute name: useMilitaryTime?: boolean;
Old version information: boolean|Class name: DatePickerDialogOptions;
Method or attribute name: useMilitaryTime?: boolean;
New version information: ?boolean|date_picker.d.ts| +|Type changed|Class name: DatePickerDialogOptions;
Method or attribute name: disappearTextStyle?: PickerTextStyle;
Old version information: PickerTextStyle|Class name: DatePickerDialogOptions;
Method or attribute name: disappearTextStyle?: PickerTextStyle;
New version information: ?PickerTextStyle|date_picker.d.ts| +|Type changed|Class name: DatePickerDialogOptions;
Method or attribute name: textStyle?: PickerTextStyle;
Old version information: PickerTextStyle|Class name: DatePickerDialogOptions;
Method or attribute name: textStyle?: PickerTextStyle;
New version information: ?PickerTextStyle|date_picker.d.ts| +|Type changed|Class name: DatePickerDialogOptions;
Method or attribute name: selectedTextStyle?: PickerTextStyle;
Old version information: PickerTextStyle|Class name: DatePickerDialogOptions;
Method or attribute name: selectedTextStyle?: PickerTextStyle;
New version information: ?PickerTextStyle|date_picker.d.ts| +|Type changed|Class name: DatePickerDialogOptions;
Method or attribute name: onAccept?: (value: DatePickerResult) => void;
Old version information: |Class name: DatePickerDialogOptions;
Method or attribute name: onAccept?: (value: DatePickerResult) => void;
New version information: ?((value: DatePickerResult) => void)|date_picker.d.ts| +|Type changed|Class name: DatePickerDialogOptions;
Method or attribute name: onCancel?: () => void;
Old version information: |Class name: DatePickerDialogOptions;
Method or attribute name: onCancel?: () => void;
New version information: ?(() => void)|date_picker.d.ts| +|Type changed|Class name: DatePickerDialogOptions;
Method or attribute name: onChange?: (value: DatePickerResult) => void;
Old version information: |Class name: DatePickerDialogOptions;
Method or attribute name: onChange?: (value: DatePickerResult) => void;
New version information: ?((value: DatePickerResult) => void)|date_picker.d.ts| +|Type changed|Class name: FlexOptions;
Method or attribute name: direction?: FlexDirection;
Old version information: |Class name: FlexOptions;
Method or attribute name: direction?: FlexDirection;
New version information: ?FlexDirection|flex.d.ts| +|Type changed|Class name: FlexOptions;
Method or attribute name: wrap?: FlexWrap;
Old version information: |Class name: FlexOptions;
Method or attribute name: wrap?: FlexWrap;
New version information: ?FlexWrap|flex.d.ts| +|Type changed|Class name: FlexOptions;
Method or attribute name: justifyContent?: FlexAlign;
Old version information: |Class name: FlexOptions;
Method or attribute name: justifyContent?: FlexAlign;
New version information: ?FlexAlign|flex.d.ts| +|Type changed|Class name: FlexOptions;
Method or attribute name: alignItems?: ItemAlign;
Old version information: |Class name: FlexOptions;
Method or attribute name: alignItems?: ItemAlign;
New version information: ?ItemAlign|flex.d.ts| +|Type changed|Class name: FlexOptions;
Method or attribute name: alignContent?: FlexAlign;
Old version information: |Class name: FlexOptions;
Method or attribute name: alignContent?: FlexAlign;
New version information: ?FlexAlign|flex.d.ts| +|Type changed|Class name: FingerInfo;
Method or attribute name: id: number;
Old version information: |Class name: FingerInfo;
Method or attribute name: id: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: FingerInfo;
Method or attribute name: globalX: number;
Old version information: |Class name: FingerInfo;
Method or attribute name: globalX: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: FingerInfo;
Method or attribute name: globalY: number;
Old version information: |Class name: FingerInfo;
Method or attribute name: globalY: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: FingerInfo;
Method or attribute name: localX: number;
Old version information: |Class name: FingerInfo;
Method or attribute name: localX: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: FingerInfo;
Method or attribute name: localY: number;
Old version information: |Class name: FingerInfo;
Method or attribute name: localY: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: GestureEvent;
Method or attribute name: repeat: boolean;
Old version information: |Class name: GestureEvent;
Method or attribute name: repeat: boolean;
New version information: boolean|gesture.d.ts| +|Type changed|Class name: GestureEvent;
Method or attribute name: fingerList: FingerInfo[];
Old version information: |Class name: GestureEvent;
Method or attribute name: fingerList: FingerInfo[];
New version information: FingerInfo[]|gesture.d.ts| +|Type changed|Class name: GestureEvent;
Method or attribute name: offsetX: number;
Old version information: |Class name: GestureEvent;
Method or attribute name: offsetX: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: GestureEvent;
Method or attribute name: offsetY: number;
Old version information: |Class name: GestureEvent;
Method or attribute name: offsetY: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: GestureEvent;
Method or attribute name: angle: number;
Old version information: |Class name: GestureEvent;
Method or attribute name: angle: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: GestureEvent;
Method or attribute name: speed: number;
Old version information: |Class name: GestureEvent;
Method or attribute name: speed: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: GestureEvent;
Method or attribute name: scale: number;
Old version information: |Class name: GestureEvent;
Method or attribute name: scale: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: GestureEvent;
Method or attribute name: pinchCenterX: number;
Old version information: |Class name: GestureEvent;
Method or attribute name: pinchCenterX: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: GestureEvent;
Method or attribute name: pinchCenterY: number;
Old version information: |Class name: GestureEvent;
Method or attribute name: pinchCenterY: number;
New version information: number|gesture.d.ts| +|Type changed|Class name: GridColColumnOption;
Method or attribute name: xs?: number,
Old version information: |Class name: GridColColumnOption;
Method or attribute name: xs?: number,
New version information: ?number|grid_col.d.ts| +|Type changed|Class name: GridColColumnOption;
Method or attribute name: sm?: number,
Old version information: |Class name: GridColColumnOption;
Method or attribute name: sm?: number,
New version information: ?number|grid_col.d.ts| +|Type changed|Class name: GridColColumnOption;
Method or attribute name: md?: number,
Old version information: |Class name: GridColColumnOption;
Method or attribute name: md?: number,
New version information: ?number|grid_col.d.ts| +|Type changed|Class name: GridColColumnOption;
Method or attribute name: lg?: number,
Old version information: |Class name: GridColColumnOption;
Method or attribute name: lg?: number,
New version information: ?number|grid_col.d.ts| +|Type changed|Class name: GridColColumnOption;
Method or attribute name: xl?: number,
Old version information: |Class name: GridColColumnOption;
Method or attribute name: xl?: number,
New version information: ?number|grid_col.d.ts| +|Type changed|Class name: GridColColumnOption;
Method or attribute name: xxl?: number,
Old version information: |Class name: GridColColumnOption;
Method or attribute name: xxl?: number,
New version information: ?number|grid_col.d.ts| +|Type changed|Class name: GridColOptions;
Method or attribute name: span?: number \| GridColColumnOption;
Old version information: |Class name: GridColOptions;
Method or attribute name: span?: number \| GridColColumnOption;
New version information: ?(number \| GridColColumnOption)|grid_col.d.ts| +|Type changed|Class name: GridColOptions;
Method or attribute name: offset?: number \| GridColColumnOption;
Old version information: |Class name: GridColOptions;
Method or attribute name: offset?: number \| GridColColumnOption;
New version information: ?(number \| GridColColumnOption)|grid_col.d.ts| +|Type changed|Class name: GridColOptions;
Method or attribute name: order?: number \| GridColColumnOption;
Old version information: |Class name: GridColOptions;
Method or attribute name: order?: number \| GridColColumnOption;
New version information: ?(number \| GridColColumnOption)|grid_col.d.ts| +|Type changed|Class name: GridContainerOptions;
Method or attribute name: columns?: number \| "auto";
Old version information: |Class name: GridContainerOptions;
Method or attribute name: columns?: number \| "auto";
New version information: ?(number \| "auto")|grid_container.d.ts| +|Type changed|Class name: GridContainerOptions;
Method or attribute name: sizeType?: SizeType;
Old version information: |Class name: GridContainerOptions;
Method or attribute name: sizeType?: SizeType;
New version information: ?SizeType|grid_container.d.ts| +|Type changed|Class name: GridContainerOptions;
Method or attribute name: gutter?: number \| string;
Old version information: |Class name: GridContainerOptions;
Method or attribute name: gutter?: number \| string;
New version information: ?(number \| string)|grid_container.d.ts| +|Type changed|Class name: GridContainerOptions;
Method or attribute name: margin?: number \| string;
Old version information: |Class name: GridContainerOptions;
Method or attribute name: margin?: number \| string;
New version information: ?(number \| string)|grid_container.d.ts| +|Type changed|Class name: GridRowSizeOption;
Method or attribute name: xs?: Length,
Old version information: |Class name: GridRowSizeOption;
Method or attribute name: xs?: Length,
New version information: ?Length|grid_row.d.ts| +|Type changed|Class name: GridRowSizeOption;
Method or attribute name: sm?: Length,
Old version information: |Class name: GridRowSizeOption;
Method or attribute name: sm?: Length,
New version information: ?Length|grid_row.d.ts| +|Type changed|Class name: GridRowSizeOption;
Method or attribute name: md?: Length,
Old version information: |Class name: GridRowSizeOption;
Method or attribute name: md?: Length,
New version information: ?Length|grid_row.d.ts| +|Type changed|Class name: GridRowSizeOption;
Method or attribute name: lg?: Length,
Old version information: |Class name: GridRowSizeOption;
Method or attribute name: lg?: Length,
New version information: ?Length|grid_row.d.ts| +|Type changed|Class name: GridRowSizeOption;
Method or attribute name: xl?: Length,
Old version information: |Class name: GridRowSizeOption;
Method or attribute name: xl?: Length,
New version information: ?Length|grid_row.d.ts| +|Type changed|Class name: GridRowColumnOption;
Method or attribute name: xs?: number,
Old version information: |Class name: GridRowColumnOption;
Method or attribute name: xs?: number,
New version information: ?number|grid_row.d.ts| +|Type changed|Class name: GridRowColumnOption;
Method or attribute name: sm?: number,
Old version information: |Class name: GridRowColumnOption;
Method or attribute name: sm?: number,
New version information: ?number|grid_row.d.ts| +|Type changed|Class name: GridRowColumnOption;
Method or attribute name: md?: number,
Old version information: |Class name: GridRowColumnOption;
Method or attribute name: md?: number,
New version information: ?number|grid_row.d.ts| +|Type changed|Class name: GridRowColumnOption;
Method or attribute name: lg?: number,
Old version information: |Class name: GridRowColumnOption;
Method or attribute name: lg?: number,
New version information: ?number|grid_row.d.ts| +|Type changed|Class name: GridRowColumnOption;
Method or attribute name: xl?: number,
Old version information: |Class name: GridRowColumnOption;
Method or attribute name: xl?: number,
New version information: ?number|grid_row.d.ts| +|Type changed|Class name: GutterOption;
Method or attribute name: x?: Length \| GridRowSizeOption,
Old version information: |Class name: GutterOption;
Method or attribute name: x?: Length \| GridRowSizeOption,
New version information: ?(Length \| GridRowSizeOption)|grid_row.d.ts| +|Type changed|Class name: GutterOption;
Method or attribute name: y?: Length \| GridRowSizeOption
Old version information: |Class name: GutterOption;
Method or attribute name: y?: Length \| GridRowSizeOption
New version information: ?(Length \| GridRowSizeOption)|grid_row.d.ts| +|Type changed|Class name: BreakPoints;
Method or attribute name: value?: Array\,
Old version information: |Class name: BreakPoints;
Method or attribute name: value?: Array\,
New version information: ?Array\|grid_row.d.ts| +|Type changed|Class name: BreakPoints;
Method or attribute name: reference?: BreakpointsReference,
Old version information: |Class name: BreakPoints;
Method or attribute name: reference?: BreakpointsReference,
New version information: ?BreakpointsReference|grid_row.d.ts| +|Type changed|Class name: GridRowOptions;
Method or attribute name: gutter?: Length \| GutterOption;
Old version information: |Class name: GridRowOptions;
Method or attribute name: gutter?: Length \| GutterOption;
New version information: ?(Length \| GutterOption)|grid_row.d.ts| +|Type changed|Class name: GridRowOptions;
Method or attribute name: columns?: number \| GridRowColumnOption;
Old version information: |Class name: GridRowOptions;
Method or attribute name: columns?: number \| GridRowColumnOption;
New version information: ?(number \| GridRowColumnOption)|grid_row.d.ts| +|Type changed|Class name: GridRowOptions;
Method or attribute name: breakpoints?: BreakPoints;
Old version information: |Class name: GridRowOptions;
Method or attribute name: breakpoints?: BreakPoints;
New version information: ?BreakPoints|grid_row.d.ts| +|Type changed|Class name: GridRowOptions;
Method or attribute name: direction?: GridRowDirection;
Old version information: |Class name: GridRowOptions;
Method or attribute name: direction?: GridRowDirection;
New version information: ?GridRowDirection|grid_row.d.ts| +|Type changed|Class name: ImageFrameInfo;
Method or attribute name: width?: number \| string;
Old version information: |Class name: ImageFrameInfo;
Method or attribute name: width?: number \| string;
New version information: ?(number \| string)|image_animator.d.ts| +|Type changed|Class name: ImageFrameInfo;
Method or attribute name: height?: number \| string;
Old version information: |Class name: ImageFrameInfo;
Method or attribute name: height?: number \| string;
New version information: ?(number \| string)|image_animator.d.ts| +|Type changed|Class name: ImageFrameInfo;
Method or attribute name: top?: number \| string;
Old version information: |Class name: ImageFrameInfo;
Method or attribute name: top?: number \| string;
New version information: ?(number \| string)|image_animator.d.ts| +|Type changed|Class name: ImageFrameInfo;
Method or attribute name: left?: number \| string;
Old version information: |Class name: ImageFrameInfo;
Method or attribute name: left?: number \| string;
New version information: ?(number \| string)|image_animator.d.ts| +|Type changed|Class name: ImageFrameInfo;
Method or attribute name: duration?: number;
Old version information: |Class name: ImageFrameInfo;
Method or attribute name: duration?: number;
New version information: ?number|image_animator.d.ts| +|Type changed|Class name: ChainAnimationOptions;
Method or attribute name: conductivity?: number;
Old version information: number|Class name: ChainAnimationOptions;
Method or attribute name: conductivity?: number;
New version information: ?number|list.d.ts| +|Type changed|Class name: ChainAnimationOptions;
Method or attribute name: intensity?: number;
Old version information: number|Class name: ChainAnimationOptions;
Method or attribute name: intensity?: number;
New version information: ?number|list.d.ts| +|Type changed|Class name: ChainAnimationOptions;
Method or attribute name: edgeEffect?: ChainEdgeEffect;
Old version information: ChainEdgeEffect|Class name: ChainAnimationOptions;
Method or attribute name: edgeEffect?: ChainEdgeEffect;
New version information: ?ChainEdgeEffect|list.d.ts| +|Type changed|Class name: SwipeActionOptions;
Method or attribute name: start?: CustomBuilder \| SwipeActionItem;
Old version information: |Class name: SwipeActionOptions;
Method or attribute name: start?: CustomBuilder \| SwipeActionItem;
New version information: ?(CustomBuilder \| SwipeActionItem)|list_item.d.ts| +|Type changed|Class name: SwipeActionOptions;
Method or attribute name: end?: CustomBuilder \| SwipeActionItem;
Old version information: |Class name: SwipeActionOptions;
Method or attribute name: end?: CustomBuilder \| SwipeActionItem;
New version information: ?(CustomBuilder \| SwipeActionItem)|list_item.d.ts| +|Type changed|Class name: SwipeActionOptions;
Method or attribute name: edgeEffect?: SwipeEdgeEffect;
Old version information: |Class name: SwipeActionOptions;
Method or attribute name: edgeEffect?: SwipeEdgeEffect;
New version information: ?SwipeEdgeEffect|list_item.d.ts| +|Type changed|Class name: ListItemGroupOptions;
Method or attribute name: header?: CustomBuilder;
Old version information: |Class name: ListItemGroupOptions;
Method or attribute name: header?: CustomBuilder;
New version information: ?CustomBuilder|list_item_group.d.ts| +|Type changed|Class name: ListItemGroupOptions;
Method or attribute name: footer?: CustomBuilder;
Old version information: |Class name: ListItemGroupOptions;
Method or attribute name: footer?: CustomBuilder;
New version information: ?CustomBuilder|list_item_group.d.ts| +|Type changed|Class name: ListItemGroupOptions;
Method or attribute name: space?: number \| string;
Old version information: |Class name: ListItemGroupOptions;
Method or attribute name: space?: number \| string;
New version information: ?(number \| string)|list_item_group.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: scaleX?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: scaleX?: number;
New version information: ?number|matrix2d.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: rotateY?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: rotateY?: number;
New version information: ?number|matrix2d.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: rotateX?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: rotateX?: number;
New version information: ?number|matrix2d.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: scaleY?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: scaleY?: number;
New version information: ?number|matrix2d.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: translateX?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: translateX?: number;
New version information: ?number|matrix2d.d.ts| +|Type changed|Class name: Matrix2D;
Method or attribute name: translateY?: number;
Old version information: |Class name: Matrix2D;
Method or attribute name: translateY?: number;
New version information: ?number|matrix2d.d.ts| +|Type changed|Class name: MenuItemOptions;
Method or attribute name: startIcon?: ResourceStr;
Old version information: |Class name: MenuItemOptions;
Method or attribute name: startIcon?: ResourceStr;
New version information: ?ResourceStr|menu_item.d.ts| +|Type changed|Class name: MenuItemOptions;
Method or attribute name: content?: ResourceStr;
Old version information: |Class name: MenuItemOptions;
Method or attribute name: content?: ResourceStr;
New version information: ?ResourceStr|menu_item.d.ts| +|Type changed|Class name: MenuItemOptions;
Method or attribute name: endIcon?: ResourceStr;
Old version information: |Class name: MenuItemOptions;
Method or attribute name: endIcon?: ResourceStr;
New version information: ?ResourceStr|menu_item.d.ts| +|Type changed|Class name: MenuItemOptions;
Method or attribute name: labelInfo?: ResourceStr;
Old version information: |Class name: MenuItemOptions;
Method or attribute name: labelInfo?: ResourceStr;
New version information: ?ResourceStr|menu_item.d.ts| +|Type changed|Class name: MenuItemOptions;
Method or attribute name: builder?: CustomBuilder;
Old version information: |Class name: MenuItemOptions;
Method or attribute name: builder?: CustomBuilder;
New version information: ?CustomBuilder|menu_item.d.ts| +|Type changed|Class name: MenuItemGroupOptions;
Method or attribute name: header?: ResourceStr \| CustomBuilder;
Old version information: |Class name: MenuItemGroupOptions;
Method or attribute name: header?: ResourceStr \| CustomBuilder;
New version information: ?(ResourceStr \| CustomBuilder)|menu_item_group.d.ts| +|Type changed|Class name: MenuItemGroupOptions;
Method or attribute name: footer?: ResourceStr \| CustomBuilder;
Old version information: |Class name: MenuItemGroupOptions;
Method or attribute name: footer?: ResourceStr \| CustomBuilder;
New version information: ?(ResourceStr \| CustomBuilder)|menu_item_group.d.ts| +|Type changed|Class name: NavigationCommonTitle;
Method or attribute name: main: string;
Old version information: |Class name: NavigationCommonTitle;
Method or attribute name: main: string;
New version information: string|navigation.d.ts| +|Type changed|Class name: NavigationCommonTitle;
Method or attribute name: sub: string;
Old version information: |Class name: NavigationCommonTitle;
Method or attribute name: sub: string;
New version information: string|navigation.d.ts| +|Type changed|Class name: NavigationCustomTitle;
Method or attribute name: builder: CustomBuilder;
Old version information: |Class name: NavigationCustomTitle;
Method or attribute name: builder: CustomBuilder;
New version information: CustomBuilder|navigation.d.ts| +|Type changed|Class name: NavigationCustomTitle;
Method or attribute name: height: TitleHeight \| Length;
Old version information: |Class name: NavigationCustomTitle;
Method or attribute name: height: TitleHeight \| Length;
New version information: TitleHeight \| Length|navigation.d.ts| +|Type changed|Class name: NavigationMenuItem;
Method or attribute name: value: string;
Old version information: |Class name: NavigationMenuItem;
Method or attribute name: value: string;
New version information: string|navigation.d.ts| +|Type changed|Class name: NavigationMenuItem;
Method or attribute name: icon?: string;
Old version information: |Class name: NavigationMenuItem;
Method or attribute name: icon?: string;
New version information: ?string|navigation.d.ts| +|Type changed|Class name: NavigationMenuItem;
Method or attribute name: action?: () => void;
Old version information: |Class name: NavigationMenuItem;
Method or attribute name: action?: () => void;
New version information: ?(() => void)|navigation.d.ts| +|Type changed|Class name: NavPathInfo;
Method or attribute name: param?: unknown;
Old version information: unknown|Class name: NavPathInfo;
Method or attribute name: param?: unknown;
New version information: ?unknown|navigation.d.ts| +|Type changed|Class name: NavigationAttribute;
Method or attribute name: title(value: ResourceStr \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle): NavigationAttribute;
Old version information: (ResourceStr \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle)|Class name: NavigationAttribute;
Method or attribute name: title(value: ResourceStr \| CustomBuilder \| NavigationCommonTitle \| NavigationCustomTitle): NavigationAttribute;
New version information: |navigation.d.ts| +|Type changed|Class name: NavDestinationCommonTitle;
Method or attribute name: main: string;
Old version information: |Class name: NavDestinationCommonTitle;
Method or attribute name: main: string;
New version information: string|nav_destination.d.ts| +|Type changed|Class name: NavDestinationCommonTitle;
Method or attribute name: sub: string;
Old version information: |Class name: NavDestinationCommonTitle;
Method or attribute name: sub: string;
New version information: string|nav_destination.d.ts| +|Type changed|Class name: NavDestinationCustomTitle;
Method or attribute name: builder: CustomBuilder;
Old version information: |Class name: NavDestinationCustomTitle;
Method or attribute name: builder: CustomBuilder;
New version information: CustomBuilder|nav_destination.d.ts| +|Type changed|Class name: NavDestinationCustomTitle;
Method or attribute name: height: TitleHeight \| Length;
Old version information: |Class name: NavDestinationCustomTitle;
Method or attribute name: height: TitleHeight \| Length;
New version information: TitleHeight \| Length|nav_destination.d.ts| +|Type changed|Class name: RouteInfo;
Method or attribute name: param?: unknown;
Old version information: unknown|Class name: RouteInfo;
Method or attribute name: param?: unknown;
New version information: ?unknown|nav_router.d.ts| +|Type changed|Class name: PluginComponentTemplate;
Method or attribute name: source: string;
Old version information: |Class name: PluginComponentTemplate;
Method or attribute name: source: string;
New version information: string|plugin_component.d.ts| +|Type changed|Class name: PluginComponentTemplate;
Method or attribute name: bundleName: string;
Old version information: |Class name: PluginComponentTemplate;
Method or attribute name: bundleName: string;
New version information: string|plugin_component.d.ts| +|Type changed|Class name: ProgressOptions;
Method or attribute name: value: number;
Old version information: |Class name: ProgressOptions;
Method or attribute name: value: number;
New version information: number|progress.d.ts| +|Type changed|Class name: ProgressOptions;
Method or attribute name: total?: number;
Old version information: |Class name: ProgressOptions;
Method or attribute name: total?: number;
New version information: ?number|progress.d.ts| +|Type changed|Class name: ProgressOptions;
Method or attribute name: style?: ProgressStyle
Old version information: |Class name: ProgressOptions;
Method or attribute name: style?: ProgressStyle
New version information: ?ProgressStyle|progress.d.ts| +|Type changed|Class name: ProgressOptions;
Method or attribute name: type?: Type
Old version information: |Class name: ProgressOptions;
Method or attribute name: type?: Type
New version information: ?Type|progress.d.ts| +|Type changed|Class name: ProgressStyleOptions;
Method or attribute name: strokeWidth?: Length;
Old version information: |Class name: ProgressStyleOptions;
Method or attribute name: strokeWidth?: Length;
New version information: ?Length|progress.d.ts| +|Type changed|Class name: ProgressStyleOptions;
Method or attribute name: scaleCount?: number;
Old version information: |Class name: ProgressStyleOptions;
Method or attribute name: scaleCount?: number;
New version information: ?number|progress.d.ts| +|Type changed|Class name: ProgressStyleOptions;
Method or attribute name: scaleWidth?: Length;
Old version information: |Class name: ProgressStyleOptions;
Method or attribute name: scaleWidth?: Length;
New version information: ?Length|progress.d.ts| +|Type changed|Class name: RadioOptions;
Method or attribute name: group: string;
Old version information: |Class name: RadioOptions;
Method or attribute name: group: string;
New version information: string|radio.d.ts| +|Type changed|Class name: RadioOptions;
Method or attribute name: value: string;
Old version information: |Class name: RadioOptions;
Method or attribute name: value: string;
New version information: string|radio.d.ts| +|Type changed|Class name: RadioStyle;
Method or attribute name: checkedBackgroundColor?: ResourceColor;
Old version information: ResourceColor|Class name: RadioStyle;
Method or attribute name: checkedBackgroundColor?: ResourceColor;
New version information: ?ResourceColor|radio.d.ts| +|Type changed|Class name: RadioStyle;
Method or attribute name: uncheckedBorderColor?: ResourceColor;
Old version information: ResourceColor|Class name: RadioStyle;
Method or attribute name: uncheckedBorderColor?: ResourceColor;
New version information: ?ResourceColor|radio.d.ts| +|Type changed|Class name: RadioStyle;
Method or attribute name: indicatorColor?: ResourceColor;
Old version information: ResourceColor|Class name: RadioStyle;
Method or attribute name: indicatorColor?: ResourceColor;
New version information: ?ResourceColor|radio.d.ts| +|Type changed|Class name: RefreshOptions;
Method or attribute name: offset?: number \| string;
Old version information: number \| string|Class name: RefreshOptions;
Method or attribute name: offset?: number \| string;
New version information: ?(number \| string)|refresh.d.ts| +|Type changed|Class name: RefreshOptions;
Method or attribute name: friction?: number \| string;
Old version information: number \| string|Class name: RefreshOptions;
Method or attribute name: friction?: number \| string;
New version information: ?(number \| string)|refresh.d.ts| +|Type changed|Class name: RefreshOptions;
Method or attribute name: builder?: CustomBuilder;
Old version information: CustomBuilder|Class name: RefreshOptions;
Method or attribute name: builder?: CustomBuilder;
New version information: ?CustomBuilder|refresh.d.ts| +|Type changed|Class name: RRect;
Method or attribute name: left: number;
Old version information: |Class name: RRect;
Method or attribute name: left: number;
New version information: number|remote_window.d.ts| +|Type changed|Class name: RRect;
Method or attribute name: top: number;
Old version information: |Class name: RRect;
Method or attribute name: top: number;
New version information: number|remote_window.d.ts| +|Type changed|Class name: RRect;
Method or attribute name: width: number;
Old version information: |Class name: RRect;
Method or attribute name: width: number;
New version information: number|remote_window.d.ts| +|Type changed|Class name: RRect;
Method or attribute name: height: number;
Old version information: |Class name: RRect;
Method or attribute name: height: number;
New version information: number|remote_window.d.ts| +|Type changed|Class name: RRect;
Method or attribute name: radius: number;
Old version information: |Class name: RRect;
Method or attribute name: radius: number;
New version information: number|remote_window.d.ts| +|Type changed|Class name: WindowAnimationTarget;
Method or attribute name: readonly bundleName: string;
Old version information: |Class name: WindowAnimationTarget;
Method or attribute name: readonly bundleName: string;
New version information: string|remote_window.d.ts| +|Type changed|Class name: WindowAnimationTarget;
Method or attribute name: readonly abilityName: string;
Old version information: |Class name: WindowAnimationTarget;
Method or attribute name: readonly abilityName: string;
New version information: string|remote_window.d.ts| +|Type changed|Class name: WindowAnimationTarget;
Method or attribute name: readonly windowBounds: RRect;
Old version information: |Class name: WindowAnimationTarget;
Method or attribute name: readonly windowBounds: RRect;
New version information: RRect|remote_window.d.ts| +|Type changed|Class name: WindowAnimationTarget;
Method or attribute name: readonly missionId: number;
Old version information: |Class name: WindowAnimationTarget;
Method or attribute name: readonly missionId: number;
New version information: number|remote_window.d.ts| +|Type changed|Class name: ScrollBarOptions;
Method or attribute name: scroller: Scroller;
Old version information: |Class name: ScrollBarOptions;
Method or attribute name: scroller: Scroller;
New version information: Scroller|scroll_bar.d.ts| +|Type changed|Class name: ScrollBarOptions;
Method or attribute name: direction?: ScrollBarDirection;
Old version information: |Class name: ScrollBarOptions;
Method or attribute name: direction?: ScrollBarDirection;
New version information: ?ScrollBarDirection|scroll_bar.d.ts| +|Type changed|Class name: ScrollBarOptions;
Method or attribute name: state?: BarState;
Old version information: |Class name: ScrollBarOptions;
Method or attribute name: state?: BarState;
New version information: ?BarState|scroll_bar.d.ts| +|Type changed|Class name: IconOptions;
Method or attribute name: size?: Length;
Old version information: Length|Class name: IconOptions;
Method or attribute name: size?: Length;
New version information: ?Length|search.d.ts| +|Type changed|Class name: IconOptions;
Method or attribute name: color?: ResourceColor;
Old version information: ResourceColor|Class name: IconOptions;
Method or attribute name: color?: ResourceColor;
New version information: ?ResourceColor|search.d.ts| +|Type changed|Class name: CaretStyle;
Method or attribute name: color?: ResourceColor,
Old version information: ResourceColor|Class name: CaretStyle;
Method or attribute name: color?: ResourceColor,
New version information: ?ResourceColor|search.d.ts| +|Type changed|Class name: IconOptions;
Method or attribute name: src?: ResourceStr;
Old version information: ResourceStr|Class name: IconOptions;
Method or attribute name: src?: ResourceStr;
New version information: ?ResourceStr|search.d.ts| +|Type changed|Class name: CaretStyle;
Method or attribute name: width?: Length,
Old version information: Length|Class name: CaretStyle;
Method or attribute name: width?: Length,
New version information: ?Length|search.d.ts| +|Type changed|Class name: SelectOption;
Method or attribute name: value: ResourceStr;
Old version information: |Class name: SelectOption;
Method or attribute name: value: ResourceStr;
New version information: ResourceStr|select.d.ts| +|Type changed|Class name: SelectOption;
Method or attribute name: icon?: ResourceStr;
Old version information: |Class name: SelectOption;
Method or attribute name: icon?: ResourceStr;
New version information: ResourceStr|select.d.ts| +|Type changed|Class name: ButtonStyle;
Method or attribute name: left?: number;
Old version information: |Class name: ButtonStyle;
Method or attribute name: left?: number;
New version information: ?number|sidebar.d.ts| +|Type changed|Class name: ButtonStyle;
Method or attribute name: top?: number;
Old version information: |Class name: ButtonStyle;
Method or attribute name: top?: number;
New version information: ?number|sidebar.d.ts| +|Type changed|Class name: ButtonStyle;
Method or attribute name: width?: number;
Old version information: |Class name: ButtonStyle;
Method or attribute name: width?: number;
New version information: ?number|sidebar.d.ts| +|Type changed|Class name: ButtonStyle;
Method or attribute name: height?: number;
Old version information: |Class name: ButtonStyle;
Method or attribute name: height?: number;
New version information: ?number|sidebar.d.ts| +|Type changed|Class name: DividerStyle;
Method or attribute name: color?: ResourceColor;
Old version information: ResourceColor|Class name: DividerStyle;
Method or attribute name: color?: ResourceColor;
New version information: ?ResourceColor|sidebar.d.ts| +|Type changed|Class name: DividerStyle;
Method or attribute name: startMargin?: Length;
Old version information: Length|Class name: DividerStyle;
Method or attribute name: startMargin?: Length;
New version information: ?Length|sidebar.d.ts| +|Type changed|Class name: DividerStyle;
Method or attribute name: endMargin?: Length;
Old version information: Length|Class name: DividerStyle;
Method or attribute name: endMargin?: Length;
New version information: ?Length|sidebar.d.ts| +|Type changed|Class name: SliderOptions;
Method or attribute name: value?: number;
Old version information: |Class name: SliderOptions;
Method or attribute name: value?: number;
New version information: ?number|slider.d.ts| +|Type changed|Class name: SliderOptions;
Method or attribute name: min?: number;
Old version information: |Class name: SliderOptions;
Method or attribute name: min?: number;
New version information: ?number|slider.d.ts| +|Type changed|Class name: SliderOptions;
Method or attribute name: max?: number;
Old version information: |Class name: SliderOptions;
Method or attribute name: max?: number;
New version information: ?number|slider.d.ts| +|Type changed|Class name: SliderOptions;
Method or attribute name: step?: number;
Old version information: |Class name: SliderOptions;
Method or attribute name: step?: number;
New version information: ?number|slider.d.ts| +|Type changed|Class name: SliderOptions;
Method or attribute name: style?: SliderStyle;
Old version information: |Class name: SliderOptions;
Method or attribute name: style?: SliderStyle;
New version information: ?SliderStyle|slider.d.ts| +|Type changed|Class name: SliderOptions;
Method or attribute name: direction?: Axis;
Old version information: |Class name: SliderOptions;
Method or attribute name: direction?: Axis;
New version information: ?Axis|slider.d.ts| +|Type changed|Class name: SliderOptions;
Method or attribute name: reverse?: boolean;
Old version information: |Class name: SliderOptions;
Method or attribute name: reverse?: boolean;
New version information: ?boolean|slider.d.ts| +|Type changed|Class name: SliderBlockStyle;
Method or attribute name: image?: ResourceStr;
Old version information: ResourceStr|Class name: SliderBlockStyle;
Method or attribute name: image?: ResourceStr;
New version information: ?ResourceStr|slider.d.ts| +|Type changed|Class name: SliderBlockStyle;
Method or attribute name: shape?: CircleAttribute \| EllipseAttribute \| PathAttribute \| RectAttribute;
Old version information: CircleAttribute \| EllipseAttribute \| PathAttribute \| RectAttribute|Class name: SliderBlockStyle;
Method or attribute name: shape?: CircleAttribute \| EllipseAttribute \| PathAttribute \| RectAttribute;
New version information: ?(CircleAttribute \| EllipseAttribute \| PathAttribute \| RectAttribute)|slider.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: left?: Length;
Old version information: |Class name: IndicatorStyle;
Method or attribute name: left?: Length;
New version information: ?Length|swiper.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: top?: Length;
Old version information: |Class name: IndicatorStyle;
Method or attribute name: top?: Length;
New version information: ?Length|swiper.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: right?: Length;
Old version information: |Class name: IndicatorStyle;
Method or attribute name: right?: Length;
New version information: ?Length|swiper.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: bottom?: Length;
Old version information: |Class name: IndicatorStyle;
Method or attribute name: bottom?: Length;
New version information: ?Length|swiper.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: size?: Length;
Old version information: |Class name: IndicatorStyle;
Method or attribute name: size?: Length;
New version information: ?Length|swiper.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: mask?: boolean;
Old version information: |Class name: IndicatorStyle;
Method or attribute name: mask?: boolean;
New version information: ?boolean|swiper.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: color?: ResourceColor;
Old version information: |Class name: IndicatorStyle;
Method or attribute name: color?: ResourceColor;
New version information: ?ResourceColor|swiper.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: selectedColor?: ResourceColor;
Old version information: |Class name: IndicatorStyle;
Method or attribute name: selectedColor?: ResourceColor;
New version information: ?ResourceColor|swiper.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: height?: Length;
Old version information: Length|Class name: IndicatorStyle;
Method or attribute name: height?: Length;
New version information: ?Length|tab_content.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: width?: Length;
Old version information: Length|Class name: IndicatorStyle;
Method or attribute name: width?: Length;
New version information: ?Length|tab_content.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: borderRadius?: Length;
Old version information: Length|Class name: IndicatorStyle;
Method or attribute name: borderRadius?: Length;
New version information: ?Length|tab_content.d.ts| +|Type changed|Class name: BoardStyle;
Method or attribute name: borderRadius?: Length;
Old version information: Length|Class name: BoardStyle;
Method or attribute name: borderRadius?: Length;
New version information: ?Length|tab_content.d.ts| +|Type changed|Class name: IndicatorStyle;
Method or attribute name: marginTop?: Length;
Old version information: Length|Class name: IndicatorStyle;
Method or attribute name: marginTop?: Length;
New version information: ?Length|tab_content.d.ts| +|Type changed|Class name: SwiperAttribute;
Method or attribute name: curve(value: Curve \| string \| ICurve): SwiperAttribute;
Old version information: ?(Curve \| string \| ICurve)|Class name: SwiperAttribute;
Method or attribute name: curve(value: Curve \| string \| ICurve): SwiperAttribute;
New version information: |swiper.d.ts| +|Type changed|Class name: TextAttribute;
Method or attribute name: draggable(value: boolean): TextAttribute;
Old version information: |Class name: TextAttribute;
Method or attribute name: draggable(value: boolean): TextAttribute;
New version information: |text.d.ts| +|Type changed|Class name: TextAreaOptions;
Method or attribute name: placeholder?: ResourceStr;
Old version information: |Class name: TextAreaOptions;
Method or attribute name: placeholder?: ResourceStr;
New version information: ?ResourceStr|text_area.d.ts| +|Type changed|Class name: TextAreaOptions;
Method or attribute name: text?: ResourceStr;
Old version information: |Class name: TextAreaOptions;
Method or attribute name: text?: ResourceStr;
New version information: ?ResourceStr|text_area.d.ts| +|Type changed|Class name: TextAreaOptions;
Method or attribute name: controller?: TextAreaController;
Old version information: |Class name: TextAreaOptions;
Method or attribute name: controller?: TextAreaController;
New version information: ?TextAreaController|text_area.d.ts| +|Type changed|Class name: TextInputOptions;
Method or attribute name: placeholder?: ResourceStr;
Old version information: |Class name: TextInputOptions;
Method or attribute name: placeholder?: ResourceStr;
New version information: ?ResourceStr|text_input.d.ts| +|Type changed|Class name: TextInputOptions;
Method or attribute name: text?: ResourceStr;
Old version information: |Class name: TextInputOptions;
Method or attribute name: text?: ResourceStr;
New version information: ?ResourceStr|text_input.d.ts| +|Type changed|Class name: TextInputOptions;
Method or attribute name: controller?: TextInputController;
Old version information: |Class name: TextInputOptions;
Method or attribute name: controller?: TextInputController;
New version information: ?TextInputController|text_input.d.ts| +|Type changed|Class name: TextPickerRangeContent;
Method or attribute name: text?: string \| Resource;
Old version information: string \| Resource|Class name: TextPickerRangeContent;
Method or attribute name: text?: string \| Resource;
New version information: ?(string \| Resource)|text_picker.d.ts| +|Type changed|Class name: TextPickerOptions;
Method or attribute name: range: string[] \| string[][] \| Resource \| TextPickerRangeContent[] \| TextCascadePickerRangeContent[];
Old version information: string[] \| Resource \| TextPickerRangeContent[]|Class name: TextPickerOptions;
Method or attribute name: range: string[] \| string[][] \| Resource \| TextPickerRangeContent[] \| TextCascadePickerRangeContent[];
New version information: string[] \| string[][] \| Resource \| TextPickerRangeContent[] \| TextCascadePickerRangeContent[]|text_picker.d.ts| +|Type changed|Class name: TextPickerOptions;
Method or attribute name: value?: string \| string[];
Old version information: string|Class name: TextPickerOptions;
Method or attribute name: value?: string \| string[];
New version information: ?(string \| string[])|text_picker.d.ts| +|Type changed|Class name: TextPickerOptions;
Method or attribute name: selected?: number \| number[];
Old version information: |Class name: TextPickerOptions;
Method or attribute name: selected?: number \| number[];
New version information: ?(number \| number[])|text_picker.d.ts| +|Type changed|Class name: TextPickerResult;
Method or attribute name: value: string \| string[];
Old version information: string|Class name: TextPickerResult;
Method or attribute name: value: string \| string[];
New version information: string \| string[]|text_picker.d.ts| +|Type changed|Class name: TextPickerResult;
Method or attribute name: index: number \| number[];
Old version information: |Class name: TextPickerResult;
Method or attribute name: index: number \| number[];
New version information: number \| number[]|text_picker.d.ts| +|Type changed|Class name: TextPickerDialogOptions;
Method or attribute name: defaultPickerItemHeight?: number \| string;
Old version information: |Class name: TextPickerDialogOptions;
Method or attribute name: defaultPickerItemHeight?: number \| string;
New version information: number \| string|text_picker.d.ts| +|Type changed|Class name: TextPickerDialogOptions;
Method or attribute name: disappearTextStyle?: PickerTextStyle;
Old version information: PickerTextStyle|Class name: TextPickerDialogOptions;
Method or attribute name: disappearTextStyle?: PickerTextStyle;
New version information: ?PickerTextStyle|text_picker.d.ts| +|Type changed|Class name: TextPickerDialogOptions;
Method or attribute name: textStyle?: PickerTextStyle;
Old version information: PickerTextStyle|Class name: TextPickerDialogOptions;
Method or attribute name: textStyle?: PickerTextStyle;
New version information: ?PickerTextStyle|text_picker.d.ts| +|Type changed|Class name: TextPickerDialogOptions;
Method or attribute name: selectedTextStyle?: PickerTextStyle;
Old version information: PickerTextStyle|Class name: TextPickerDialogOptions;
Method or attribute name: selectedTextStyle?: PickerTextStyle;
New version information: ?PickerTextStyle|text_picker.d.ts| +|Type changed|Class name: TextPickerDialogOptions;
Method or attribute name: onAccept?: (value: TextPickerResult) => void;
Old version information: |Class name: TextPickerDialogOptions;
Method or attribute name: onAccept?: (value: TextPickerResult) => void;
New version information: ?((value: TextPickerResult) => void)|text_picker.d.ts| +|Type changed|Class name: TextPickerDialogOptions;
Method or attribute name: onCancel?: () => void;
Old version information: |Class name: TextPickerDialogOptions;
Method or attribute name: onCancel?: () => void;
New version information: ?(() => void)|text_picker.d.ts| +|Type changed|Class name: TextPickerDialogOptions;
Method or attribute name: onChange?: (value: TextPickerResult) => void;
Old version information: |Class name: TextPickerDialogOptions;
Method or attribute name: onChange?: (value: TextPickerResult) => void;
New version information: ?((value: TextPickerResult) => void)|text_picker.d.ts| +|Type changed|Class name: TextTimerOptions;
Method or attribute name: isCountDown?: boolean;
Old version information: |Class name: TextTimerOptions;
Method or attribute name: isCountDown?: boolean;
New version information: ?boolean|text_timer.d.ts| +|Type changed|Class name: TextTimerOptions;
Method or attribute name: count?: number;
Old version information: |Class name: TextTimerOptions;
Method or attribute name: count?: number;
New version information: ?number|text_timer.d.ts| +|Type changed|Class name: TextTimerOptions;
Method or attribute name: controller?: TextTimerController;
Old version information: |Class name: TextTimerOptions;
Method or attribute name: controller?: TextTimerController;
New version information: ?TextTimerController|text_timer.d.ts| +|Type changed|Class name: TimePickerResult;
Method or attribute name: hour?: number;
Old version information: |Class name: TimePickerResult;
Method or attribute name: hour?: number;
New version information: ?number|time_picker.d.ts| +|Type changed|Class name: TimePickerResult;
Method or attribute name: minute?: number;
Old version information: |Class name: TimePickerResult;
Method or attribute name: minute?: number;
New version information: ?number|time_picker.d.ts| +|Type changed|Class name: TimePickerOptions;
Method or attribute name: selected?: Date;
Old version information: |Class name: TimePickerOptions;
Method or attribute name: selected?: Date;
New version information: ?Date|time_picker.d.ts| +|Type changed|Class name: TimePickerDialogOptions;
Method or attribute name: useMilitaryTime?: boolean;
Old version information: |Class name: TimePickerDialogOptions;
Method or attribute name: useMilitaryTime?: boolean;
New version information: ?boolean|time_picker.d.ts| +|Type changed|Class name: TimePickerDialogOptions;
Method or attribute name: disappearTextStyle?: PickerTextStyle;
Old version information: PickerTextStyle|Class name: TimePickerDialogOptions;
Method or attribute name: disappearTextStyle?: PickerTextStyle;
New version information: ?PickerTextStyle|time_picker.d.ts| +|Type changed|Class name: TimePickerDialogOptions;
Method or attribute name: textStyle?: PickerTextStyle;
Old version information: PickerTextStyle|Class name: TimePickerDialogOptions;
Method or attribute name: textStyle?: PickerTextStyle;
New version information: ?PickerTextStyle|time_picker.d.ts| +|Type changed|Class name: TimePickerDialogOptions;
Method or attribute name: selectedTextStyle?: PickerTextStyle;
Old version information: PickerTextStyle|Class name: TimePickerDialogOptions;
Method or attribute name: selectedTextStyle?: PickerTextStyle;
New version information: ?PickerTextStyle|time_picker.d.ts| +|Type changed|Class name: TimePickerDialogOptions;
Method or attribute name: onAccept?: (value: TimePickerResult) => void;
Old version information: |Class name: TimePickerDialogOptions;
Method or attribute name: onAccept?: (value: TimePickerResult) => void;
New version information: ?((value: TimePickerResult) => void)|time_picker.d.ts| +|Type changed|Class name: TimePickerDialogOptions;
Method or attribute name: onCancel?: () => void;
Old version information: |Class name: TimePickerDialogOptions;
Method or attribute name: onCancel?: () => void;
New version information: ?(() => void)|time_picker.d.ts| +|Type changed|Class name: TimePickerDialogOptions;
Method or attribute name: onChange?: (value: TimePickerResult) => void;
Old version information: |Class name: TimePickerDialogOptions;
Method or attribute name: onChange?: (value: TimePickerResult) => void;
New version information: ?((value: TimePickerResult) => void)|time_picker.d.ts| +|Type changed|Class name: Resource;
Method or attribute name: readonly id: number;
Old version information: |Class name: Resource;
Method or attribute name: readonly id: number;
New version information: number|units.d.ts| +|Type changed|Class name: Resource;
Method or attribute name: readonly type: number;
Old version information: |Class name: Resource;
Method or attribute name: readonly type: number;
New version information: number|units.d.ts| +|Type changed|Class name: Resource;
Method or attribute name: readonly params?: any[];
Old version information: |Class name: Resource;
Method or attribute name: readonly params?: any[];
New version information: ?any[]|units.d.ts| +|Type changed|Class name: Resource;
Method or attribute name: readonly bundleName: string;
Old version information: |Class name: Resource;
Method or attribute name: readonly bundleName: string;
New version information: string|units.d.ts| +|Type changed|Class name: Resource;
Method or attribute name: readonly moduleName: string;
Old version information: |Class name: Resource;
Method or attribute name: readonly moduleName: string;
New version information: string|units.d.ts| +|Type changed|Class name: Font;
Method or attribute name: size?: Length;
Old version information: |Class name: Font;
Method or attribute name: size?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: MarkStyle;
Method or attribute name: size?: Length;
Old version information: Length|Class name: MarkStyle;
Method or attribute name: size?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: Font;
Method or attribute name: weight?: FontWeight \| number \| string;
Old version information: |Class name: Font;
Method or attribute name: weight?: FontWeight \| number \| string;
New version information: ?(FontWeight \| number \| string)|units.d.ts| +|Type changed|Class name: Font;
Method or attribute name: family?: string \| Resource;
Old version information: |Class name: Font;
Method or attribute name: family?: string \| Resource;
New version information: ?(string \| Resource)|units.d.ts| +|Type changed|Class name: Font;
Method or attribute name: style?: FontStyle;
Old version information: |Class name: Font;
Method or attribute name: style?: FontStyle;
New version information: ?FontStyle|units.d.ts| +|Type changed|Class name: Area;
Method or attribute name: width: Length;
Old version information: |Class name: Area;
Method or attribute name: width: Length;
New version information: Length|units.d.ts| +|Type changed|Class name: Area;
Method or attribute name: height: Length;
Old version information: |Class name: Area;
Method or attribute name: height: Length;
New version information: Length|units.d.ts| +|Type changed|Class name: Area;
Method or attribute name: position: Position;
Old version information: |Class name: Area;
Method or attribute name: position: Position;
New version information: Position|units.d.ts| +|Type changed|Class name: Area;
Method or attribute name: globalPosition: Position;
Old version information: |Class name: Area;
Method or attribute name: globalPosition: Position;
New version information: Position|units.d.ts| +|Type changed|Class name: Position;
Method or attribute name: x?: Length;
Old version information: |Class name: Position;
Method or attribute name: x?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: Position;
Method or attribute name: y?: Length;
Old version information: |Class name: Position;
Method or attribute name: y?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: ConstraintSizeOptions;
Method or attribute name: minWidth?: Length;
Old version information: |Class name: ConstraintSizeOptions;
Method or attribute name: minWidth?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: ConstraintSizeOptions;
Method or attribute name: maxWidth?: Length;
Old version information: |Class name: ConstraintSizeOptions;
Method or attribute name: maxWidth?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: ConstraintSizeOptions;
Method or attribute name: minHeight?: Length;
Old version information: |Class name: ConstraintSizeOptions;
Method or attribute name: minHeight?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: ConstraintSizeOptions;
Method or attribute name: maxHeight?: Length;
Old version information: |Class name: ConstraintSizeOptions;
Method or attribute name: maxHeight?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: SizeOptions;
Method or attribute name: width?: Length;
Old version information: |Class name: SizeOptions;
Method or attribute name: width?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: SizeOptions;
Method or attribute name: height?: Length;
Old version information: |Class name: SizeOptions;
Method or attribute name: height?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: BorderOptions;
Method or attribute name: width?: EdgeWidths \| Length;
Old version information: EdgeWidths \| Length|Class name: BorderOptions;
Method or attribute name: width?: EdgeWidths \| Length;
New version information: ?(EdgeWidths \| Length)|units.d.ts| +|Type changed|Class name: BorderOptions;
Method or attribute name: color?: EdgeColors \| ResourceColor;
Old version information: EdgeColors \| ResourceColor|Class name: BorderOptions;
Method or attribute name: color?: EdgeColors \| ResourceColor;
New version information: ?(EdgeColors \| ResourceColor)|units.d.ts| +|Type changed|Class name: BorderOptions;
Method or attribute name: radius?: BorderRadiuses \| Length;
Old version information: BorderRadiuses \| Length|Class name: BorderOptions;
Method or attribute name: radius?: BorderRadiuses \| Length;
New version information: ?(BorderRadiuses \| Length)|units.d.ts| +|Type changed|Class name: BorderOptions;
Method or attribute name: style?: EdgeStyles \| BorderStyle;
Old version information: EdgeStyles \| BorderStyle|Class name: BorderOptions;
Method or attribute name: style?: EdgeStyles \| BorderStyle;
New version information: ?(EdgeStyles \| BorderStyle)|units.d.ts| +|Type changed|Class name: MarkStyle;
Method or attribute name: strokeColor?: ResourceColor;
Old version information: ResourceColor|Class name: MarkStyle;
Method or attribute name: strokeColor?: ResourceColor;
New version information: ?ResourceColor|units.d.ts| +|Type changed|Class name: MarkStyle;
Method or attribute name: strokeWidth?: Length;
Old version information: Length|Class name: MarkStyle;
Method or attribute name: strokeWidth?: Length;
New version information: ?Length|units.d.ts| +|Type changed|Class name: VideoOptions;
Method or attribute name: src?: string \| Resource;
Old version information: |Class name: VideoOptions;
Method or attribute name: src?: string \| Resource;
New version information: ?(string \| Resource)|video.d.ts| +|Type changed|Class name: VideoOptions;
Method or attribute name: currentProgressRate?: number \| string \| PlaybackSpeed;
Old version information: |Class name: VideoOptions;
Method or attribute name: currentProgressRate?: number \| string \| PlaybackSpeed;
New version information: ?(number \| string \| PlaybackSpeed)|video.d.ts| +|Type changed|Class name: VideoOptions;
Method or attribute name: previewUri?: string \| PixelMap \| Resource;
Old version information: |Class name: VideoOptions;
Method or attribute name: previewUri?: string \| PixelMap \| Resource;
New version information: ?(string \| PixelMap \| Resource)|video.d.ts| +|Type changed|Class name: VideoOptions;
Method or attribute name: controller?: VideoController;
Old version information: |Class name: VideoOptions;
Method or attribute name: controller?: VideoController;
New version information: ?VideoController|video.d.ts| +|Type changed|Class name: WaterFlowOptions;
Method or attribute name: footer?: CustomBuilder;
Old version information: |Class name: WaterFlowOptions;
Method or attribute name: footer?: CustomBuilder;
New version information: ?CustomBuilder|water_flow.d.ts| +|Type changed|Class name: WaterFlowOptions;
Method or attribute name: scroller?: Scroller;
Old version information: |Class name: WaterFlowOptions;
Method or attribute name: scroller?: Scroller;
New version information: ?Scroller|water_flow.d.ts| +|Type changed|Class name: WebMediaOptions;
Method or attribute name: resumeInterval?: number;
Old version information: |Class name: WebMediaOptions;
Method or attribute name: resumeInterval?: number;
New version information: ?number|web.d.ts| +|Type changed|Class name: WebMediaOptions;
Method or attribute name: audioExclusive?: boolean;
Old version information: |Class name: WebMediaOptions;
Method or attribute name: audioExclusive?: boolean;
New version information: ?boolean|web.d.ts| +|Type changed|Class name: Header;
Method or attribute name: headerKey: string;
Old version information: |Class name: Header;
Method or attribute name: headerKey: string;
New version information: string|web.d.ts| +|Type changed|Class name: Header;
Method or attribute name: headerValue: string;
Old version information: |Class name: Header;
Method or attribute name: headerValue: string;
New version information: string|web.d.ts| +|Type changed|Class name: WebOptions;
Method or attribute name: src: string \| Resource;
Old version information: |Class name: WebOptions;
Method or attribute name: src: string \| Resource;
New version information: string \| Resource|web.d.ts| +|Type changed|Class name: WebOptions;
Method or attribute name: controller: WebController \| WebviewController;
Old version information: (WebController \| WebviewController)|Class name: WebOptions;
Method or attribute name: controller: WebController \| WebviewController;
New version information: WebController \| WebviewController|web.d.ts| +|Type changed|Class name: WebAttribute;
Method or attribute name: javaScriptProxy(javaScriptProxy: { object: object, name: string, methodList: Array\,
controller: WebController \| WebviewController }): WebAttribute;
Old version information: controller : WebController \| WebviewController|Class name: WebAttribute;
Method or attribute name: javaScriptProxy(javaScriptProxy: { object: object, name: string, methodList: Array\,
controller: WebController \| WebviewController }): WebAttribute;
New version information: |web.d.ts| +|Function changed|Class name: FontOptions;
Method or attribute name: familyName: string;|Class name: FontOptions;
Method or attribute name: familyName: string \| Resource;|@ohos.font.d.ts| +|Function changed|Class name: FontOptions;
Method or attribute name: familySrc: string;|Class name: FontOptions;
Method or attribute name: familySrc: string \| Resource;|@ohos.font.d.ts| +|Widget application support changed|Class name: ClickEvent;
Method or attribute name: screenX: number;
Old version information: form|Class name: ClickEvent;
Method or attribute name: screenX: number;
New version information: |common.d.ts| +|Widget application support changed|Class name: ClickEvent;
Method or attribute name: screenY: number;
Old version information: form|Class name: ClickEvent;
Method or attribute name: screenY: number;
New version information: |common.d.ts| +|Widget application support changed|Class name: TextAttribute;
Method or attribute name: textShadow(value: ShadowOptions): TextAttribute;
Old version information: |Class name: TextAttribute;
Method or attribute name: textShadow(value: ShadowOptions): TextAttribute;
New version information: form|text.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-battery.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-battery.md new file mode 100644 index 0000000000000000000000000000000000000000..8dd5ecf0febb8cca2f4c7d9c4a1da680c0d15c01 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-battery.md @@ -0,0 +1,15 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: power;
Method or attribute name: function isStandby(): boolean;|@ohos.power.d.ts| +|Access level changed|Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_INVALID = -17
Old version information: |Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_INVALID = -17
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_APP
Old version information: |Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_APP
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_BLUETOOTH
Old version information: |Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_BLUETOOTH
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_IDLE
Old version information: |Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_IDLE
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_PHONE
Old version information: |Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_PHONE
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_RADIO
Old version information: |Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_RADIO
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_SCREEN
Old version information: |Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_SCREEN
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_USER
Old version information: |Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_USER
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_WIFI
Old version information: |Class name: ConsumptionType;
Method or attribute name: CONSUMPTION_TYPE_WIFI
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: BatteryStatsInfo;
Method or attribute name: uid: number;
Old version information: |Class name: BatteryStatsInfo;
Method or attribute name: uid: number;
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: BatteryStatsInfo;
Method or attribute name: type: ConsumptionType;
Old version information: |Class name: BatteryStatsInfo;
Method or attribute name: type: ConsumptionType;
New version information: systemapi|@ohos.batteryStatistics.d.ts| +|Access level changed|Class name: BatteryStatsInfo;
Method or attribute name: power: number;
Old version information: |Class name: BatteryStatsInfo;
Method or attribute name: power: number;
New version information: systemapi|@ohos.batteryStatistics.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-bundle.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-bundle.md new file mode 100644 index 0000000000000000000000000000000000000000..0ca4581e0d69be03aa9fcbc8658e047615d4f461 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-bundle.md @@ -0,0 +1,38 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Deleted|Class name: BusinessAbilityInfo;
Method or attribute name: readonly bundleName: string;|NA|BusinessAbilityInfo.d.ts| +|Deleted|Class name: BusinessAbilityInfo;
Method or attribute name: readonly moduleName: string;|NA|BusinessAbilityInfo.d.ts| +|Deleted|Class name: BusinessAbilityInfo;
Method or attribute name: readonly name: string;|NA|BusinessAbilityInfo.d.ts| +|Deleted|Class name: BusinessAbilityInfo;
Method or attribute name: readonly labelId: number;|NA|BusinessAbilityInfo.d.ts| +|Deleted|Class name: BusinessAbilityInfo;
Method or attribute name: readonly descriptionId: number;|NA|BusinessAbilityInfo.d.ts| +|Deleted|Class name: BusinessAbilityInfo;
Method or attribute name: readonly iconId: number;|NA|BusinessAbilityInfo.d.ts| +|Deleted|Class name: BusinessAbilityInfo;
Method or attribute name: readonly businessType: businessAbilityRouter.BusinessType;|NA|BusinessAbilityInfo.d.ts| +|Deleted|Class name: BusinessAbilityInfo;
Method or attribute name: readonly applicationInfo: ApplicationInfo;|NA|BusinessAbilityInfo.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function getBundleInfoForSelfSync(bundleFlags: number): BundleInfo;|@ohos.bundle.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function getSpecifiedDistributionType(bundleName: string): string;|@ohos.bundle.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function getAdditionalInfo(bundleName: string): string;|@ohos.bundle.bundleManager.d.ts| +|Added|NA|Class name: ExtensionAbilityType;
Method or attribute name: PUSH = 17|@ohos.bundle.bundleManager.d.ts| +|Added|NA|Class name: ExtensionAbilityType;
Method or attribute name: APP_ACCOUNT_AUTHORIZATION = 19|@ohos.bundle.bundleManager.d.ts| +|Added|NA|Class name: VerifyCodeParam;
Method or attribute name: moduleName: string;|@ohos.bundle.installer.d.ts| +|Added|NA|Class name: VerifyCodeParam;
Method or attribute name: signatureFilePath: string;|@ohos.bundle.installer.d.ts| +|Added|NA|Class name: InstallParam;
Method or attribute name: specifiedDistributionType?: string;|@ohos.bundle.installer.d.ts| +|Added|NA|Class name: InstallParam;
Method or attribute name: additionalInfo?: string;|@ohos.bundle.installer.d.ts| +|Added|NA|Class name: InstallParam;
Method or attribute name: verifyCodeParams?: Array\;|@ohos.bundle.installer.d.ts| +|Added|NA|Class name: ReqPermissionDetail;
Method or attribute name: moduleName: string;|BundleInfo.d.ts| +|Error code changed|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, installParam: InstallParam, callback: AsyncCallback\): void;
Old version information: 201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, installParam: InstallParam, callback: AsyncCallback\): void;
New version information: 201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts| +|Error code changed|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, callback: AsyncCallback\): void;
Old version information: 201,202,401,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, callback: AsyncCallback\): void;
New version information: 201,202,401,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts| +|Error code changed|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, installParam?: InstallParam): Promise\;
Old version information: 201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, installParam?: InstallParam): Promise\;
New version information: 201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts| +|Error code changed|Class name: zlib;
Method or attribute name: function decompressFile(inFile: string, outFile: string, options: Options, callback: AsyncCallback\): void;
Old version information: 401,900001,900002|Class name: zlib;
Method or attribute name: function decompressFile(inFile: string, outFile: string, options: Options, callback: AsyncCallback\): void;
New version information: 401,900001,900002,900003|@ohos.zlib.d.ts| +|Error code changed|Class name: zlib;
Method or attribute name: function decompressFile(inFile: string, outFile: string, options: Options): Promise\;
Old version information: 401,900001,900002|Class name: zlib;
Method or attribute name: function decompressFile(inFile: string, outFile: string, options: Options): Promise\;
New version information: 401,900001,900002,900003|@ohos.zlib.d.ts| +|Permission changed|Class name: bundleManager;
Method or attribute name: function getAllBundleInfo(bundleFlags: number, callback: AsyncCallback\>): void;
Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;
Method or attribute name: function getAllBundleInfo(bundleFlags: number, callback: AsyncCallback\>): void;
New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|Permission changed|Class name: bundleManager;
Method or attribute name: function getAllBundleInfo(bundleFlags: number, userId: number, callback: AsyncCallback\>): void;
Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;
Method or attribute name: function getAllBundleInfo(bundleFlags: number, userId: number, callback: AsyncCallback\>): void;
New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|Permission changed|Class name: bundleManager;
Method or attribute name: function getAllBundleInfo(bundleFlags: number, userId?: number): Promise\>;
Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;
Method or attribute name: function getAllBundleInfo(bundleFlags: number, userId?: number): Promise\>;
New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|Permission changed|Class name: bundleManager;
Method or attribute name: function getAllApplicationInfo(appFlags: number, callback: AsyncCallback\>): void;
Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;
Method or attribute name: function getAllApplicationInfo(appFlags: number, callback: AsyncCallback\>): void;
New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|Permission changed|Class name: bundleManager;
Method or attribute name: function getAllApplicationInfo(appFlags: number,

userId: number, callback: AsyncCallback\>): void;
Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;
Method or attribute name: function getAllApplicationInfo(appFlags: number,

userId: number, callback: AsyncCallback\>): void;
New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|Permission changed|Class name: bundleManager;
Method or attribute name: function getAllApplicationInfo(appFlags: number, userId?: number): Promise\>;
Old version information: ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|Class name: bundleManager;
Method or attribute name: function getAllApplicationInfo(appFlags: number, userId?: number): Promise\>;
New version information: ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts| +|Permission changed|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, installParam: InstallParam, callback: AsyncCallback\): void;
Old version information: ohos.permission.INSTALL_BUNDLE|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, installParam: InstallParam, callback: AsyncCallback\): void;
New version information: ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts| +|Permission changed|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, callback: AsyncCallback\): void;
Old version information: ohos.permission.INSTALL_BUNDLE|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, callback: AsyncCallback\): void;
New version information: ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts| +|Permission changed|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, installParam?: InstallParam): Promise\;
Old version information: ohos.permission.INSTALL_BUNDLE|Class name: BundleInstaller;
Method or attribute name: install(hapFilePaths: Array\, installParam?: InstallParam): Promise\;
New version information: ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts| +|Model changed|Class name: AbilityType;
Method or attribute name: PAGE = 1
Old version information: |Class name: AbilityType;
Method or attribute name: PAGE = 1
New version information: FAModelOnly|@ohos.bundle.bundleManager.d.ts| +|Model changed|Class name: AbilityType;
Method or attribute name: SERVICE = 2
Old version information: |Class name: AbilityType;
Method or attribute name: SERVICE = 2
New version information: FAModelOnly|@ohos.bundle.bundleManager.d.ts| +|Model changed|Class name: AbilityType;
Method or attribute name: DATA = 3
Old version information: |Class name: AbilityType;
Method or attribute name: DATA = 3
New version information: FAModelOnly|@ohos.bundle.bundleManager.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-communication.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-communication.md new file mode 100644 index 0000000000000000000000000000000000000000..95b9cab8ae0de6173222a7bffd9e7c2daa745b8e --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-communication.md @@ -0,0 +1,605 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Deleted|Class name: wifiManager;
Method or attribute name: function getScanInfoList(): Array\;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function updateDeviceConfig(config: WifiDeviceConfig): number;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function disableDeviceConfig(networkId: number): void;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function removeAllDeviceConfigs(): void;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function removeDeviceConfig(networkId: number): void;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function getHotspotStations(): Array\;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function createP2pGroup(config: WifiP2PConfig): void;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function removeP2pGroup(): void;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function startDiscoverP2pDevices(): void;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function stopDiscoverP2pDevices(): void;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function deletePersistentP2pGroup(netId: number): void;|NA|@ohos.wifiManager.d.ts| +|Deleted|Class name: wifiManager;
Method or attribute name: function setP2pDeviceName(devName: string): void;|NA|@ohos.wifiManager.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: close(): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: close(): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketServer;
Method or attribute name: getState(): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: getState(): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: send(options: TCPSendOptions): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: getRemoteAddress(): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: getRemoteAddress(): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: getCertificate(): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: getRemoteCertificate(): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: getProtocol(): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: getCipherSuite(): Promise\>;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: getSignatureAlgorithms(): Promise\>;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: send(data: string): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: bluetoothManager;
Method or attribute name: function pairCredibleDevice(deviceId: string, transport: BluetoothTransport, callback: AsyncCallback\): void;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: bluetoothManager;
Method or attribute name: function pairCredibleDevice(deviceId: string, transport: BluetoothTransport): Promise\;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: bluetoothManager;
Method or attribute name: function getRemoteProfileUuids(device: string, callback: AsyncCallback\>): void;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: bluetoothManager;
Method or attribute name: function getRemoteProfileUuids(device: string): Promise\>;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: bluetoothManager;
Method or attribute name: function getLocalProfileUuids(callback: AsyncCallback\>): void;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: bluetoothManager;
Method or attribute name: function getLocalProfileUuids(): Promise\>;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: BaseProfile;
Method or attribute name: setConnectionStrategy(device: string, strategy: ConnectionStrategy, callback: AsyncCallback\): void;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: BaseProfile;
Method or attribute name: setConnectionStrategy(device: string, strategy: ConnectionStrategy): Promise\;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: BaseProfile;
Method or attribute name: getConnectionStrategy(device: string, callback: AsyncCallback\): void;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: BaseProfile;
Method or attribute name: getConnectionStrategy(device: string): Promise\;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: AdvertiseData;
Method or attribute name: includeDeviceName?: boolean;|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: BluetoothTransport;
Method or attribute name: TRANSPORT_BR_EDR = 0|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: BluetoothTransport;
Method or attribute name: TRANSPORT_LE = 1|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ConnectionStrategy;
Method or attribute name: CONNECT_STRATEGY_UNSUPPORTED = 0|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ConnectionStrategy;
Method or attribute name: CONNECT_STRATEGY_ALLOWED = 1|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ConnectionStrategy;
Method or attribute name: CONNECT_STRATEGY_FORBIDDEN = 2|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HFP_AG = '0000111F-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HFP_HF = '0000111E-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HSP_AG = '00001112-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HSP_HS = '00001108-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_A2DP_SRC = '0000110A-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_A2DP_SINK = '0000110B-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_AVRCP_CT = '0000110E-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_AVRCP_TG = '0000110C-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HID = '00001124-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: ProfileUuids;
Method or attribute name: PROFILE_UUID_HOGP = '00001812-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts| +|Added|NA|Class name: connection;
Method or attribute name: function getDefaultHttpProxy(callback: AsyncCallback\): void;|@ohos.net.connection.d.ts| +|Added|NA|Class name: connection;
Method or attribute name: function getDefaultHttpProxy(): Promise\;|@ohos.net.connection.d.ts| +|Added|NA|Class name: ethernet;
Method or attribute name: type HttpProxy = connection.HttpProxy;|@ohos.net.ethernet.d.ts| +|Added|NA|Class name: InterfaceConfiguration;
Method or attribute name: httpProxy?: HttpProxy;|@ohos.net.ethernet.d.ts| +|Added|NA|Class name: DiscoveryService;
Method or attribute name: off(type: 'discoveryStart', callback?: Callback\<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;|@ohos.net.mdns.d.ts| +|Added|NA|Class name: DiscoveryService;
Method or attribute name: off(type: 'discoveryStop', callback?: Callback\<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;|@ohos.net.mdns.d.ts| +|Added|NA|Class name: DiscoveryService;
Method or attribute name: off(type: 'serviceFound', callback?: Callback\): void;|@ohos.net.mdns.d.ts| +|Added|NA|Class name: DiscoveryService;
Method or attribute name: off(type: 'serviceLost', callback?: Callback\): void;|@ohos.net.mdns.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: type NetBearType = connection.NetBearType;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function setBackgroundAllowed(isAllowed: boolean, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function setBackgroundAllowed(isAllowed: boolean): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function isBackgroundAllowed(callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function isBackgroundAllowed(): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getBackgroundPolicyByUid(uid: number, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getBackgroundPolicyByUid(uid: number): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function setPolicyByUid(uid: number, policy: NetUidPolicy, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function setPolicyByUid(uid: number, policy: NetUidPolicy): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getPolicyByUid(uid: number, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getPolicyByUid(uid: number): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getUidsByPolicy(policy: NetUidPolicy, callback: AsyncCallback\>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getUidsByPolicy(policy: NetUidPolicy): Promise\>;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, isMetered: boolean, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, isMetered: boolean): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, iface: string, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function isUidNetAllowed(uid: number, iface: string): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function setNetQuotaPolicies(quotaPolicies: Array\, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function setNetQuotaPolicies(quotaPolicies: Array\): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getNetQuotaPolicies(callback: AsyncCallback\>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getNetQuotaPolicies(): Promise\>;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function setDeviceIdleTrustlist(uids: Array\, isAllowed: boolean, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function setDeviceIdleTrustlist(uids: Array\, isAllowed: boolean): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getDeviceIdleTrustlist(callback: AsyncCallback\>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getDeviceIdleTrustlist(): Promise\>;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function setPowerSaveTrustlist(uids: Array\, isAllowed: boolean, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function setPowerSaveTrustlist(uids: Array\, isAllowed: boolean): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getPowerSaveTrustlist(callback: AsyncCallback\>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function getPowerSaveTrustlist(): Promise\>;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function resetPolicies(simId: string, callback: AsyncCallback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function resetPolicies(simId: string): Promise\;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function on(type: 'netUidPolicyChange', callback: Callback\<{ uid: number, policy: NetUidPolicy }>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function on(type: 'netUidRuleChange', callback: Callback\<{ uid: number, rule: NetUidRule }>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function on(type: 'netMeteredIfacesChange', callback: Callback\>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function on(type: 'netQuotaPolicyChange', callback: Callback\>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function on(type: 'netBackgroundPolicyChange', callback: Callback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function off(type: 'netUidPolicyChange', callback?: Callback\<{ uid: number, policy: NetUidPolicy }>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function off(type: 'netUidRuleChange', callback?: Callback\<{ uid: number, rule: NetUidRule }>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function off(type: 'netMeteredIfacesChange', callback?: Callback\>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function off(type: 'netQuotaPolicyChange', callback?: Callback\>): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: policy;
Method or attribute name: function off(type: 'netBackgroundPolicyChange', callback?: Callback\): void;|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_NONE = 0|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_ENABLE = 1|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_DISABLE = 2|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetBackgroundPolicy;
Method or attribute name: NET_BACKGROUND_POLICY_TRUSTLIST = 3|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetQuotaPolicy;
Method or attribute name: networkMatchRule: NetworkMatchRule;|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetQuotaPolicy;
Method or attribute name: quotaPolicy: QuotaPolicy;|@ohos.net.policy.d.ts| +|Added|NA|Class name: QuotaPolicy;
Method or attribute name: periodDuration: string;|@ohos.net.policy.d.ts| +|Added|NA|Class name: QuotaPolicy;
Method or attribute name: warningBytes: number;|@ohos.net.policy.d.ts| +|Added|NA|Class name: QuotaPolicy;
Method or attribute name: limitBytes: number;|@ohos.net.policy.d.ts| +|Added|NA|Class name: QuotaPolicy;
Method or attribute name: metered: boolean;|@ohos.net.policy.d.ts| +|Added|NA|Class name: QuotaPolicy;
Method or attribute name: limitAction: LimitAction;|@ohos.net.policy.d.ts| +|Added|NA|Class name: QuotaPolicy;
Method or attribute name: lastWarningRemind?: number;|@ohos.net.policy.d.ts| +|Added|NA|Class name: QuotaPolicy;
Method or attribute name: lastLimitRemind?: number;|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetworkMatchRule;
Method or attribute name: netType: NetBearType;|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetworkMatchRule;
Method or attribute name: identity: string;|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetworkMatchRule;
Method or attribute name: simId: string;|@ohos.net.policy.d.ts| +|Added|NA|Class name: LimitAction;
Method or attribute name: LIMIT_ACTION_NONE = -1|@ohos.net.policy.d.ts| +|Added|NA|Class name: LimitAction;
Method or attribute name: LIMIT_ACTION_ACCESS_DISABLED = 0|@ohos.net.policy.d.ts| +|Added|NA|Class name: LimitAction;
Method or attribute name: LIMIT_ACTION_ALERT_ONLY = 1|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetUidRule;
Method or attribute name: NET_RULE_NONE = 0|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetUidRule;
Method or attribute name: NET_RULE_ALLOW_METERED_FOREGROUND = 1 \<\< 0|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetUidRule;
Method or attribute name: NET_RULE_ALLOW_METERED = 1 \<\< 1|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetUidRule;
Method or attribute name: NET_RULE_REJECT_METERED = 1 \<\< 2|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetUidRule;
Method or attribute name: NET_RULE_ALLOW_ALL = 1 \<\< 5|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetUidRule;
Method or attribute name: NET_RULE_REJECT_ALL = 1 \<\< 6|@ohos.net.policy.d.ts| +|Added|NA|Class name: RemindType;
Method or attribute name: REMIND_TYPE_WARNING = 1|@ohos.net.policy.d.ts| +|Added|NA|Class name: RemindType;
Method or attribute name: REMIND_TYPE_LIMIT = 2|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetUidPolicy;
Method or attribute name: NET_POLICY_NONE = 0|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetUidPolicy;
Method or attribute name: NET_POLICY_ALLOW_METERED_BACKGROUND = 1 \<\< 0|@ohos.net.policy.d.ts| +|Added|NA|Class name: NetUidPolicy;
Method or attribute name: NET_POLICY_REJECT_METERED_BACKGROUND = 1 \<\< 1|@ohos.net.policy.d.ts| +|Added|NA|Class name: socket;
Method or attribute name: function constructTCPSocketServerInstance(): TCPSocketServer;|@ohos.net.socket.d.ts| +|Added|NA|Class name: socket;
Method or attribute name: function constructTLSSocketServerInstance(): TLSSocketServer;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocket;
Method or attribute name: getSocketFd(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocket;
Method or attribute name: getSocketFd(): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: clientId: number;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: clientId: number;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: send(options: TCPSendOptions, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: close(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: close(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: getRemoteAddress(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: getRemoteAddress(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: on(type: 'message', callback: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: on(type: 'message', callback: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: on(type: 'close', callback: Callback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: on(type: 'close', callback: Callback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketServer;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: off(type: 'message', callback?: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: off(type: 'message', callback?: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: off(type: 'close', callback?: Callback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: off(type: 'close', callback?: Callback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketConnection;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketServer;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketServer;
Method or attribute name: listen(address: NetAddress, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketServer;
Method or attribute name: listen(address: NetAddress): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketServer;
Method or attribute name: getState(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: getState(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketServer;
Method or attribute name: on(type: 'connect', callback: Callback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TCPSocketServer;
Method or attribute name: off(type: 'connect', callback?: Callback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: send(data: string, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: getRemoteCertificate(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: getCipherSuite(callback: AsyncCallback\>): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketConnection;
Method or attribute name: getSignatureAlgorithms(callback: AsyncCallback\>): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: listen(options: TLSConnectOptions, callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: listen(options: TLSConnectOptions): Promise\;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: getCertificate(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: getProtocol(callback: AsyncCallback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: on(type: 'connect', callback: Callback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: TLSSocketServer;
Method or attribute name: off(type: 'connect', callback?: Callback\): void;|@ohos.net.socket.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getIfaceRxBytes(nic: string, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getIfaceRxBytes(nic: string): Promise\;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getIfaceTxBytes(nic: string, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getIfaceTxBytes(nic: string): Promise\;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getCellularRxBytes(callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getCellularRxBytes(): Promise\;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getCellularTxBytes(callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getCellularTxBytes(): Promise\;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getAllRxBytes(callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getAllRxBytes(): Promise\;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getAllTxBytes(callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getAllTxBytes(): Promise\;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getUidRxBytes(uid: number, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getUidRxBytes(uid: number): Promise\;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getUidTxBytes(uid: number, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getUidTxBytes(uid: number): Promise\;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function on(type: 'netStatsChange', callback: Callback\<{ iface: string, uid?: number }>): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function off(type: 'netStatsChange', callback?: Callback\<{ iface: string, uid?: number }>): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getTrafficStatsByIface(ifaceInfo: IfaceInfo, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getTrafficStatsByIface(ifaceInfo: IfaceInfo): Promise\;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getTrafficStatsByUid(uidInfo: UidInfo, callback: AsyncCallback\): void;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: statistics;
Method or attribute name: function getTrafficStatsByUid(uidInfo: UidInfo): Promise\;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: IfaceInfo;
Method or attribute name: iface: string;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: IfaceInfo;
Method or attribute name: startTime: number;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: IfaceInfo;
Method or attribute name: endTime: number;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: UidInfo;
Method or attribute name: ifaceInfo: IfaceInfo;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: UidInfo;
Method or attribute name: uid: number;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: NetStatsInfo;
Method or attribute name: rxBytes: number;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: NetStatsInfo;
Method or attribute name: txBytes: number;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: NetStatsInfo;
Method or attribute name: rxPackets: number;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: NetStatsInfo;
Method or attribute name: txPackets: number;|@ohos.net.statistics.d.ts| +|Added|NA|Class name: vpn;
Method or attribute name: export type LinkAddress = connection.LinkAddress;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: vpn;
Method or attribute name: export type RouteInfo = connection.RouteInfo;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: vpn;
Method or attribute name: function createVpnConnection(context: AbilityContext): VpnConnection;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConnection;
Method or attribute name: setUp(config: VpnConfig, callback: AsyncCallback\): void;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConnection;
Method or attribute name: setUp(config: VpnConfig): Promise\;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConnection;
Method or attribute name: protect(socketFd: number, callback: AsyncCallback\): void;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConnection;
Method or attribute name: protect(socketFd: number): Promise\;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConnection;
Method or attribute name: destroy(callback: AsyncCallback\): void;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConnection;
Method or attribute name: destroy(): Promise\;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: addresses: Array\;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: routes?: Array\;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: dnsAddresses?: Array\;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: searchDomains?: Array\;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: mtu?: number;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: isIPv4Accepted?: boolean;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: isIPv6Accepted?: boolean;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: isLegacy?: boolean;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: isBlocking?: boolean;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: trustedApplications?: Array\;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: VpnConfig;
Method or attribute name: blockedApplications?: Array\;|@ohos.net.vpn.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function getScanResults(): Promise\>;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function getScanResults(callback: AsyncCallback\>): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function getScanResultsSync(): Array\;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function setScanAlwaysAllowed(isScanAlwaysAllowed: boolean): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function getScanAlwaysAllowed(): boolean;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function updateNetwork(config: WifiDeviceConfig): number;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function disableNetwork(netId: number): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function removeAllNetwork(): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function removeDevice(id: number): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function getDisconnectedReason(): DisconnectedReason;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function getStations(): Array\;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function createGroup(config: WifiP2PConfig): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function removeGroup(): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function startDiscoverDevices(): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function stopDiscoverDevices(): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function deletePersistentGroup(netId: number): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: wifiManager;
Method or attribute name: function setDeviceName(devName: string): void;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: DisconnectedReason;
Method or attribute name: DISC_REASON_DEFAULT = 0|@ohos.wifiManager.d.ts| +|Added|NA|Class name: DisconnectedReason;
Method or attribute name: DISC_REASON_WRONG_PWD = 1|@ohos.wifiManager.d.ts| +|Added|NA|Class name: DisconnectedReason;
Method or attribute name: DISC_REASON_CONNECTION_FULL = 2|@ohos.wifiManager.d.ts| +|Added|NA|Class name: ProxyMethod;
Method or attribute name: METHOD_NONE = 0|@ohos.wifiManager.d.ts| +|Added|NA|Class name: ProxyMethod;
Method or attribute name: METHOD_AUTO = 1|@ohos.wifiManager.d.ts| +|Added|NA|Class name: ProxyMethod;
Method or attribute name: METHOD_MANUAL = 2|@ohos.wifiManager.d.ts| +|Added|NA|Class name: WifiProxyConfig;
Method or attribute name: proxyMethod?: ProxyMethod;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: WifiProxyConfig;
Method or attribute name: pacWebAddress?: string;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: WifiProxyConfig;
Method or attribute name: serverHostName?: string;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: WifiProxyConfig;
Method or attribute name: serverPort?: number;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: WifiProxyConfig;
Method or attribute name: exclusionObjects?: string;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: WifiDeviceConfig;
Method or attribute name: proxyConfig?: WifiProxyConfig;|@ohos.wifiManager.d.ts| +|Added|NA|Class name: HotspotConfig;
Method or attribute name: ipAddress?: string;|@ohos.wifiManager.d.ts| +|Error code added|Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise\;
Old version information: |Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise\;
New version information: 201,401,801,2900001,2900099|@ohos.bluetoothManager.d.ts| +|Error code added|Class name: GattClientDevice;
Method or attribute name: getServices(): Promise\>;
Old version information: |Class name: GattClientDevice;
Method or attribute name: getServices(): Promise\>;
New version information: 201,401,801,2900001,2900099|@ohos.bluetoothManager.d.ts| +|Error code added|Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise\;
Old version information: |Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise\;
New version information: 201,401,801,2900001,2901000,2900099|@ohos.bluetoothManager.d.ts| +|Error code added|Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise\;
Old version information: |Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise\;
New version information: 201,401,801,2900001,2901000,2900099|@ohos.bluetoothManager.d.ts| +|Error code added|Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise\;
Old version information: |Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise\;
New version information: 201,401,801,2900099|@ohos.bluetoothManager.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function getDefaultNet(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function getDefaultNet(): Promise\;
New version information: 201,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function getAllNets(): Promise\>;
Old version information: |Class name: connection;
Method or attribute name: function getAllNets(): Promise\>;
New version information: 201,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise\;
New version information: 201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise\;
New version information: 201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise\;
New version information: 201,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise\;
New version information: 201,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise\;
New version information: 201,202,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise\;
New version information: 201,202,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise\;
New version information: 201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise\;
New version information: 201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise\>;
Old version information: |Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise\>;
New version information: 201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: NetHandle;
Method or attribute name: bindSocket(socketParam: TCPSocket \| UDPSocket): Promise\;
Old version information: |Class name: NetHandle;
Method or attribute name: bindSocket(socketParam: TCPSocket \| UDPSocket): Promise\;
New version information: 401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise\>;
Old version information: |Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise\>;
New version information: 201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise\;
Old version information: |Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise\;
New version information: 201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|Error code added|Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise\;
Old version information: |Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise\;
New version information: 201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts| +|Error code added|Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\;
Old version information: |Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\;
New version information: 201,202,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007|@ohos.net.ethernet.d.ts| +|Error code added|Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise\;
Old version information: |Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise\;
New version information: 201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts| +|Error code added|Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise\>;
Old version information: |Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise\>;
New version information: 201,202,2200002,2200003|@ohos.net.ethernet.d.ts| +|Error code added|Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback\): void;
Old version information: |Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback\): void;
New version information: 401,201,2300001,2300003,2300005,2300006,2300007,2300008,2300009,2300016,2300018,2300023,2300025,2300026,2300027,2300028,2300047,2300052,2300055,2300056,2300058,2300059,2300060,2300061,2300063,2300070,2300073,2300077,2300078,2300094,2300999|@ohos.net.http.d.ts| +|Error code added|Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise\;
Old version information: |Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise\;
New version information: 401,201,2300001,2300003,2300005,2300006,2300007,2300008,2300009,2300016,2300018,2300023,2300025,2300026,2300027,2300028,2300047,2300052,2300055,2300056,2300058,2300059,2300060,2300061,2300063,2300070,2300073,2300077,2300078,2300094,2300999|@ohos.net.http.d.ts| +|Error code added|Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise\;
New version information: 201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts| +|Error code added|Class name: sharing;
Method or attribute name: function isSharing(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function isSharing(): Promise\;
New version information: 201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts| +|Error code added|Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise\;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011|@ohos.net.sharing.d.ts| +|Error code added|Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise\;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011|@ohos.net.sharing.d.ts| +|Error code added|Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise\;
New version information: 201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code added|Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise\;
New version information: 201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code added|Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise\;
New version information: 201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code added|Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise\>;
Old version information: |Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise\>;
New version information: 201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code added|Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise\;
New version information: 201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code added|Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise\>;
Old version information: |Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise\>;
New version information: 201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code added|Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
Old version information: |Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
New version information: 401,201|@ohos.net.socket.d.ts| +|Error code added|Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
New version information: 401,201|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
New version information: 401,201,2303198,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise\;
Old version information: |Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise\;
New version information: 401,201|@ohos.net.socket.d.ts| +|Error code added|Class name: UDPSocket;
Method or attribute name: close(): Promise\;
Old version information: |Class name: UDPSocket;
Method or attribute name: close(): Promise\;
New version information: 201|@ohos.net.socket.d.ts| +|Error code added|Class name: TCPSocket;
Method or attribute name: close(): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: close(): Promise\;
New version information: 201|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: close(): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: close(): Promise\;
New version information: 401,2303501,2303505,2303506,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: UDPSocket;
Method or attribute name: getState(): Promise\;
Old version information: |Class name: UDPSocket;
Method or attribute name: getState(): Promise\;
New version information: 201|@ohos.net.socket.d.ts| +|Error code added|Class name: TCPSocket;
Method or attribute name: getState(): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: getState(): Promise\;
New version information: 201|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: getState(): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: getState(): Promise\;
New version information: 2303188,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise\;
Old version information: |Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise\;
New version information: 401,201|@ohos.net.socket.d.ts| +|Error code added|Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise\;
New version information: 401,201|@ohos.net.socket.d.ts| +|Error code added|Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise\;
New version information: 401,201|@ohos.net.socket.d.ts| +|Error code added|Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise\;
New version information: 201|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: getRemoteAddress(): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: getRemoteAddress(): Promise\;
New version information: 2303188,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise\;
New version information: 401,201|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise\;
New version information: 401,2303188,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: getCertificate(): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: getCertificate(): Promise\;
New version information: 2303501,2303504,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: getRemoteCertificate(): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: getRemoteCertificate(): Promise\;
New version information: 2303501,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: getProtocol(): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: getProtocol(): Promise\;
New version information: 2303501,2303505,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: getCipherSuite(): Promise\>;
Old version information: |Class name: TLSSocket;
Method or attribute name: getCipherSuite(): Promise\>;
New version information: 2303501,2303502,2303505,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: getSignatureAlgorithms(): Promise\>;
Old version information: |Class name: TLSSocket;
Method or attribute name: getSignatureAlgorithms(): Promise\>;
New version information: 2303501,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: connect(options: TLSConnectOptions): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: connect(options: TLSConnectOptions): Promise\;
New version information: 401,2303104,2303109,2303111,2303188,2303191,2303198,2303199,2303210,2303501,2303502,2303503,2303505,2303506,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: TLSSocket;
Method or attribute name: send(data: string): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: send(data: string): Promise\;
New version information: 401,2303501,2303503,2303505,2303506,2300002|@ohos.net.socket.d.ts| +|Error code added|Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\): void;
Old version information: |Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\): void;
New version information: 401,201|@ohos.net.webSocket.d.ts| +|Error code added|Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise\;
Old version information: |Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise\;
New version information: 401,201|@ohos.net.webSocket.d.ts| +|Error code added|Class name: WebSocket;
Method or attribute name: send(data: string \| ArrayBuffer): Promise\;
Old version information: |Class name: WebSocket;
Method or attribute name: send(data: string \| ArrayBuffer): Promise\;
New version information: 401,201|@ohos.net.webSocket.d.ts| +|Error code added|Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback\): void;
Old version information: |Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback\): void;
New version information: 401,201|@ohos.net.webSocket.d.ts| +|Error code added|Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise\;
Old version information: |Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise\;
New version information: 401,201|@ohos.net.webSocket.d.ts| +|Error code added|Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\): void;
New version information: 201,202,401,801,2501000|@ohos.wifiManager.d.ts| +|Error code added|Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\): void;
New version information: 201,401,801,2501000|@ohos.wifiManager.d.ts| +|Error code added|Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback\): void;
New version information: 201,401,801,2501000|@ohos.wifiManager.d.ts| +|Error code added|Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback\): void;
New version information: 201,202,801,2501000,2501001|@ohos.wifiManager.d.ts| +|Error code added|Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback\): void;
New version information: 201,801,2801000|@ohos.wifiManager.d.ts| +|Error code added|Class name: wifiManager;
Method or attribute name: function getCurrentP2pGroup(callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getCurrentP2pGroup(callback: AsyncCallback\): void;
New version information: 201,801,2801000|@ohos.wifiManager.d.ts| +|Error code added|Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback\): void;
New version information: 201,801,2801000|@ohos.wifiManager.d.ts| +|Error code added|Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback\): void;
New version information: 201,801,2801000|@ohos.wifiManager.d.ts| +|Error code added|Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback\>): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback\>): void;
New version information: 201,202,801,2801000|@ohos.wifiManager.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function getDefaultNet(callback: AsyncCallback\): void;
Old version information: 201,2100002,2100003|Class name: connection;
Method or attribute name: function getDefaultNet(callback: AsyncCallback\): void;
New version information: 201,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function getDefaultNetSync(): NetHandle;
Old version information: 201,2100002,2100003|Class name: connection;
Method or attribute name: function getDefaultNetSync(): NetHandle;
New version information: 201,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function getAllNets(callback: AsyncCallback\>): void;
Old version information: 201,2100002,2100003|Class name: connection;
Method or attribute name: function getAllNets(callback: AsyncCallback\>): void;
New version information: 201,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function isDefaultNetMetered(callback: AsyncCallback\): void;
Old version information: 201,2100002,2100003|Class name: connection;
Method or attribute name: function isDefaultNetMetered(callback: AsyncCallback\): void;
New version information: 201,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function hasDefaultNet(callback: AsyncCallback\): void;
Old version information: 201,2100002,2100003|Class name: connection;
Method or attribute name: function hasDefaultNet(callback: AsyncCallback\): void;
New version information: 201,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function enableAirplaneMode(callback: AsyncCallback\): void;
Old version information: 201,2100002,2100003|Class name: connection;
Method or attribute name: function enableAirplaneMode(callback: AsyncCallback\): void;
New version information: 201,202,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function disableAirplaneMode(callback: AsyncCallback\): void;
Old version information: 201,2100002,2100003|Class name: connection;
Method or attribute name: function disableAirplaneMode(callback: AsyncCallback\): void;
New version information: 201,202,401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function getAppNet(callback: AsyncCallback\): void;
Old version information: 2100002,2100003|Class name: connection;
Method or attribute name: function getAppNet(callback: AsyncCallback\): void;
New version information: 401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function getAppNet(): Promise\;
Old version information: 2100002,2100003|Class name: connection;
Method or attribute name: function getAppNet(): Promise\;
New version information: 401,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function getGlobalHttpProxy(callback: AsyncCallback\): void;
Old version information: 2100002,2100003|Class name: connection;
Method or attribute name: function getGlobalHttpProxy(callback: AsyncCallback\): void;
New version information: 401,202,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function getGlobalHttpProxy(): Promise\;
Old version information: 2100002,2100003|Class name: connection;
Method or attribute name: function getGlobalHttpProxy(): Promise\;
New version information: 401,202,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback\): void;
Old version information: 201,401,2100001,2100002,2100003|Class name: connection;
Method or attribute name: function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback\): void;
New version information: 201,401,202,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: connection;
Method or attribute name: function setGlobalHttpProxy(httpProxy: HttpProxy): Promise\;
Old version information: 201,401,2100001,2100002,2100003|Class name: connection;
Method or attribute name: function setGlobalHttpProxy(httpProxy: HttpProxy): Promise\;
New version information: 201,401,202,2100001,2100002,2100003|@ohos.net.connection.d.ts| +|Error code changed|Class name: NetConnection;
Method or attribute name: register(callback: AsyncCallback\): void;
Old version information: 201,2100002,2100003,2101008,2101022|Class name: NetConnection;
Method or attribute name: register(callback: AsyncCallback\): void;
New version information: 201,401,2100002,2100003,2101008,2101022|@ohos.net.connection.d.ts| +|Error code changed|Class name: NetConnection;
Method or attribute name: unregister(callback: AsyncCallback\): void;
Old version information: 2100002,2100003,2101007|Class name: NetConnection;
Method or attribute name: unregister(callback: AsyncCallback\): void;
New version information: 201,401,2100002,2100003,2101007|@ohos.net.connection.d.ts| +|Error code changed|Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string, callback: AsyncCallback\): void;
Old version information: 201,401,2200001,2200002,2200003,2201005|Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string, callback: AsyncCallback\): void;
New version information: 201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts| +|Error code changed|Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback\): void;
Old version information: 201,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007|Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback\): void;
New version information: 201,202,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007|@ohos.net.ethernet.d.ts| +|Error code changed|Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string, callback: AsyncCallback\): void;
Old version information: 201,401,2200001,2200002,2200003,2201005|Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string, callback: AsyncCallback\): void;
New version information: 201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts| +|Error code changed|Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(callback: AsyncCallback\>): void;
Old version information: 201,2200002,2200003|Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(callback: AsyncCallback\>): void;
New version information: 201,202,2200002,2200003|@ohos.net.ethernet.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function isSharingSupported(callback: AsyncCallback\): void;
Old version information: 201,2200002,2200003,2202011|Class name: sharing;
Method or attribute name: function isSharingSupported(callback: AsyncCallback\): void;
New version information: 201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function isSharing(callback: AsyncCallback\): void;
Old version information: 201,2200002,2200003,2202011|Class name: sharing;
Method or attribute name: function isSharing(callback: AsyncCallback\): void;
New version information: 201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType, callback: AsyncCallback\): void;
Old version information: 201,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011|Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType, callback: AsyncCallback\): void;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType, callback: AsyncCallback\): void;
Old version information: 201,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011|Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType, callback: AsyncCallback\): void;
New version information: 201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function getStatsRxBytes(callback: AsyncCallback\): void;
Old version information: 201,2200002,2200003|Class name: sharing;
Method or attribute name: function getStatsRxBytes(callback: AsyncCallback\): void;
New version information: 201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function getStatsTxBytes(callback: AsyncCallback\): void;
Old version information: 201,2200002,2200003|Class name: sharing;
Method or attribute name: function getStatsTxBytes(callback: AsyncCallback\): void;
New version information: 201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function getStatsTotalBytes(callback: AsyncCallback\): void;
Old version information: 201,2200002,2200003|Class name: sharing;
Method or attribute name: function getStatsTotalBytes(callback: AsyncCallback\): void;
New version information: 201,202,401,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback\>): void;
Old version information: 201,401,2200001,2200002,2200003|Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback\>): void;
New version information: 201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType, callback: AsyncCallback\): void;
Old version information: 201,401,2200001,2200002,2200003|Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType, callback: AsyncCallback\): void;
New version information: 201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback\>): void;
Old version information: 201,401,2200001,2200002,2200003|Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback\>): void;
New version information: 201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function on(type: 'sharingStateChange', callback: Callback\): void;
Old version information: 201,401|Class name: sharing;
Method or attribute name: function on(type: 'sharingStateChange', callback: Callback\): void;
New version information: 201,202,401|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function on(type: 'interfaceSharingStateChange', callback: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
Old version information: 201,401|Class name: sharing;
Method or attribute name: function on(type: 'interfaceSharingStateChange', callback: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
New version information: 201,202,401|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function on(type: 'sharingUpstreamChange', callback: Callback\): void;
Old version information: 201,401|Class name: sharing;
Method or attribute name: function on(type: 'sharingUpstreamChange', callback: Callback\): void;
New version information: 201,202,401|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function off(type: 'sharingStateChange', callback?: Callback\): void;
Old version information: 201,401|Class name: sharing;
Method or attribute name: function off(type: 'sharingStateChange', callback?: Callback\): void;
New version information: 201,202,401|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function off(type: 'interfaceSharingStateChange', callback?: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
Old version information: 201,401|Class name: sharing;
Method or attribute name: function off(type: 'interfaceSharingStateChange', callback?: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;
New version information: 201,202,401|@ohos.net.sharing.d.ts| +|Error code changed|Class name: sharing;
Method or attribute name: function off(type: 'sharingUpstreamChange', callback?: Callback\): void;
Old version information: 201,401|Class name: sharing;
Method or attribute name: function off(type: 'sharingUpstreamChange', callback?: Callback\): void;
New version information: 201,202,401|@ohos.net.sharing.d.ts| +|Access level changed|Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise\;
New version information: systemapi|@ohos.net.connection.d.ts| +|Access level changed|Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise\;
New version information: systemapi|@ohos.net.connection.d.ts| +|Access level changed|Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise\;
Old version information: |Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise\;
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\;
Old version information: |Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\;
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise\;
Old version information: |Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise\;
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise\>;
Old version information: |Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise\>;
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: InterfaceConfiguration;
Method or attribute name: route: string;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: route: string;
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: IPSetMode;
Method or attribute name: STATIC = 0
Old version information: |Class name: IPSetMode;
Method or attribute name: STATIC = 0
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: IPSetMode;
Method or attribute name: DHCP = 1
Old version information: |Class name: IPSetMode;
Method or attribute name: DHCP = 1
New version information: systemapi|@ohos.net.ethernet.d.ts| +|Access level changed|Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise\;
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: sharing;
Method or attribute name: function isSharing(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function isSharing(): Promise\;
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise\;
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise\;
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise\;
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise\;
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise\;
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise\>;
Old version information: |Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise\>;
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise\;
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise\>;
Old version information: |Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise\>;
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_SERVING = 1
Old version information: |Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_SERVING = 1
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_CAN_SERVER = 2
Old version information: |Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_CAN_SERVER = 2
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_ERROR = 3
Old version information: |Class name: SharingIfaceState;
Method or attribute name: SHARING_NIC_ERROR = 3
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: SharingIfaceType;
Method or attribute name: SHARING_WIFI = 0
Old version information: |Class name: SharingIfaceType;
Method or attribute name: SHARING_WIFI = 0
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: SharingIfaceType;
Method or attribute name: SHARING_USB = 1
Old version information: |Class name: SharingIfaceType;
Method or attribute name: SHARING_USB = 1
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: SharingIfaceType;
Method or attribute name: SHARING_BLUETOOTH = 2
Old version information: |Class name: SharingIfaceType;
Method or attribute name: SHARING_BLUETOOTH = 2
New version information: systemapi|@ohos.net.sharing.d.ts| +|Access level changed|Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback\>): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback\>): void;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: EapMethod;
Method or attribute name: enum EapMethod
Old version information: systemapi|Class name: EapMethod;
Method or attribute name: enum EapMethod
New version information: |@ohos.wifiManager.d.ts| +|Access level changed|Class name: Phase2Method;
Method or attribute name: enum Phase2Method
Old version information: systemapi|Class name: Phase2Method;
Method or attribute name: enum Phase2Method
New version information: |@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiEapConfig;
Method or attribute name: interface WifiEapConfig
Old version information: systemapi|Class name: WifiEapConfig;
Method or attribute name: interface WifiEapConfig
New version information: |@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiDeviceConfig;
Method or attribute name: creatorUid?: number;
Old version information: |Class name: WifiDeviceConfig;
Method or attribute name: creatorUid?: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiDeviceConfig;
Method or attribute name: disableReason?: number;
Old version information: |Class name: WifiDeviceConfig;
Method or attribute name: disableReason?: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiDeviceConfig;
Method or attribute name: netId?: number;
Old version information: |Class name: WifiDeviceConfig;
Method or attribute name: netId?: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiDeviceConfig;
Method or attribute name: randomMacType?: number;
Old version information: |Class name: WifiDeviceConfig;
Method or attribute name: randomMacType?: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiDeviceConfig;
Method or attribute name: randomMacAddr?: string;
Old version information: |Class name: WifiDeviceConfig;
Method or attribute name: randomMacAddr?: string;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiDeviceConfig;
Method or attribute name: ipType?: IpType;
Old version information: |Class name: WifiDeviceConfig;
Method or attribute name: ipType?: IpType;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiDeviceConfig;
Method or attribute name: staticIp?: IpConfig;
Old version information: |Class name: WifiDeviceConfig;
Method or attribute name: staticIp?: IpConfig;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
Old version information: systemapi|Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
New version information: |@ohos.wifiManager.d.ts| +|Access level changed|Class name: IpConfig;
Method or attribute name: ipAddress: number;
Old version information: |Class name: IpConfig;
Method or attribute name: ipAddress: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: IpConfig;
Method or attribute name: gateway: number;
Old version information: |Class name: IpConfig;
Method or attribute name: gateway: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: IpConfig;
Method or attribute name: prefixLength: number;
Old version information: |Class name: IpConfig;
Method or attribute name: prefixLength: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: IpConfig;
Method or attribute name: dnsServers: number[];
Old version information: |Class name: IpConfig;
Method or attribute name: dnsServers: number[];
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: IpConfig;
Method or attribute name: domains: Array\;
Old version information: |Class name: IpConfig;
Method or attribute name: domains: Array\;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiLinkedInfo;
Method or attribute name: networkId: number;
Old version information: |Class name: WifiLinkedInfo;
Method or attribute name: networkId: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiLinkedInfo;
Method or attribute name: chload: number;
Old version information: |Class name: WifiLinkedInfo;
Method or attribute name: chload: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiLinkedInfo;
Method or attribute name: snr: number;
Old version information: |Class name: WifiLinkedInfo;
Method or attribute name: snr: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: WifiLinkedInfo;
Method or attribute name: suppState: SuppState;
Old version information: |Class name: WifiLinkedInfo;
Method or attribute name: suppState: SuppState;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: HotspotConfig;
Method or attribute name: ssid: string;
Old version information: |Class name: HotspotConfig;
Method or attribute name: ssid: string;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: HotspotConfig;
Method or attribute name: securityType: WifiSecurityType;
Old version information: |Class name: HotspotConfig;
Method or attribute name: securityType: WifiSecurityType;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: HotspotConfig;
Method or attribute name: band: number;
Old version information: |Class name: HotspotConfig;
Method or attribute name: band: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: HotspotConfig;
Method or attribute name: channel?: number;
Old version information: |Class name: HotspotConfig;
Method or attribute name: channel?: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: HotspotConfig;
Method or attribute name: preSharedKey: string;
Old version information: |Class name: HotspotConfig;
Method or attribute name: preSharedKey: string;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: HotspotConfig;
Method or attribute name: maxConn: number;
Old version information: |Class name: HotspotConfig;
Method or attribute name: maxConn: number;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: StationInfo;
Method or attribute name: name: string;
Old version information: |Class name: StationInfo;
Method or attribute name: name: string;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: StationInfo;
Method or attribute name: macAddress: string;
Old version information: |Class name: StationInfo;
Method or attribute name: macAddress: string;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: StationInfo;
Method or attribute name: ipAddress: string;
Old version information: |Class name: StationInfo;
Method or attribute name: ipAddress: string;
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: IpType;
Method or attribute name: STATIC
Old version information: |Class name: IpType;
Method or attribute name: STATIC
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: IpType;
Method or attribute name: DHCP
Old version information: |Class name: IpType;
Method or attribute name: DHCP
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: IpType;
Method or attribute name: UNKNOWN
Old version information: |Class name: IpType;
Method or attribute name: UNKNOWN
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: DISCONNECTED
Old version information: |Class name: SuppState;
Method or attribute name: DISCONNECTED
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: INTERFACE_DISABLED
Old version information: |Class name: SuppState;
Method or attribute name: INTERFACE_DISABLED
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: INACTIVE
Old version information: |Class name: SuppState;
Method or attribute name: INACTIVE
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: SCANNING
Old version information: |Class name: SuppState;
Method or attribute name: SCANNING
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: AUTHENTICATING
Old version information: |Class name: SuppState;
Method or attribute name: AUTHENTICATING
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: ASSOCIATING
Old version information: |Class name: SuppState;
Method or attribute name: ASSOCIATING
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: ASSOCIATED
Old version information: |Class name: SuppState;
Method or attribute name: ASSOCIATED
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: FOUR_WAY_HANDSHAKE
Old version information: |Class name: SuppState;
Method or attribute name: FOUR_WAY_HANDSHAKE
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: GROUP_HANDSHAKE
Old version information: |Class name: SuppState;
Method or attribute name: GROUP_HANDSHAKE
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: COMPLETED
Old version information: |Class name: SuppState;
Method or attribute name: COMPLETED
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: UNINITIALIZED
Old version information: |Class name: SuppState;
Method or attribute name: UNINITIALIZED
New version information: systemapi|@ohos.wifiManager.d.ts| +|Access level changed|Class name: SuppState;
Method or attribute name: INVALID
Old version information: |Class name: SuppState;
Method or attribute name: INVALID
New version information: systemapi|@ohos.wifiManager.d.ts| +|Permission changed|Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise\;
Old version information: |Class name: GattClientDevice;
Method or attribute name: getDeviceName(): Promise\;
New version information: ohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts| +|Permission changed|Class name: GattClientDevice;
Method or attribute name: getServices(): Promise\>;
Old version information: |Class name: GattClientDevice;
Method or attribute name: getServices(): Promise\>;
New version information: ohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts| +|Permission changed|Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise\;
Old version information: |Class name: GattClientDevice;
Method or attribute name: readCharacteristicValue(characteristic: BLECharacteristic): Promise\;
New version information: ohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts| +|Permission changed|Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise\;
Old version information: |Class name: GattClientDevice;
Method or attribute name: readDescriptorValue(descriptor: BLEDescriptor): Promise\;
New version information: ohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts| +|Permission changed|Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise\;
Old version information: |Class name: GattClientDevice;
Method or attribute name: getRssiValue(): Promise\;
New version information: ohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function getDefaultNet(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function getDefaultNet(): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function getAllNets(): Promise\>;
Old version information: |Class name: connection;
Method or attribute name: function getAllNets(): Promise\>;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function getConnectionProperties(netHandle: NetHandle): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function getNetCapabilities(netHandle: NetHandle): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function isDefaultNetMetered(): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function hasDefaultNet(): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function enableAirplaneMode(): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.connection.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function disableAirplaneMode(): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.connection.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function reportNetConnected(netHandle: NetHandle): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO,ohos.permission.INTERNET|@ohos.net.connection.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise\;
Old version information: |Class name: connection;
Method or attribute name: function reportNetDisconnected(netHandle: NetHandle): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO,ohos.permission.INTERNET|@ohos.net.connection.d.ts| +|Permission changed|Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise\>;
Old version information: |Class name: connection;
Method or attribute name: function getAddressesByName(host: string): Promise\>;
New version information: ohos.permission.INTERNET|@ohos.net.connection.d.ts| +|Permission changed|Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise\>;
Old version information: |Class name: NetHandle;
Method or attribute name: getAddressesByName(host: string): Promise\>;
New version information: ohos.permission.INTERNET|@ohos.net.connection.d.ts| +|Permission changed|Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise\;
Old version information: |Class name: NetHandle;
Method or attribute name: getAddressByName(host: string): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.connection.d.ts| +|Permission changed|Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise\;
Old version information: |Class name: ethernet;
Method or attribute name: function getIfaceConfig(iface: string): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.net.ethernet.d.ts| +|Permission changed|Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\;
Old version information: |Class name: ethernet;
Method or attribute name: function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.ethernet.d.ts| +|Permission changed|Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise\;
Old version information: |Class name: ethernet;
Method or attribute name: function isIfaceActive(iface: string): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.net.ethernet.d.ts| +|Permission changed|Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise\>;
Old version information: |Class name: ethernet;
Method or attribute name: function getAllActiveIfaces(): Promise\>;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.net.ethernet.d.ts| +|Permission changed|Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback\): void;
Old version information: |Class name: HttpRequest;
Method or attribute name: request(url: string, options: HttpRequestOptions, callback: AsyncCallback\): void;
New version information: ohos.permission.INTERNET|@ohos.net.http.d.ts| +|Permission changed|Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise\;
Old version information: |Class name: HttpRequest;
Method or attribute name: request(url: string, options?: HttpRequestOptions): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.http.d.ts| +|Permission changed|Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function isSharingSupported(): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|Permission changed|Class name: sharing;
Method or attribute name: function isSharing(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function isSharing(): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|Permission changed|Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function startSharing(type: SharingIfaceType): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|Permission changed|Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function stopSharing(type: SharingIfaceType): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|Permission changed|Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getStatsRxBytes(): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|Permission changed|Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getStatsTxBytes(): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|Permission changed|Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getStatsTotalBytes(): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|Permission changed|Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise\>;
Old version information: |Class name: sharing;
Method or attribute name: function getSharingIfaces(state: SharingIfaceState): Promise\>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|Permission changed|Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise\;
Old version information: |Class name: sharing;
Method or attribute name: function getSharingState(type: SharingIfaceType): Promise\;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|Permission changed|Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise\>;
Old version information: |Class name: sharing;
Method or attribute name: function getSharableRegexes(type: SharingIfaceType): Promise\>;
New version information: ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts| +|Permission changed|Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
Old version information: |Class name: UDPSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
Old version information: |Class name: TLSSocket;
Method or attribute name: bind(address: NetAddress): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise\;
Old version information: |Class name: UDPSocket;
Method or attribute name: send(options: UDPSendOptions): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: UDPSocket;
Method or attribute name: close(): Promise\;
Old version information: |Class name: UDPSocket;
Method or attribute name: close(): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: TCPSocket;
Method or attribute name: close(): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: close(): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: UDPSocket;
Method or attribute name: getState(): Promise\;
Old version information: |Class name: UDPSocket;
Method or attribute name: getState(): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: TCPSocket;
Method or attribute name: getState(): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: getState(): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise\;
Old version information: |Class name: UDPSocket;
Method or attribute name: setExtraOptions(options: UDPExtraOptions): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: connect(options: TCPConnectOptions): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: send(options: TCPSendOptions): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: getRemoteAddress(): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise\;
Old version information: |Class name: TCPSocket;
Method or attribute name: setExtraOptions(options: TCPExtraOptions): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.socket.d.ts| +|Permission changed|Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\): void;
Old version information: |Class name: WebSocket;
Method or attribute name: connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\): void;
New version information: ohos.permission.INTERNET|@ohos.net.webSocket.d.ts| +|Permission changed|Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise\;
Old version information: |Class name: WebSocket;
Method or attribute name: connect(url: string, options?: WebSocketRequestOptions): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.webSocket.d.ts| +|Permission changed|Class name: WebSocket;
Method or attribute name: send(data: string \| ArrayBuffer): Promise\;
Old version information: |Class name: WebSocket;
Method or attribute name: send(data: string \| ArrayBuffer): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.webSocket.d.ts| +|Permission changed|Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback\): void;
Old version information: |Class name: WebSocket;
Method or attribute name: close(options: WebSocketCloseOptions, callback: AsyncCallback\): void;
New version information: ohos.permission.INTERNET|@ohos.net.webSocket.d.ts| +|Permission changed|Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise\;
Old version information: |Class name: WebSocket;
Method or attribute name: close(options?: WebSocketCloseOptions): Promise\;
New version information: ohos.permission.INTERNET|@ohos.net.webSocket.d.ts| +|Permission changed|Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\): void;
New version information: ohos.permission.SET_WIFI_INFO,ohos.permission.SET_WIFI_CONFIG|@ohos.wifiManager.d.ts| +|Permission changed|Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\): void;
New version information: ohos.permission.SET_WIFI_INFO|@ohos.wifiManager.d.ts| +|Permission changed|Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function removeCandidateConfig(networkId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.SET_WIFI_INFO|@ohos.wifiManager.d.ts| +|Permission changed|Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getLinkedInfo(callback: AsyncCallback\): void;
New version information: ohos.permission.GET_WIFI_INFO|@ohos.wifiManager.d.ts| +|Permission changed|Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getP2pLinkedInfo(callback: AsyncCallback\): void;
New version information: ohos.permission.GET_WIFI_INFO|@ohos.wifiManager.d.ts| +|Permission changed|Class name: wifiManager;
Method or attribute name: function getCurrentP2pGroup(callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getCurrentP2pGroup(callback: AsyncCallback\): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.wifiManager.d.ts| +|Permission changed|Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getP2pPeerDevices(callback: AsyncCallback\): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.wifiManager.d.ts| +|Permission changed|Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback\): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getP2pLocalDevice(callback: AsyncCallback\): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_CONFIG|@ohos.wifiManager.d.ts| +|Permission changed|Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback\>): void;
Old version information: |Class name: wifiManager;
Method or attribute name: function getP2pGroups(callback: AsyncCallback\>): void;
New version information: ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.wifiManager.d.ts| +|Type changed|Class name: NetSpecifier;
Method or attribute name: netCapabilities: NetCapabilities;
Old version information: |Class name: NetSpecifier;
Method or attribute name: netCapabilities: NetCapabilities;
New version information: NetCapabilities|@ohos.net.connection.d.ts| +|Type changed|Class name: NetSpecifier;
Method or attribute name: bearerPrivateIdentifier?: string;
Old version information: |Class name: NetSpecifier;
Method or attribute name: bearerPrivateIdentifier?: string;
New version information: ?string|@ohos.net.connection.d.ts| +|Type changed|Class name: NetHandle;
Method or attribute name: netId: number;
Old version information: |Class name: NetHandle;
Method or attribute name: netId: number;
New version information: number|@ohos.net.connection.d.ts| +|Type changed|Class name: NetCapabilities;
Method or attribute name: linkUpBandwidthKbps?: number;
Old version information: |Class name: NetCapabilities;
Method or attribute name: linkUpBandwidthKbps?: number;
New version information: ?number|@ohos.net.connection.d.ts| +|Type changed|Class name: NetCapabilities;
Method or attribute name: linkDownBandwidthKbps?: number;
Old version information: |Class name: NetCapabilities;
Method or attribute name: linkDownBandwidthKbps?: number;
New version information: ?number|@ohos.net.connection.d.ts| +|Type changed|Class name: NetCapabilities;
Method or attribute name: networkCap?: Array\;
Old version information: |Class name: NetCapabilities;
Method or attribute name: networkCap?: Array\;
New version information: ?Array\|@ohos.net.connection.d.ts| +|Type changed|Class name: NetCapabilities;
Method or attribute name: bearerTypes: Array\;
Old version information: |Class name: NetCapabilities;
Method or attribute name: bearerTypes: Array\;
New version information: Array\|@ohos.net.connection.d.ts| +|Type changed|Class name: ConnectionProperties;
Method or attribute name: interfaceName: string;
Old version information: |Class name: ConnectionProperties;
Method or attribute name: interfaceName: string;
New version information: string|@ohos.net.connection.d.ts| +|Type changed|Class name: ConnectionProperties;
Method or attribute name: domains: string;
Old version information: |Class name: ConnectionProperties;
Method or attribute name: domains: string;
New version information: string|@ohos.net.connection.d.ts| +|Type changed|Class name: ConnectionProperties;
Method or attribute name: linkAddresses: Array\;
Old version information: |Class name: ConnectionProperties;
Method or attribute name: linkAddresses: Array\;
New version information: Array\|@ohos.net.connection.d.ts| +|Type changed|Class name: ConnectionProperties;
Method or attribute name: dnses: Array\;
Old version information: |Class name: ConnectionProperties;
Method or attribute name: dnses: Array\;
New version information: Array\|@ohos.net.connection.d.ts| +|Type changed|Class name: ConnectionProperties;
Method or attribute name: routes: Array\;
Old version information: |Class name: ConnectionProperties;
Method or attribute name: routes: Array\;
New version information: Array\|@ohos.net.connection.d.ts| +|Type changed|Class name: ConnectionProperties;
Method or attribute name: mtu: number;
Old version information: |Class name: ConnectionProperties;
Method or attribute name: mtu: number;
New version information: number|@ohos.net.connection.d.ts| +|Type changed|Class name: RouteInfo;
Method or attribute name: interface: string;
Old version information: |Class name: RouteInfo;
Method or attribute name: interface: string;
New version information: string|@ohos.net.connection.d.ts| +|Type changed|Class name: RouteInfo;
Method or attribute name: destination: LinkAddress;
Old version information: |Class name: RouteInfo;
Method or attribute name: destination: LinkAddress;
New version information: LinkAddress|@ohos.net.connection.d.ts| +|Type changed|Class name: RouteInfo;
Method or attribute name: gateway: NetAddress;
Old version information: |Class name: RouteInfo;
Method or attribute name: gateway: NetAddress;
New version information: NetAddress|@ohos.net.connection.d.ts| +|Type changed|Class name: RouteInfo;
Method or attribute name: hasGateway: boolean;
Old version information: |Class name: RouteInfo;
Method or attribute name: hasGateway: boolean;
New version information: boolean|@ohos.net.connection.d.ts| +|Type changed|Class name: RouteInfo;
Method or attribute name: isDefaultRoute: boolean;
Old version information: |Class name: RouteInfo;
Method or attribute name: isDefaultRoute: boolean;
New version information: boolean|@ohos.net.connection.d.ts| +|Type changed|Class name: LinkAddress;
Method or attribute name: address: NetAddress;
Old version information: |Class name: LinkAddress;
Method or attribute name: address: NetAddress;
New version information: NetAddress|@ohos.net.connection.d.ts| +|Type changed|Class name: LinkAddress;
Method or attribute name: prefixLength: number;
Old version information: |Class name: LinkAddress;
Method or attribute name: prefixLength: number;
New version information: number|@ohos.net.connection.d.ts| +|Type changed|Class name: NetAddress;
Method or attribute name: address: string;
Old version information: |Class name: NetAddress;
Method or attribute name: address: string;
New version information: string|@ohos.net.connection.d.ts| +|Type changed|Class name: NetAddress;
Method or attribute name: family?: number;
Old version information: |Class name: NetAddress;
Method or attribute name: family?: number;
New version information: ?number|@ohos.net.connection.d.ts| +|Type changed|Class name: NetAddress;
Method or attribute name: port?: number;
Old version information: |Class name: NetAddress;
Method or attribute name: port?: number;
New version information: ?number|@ohos.net.connection.d.ts| +|Type changed|Class name: HttpProxy;
Method or attribute name: host: string;
Old version information: |Class name: HttpProxy;
Method or attribute name: host: string;
New version information: string|@ohos.net.connection.d.ts| +|Type changed|Class name: HttpProxy;
Method or attribute name: port: number;
Old version information: |Class name: HttpProxy;
Method or attribute name: port: number;
New version information: number|@ohos.net.connection.d.ts| +|Type changed|Class name: HttpProxy;
Method or attribute name: exclusionList: Array\;
Old version information: |Class name: HttpProxy;
Method or attribute name: exclusionList: Array\;
New version information: Array\|@ohos.net.connection.d.ts| +|Type changed|Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: mode: IPSetMode;
New version information: IPSetMode|@ohos.net.ethernet.d.ts| +|Type changed|Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: ipAddr: string;
New version information: string|@ohos.net.ethernet.d.ts| +|Type changed|Class name: InterfaceConfiguration;
Method or attribute name: route: string;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: route: string;
New version information: string|@ohos.net.ethernet.d.ts| +|Type changed|Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: gateway: string;
New version information: string|@ohos.net.ethernet.d.ts| +|Type changed|Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: netMask: string;
New version information: string|@ohos.net.ethernet.d.ts| +|Type changed|Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
Old version information: |Class name: InterfaceConfiguration;
Method or attribute name: dnsServers: string;
New version information: string|@ohos.net.ethernet.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: method?: RequestMethod;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: method?: RequestMethod;
New version information: ?RequestMethod|@ohos.net.http.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: extraData?: string \| Object \| ArrayBuffer;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: extraData?: string \| Object \| ArrayBuffer;
New version information: ?string \| Object \| ArrayBuffer|@ohos.net.http.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: expectDataType?: HttpDataType;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: expectDataType?: HttpDataType;
New version information: ?HttpDataType|@ohos.net.http.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: usingCache?: boolean;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: usingCache?: boolean;
New version information: ?boolean|@ohos.net.http.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: priority?: number;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: priority?: number;
New version information: ?number|@ohos.net.http.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: header?: Object;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: header?: Object;
New version information: ?Object|@ohos.net.http.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: readTimeout?: number;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: readTimeout?: number;
New version information: ?number|@ohos.net.http.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: connectTimeout?: number;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: connectTimeout?: number;
New version information: ?number|@ohos.net.http.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: usingProtocol?: HttpProtocol;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: usingProtocol?: HttpProtocol;
New version information: ?HttpProtocol|@ohos.net.http.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: usingProxy?: boolean \| HttpProxy;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: usingProxy?: boolean \| HttpProxy;
New version information: ?boolean \| HttpProxy|@ohos.net.http.d.ts| +|Type changed|Class name: HttpRequestOptions;
Method or attribute name: caPath?: string;
Old version information: |Class name: HttpRequestOptions;
Method or attribute name: caPath?: string;
New version information: ?string|@ohos.net.http.d.ts| +|Type changed|Class name: HttpResponse;
Method or attribute name: result: string \| Object \| ArrayBuffer;
Old version information: |Class name: HttpResponse;
Method or attribute name: result: string \| Object \| ArrayBuffer;
New version information: string \| Object \| ArrayBuffer|@ohos.net.http.d.ts| +|Type changed|Class name: HttpResponse;
Method or attribute name: resultType: HttpDataType;
Old version information: |Class name: HttpResponse;
Method or attribute name: resultType: HttpDataType;
New version information: HttpDataType|@ohos.net.http.d.ts| +|Type changed|Class name: HttpResponse;
Method or attribute name: responseCode: ResponseCode \| number;
Old version information: |Class name: HttpResponse;
Method or attribute name: responseCode: ResponseCode \| number;
New version information: ResponseCode \| number|@ohos.net.http.d.ts| +|Type changed|Class name: HttpResponse;
Method or attribute name: header: Object;
Old version information: |Class name: HttpResponse;
Method or attribute name: header: Object;
New version information: Object|@ohos.net.http.d.ts| +|Type changed|Class name: HttpResponse;
Method or attribute name: cookies: string;
Old version information: |Class name: HttpResponse;
Method or attribute name: cookies: string;
New version information: string|@ohos.net.http.d.ts| +|Type changed|Class name: LocalServiceInfo;
Method or attribute name: serviceType: string;
Old version information: |Class name: LocalServiceInfo;
Method or attribute name: serviceType: string;
New version information: string|@ohos.net.mdns.d.ts| +|Type changed|Class name: LocalServiceInfo;
Method or attribute name: serviceName: string;
Old version information: |Class name: LocalServiceInfo;
Method or attribute name: serviceName: string;
New version information: string|@ohos.net.mdns.d.ts| +|Type changed|Class name: LocalServiceInfo;
Method or attribute name: port?: number;
Old version information: |Class name: LocalServiceInfo;
Method or attribute name: port?: number;
New version information: ?number|@ohos.net.mdns.d.ts| +|Type changed|Class name: LocalServiceInfo;
Method or attribute name: host?: NetAddress;
Old version information: |Class name: LocalServiceInfo;
Method or attribute name: host?: NetAddress;
New version information: ?NetAddress|@ohos.net.mdns.d.ts| +|Type changed|Class name: LocalServiceInfo;
Method or attribute name: serviceAttribute?: Array\;
Old version information: |Class name: LocalServiceInfo;
Method or attribute name: serviceAttribute?: Array\;
New version information: ?Array\|@ohos.net.mdns.d.ts| +|Type changed|Class name: ServiceAttribute;
Method or attribute name: key: string;
Old version information: |Class name: ServiceAttribute;
Method or attribute name: key: string;
New version information: string|@ohos.net.mdns.d.ts| +|Type changed|Class name: ServiceAttribute;
Method or attribute name: value: Array\;
Old version information: |Class name: ServiceAttribute;
Method or attribute name: value: Array\;
New version information: Array\|@ohos.net.mdns.d.ts| +|Type changed|Class name: UDPSendOptions;
Method or attribute name: data: string \| ArrayBuffer;
Old version information: |Class name: UDPSendOptions;
Method or attribute name: data: string \| ArrayBuffer;
New version information: string \| ArrayBuffer|@ohos.net.socket.d.ts| +|Type changed|Class name: TCPSendOptions;
Method or attribute name: data: string \| ArrayBuffer;
Old version information: |Class name: TCPSendOptions;
Method or attribute name: data: string \| ArrayBuffer;
New version information: string \| ArrayBuffer|@ohos.net.socket.d.ts| +|Type changed|Class name: UDPSendOptions;
Method or attribute name: address: NetAddress;
Old version information: |Class name: UDPSendOptions;
Method or attribute name: address: NetAddress;
New version information: NetAddress|@ohos.net.socket.d.ts| +|Type changed|Class name: TCPConnectOptions;
Method or attribute name: address: NetAddress;
Old version information: |Class name: TCPConnectOptions;
Method or attribute name: address: NetAddress;
New version information: NetAddress|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSConnectOptions;
Method or attribute name: address: NetAddress;
Old version information: |Class name: TLSConnectOptions;
Method or attribute name: address: NetAddress;
New version information: NetAddress|@ohos.net.socket.d.ts| +|Type changed|Class name: ExtraOptionsBase;
Method or attribute name: receiveBufferSize?: number;
Old version information: |Class name: ExtraOptionsBase;
Method or attribute name: receiveBufferSize?: number;
New version information: ?number|@ohos.net.socket.d.ts| +|Type changed|Class name: ExtraOptionsBase;
Method or attribute name: sendBufferSize?: number;
Old version information: |Class name: ExtraOptionsBase;
Method or attribute name: sendBufferSize?: number;
New version information: ?number|@ohos.net.socket.d.ts| +|Type changed|Class name: ExtraOptionsBase;
Method or attribute name: reuseAddress?: boolean;
Old version information: |Class name: ExtraOptionsBase;
Method or attribute name: reuseAddress?: boolean;
New version information: ?boolean|@ohos.net.socket.d.ts| +|Type changed|Class name: ExtraOptionsBase;
Method or attribute name: socketTimeout?: number;
Old version information: |Class name: ExtraOptionsBase;
Method or attribute name: socketTimeout?: number;
New version information: ?number|@ohos.net.socket.d.ts| +|Type changed|Class name: UDPExtraOptions;
Method or attribute name: broadcast?: boolean;
Old version information: |Class name: UDPExtraOptions;
Method or attribute name: broadcast?: boolean;
New version information: ?boolean|@ohos.net.socket.d.ts| +|Type changed|Class name: SocketStateBase;
Method or attribute name: isBound: boolean;
Old version information: |Class name: SocketStateBase;
Method or attribute name: isBound: boolean;
New version information: boolean|@ohos.net.socket.d.ts| +|Type changed|Class name: SocketStateBase;
Method or attribute name: isClose: boolean;
Old version information: |Class name: SocketStateBase;
Method or attribute name: isClose: boolean;
New version information: boolean|@ohos.net.socket.d.ts| +|Type changed|Class name: SocketStateBase;
Method or attribute name: isConnected: boolean;
Old version information: |Class name: SocketStateBase;
Method or attribute name: isConnected: boolean;
New version information: boolean|@ohos.net.socket.d.ts| +|Type changed|Class name: SocketRemoteInfo;
Method or attribute name: address: string;
Old version information: |Class name: SocketRemoteInfo;
Method or attribute name: address: string;
New version information: string|@ohos.net.socket.d.ts| +|Type changed|Class name: SocketRemoteInfo;
Method or attribute name: family: 'IPv4' \| 'IPv6';
Old version information: |Class name: SocketRemoteInfo;
Method or attribute name: family: 'IPv4' \| 'IPv6';
New version information: 'IPv4' \| 'IPv6'|@ohos.net.socket.d.ts| +|Type changed|Class name: SocketRemoteInfo;
Method or attribute name: port: number;
Old version information: |Class name: SocketRemoteInfo;
Method or attribute name: port: number;
New version information: number|@ohos.net.socket.d.ts| +|Type changed|Class name: SocketRemoteInfo;
Method or attribute name: size: number;
Old version information: |Class name: SocketRemoteInfo;
Method or attribute name: size: number;
New version information: number|@ohos.net.socket.d.ts| +|Type changed|Class name: TCPConnectOptions;
Method or attribute name: timeout?: number;
Old version information: |Class name: TCPConnectOptions;
Method or attribute name: timeout?: number;
New version information: ?number|@ohos.net.socket.d.ts| +|Type changed|Class name: TCPSendOptions;
Method or attribute name: encoding?: string;
Old version information: |Class name: TCPSendOptions;
Method or attribute name: encoding?: string;
New version information: ?string|@ohos.net.socket.d.ts| +|Type changed|Class name: TCPExtraOptions;
Method or attribute name: keepAlive?: boolean;
Old version information: |Class name: TCPExtraOptions;
Method or attribute name: keepAlive?: boolean;
New version information: ?boolean|@ohos.net.socket.d.ts| +|Type changed|Class name: TCPExtraOptions;
Method or attribute name: OOBInline?: boolean;
Old version information: |Class name: TCPExtraOptions;
Method or attribute name: OOBInline?: boolean;
New version information: ?boolean|@ohos.net.socket.d.ts| +|Type changed|Class name: TCPExtraOptions;
Method or attribute name: TCPNoDelay?: boolean;
Old version information: |Class name: TCPExtraOptions;
Method or attribute name: TCPNoDelay?: boolean;
New version information: ?boolean|@ohos.net.socket.d.ts| +|Type changed|Class name: TCPExtraOptions;
Method or attribute name: socketLinger?: { on: boolean, linger: number };
Old version information: |Class name: TCPExtraOptions;
Method or attribute name: socketLinger?: { on: boolean, linger: number };
New version information: ?object|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSSecureOptions;
Method or attribute name: ca: string \| Array\;
Old version information: |Class name: TLSSecureOptions;
Method or attribute name: ca: string \| Array\;
New version information: string \| Array\|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSSecureOptions;
Method or attribute name: cert?: string;
Old version information: |Class name: TLSSecureOptions;
Method or attribute name: cert?: string;
New version information: ?string|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSSecureOptions;
Method or attribute name: key?: string;
Old version information: |Class name: TLSSecureOptions;
Method or attribute name: key?: string;
New version information: ?string|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSSecureOptions;
Method or attribute name: password?: string;
Old version information: |Class name: TLSSecureOptions;
Method or attribute name: password?: string;
New version information: ?string|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSSecureOptions;
Method or attribute name: protocols?: Protocol \| Array\;
Old version information: |Class name: TLSSecureOptions;
Method or attribute name: protocols?: Protocol \| Array\;
New version information: ?Protocol \| Array\|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSSecureOptions;
Method or attribute name: useRemoteCipherPrefer?: boolean;
Old version information: |Class name: TLSSecureOptions;
Method or attribute name: useRemoteCipherPrefer?: boolean;
New version information: ?boolean|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSSecureOptions;
Method or attribute name: signatureAlgorithms?: string;
Old version information: |Class name: TLSSecureOptions;
Method or attribute name: signatureAlgorithms?: string;
New version information: ?string|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSSecureOptions;
Method or attribute name: cipherSuite?: string;
Old version information: |Class name: TLSSecureOptions;
Method or attribute name: cipherSuite?: string;
New version information: ?string|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSConnectOptions;
Method or attribute name: secureOptions: TLSSecureOptions;
Old version information: |Class name: TLSConnectOptions;
Method or attribute name: secureOptions: TLSSecureOptions;
New version information: TLSSecureOptions|@ohos.net.socket.d.ts| +|Type changed|Class name: TLSConnectOptions;
Method or attribute name: ALPNProtocols?: Array\;
Old version information: |Class name: TLSConnectOptions;
Method or attribute name: ALPNProtocols?: Array\;
New version information: ?Array\|@ohos.net.socket.d.ts| +|Type changed|Class name: WebSocketRequestOptions;
Method or attribute name: header?: Object;
Old version information: |Class name: WebSocketRequestOptions;
Method or attribute name: header?: Object;
New version information: ?Object|@ohos.net.webSocket.d.ts| +|Type changed|Class name: WebSocketCloseOptions;
Method or attribute name: code?: number;
Old version information: |Class name: WebSocketCloseOptions;
Method or attribute name: code?: number;
New version information: ?number|@ohos.net.webSocket.d.ts| +|Type changed|Class name: WebSocketCloseOptions;
Method or attribute name: reason?: string;
Old version information: |Class name: WebSocketCloseOptions;
Method or attribute name: reason?: string;
New version information: ?string|@ohos.net.webSocket.d.ts| +|Type changed|Class name: WifiEapConfig;
Method or attribute name: caCertAliases: string;
Old version information: |Class name: WifiEapConfig;
Method or attribute name: caCertAliases: string;
New version information: string|@ohos.wifiManager.d.ts| +|Type changed|Class name: WifiEapConfig;
Method or attribute name: clientCertAliases: string;
Old version information: |Class name: WifiEapConfig;
Method or attribute name: clientCertAliases: string;
New version information: string|@ohos.wifiManager.d.ts| +|Type changed|Class name: WifiEapConfig;
Method or attribute name: eapSubId: number;
Old version information: |Class name: WifiEapConfig;
Method or attribute name: eapSubId: number;
New version information: number|@ohos.wifiManager.d.ts| +|Type changed|Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
Old version information: |Class name: WifiDeviceConfig;
Method or attribute name: eapConfig?: WifiEapConfig;
New version information: ?WifiEapConfig|@ohos.wifiManager.d.ts| +|Type changed|Class name: NetworkResponse;
Method or attribute name: type: string;
Old version information: |Class name: NetworkResponse;
Method or attribute name: type: string;
New version information: string|@system.network.d.ts| +|Type changed|Class name: NetworkResponse;
Method or attribute name: metered: boolean;
Old version information: |Class name: NetworkResponse;
Method or attribute name: metered: boolean;
New version information: boolean|@system.network.d.ts| +|Function changed|Class name: HotspotConfig;
Method or attribute name: channel: number;|Class name: HotspotConfig;
Method or attribute name: channel?: number;|@ohos.wifiManager.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-compiler-and-runtime.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-compiler-and-runtime.md new file mode 100644 index 0000000000000000000000000000000000000000..a24a4fa1d0258a30b15d5605e4b01d6edbc6e3fc --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-compiler-and-runtime.md @@ -0,0 +1,51 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: ConditionType;
Method or attribute name: timeout?: number;|@ohos.process.d.ts| +|Added|NA|Class name: ConditionType;
Method or attribute name: killSignal?: number \| string;|@ohos.process.d.ts| +|Added|NA|Class name: ConditionType;
Method or attribute name: maxBuffer?: number;|@ohos.process.d.ts| +|Added|NA|Class name: taskpool;
Method or attribute name: function execute(group: TaskGroup, priority?: Priority): Promise\;|@ohos.taskpool.d.ts| +|Added|NA|Class name: taskpool;
Method or attribute name: function cancel(group: TaskGroup): void;|@ohos.taskpool.d.ts| +|Added|NA|Class name: taskpool;
Method or attribute name: function getTaskPoolInfo(): TaskPoolInfo;|@ohos.taskpool.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: static isCanceled(): boolean;|@ohos.taskpool.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: setTransferList(transfer?: ArrayBuffer[]): void;|@ohos.taskpool.d.ts| +|Added|NA|Class name: TaskGroup;
Method or attribute name: constructor();|@ohos.taskpool.d.ts| +|Added|NA|Class name: TaskGroup;
Method or attribute name: addTask(func: Function, ...args: unknown[]): void;|@ohos.taskpool.d.ts| +|Added|NA|Class name: TaskGroup;
Method or attribute name: addTask(task: Task): void;|@ohos.taskpool.d.ts| +|Added|NA|Class name: State;
Method or attribute name: WAITING = 1|@ohos.taskpool.d.ts| +|Added|NA|Class name: State;
Method or attribute name: RUNNING = 2|@ohos.taskpool.d.ts| +|Added|NA|Class name: State;
Method or attribute name: CANCELED = 3|@ohos.taskpool.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: taskId: number;|@ohos.taskpool.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: state: State;|@ohos.taskpool.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: duration?: number;|@ohos.taskpool.d.ts| +|Added|NA|Class name: ThreadInfo;
Method or attribute name: tid: number;|@ohos.taskpool.d.ts| +|Added|NA|Class name: ThreadInfo;
Method or attribute name: taskIds?: number[];|@ohos.taskpool.d.ts| +|Added|NA|Class name: ThreadInfo;
Method or attribute name: priority?: Priority;|@ohos.taskpool.d.ts| +|Added|NA|Class name: TaskPoolInfo;
Method or attribute name: threadInfos: ThreadInfo[];|@ohos.taskpool.d.ts| +|Added|NA|Class name: TaskPoolInfo;
Method or attribute name: taskInfos: TaskInfo[];|@ohos.taskpool.d.ts| +|Added|NA|Class name: Type;
Method or attribute name: BASIC|@ohos.util.d.ts| +|Added|NA|Class name: Type;
Method or attribute name: MIME|@ohos.util.d.ts| +|Error code added|Class name: WorkerEventListener;
Method or attribute name: (event: Event): void \| Promise\;
Old version information: |Class name: WorkerEventListener;
Method or attribute name: (event: Event): void \| Promise\;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code added|Class name: ThreadWorkerGlobalScope;
Method or attribute name: onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;
Old version information: |Class name: ThreadWorkerGlobalScope;
Method or attribute name: onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code added|Class name: ThreadWorkerGlobalScope;
Method or attribute name: onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;
Old version information: |Class name: ThreadWorkerGlobalScope;
Method or attribute name: onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code added|Class name: ThreadWorker;
Method or attribute name: onexit?: (code: number) => void;
Old version information: |Class name: ThreadWorker;
Method or attribute name: onexit?: (code: number) => void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code added|Class name: ThreadWorker;
Method or attribute name: onerror?: (err: ErrorEvent) => void;
Old version information: |Class name: ThreadWorker;
Method or attribute name: onerror?: (err: ErrorEvent) => void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code added|Class name: ThreadWorker;
Method or attribute name: onmessage?: (event: MessageEvents) => void;
Old version information: |Class name: ThreadWorker;
Method or attribute name: onmessage?: (event: MessageEvents) => void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code added|Class name: ThreadWorker;
Method or attribute name: onmessageerror?: (event: MessageEvents) => void;
Old version information: |Class name: ThreadWorker;
Method or attribute name: onmessageerror?: (event: MessageEvents) => void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code changed|Class name: taskpool;
Method or attribute name: function cancel(task: Task): void;
Old version information: 401,10200015,10200016|Class name: taskpool;
Method or attribute name: function cancel(task: Task): void;
New version information: 401,10200015|@ohos.taskpool.d.ts| +|Error code changed|Class name: Vector;
Method or attribute name: insert(element: T, index: number): void;
Old version information: If|Class name: Vector;
Method or attribute name: insert(element: T, index: number): void;
New version information: |@ohos.util.Vector.d.ts| +|Error code changed|Class name: Vector;
Method or attribute name: removeByRange(fromIndex: number, toIndex: number): void;
Old version information: If|Class name: Vector;
Method or attribute name: removeByRange(fromIndex: number, toIndex: number): void;
New version information: |@ohos.util.Vector.d.ts| +|Error code changed|Class name: Vector;
Method or attribute name: subVector(fromIndex: number, toIndex: number): Vector\;
Old version information: If|Class name: Vector;
Method or attribute name: subVector(fromIndex: number, toIndex: number): Vector\;
New version information: |@ohos.util.Vector.d.ts| +|Error code changed|Class name: WorkerEventTarget;
Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void;
Old version information: 401,10200004|Class name: WorkerEventTarget;
Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code changed|Class name: ThreadWorker;
Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void;
Old version information: 401,10200004|Class name: ThreadWorker;
Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code changed|Class name: ThreadWorker;
Method or attribute name: on(type: string, listener: WorkerEventListener): void;
Old version information: 401,10200004|Class name: ThreadWorker;
Method or attribute name: on(type: string, listener: WorkerEventListener): void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code changed|Class name: ThreadWorker;
Method or attribute name: once(type: string, listener: WorkerEventListener): void;
Old version information: 401,10200004|Class name: ThreadWorker;
Method or attribute name: once(type: string, listener: WorkerEventListener): void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Error code changed|Class name: ThreadWorker;
Method or attribute name: off(type: string, listener?: WorkerEventListener): void;
Old version information: 401,10200004|Class name: ThreadWorker;
Method or attribute name: off(type: string, listener?: WorkerEventListener): void;
New version information: 401,10200004,10200005|@ohos.worker.d.ts| +|Type changed|Class name: Task;
Method or attribute name: arguments?: unknown[];
Old version information: |Class name: Task;
Method or attribute name: arguments?: unknown[];
New version information: ?unknown[]|@ohos.taskpool.d.ts| +|Function changed|Class name: process;
Method or attribute name: function runCmd(command: string,

options?: { timeout?: number, killSignal?: number \| string, maxBuffer?: number }): ChildProcess;|Class name: process;
Method or attribute name: function runCmd(

command: string,

options?: ConditionType

): ChildProcess;|@ohos.process.d.ts| +|Function changed|Class name: Priority;
Method or attribute name: HIGH|Class name: Priority;
Method or attribute name: HIGH = 0|@ohos.taskpool.d.ts| +|Function changed|Class name: Priority;
Method or attribute name: MEDIUM|Class name: Priority;
Method or attribute name: MEDIUM = 1|@ohos.taskpool.d.ts| +|Function changed|Class name: Priority;
Method or attribute name: LOW|Class name: Priority;
Method or attribute name: LOW = 2|@ohos.taskpool.d.ts| +|Function changed|Class name: Base64Helper;
Method or attribute name: encodeToStringSync(src: Uint8Array): string;|Class name: Base64Helper;
Method or attribute name: encodeToStringSync(src: Uint8Array, options?: Type): string;|@ohos.util.d.ts| +|Function changed|Class name: Base64Helper;
Method or attribute name: decodeSync(src: Uint8Array \| string): Uint8Array;|Class name: Base64Helper;
Method or attribute name: decodeSync(src: Uint8Array \| string, options?: Type): Uint8Array;|@ohos.util.d.ts| +|Function changed|Class name: Base64Helper;
Method or attribute name: encodeToString(src: Uint8Array): Promise\;|Class name: Base64Helper;
Method or attribute name: encodeToString(src: Uint8Array, options?: Type): Promise\;|@ohos.util.d.ts| +|Function changed|Class name: Base64Helper;
Method or attribute name: decode(src: Uint8Array \| string): Promise\;|Class name: Base64Helper;
Method or attribute name: decode(src: Uint8Array \| string, options?: Type): Promise\;|@ohos.util.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-customization.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-customization.md new file mode 100644 index 0000000000000000000000000000000000000000..437b794d8df4cf2d730f17ea88a27170f15812dc --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-customization.md @@ -0,0 +1,64 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: browser;
Method or attribute name: function setPolicies(admin: Want, appId: string, policies: string, callback: AsyncCallback\): void;|@ohos.enterprise.browser.d.ts| +|Added|NA|Class name: browser;
Method or attribute name: function setPolicies(admin: Want, appId: string, policies: string): Promise\;|@ohos.enterprise.browser.d.ts| +|Added|NA|Class name: browser;
Method or attribute name: function getPolicies(admin: Want, appId: string, callback: AsyncCallback\): void;|@ohos.enterprise.browser.d.ts| +|Added|NA|Class name: browser;
Method or attribute name: function getPolicies(admin: Want, appId: string): Promise\;|@ohos.enterprise.browser.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function addDisallowedUninstallBundles(admin: Want, appIds: Array\, callback: AsyncCallback\): void;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function addDisallowedUninstallBundles(admin: Want, appIds: Array\, userId: number, callback: AsyncCallback\): void;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function addDisallowedUninstallBundles(admin: Want, appIds: Array\, userId?: number): Promise\;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function removeDisallowedUninstallBundles(admin: Want, appIds: Array\, callback: AsyncCallback\): void;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function removeDisallowedUninstallBundles(admin: Want, appIds: Array\, userId: number, callback: AsyncCallback\): void;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function removeDisallowedUninstallBundles(admin: Want, appIds: Array\, userId?: number): Promise\;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function getDisallowedUninstallBundles(admin: Want, callback: AsyncCallback\>): void;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function getDisallowedUninstallBundles(admin: Want, userId: number, callback: AsyncCallback\>): void;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function getDisallowedUninstallBundles(admin: Want, userId?: number): Promise\>;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function uninstall(admin: Want, bundleName: string, callback: AsyncCallback\): void;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function uninstall(admin: Want, bundleName: string, userId: number, callback: AsyncCallback\): void;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function uninstall(admin: Want, bundleName: string, isKeepData: boolean, callback: AsyncCallback\): void;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function uninstall(admin: Want, bundleName: string, userId: number, isKeepData: boolean, callback: AsyncCallback\): void;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: bundleManager;
Method or attribute name: function uninstall(admin: Want, bundleName: string, userId?: number, isKeepData?: boolean): Promise\;|@ohos.enterprise.bundleManager.d.ts| +|Added|NA|Class name: deviceSettings;
Method or attribute name: function getScreenOffTime(admin: Want, callback: AsyncCallback\): void;|@ohos.enterprise.deviceSettings.d.ts| +|Added|NA|Class name: deviceSettings;
Method or attribute name: function getScreenOffTime(admin: Want): Promise\;|@ohos.enterprise.deviceSettings.d.ts| +|Added|NA|Class name: networkManager;
Method or attribute name: function addIptablesFilterRule(admin: Want, filterRule: AddFilterRule, callback: AsyncCallback\): void;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: networkManager;
Method or attribute name: function addIptablesFilterRule(admin: Want, filterRule: AddFilterRule): Promise\;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: networkManager;
Method or attribute name: function removeIptablesFilterRule(admin: Want, filterRule: RemoveFilterRule, callback: AsyncCallback\): void;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: networkManager;
Method or attribute name: function removeIptablesFilterRule(admin: Want, filterRule: RemoveFilterRule): Promise\;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: networkManager;
Method or attribute name: function listIptablesFilterRules(admin: Want, callback: AsyncCallback\): void;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: networkManager;
Method or attribute name: function listIptablesFilterRules(admin: Want): Promise\;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddMethod;
Method or attribute name: APPEND = 0|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddMethod;
Method or attribute name: INSERT = 1|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: Direction;
Method or attribute name: INPUT = 0|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: Direction;
Method or attribute name: OUTPUT = 1|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: Action;
Method or attribute name: ALLOW = 0|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: Action;
Method or attribute name: DENY = 1|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: Protocol;
Method or attribute name: ALL = 0|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: Protocol;
Method or attribute name: TCP = 1|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: Protocol;
Method or attribute name: UDP = 2|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: Protocol;
Method or attribute name: ICMP = 3|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddFilterRule;
Method or attribute name: ruleNo?: number;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddFilterRule;
Method or attribute name: srcAddr?: string;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: RemoveFilterRule;
Method or attribute name: srcAddr?: string;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddFilterRule;
Method or attribute name: destAddr?: string;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: RemoveFilterRule;
Method or attribute name: destAddr?: string;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddFilterRule;
Method or attribute name: srcPort?: string;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: RemoveFilterRule;
Method or attribute name: srcPort?: string;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddFilterRule;
Method or attribute name: destPort?: string;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: RemoveFilterRule;
Method or attribute name: destPort?: string;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddFilterRule;
Method or attribute name: uid?: string;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: RemoveFilterRule;
Method or attribute name: uid?: string;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddFilterRule;
Method or attribute name: method: AddMethod;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddFilterRule;
Method or attribute name: direction: Direction;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: RemoveFilterRule;
Method or attribute name: direction: Direction;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddFilterRule;
Method or attribute name: action: Action;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: AddFilterRule;
Method or attribute name: protocol?: Protocol;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: RemoveFilterRule;
Method or attribute name: protocol?: Protocol;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: RemoveFilterRule;
Method or attribute name: action?: Action;|@ohos.enterprise.networkManager.d.ts| +|Added|NA|Class name: restrictions;
Method or attribute name: function setPrinterDisabled(admin: Want, disabled: boolean, callback: AsyncCallback\): void;|@ohos.enterprise.restrictions.d.ts| +|Added|NA|Class name: restrictions;
Method or attribute name: function setPrinterDisabled(admin: Want, disabled: boolean): Promise\;|@ohos.enterprise.restrictions.d.ts| +|Added|NA|Class name: restrictions;
Method or attribute name: function isPrinterDisabled(admin: Want, callback: AsyncCallback\): void;|@ohos.enterprise.restrictions.d.ts| +|Added|NA|Class name: restrictions;
Method or attribute name: function isPrinterDisabled(admin: Want): Promise\;|@ohos.enterprise.restrictions.d.ts| +|Added|NA|Class name: restrictions;
Method or attribute name: function setHdcDisabled(admin: Want, disabled: boolean, callback: AsyncCallback\): void;|@ohos.enterprise.restrictions.d.ts| +|Added|NA|Class name: restrictions;
Method or attribute name: function setHdcDisabled(admin: Want, disabled: boolean): Promise\;|@ohos.enterprise.restrictions.d.ts| +|Added|NA|Class name: restrictions;
Method or attribute name: function isHdcDisabled(admin: Want, callback: AsyncCallback\): void;|@ohos.enterprise.restrictions.d.ts| +|Added|NA|Class name: restrictions;
Method or attribute name: function isHdcDisabled(admin: Want): Promise\;|@ohos.enterprise.restrictions.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-dfx.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-dfx.md new file mode 100644 index 0000000000000000000000000000000000000000..7f8c0a221eea6c514efcfad54d56f8cd4249d8fb --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-dfx.md @@ -0,0 +1,54 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: hiSysEvent;
Method or attribute name: function exportSysEvents(queryArg: QueryArg, rules: QueryRule[]): number;|@ohos.hiSysEvent.d.ts| +|Added|NA|Class name: hiSysEvent;
Method or attribute name: function subscribe(rules: QueryRule[]): number;|@ohos.hiSysEvent.d.ts| +|Added|NA|Class name: hiSysEvent;
Method or attribute name: function unsubscribe(): void;|@ohos.hiSysEvent.d.ts| +|Added|NA|Class name: QueryArg;
Method or attribute name: fromSeq?: number;|@ohos.hiSysEvent.d.ts| +|Added|NA|Class name: QueryArg;
Method or attribute name: toSeq?: number;|@ohos.hiSysEvent.d.ts| +|Added|NA|Class name: QueryRule;
Method or attribute name: condition?: string;|@ohos.hiSysEvent.d.ts| +|Added|NA|Class name: logLibrary;
Method or attribute name: function list(logType: string): LogEntry[];|@ohos.logLibrary.d.ts| +|Added|NA|Class name: logLibrary;
Method or attribute name: function copy(logType: string, logName: string, dest: string): Promise\;|@ohos.logLibrary.d.ts| +|Added|NA|Class name: logLibrary;
Method or attribute name: function copy(logType: string, logName: string, dest: string, callback: AsyncCallback\): void;|@ohos.logLibrary.d.ts| +|Added|NA|Class name: logLibrary;
Method or attribute name: function move(logType: string, logName: string, dest: string): Promise\;|@ohos.logLibrary.d.ts| +|Added|NA|Class name: logLibrary;
Method or attribute name: function move(logType: string, logName: string, dest: string, callback: AsyncCallback\): void;|@ohos.logLibrary.d.ts| +|Added|NA|Class name: logLibrary;
Method or attribute name: function remove(logType: string, logName: string): void;|@ohos.logLibrary.d.ts| +|Added|NA|Class name: LogEntry;
Method or attribute name: name: string;|@ohos.logLibrary.d.ts| +|Added|NA|Class name: LogEntry;
Method or attribute name: mtime: number;|@ohos.logLibrary.d.ts| +|Added|NA|Class name: LogEntry;
Method or attribute name: size: number;|@ohos.logLibrary.d.ts| +|Error code added|Class name: hiSysEvent;
Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback\): void;
Old version information: |Class name: hiSysEvent;
Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback\): void;
New version information: 401,11200001,11200002,11200003,11200004,11200051,11200052,11200053,11200054|@ohos.hiSysEvent.d.ts| +|Error code added|Class name: hiAppEvent;
Method or attribute name: function write(info: AppEventInfo, callback: AsyncCallback\): void;
Old version information: |Class name: hiAppEvent;
Method or attribute name: function write(info: AppEventInfo, callback: AsyncCallback\): void;
New version information: 401,11100001,11101001,11101002,11101003,11101004,11101005,11101006|@ohos.hiviewdfx.hiAppEvent.d.ts| +|Error code changed|Class name: hiSysEvent;
Method or attribute name: function addWatcher(watcher: Watcher): void;
Old version information: 201,401,11200101,11200102|Class name: hiSysEvent;
Method or attribute name: function addWatcher(watcher: Watcher): void;
New version information: 201,202,401,11200101,11200102|@ohos.hiSysEvent.d.ts| +|Error code changed|Class name: hiSysEvent;
Method or attribute name: function removeWatcher(watcher: Watcher): void;
Old version information: 201,401,11200201|Class name: hiSysEvent;
Method or attribute name: function removeWatcher(watcher: Watcher): void;
New version information: 201,202,401,11200201|@ohos.hiSysEvent.d.ts| +|Error code changed|Class name: hiSysEvent;
Method or attribute name: function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void;
Old version information: 201,401,11200301,11200302,11200303,11200304|Class name: hiSysEvent;
Method or attribute name: function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void;
New version information: 201,202,401,11200301,11200302,11200303,11200304|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: hiSysEvent;
Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback\): void;
Old version information: |Class name: hiSysEvent;
Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: SysEventInfo;
Method or attribute name: domain: string;
Old version information: |Class name: SysEventInfo;
Method or attribute name: domain: string;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: WatchRule;
Method or attribute name: domain: string;
Old version information: |Class name: WatchRule;
Method or attribute name: domain: string;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: QueryRule;
Method or attribute name: domain: string;
Old version information: |Class name: QueryRule;
Method or attribute name: domain: string;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: SysEventInfo;
Method or attribute name: name: string;
Old version information: |Class name: SysEventInfo;
Method or attribute name: name: string;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: WatchRule;
Method or attribute name: name: string;
Old version information: |Class name: WatchRule;
Method or attribute name: name: string;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: SysEventInfo;
Method or attribute name: eventType: EventType;
Old version information: |Class name: SysEventInfo;
Method or attribute name: eventType: EventType;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: SysEventInfo;
Method or attribute name: params: object;
Old version information: |Class name: SysEventInfo;
Method or attribute name: params: object;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: WatchRule;
Method or attribute name: tag: string;
Old version information: |Class name: WatchRule;
Method or attribute name: tag: string;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: WatchRule;
Method or attribute name: ruleType: RuleType;
Old version information: |Class name: WatchRule;
Method or attribute name: ruleType: RuleType;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: Watcher;
Method or attribute name: rules: WatchRule[];
Old version information: |Class name: Watcher;
Method or attribute name: rules: WatchRule[];
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: QueryArg;
Method or attribute name: beginTime: number;
Old version information: |Class name: QueryArg;
Method or attribute name: beginTime: number;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: QueryArg;
Method or attribute name: endTime: number;
Old version information: |Class name: QueryArg;
Method or attribute name: endTime: number;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: QueryArg;
Method or attribute name: maxEvents: number;
Old version information: |Class name: QueryArg;
Method or attribute name: maxEvents: number;
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Access level changed|Class name: QueryRule;
Method or attribute name: names: string[];
Old version information: |Class name: QueryRule;
Method or attribute name: names: string[];
New version information: systemapi|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: SysEventInfo;
Method or attribute name: domain: string;
Old version information: |Class name: SysEventInfo;
Method or attribute name: domain: string;
New version information: string|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: WatchRule;
Method or attribute name: domain: string;
Old version information: |Class name: WatchRule;
Method or attribute name: domain: string;
New version information: string|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: QueryRule;
Method or attribute name: domain: string;
Old version information: |Class name: QueryRule;
Method or attribute name: domain: string;
New version information: string|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: SysEventInfo;
Method or attribute name: name: string;
Old version information: |Class name: SysEventInfo;
Method or attribute name: name: string;
New version information: string|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: WatchRule;
Method or attribute name: name: string;
Old version information: |Class name: WatchRule;
Method or attribute name: name: string;
New version information: string|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: SysEventInfo;
Method or attribute name: eventType: EventType;
Old version information: |Class name: SysEventInfo;
Method or attribute name: eventType: EventType;
New version information: EventType|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: SysEventInfo;
Method or attribute name: params: object;
Old version information: |Class name: SysEventInfo;
Method or attribute name: params: object;
New version information: object|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: WatchRule;
Method or attribute name: tag: string;
Old version information: |Class name: WatchRule;
Method or attribute name: tag: string;
New version information: string|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: WatchRule;
Method or attribute name: ruleType: RuleType;
Old version information: |Class name: WatchRule;
Method or attribute name: ruleType: RuleType;
New version information: RuleType|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: QueryArg;
Method or attribute name: beginTime: number;
Old version information: |Class name: QueryArg;
Method or attribute name: beginTime: number;
New version information: number|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: QueryArg;
Method or attribute name: endTime: number;
Old version information: |Class name: QueryArg;
Method or attribute name: endTime: number;
New version information: number|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: QueryArg;
Method or attribute name: maxEvents: number;
Old version information: |Class name: QueryArg;
Method or attribute name: maxEvents: number;
New version information: number|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: QueryRule;
Method or attribute name: names: string[];
Old version information: |Class name: QueryRule;
Method or attribute name: names: string[];
New version information: string[]|@ohos.hiSysEvent.d.ts| +|Type changed|Class name: HiTraceId;
Method or attribute name: chainId: bigint;
Old version information: |Class name: HiTraceId;
Method or attribute name: chainId: bigint;
New version information: bigint|@ohos.hiTraceChain.d.ts| +|Type changed|Class name: HiTraceId;
Method or attribute name: spanId?: number;
Old version information: |Class name: HiTraceId;
Method or attribute name: spanId?: number;
New version information: ?number|@ohos.hiTraceChain.d.ts| +|Type changed|Class name: HiTraceId;
Method or attribute name: parentSpanId?: number;
Old version information: |Class name: HiTraceId;
Method or attribute name: parentSpanId?: number;
New version information: ?number|@ohos.hiTraceChain.d.ts| +|Type changed|Class name: HiTraceId;
Method or attribute name: flags?: number;
Old version information: |Class name: HiTraceId;
Method or attribute name: flags?: number;
New version information: ?number|@ohos.hiTraceChain.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-data.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-data.md new file mode 100644 index 0000000000000000000000000000000000000000..8b98add4fa9db838f1385a6109e0f740ffbb42ae --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-data.md @@ -0,0 +1,123 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Deleted|Class name: Action;
Method or attribute name: CLEAR_CLOUD_INFO|NA|@ohos.data.cloudData.d.ts| +|Deleted|Class name: Action;
Method or attribute name: CLEAR_CLOUD_DATA_AND_INFO|NA|@ohos.data.cloudData.d.ts| +|Added|NA|Class name: ClearAction;
Method or attribute name: CLEAR_CLOUD_INFO|@ohos.data.cloudData.d.ts| +|Added|NA|Class name: ClearAction;
Method or attribute name: CLEAR_CLOUD_DATA_AND_INFO|@ohos.data.cloudData.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: static clear(
accountId: string,
appActions: { [bundleName: string]: ClearAction },
callback: AsyncCallback\
): void;|@ohos.data.cloudData.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: static clear(accountId: string, appActions: { [bundleName: string]: ClearAction }): Promise\;|@ohos.data.cloudData.d.ts| +|Added|NA|Class name: preferences;
Method or attribute name: function getPreferences(context: Context, options: Options, callback: AsyncCallback\): void;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: preferences;
Method or attribute name: function getPreferences(context: Context, options: Options): Promise\;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: preferences;
Method or attribute name: function deletePreferences(context: Context, options: Options, callback: AsyncCallback\): void;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: preferences;
Method or attribute name: function deletePreferences(context: Context, options: Options): Promise\;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: preferences;
Method or attribute name: function removePreferencesFromCache(context: Context, options: Options, callback: AsyncCallback\): void;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: preferences;
Method or attribute name: function removePreferencesFromCache(context: Context, options: Options): Promise\;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: preferences;
Method or attribute name: function removePreferencesFromCacheSync(context: Context, name: string): void;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: Options;
Method or attribute name: name: string;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: Options;
Method or attribute name: dataGroupId?: string;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: Preferences;
Method or attribute name: getSync(key: string, defValue: ValueType): ValueType;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: Preferences;
Method or attribute name: getAllSync(): Object;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: Preferences;
Method or attribute name: hasSync(key: string): boolean;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: Preferences;
Method or attribute name: putSync(key: string, value: ValueType): void;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: Preferences;
Method or attribute name: deleteSync(key: string): void;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: Preferences;
Method or attribute name: clearSync(): void;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: Preferences;
Method or attribute name: on(type: 'multiProcessChange', callback: Callback\<{ key: string }>): void;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: Preferences;
Method or attribute name: off(type: 'multiProcessChange', callback?: Callback\<{ key: string }>): void;|@ohos.data.preferences.d.ts| +|Added|NA|Class name: relationalStore;
Method or attribute name: type Assets = Asset[];|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: relationalStore;
Method or attribute name: type PRIKeyType = number \| string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: relationalStore;
Method or attribute name: type UTCTime = Date;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: relationalStore;
Method or attribute name: type ModifyTime = Map\;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: relationalStore;
Method or attribute name: function deleteRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: relationalStore;
Method or attribute name: function deleteRdbStore(context: Context, config: StoreConfig): Promise\;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_NORMAL|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_INSERT|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_UPDATE|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_DELETE|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_ABNORMAL|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: AssetStatus;
Method or attribute name: ASSET_DOWNLOADING|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Asset;
Method or attribute name: name: string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Asset;
Method or attribute name: uri: string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Asset;
Method or attribute name: path: string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Asset;
Method or attribute name: createTime: string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Asset;
Method or attribute name: modifyTime: string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Asset;
Method or attribute name: size: string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Asset;
Method or attribute name: status?: AssetStatus;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: StoreConfig;
Method or attribute name: dataGroupId?: string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Progress;
Method or attribute name: SYNC_BEGIN|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Progress;
Method or attribute name: SYNC_IN_PROGRESS|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Progress;
Method or attribute name: SYNC_FINISH|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Statistic;
Method or attribute name: total: number;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Statistic;
Method or attribute name: successful: number;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Statistic;
Method or attribute name: failed: number;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: Statistic;
Method or attribute name: remained: number;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: TableDetails;
Method or attribute name: upload: Statistic;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: TableDetails;
Method or attribute name: download: Statistic;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ProgressCode;
Method or attribute name: SUCCESS|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ProgressCode;
Method or attribute name: UNKNOWN_ERROR|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ProgressCode;
Method or attribute name: NETWORK_ERROR|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ProgressCode;
Method or attribute name: CLOUD_DISABLED|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ProgressCode;
Method or attribute name: LOCKED_BY_OTHERS|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ProgressCode;
Method or attribute name: RECORD_LIMIT_EXCEEDED|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ProgressCode;
Method or attribute name: NO_SPACE_FOR_ASSET|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ProgressDetails;
Method or attribute name: schedule: Progress;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ProgressDetails;
Method or attribute name: code: ProgressCode;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ProgressDetails;
Method or attribute name: details: {
[table: string]: TableDetails;
};|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: SyncMode;
Method or attribute name: SYNC_MODE_TIME_FIRST|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: SyncMode;
Method or attribute name: SYNC_MODE_NATIVE_FIRST|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: SyncMode;
Method or attribute name: SYNC_MODE_CLOUD_FIRST|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_CLOUD_DETAILS|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ChangeType;
Method or attribute name: DATA_CHANGE|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ChangeType;
Method or attribute name: ASSET_CHANGE|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ChangeInfo;
Method or attribute name: table: string;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ChangeInfo;
Method or attribute name: type: ChangeType;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ChangeInfo;
Method or attribute name: inserted: Array\ \| Array\;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ChangeInfo;
Method or attribute name: updated: Array\ \| Array\;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ChangeInfo;
Method or attribute name: deleted: Array\ \| Array\;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: DistributedType;
Method or attribute name: DISTRIBUTED_DEVICE|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: DistributedType;
Method or attribute name: DISTRIBUTED_CLOUD|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: DistributedConfig;
Method or attribute name: autoSync: boolean;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ResultSet;
Method or attribute name: getAsset(columnIndex: number): Asset;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: ResultSet;
Method or attribute name: getAssets(columnIndex: number): Assets;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise\;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: getModifyTime(
table: string,
columnName: string,
primaryKeys: PRIKeyType[],
callback: AsyncCallback\
): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array\, type: DistributedType, callback: AsyncCallback\): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: setDistributedTables(
tables: Array\,
type: DistributedType,
config: DistributedConfig,
callback: AsyncCallback\
): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array\, type?: DistributedType, config?: DistributedConfig): Promise\;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: cloudSync(mode: SyncMode, progress: Callback\, callback: AsyncCallback\): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: cloudSync(mode: SyncMode, progress: Callback\): Promise\;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: cloudSync(
mode: SyncMode,
tables: string[],
progress: Callback\,
callback: AsyncCallback\
): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: cloudSync(mode: SyncMode, tables: string[], progress: Callback\): Promise\;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: on(event: 'dataChange', type: SubscribeType, observer: Callback\> \| Callback\>): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: on(event: string, interProcess: boolean, observer: Callback\): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: off(
event: 'dataChange',
type: SubscribeType,
observer?: Callback\> \| Callback\>
): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: off(event: string, interProcess: boolean, observer?: Callback\): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: RdbStore;
Method or attribute name: emit(event: string): void;|@ohos.data.relationalStore.d.ts| +|Added|NA|Class name: UDMF;
Method or attribute name: type Options = {
/**
* indicates the target Intention
*
* @syscap SystemCapability.DistributedDataManager.UDMF.Core
* @since 10
*/
intention?: Intention;

/**
* indicates the unique identifier of target UnifiedData
*
* @syscap SystemCapability.DistributedDataManager.UDMF.Core
* @since 10
*/
key?: string;
};|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: UDMF;
Method or attribute name: function insertData(options: Options, data: UnifiedData, callback: AsyncCallback\): void;|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: UDMF;
Method or attribute name: function insertData(options: Options, data: UnifiedData): Promise\;|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: UDMF;
Method or attribute name: function updateData(options: Options, data: UnifiedData, callback: AsyncCallback\): void;|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: UDMF;
Method or attribute name: function updateData(options: Options, data: UnifiedData): Promise\;|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: UDMF;
Method or attribute name: function queryData(options: Options, callback: AsyncCallback\>): void;|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: UDMF;
Method or attribute name: function queryData(options: Options): Promise\>;|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: UDMF;
Method or attribute name: function deleteData(options: Options, callback: AsyncCallback\>): void;|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: UDMF;
Method or attribute name: function deleteData(options: Options): Promise\>;|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: UnifiedDataType;
Method or attribute name: AUDIO = 'File.Media.Audio'|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: Audio;
Method or attribute name: audioUri: string;|@ohos.data.UDMF.d.ts| +|Added|NA|Class name: Intention;
Method or attribute name: DATA_HUB = 'DataHub'|@ohos.data.UDMF.d.ts| +|Error code changed|Class name: DataAbilityPredicates;
Method or attribute name: limitAs(value: number): DataAbilityPredicates;
Old version information: IllegalPredicateException|Class name: DataAbilityPredicates;
Method or attribute name: limitAs(value: number): DataAbilityPredicates;
New version information: |@ohos.data.dataAbility.d.ts| +|Error code changed|Class name: relationalStore;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\): void;
Old version information: 401,14800000,14800010,14800011|Class name: relationalStore;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\): void;
New version information: 401,14800000,14800010,14800011,14801001,14801002|@ohos.data.relationalStore.d.ts| +|Error code changed|Class name: relationalStore;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig): Promise\;
Old version information: 401,14800000,14800010,14800011|Class name: relationalStore;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig): Promise\;
New version information: 401,14800000,14800010,14800011,14801001,14801002|@ohos.data.relationalStore.d.ts| +|Access level changed|Class name: dataSharePredicates;
Method or attribute name: declare dataSharePredicates
Old version information: systemapi|Class name: dataSharePredicates;
Method or attribute name: declare dataSharePredicates
New version information: |@ohos.data.dataSharePredicates.d.ts| +|Access level changed|Class name: DataSharePredicates;
Method or attribute name: class DataSharePredicates
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: class DataSharePredicates
New version information: |@ohos.data.dataSharePredicates.d.ts| +|Access level changed|Class name: DataSharePredicates;
Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts| +|Access level changed|Class name: DataSharePredicates;
Method or attribute name: and(): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: and(): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts| +|Access level changed|Class name: DataSharePredicates;
Method or attribute name: orderByAsc(field: string): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: orderByAsc(field: string): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts| +|Access level changed|Class name: DataSharePredicates;
Method or attribute name: orderByDesc(field: string): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: orderByDesc(field: string): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts| +|Access level changed|Class name: DataSharePredicates;
Method or attribute name: limit(total: number, offset: number): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: limit(total: number, offset: number): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts| +|Access level changed|Class name: DataSharePredicates;
Method or attribute name: in(field: string, value: Array\): DataSharePredicates;
Old version information: systemapi|Class name: DataSharePredicates;
Method or attribute name: in(field: string, value: Array\): DataSharePredicates;
New version information: |@ohos.data.dataSharePredicates.d.ts| +|Access level changed|Class name: sourcefile;
Method or attribute name: export type ValueType = number \| string \| boolean;
Old version information: systemapi|Class name: sourcefile;
Method or attribute name: export type ValueType = number \| string \| boolean;
New version information: |@ohos.data.ValuesBucket.d.ts| +|Access level changed|Class name: sourcefile;
Method or attribute name: export type ValuesBucket = {

[key: string]: ValueType \| Uint8Array \| null;

};
Old version information: systemapi|Class name: sourcefile;
Method or attribute name: export type ValuesBucket = {

[key: string]: ValueType \| Uint8Array \| null;

};
New version information: |@ohos.data.ValuesBucket.d.ts| +|Type changed|Class name: DataShareExtensionAbility;
Method or attribute name: context: ExtensionContext;
Old version information: |Class name: DataShareExtensionAbility;
Method or attribute name: context: ExtensionContext;
New version information: ExtensionContext|@ohos.application.DataShareExtensionAbility.d.ts| +|Function changed|Class name: DataShareExtensionAbility;
Method or attribute name: context?: ExtensionContext;|Class name: DataShareExtensionAbility;
Method or attribute name: context: ExtensionContext;|@ohos.application.DataShareExtensionAbility.d.ts| +|Function changed|Class name: PublishedItem;
Method or attribute name: data: string \| Ashmem;|Class name: PublishedItem;
Method or attribute name: data: string \| ArrayBuffer;|@ohos.data.dataShare.d.ts| +|Function changed|Class name: relationalStore;
Method or attribute name: type ValueType = null \| number \| string \| boolean \| Uint8Array;|Class name: relationalStore;
Method or attribute name: type ValueType = null \| number \| string \| boolean \| Uint8Array \| Asset \| Assets;|@ohos.data.relationalStore.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-hardware.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-hardware.md new file mode 100644 index 0000000000000000000000000000000000000000..b3506172ed35ac7c09f6a7c2a607d26278e866da --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-distributed-hardware.md @@ -0,0 +1,158 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: distributedDeviceManager;
Method or attribute name: function createDeviceManager(bundleName: string): DeviceManager;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: distributedDeviceManager;
Method or attribute name: function releaseDeviceManager(deviceManager: DeviceManager): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceBasicInfo;
Method or attribute name: deviceId: string;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceBasicInfo;
Method or attribute name: deviceName: string;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceBasicInfo;
Method or attribute name: deviceType: number;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceBasicInfo;
Method or attribute name: networkId?: string;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceStateChange;
Method or attribute name: UNKNOWN = 0|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceStateChange;
Method or attribute name: AVAILABLE = 1|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceStateChange;
Method or attribute name: UNAVAILABLE = 2|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: getAvailableDeviceListSync(): Array\;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: getAvailableDeviceList(callback: AsyncCallback\>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: getAvailableDeviceList(): Promise\>;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: getLocalDeviceNetworkId(): string;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: getLocalDeviceName(): string;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: getLocalDeviceType(): number;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: getLocalDeviceId(): string;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: getDeviceName(networkId: string): string;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: getDeviceType(networkId: string): number;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: startDiscovering(discoverParam: { [key: string]: Object }, filterOptions?: { [key: string]: Object }): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: stopDiscovering(): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: bindTarget(deviceId: string, bindParam: { [key: string]: Object }, callback: AsyncCallback\<{deviceId: string}>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: unbindTarget(deviceId: string): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: replyUiAction(action: number, actionResult: string): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: on(type: 'discoverSuccess', callback: Callback\<{ device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: on(type: 'deviceNameChange', callback: Callback\<{ deviceName: string }>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: on(type: 'discoverFailure', callback: Callback\<{ reason: number }>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: on(type: 'serviceDie', callback?: Callback\<{}>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: on(type: 'replyResult', callback: Callback\<{ param: string }>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: off(type: 'discoverSuccess', callback?: Callback\<{ device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: off(type: 'deviceNameChange', callback?: Callback\<{ deviceName: string }>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: off(type: 'discoverFailure', callback?: Callback\<{ reason: number }>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: off(type: 'serviceDie', callback?: Callback\<{}>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: off(type: 'replyResult', callback?: Callback\<{ param: string }>): void;|@ohos.distributedDeviceManager.d.ts| +|Added|NA|Class name: DeviceManager;
Method or attribute name: getTrustedDeviceListSync(isRefresh: boolean): Array\;|@ohos.distributedHardware.deviceManager.d.ts| +|Error code added|Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(): Promise\>;
Old version information: |Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(): Promise\>;
New version information: 202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code added|Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(): Promise\;
Old version information: |Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(): Promise\;
New version information: 202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: deviceManager;
Method or attribute name: function createDeviceManager(bundleName: string, callback: AsyncCallback\): void;
Old version information: 401|Class name: deviceManager;
Method or attribute name: function createDeviceManager(bundleName: string, callback: AsyncCallback\): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: release(): void;
Old version information: 11600101|Class name: DeviceManager;
Method or attribute name: release(): void;
New version information: 202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: getTrustedDeviceListSync(): Array\;
Old version information: 11600101|Class name: DeviceManager;
Method or attribute name: getTrustedDeviceListSync(): Array\;
New version information: 202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(callback: AsyncCallback\>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(callback: AsyncCallback\>): void;
New version information: 202,401|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo;
Old version information: 11600101|Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo;
New version information: 202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(callback: AsyncCallback\): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(callback: AsyncCallback\): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: getDeviceInfo(networkId: string, callback: AsyncCallback\): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: getDeviceInfo(networkId: string, callback: AsyncCallback\): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: getDeviceInfo(networkId: string): Promise\;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: getDeviceInfo(networkId: string): Promise\;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;
Old version information: 401,201,11600104,11600101|Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;
New version information: 401,202,201,11600104,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;
Old version information: 401,201,11600104,11600101|Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;
New version information: 401,202,201,11600104,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: stopDeviceDiscovery(subscribeId: number): void;
Old version information: 401,201,11600101|Class name: DeviceManager;
Method or attribute name: stopDeviceDiscovery(subscribeId: number): void;
New version information: 401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: publishDeviceDiscovery(publishInfo: PublishInfo): void;
Old version information: 401,201,11600105,11600101|Class name: DeviceManager;
Method or attribute name: publishDeviceDiscovery(publishInfo: PublishInfo): void;
New version information: 401,202,201,11600105,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: unPublishDeviceDiscovery(publishId: number): void;
Old version information: 401,201,11600101|Class name: DeviceManager;
Method or attribute name: unPublishDeviceDiscovery(publishId: number): void;
New version information: 401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: authenticateDevice(
deviceInfo: DeviceInfo,
authParam: AuthParam,
callback: AsyncCallback\<{ deviceId: string, pinToken?: number }>
): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: authenticateDevice(
deviceInfo: DeviceInfo,
authParam: AuthParam,
callback: AsyncCallback\<{ deviceId: string, pinToken?: number }>
): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void;
Old version information: 401,201,11600101|Class name: DeviceManager;
Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void;
New version information: 401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: setUserOperation(operateAction: number, params: string): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: setUserOperation(operateAction: number, params: string): void;
New version information: 401,202,201|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: on(type: 'serviceDie', callback: () => void): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: on(type: 'serviceDie', callback: () => void): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Error code changed|Class name: DeviceManager;
Method or attribute name: off(type: 'serviceDie', callback?: () => void): void;
Old version information: 401|Class name: DeviceManager;
Method or attribute name: off(type: 'serviceDie', callback?: () => void): void;
New version information: 401,202|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceInfo;
Method or attribute name: deviceId: string;
Old version information: |Class name: DeviceInfo;
Method or attribute name: deviceId: string;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceInfo;
Method or attribute name: deviceName: string;
Old version information: |Class name: DeviceInfo;
Method or attribute name: deviceName: string;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceInfo;
Method or attribute name: deviceType: DeviceType;
Old version information: |Class name: DeviceInfo;
Method or attribute name: deviceType: DeviceType;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceInfo;
Method or attribute name: networkId: string;
Old version information: |Class name: DeviceInfo;
Method or attribute name: networkId: string;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceInfo;
Method or attribute name: range: number;
Old version information: |Class name: DeviceInfo;
Method or attribute name: range: number;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceInfo;
Method or attribute name: authForm: AuthForm;
Old version information: |Class name: DeviceInfo;
Method or attribute name: authForm: AuthForm;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: AuthForm;
Method or attribute name: INVALID_TYPE = -1
Old version information: |Class name: AuthForm;
Method or attribute name: INVALID_TYPE = -1
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: AuthForm;
Method or attribute name: PEER_TO_PEER = 0
Old version information: |Class name: AuthForm;
Method or attribute name: PEER_TO_PEER = 0
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: AuthForm;
Method or attribute name: IDENTICAL_ACCOUNT = 1
Old version information: |Class name: AuthForm;
Method or attribute name: IDENTICAL_ACCOUNT = 1
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: AuthForm;
Method or attribute name: ACROSS_ACCOUNT = 2
Old version information: |Class name: AuthForm;
Method or attribute name: ACROSS_ACCOUNT = 2
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceType;
Method or attribute name: UNKNOWN_TYPE = 0
Old version information: |Class name: DeviceType;
Method or attribute name: UNKNOWN_TYPE = 0
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceType;
Method or attribute name: SPEAKER = 0x0A
Old version information: |Class name: DeviceType;
Method or attribute name: SPEAKER = 0x0A
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceType;
Method or attribute name: PHONE = 0x0E
Old version information: |Class name: DeviceType;
Method or attribute name: PHONE = 0x0E
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceType;
Method or attribute name: TABLET = 0x11
Old version information: |Class name: DeviceType;
Method or attribute name: TABLET = 0x11
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceType;
Method or attribute name: WEARABLE = 0x6D
Old version information: |Class name: DeviceType;
Method or attribute name: WEARABLE = 0x6D
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceType;
Method or attribute name: CAR = 0x83
Old version information: |Class name: DeviceType;
Method or attribute name: CAR = 0x83
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceType;
Method or attribute name: TV = 0x9C
Old version information: |Class name: DeviceType;
Method or attribute name: TV = 0x9C
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceStateChangeAction;
Method or attribute name: ONLINE = 0
Old version information: |Class name: DeviceStateChangeAction;
Method or attribute name: ONLINE = 0
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceStateChangeAction;
Method or attribute name: READY = 1
Old version information: |Class name: DeviceStateChangeAction;
Method or attribute name: READY = 1
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceStateChangeAction;
Method or attribute name: OFFLINE = 2
Old version information: |Class name: DeviceStateChangeAction;
Method or attribute name: OFFLINE = 2
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DeviceStateChangeAction;
Method or attribute name: CHANGE = 3
Old version information: |Class name: DeviceStateChangeAction;
Method or attribute name: CHANGE = 3
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: SubscribeInfo;
Method or attribute name: subscribeId: number;
Old version information: |Class name: SubscribeInfo;
Method or attribute name: subscribeId: number;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: SubscribeInfo;
Method or attribute name: mode: DiscoverMode;
Old version information: |Class name: SubscribeInfo;
Method or attribute name: mode: DiscoverMode;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: PublishInfo;
Method or attribute name: mode: DiscoverMode;
Old version information: |Class name: PublishInfo;
Method or attribute name: mode: DiscoverMode;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: SubscribeInfo;
Method or attribute name: medium: ExchangeMedium;
Old version information: |Class name: SubscribeInfo;
Method or attribute name: medium: ExchangeMedium;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: SubscribeInfo;
Method or attribute name: freq: ExchangeFreq;
Old version information: |Class name: SubscribeInfo;
Method or attribute name: freq: ExchangeFreq;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: PublishInfo;
Method or attribute name: freq: ExchangeFreq;
Old version information: |Class name: PublishInfo;
Method or attribute name: freq: ExchangeFreq;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: SubscribeInfo;
Method or attribute name: isSameAccount: boolean;
Old version information: |Class name: SubscribeInfo;
Method or attribute name: isSameAccount: boolean;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: SubscribeInfo;
Method or attribute name: isWakeRemote: boolean;
Old version information: |Class name: SubscribeInfo;
Method or attribute name: isWakeRemote: boolean;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: SubscribeInfo;
Method or attribute name: capability: SubscribeCap;
Old version information: |Class name: SubscribeInfo;
Method or attribute name: capability: SubscribeCap;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: PublishInfo;
Method or attribute name: publishId: number;
Old version information: |Class name: PublishInfo;
Method or attribute name: publishId: number;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: PublishInfo;
Method or attribute name: ranging: boolean;
Old version information: |Class name: PublishInfo;
Method or attribute name: ranging: boolean;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DiscoverMode;
Method or attribute name: DISCOVER_MODE_PASSIVE = 0x55
Old version information: |Class name: DiscoverMode;
Method or attribute name: DISCOVER_MODE_PASSIVE = 0x55
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: DiscoverMode;
Method or attribute name: DISCOVER_MODE_ACTIVE = 0xAA
Old version information: |Class name: DiscoverMode;
Method or attribute name: DISCOVER_MODE_ACTIVE = 0xAA
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: ExchangeMedium;
Method or attribute name: AUTO = 0
Old version information: |Class name: ExchangeMedium;
Method or attribute name: AUTO = 0
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: ExchangeMedium;
Method or attribute name: BLE = 1
Old version information: |Class name: ExchangeMedium;
Method or attribute name: BLE = 1
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: ExchangeMedium;
Method or attribute name: COAP = 2
Old version information: |Class name: ExchangeMedium;
Method or attribute name: COAP = 2
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: ExchangeMedium;
Method or attribute name: USB = 3
Old version information: |Class name: ExchangeMedium;
Method or attribute name: USB = 3
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: ExchangeFreq;
Method or attribute name: LOW = 0
Old version information: |Class name: ExchangeFreq;
Method or attribute name: LOW = 0
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: ExchangeFreq;
Method or attribute name: MID = 1
Old version information: |Class name: ExchangeFreq;
Method or attribute name: MID = 1
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: ExchangeFreq;
Method or attribute name: HIGH = 2
Old version information: |Class name: ExchangeFreq;
Method or attribute name: HIGH = 2
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: ExchangeFreq;
Method or attribute name: SUPER_HIGH = 3
Old version information: |Class name: ExchangeFreq;
Method or attribute name: SUPER_HIGH = 3
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: SubscribeCap;
Method or attribute name: SUBSCRIBE_CAPABILITY_DDMP = 0
Old version information: |Class name: SubscribeCap;
Method or attribute name: SUBSCRIBE_CAPABILITY_DDMP = 0
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: SubscribeCap;
Method or attribute name: SUBSCRIBE_CAPABILITY_OSD = 1
Old version information: |Class name: SubscribeCap;
Method or attribute name: SUBSCRIBE_CAPABILITY_OSD = 1
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: AuthParam;
Method or attribute name: authType: number;
Old version information: |Class name: AuthParam;
Method or attribute name: authType: number;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: AuthInfo;
Method or attribute name: authType: number;
Old version information: |Class name: AuthInfo;
Method or attribute name: authType: number;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: AuthParam;
Method or attribute name: extraInfo: { [key: string]: any };
Old version information: |Class name: AuthParam;
Method or attribute name: extraInfo: { [key: string]: any };
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: AuthInfo;
Method or attribute name: extraInfo: { [key: string]: any };
Old version information: |Class name: AuthInfo;
Method or attribute name: extraInfo: { [key: string]: any };
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Access level changed|Class name: AuthInfo;
Method or attribute name: token: number;
Old version information: |Class name: AuthInfo;
Method or attribute name: token: number;
New version information: systemapi|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: release(): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: release(): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: getTrustedDeviceListSync(): Array\;
Old version information: |Class name: DeviceManager;
Method or attribute name: getTrustedDeviceListSync(): Array\;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(callback: AsyncCallback\>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(callback: AsyncCallback\>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(): Promise\>;
Old version information: |Class name: DeviceManager;
Method or attribute name: getTrustedDeviceList(): Promise\>;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo;
Old version information: |Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfoSync(): DeviceInfo;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(callback: AsyncCallback\): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(callback: AsyncCallback\): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(): Promise\;
Old version information: |Class name: DeviceManager;
Method or attribute name: getLocalDeviceInfo(): Promise\;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: getDeviceInfo(networkId: string, callback: AsyncCallback\): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: getDeviceInfo(networkId: string, callback: AsyncCallback\): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: getDeviceInfo(networkId: string): Promise\;
Old version information: |Class name: DeviceManager;
Method or attribute name: getDeviceInfo(networkId: string): Promise\;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: stopDeviceDiscovery(subscribeId: number): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: stopDeviceDiscovery(subscribeId: number): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: publishDeviceDiscovery(publishInfo: PublishInfo): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: publishDeviceDiscovery(publishInfo: PublishInfo): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: unPublishDeviceDiscovery(publishId: number): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: unPublishDeviceDiscovery(publishId: number): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: authenticateDevice(
deviceInfo: DeviceInfo,
authParam: AuthParam,
callback: AsyncCallback\<{ deviceId: string, pinToken?: number }>
): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: authenticateDevice(
deviceInfo: DeviceInfo,
authParam: AuthParam,
callback: AsyncCallback\<{ deviceId: string, pinToken?: number }>
): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: unAuthenticateDevice(deviceInfo: DeviceInfo): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: setUserOperation(operateAction: number, params: string): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: setUserOperation(operateAction: number, params: string): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: on(type: 'serviceDie', callback: () => void): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: on(type: 'serviceDie', callback: () => void): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| +|Permission changed|Class name: DeviceManager;
Method or attribute name: off(type: 'serviceDie', callback?: () => void): void;
Old version information: |Class name: DeviceManager;
Method or attribute name: off(type: 'serviceDie', callback?: () => void): void;
New version information: ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-download-upload.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-download-upload.md new file mode 100644 index 0000000000000000000000000000000000000000..bbb7ad78b1f09a749a9f0e7f068e27a2025c7d16 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-download-upload.md @@ -0,0 +1,111 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: agent;
Method or attribute name: function create(context: BaseContext, config: Config, callback: AsyncCallback\): void;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function create(context: BaseContext, config: Config): Promise\;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function remove(id: string, callback: AsyncCallback\): void;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function remove(id: string): Promise\;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function show(id: string, callback: AsyncCallback\): void;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function show(id: string): Promise\;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function touch(id: string, token: string, callback: AsyncCallback\): void;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function touch(id: string, token: string): Promise\;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function search(filter: Filter, callback: AsyncCallback\>): void;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function search(filter: Filter): Promise\>;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function query(id: string, callback: AsyncCallback\): void;|@ohos.request.d.ts| +|Added|NA|Class name: agent;
Method or attribute name: function query(id: string): Promise\;|@ohos.request.d.ts| +|Added|NA|Class name: Action;
Method or attribute name: DOWNLOAD|@ohos.request.d.ts| +|Added|NA|Class name: Action;
Method or attribute name: UPLOAD|@ohos.request.d.ts| +|Added|NA|Class name: Mode;
Method or attribute name: BACKGROUND|@ohos.request.d.ts| +|Added|NA|Class name: Mode;
Method or attribute name: FOREGROUND|@ohos.request.d.ts| +|Added|NA|Class name: Network;
Method or attribute name: ANY|@ohos.request.d.ts| +|Added|NA|Class name: Network;
Method or attribute name: WIFI|@ohos.request.d.ts| +|Added|NA|Class name: Network;
Method or attribute name: CELLULAR|@ohos.request.d.ts| +|Added|NA|Class name: FileSpec;
Method or attribute name: path: string;|@ohos.request.d.ts| +|Added|NA|Class name: FileSpec;
Method or attribute name: mimeType?: string;|@ohos.request.d.ts| +|Added|NA|Class name: FileSpec;
Method or attribute name: filename?: string;|@ohos.request.d.ts| +|Added|NA|Class name: FileSpec;
Method or attribute name: extras?: object;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: extras?: object;|@ohos.request.d.ts| +|Added|NA|Class name: FormItem;
Method or attribute name: name: string;|@ohos.request.d.ts| +|Added|NA|Class name: FormItem;
Method or attribute name: value: string \| FileSpec \| Array\;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: action: Action;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: url: string;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: title?: string;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: description?: string;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: mode?: Mode;|@ohos.request.d.ts| +|Added|NA|Class name: Filter;
Method or attribute name: mode?: Mode;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: overwrite?: boolean;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: method?: string;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: headers?: object;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: data?: string \| Array\;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: saveas?: string;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: network?: Network;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: metered?: boolean;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: roaming?: boolean;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: retry?: boolean;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: redirect?: boolean;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: index?: number;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: begins?: number;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: ends?: number;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: gauge?: boolean;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: precise?: boolean;|@ohos.request.d.ts| +|Added|NA|Class name: Config;
Method or attribute name: token?: string;|@ohos.request.d.ts| +|Added|NA|Class name: State;
Method or attribute name: INITIALIZED = 0x00|@ohos.request.d.ts| +|Added|NA|Class name: State;
Method or attribute name: WAITING = 0x10|@ohos.request.d.ts| +|Added|NA|Class name: State;
Method or attribute name: RUNNING = 0x20|@ohos.request.d.ts| +|Added|NA|Class name: State;
Method or attribute name: RETRYING = 0x21|@ohos.request.d.ts| +|Added|NA|Class name: State;
Method or attribute name: PAUSED = 0x30|@ohos.request.d.ts| +|Added|NA|Class name: State;
Method or attribute name: STOPPED = 0x31|@ohos.request.d.ts| +|Added|NA|Class name: State;
Method or attribute name: COMPLETED = 0x40|@ohos.request.d.ts| +|Added|NA|Class name: State;
Method or attribute name: FAILED = 0x41|@ohos.request.d.ts| +|Added|NA|Class name: State;
Method or attribute name: REMOVED = 0x50|@ohos.request.d.ts| +|Added|NA|Class name: Progress;
Method or attribute name: readonly state: State;|@ohos.request.d.ts| +|Added|NA|Class name: Progress;
Method or attribute name: readonly index: number;|@ohos.request.d.ts| +|Added|NA|Class name: Progress;
Method or attribute name: readonly processed: number;|@ohos.request.d.ts| +|Added|NA|Class name: Progress;
Method or attribute name: readonly sizes: Array\;|@ohos.request.d.ts| +|Added|NA|Class name: Progress;
Method or attribute name: readonly extras?: object;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly extras?: object;|@ohos.request.d.ts| +|Added|NA|Class name: Faults;
Method or attribute name: OTHERS = 0xFF|@ohos.request.d.ts| +|Added|NA|Class name: Faults;
Method or attribute name: DISCONNECTED = 0x00|@ohos.request.d.ts| +|Added|NA|Class name: Faults;
Method or attribute name: TIMEOUT = 0x10|@ohos.request.d.ts| +|Added|NA|Class name: Faults;
Method or attribute name: PROTOCOL = 0x20|@ohos.request.d.ts| +|Added|NA|Class name: Faults;
Method or attribute name: FSIO = 0x40|@ohos.request.d.ts| +|Added|NA|Class name: Filter;
Method or attribute name: bundle?: string;|@ohos.request.d.ts| +|Added|NA|Class name: Filter;
Method or attribute name: before?: number;|@ohos.request.d.ts| +|Added|NA|Class name: Filter;
Method or attribute name: after?: number;|@ohos.request.d.ts| +|Added|NA|Class name: Filter;
Method or attribute name: state?: State;|@ohos.request.d.ts| +|Added|NA|Class name: Filter;
Method or attribute name: action?: Action;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly uid?: string;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly bundle?: string;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly saveas?: string;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly url?: string;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly data?: string \| Array\;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly tid: string;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: readonly tid: string;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly title: string;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly description: string;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly action: Action;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly mode: Mode;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly mimeType: string;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly progress: Progress;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly gauge: boolean;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly ctime: number;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly mtime: number;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly retry: boolean;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly tries: number;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly faults: Faults;|@ohos.request.d.ts| +|Added|NA|Class name: TaskInfo;
Method or attribute name: readonly reason: string;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: config: Config;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: on(event: 'progress', callback: (progress: Progress) => void): void;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: on(event: 'completed', callback: (progress: Progress) => void): void;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: on(event: 'failed', callback: (progress: Progress) => void): void;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: off(event: 'progress', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: off(event: 'completed', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: off(event: 'failed', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: start(callback: AsyncCallback\): void;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: start(): Promise\;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: pause(callback: AsyncCallback\): void;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: pause(): Promise\;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: resume(callback: AsyncCallback\): void;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: resume(): Promise\;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: stop(callback: AsyncCallback\): void;|@ohos.request.d.ts| +|Added|NA|Class name: Task;
Method or attribute name: stop(): Promise\;|@ohos.request.d.ts| +|Permission changed|Class name: request;
Method or attribute name: declare request
Old version information: ohos.permission.INTERNET|Class name: request;
Method or attribute name: declare request
New version information: |@ohos.request.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-driver.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-driver.md new file mode 100644 index 0000000000000000000000000000000000000000..ecb5a48955a056ac583952e0b9c384f2ce53e74f --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-driver.md @@ -0,0 +1,20 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: DriverExtensionAbility;
Method or attribute name: context: DriverExtensionContext;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|Added|NA|Class name: DriverExtensionAbility;
Method or attribute name: onInit(want: Want): void;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|Added|NA|Class name: DriverExtensionAbility;
Method or attribute name: onRelease(): void;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|Added|NA|Class name: DriverExtensionAbility;
Method or attribute name: onConnect(want: Want): rpc.RemoteObject \| Promise\;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|Added|NA|Class name: DriverExtensionAbility;
Method or attribute name: onDisconnect(want: Want): void \| Promise\;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|Added|NA|Class name: DriverExtensionAbility;
Method or attribute name: onDump(params: Array\): Array\;|@ohos.app.ability.DriverExtensionAbility.d.ts| +|Added|NA|Class name: deviceManager;
Method or attribute name: function queryDevices(busType?: number): Array\>;|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: deviceManager;
Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback\,

callback: AsyncCallback\<{deviceId: number, remote: rpc.IRemoteObject}>): void;|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: deviceManager;
Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback\): Promise\<{deviceId: number,

remote: rpc.IRemoteObject}>;|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: deviceManager;
Method or attribute name: function unbindDevice(deviceId: number, callback: AsyncCallback\): void;|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: deviceManager;
Method or attribute name: function unbindDevice(deviceId: number): Promise\;|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: BusType;
Method or attribute name: USB = 1|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: Device;
Method or attribute name: busType: BusType;|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: Device;
Method or attribute name: deviceId: number;|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: Device;
Method or attribute name: description: string;|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: USBDevice;
Method or attribute name: vendorId: number;|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: USBDevice;
Method or attribute name: productId: number;|@ohos.driver.deviceManager.d.ts| +|Added|NA|Class name: DriverExtensionContext;
Method or attribute name: updateDriverState(): void;|DriverExtensionContext.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-file-management.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-file-management.md new file mode 100644 index 0000000000000000000000000000000000000000..4c5d7b146b0cf12ed63c5512c92f7cff3ca6ff6e --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-file-management.md @@ -0,0 +1,448 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: SyncState;
Method or attribute name: UPLOADING|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: SyncState;
Method or attribute name: UPLOAD_FAILED|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: SyncState;
Method or attribute name: DOWNLOADING|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: SyncState;
Method or attribute name: DOWNLOAD_FAILED|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: SyncState;
Method or attribute name: COMPLETED|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: State;
Method or attribute name: COMPLETED|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: SyncState;
Method or attribute name: STOPPED|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: State;
Method or attribute name: STOPPED|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: ErrorType;
Method or attribute name: NO_ERROR|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: ErrorType;
Method or attribute name: NETWORK_UNAVAILABLE|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: ErrorType;
Method or attribute name: WIFI_UNAVAILABLE|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: ErrorType;
Method or attribute name: BATTERY_LEVEL_LOW|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: ErrorType;
Method or attribute name: BATTERY_LEVEL_WARNING|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: ErrorType;
Method or attribute name: CLOUD_STORAGE_FULL|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: ErrorType;
Method or attribute name: LOCAL_STORAGE_FULL|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: SyncProgress;
Method or attribute name: state: SyncState;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: SyncProgress;
Method or attribute name: error: ErrorType;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: GallerySync;
Method or attribute name: constructor();|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: Download;
Method or attribute name: constructor();|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: GallerySync;
Method or attribute name: on(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: GallerySync;
Method or attribute name: off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: Download;
Method or attribute name: off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: GallerySync;
Method or attribute name: start(): Promise\;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: GallerySync;
Method or attribute name: start(callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: GallerySync;
Method or attribute name: stop(): Promise\;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: GallerySync;
Method or attribute name: stop(callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: State;
Method or attribute name: RUNNING|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: State;
Method or attribute name: FAILED|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: DownloadProgress;
Method or attribute name: state: State;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: DownloadProgress;
Method or attribute name: processed: number;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: DownloadProgress;
Method or attribute name: size: number;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: DownloadProgress;
Method or attribute name: uri: string;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: Download;
Method or attribute name: on(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: Download;
Method or attribute name: start(uri: string): Promise\;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: Download;
Method or attribute name: start(uri: string, callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: Download;
Method or attribute name: stop(uri: string): Promise\;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: Download;
Method or attribute name: stop(uri: string, callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts| +|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function enableCloud(accountId: string, switches: { [bundleName: string]: boolean }): Promise\;|@ohos.file.cloudSyncManager.d.ts| +|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function enableCloud(
accountId: string,
switches: { [bundleName: string]: boolean },
callback: AsyncCallback\
): void;|@ohos.file.cloudSyncManager.d.ts| +|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function disableCloud(accountId: string): Promise\;|@ohos.file.cloudSyncManager.d.ts| +|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function disableCloud(accountId: string, callback: AsyncCallback\): void;|@ohos.file.cloudSyncManager.d.ts| +|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function clean(accountId: string, appActions: { [bundleName: string]: Action }): Promise\;|@ohos.file.cloudSyncManager.d.ts| +|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function clean(accountId: string, appActions: { [bundleName: string]: Action }, callback: AsyncCallback\): void;|@ohos.file.cloudSyncManager.d.ts| +|Added|NA|Class name: Action;
Method or attribute name: RETAIN_DATA|@ohos.file.cloudSyncManager.d.ts| +|Added|NA|Class name: Action;
Method or attribute name: CLEAR_DATA|@ohos.file.cloudSyncManager.d.ts| +|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFile(file: string \| File, mode?: number): Promise\;|@ohos.file.fs.d.ts| +|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFile(file: string \| File, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFile(file: string \| File, mode: number, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFileSync(file: string \| File, mode?: number): RandomAccessFile;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: readonly fd: number;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: readonly filePointer: number;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: setFilePointer(filePointer: number): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: close(): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: write(
buffer: ArrayBuffer \| string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): Promise\;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: write(
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: writeSync(
buffer: ArrayBuffer \| string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): number;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: read(
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): Promise\;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: read(
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
},
callback: AsyncCallback\
): void;|@ohos.file.fs.d.ts| +|Added|NA|Class name: RandomAccessFile;
Method or attribute name: readSync(
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): number;|@ohos.file.fs.d.ts| +|Added|NA|Class name: photoAccessHelper;
Method or attribute name: function getPhotoAccessHelper(context: Context): PhotoAccessHelper;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: photoAccessHelper;
Method or attribute name: type MemberType = number \| string \| boolean;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoType;
Method or attribute name: IMAGE = 1|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoType;
Method or attribute name: VIDEO|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumSubtype;
Method or attribute name: VIDEO|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoSubtype;
Method or attribute name: DEFAULT|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoSubtype;
Method or attribute name: SCREENSHOT|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumSubtype;
Method or attribute name: SCREENSHOT|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PositionType;
Method or attribute name: LOCAL = 1 \<\< 0|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PositionType;
Method or attribute name: CLOUD = 1 \<\< 1|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: readonly uri: string;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: readonly photoType: PhotoType;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: readonly displayName: string;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: get(member: string): MemberType;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: set(member: string, value: string): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: commitModify(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: commitModify(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: commitModify(): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: commitModify(): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: open(mode: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: open(mode: string): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: getReadOnlyFd(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: getReadOnlyFd(): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: close(fd: number, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: close(fd: number): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: getThumbnail(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: getThumbnail(size: image.Size, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: getThumbnail(size?: image.Size): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: setFavorite(favoriteState: boolean, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: setFavorite(favoriteState: boolean): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: setHidden(hiddenState: boolean, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAsset;
Method or attribute name: setHidden(hiddenState: boolean): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: URI = 'uri'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumKeys;
Method or attribute name: URI = 'uri'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: PHOTO_TYPE = 'media_type'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: DISPLAY_NAME = 'display_name'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: SIZE = 'size'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: DATE_ADDED = 'date_added'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: DATE_MODIFIED = 'date_modified'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: DURATION = 'duration'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: WIDTH = 'width'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: HEIGHT = 'height'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: DATE_TAKEN = 'date_taken'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: ORIENTATION = 'orientation'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: FAVORITE = 'is_favorite'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: TITLE = 'title'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: POSITION = 'position'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: DATE_TRASHED = 'date_trashed'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoKeys;
Method or attribute name: HIDDEN = 'hidden'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumKeys;
Method or attribute name: ALBUM_NAME = 'album_name'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchOptions;
Method or attribute name: fetchColumns: Array\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchOptions;
Method or attribute name: predicates: dataSharePredicates.DataSharePredicates;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoCreateOptions;
Method or attribute name: subtype?: PhotoSubtype;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: CreateOptions;
Method or attribute name: title?: string;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getCount(): number;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: isAfterLast(): boolean;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getFirstObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getFirstObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getNextObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getNextObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getLastObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getLastObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getObjectByPosition(index: number, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getObjectByPosition(index: number): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getAllObjects(callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: getAllObjects(): Promise\>;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: FetchResult;
Method or attribute name: close(): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumType;
Method or attribute name: USER = 0|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumType;
Method or attribute name: SYSTEM = 1024|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumSubtype;
Method or attribute name: USER_GENERIC = 1|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumSubtype;
Method or attribute name: FAVORITE = 1025|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumSubtype;
Method or attribute name: HIDDEN|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumSubtype;
Method or attribute name: TRASH|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumSubtype;
Method or attribute name: CAMERA|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AlbumSubtype;
Method or attribute name: ANY = 2147483647|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumType: AlbumType;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumSubtype: AlbumSubtype;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AbsAlbum;
Method or attribute name: albumName: string;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumUri: string;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly count: number;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly coverUri: string;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AbsAlbum;
Method or attribute name: getAssets(options: FetchOptions, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAssets(options: FetchOptions, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: AbsAlbum;
Method or attribute name: getAssets(options: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAssets(options: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: addAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: addAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: removeAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: removeAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: recoverAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: recoverAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: deleteAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: deleteAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: setCoverUri(uri: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: Album;
Method or attribute name: setCoverUri(uri: string): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, options: PhotoCreateOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAlbum(name: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAlbum(name: string): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAlbums(albums: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAlbums(albums: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(
type: AlbumType,
subtype: AlbumSubtype,
options: FetchOptions,
callback: AsyncCallback\>
): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAssets(uriList: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAssets(uriList: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: registerChange(uri: string, forChildUris: boolean, callback: Callback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: unRegisterChange(uri: string, callback?: Callback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: release(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: release(): Promise\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ADD|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_UPDATE|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_REMOVE|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ALBUM_ADD_ASSET|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ALBUM_REMOVE_ASSET|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: DefaultChangeUri;
Method or attribute name: DEFAULT_PHOTO_URI = 'file://media/Photo'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: DefaultChangeUri;
Method or attribute name: DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum'|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: ChangeData;
Method or attribute name: type: NotifyType;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: ChangeData;
Method or attribute name: uris: Array\;|@ohos.file.photoAccessHelper.d.ts| +|Added|NA|Class name: ChangeData;
Method or attribute name: extraUris: Array\;|@ohos.file.photoAccessHelper.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.document.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.document.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.document.d.ts| +|Deprecated version changed|Class name: document;
Method or attribute name: declare document
Old version information: |Class name: document;
Method or attribute name: declare document
New version information: 9
Substitute API: |@ohos.document.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.access|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.access|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.close|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.copyFile|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
New version information: 9
Substitute API: ohos.file.fs.copyFile|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.createStream|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.fsync|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.fdatasync|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.fdopenStream|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.hash.hash|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.lstat|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.mkdir|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.mkdir|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.mkdtemp|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
position?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
position?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
New version information: 9
Substitute API: ohos.file.fs.readText|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.read|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
position?: number;
},
callback: AsyncCallback\
): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
position?: number;
},
callback: AsyncCallback\
): void;
New version information: 9
Substitute API: ohos.file.fs.read|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.rename|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.rmdir|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.symlink|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.unlink|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.write|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
New version information: 9
Substitute API: ohos.file.fs.write|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function createWatcher(filename: string, events: number, callback: AsyncCallback\): Watcher;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function createWatcher(filename: string, events: number, callback: AsyncCallback\): Watcher;
New version information: 10
Substitute API: ohos.file.fs.createWatcher|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Dir;
Method or attribute name: declare interface Dir
Old version information: |Class name: Dir;
Method or attribute name: declare interface Dir
New version information: 9
Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Dir;
Method or attribute name: read(callback: AsyncCallback\): void;
Old version information: |Class name: Dir;
Method or attribute name: read(callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Dir;
Method or attribute name: close(callback: AsyncCallback\): void;
Old version information: |Class name: Dir;
Method or attribute name: close(callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Watcher;
Method or attribute name: declare interface Watcher
Old version information: |Class name: Watcher;
Method or attribute name: declare interface Watcher
New version information: 10
Substitute API: ohos.file.fs.Watcher|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Watcher;
Method or attribute name: stop(): Promise\;
Old version information: |Class name: Watcher;
Method or attribute name: stop(): Promise\;
New version information: 10
Substitute API: ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Watcher;
Method or attribute name: stop(callback: AsyncCallback\): void;
Old version information: |Class name: Watcher;
Method or attribute name: stop(callback: AsyncCallback\): void;
New version information: 10
Substitute API: ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts| +|Deprecated version changed|Class name: Statfs;
Method or attribute name: declare Statfs
Old version information: |Class name: Statfs;
Method or attribute name: declare Statfs
New version information: 9
Substitute API: ohos.file.statvfs.statfs|@ohos.statfs.d.ts| +|Deprecated version changed|Class name: Statfs;
Method or attribute name: function getFreeBytes(path: string): Promise\;
Old version information: |Class name: Statfs;
Method or attribute name: function getFreeBytes(path: string): Promise\;
New version information: 9
Substitute API: ohos.file.statvfs.getFreeSize|@ohos.statfs.d.ts| +|Deprecated version changed|Class name: Statfs;
Method or attribute name: function getTotalBytes(path: string): Promise\;
Old version information: |Class name: Statfs;
Method or attribute name: function getTotalBytes(path: string): Promise\;
New version information: 9
Substitute API: ohos.file.statvfs.getTotalSize|@ohos.statfs.d.ts| +|Deprecated version changed|Class name: FileResponse;
Method or attribute name: export interface FileResponse
Old version information: |Class name: FileResponse;
Method or attribute name: export interface FileResponse
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileResponse;
Method or attribute name: uri: string;
Old version information: |Class name: FileResponse;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileListOption;
Method or attribute name: uri: string;
Old version information: |Class name: FileListOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileGetOption;
Method or attribute name: uri: string;
Old version information: |Class name: FileGetOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileDeleteOption;
Method or attribute name: uri: string;
Old version information: |Class name: FileDeleteOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteTextOption;
Method or attribute name: uri: string;
Old version information: |Class name: FileWriteTextOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadTextOption;
Method or attribute name: uri: string;
Old version information: |Class name: FileReadTextOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteArrayBufferOption;
Method or attribute name: uri: string;
Old version information: |Class name: FileWriteArrayBufferOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadArrayBufferOption;
Method or attribute name: uri: string;
Old version information: |Class name: FileReadArrayBufferOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileAccessOption;
Method or attribute name: uri: string;
Old version information: |Class name: FileAccessOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMkdirOption;
Method or attribute name: uri: string;
Old version information: |Class name: FileMkdirOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileRmdirOption;
Method or attribute name: uri: string;
Old version information: |Class name: FileRmdirOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileResponse;
Method or attribute name: length: number;
Old version information: |Class name: FileResponse;
Method or attribute name: length: number;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileResponse;
Method or attribute name: lastModifiedTime: number;
Old version information: |Class name: FileResponse;
Method or attribute name: lastModifiedTime: number;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileResponse;
Method or attribute name: type: 'dir' \| 'file';
Old version information: |Class name: FileResponse;
Method or attribute name: type: 'dir' \| 'file';
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileResponse;
Method or attribute name: subFiles?: Array\;
Old version information: |Class name: FileResponse;
Method or attribute name: subFiles?: Array\;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMoveOption;
Method or attribute name: export interface FileMoveOption
Old version information: |Class name: FileMoveOption;
Method or attribute name: export interface FileMoveOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMoveOption;
Method or attribute name: srcUri: string;
Old version information: |Class name: FileMoveOption;
Method or attribute name: srcUri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileCopyOption;
Method or attribute name: srcUri: string;
Old version information: |Class name: FileCopyOption;
Method or attribute name: srcUri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMoveOption;
Method or attribute name: dstUri: string;
Old version information: |Class name: FileMoveOption;
Method or attribute name: dstUri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileCopyOption;
Method or attribute name: dstUri: string;
Old version information: |Class name: FileCopyOption;
Method or attribute name: dstUri: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMoveOption;
Method or attribute name: success?: (uri: string) => void;
Old version information: |Class name: FileMoveOption;
Method or attribute name: success?: (uri: string) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileCopyOption;
Method or attribute name: success?: (uri: string) => void;
Old version information: |Class name: FileCopyOption;
Method or attribute name: success?: (uri: string) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMoveOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileMoveOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileListOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileListOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileCopyOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileCopyOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileGetOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileGetOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileDeleteOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileDeleteOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteTextOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileWriteTextOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadTextOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileReadTextOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteArrayBufferOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileWriteArrayBufferOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadArrayBufferOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileReadArrayBufferOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileAccessOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileAccessOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMkdirOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileMkdirOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileRmdirOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: FileRmdirOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMoveOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileMoveOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileListOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileListOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileCopyOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileCopyOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileGetOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileGetOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileDeleteOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileDeleteOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteTextOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileWriteTextOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadTextOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileReadTextOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteArrayBufferOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileWriteArrayBufferOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadArrayBufferOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileReadArrayBufferOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileAccessOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileAccessOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMkdirOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileMkdirOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileRmdirOption;
Method or attribute name: complete?: () => void;
Old version information: |Class name: FileRmdirOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileListResponse;
Method or attribute name: export interface FileListResponse
Old version information: |Class name: FileListResponse;
Method or attribute name: export interface FileListResponse
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileListResponse;
Method or attribute name: fileList: Array\;
Old version information: |Class name: FileListResponse;
Method or attribute name: fileList: Array\;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileListOption;
Method or attribute name: export interface FileListOption
Old version information: |Class name: FileListOption;
Method or attribute name: export interface FileListOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileListOption;
Method or attribute name: success?: (data: FileListResponse) => void;
Old version information: |Class name: FileListOption;
Method or attribute name: success?: (data: FileListResponse) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileCopyOption;
Method or attribute name: export interface FileCopyOption
Old version information: |Class name: FileCopyOption;
Method or attribute name: export interface FileCopyOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileGetOption;
Method or attribute name: export interface FileGetOption
Old version information: |Class name: FileGetOption;
Method or attribute name: export interface FileGetOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileGetOption;
Method or attribute name: recursive?: boolean;
Old version information: |Class name: FileGetOption;
Method or attribute name: recursive?: boolean;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMkdirOption;
Method or attribute name: recursive?: boolean;
Old version information: |Class name: FileMkdirOption;
Method or attribute name: recursive?: boolean;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileRmdirOption;
Method or attribute name: recursive?: boolean;
Old version information: |Class name: FileRmdirOption;
Method or attribute name: recursive?: boolean;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileGetOption;
Method or attribute name: success?: (file: FileResponse) => void;
Old version information: |Class name: FileGetOption;
Method or attribute name: success?: (file: FileResponse) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileDeleteOption;
Method or attribute name: export interface FileDeleteOption
Old version information: |Class name: FileDeleteOption;
Method or attribute name: export interface FileDeleteOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileDeleteOption;
Method or attribute name: success?: () => void;
Old version information: |Class name: FileDeleteOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteTextOption;
Method or attribute name: success?: () => void;
Old version information: |Class name: FileWriteTextOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteArrayBufferOption;
Method or attribute name: success?: () => void;
Old version information: |Class name: FileWriteArrayBufferOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileAccessOption;
Method or attribute name: success?: () => void;
Old version information: |Class name: FileAccessOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMkdirOption;
Method or attribute name: success?: () => void;
Old version information: |Class name: FileMkdirOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileRmdirOption;
Method or attribute name: success?: () => void;
Old version information: |Class name: FileRmdirOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteTextOption;
Method or attribute name: export interface FileWriteTextOption
Old version information: |Class name: FileWriteTextOption;
Method or attribute name: export interface FileWriteTextOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteTextOption;
Method or attribute name: text: string;
Old version information: |Class name: FileWriteTextOption;
Method or attribute name: text: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadTextResponse;
Method or attribute name: text: string;
Old version information: |Class name: FileReadTextResponse;
Method or attribute name: text: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteTextOption;
Method or attribute name: encoding?: string;
Old version information: |Class name: FileWriteTextOption;
Method or attribute name: encoding?: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadTextOption;
Method or attribute name: encoding?: string;
Old version information: |Class name: FileReadTextOption;
Method or attribute name: encoding?: string;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteTextOption;
Method or attribute name: append?: boolean;
Old version information: |Class name: FileWriteTextOption;
Method or attribute name: append?: boolean;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteArrayBufferOption;
Method or attribute name: append?: boolean;
Old version information: |Class name: FileWriteArrayBufferOption;
Method or attribute name: append?: boolean;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadTextResponse;
Method or attribute name: export interface FileReadTextResponse
Old version information: |Class name: FileReadTextResponse;
Method or attribute name: export interface FileReadTextResponse
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadTextOption;
Method or attribute name: export interface FileReadTextOption
Old version information: |Class name: FileReadTextOption;
Method or attribute name: export interface FileReadTextOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadTextOption;
Method or attribute name: position?: number;
Old version information: |Class name: FileReadTextOption;
Method or attribute name: position?: number;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteArrayBufferOption;
Method or attribute name: position?: number;
Old version information: |Class name: FileWriteArrayBufferOption;
Method or attribute name: position?: number;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadArrayBufferOption;
Method or attribute name: position?: number;
Old version information: |Class name: FileReadArrayBufferOption;
Method or attribute name: position?: number;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadTextOption;
Method or attribute name: length?: number;
Old version information: |Class name: FileReadTextOption;
Method or attribute name: length?: number;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadArrayBufferOption;
Method or attribute name: length?: number;
Old version information: |Class name: FileReadArrayBufferOption;
Method or attribute name: length?: number;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadTextOption;
Method or attribute name: success?: (data: FileReadTextResponse) => void;
Old version information: |Class name: FileReadTextOption;
Method or attribute name: success?: (data: FileReadTextResponse) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteArrayBufferOption;
Method or attribute name: export interface FileWriteArrayBufferOption
Old version information: |Class name: FileWriteArrayBufferOption;
Method or attribute name: export interface FileWriteArrayBufferOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileWriteArrayBufferOption;
Method or attribute name: buffer: Uint8Array;
Old version information: |Class name: FileWriteArrayBufferOption;
Method or attribute name: buffer: Uint8Array;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadArrayBufferResponse;
Method or attribute name: buffer: Uint8Array;
Old version information: |Class name: FileReadArrayBufferResponse;
Method or attribute name: buffer: Uint8Array;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadArrayBufferResponse;
Method or attribute name: export interface FileReadArrayBufferResponse
Old version information: |Class name: FileReadArrayBufferResponse;
Method or attribute name: export interface FileReadArrayBufferResponse
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadArrayBufferOption;
Method or attribute name: export interface FileReadArrayBufferOption
Old version information: |Class name: FileReadArrayBufferOption;
Method or attribute name: export interface FileReadArrayBufferOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileReadArrayBufferOption;
Method or attribute name: success?: (data: FileReadArrayBufferResponse) => void;
Old version information: |Class name: FileReadArrayBufferOption;
Method or attribute name: success?: (data: FileReadArrayBufferResponse) => void;
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileAccessOption;
Method or attribute name: export interface FileAccessOption
Old version information: |Class name: FileAccessOption;
Method or attribute name: export interface FileAccessOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileMkdirOption;
Method or attribute name: export interface FileMkdirOption
Old version information: |Class name: FileMkdirOption;
Method or attribute name: export interface FileMkdirOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: FileRmdirOption;
Method or attribute name: export interface FileRmdirOption
Old version information: |Class name: FileRmdirOption;
Method or attribute name: export interface FileRmdirOption
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: export default class File
Old version information: |Class name: File;
Method or attribute name: export default class File
New version information: 10
Substitute API: |@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static move(options: FileMoveOption): void;
Old version information: |Class name: File;
Method or attribute name: static move(options: FileMoveOption): void;
New version information: 10
Substitute API: ohos.file.fs.moveFile|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static copy(options: FileCopyOption): void;
Old version information: |Class name: File;
Method or attribute name: static copy(options: FileCopyOption): void;
New version information: 10
Substitute API: ohos.file.fs.copyFile|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static list(options: FileListOption): void;
Old version information: |Class name: File;
Method or attribute name: static list(options: FileListOption): void;
New version information: 10
Substitute API: ohos.file.fs.listFile|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static get(options: FileGetOption): void;
Old version information: |Class name: File;
Method or attribute name: static get(options: FileGetOption): void;
New version information: 10
Substitute API: ohos.file.fs.stat|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static delete(options: FileDeleteOption): void;
Old version information: |Class name: File;
Method or attribute name: static delete(options: FileDeleteOption): void;
New version information: 10
Substitute API: ohos.file.fs.unlink|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static writeText(options: FileWriteTextOption): void;
Old version information: |Class name: File;
Method or attribute name: static writeText(options: FileWriteTextOption): void;
New version information: 10
Substitute API: ohos.file.fs.write|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static readText(options: FileReadTextOption): void;
Old version information: |Class name: File;
Method or attribute name: static readText(options: FileReadTextOption): void;
New version information: 10
Substitute API: ohos.file.fs.readText|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static writeArrayBuffer(options: FileWriteArrayBufferOption): void;
Old version information: |Class name: File;
Method or attribute name: static writeArrayBuffer(options: FileWriteArrayBufferOption): void;
New version information: 10
Substitute API: ohos.file.fs.write|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static readArrayBuffer(options: FileReadArrayBufferOption): void;
Old version information: |Class name: File;
Method or attribute name: static readArrayBuffer(options: FileReadArrayBufferOption): void;
New version information: 10
Substitute API: ohos.file.fs.read|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static access(options: FileAccessOption): void;
Old version information: |Class name: File;
Method or attribute name: static access(options: FileAccessOption): void;
New version information: 10
Substitute API: ohos.file.fs.access|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static mkdir(options: FileMkdirOption): void;
Old version information: |Class name: File;
Method or attribute name: static mkdir(options: FileMkdirOption): void;
New version information: 10
Substitute API: ohos.file.fs.mkdir|@system.file.d.ts| +|Deprecated version changed|Class name: File;
Method or attribute name: static rmdir(options: FileRmdirOption): void;
Old version information: |Class name: File;
Method or attribute name: static rmdir(options: FileRmdirOption): void;
New version information: 10
Substitute API: ohos.file.fs.rmdir|@system.file.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): void;
New version information: Parameter|@ohos.document.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\): void;
New version information: Parameter|@ohos.document.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.document.d.ts| +|Error code added|Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts| +|Error code added|Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts| +|Error code added|Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts| +|Error code added|Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(): Promise\;
New version information: 401,13600001,13900032|@ohos.file.storageStatistics.d.ts| +|Error code added|Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise\;
New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| +|Error code added|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback\): void;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback\): void;
New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| +|Error code added|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,13600001,13600009,13900032|@ohos.file.storageStatistics.d.ts| +|Error code added|Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise\;
New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| +|Error code added|Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise\;
New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| +|Error code added|Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise\>;
Old version information: |Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise\>;
New version information: 201,202,401,13600001,13900032|@ohos.file.volumeManager.d.ts| +|Error code added|Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise\;
New version information: 201,202,401,13600001,13600002,13600003,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| +|Error code added|Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise\;
New version information: 201,202,401,13600001,13600002,13600004,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| +|Error code added|Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts| +|Error code added|Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts| +|Error code added|Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\;
New version information: 201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| +|Error code added|Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise\;
New version information: 201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| +|Error code added|Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\): void;
New version information: fstat|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
position?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
position?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
position?: number;
},
callback: AsyncCallback\
): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
position?: number;
},
callback: AsyncCallback\
): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: Dir;
Method or attribute name: read(callback: AsyncCallback\): void;
Old version information: |Class name: Dir;
Method or attribute name: read(callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: Dir;
Method or attribute name: close(callback: AsyncCallback\): void;
Old version information: |Class name: Dir;
Method or attribute name: close(callback: AsyncCallback\): void;
New version information: close|@ohos.fileio.d.ts| +|Error code added|Class name: Stream;
Method or attribute name: close(callback: AsyncCallback\): void;
Old version information: |Class name: Stream;
Method or attribute name: close(callback: AsyncCallback\): void;
New version information: close|@ohos.fileio.d.ts| +|Error code added|Class name: Stream;
Method or attribute name: flush(callback: AsyncCallback\): void;
Old version information: |Class name: Stream;
Method or attribute name: flush(callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;
Old version information: |Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: Stream;
Method or attribute name: write(
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
Old version information: |Class name: Stream;
Method or attribute name: write(
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\): void;
Old version information: |Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: Stream;
Method or attribute name: read(
buffer: ArrayBuffer,
options: {
position?: number;
offset?: number;
length?: number;
},
callback: AsyncCallback\
): void;
Old version information: |Class name: Stream;
Method or attribute name: read(
buffer: ArrayBuffer,
options: {
position?: number;
offset?: number;
length?: number;
},
callback: AsyncCallback\
): void;
New version information: Parameter|@ohos.fileio.d.ts| +|Error code added|Class name: Watcher;
Method or attribute name: stop(callback: AsyncCallback\): void;
Old version information: |Class name: Watcher;
Method or attribute name: stop(callback: AsyncCallback\): void;
New version information: stop|@ohos.fileio.d.ts| +|Access level changed|Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\;
New version information: systemapi|@ohos.file.storageStatistics.d.ts| +|Access level changed|Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\;
New version information: systemapi|@ohos.file.storageStatistics.d.ts| +|Access level changed|Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise\;
New version information: systemapi|@ohos.file.storageStatistics.d.ts| +|Access level changed|Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise\;
New version information: systemapi|@ohos.file.storageStatistics.d.ts| +|Access level changed|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback\): void;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback\): void;
New version information: systemapi|@ohos.file.storageStatistics.d.ts| +|Access level changed|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.file.storageStatistics.d.ts| +|Access level changed|Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise\;
New version information: systemapi|@ohos.file.storageStatistics.d.ts| +|Access level changed|Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise\;
New version information: systemapi|@ohos.file.storageStatistics.d.ts| +|Access level changed|Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise\>;
Old version information: |Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise\>;
New version information: systemapi|@ohos.file.volumeManager.d.ts| +|Access level changed|Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise\;
New version information: systemapi|@ohos.file.volumeManager.d.ts| +|Access level changed|Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise\;
New version information: systemapi|@ohos.file.volumeManager.d.ts| +|Access level changed|Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise\;
New version information: systemapi|@ohos.file.volumeManager.d.ts| +|Access level changed|Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise\;
New version information: systemapi|@ohos.file.volumeManager.d.ts| +|Access level changed|Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\;
New version information: systemapi|@ohos.file.volumeManager.d.ts| +|Access level changed|Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise\;
New version information: systemapi|@ohos.file.volumeManager.d.ts| +|Access level changed|Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise\;
New version information: systemapi|@ohos.file.volumeManager.d.ts| +|Access level changed|Class name: Volume;
Method or attribute name: path: string;
Old version information: |Class name: Volume;
Method or attribute name: path: string;
New version information: systemapi|@ohos.file.volumeManager.d.ts| +|Permission changed|Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|Permission changed|Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|Permission changed|Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise\;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|Permission changed|Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise\;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|Permission changed|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback\): void;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback\): void;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|Permission changed|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|Permission changed|Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise\;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|Permission changed|Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise\;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| +|Permission changed|Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise\>;
Old version information: |Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise\>;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| +|Permission changed|Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise\;
New version information: ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| +|Permission changed|Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise\;
New version information: ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| +|Permission changed|Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise\;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| +|Permission changed|Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise\;
New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| +|Permission changed|Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\;
New version information: ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| +|Permission changed|Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise\;
New version information: ohos.permission.MOUNT_FORMAT_MANAGER|@ohos.file.volumeManager.d.ts| +|Permission changed|Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise\;
New version information: ohos.permission.MOUNT_FORMAT_MANAGER|@ohos.file.volumeManager.d.ts| +|Permission changed|Class name: fileShare;
Method or attribute name: function grantUriPermission(
uri: string,
bundleName: string,
flag: wantConstant.Flags,
callback: AsyncCallback\
): void;
Old version information: |Class name: fileShare;
Method or attribute name: function grantUriPermission(
uri: string,
bundleName: string,
flag: wantConstant.Flags,
callback: AsyncCallback\
): void;
New version information: ohos.permission.WRITE_MEDIA|@ohos.fileshare.d.ts| +|Permission changed|Class name: fileShare;
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\;
Old version information: |Class name: fileShare;
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\;
New version information: ohos.permission.WRITE_MEDIA|@ohos.fileshare.d.ts| +|Type changed|Class name: PhotoSelectOptions;
Method or attribute name: MIMEType?: PhotoViewMIMETypes;
Old version information: PhotoViewMIMETypes|Class name: PhotoSelectOptions;
Method or attribute name: MIMEType?: PhotoViewMIMETypes;
New version information: ?PhotoViewMIMETypes|@ohos.file.picker.d.ts| +|Type changed|Class name: PhotoSelectOptions;
Method or attribute name: maxSelectNumber?: number;
Old version information: number|Class name: PhotoSelectOptions;
Method or attribute name: maxSelectNumber?: number;
New version information: ?number|@ohos.file.picker.d.ts| +|Type changed|Class name: PhotoSaveOptions;
Method or attribute name: newFileNames?: Array\;
Old version information: Array\|Class name: PhotoSaveOptions;
Method or attribute name: newFileNames?: Array\;
New version information: ?Array\|@ohos.file.picker.d.ts| +|Type changed|Class name: DocumentSaveOptions;
Method or attribute name: newFileNames?: Array\;
Old version information: Array\|Class name: DocumentSaveOptions;
Method or attribute name: newFileNames?: Array\;
New version information: ?Array\|@ohos.file.picker.d.ts| +|Type changed|Class name: AudioSaveOptions;
Method or attribute name: newFileNames?: Array\;
Old version information: Array\|Class name: AudioSaveOptions;
Method or attribute name: newFileNames?: Array\;
New version information: ?Array\|@ohos.file.picker.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-geolocation.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-geolocation.md new file mode 100644 index 0000000000000000000000000000000000000000..6a2fcf4770fdc84fb36fed0795ed0dbc6fd0e8e7 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-geolocation.md @@ -0,0 +1,22 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: geoLocationManager;
Method or attribute name: function on(type: 'locatingRequiredDataChange', config: LocatingRequiredDataConfig, callback: Callback\>): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager;
Method or attribute name: function off(type: 'locatingRequiredDataChange', callback?: Callback\>): void;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: geoLocationManager;
Method or attribute name: function getLocatingRequiredData(config: LocatingRequiredDataConfig): Promise\>;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: LocatingRequiredDataConfig;
Method or attribute name: type: LocatingRequiredDataType;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: LocatingRequiredDataConfig;
Method or attribute name: needStartScan: boolean;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: LocatingRequiredDataConfig;
Method or attribute name: scanInterval?: number;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: LocatingRequiredDataConfig;
Method or attribute name: scanTimeout?: number;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: LocatingRequiredData;
Method or attribute name: wifiData?: WifiScanInfo;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: LocatingRequiredData;
Method or attribute name: bluetoothData?: BluetoothScanInfo;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: WifiScanInfo;
Method or attribute name: ssid: string;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: WifiScanInfo;
Method or attribute name: bssid: string;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: WifiScanInfo;
Method or attribute name: rssi: number;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: BluetoothScanInfo;
Method or attribute name: rssi: number;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: WifiScanInfo;
Method or attribute name: frequency: number;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: WifiScanInfo;
Method or attribute name: timestamp: number;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: BluetoothScanInfo;
Method or attribute name: timestamp: number;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: BluetoothScanInfo;
Method or attribute name: deviceName: string;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: BluetoothScanInfo;
Method or attribute name: macAddress: string;|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: LocatingRequiredDataType;
Method or attribute name: WIFI = 1|@ohos.geoLocationManager.d.ts| +|Added|NA|Class name: LocatingRequiredDataType;
Method or attribute name: BLUETOOTH|@ohos.geoLocationManager.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-global.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-global.md new file mode 100644 index 0000000000000000000000000000000000000000..19607da2cc6b0fff536c3cd8649728f6e9bd7e2c --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-global.md @@ -0,0 +1,34 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: SuggestionType;
Method or attribute name: SUGGESTION_TYPE_NONE = 0|@ohos.i18n.d.ts| +|Added|NA|Class name: SuggestionType;
Method or attribute name: SUGGESTION_TYPE_RELATED = 1|@ohos.i18n.d.ts| +|Added|NA|Class name: SuggestionType;
Method or attribute name: SUGGESTION_TYPE_SIM = 2|@ohos.i18n.d.ts| +|Added|NA|Class name: SortOptions;
Method or attribute name: locale?: string;|@ohos.i18n.d.ts| +|Added|NA|Class name: SortOptions;
Method or attribute name: isUseLocalName?: boolean;|@ohos.i18n.d.ts| +|Added|NA|Class name: SortOptions;
Method or attribute name: isSuggestedFirst?: boolean;|@ohos.i18n.d.ts| +|Added|NA|Class name: LocaleItem;
Method or attribute name: id: string;|@ohos.i18n.d.ts| +|Added|NA|Class name: LocaleItem;
Method or attribute name: suggestionType: SuggestionType;|@ohos.i18n.d.ts| +|Added|NA|Class name: LocaleItem;
Method or attribute name: displayName: string;|@ohos.i18n.d.ts| +|Added|NA|Class name: LocaleItem;
Method or attribute name: localName?: string;|@ohos.i18n.d.ts| +|Added|NA|Class name: TimeZoneCityItem;
Method or attribute name: zoneId: string;|@ohos.i18n.d.ts| +|Added|NA|Class name: TimeZoneCityItem;
Method or attribute name: cityId: string;|@ohos.i18n.d.ts| +|Added|NA|Class name: TimeZoneCityItem;
Method or attribute name: cityDisplayName: string;|@ohos.i18n.d.ts| +|Added|NA|Class name: TimeZoneCityItem;
Method or attribute name: offset: number;|@ohos.i18n.d.ts| +|Added|NA|Class name: TimeZoneCityItem;
Method or attribute name: zoneDisplayName: string;|@ohos.i18n.d.ts| +|Added|NA|Class name: TimeZoneCityItem;
Method or attribute name: rawOffset?: number;|@ohos.i18n.d.ts| +|Added|NA|Class name: SystemLocaleManager;
Method or attribute name: constructor();|@ohos.i18n.d.ts| +|Added|NA|Class name: SystemLocaleManager;
Method or attribute name: getLanguageInfoArray(languages: Array\, options?: SortOptions): Array\;|@ohos.i18n.d.ts| +|Added|NA|Class name: SystemLocaleManager;
Method or attribute name: getRegionInfoArray(regions: Array\, options?: SortOptions): Array\;|@ohos.i18n.d.ts| +|Added|NA|Class name: SystemLocaleManager;
Method or attribute name: static getTimeZoneCityItemArray(): Array\;|@ohos.i18n.d.ts| +|Added|NA|Class name: resourceManager;
Method or attribute name: export function getSystemResourceManager(): ResourceManager;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: getColor(resId: number, callback: _AsyncCallback\): void;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: getColor(resId: number): Promise\;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: getColor(resource: Resource, callback: _AsyncCallback\): void;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: getColor(resource: Resource): Promise\;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: getColorByName(resName: string, callback: _AsyncCallback\): void;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: getColorByName(resName: string): Promise\;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: getColorSync(resId: number) : number;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: getColorSync(resource: Resource) : number;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: getColorByNameSync(resName: string) : number;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: addResource(path: string) : void;|@ohos.resourceManager.d.ts| +|Added|NA|Class name: ResourceManager;
Method or attribute name: removeResource(path: string) : void;|@ohos.resourceManager.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-misc.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-misc.md new file mode 100644 index 0000000000000000000000000000000000000000..a1b0e6458e101d996f5f4e4380f97a65cc93c4de --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-misc.md @@ -0,0 +1,61 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Deleted|Class name: InputMethodSetting;
Method or attribute name: on(type: 'imeShow' \| 'imeHide', callback: (info: Array\) => void): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodSetting;
Method or attribute name: off(type: 'imeShow' \| 'imeHide', callback?: (info: Array\) => void): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodController;
Method or attribute name: on(type: 'deleteLeft' \| 'deleteRight', callback: (length: number) => void): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodController;
Method or attribute name: on(type: 'sendKeyboardStatus', callback: (keyBoardStatus: KeyboardStatus) => void): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodController;
Method or attribute name: off(type: 'selectByRange'): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodController;
Method or attribute name: off(type: 'selectByMovement'): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodController;
Method or attribute name: off(type: 'insertText'): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodController;
Method or attribute name: off(type: 'deleteLeft' \| 'deleteRight'): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodController;
Method or attribute name: off(type: 'sendKeyboardStatus'): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodController;
Method or attribute name: off(type: 'sendFunctionKey'): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodController;
Method or attribute name: off(type: 'moveCursor'): void;|NA|@ohos.inputMethod.d.ts| +|Deleted|Class name: InputMethodController;
Method or attribute name: off(type: 'handleExtendAction'): void;|NA|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodSetting;
Method or attribute name: on(type: 'imeShow', callback: (info: Array\) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodSetting;
Method or attribute name: on(type: 'imeHide', callback: (info: Array\) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodSetting;
Method or attribute name: off(type: 'imeShow', callback?: (info: Array\) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodSetting;
Method or attribute name: off(type: 'imeHide', callback?: (info: Array\) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: on(type: 'deleteLeft', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: on(type: 'deleteRight', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: on(type: 'sendKeyboardStatus', callback: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: on(type: 'getLeftTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: on(type: 'getRightTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: on(type: 'getTextIndexAtCursor', callback: () => number): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'selectByRange', callback?: Callback\): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'selectByMovement', callback?: Callback\): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'insertText', callback?: (text: string) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'deleteLeft', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'deleteRight', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'sendKeyboardStatus', callback?: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'sendFunctionKey', callback?: (functionKey: FunctionKey) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'moveCursor', callback?: (direction: Direction) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'handleExtendAction', callback?: (action: ExtendAction) => void): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'getLeftTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'getRightTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: InputMethodController;
Method or attribute name: off(type: 'getTextIndexAtCursor', callback?: () => number): void;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: TextConfig;
Method or attribute name: cursorInfo?: CursorInfo;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: TextConfig;
Method or attribute name: selection?: Range;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: TextConfig;
Method or attribute name: windowId?: number;|@ohos.inputMethod.d.ts| +|Added|NA|Class name: KeyboardDelegate;
Method or attribute name: on(type: 'keyEvent', callback: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Class name: KeyboardDelegate;
Method or attribute name: on(type: 'editorAttributeChanged', callback: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Class name: KeyboardDelegate;
Method or attribute name: off(type: 'keyEvent', callback?: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Class name: KeyboardDelegate;
Method or attribute name: off(type: 'editorAttributeChanged', callback?: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts| +|Added|NA|Class name: wallpaper;
Method or attribute name: function setCustomWallpaper(source: string, wallpaperType: WallpaperType, callback: AsyncCallback\): void;|@ohos.wallpaper.d.ts| +|Added|NA|Class name: wallpaper;
Method or attribute name: function setCustomWallpaper(source: string, wallpaperType: WallpaperType): Promise\;|@ohos.wallpaper.d.ts| +|Added|NA|Class name: WallpaperExtensionAbility;
Method or attribute name: onCreate(want: object): void;|@ohos.WallpaperExtensionAbility.d.ts| +|Added|NA|Class name: WallpaperExtensionAbility;
Method or attribute name: onWallpaperChange(wallpaperType: number): void;|@ohos.WallpaperExtensionAbility.d.ts| +|Added|NA|Class name: WallpaperExtensionAbility;
Method or attribute name: onDestroy(): void;|@ohos.WallpaperExtensionAbility.d.ts| +|Error code changed|Class name: wallpaper;
Method or attribute name: function off(

type: 'wallpaperChange',

callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void

): void;
Old version information: 202|Class name: wallpaper;
Method or attribute name: function off(

type: 'wallpaperChange',

callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void

): void;
New version information: 401,202|@ohos.wallpaper.d.ts| +|Type changed|Class name: InputMethodProperty;
Method or attribute name: readonly labelId?: number;
Old version information: |Class name: InputMethodProperty;
Method or attribute name: readonly labelId?: number;
New version information: ?number|@ohos.inputMethod.d.ts| +|Type changed|Class name: InputMethodProperty;
Method or attribute name: readonly iconId?: number;
Old version information: |Class name: InputMethodProperty;
Method or attribute name: readonly iconId?: number;
New version information: ?number|@ohos.inputMethod.d.ts| +|Type changed|Class name: Movement;
Method or attribute name: direction: Direction;
Old version information: number|Class name: Movement;
Method or attribute name: direction: Direction;
New version information: Direction|@ohos.inputMethod.d.ts| +|Type changed|Class name: TextConfig;
Method or attribute name: inputAttribute: InputAttribute;
Old version information: |Class name: TextConfig;
Method or attribute name: inputAttribute: InputAttribute;
New version information: InputAttribute|@ohos.inputMethod.d.ts| +|Type changed|Class name: Movement;
Method or attribute name: direction: Direction;
Old version information: number|Class name: Movement;
Method or attribute name: direction: Direction;
New version information: Direction|@ohos.inputMethodEngine.d.ts| +|Type changed|Class name: InputMethodSubtype;
Method or attribute name: readonly labelId?: number;
Old version information: |Class name: InputMethodSubtype;
Method or attribute name: readonly labelId?: number;
New version information: ?number|@ohos.InputMethodSubtype.d.ts| +|Function changed|Class name: Panel;
Method or attribute name: on(type: 'show' \| 'hide', callback: () => void): void;|Class name: Panel;
Method or attribute name: on(type: 'show', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Function changed|Class name: Panel;
Method or attribute name: on(type: 'show' \| 'hide', callback: () => void): void;|Class name: Panel;
Method or attribute name: on(type: 'hide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Function changed|Class name: Panel;
Method or attribute name: off(type: 'show' \| 'hide', callback?: () => void): void;|Class name: Panel;
Method or attribute name: off(type: 'show', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Function changed|Class name: Panel;
Method or attribute name: off(type: 'show' \| 'hide', callback?: () => void): void;|Class name: Panel;
Method or attribute name: off(type: 'hide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts| +|Function changed|Class name: wallpaper;
Method or attribute name: function on(

type: 'wallpaperChange',

callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void

): void;|Class name: wallpaper;
Method or attribute name: function on(

type: 'wallpaperChange',

callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void

): void;|@ohos.wallpaper.d.ts| +|Function changed|Class name: wallpaper;
Method or attribute name: function off(

type: 'wallpaperChange',

callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void

): void;|Class name: wallpaper;
Method or attribute name: function off(

type: 'wallpaperChange',

callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void

): void;|@ohos.wallpaper.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-msdp.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-msdp.md new file mode 100644 index 0000000000000000000000000000000000000000..daeeb10ad7e30279ec4d1961720b8515fe4f3456 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-msdp.md @@ -0,0 +1,15 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: CooperateMsg;
Method or attribute name: COOPERATE_SESSION_DISCONNECTED = 7|@ohos.cooperate.d.ts| +|Added|NA|Class name: dragInteraction;
Method or attribute name: function on(type: 'drag', callback: Callback\): void;|@ohos.deviceStatus.dragInteraction.d.ts| +|Added|NA|Class name: dragInteraction;
Method or attribute name: function off(type: 'drag', callback?: Callback\): void;|@ohos.deviceStatus.dragInteraction.d.ts| +|Added|NA|Class name: DragState;
Method or attribute name: MSG_DRAG_STATE_START = 1|@ohos.deviceStatus.dragInteraction.d.ts| +|Added|NA|Class name: DragState;
Method or attribute name: MSG_DRAG_STATE_STOP = 2|@ohos.deviceStatus.dragInteraction.d.ts| +|Added|NA|Class name: DragState;
Method or attribute name: MSG_DRAG_STATE_CANCEL = 3|@ohos.deviceStatus.dragInteraction.d.ts| +|Function changed|Class name: CooperateMsg;
Method or attribute name: COOPERATE_PREPARE|Class name: CooperateMsg;
Method or attribute name: COOPERATE_PREPARE = 0|@ohos.cooperate.d.ts| +|Function changed|Class name: CooperateMsg;
Method or attribute name: COOPERATE_UNPREPARE|Class name: CooperateMsg;
Method or attribute name: COOPERATE_UNPREPARE = 1|@ohos.cooperate.d.ts| +|Function changed|Class name: CooperateMsg;
Method or attribute name: COOPERATE_ACTIVATE|Class name: CooperateMsg;
Method or attribute name: COOPERATE_ACTIVATE = 2|@ohos.cooperate.d.ts| +|Function changed|Class name: CooperateMsg;
Method or attribute name: COOPERATE_ACTIVATE_SUCCESS|Class name: CooperateMsg;
Method or attribute name: COOPERATE_ACTIVATE_SUCCESS = 3|@ohos.cooperate.d.ts| +|Function changed|Class name: CooperateMsg;
Method or attribute name: COOPERATE_ACTIVATE_FAIL|Class name: CooperateMsg;
Method or attribute name: COOPERATE_ACTIVATE_FAIL = 4|@ohos.cooperate.d.ts| +|Function changed|Class name: CooperateMsg;
Method or attribute name: COOPERATE_DEACTIVATE_SUCCESS|Class name: CooperateMsg;
Method or attribute name: COOPERATE_DEACTIVATE_SUCCESS = 5|@ohos.cooperate.d.ts| +|Function changed|Class name: CooperateMsg;
Method or attribute name: COOPERATE_DEACTIVATE_FAIL|Class name: CooperateMsg;
Method or attribute name: COOPERATE_DEACTIVATE_FAIL = 6|@ohos.cooperate.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-multi-modal-input.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-multi-modal-input.md new file mode 100644 index 0000000000000000000000000000000000000000..84beed497545336bfa4575763c33182061118c09 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-multi-modal-input.md @@ -0,0 +1,90 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: Pinch;
Method or attribute name: type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: ThreeFingersSwipe;
Method or attribute name: type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: FourFingersSwipe;
Method or attribute name: type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: Pinch;
Method or attribute name: scale: number;|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: ThreeFingersSwipe;
Method or attribute name: x: number;|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: FourFingersSwipe;
Method or attribute name: x: number;|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: ThreeFingersSwipe;
Method or attribute name: y: number;|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: FourFingersSwipe;
Method or attribute name: y: number;|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: ActionType;
Method or attribute name: CANCEL = 0|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: ActionType;
Method or attribute name: BEGIN = 1|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: ActionType;
Method or attribute name: UPDATE = 2|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: ActionType;
Method or attribute name: END = 3|@ohos.multimodalInput.gestureEvent.d.ts| +|Added|NA|Class name: inputDevice;
Method or attribute name: function setKeyboardRepeatDelay(delay: number, callback: AsyncCallback\): void;|@ohos.multimodalInput.inputDevice.d.ts| +|Added|NA|Class name: inputDevice;
Method or attribute name: function setKeyboardRepeatDelay(delay: number): Promise\;|@ohos.multimodalInput.inputDevice.d.ts| +|Added|NA|Class name: inputDevice;
Method or attribute name: function getKeyboardRepeatDelay(callback: AsyncCallback\): void;|@ohos.multimodalInput.inputDevice.d.ts| +|Added|NA|Class name: inputDevice;
Method or attribute name: function getKeyboardRepeatDelay(): Promise\;|@ohos.multimodalInput.inputDevice.d.ts| +|Added|NA|Class name: inputDevice;
Method or attribute name: function setKeyboardRepeatRate(rate: number, callback: AsyncCallback\): void;|@ohos.multimodalInput.inputDevice.d.ts| +|Added|NA|Class name: inputDevice;
Method or attribute name: function setKeyboardRepeatRate(rate: number): Promise\;|@ohos.multimodalInput.inputDevice.d.ts| +|Added|NA|Class name: inputDevice;
Method or attribute name: function getKeyboardRepeatRate(callback: AsyncCallback\): void;|@ohos.multimodalInput.inputDevice.d.ts| +|Added|NA|Class name: inputDevice;
Method or attribute name: function getKeyboardRepeatRate(): Promise\;|@ohos.multimodalInput.inputDevice.d.ts| +|Added|NA|Class name: inputMonitor;
Method or attribute name: function on(type: 'pinch', receiver: Callback\): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|Added|NA|Class name: inputMonitor;
Method or attribute name: function on(type: 'threeFingersSwipe', receiver: Callback\): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|Added|NA|Class name: inputMonitor;
Method or attribute name: function on(type: 'fourFingersSwipe', receiver: Callback\): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|Added|NA|Class name: inputMonitor;
Method or attribute name: function off(type: 'pinch', receiver?: Callback\): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|Added|NA|Class name: inputMonitor;
Method or attribute name: function off(type: 'threeFingersSwipe', receiver?: Callback\): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|Added|NA|Class name: inputMonitor;
Method or attribute name: function off(type: 'fourFingersSwipe', receiver?: Callback\): void;|@ohos.multimodalInput.inputMonitor.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_UNKNOWN = -1|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_UP = 1|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_DOWN = 2|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_LEFT = 3|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_RIGHT = 4|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_SELECT = 5|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_ESCAPE = 6|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_BACK = 7|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_FORWARD = 8|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_MENU = 9|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_PAGE_UP = 11|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_PAGE_DOWN = 12|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_ZOOM_OUT = 13|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: IntentionCode;
Method or attribute name: INTENTION_ZOOM_IN = 14|@ohos.multimodalInput.intentionCode.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadScrollSwitch(state: boolean, callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadScrollSwitch(state: boolean): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadScrollSwitch(callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadScrollSwitch(): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadScrollDirection(state: boolean, callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadScrollDirection(state: boolean): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadScrollDirection(callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadScrollDirection(): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadTapSwitch(state: boolean, callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadTapSwitch(state: boolean): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadTapSwitch(callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadTapSwitch(): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadPointerSpeed(speed: number, callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadPointerSpeed(speed: number): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadPointerSpeed(callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadPointerSpeed(): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadPinchSwitch(state: boolean, callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadPinchSwitch(state: boolean): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadPinchSwitch(callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadPinchSwitch(): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadSwipeSwitch(state: boolean, callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadSwipeSwitch(state: boolean): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadSwipeSwitch(callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadSwipeSwitch(): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadRightClickType(type: RightClickType, callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function setTouchpadRightClickType(type: RightClickType): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadRightClickType(callback: AsyncCallback\): void;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: pointer;
Method or attribute name: function getTouchpadRightClickType(): Promise\;|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: PointerStyle;
Method or attribute name: HORIZONTAL_TEXT_CURSOR|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: PointerStyle;
Method or attribute name: CURSOR_CROSS|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: PointerStyle;
Method or attribute name: CURSOR_CIRCLE|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: RightClickType;
Method or attribute name: TOUCHPAD_RIGHT_BUTTON = 1|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: RightClickType;
Method or attribute name: TOUCHPAD_LEFT_BUTTON = 2|@ohos.multimodalInput.pointer.d.ts| +|Added|NA|Class name: RightClickType;
Method or attribute name: TOUCHPAD_TWO_FINGER_TAP = 3|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback\): void;
Old version information: 401|Class name: pointer;
Method or attribute name: function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback\): void;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function setMousePrimaryButton(primary: PrimaryButton): Promise\;
Old version information: 401|Class name: pointer;
Method or attribute name: function setMousePrimaryButton(primary: PrimaryButton): Promise\;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function getMousePrimaryButton(callback: AsyncCallback\): void;
Old version information: 401|Class name: pointer;
Method or attribute name: function getMousePrimaryButton(callback: AsyncCallback\): void;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function getMousePrimaryButton(): Promise\;
Old version information: 401|Class name: pointer;
Method or attribute name: function getMousePrimaryButton(): Promise\;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function setHoverScrollState(state: boolean, callback: AsyncCallback\): void;
Old version information: 401|Class name: pointer;
Method or attribute name: function setHoverScrollState(state: boolean, callback: AsyncCallback\): void;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function setHoverScrollState(state: boolean): Promise\;
Old version information: 401|Class name: pointer;
Method or attribute name: function setHoverScrollState(state: boolean): Promise\;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function getHoverScrollState(callback: AsyncCallback\): void;
Old version information: 401|Class name: pointer;
Method or attribute name: function getHoverScrollState(callback: AsyncCallback\): void;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function getHoverScrollState(): Promise\;
Old version information: 401|Class name: pointer;
Method or attribute name: function getHoverScrollState(): Promise\;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function setMouseScrollRows(rows: number, callback: AsyncCallback\): void;
Old version information: 401|Class name: pointer;
Method or attribute name: function setMouseScrollRows(rows: number, callback: AsyncCallback\): void;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function setMouseScrollRows(rows: number): Promise\;
Old version information: 401|Class name: pointer;
Method or attribute name: function setMouseScrollRows(rows: number): Promise\;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function getMouseScrollRows(callback: AsyncCallback\): void;
Old version information: 401|Class name: pointer;
Method or attribute name: function getMouseScrollRows(callback: AsyncCallback\): void;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: pointer;
Method or attribute name: function getMouseScrollRows(): Promise\;
Old version information: 401|Class name: pointer;
Method or attribute name: function getMouseScrollRows(): Promise\;
New version information: 202,401|@ohos.multimodalInput.pointer.d.ts| +|Error code changed|Class name: shortKey;
Method or attribute name: function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback\): void;
Old version information: 401|Class name: shortKey;
Method or attribute name: function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback\): void;
New version information: 202,401|@ohos.multimodalInput.shortKey.d.ts| +|Error code changed|Class name: shortKey;
Method or attribute name: function setKeyDownDuration(businessKey: string, delay: number): Promise\;
Old version information: 401|Class name: shortKey;
Method or attribute name: function setKeyDownDuration(businessKey: string, delay: number): Promise\;
New version information: 202,401|@ohos.multimodalInput.shortKey.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-multimedia.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-multimedia.md new file mode 100644 index 0000000000000000000000000000000000000000..2957b47ae04acc2fba57eef91d5859f326fa20b2 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-multimedia.md @@ -0,0 +1,401 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Deleted|Class name: avSession;
Method or attribute name: function on(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback: (session: AVSessionDescriptor) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|Deleted|Class name: avSession;
Method or attribute name: function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|Deleted|Class name: AVSession;
Method or attribute name: on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|Deleted|Class name: AVSession;
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|Deleted|Class name: AVSessionController;
Method or attribute name: on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|Deleted|Class name: AVSession;
Method or attribute name: off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|Deleted|Class name: AVSession;
Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|Deleted|Class name: AVSessionController;
Method or attribute name: off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts| +|Deleted|Class name: OutputDeviceInfo;
Method or attribute name: isRemote: boolean;|NA|@ohos.multimedia.avsession.d.ts| +|Deleted|Class name: OutputDeviceInfo;
Method or attribute name: audioDeviceId: Array\;|NA|@ohos.multimedia.avsession.d.ts| +|Deleted|Class name: OutputDeviceInfo;
Method or attribute name: deviceName: Array\;|NA|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: effectKit;
Method or attribute name: function createColorPicker(source:image.PixelMap,region:Array\):Promise\;|@ohos.effectKit.d.ts| +|Added|NA|Class name: effectKit;
Method or attribute name: function createColorPicker(source:image.PixelMap,region:Array\,callback:AsyncCallback\):void;|@ohos.effectKit.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: artist?: string;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: duration?: number;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: getAVPlaybackState(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: getAVPlaybackState(): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: audio;
Method or attribute name: type AudioEffectInfoArray = Array\>;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_MUSIC = 1|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_VOICE_MESSAGE = 5|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_RINGTONE = 6|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_NOTIFICATION = 7|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_MOVIE = 10|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_GAME = 11|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_AUDIOBOOK = 12|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_NAVIGATION = 13|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_DTMF = 14|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_ENFORCED_TONE = 15|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: StreamUsage;
Method or attribute name: STREAM_USAGE_ULTRASONIC = 16|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRendererOptions;
Method or attribute name: privacyType?: AudioPrivacyType;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioPrivacyType;
Method or attribute name: PRIVACY_TYPE_PUBLIC = 0|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioPrivacyType;
Method or attribute name: PRIVACY_TYPE_PRIVATE = 1|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: VolumeAdjustType;
Method or attribute name: VOLUME_UP = 0|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: VolumeAdjustType;
Method or attribute name: VOLUME_DOWN = 1|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioStreamManager;
Method or attribute name: getAudioEffectInfoArray(usage: StreamUsage, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioStreamManager;
Method or attribute name: getAudioEffectInfoArray(usage: StreamUsage): Promise\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: isVolumeUnadjustable(): boolean;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: adjustVolumeByStep(adjustType: VolumeAdjustType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: adjustVolumeByStep(adjustType: VolumeAdjustType): Promise\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType): Promise\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioVolumeGroupManager;
Method or attribute name: getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType): Promise\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: getAudioEffectMode(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: getAudioEffectMode(): Promise\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: setAudioEffectMode(mode: AudioEffectMode, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: setAudioEffectMode(mode: AudioEffectMode): Promise\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: getMinStreamVolume(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: getMinStreamVolume(): Promise\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: getMaxStreamVolume(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: getMaxStreamVolume(): Promise\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: getUnderflowCount(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: getUnderflowCount(): Promise\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: getCurrentOutputDevices(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: getCurrentOutputDevices(): Promise\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: on(type: 'outputDeviceChange', callback: Callback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioRenderer;
Method or attribute name: off(type: 'outputDeviceChange', callback?: Callback\): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: SourceType;
Method or attribute name: SOURCE_TYPE_PLAYBACK_CAPTURE = 2|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioCapturerOptions;
Method or attribute name: playbackCaptureConfig?: AudioPlaybackCaptureConfig;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: CaptureFilterOptions;
Method or attribute name: usages: Array\;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioPlaybackCaptureConfig;
Method or attribute name: filterOptions: CaptureFilterOptions;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioCapturer;
Method or attribute name: off(type: 'audioInterrupt'): void;|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioEffectMode;
Method or attribute name: EFFECT_NONE = 0|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: AudioEffectMode;
Method or attribute name: EFFECT_DEFAULT = 1|@ohos.multimedia.audio.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function on(type: 'sessionCreate', callback: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function on(type: 'sessionDestroy', callback: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function on(type: 'topSessionChange', callback: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function on(type: 'deviceAvailable', callback: (device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function off(type: 'sessionCreate', callback?: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function off(type: 'sessionDestroy', callback?: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function off(type: 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function off(type: 'deviceAvailable', callback?: (device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function startCastDeviceDiscovery(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function startCastDeviceDiscovery(filter: number, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function startCastDeviceDiscovery(filter?: number): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function stopCastDeviceDiscovery(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function stopCastDeviceDiscovery(): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function setDiscoverable(enable: boolean, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function setDiscoverable(enable: boolean): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function getAVCastController(sessionId: string, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function getAVCastController(sessionId: string): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function startCasting(session: SessionToken, device: OutputDeviceInfo, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function startCasting(session: SessionToken, device: OutputDeviceInfo): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function stopCasting(session: SessionToken, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: function stopCasting(session: SessionToken): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: avSession;
Method or attribute name: type AVCastControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setVolume' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: ProtocolType;
Method or attribute name: TYPE_LOCAL = 0|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: ProtocolType;
Method or attribute name: TYPE_CAST_PLUS_MIRROR = 1|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: ProtocolType;
Method or attribute name: TYPE_CAST_PLUS_STREAM = 2|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: readonly sessionType: AVSessionType;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: getAVCastController(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: getAVCastController(): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: on(type: 'play', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: on(type: 'pause', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: on(type: 'stop', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: on(type: 'playNext', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: on(type: 'playPrevious', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: on(type: 'fastForward', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: on(type: 'rewind', callback: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSessionController;
Method or attribute name: on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: off(type: 'play', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: off(type: 'pause', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: off(type: 'stop', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: off(type: 'playNext', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: off(type: 'playPrevious', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: off(type: 'fastForward', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: off(type: 'rewind', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSessionController;
Method or attribute name: off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: stopCasting(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSession;
Method or attribute name: stopCasting(): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastControlCommand;
Method or attribute name: command: AVCastControlCommandType;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastControlCommand;
Method or attribute name: parameter?: media.PlaybackSpeed \| number;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: setDisplaySurface(surfaceId: string, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: setDisplaySurface(surfaceId: string): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: sendControlCommand(command: AVCastControlCommand, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: sendControlCommand(command: AVCastControlCommand): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: start(item: AVQueueItem, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: start(item: AVQueueItem): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: prepare(item: AVQueueItem, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: prepare(item: AVQueueItem): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: getCurrentItem(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: getCurrentItem(): Promise\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'playbackStateChange', filter: Array\ \| 'all', callback: (state: AVPlaybackState) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'mediaItemChange', callback: Callback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'playNext', callback: Callback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'playPrevious', callback: Callback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'seekDone', callback: Callback\): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: off(type: 'mediaItemChange'): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: off(type: 'playNext'): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: off(type: 'playPrevious'): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: off(type: 'seekDone'): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: off(type: 'videoSizeChange'): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastController;
Method or attribute name: off(type: 'error'): void;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: ConnectionState;
Method or attribute name: STATE_CONNECTING = 0|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: ConnectionState;
Method or attribute name: STATE_CONNECTED = 1|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: ConnectionState;
Method or attribute name: STATE_DISCONNECTED = 6|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: mediaType?: string;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: mediaSize?: number;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: albumTitle?: string;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: albumCoverUri?: string;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: lyricContent?: string;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: lyricUri?: string;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: fdSrc?: media.AVFileDescriptor;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: startPosition?: number;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: creditsPosition?: number;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVMediaDescription;
Method or attribute name: appName?: string;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVPlaybackState;
Method or attribute name: volume?: number;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastCategory;
Method or attribute name: CATEGORY_LOCAL = 0|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVCastCategory;
Method or attribute name: CATEGORY_REMOTE = 1|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: DeviceType;
Method or attribute name: DEVICE_TYPE_LOCAL = 0|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: DeviceType;
Method or attribute name: DEVICE_TYPE_TV = 2|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: DeviceType;
Method or attribute name: DEVICE_TYPE_SMART_SPEAKER = 3|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: DeviceType;
Method or attribute name: DEVICE_TYPE_BLUETOOTH = 10|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: DeviceInfo;
Method or attribute name: castCategory: number;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: DeviceInfo;
Method or attribute name: deviceId: string;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: DeviceInfo;
Method or attribute name: deviceName: string;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: DeviceInfo;
Method or attribute name: deviceType: DeviceType;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: DeviceInfo;
Method or attribute name: ipAddress?: string;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: DeviceInfo;
Method or attribute name: providerId?: number;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: OutputDeviceInfo;
Method or attribute name: devices: Array\;|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: PlaybackState;
Method or attribute name: PLAYBACK_STATE_COMPLETED = 7|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: PlaybackState;
Method or attribute name: PLAYBACK_STATE_RELEASED = 8|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: PlaybackState;
Method or attribute name: PLAYBACK_STATE_ERROR = 9|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSessionErrorCode;
Method or attribute name: ERR_CODE_DEVICE_CONNECTION_FAILED = 6600108|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: AVSessionErrorCode;
Method or attribute name: ERR_CODE_REMOTE_CONNECTION_NOT_EXIST = 6600109|@ohos.multimedia.avsession.d.ts| +|Added|NA|Class name: PrelaunchConfig;
Method or attribute name: cameraDevice: CameraDevice;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager;
Method or attribute name: isPrelaunchSupported(camera: CameraDevice): boolean;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager;
Method or attribute name: setPrelaunchConfig(prelaunchConfig: PrelaunchConfig): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager;
Method or attribute name: prelaunch(): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: CameraManager;
Method or attribute name: createDeferredPreviewOutput(profile: Profile): PreviewOutput;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: PreviewOutput;
Method or attribute name: addDeferredSurface(surfaceId: string): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: PhotoOutput;
Method or attribute name: on(type: 'quickThumbnail', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: PhotoOutput;
Method or attribute name: isQuickThumbnailSupported(): boolean;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: PhotoOutput;
Method or attribute name: enableQuickThumbnail(enabled: boolean): void;|@ohos.multimedia.camera.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: DATE_TIME = 'DateTime'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: GPS_TIME_STAMP = 'GPSTimeStamp'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: GPS_DATE_STAMP = 'GPSDateStamp'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: IMAGE_DESCRIPTION = 'ImageDescription'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: MAKE = 'Make'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: MODEL = 'Model'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: PHOTO_MODE = 'PhotoMode'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: SENSITIVITY_TYPE = 'SensitivityType'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: STANDARD_OUTPUT_SENSITIVITY = 'StandardOutputSensitivity'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: RECOMMENDED_EXPOSURE_INDEX = 'RecommendedExposureIndex'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: ISO_SPEED = 'ISOSpeedRatings'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: APERTURE_VALUE = 'ApertureValue'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: EXPOSURE_BIAS_VALUE = 'ExposureBiasValue'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: METERING_MODE = 'MeteringMode'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: LIGHT_SOURCE = 'LightSource'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: FLASH = 'Flash'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: FOCAL_LENGTH = 'FocalLength'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: USER_COMMENT = 'UserComment'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: PIXEL_X_DIMENSION = 'PixelXDimension'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: PIXEL_Y_DIMENSION = 'PixelYDimension'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: WHITE_BALANCE = 'WhiteBalance'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: FOCAL_LENGTH_IN_35_MM_FILM = 'FocalLengthIn35mmFilm'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: CAPTURE_MODE = 'HwMnoteCaptureMode'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PropertyKey;
Method or attribute name: PHYSICAL_APERTURE = 'HwMnotePhysicalAperture'|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PixelMap;
Method or attribute name: getColorSpace(): colorSpaceManager.ColorSpaceManager;|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PixelMap;
Method or attribute name: marshalling(sequence: rpc.MessageSequence): void;|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PixelMap;
Method or attribute name: unmarshalling(sequence: rpc.MessageSequence): Promise\;|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: PixelMap;
Method or attribute name: setColorSpace(colorSpace: colorSpaceManager.ColorSpaceManager): void;|@ohos.multimedia.image.d.ts| +|Added|NA|Class name: AVPlayer;
Method or attribute name: audioEffectMode ?: audio.AudioEffectMode;|@ohos.multimedia.media.d.ts| +|Error code added|Class name: effectKit;
Method or attribute name: function createColorPicker(source:image.PixelMap): Promise\;
Old version information: |Class name: effectKit;
Method or attribute name: function createColorPicker(source:image.PixelMap): Promise\;
New version information: 401|@ohos.effectKit.d.ts| +|Error code added|Class name: effectKit;
Method or attribute name: function createColorPicker(source:image.PixelMap,callback:AsyncCallback\):void;
Old version information: |Class name: effectKit;
Method or attribute name: function createColorPicker(source:image.PixelMap,callback:AsyncCallback\):void;
New version information: 401|@ohos.effectKit.d.ts| +|Error code added|Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise\;
New version information: 401,6600101|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise\>>;
Old version information: |Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise\>>;
New version information: 201,6600101|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise\;
New version information: 201,401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken \| 'all', audioDevices: Array\): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken \| 'all', audioDevices: Array\): Promise\;
New version information: 201,401,6600101,6600102,6600104|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise\;
New version information: 201,401,6600101,6600105|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise\;
New version information: 201,401,6600101,6600105,6600107|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata): Promise\;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise\;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise\;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSession;
Method or attribute name: getController(): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: getController(): Promise\;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSession;
Method or attribute name: getOutputDevice(): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: getOutputDevice(): Promise\;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSessionController;
Method or attribute name: getOutputDevice(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: getOutputDevice(): Promise\;
New version information: 600101,600103|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSession;
Method or attribute name: activate(): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: activate(): Promise\;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSession;
Method or attribute name: deactivate(): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: deactivate(): Promise\;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSession;
Method or attribute name: destroy(): Promise\;
Old version information: |Class name: AVSession;
Method or attribute name: destroy(): Promise\;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSessionController;
Method or attribute name: destroy(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: destroy(): Promise\;
New version information: 6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(): Promise\;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSessionController;
Method or attribute name: getAVMetadata(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: getAVMetadata(): Promise\;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise\;
New version information: 401,600101,600102,600103,600105,600106|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSessionController;
Method or attribute name: getLaunchAbility(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: getLaunchAbility(): Promise\;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSessionController;
Method or attribute name: isActive(): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: isActive(): Promise\;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSessionController;
Method or attribute name: getValidCommands(): Promise\>;
Old version information: |Class name: AVSessionController;
Method or attribute name: getValidCommands(): Promise\>;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|Error code added|Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise\;
Old version information: |Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise\;
New version information: 401,6600101,6600102,6600103,6600105,6600106,6600107|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback\): void;
Old version information: 401,{@link|Class name: avSession;
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback\): void;
New version information: 401,6600101|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(callback: AsyncCallback\>>): void;
Old version information: 201,{@link|Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(callback: AsyncCallback\>>): void;
New version information: 201,6600101|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: avSession;
Method or attribute name: function createController(sessionId: string, callback: AsyncCallback\): void;
Old version information: 201,401,{@link,{@link|Class name: avSession;
Method or attribute name: function createController(sessionId: string, callback: AsyncCallback\): void;
New version information: 201,401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken \| 'all', audioDevices: Array\, callback: AsyncCallback\): void;
Old version information: 201,401,{@link,{@link,{@link|Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken \| 'all', audioDevices: Array\, callback: AsyncCallback\): void;
New version information: 201,401,6600101,6600102,6600104|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: avSession;
Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;
Old version information: 201,401,{@link|Class name: avSession;
Method or attribute name: function on(type: 'sessionServiceDie', callback: () => void): void;
New version information: 201,401,6600101|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: avSession;
Method or attribute name: function off(type: 'sessionServiceDie', callback?: () => void): void;
Old version information: 201,401,{@link|Class name: avSession;
Method or attribute name: function off(type: 'sessionServiceDie', callback?: () => void): void;
New version information: 201,401,6600101|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback\): void;
Old version information: 201,401,{@link,{@link|Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback\): void;
New version information: 201,401,6600101,6600105|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback\): void;
Old version information: 201,401,{@link,{@link,{@link|Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback\): void;
New version information: 201,401,6600101,6600105,6600107|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback\): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback\): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback\): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback\): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback\): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback\): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: dispatchSessionEvent(event: string, args: {[key: string]: Object}, callback: AsyncCallback\): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: dispatchSessionEvent(event: string, args: {[key: string]: Object}, callback: AsyncCallback\): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: dispatchSessionEvent(event: string, args: {[key: string]: Object}): Promise\;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: dispatchSessionEvent(event: string, args: {[key: string]: Object}): Promise\;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}, callback: AsyncCallback\): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}, callback: AsyncCallback\): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}): Promise\;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: setExtras(extras: {[key: string]: Object}): Promise\;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: getController(callback: AsyncCallback\): void;
Old version information: {@link,{@link|Class name: AVSession;
Method or attribute name: getController(callback: AsyncCallback\): void;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: getOutputDevice(callback: AsyncCallback\): void;
Old version information: {@link,{@link|Class name: AVSession;
Method or attribute name: getOutputDevice(callback: AsyncCallback\): void;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: getOutputDevice(callback: AsyncCallback\): void;
Old version information: {@link,{@link|Class name: AVSessionController;
Method or attribute name: getOutputDevice(callback: AsyncCallback\): void;
New version information: 600101,600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: on(type: 'seek', callback: (time: number) => void): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: on(type: 'setSpeed', callback: (speed: number) => void): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: off(type: 'seek', callback?: (time: number) => void): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: off(type: 'setSpeed', callback?: (speed: number) => void): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSession;
Method or attribute name: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;
New version information: 401,6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: activate(callback: AsyncCallback\): void;
Old version information: {@link,{@link|Class name: AVSession;
Method or attribute name: activate(callback: AsyncCallback\): void;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: deactivate(callback: AsyncCallback\): void;
Old version information: {@link,{@link|Class name: AVSession;
Method or attribute name: deactivate(callback: AsyncCallback\): void;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSession;
Method or attribute name: destroy(callback: AsyncCallback\): void;
Old version information: {@link,{@link|Class name: AVSession;
Method or attribute name: destroy(callback: AsyncCallback\): void;
New version information: 6600101,6600102|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: destroy(callback: AsyncCallback\): void;
Old version information: {@link,{@link|Class name: AVSessionController;
Method or attribute name: destroy(callback: AsyncCallback\): void;
New version information: 6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(callback: AsyncCallback\): void;
Old version information: {@link,{@link,{@link|Class name: AVSessionController;
Method or attribute name: getAVPlaybackState(callback: AsyncCallback\): void;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: getAVMetadata(callback: AsyncCallback\): void;
Old version information: {@link,{@link,{@link|Class name: AVSessionController;
Method or attribute name: getAVMetadata(callback: AsyncCallback\): void;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback\): void;
Old version information: 401,{@link,{@link,{@link,{@link,{@link|Class name: AVSessionController;
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback\): void;
New version information: 401,600101,600102,600103,600105,600106|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: getLaunchAbility(callback: AsyncCallback\): void;
Old version information: {@link,{@link,{@link|Class name: AVSessionController;
Method or attribute name: getLaunchAbility(callback: AsyncCallback\): void;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: getRealPlaybackPositionSync(): number;
Old version information: {@link,{@link|Class name: AVSessionController;
Method or attribute name: getRealPlaybackPositionSync(): number;
New version information: 6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: isActive(callback: AsyncCallback\): void;
Old version information: {@link,{@link,{@link|Class name: AVSessionController;
Method or attribute name: isActive(callback: AsyncCallback\): void;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: getValidCommands(callback: AsyncCallback\>): void;
Old version information: {@link,{@link,{@link|Class name: AVSessionController;
Method or attribute name: getValidCommands(callback: AsyncCallback\>): void;
New version information: 6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback\): void;
Old version information: 401,{@link,{@link,{@link,{@link,{@link,{@link|Class name: AVSessionController;
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback\): void;
New version information: 401,6600101,6600102,6600103,6600105,6600106,6600107|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: on(type: 'metadataChange', filter: Array\ \| 'all', callback: (data: AVMetadata) => void);
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: on(type: 'metadataChange', filter: Array\ \| 'all', callback: (data: AVMetadata) => void);
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: on(type: 'playbackStateChange', filter: Array\ \| 'all', callback: (state: AVPlaybackState) => void);
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: on(type: 'playbackStateChange', filter: Array\ \| 'all', callback: (state: AVPlaybackState) => void);
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: on(type: 'sessionDestroy', callback: () => void);
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: on(type: 'sessionDestroy', callback: () => void);
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array\) => void);
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: on(type: 'validCommandChange', callback: (commands: Array\) => void);
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: on(type: 'sessionEvent', callback: (sessionEvent: string, args: {[key: string]: Object}) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: on(type: 'sessionEvent', callback: (sessionEvent: string, args: {[key: string]: Object}) => void): void;
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: on(type: 'extrasChange', callback: (extras: {[key: string]: Object}) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: on(type: 'extrasChange', callback: (extras: {[key: string]: Object}) => void): void;
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: off(type: 'sessionDestroy', callback?: () => void);
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array\) => void);
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: off(type: 'validCommandChange', callback?: (commands: Array\) => void);
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {[key: string]: Object}) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {[key: string]: Object}) => void): void;
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Error code changed|Class name: AVSessionController;
Method or attribute name: off(type: 'extrasChange', callback?: (extras: {[key: string]: Object}) => void): void;
Old version information: 401,{@link,{@link|Class name: AVSessionController;
Method or attribute name: off(type: 'extrasChange', callback?: (extras: {[key: string]: Object}) => void): void;
New version information: 401,6600101,6600103|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: ConnectType;
Method or attribute name: CONNECT_TYPE_LOCAL = 1
Old version information: |Class name: ConnectType;
Method or attribute name: CONNECT_TYPE_LOCAL = 1
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ConnectType;
Method or attribute name: CONNECT_TYPE_DISTRIBUTED = 2
Old version information: |Class name: ConnectType;
Method or attribute name: CONNECT_TYPE_DISTRIBUTED = 2
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: VolumeGroupInfo;
Method or attribute name: readonly groupId: number;
Old version information: |Class name: VolumeGroupInfo;
Method or attribute name: readonly groupId: number;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: VolumeGroupInfo;
Method or attribute name: readonly mappingId: number;
Old version information: |Class name: VolumeGroupInfo;
Method or attribute name: readonly mappingId: number;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: VolumeGroupInfo;
Method or attribute name: readonly groupName: string;
Old version information: |Class name: VolumeGroupInfo;
Method or attribute name: readonly groupName: string;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: VolumeGroupInfo;
Method or attribute name: readonly type: ConnectType;
Old version information: |Class name: VolumeGroupInfo;
Method or attribute name: readonly type: ConnectType;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: VolumeEvent;
Method or attribute name: interface VolumeEvent
Old version information: systemapi|Class name: VolumeEvent;
Method or attribute name: interface VolumeEvent
New version information: |@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: VolumeEvent;
Method or attribute name: volumeGroupId: number;
Old version information: |Class name: VolumeEvent;
Method or attribute name: volumeGroupId: number;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: VolumeEvent;
Method or attribute name: networkId: string;
Old version information: |Class name: VolumeEvent;
Method or attribute name: networkId: string;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_0 = 0
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_0 = 0
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_1 = 1
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_1 = 1
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_2 = 2
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_2 = 2
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_3 = 3
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_3 = 3
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_4 = 4
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_4 = 4
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_5 = 5
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_5 = 5
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_6 = 6
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_6 = 6
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_7 = 7
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_7 = 7
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_8 = 8
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_8 = 8
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_9 = 9
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_9 = 9
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_S = 10
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_S = 10
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_P = 11
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_P = 11
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_A = 12
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_A = 12
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_B = 13
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_B = 13
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_C = 14
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_C = 14
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_D = 15
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_DIAL_D = 15
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_DIAL = 100
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_DIAL = 100
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_BUSY = 101
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_BUSY = 101
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_CONGESTION = 102
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_CONGESTION = 102
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK = 103
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK = 103
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE = 104
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE = 104
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING = 106
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING = 106
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RINGTONE = 107
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_SUPERVISORY_RINGTONE = 107
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_BEEP = 200
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_BEEP = 200
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_ACK = 201
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_ACK = 201
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_PROMPT = 203
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_PROMPT = 203
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP = 204
Old version information: |Class name: ToneType;
Method or attribute name: TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP = 204
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: TonePlayer;
Method or attribute name: load(type: ToneType, callback: AsyncCallback\): void;
Old version information: |Class name: TonePlayer;
Method or attribute name: load(type: ToneType, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: TonePlayer;
Method or attribute name: load(type: ToneType): Promise\;
Old version information: |Class name: TonePlayer;
Method or attribute name: load(type: ToneType): Promise\;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: TonePlayer;
Method or attribute name: start(callback: AsyncCallback\): void;
Old version information: |Class name: TonePlayer;
Method or attribute name: start(callback: AsyncCallback\): void;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: TonePlayer;
Method or attribute name: start(): Promise\;
Old version information: |Class name: TonePlayer;
Method or attribute name: start(): Promise\;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: TonePlayer;
Method or attribute name: stop(callback: AsyncCallback\): void;
Old version information: |Class name: TonePlayer;
Method or attribute name: stop(callback: AsyncCallback\): void;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: TonePlayer;
Method or attribute name: stop(): Promise\;
Old version information: |Class name: TonePlayer;
Method or attribute name: stop(): Promise\;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: TonePlayer;
Method or attribute name: release(callback: AsyncCallback\): void;
Old version information: |Class name: TonePlayer;
Method or attribute name: release(callback: AsyncCallback\): void;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: TonePlayer;
Method or attribute name: release(): Promise\;
Old version information: |Class name: TonePlayer;
Method or attribute name: release(): Promise\;
New version information: systemapi|@ohos.multimedia.audio.d.ts| +|Access level changed|Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise\>>;
Old version information: |Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise\>>;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise\;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken \| 'all', audioDevices: Array\): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken \| 'all', audioDevices: Array\): Promise\;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise\;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise\;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: SessionToken;
Method or attribute name: sessionId: string;
Old version information: |Class name: SessionToken;
Method or attribute name: sessionId: string;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionDescriptor;
Method or attribute name: sessionId: string;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: sessionId: string;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: SessionToken;
Method or attribute name: pid?: number;
Old version information: |Class name: SessionToken;
Method or attribute name: pid?: number;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: SessionToken;
Method or attribute name: uid?: number;
Old version information: |Class name: SessionToken;
Method or attribute name: uid?: number;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionDescriptor;
Method or attribute name: type: AVSessionType;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: type: AVSessionType;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionDescriptor;
Method or attribute name: sessionTag: string;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: sessionTag: string;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionDescriptor;
Method or attribute name: elementName: ElementName;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: elementName: ElementName;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionDescriptor;
Method or attribute name: isActive: boolean;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: isActive: boolean;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionDescriptor;
Method or attribute name: isTopSession: boolean;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: isTopSession: boolean;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Access level changed|Class name: AVSessionDescriptor;
Method or attribute name: outputDevice: OutputDeviceInfo;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: outputDevice: OutputDeviceInfo;
New version information: systemapi|@ohos.multimedia.avsession.d.ts| +|Permission changed|Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise\>>;
Old version information: |Class name: avSession;
Method or attribute name: function getAllSessionDescriptors(): Promise\>>;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|Permission changed|Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function createController(sessionId: string): Promise\;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|Permission changed|Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken \| 'all', audioDevices: Array\): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function castAudio(session: SessionToken \| 'all', audioDevices: Array\): Promise\;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|Permission changed|Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function sendSystemAVKeyEvent(event: KeyEvent): Promise\;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|Permission changed|Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise\;
Old version information: |Class name: avSession;
Method or attribute name: function sendSystemControlCommand(command: AVControlCommand): Promise\;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|Permission changed|Class name: SessionToken;
Method or attribute name: sessionId: string;
Old version information: |Class name: SessionToken;
Method or attribute name: sessionId: string;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|Permission changed|Class name: SessionToken;
Method or attribute name: pid?: number;
Old version information: |Class name: SessionToken;
Method or attribute name: pid?: number;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|Permission changed|Class name: SessionToken;
Method or attribute name: uid?: number;
Old version information: |Class name: SessionToken;
Method or attribute name: uid?: number;
New version information: ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AudioRendererInfo;
Method or attribute name: content?: ContentType;
Old version information: |Class name: AudioRendererInfo;
Method or attribute name: content?: ContentType;
New version information: ?ContentType|@ohos.multimedia.audio.d.ts| +|Type changed|Class name: SessionToken;
Method or attribute name: sessionId: string;
Old version information: |Class name: SessionToken;
Method or attribute name: sessionId: string;
New version information: string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVSessionDescriptor;
Method or attribute name: sessionId: string;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: sessionId: string;
New version information: string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: SessionToken;
Method or attribute name: pid?: number;
Old version information: |Class name: SessionToken;
Method or attribute name: pid?: number;
New version information: ?number|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: SessionToken;
Method or attribute name: uid?: number;
Old version information: |Class name: SessionToken;
Method or attribute name: uid?: number;
New version information: ?number|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: assetId: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: assetId: string;
New version information: string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: title?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: title?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMediaDescription;
Method or attribute name: title?: string;
Old version information: |Class name: AVMediaDescription;
Method or attribute name: title?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: artist?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: artist?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: author?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: author?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: album?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: album?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: writer?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: writer?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: composer?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: composer?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: duration?: number;
Old version information: |Class name: AVMetadata;
Method or attribute name: duration?: number;
New version information: ?number|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: publishDate?: Date;
Old version information: |Class name: AVMetadata;
Method or attribute name: publishDate?: Date;
New version information: ?Date|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: subtitle?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: subtitle?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMediaDescription;
Method or attribute name: subtitle?: string;
Old version information: |Class name: AVMediaDescription;
Method or attribute name: subtitle?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: description?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: description?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMediaDescription;
Method or attribute name: description?: string;
Old version information: |Class name: AVMediaDescription;
Method or attribute name: description?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: lyric?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: lyric?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: previousAssetId?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: previousAssetId?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMetadata;
Method or attribute name: nextAssetId?: string;
Old version information: |Class name: AVMetadata;
Method or attribute name: nextAssetId?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMediaDescription;
Method or attribute name: mediaId: string;
Old version information: |Class name: AVMediaDescription;
Method or attribute name: mediaId: string;
New version information: string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMediaDescription;
Method or attribute name: iconUri?: string;
Old version information: |Class name: AVMediaDescription;
Method or attribute name: iconUri?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVMediaDescription;
Method or attribute name: mediaUri?: string;
Old version information: |Class name: AVMediaDescription;
Method or attribute name: mediaUri?: string;
New version information: ?string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVQueueItem;
Method or attribute name: itemId: number;
Old version information: |Class name: AVQueueItem;
Method or attribute name: itemId: number;
New version information: number|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVPlaybackState;
Method or attribute name: speed?: number;
Old version information: |Class name: AVPlaybackState;
Method or attribute name: speed?: number;
New version information: ?number|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVPlaybackState;
Method or attribute name: bufferedTime?: number;
Old version information: |Class name: AVPlaybackState;
Method or attribute name: bufferedTime?: number;
New version information: ?number|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVPlaybackState;
Method or attribute name: isFavorite?: boolean;
Old version information: |Class name: AVPlaybackState;
Method or attribute name: isFavorite?: boolean;
New version information: ?boolean|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVPlaybackState;
Method or attribute name: activeItemId?: number;
Old version information: |Class name: AVPlaybackState;
Method or attribute name: activeItemId?: number;
New version information: ?number|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: PlaybackPosition;
Method or attribute name: elapsedTime: number;
Old version information: |Class name: PlaybackPosition;
Method or attribute name: elapsedTime: number;
New version information: number|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: PlaybackPosition;
Method or attribute name: updateTime: number;
Old version information: |Class name: PlaybackPosition;
Method or attribute name: updateTime: number;
New version information: number|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVSessionDescriptor;
Method or attribute name: sessionTag: string;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: sessionTag: string;
New version information: string|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVSessionDescriptor;
Method or attribute name: isActive: boolean;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: isActive: boolean;
New version information: boolean|@ohos.multimedia.avsession.d.ts| +|Type changed|Class name: AVSessionDescriptor;
Method or attribute name: isTopSession: boolean;
Old version information: |Class name: AVSessionDescriptor;
Method or attribute name: isTopSession: boolean;
New version information: boolean|@ohos.multimedia.avsession.d.ts| +|Function changed|Class name: AudioRendererInfo;
Method or attribute name: content: ContentType;|Class name: AudioRendererInfo;
Method or attribute name: content?: ContentType;|@ohos.multimedia.audio.d.ts| +|Function changed|Class name: SessionToken;
Method or attribute name: pid: number;|Class name: SessionToken;
Method or attribute name: pid?: number;|@ohos.multimedia.avsession.d.ts| +|Function changed|Class name: SessionToken;
Method or attribute name: uid: number;|Class name: SessionToken;
Method or attribute name: uid?: number;|@ohos.multimedia.avsession.d.ts| +|Function changed|Class name: AVMediaDescription;
Method or attribute name: icon?: image.PixelMap \| string;|Class name: AVMediaDescription;
Method or attribute name: icon?: image.PixelMap;|@ohos.multimedia.avsession.d.ts| +|Function changed|Class name: CameraInput;
Method or attribute name: on(type: 'error', camera: CameraDevice, callback: ErrorCallback\): void;|Class name: CameraInput;
Method or attribute name: on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: CaptureSession;
Method or attribute name: on(type: 'error', callback: ErrorCallback\): void;|Class name: CaptureSession;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: PreviewOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback\): void;|Class name: PreviewOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: PhotoOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback\): void;|Class name: PhotoOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: VideoOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback\): void;|Class name: VideoOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| +|Function changed|Class name: MetadataOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback\): void;|Class name: MetadataOutput;
Method or attribute name: on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-notification.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-notification.md new file mode 100644 index 0000000000000000000000000000000000000000..44dc0d1cc7b40d72e7994f16ecf8624b6508a163 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-notification.md @@ -0,0 +1,250 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: Support;
Method or attribute name: COMMON_EVENT_CHARGE_IDLE_MODE_CHANGED = 'usual.event.CHARGE_IDLE_MODE_CHANGED'|@ohos.commonEventManager.d.ts| +|Added|NA|Class name: emitter;
Method or attribute name: function off(eventId: number, callback: Callback\): void;|@ohos.events.emitter.d.ts| +|Added|NA|Class name: notificationSubscribe;
Method or attribute name: function remove(hashCodes: Array\, reason: RemoveReason, callback: AsyncCallback\): void;|@ohos.notificationSubscribe.d.ts| +|Added|NA|Class name: notificationSubscribe;
Method or attribute name: function remove(hashCodes: Array\, reason: RemoveReason): Promise\;|@ohos.notificationSubscribe.d.ts| +|Error code changed|Class name: reminderAgentManager;
Method or attribute name: function publishReminder(reminderReq: ReminderRequest, callback: AsyncCallback\): void;
Old version information: 401|Class name: reminderAgentManager;
Method or attribute name: function publishReminder(reminderReq: ReminderRequest, callback: AsyncCallback\): void;
New version information: 401,1700001,1700002|@ohos.reminderAgentManager.d.ts| +|Error code changed|Class name: reminderAgentManager;
Method or attribute name: function publishReminder(reminderReq: ReminderRequest): Promise\;
Old version information: 401|Class name: reminderAgentManager;
Method or attribute name: function publishReminder(reminderReq: ReminderRequest): Promise\;
New version information: 401,1700001,1700002|@ohos.reminderAgentManager.d.ts| +|Error code changed|Class name: reminderAgentManager;
Method or attribute name: function cancelReminder(reminderId: number, callback: AsyncCallback\): void;
Old version information: 401|Class name: reminderAgentManager;
Method or attribute name: function cancelReminder(reminderId: number, callback: AsyncCallback\): void;
New version information: 401,1700003,1700004|@ohos.reminderAgentManager.d.ts| +|Error code changed|Class name: reminderAgentManager;
Method or attribute name: function cancelReminder(reminderId: number): Promise\;
Old version information: 401|Class name: reminderAgentManager;
Method or attribute name: function cancelReminder(reminderId: number): Promise\;
New version information: 401,1700003,1700004|@ohos.reminderAgentManager.d.ts| +|Error code changed|Class name: reminderAgentManager;
Method or attribute name: function getValidReminders(callback: AsyncCallback\>): void;
Old version information: 401|Class name: reminderAgentManager;
Method or attribute name: function getValidReminders(callback: AsyncCallback\>): void;
New version information: 401,1700004|@ohos.reminderAgentManager.d.ts| +|Error code changed|Class name: reminderAgentManager;
Method or attribute name: function getValidReminders(): Promise\>;
Old version information: 401|Class name: reminderAgentManager;
Method or attribute name: function getValidReminders(): Promise\>;
New version information: 401,1700004|@ohos.reminderAgentManager.d.ts| +|Error code changed|Class name: reminderAgentManager;
Method or attribute name: function cancelAllReminders(callback: AsyncCallback\): void;
Old version information: 401|Class name: reminderAgentManager;
Method or attribute name: function cancelAllReminders(callback: AsyncCallback\): void;
New version information: 401,1700004|@ohos.reminderAgentManager.d.ts| +|Error code changed|Class name: reminderAgentManager;
Method or attribute name: function cancelAllReminders(): Promise\;
Old version information: 401|Class name: reminderAgentManager;
Method or attribute name: function cancelAllReminders(): Promise\;
New version information: 401,1700004|@ohos.reminderAgentManager.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function publish(request: NotificationRequest, userId: number): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function publish(request: NotificationRequest, userId: number): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function isNotificationEnabled(userId: number): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function isNotificationEnabled(userId: number): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function removeAll(userId: number): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function removeAll(userId: number): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function getDoNotDisturbDate(): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function getDoNotDisturbDate(): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function getDoNotDisturbDate(userId: number): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function getDoNotDisturbDate(userId: number): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function supportDoNotDisturbMode(): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function supportDoNotDisturbMode(): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function enableDistributed(enable: boolean): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function enableDistributed(enable: boolean): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function isDistributedEnabledByBundle(bundle: BundleOption): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function isDistributedEnabledByBundle(bundle: BundleOption): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: notification;
Method or attribute name: function getDeviceRemindType(): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function getDeviceRemindType(): Promise\;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DoNotDisturbType;
Method or attribute name: TYPE_NONE = 0
Old version information: |Class name: DoNotDisturbType;
Method or attribute name: TYPE_NONE = 0
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DoNotDisturbType;
Method or attribute name: TYPE_ONCE = 1
Old version information: |Class name: DoNotDisturbType;
Method or attribute name: TYPE_ONCE = 1
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DoNotDisturbType;
Method or attribute name: TYPE_DAILY = 2
Old version information: |Class name: DoNotDisturbType;
Method or attribute name: TYPE_DAILY = 2
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DoNotDisturbType;
Method or attribute name: TYPE_CLEARLY = 3
Old version information: |Class name: DoNotDisturbType;
Method or attribute name: TYPE_CLEARLY = 3
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DoNotDisturbDate;
Method or attribute name: type: DoNotDisturbType;
Old version information: |Class name: DoNotDisturbDate;
Method or attribute name: type: DoNotDisturbType;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DoNotDisturbDate;
Method or attribute name: begin: Date;
Old version information: |Class name: DoNotDisturbDate;
Method or attribute name: begin: Date;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DoNotDisturbDate;
Method or attribute name: end: Date;
Old version information: |Class name: DoNotDisturbDate;
Method or attribute name: end: Date;
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DeviceRemindType;
Method or attribute name: IDLE_DONOT_REMIND = 0
Old version information: |Class name: DeviceRemindType;
Method or attribute name: IDLE_DONOT_REMIND = 0
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DeviceRemindType;
Method or attribute name: IDLE_REMIND = 1
Old version information: |Class name: DeviceRemindType;
Method or attribute name: IDLE_REMIND = 1
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DeviceRemindType;
Method or attribute name: ACTIVE_DONOT_REMIND = 2
Old version information: |Class name: DeviceRemindType;
Method or attribute name: ACTIVE_DONOT_REMIND = 2
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: DeviceRemindType;
Method or attribute name: ACTIVE_REMIND = 3
Old version information: |Class name: DeviceRemindType;
Method or attribute name: ACTIVE_REMIND = 3
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: SourceType;
Method or attribute name: TYPE_NORMAL = 0
Old version information: |Class name: SourceType;
Method or attribute name: TYPE_NORMAL = 0
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: SourceType;
Method or attribute name: TYPE_CONTINUOUS = 1
Old version information: |Class name: SourceType;
Method or attribute name: TYPE_CONTINUOUS = 1
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: SourceType;
Method or attribute name: TYPE_TIMER = 2
Old version information: |Class name: SourceType;
Method or attribute name: TYPE_TIMER = 2
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: RemoveReason;
Method or attribute name: CLICK_REASON_REMOVE = 1
Old version information: |Class name: RemoveReason;
Method or attribute name: CLICK_REASON_REMOVE = 1
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: RemoveReason;
Method or attribute name: CANCEL_REASON_REMOVE = 2
Old version information: |Class name: RemoveReason;
Method or attribute name: CANCEL_REASON_REMOVE = 2
New version information: systemapi|@ohos.notification.d.ts| +|Access level changed|Class name: NotificationCheckInfo;
Method or attribute name: bundleName: string;
Old version information: |Class name: NotificationCheckInfo;
Method or attribute name: bundleName: string;
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: NotificationCheckInfo;
Method or attribute name: notificationId: number;
Old version information: |Class name: NotificationCheckInfo;
Method or attribute name: notificationId: number;
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: NotificationCheckInfo;
Method or attribute name: contentType: ContentType;
Old version information: |Class name: NotificationCheckInfo;
Method or attribute name: contentType: ContentType;
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: NotificationCheckResult;
Method or attribute name: code: number;
Old version information: |Class name: NotificationCheckResult;
Method or attribute name: code: number;
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: NotificationCheckResult;
Method or attribute name: message: string;
Old version information: |Class name: NotificationCheckResult;
Method or attribute name: message: string;
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DoNotDisturbType;
Method or attribute name: TYPE_NONE = 0
Old version information: |Class name: DoNotDisturbType;
Method or attribute name: TYPE_NONE = 0
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DoNotDisturbType;
Method or attribute name: TYPE_ONCE = 1
Old version information: |Class name: DoNotDisturbType;
Method or attribute name: TYPE_ONCE = 1
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DoNotDisturbType;
Method or attribute name: TYPE_DAILY = 2
Old version information: |Class name: DoNotDisturbType;
Method or attribute name: TYPE_DAILY = 2
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DoNotDisturbType;
Method or attribute name: TYPE_CLEARLY = 3
Old version information: |Class name: DoNotDisturbType;
Method or attribute name: TYPE_CLEARLY = 3
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DoNotDisturbDate;
Method or attribute name: type: DoNotDisturbType;
Old version information: |Class name: DoNotDisturbDate;
Method or attribute name: type: DoNotDisturbType;
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DoNotDisturbDate;
Method or attribute name: begin: Date;
Old version information: |Class name: DoNotDisturbDate;
Method or attribute name: begin: Date;
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DoNotDisturbDate;
Method or attribute name: end: Date;
Old version information: |Class name: DoNotDisturbDate;
Method or attribute name: end: Date;
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DeviceRemindType;
Method or attribute name: IDLE_DONOT_REMIND = 0
Old version information: |Class name: DeviceRemindType;
Method or attribute name: IDLE_DONOT_REMIND = 0
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DeviceRemindType;
Method or attribute name: IDLE_REMIND = 1
Old version information: |Class name: DeviceRemindType;
Method or attribute name: IDLE_REMIND = 1
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DeviceRemindType;
Method or attribute name: ACTIVE_DONOT_REMIND = 2
Old version information: |Class name: DeviceRemindType;
Method or attribute name: ACTIVE_DONOT_REMIND = 2
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: DeviceRemindType;
Method or attribute name: ACTIVE_REMIND = 3
Old version information: |Class name: DeviceRemindType;
Method or attribute name: ACTIVE_REMIND = 3
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: SourceType;
Method or attribute name: TYPE_NORMAL = 0
Old version information: |Class name: SourceType;
Method or attribute name: TYPE_NORMAL = 0
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: SourceType;
Method or attribute name: TYPE_CONTINUOUS = 1
Old version information: |Class name: SourceType;
Method or attribute name: TYPE_CONTINUOUS = 1
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: SourceType;
Method or attribute name: TYPE_TIMER = 2
Old version information: |Class name: SourceType;
Method or attribute name: TYPE_TIMER = 2
New version information: systemapi|@ohos.notificationManager.d.ts| +|Access level changed|Class name: notificationSubscribe;
Method or attribute name: export type BundleOption = _BundleOption;
Old version information: |Class name: notificationSubscribe;
Method or attribute name: export type BundleOption = _BundleOption;
New version information: systemapi|@ohos.notificationSubscribe.d.ts| +|Access level changed|Class name: NotificationKey;
Method or attribute name: id: number;
Old version information: |Class name: NotificationKey;
Method or attribute name: id: number;
New version information: systemapi|@ohos.notificationSubscribe.d.ts| +|Access level changed|Class name: NotificationKey;
Method or attribute name: label?: string;
Old version information: |Class name: NotificationKey;
Method or attribute name: label?: string;
New version information: systemapi|@ohos.notificationSubscribe.d.ts| +|Access level changed|Class name: RemoveReason;
Method or attribute name: CLICK_REASON_REMOVE = 1
Old version information: |Class name: RemoveReason;
Method or attribute name: CLICK_REASON_REMOVE = 1
New version information: systemapi|@ohos.notificationSubscribe.d.ts| +|Access level changed|Class name: RemoveReason;
Method or attribute name: CANCEL_REASON_REMOVE = 2
Old version information: |Class name: RemoveReason;
Method or attribute name: CANCEL_REASON_REMOVE = 2
New version information: systemapi|@ohos.notificationSubscribe.d.ts| +|Access level changed|Class name: NotificationSorting;
Method or attribute name: readonly slot: NotificationSlot;
Old version information: |Class name: NotificationSorting;
Method or attribute name: readonly slot: NotificationSlot;
New version information: systemapi|notificationSorting.d.ts| +|Access level changed|Class name: NotificationSorting;
Method or attribute name: readonly hashCode: string;
Old version information: |Class name: NotificationSorting;
Method or attribute name: readonly hashCode: string;
New version information: systemapi|notificationSorting.d.ts| +|Access level changed|Class name: NotificationSorting;
Method or attribute name: readonly ranking: number;
Old version information: |Class name: NotificationSorting;
Method or attribute name: readonly ranking: number;
New version information: systemapi|notificationSorting.d.ts| +|Access level changed|Class name: NotificationSortingMap;
Method or attribute name: readonly sortings: { [key: string]: NotificationSorting };
Old version information: |Class name: NotificationSortingMap;
Method or attribute name: readonly sortings: { [key: string]: NotificationSorting };
New version information: systemapi|notificationSortingMap.d.ts| +|Access level changed|Class name: NotificationSortingMap;
Method or attribute name: readonly sortedHashCode: Array\;
Old version information: |Class name: NotificationSortingMap;
Method or attribute name: readonly sortedHashCode: Array\;
New version information: systemapi|notificationSortingMap.d.ts| +|Access level changed|Class name: NotificationSubscribeInfo;
Method or attribute name: bundleNames?: Array\;
Old version information: |Class name: NotificationSubscribeInfo;
Method or attribute name: bundleNames?: Array\;
New version information: systemapi|notificationSubscribeInfo.d.ts| +|Access level changed|Class name: NotificationSubscribeInfo;
Method or attribute name: userId?: number;
Old version information: |Class name: NotificationSubscribeInfo;
Method or attribute name: userId?: number;
New version information: systemapi|notificationSubscribeInfo.d.ts| +|Access level changed|Class name: NotificationSubscriber;
Method or attribute name: onConsume?: (data: SubscribeCallbackData) => void;
Old version information: |Class name: NotificationSubscriber;
Method or attribute name: onConsume?: (data: SubscribeCallbackData) => void;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: NotificationSubscriber;
Method or attribute name: onCancel?: (data: SubscribeCallbackData) => void;
Old version information: |Class name: NotificationSubscriber;
Method or attribute name: onCancel?: (data: SubscribeCallbackData) => void;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: NotificationSubscriber;
Method or attribute name: onUpdate?: (data: NotificationSortingMap) => void;
Old version information: |Class name: NotificationSubscriber;
Method or attribute name: onUpdate?: (data: NotificationSortingMap) => void;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: NotificationSubscriber;
Method or attribute name: onConnect?: () => void;
Old version information: |Class name: NotificationSubscriber;
Method or attribute name: onConnect?: () => void;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: NotificationSubscriber;
Method or attribute name: onDisconnect?: () => void;
Old version information: |Class name: NotificationSubscriber;
Method or attribute name: onDisconnect?: () => void;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: NotificationSubscriber;
Method or attribute name: onDestroy?: () => void;
Old version information: |Class name: NotificationSubscriber;
Method or attribute name: onDestroy?: () => void;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: NotificationSubscriber;
Method or attribute name: onDoNotDisturbDateChange?: (mode: notification.DoNotDisturbDate) => void;
Old version information: |Class name: NotificationSubscriber;
Method or attribute name: onDoNotDisturbDateChange?: (mode: notification.DoNotDisturbDate) => void;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: NotificationSubscriber;
Method or attribute name: onEnabledNotificationChanged?: (callbackData: EnabledNotificationCallbackData) => void;
Old version information: |Class name: NotificationSubscriber;
Method or attribute name: onEnabledNotificationChanged?: (callbackData: EnabledNotificationCallbackData) => void;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: NotificationSubscriber;
Method or attribute name: onBadgeChanged?: (data: BadgeNumberCallbackData) => void;
Old version information: |Class name: NotificationSubscriber;
Method or attribute name: onBadgeChanged?: (data: BadgeNumberCallbackData) => void;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: SubscribeCallbackData;
Method or attribute name: readonly request: NotificationRequest;
Old version information: |Class name: SubscribeCallbackData;
Method or attribute name: readonly request: NotificationRequest;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: SubscribeCallbackData;
Method or attribute name: readonly sortingMap?: NotificationSortingMap;
Old version information: |Class name: SubscribeCallbackData;
Method or attribute name: readonly sortingMap?: NotificationSortingMap;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: SubscribeCallbackData;
Method or attribute name: readonly reason?: number;
Old version information: |Class name: SubscribeCallbackData;
Method or attribute name: readonly reason?: number;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: SubscribeCallbackData;
Method or attribute name: readonly sound?: string;
Old version information: |Class name: SubscribeCallbackData;
Method or attribute name: readonly sound?: string;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: SubscribeCallbackData;
Method or attribute name: readonly vibrationValues?: Array\;
Old version information: |Class name: SubscribeCallbackData;
Method or attribute name: readonly vibrationValues?: Array\;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly bundle: string;
Old version information: |Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly bundle: string;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: BadgeNumberCallbackData;
Method or attribute name: readonly bundle: string;
Old version information: |Class name: BadgeNumberCallbackData;
Method or attribute name: readonly bundle: string;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly uid: number;
Old version information: |Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly uid: number;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: BadgeNumberCallbackData;
Method or attribute name: readonly uid: number;
Old version information: |Class name: BadgeNumberCallbackData;
Method or attribute name: readonly uid: number;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly enable: boolean;
Old version information: |Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly enable: boolean;
New version information: systemapi|notificationSubscriber.d.ts| +|Access level changed|Class name: BadgeNumberCallbackData;
Method or attribute name: readonly badgeNumber: number;
Old version information: |Class name: BadgeNumberCallbackData;
Method or attribute name: readonly badgeNumber: number;
New version information: systemapi|notificationSubscriber.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function publish(request: NotificationRequest, userId: number): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function publish(request: NotificationRequest, userId: number): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function isNotificationEnabled(userId: number): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function isNotificationEnabled(userId: number): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function removeAll(userId: number): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function removeAll(userId: number): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function getDoNotDisturbDate(): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function getDoNotDisturbDate(): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function getDoNotDisturbDate(userId: number): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function getDoNotDisturbDate(userId: number): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function supportDoNotDisturbMode(): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function supportDoNotDisturbMode(): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function enableDistributed(enable: boolean): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function enableDistributed(enable: boolean): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function isDistributedEnabledByBundle(bundle: BundleOption): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function isDistributedEnabledByBundle(bundle: BundleOption): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: notification;
Method or attribute name: function getDeviceRemindType(): Promise\;
Old version information: |Class name: notification;
Method or attribute name: function getDeviceRemindType(): Promise\;
New version information: ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts| +|Permission changed|Class name: NotificationCheckInfo;
Method or attribute name: bundleName: string;
Old version information: |Class name: NotificationCheckInfo;
Method or attribute name: bundleName: string;
New version information: ohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts| +|Permission changed|Class name: NotificationCheckInfo;
Method or attribute name: notificationId: number;
Old version information: |Class name: NotificationCheckInfo;
Method or attribute name: notificationId: number;
New version information: ohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts| +|Permission changed|Class name: NotificationCheckInfo;
Method or attribute name: contentType: ContentType;
Old version information: |Class name: NotificationCheckInfo;
Method or attribute name: contentType: ContentType;
New version information: ohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts| +|Permission changed|Class name: NotificationCheckResult;
Method or attribute name: code: number;
Old version information: |Class name: NotificationCheckResult;
Method or attribute name: code: number;
New version information: ohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts| +|Permission changed|Class name: NotificationCheckResult;
Method or attribute name: message: string;
Old version information: |Class name: NotificationCheckResult;
Method or attribute name: message: string;
New version information: ohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts| +|Type changed|Class name: EventData;
Method or attribute name: data?: { [key: string]: any };
Old version information: |Class name: EventData;
Method or attribute name: data?: { [key: string]: any };
New version information: ?object|@ohos.events.emitter.d.ts| +|Type changed|Class name: InnerEvent;
Method or attribute name: eventId: number;
Old version information: |Class name: InnerEvent;
Method or attribute name: eventId: number;
New version information: number|@ohos.events.emitter.d.ts| +|Type changed|Class name: InnerEvent;
Method or attribute name: priority?: EventPriority;
Old version information: |Class name: InnerEvent;
Method or attribute name: priority?: EventPriority;
New version information: ?EventPriority|@ohos.events.emitter.d.ts| +|Type changed|Class name: BundleOption;
Method or attribute name: bundle: string;
Old version information: |Class name: BundleOption;
Method or attribute name: bundle: string;
New version information: string|@ohos.notification.d.ts| +|Type changed|Class name: BundleOption;
Method or attribute name: uid?: number;
Old version information: |Class name: BundleOption;
Method or attribute name: uid?: number;
New version information: ?number|@ohos.notification.d.ts| +|Type changed|Class name: NotificationKey;
Method or attribute name: id: number;
Old version information: |Class name: NotificationKey;
Method or attribute name: id: number;
New version information: number|@ohos.notification.d.ts| +|Type changed|Class name: NotificationKey;
Method or attribute name: label?: string;
Old version information: |Class name: NotificationKey;
Method or attribute name: label?: string;
New version information: ?string|@ohos.notification.d.ts| +|Type changed|Class name: NotificationCheckInfo;
Method or attribute name: bundleName: string;
Old version information: |Class name: NotificationCheckInfo;
Method or attribute name: bundleName: string;
New version information: string|@ohos.notificationManager.d.ts| +|Type changed|Class name: NotificationCheckInfo;
Method or attribute name: notificationId: number;
Old version information: |Class name: NotificationCheckInfo;
Method or attribute name: notificationId: number;
New version information: number|@ohos.notificationManager.d.ts| +|Type changed|Class name: NotificationCheckInfo;
Method or attribute name: contentType: ContentType;
Old version information: |Class name: NotificationCheckInfo;
Method or attribute name: contentType: ContentType;
New version information: ContentType|@ohos.notificationManager.d.ts| +|Type changed|Class name: NotificationCheckResult;
Method or attribute name: code: number;
Old version information: |Class name: NotificationCheckResult;
Method or attribute name: code: number;
New version information: number|@ohos.notificationManager.d.ts| +|Type changed|Class name: NotificationCheckResult;
Method or attribute name: message: string;
Old version information: |Class name: NotificationCheckResult;
Method or attribute name: message: string;
New version information: string|@ohos.notificationManager.d.ts| +|Type changed|Class name: DoNotDisturbDate;
Method or attribute name: type: DoNotDisturbType;
Old version information: |Class name: DoNotDisturbDate;
Method or attribute name: type: DoNotDisturbType;
New version information: DoNotDisturbType|@ohos.notificationManager.d.ts| +|Type changed|Class name: DoNotDisturbDate;
Method or attribute name: begin: Date;
Old version information: |Class name: DoNotDisturbDate;
Method or attribute name: begin: Date;
New version information: Date|@ohos.notificationManager.d.ts| +|Type changed|Class name: DoNotDisturbDate;
Method or attribute name: end: Date;
Old version information: |Class name: DoNotDisturbDate;
Method or attribute name: end: Date;
New version information: Date|@ohos.notificationManager.d.ts| +|Type changed|Class name: NotificationKey;
Method or attribute name: id: number;
Old version information: |Class name: NotificationKey;
Method or attribute name: id: number;
New version information: number|@ohos.notificationSubscribe.d.ts| +|Type changed|Class name: NotificationKey;
Method or attribute name: label?: string;
Old version information: |Class name: NotificationKey;
Method or attribute name: label?: string;
New version information: ?string|@ohos.notificationSubscribe.d.ts| +|Type changed|Class name: ActionResult;
Method or attribute name: bundleName: string;
Old version information: |Class name: ActionResult;
Method or attribute name: bundleName: string;
New version information: string|@system.notification.d.ts| +|Type changed|Class name: ActionResult;
Method or attribute name: abilityName: string;
Old version information: |Class name: ActionResult;
Method or attribute name: abilityName: string;
New version information: string|@system.notification.d.ts| +|Type changed|Class name: ActionResult;
Method or attribute name: uri: string;
Old version information: |Class name: ActionResult;
Method or attribute name: uri: string;
New version information: string|@system.notification.d.ts| +|Type changed|Class name: ShowNotificationOptions;
Method or attribute name: contentTitle?: string;
Old version information: |Class name: ShowNotificationOptions;
Method or attribute name: contentTitle?: string;
New version information: ?string|@system.notification.d.ts| +|Type changed|Class name: ShowNotificationOptions;
Method or attribute name: contentText?: string;
Old version information: |Class name: ShowNotificationOptions;
Method or attribute name: contentText?: string;
New version information: ?string|@system.notification.d.ts| +|Type changed|Class name: ShowNotificationOptions;
Method or attribute name: clickAction?: ActionResult;
Old version information: |Class name: ShowNotificationOptions;
Method or attribute name: clickAction?: ActionResult;
New version information: ?ActionResult|@system.notification.d.ts| +|Type changed|Class name: CommonEventData;
Method or attribute name: event: string;
Old version information: |Class name: CommonEventData;
Method or attribute name: event: string;
New version information: string|commonEventData.d.ts| +|Type changed|Class name: CommonEventData;
Method or attribute name: bundleName?: string;
Old version information: |Class name: CommonEventData;
Method or attribute name: bundleName?: string;
New version information: ?string|commonEventData.d.ts| +|Type changed|Class name: CommonEventData;
Method or attribute name: code?: number;
Old version information: |Class name: CommonEventData;
Method or attribute name: code?: number;
New version information: ?number|commonEventData.d.ts| +|Type changed|Class name: CommonEventData;
Method or attribute name: data?: string;
Old version information: |Class name: CommonEventData;
Method or attribute name: data?: string;
New version information: ?string|commonEventData.d.ts| +|Type changed|Class name: CommonEventData;
Method or attribute name: parameters?: { [key: string]: any };
Old version information: |Class name: CommonEventData;
Method or attribute name: parameters?: { [key: string]: any };
New version information: ?object|commonEventData.d.ts| +|Type changed|Class name: CommonEventPublishData;
Method or attribute name: bundleName?: string;
Old version information: |Class name: CommonEventPublishData;
Method or attribute name: bundleName?: string;
New version information: ?string|commonEventPublishData.d.ts| +|Type changed|Class name: CommonEventPublishData;
Method or attribute name: code?: number;
Old version information: |Class name: CommonEventPublishData;
Method or attribute name: code?: number;
New version information: ?number|commonEventPublishData.d.ts| +|Type changed|Class name: CommonEventPublishData;
Method or attribute name: data?: string;
Old version information: |Class name: CommonEventPublishData;
Method or attribute name: data?: string;
New version information: ?string|commonEventPublishData.d.ts| +|Type changed|Class name: CommonEventPublishData;
Method or attribute name: subscriberPermissions?: Array\;
Old version information: |Class name: CommonEventPublishData;
Method or attribute name: subscriberPermissions?: Array\;
New version information: ?Array\|commonEventPublishData.d.ts| +|Type changed|Class name: CommonEventPublishData;
Method or attribute name: isOrdered?: boolean;
Old version information: |Class name: CommonEventPublishData;
Method or attribute name: isOrdered?: boolean;
New version information: ?boolean|commonEventPublishData.d.ts| +|Type changed|Class name: CommonEventPublishData;
Method or attribute name: isSticky?: boolean;
Old version information: |Class name: CommonEventPublishData;
Method or attribute name: isSticky?: boolean;
New version information: ?boolean|commonEventPublishData.d.ts| +|Type changed|Class name: CommonEventPublishData;
Method or attribute name: parameters?: { [key: string]: any };
Old version information: |Class name: CommonEventPublishData;
Method or attribute name: parameters?: { [key: string]: any };
New version information: ?object|commonEventPublishData.d.ts| +|Type changed|Class name: CommonEventSubscribeInfo;
Method or attribute name: events: Array\;
Old version information: |Class name: CommonEventSubscribeInfo;
Method or attribute name: events: Array\;
New version information: Array\|commonEventSubscribeInfo.d.ts| +|Type changed|Class name: CommonEventSubscribeInfo;
Method or attribute name: publisherPermission?: string;
Old version information: |Class name: CommonEventSubscribeInfo;
Method or attribute name: publisherPermission?: string;
New version information: ?string|commonEventSubscribeInfo.d.ts| +|Type changed|Class name: CommonEventSubscribeInfo;
Method or attribute name: publisherDeviceId?: string;
Old version information: |Class name: CommonEventSubscribeInfo;
Method or attribute name: publisherDeviceId?: string;
New version information: ?string|commonEventSubscribeInfo.d.ts| +|Type changed|Class name: CommonEventSubscribeInfo;
Method or attribute name: userId?: number;
Old version information: |Class name: CommonEventSubscribeInfo;
Method or attribute name: userId?: number;
New version information: ?number|commonEventSubscribeInfo.d.ts| +|Type changed|Class name: CommonEventSubscribeInfo;
Method or attribute name: priority?: number;
Old version information: |Class name: CommonEventSubscribeInfo;
Method or attribute name: priority?: number;
New version information: ?number|commonEventSubscribeInfo.d.ts| +|Type changed|Class name: NotificationActionButton;
Method or attribute name: title: string;
Old version information: |Class name: NotificationActionButton;
Method or attribute name: title: string;
New version information: string|notificationActionButton.d.ts| +|Type changed|Class name: NotificationActionButton;
Method or attribute name: wantAgent: WantAgent;
Old version information: |Class name: NotificationActionButton;
Method or attribute name: wantAgent: WantAgent;
New version information: WantAgent|notificationActionButton.d.ts| +|Type changed|Class name: NotificationActionButton;
Method or attribute name: extras?: { [key: string]: any };
Old version information: |Class name: NotificationActionButton;
Method or attribute name: extras?: { [key: string]: any };
New version information: ?object|notificationActionButton.d.ts| +|Type changed|Class name: NotificationActionButton;
Method or attribute name: userInput?: NotificationUserInput;
Old version information: |Class name: NotificationActionButton;
Method or attribute name: userInput?: NotificationUserInput;
New version information: ?NotificationUserInput|notificationActionButton.d.ts| +|Type changed|Class name: BundleOption;
Method or attribute name: bundle: string;
Old version information: |Class name: BundleOption;
Method or attribute name: bundle: string;
New version information: string|NotificationCommonDef.d.ts| +|Type changed|Class name: BundleOption;
Method or attribute name: uid?: number;
Old version information: |Class name: BundleOption;
Method or attribute name: uid?: number;
New version information: ?number|NotificationCommonDef.d.ts| +|Type changed|Class name: NotificationBasicContent;
Method or attribute name: title: string;
Old version information: |Class name: NotificationBasicContent;
Method or attribute name: title: string;
New version information: string|notificationContent.d.ts| +|Type changed|Class name: NotificationBasicContent;
Method or attribute name: text: string;
Old version information: |Class name: NotificationBasicContent;
Method or attribute name: text: string;
New version information: string|notificationContent.d.ts| +|Type changed|Class name: NotificationBasicContent;
Method or attribute name: additionalText?: string;
Old version information: |Class name: NotificationBasicContent;
Method or attribute name: additionalText?: string;
New version information: ?string|notificationContent.d.ts| +|Type changed|Class name: NotificationLongTextContent;
Method or attribute name: longText: string;
Old version information: |Class name: NotificationLongTextContent;
Method or attribute name: longText: string;
New version information: string|notificationContent.d.ts| +|Type changed|Class name: NotificationLongTextContent;
Method or attribute name: briefText: string;
Old version information: |Class name: NotificationLongTextContent;
Method or attribute name: briefText: string;
New version information: string|notificationContent.d.ts| +|Type changed|Class name: NotificationMultiLineContent;
Method or attribute name: briefText: string;
Old version information: |Class name: NotificationMultiLineContent;
Method or attribute name: briefText: string;
New version information: string|notificationContent.d.ts| +|Type changed|Class name: NotificationPictureContent;
Method or attribute name: briefText: string;
Old version information: |Class name: NotificationPictureContent;
Method or attribute name: briefText: string;
New version information: string|notificationContent.d.ts| +|Type changed|Class name: NotificationLongTextContent;
Method or attribute name: expandedTitle: string;
Old version information: |Class name: NotificationLongTextContent;
Method or attribute name: expandedTitle: string;
New version information: string|notificationContent.d.ts| +|Type changed|Class name: NotificationPictureContent;
Method or attribute name: expandedTitle: string;
Old version information: |Class name: NotificationPictureContent;
Method or attribute name: expandedTitle: string;
New version information: string|notificationContent.d.ts| +|Type changed|Class name: NotificationMultiLineContent;
Method or attribute name: longTitle: string;
Old version information: |Class name: NotificationMultiLineContent;
Method or attribute name: longTitle: string;
New version information: string|notificationContent.d.ts| +|Type changed|Class name: NotificationMultiLineContent;
Method or attribute name: lines: Array\;
Old version information: |Class name: NotificationMultiLineContent;
Method or attribute name: lines: Array\;
New version information: Array\|notificationContent.d.ts| +|Type changed|Class name: NotificationPictureContent;
Method or attribute name: picture: image.PixelMap;
Old version information: |Class name: NotificationPictureContent;
Method or attribute name: picture: image.PixelMap;
New version information: image.PixelMap|notificationContent.d.ts| +|Type changed|Class name: NotificationContent;
Method or attribute name: contentType: notification.ContentType;
Old version information: |Class name: NotificationContent;
Method or attribute name: contentType: notification.ContentType;
New version information: notification.ContentType|notificationContent.d.ts| +|Type changed|Class name: NotificationContent;
Method or attribute name: normal?: NotificationBasicContent;
Old version information: |Class name: NotificationContent;
Method or attribute name: normal?: NotificationBasicContent;
New version information: ?NotificationBasicContent|notificationContent.d.ts| +|Type changed|Class name: NotificationContent;
Method or attribute name: longText?: NotificationLongTextContent;
Old version information: |Class name: NotificationContent;
Method or attribute name: longText?: NotificationLongTextContent;
New version information: ?NotificationLongTextContent|notificationContent.d.ts| +|Type changed|Class name: NotificationContent;
Method or attribute name: multiLine?: NotificationMultiLineContent;
Old version information: |Class name: NotificationContent;
Method or attribute name: multiLine?: NotificationMultiLineContent;
New version information: ?NotificationMultiLineContent|notificationContent.d.ts| +|Type changed|Class name: NotificationContent;
Method or attribute name: picture?: NotificationPictureContent;
Old version information: |Class name: NotificationContent;
Method or attribute name: picture?: NotificationPictureContent;
New version information: ?NotificationPictureContent|notificationContent.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: content: NotificationContent;
Old version information: |Class name: NotificationRequest;
Method or attribute name: content: NotificationContent;
New version information: NotificationContent|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: id?: number;
Old version information: |Class name: NotificationRequest;
Method or attribute name: id?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: slotType?: notification.SlotType;
Old version information: |Class name: NotificationRequest;
Method or attribute name: slotType?: notification.SlotType;
New version information: ?notification.SlotType|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: isOngoing?: boolean;
Old version information: |Class name: NotificationRequest;
Method or attribute name: isOngoing?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: isUnremovable?: boolean;
Old version information: |Class name: NotificationRequest;
Method or attribute name: isUnremovable?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: deliveryTime?: number;
Old version information: |Class name: NotificationRequest;
Method or attribute name: deliveryTime?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: tapDismissed?: boolean;
Old version information: |Class name: NotificationRequest;
Method or attribute name: tapDismissed?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: autoDeletedTime?: number;
Old version information: |Class name: NotificationRequest;
Method or attribute name: autoDeletedTime?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: wantAgent?: WantAgent;
Old version information: |Class name: NotificationRequest;
Method or attribute name: wantAgent?: WantAgent;
New version information: ?WantAgent|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: extraInfo?: { [key: string]: any };
Old version information: |Class name: NotificationRequest;
Method or attribute name: extraInfo?: { [key: string]: any };
New version information: ?object|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: color?: number;
Old version information: |Class name: NotificationRequest;
Method or attribute name: color?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: colorEnabled?: boolean;
Old version information: |Class name: NotificationRequest;
Method or attribute name: colorEnabled?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: isAlertOnce?: boolean;
Old version information: |Class name: NotificationRequest;
Method or attribute name: isAlertOnce?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: isStopwatch?: boolean;
Old version information: |Class name: NotificationRequest;
Method or attribute name: isStopwatch?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: isCountDown?: boolean;
Old version information: |Class name: NotificationRequest;
Method or attribute name: isCountDown?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: isFloatingIcon?: boolean;
Old version information: |Class name: NotificationRequest;
Method or attribute name: isFloatingIcon?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: label?: string;
Old version information: |Class name: NotificationRequest;
Method or attribute name: label?: string;
New version information: ?string|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: badgeIconStyle?: number;
Old version information: |Class name: NotificationRequest;
Method or attribute name: badgeIconStyle?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: showDeliveryTime?: boolean;
Old version information: |Class name: NotificationRequest;
Method or attribute name: showDeliveryTime?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: actionButtons?: Array\;
Old version information: |Class name: NotificationRequest;
Method or attribute name: actionButtons?: Array\;
New version information: ?Array\|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: smallIcon?: image.PixelMap;
Old version information: |Class name: NotificationRequest;
Method or attribute name: smallIcon?: image.PixelMap;
New version information: ?image.PixelMap|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: largeIcon?: image.PixelMap;
Old version information: |Class name: NotificationRequest;
Method or attribute name: largeIcon?: image.PixelMap;
New version information: ?image.PixelMap|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: groupName?: string;
Old version information: |Class name: NotificationRequest;
Method or attribute name: groupName?: string;
New version information: ?string|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: readonly creatorBundleName?: string;
Old version information: |Class name: NotificationRequest;
Method or attribute name: readonly creatorBundleName?: string;
New version information: ?string|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: readonly creatorUid?: number;
Old version information: |Class name: NotificationRequest;
Method or attribute name: readonly creatorUid?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: readonly creatorPid?: number;
Old version information: |Class name: NotificationRequest;
Method or attribute name: readonly creatorPid?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: readonly creatorUserId?: number;
Old version information: |Class name: NotificationRequest;
Method or attribute name: readonly creatorUserId?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: classification?: string;
Old version information: |Class name: NotificationRequest;
Method or attribute name: classification?: string;
New version information: ?string|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: readonly hashCode?: string;
Old version information: |Class name: NotificationRequest;
Method or attribute name: readonly hashCode?: string;
New version information: ?string|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: isRemoveAllowed?: boolean;
Old version information: |Class name: NotificationRequest;
Method or attribute name: isRemoveAllowed?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: readonly source?: number;
Old version information: |Class name: NotificationRequest;
Method or attribute name: readonly source?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: template?: NotificationTemplate;
Old version information: |Class name: NotificationRequest;
Method or attribute name: template?: NotificationTemplate;
New version information: ?NotificationTemplate|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: distributedOption?: DistributedOptions;
Old version information: |Class name: NotificationRequest;
Method or attribute name: distributedOption?: DistributedOptions;
New version information: ?DistributedOptions|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: readonly deviceId?: string;
Old version information: |Class name: NotificationRequest;
Method or attribute name: readonly deviceId?: string;
New version information: ?string|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: readonly notificationFlags?: NotificationFlags;
Old version information: |Class name: NotificationRequest;
Method or attribute name: readonly notificationFlags?: NotificationFlags;
New version information: ?NotificationFlags|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: removalWantAgent?: WantAgent;
Old version information: |Class name: NotificationRequest;
Method or attribute name: removalWantAgent?: WantAgent;
New version information: ?WantAgent|notificationRequest.d.ts| +|Type changed|Class name: NotificationRequest;
Method or attribute name: badgeNumber?: number;
Old version information: |Class name: NotificationRequest;
Method or attribute name: badgeNumber?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: DistributedOptions;
Method or attribute name: isDistributed?: boolean;
Old version information: |Class name: DistributedOptions;
Method or attribute name: isDistributed?: boolean;
New version information: ?boolean|notificationRequest.d.ts| +|Type changed|Class name: DistributedOptions;
Method or attribute name: supportDisplayDevices?: Array\;
Old version information: |Class name: DistributedOptions;
Method or attribute name: supportDisplayDevices?: Array\;
New version information: ?Array\|notificationRequest.d.ts| +|Type changed|Class name: DistributedOptions;
Method or attribute name: supportOperateDevices?: Array\;
Old version information: |Class name: DistributedOptions;
Method or attribute name: supportOperateDevices?: Array\;
New version information: ?Array\|notificationRequest.d.ts| +|Type changed|Class name: DistributedOptions;
Method or attribute name: readonly remindType?: number;
Old version information: |Class name: DistributedOptions;
Method or attribute name: readonly remindType?: number;
New version information: ?number|notificationRequest.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: type: notification.SlotType;
Old version information: |Class name: NotificationSlot;
Method or attribute name: type: notification.SlotType;
New version information: notification.SlotType|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: level?: notification.SlotLevel;
Old version information: |Class name: NotificationSlot;
Method or attribute name: level?: notification.SlotLevel;
New version information: ?notification.SlotLevel|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: desc?: string;
Old version information: |Class name: NotificationSlot;
Method or attribute name: desc?: string;
New version information: ?string|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: badgeFlag?: boolean;
Old version information: |Class name: NotificationSlot;
Method or attribute name: badgeFlag?: boolean;
New version information: ?boolean|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: bypassDnd?: boolean;
Old version information: |Class name: NotificationSlot;
Method or attribute name: bypassDnd?: boolean;
New version information: ?boolean|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: lockscreenVisibility?: number;
Old version information: |Class name: NotificationSlot;
Method or attribute name: lockscreenVisibility?: number;
New version information: ?number|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: vibrationEnabled?: boolean;
Old version information: |Class name: NotificationSlot;
Method or attribute name: vibrationEnabled?: boolean;
New version information: ?boolean|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: sound?: string;
Old version information: |Class name: NotificationSlot;
Method or attribute name: sound?: string;
New version information: ?string|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: lightEnabled?: boolean;
Old version information: |Class name: NotificationSlot;
Method or attribute name: lightEnabled?: boolean;
New version information: ?boolean|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: lightColor?: number;
Old version information: |Class name: NotificationSlot;
Method or attribute name: lightColor?: number;
New version information: ?number|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: vibrationValues?: Array\;
Old version information: |Class name: NotificationSlot;
Method or attribute name: vibrationValues?: Array\;
New version information: ?Array\|notificationSlot.d.ts| +|Type changed|Class name: NotificationSlot;
Method or attribute name: readonly enabled?: boolean;
Old version information: |Class name: NotificationSlot;
Method or attribute name: readonly enabled?: boolean;
New version information: ?boolean|notificationSlot.d.ts| +|Type changed|Class name: NotificationSorting;
Method or attribute name: readonly slot: NotificationSlot;
Old version information: |Class name: NotificationSorting;
Method or attribute name: readonly slot: NotificationSlot;
New version information: NotificationSlot|notificationSorting.d.ts| +|Type changed|Class name: NotificationSorting;
Method or attribute name: readonly hashCode: string;
Old version information: |Class name: NotificationSorting;
Method or attribute name: readonly hashCode: string;
New version information: string|notificationSorting.d.ts| +|Type changed|Class name: NotificationSorting;
Method or attribute name: readonly ranking: number;
Old version information: |Class name: NotificationSorting;
Method or attribute name: readonly ranking: number;
New version information: number|notificationSorting.d.ts| +|Type changed|Class name: NotificationSortingMap;
Method or attribute name: readonly sortings: { [key: string]: NotificationSorting };
Old version information: |Class name: NotificationSortingMap;
Method or attribute name: readonly sortings: { [key: string]: NotificationSorting };
New version information: object|notificationSortingMap.d.ts| +|Type changed|Class name: NotificationSortingMap;
Method or attribute name: readonly sortedHashCode: Array\;
Old version information: |Class name: NotificationSortingMap;
Method or attribute name: readonly sortedHashCode: Array\;
New version information: Array\|notificationSortingMap.d.ts| +|Type changed|Class name: NotificationSubscribeInfo;
Method or attribute name: bundleNames?: Array\;
Old version information: |Class name: NotificationSubscribeInfo;
Method or attribute name: bundleNames?: Array\;
New version information: ?Array\|notificationSubscribeInfo.d.ts| +|Type changed|Class name: NotificationSubscribeInfo;
Method or attribute name: userId?: number;
Old version information: |Class name: NotificationSubscribeInfo;
Method or attribute name: userId?: number;
New version information: ?number|notificationSubscribeInfo.d.ts| +|Type changed|Class name: SubscribeCallbackData;
Method or attribute name: readonly request: NotificationRequest;
Old version information: |Class name: SubscribeCallbackData;
Method or attribute name: readonly request: NotificationRequest;
New version information: NotificationRequest|notificationSubscriber.d.ts| +|Type changed|Class name: SubscribeCallbackData;
Method or attribute name: readonly sortingMap?: NotificationSortingMap;
Old version information: |Class name: SubscribeCallbackData;
Method or attribute name: readonly sortingMap?: NotificationSortingMap;
New version information: ?NotificationSortingMap|notificationSubscriber.d.ts| +|Type changed|Class name: SubscribeCallbackData;
Method or attribute name: readonly reason?: number;
Old version information: |Class name: SubscribeCallbackData;
Method or attribute name: readonly reason?: number;
New version information: ?number|notificationSubscriber.d.ts| +|Type changed|Class name: SubscribeCallbackData;
Method or attribute name: readonly sound?: string;
Old version information: |Class name: SubscribeCallbackData;
Method or attribute name: readonly sound?: string;
New version information: ?string|notificationSubscriber.d.ts| +|Type changed|Class name: SubscribeCallbackData;
Method or attribute name: readonly vibrationValues?: Array\;
Old version information: |Class name: SubscribeCallbackData;
Method or attribute name: readonly vibrationValues?: Array\;
New version information: ?Array\|notificationSubscriber.d.ts| +|Type changed|Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly bundle: string;
Old version information: |Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly bundle: string;
New version information: string|notificationSubscriber.d.ts| +|Type changed|Class name: BadgeNumberCallbackData;
Method or attribute name: readonly bundle: string;
Old version information: |Class name: BadgeNumberCallbackData;
Method or attribute name: readonly bundle: string;
New version information: string|notificationSubscriber.d.ts| +|Type changed|Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly uid: number;
Old version information: |Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly uid: number;
New version information: number|notificationSubscriber.d.ts| +|Type changed|Class name: BadgeNumberCallbackData;
Method or attribute name: readonly uid: number;
Old version information: |Class name: BadgeNumberCallbackData;
Method or attribute name: readonly uid: number;
New version information: number|notificationSubscriber.d.ts| +|Type changed|Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly enable: boolean;
Old version information: |Class name: EnabledNotificationCallbackData;
Method or attribute name: readonly enable: boolean;
New version information: boolean|notificationSubscriber.d.ts| +|Type changed|Class name: BadgeNumberCallbackData;
Method or attribute name: readonly badgeNumber: number;
Old version information: |Class name: BadgeNumberCallbackData;
Method or attribute name: readonly badgeNumber: number;
New version information: number|notificationSubscriber.d.ts| +|Type changed|Class name: NotificationTemplate;
Method or attribute name: name: string;
Old version information: |Class name: NotificationTemplate;
Method or attribute name: name: string;
New version information: string|notificationTemplate.d.ts| +|Type changed|Class name: NotificationTemplate;
Method or attribute name: data: { [key: string]: Object };
Old version information: |Class name: NotificationTemplate;
Method or attribute name: data: { [key: string]: Object };
New version information: object|notificationTemplate.d.ts| +|Type changed|Class name: NotificationUserInput;
Method or attribute name: inputKey: string;
Old version information: |Class name: NotificationUserInput;
Method or attribute name: inputKey: string;
New version information: string|notificationUserInput.d.ts| +|Function changed|Class name: NotificationRequest;
Method or attribute name: readonly isRemoveAllowed?: boolean;|Class name: NotificationRequest;
Method or attribute name: isRemoveAllowed?: boolean;|notificationRequest.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-resource-scheduler.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-resource-scheduler.md new file mode 100644 index 0000000000000000000000000000000000000000..3dd6d808e36b9bf74e5a0701f27cd278513adf75 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-resource-scheduler.md @@ -0,0 +1,9 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: ResourceType;
Method or attribute name: RUNNING_LOCK = 1 \<\< 7|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Added|NA|Class name: ResourceType;
Method or attribute name: SENSOR = 1 \<\< 8|@ohos.resourceschedule.backgroundTaskManager.d.ts| +|Deprecated version changed|Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\;
Old version information: |Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\;
New version information: 9
Substitute API: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#startBackgroundRunning|@ohos.ability.particleAbility.d.ts| +|Deprecated version changed|Class name: particleAbility;
Method or attribute name: function cancelBackgroundRunning(): Promise\;
Old version information: |Class name: particleAbility;
Method or attribute name: function cancelBackgroundRunning(): Promise\;
New version information: 9
Substitute API: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#stopBackgroundRunning|@ohos.ability.particleAbility.d.ts| +|Permission changed|Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\;
Old version information: |Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\;
New version information: ohos.permission.KEEP_BACKGROUND_RUNNING|@ohos.ability.particleAbility.d.ts| +|Model changed|Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\;
Old version information: |Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise\;
New version information: FAModelOnly|@ohos.ability.particleAbility.d.ts| +|Model changed|Class name: particleAbility;
Method or attribute name: function cancelBackgroundRunning(): Promise\;
Old version information: |Class name: particleAbility;
Method or attribute name: function cancelBackgroundRunning(): Promise\;
New version information: FAModelOnly|@ohos.ability.particleAbility.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-security.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-security.md new file mode 100644 index 0000000000000000000000000000000000000000..a003f82349f8143c29bd91bd45d4162b2a9767c9 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-security.md @@ -0,0 +1,131 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generateKeyPair(callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generateKeyPair(): Promise\;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: cert;
Method or attribute name: function createCertExtension(inStream: EncodingBlob, callback: AsyncCallback\): void;|@ohos.security.cert.d.ts| +|Added|NA|Class name: cert;
Method or attribute name: function createCertExtension(inStream: EncodingBlob): Promise\;|@ohos.security.cert.d.ts| +|Added|NA|Class name: CertItemType;
Method or attribute name: CERT_ITEM_TYPE_TBS = 0|@ohos.security.cert.d.ts| +|Added|NA|Class name: CertItemType;
Method or attribute name: CERT_ITEM_TYPE_PUBLIC_KEY = 1|@ohos.security.cert.d.ts| +|Added|NA|Class name: CertItemType;
Method or attribute name: CERT_ITEM_TYPE_ISSUER_UNIQUE_ID = 2|@ohos.security.cert.d.ts| +|Added|NA|Class name: CertItemType;
Method or attribute name: CERT_ITEM_TYPE_SUBJECT_UNIQUE_ID = 3|@ohos.security.cert.d.ts| +|Added|NA|Class name: CertItemType;
Method or attribute name: CERT_ITEM_TYPE_EXTENSIONS = 4|@ohos.security.cert.d.ts| +|Added|NA|Class name: ExtensionOidType;
Method or attribute name: EXTENSION_OID_TYPE_ALL = 0|@ohos.security.cert.d.ts| +|Added|NA|Class name: ExtensionOidType;
Method or attribute name: EXTENSION_OID_TYPE_CRITICAL = 1|@ohos.security.cert.d.ts| +|Added|NA|Class name: ExtensionOidType;
Method or attribute name: EXTENSION_OID_TYPE_UNCRITICAL = 2|@ohos.security.cert.d.ts| +|Added|NA|Class name: ExtensionEntryType;
Method or attribute name: EXTENSION_ENTRY_TYPE_ENTRY = 0|@ohos.security.cert.d.ts| +|Added|NA|Class name: ExtensionEntryType;
Method or attribute name: EXTENSION_ENTRY_TYPE_ENTRY_CRITICAL = 1|@ohos.security.cert.d.ts| +|Added|NA|Class name: ExtensionEntryType;
Method or attribute name: EXTENSION_ENTRY_TYPE_ENTRY_VALUE = 2|@ohos.security.cert.d.ts| +|Added|NA|Class name: X509Cert;
Method or attribute name: getCertSerialNumber(): bigint;|@ohos.security.cert.d.ts| +|Added|NA|Class name: X509Cert;
Method or attribute name: getItem(itemType: CertItemType): DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Class name: CertExtension;
Method or attribute name: getEncoded(): EncodingBlob;|@ohos.security.cert.d.ts| +|Added|NA|Class name: CertExtension;
Method or attribute name: getOidList(valueType: ExtensionOidType): DataArray;|@ohos.security.cert.d.ts| +|Added|NA|Class name: CertExtension;
Method or attribute name: getEntry(valueType: ExtensionEntryType, oid: DataBlob): DataBlob;|@ohos.security.cert.d.ts| +|Added|NA|Class name: CertExtension;
Method or attribute name: checkCA(): number;|@ohos.security.cert.d.ts| +|Added|NA|Class name: cryptoFramework;
Method or attribute name: function createAsyKeyGeneratorBySpec(asyKeySpec: AsyKeySpec): AsyKeyGeneratorBySpec;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: PriKey;
Method or attribute name: getAsyKeySpec(itemType: AsyKeySpecItem): bigint \| string \| number;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: PubKey;
Method or attribute name: getAsyKeySpec(itemType: AsyKeySpecItem): bigint \| string \| number;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: Random;
Method or attribute name: generateRandomSync(len: number): DataBlob;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: Random;
Method or attribute name: readonly algName: string;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: readonly algName: string;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: CipherSpecItem;
Method or attribute name: OAEP_MD_NAME_STR = 100|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: CipherSpecItem;
Method or attribute name: OAEP_MGF_NAME_STR = 101|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: CipherSpecItem;
Method or attribute name: OAEP_MGF1_MD_STR = 102|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: CipherSpecItem;
Method or attribute name: OAEP_MGF1_PSRC_UINT8ARR = 103|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: SignSpecItem;
Method or attribute name: PSS_MD_NAME_STR = 100|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: SignSpecItem;
Method or attribute name: PSS_MGF_NAME_STR = 101|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: SignSpecItem;
Method or attribute name: PSS_MGF1_MD_STR = 102|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: SignSpecItem;
Method or attribute name: PSS_SALT_LEN_NUM = 103|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: SignSpecItem;
Method or attribute name: PSS_TRAILER_FIELD_NUM = 104|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: Cipher;
Method or attribute name: setCipherSpec(itemType: CipherSpecItem, itemValue: Uint8Array): void;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: Cipher;
Method or attribute name: getCipherSpec(itemType: CipherSpecItem): string \| Uint8Array;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: Sign;
Method or attribute name: setSignSpec(itemType: SignSpecItem, itemValue: number): void;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: Sign;
Method or attribute name: getSignSpec(itemType: SignSpecItem): string \| number;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: Verify;
Method or attribute name: setVerifySpec(itemType: SignSpecItem, itemValue: number): void;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: Verify;
Method or attribute name: getVerifySpec(itemType: SignSpecItem): string \| number;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: DSA_P_BN = 101|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: DSA_Q_BN = 102|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: DSA_G_BN = 103|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: DSA_SK_BN = 104|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: DSA_PK_BN = 105|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_FP_P_BN = 201|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_A_BN = 202|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_B_BN = 203|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_G_X_BN = 204|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_G_Y_BN = 205|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_N_BN = 206|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_H_NUM = 207|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_SK_BN = 208|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_PK_X_BN = 209|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_PK_Y_BN = 210|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_FIELD_TYPE_STR = 211|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_FIELD_SIZE_NUM = 212|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: ECC_CURVE_NAME_STR = 213|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: RSA_N_BN = 301|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: RSA_SK_BN = 302|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecItem;
Method or attribute name: RSA_PK_BN = 303|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecType;
Method or attribute name: COMMON_PARAMS_SPEC = 0|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecType;
Method or attribute name: PRIVATE_KEY_SPEC = 1|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecType;
Method or attribute name: PUBLIC_KEY_SPEC = 2|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpecType;
Method or attribute name: KEY_PAIR_SPEC = 3|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpec;
Method or attribute name: algName: string;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeySpec;
Method or attribute name: specType: AsyKeySpecType;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: DSACommonParamsSpec;
Method or attribute name: p: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECFieldFp;
Method or attribute name: p: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: DSACommonParamsSpec;
Method or attribute name: q: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: DSACommonParamsSpec;
Method or attribute name: g: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: DSAPubKeySpec;
Method or attribute name: params: DSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: DSAKeyPairSpec;
Method or attribute name: params: DSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: DSAPubKeySpec;
Method or attribute name: pk: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: DSAKeyPairSpec;
Method or attribute name: pk: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: RSAPubKeySpec;
Method or attribute name: pk: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: RSAKeyPairSpec;
Method or attribute name: pk: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: DSAKeyPairSpec;
Method or attribute name: sk: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCPriKeySpec;
Method or attribute name: sk: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCKeyPairSpec;
Method or attribute name: sk: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: RSAKeyPairSpec;
Method or attribute name: sk: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECField;
Method or attribute name: fieldType: string;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: Point;
Method or attribute name: x: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: Point;
Method or attribute name: y: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCCommonParamsSpec;
Method or attribute name: field: ECField;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCCommonParamsSpec;
Method or attribute name: a: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCCommonParamsSpec;
Method or attribute name: b: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCCommonParamsSpec;
Method or attribute name: g: Point;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCCommonParamsSpec;
Method or attribute name: n: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: RSACommonParamsSpec;
Method or attribute name: n: bigint;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCCommonParamsSpec;
Method or attribute name: h: number;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCPriKeySpec;
Method or attribute name: params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCPubKeySpec;
Method or attribute name: params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCKeyPairSpec;
Method or attribute name: params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCPubKeySpec;
Method or attribute name: pk: Point;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: ECCKeyPairSpec;
Method or attribute name: pk: Point;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: RSAPubKeySpec;
Method or attribute name: params: RSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: RSAKeyPairSpec;
Method or attribute name: params: RSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePriKey(callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePriKey(): Promise\;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePubKey(callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts| +|Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePubKey(): Promise\;|@ohos.security.cryptoFramework.d.ts| +|Deprecated version changed|Class name: X509Cert;
Method or attribute name: getSerialNumber(): number;
Old version information: |Class name: X509Cert;
Method or attribute name: getSerialNumber(): number;
New version information: 10
Substitute API: ohos.security.cert.X509Cert.getCertSerialNumber|@ohos.security.cert.d.ts| +|Error code added|Class name: Key;
Method or attribute name: getEncoded(): DataBlob;
Old version information: |Class name: Key;
Method or attribute name: getEncoded(): DataBlob;
New version information: 801,17620001,17630001|@ohos.security.cryptoFramework.d.ts| +|Error code changed|Class name: cryptoFramework;
Method or attribute name: function createAsyKeyGenerator(algName: string): AsyKeyGenerator;
Old version information: 401|Class name: cryptoFramework;
Method or attribute name: function createAsyKeyGenerator(algName: string): AsyKeyGenerator;
New version information: 401,801,17620001|@ohos.security.cryptoFramework.d.ts| +|Error code changed|Class name: cryptoFramework;
Method or attribute name: function createCipher(transformation: string): Cipher;
Old version information: 401,801|Class name: cryptoFramework;
Method or attribute name: function createCipher(transformation: string): Cipher;
New version information: 401,801,17620001|@ohos.security.cryptoFramework.d.ts| +|Error code changed|Class name: cryptoFramework;
Method or attribute name: function createSign(algName: string): Sign;
Old version information: 401|Class name: cryptoFramework;
Method or attribute name: function createSign(algName: string): Sign;
New version information: 401,801,17620001|@ohos.security.cryptoFramework.d.ts| +|Error code changed|Class name: cryptoFramework;
Method or attribute name: function createVerify(algName: string): Verify;
Old version information: 401|Class name: cryptoFramework;
Method or attribute name: function createVerify(algName: string): Verify;
New version information: 401,801,17620001|@ohos.security.cryptoFramework.d.ts| +|Error code changed|Class name: cryptoFramework;
Method or attribute name: function createKeyAgreement(algName: string): KeyAgreement;
Old version information: 401|Class name: cryptoFramework;
Method or attribute name: function createKeyAgreement(algName: string): KeyAgreement;
New version information: 401,801,17620001|@ohos.security.cryptoFramework.d.ts| +|Error code changed|Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(callback: AsyncCallback\): void;
Old version information: 401,17620001|Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(callback: AsyncCallback\): void;
New version information: 401,17620001,17630001|@ohos.security.cryptoFramework.d.ts| +|Error code changed|Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(): Promise\;
Old version information: 401,17620001|Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(): Promise\;
New version information: 401,17620001,17630001|@ohos.security.cryptoFramework.d.ts| +|Error code changed|Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback\): void;
Old version information: 401,17620001|Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback\): void;
New version information: 401,17620001,17630001|@ohos.security.cryptoFramework.d.ts| +|Error code changed|Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob, priKey: DataBlob): Promise\;
Old version information: 401,17620001|Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob, priKey: DataBlob): Promise\;
New version information: 401,17620001,17630001|@ohos.security.cryptoFramework.d.ts| +|Type changed|Class name: PermissionUsedRequest;
Method or attribute name: tokenId?: number;
Old version information: number|Class name: PermissionUsedRequest;
Method or attribute name: tokenId?: number;
New version information: ?number|@ohos.privacyManager.d.ts| +|Type changed|Class name: PermissionUsedRequest;
Method or attribute name: isRemote?: boolean;
Old version information: boolean|Class name: PermissionUsedRequest;
Method or attribute name: isRemote?: boolean;
New version information: ?boolean|@ohos.privacyManager.d.ts| +|Type changed|Class name: PermissionUsedRequest;
Method or attribute name: deviceId?: string;
Old version information: string|Class name: PermissionUsedRequest;
Method or attribute name: deviceId?: string;
New version information: ?string|@ohos.privacyManager.d.ts| +|Type changed|Class name: PermissionUsedRequest;
Method or attribute name: bundleName?: string;
Old version information: string|Class name: PermissionUsedRequest;
Method or attribute name: bundleName?: string;
New version information: ?string|@ohos.privacyManager.d.ts| +|Type changed|Class name: PermissionUsedRequest;
Method or attribute name: permissionNames?: Array\;
Old version information: Array\|Class name: PermissionUsedRequest;
Method or attribute name: permissionNames?: Array\;
New version information: ?Array\|@ohos.privacyManager.d.ts| +|Type changed|Class name: PermissionUsedRequest;
Method or attribute name: beginTime?: number;
Old version information: number|Class name: PermissionUsedRequest;
Method or attribute name: beginTime?: number;
New version information: ?number|@ohos.privacyManager.d.ts| +|Type changed|Class name: PermissionUsedRequest;
Method or attribute name: endTime?: number;
Old version information: number|Class name: PermissionUsedRequest;
Method or attribute name: endTime?: number;
New version information: ?number|@ohos.privacyManager.d.ts| +|Function changed|Class name: PermissionUsedRequest;
Method or attribute name: tokenId: number;|Class name: PermissionUsedRequest;
Method or attribute name: tokenId?: number;|@ohos.privacyManager.d.ts| +|Function changed|Class name: PermissionUsedRequest;
Method or attribute name: isRemote: boolean;|Class name: PermissionUsedRequest;
Method or attribute name: isRemote?: boolean;|@ohos.privacyManager.d.ts| +|Function changed|Class name: PermissionUsedRequest;
Method or attribute name: deviceId: string;|Class name: PermissionUsedRequest;
Method or attribute name: deviceId?: string;|@ohos.privacyManager.d.ts| +|Function changed|Class name: PermissionUsedRequest;
Method or attribute name: bundleName: string;|Class name: PermissionUsedRequest;
Method or attribute name: bundleName?: string;|@ohos.privacyManager.d.ts| +|Function changed|Class name: PermissionUsedRequest;
Method or attribute name: permissionNames: Array\;|Class name: PermissionUsedRequest;
Method or attribute name: permissionNames?: Array\;|@ohos.privacyManager.d.ts| +|Function changed|Class name: PermissionUsedRequest;
Method or attribute name: beginTime: number;|Class name: PermissionUsedRequest;
Method or attribute name: beginTime?: number;|@ohos.privacyManager.d.ts| +|Function changed|Class name: PermissionUsedRequest;
Method or attribute name: endTime: number;|Class name: PermissionUsedRequest;
Method or attribute name: endTime?: number;|@ohos.privacyManager.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-sensor.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-sensor.md new file mode 100644 index 0000000000000000000000000000000000000000..94d136bca75fd0074f48e35dd9480869462fba5d --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-sensor.md @@ -0,0 +1,30 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.COLOR, callback: Callback\, options?: Options): void;|@ohos.sensor.d.ts| +|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.SAR, callback: Callback\, options?: Options): void;|@ohos.sensor.d.ts| +|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.COLOR, callback?: Callback\): void;|@ohos.sensor.d.ts| +|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.SAR, callback?: Callback\): void;|@ohos.sensor.d.ts| +|Added|NA|Class name: SensorId;
Method or attribute name: COLOR = 14|@ohos.sensor.d.ts| +|Added|NA|Class name: SensorId;
Method or attribute name: SAR = 15|@ohos.sensor.d.ts| +|Added|NA|Class name: ColorResponse;
Method or attribute name: lightIntensity: number;|@ohos.sensor.d.ts| +|Added|NA|Class name: ColorResponse;
Method or attribute name: colorTemperature: number;|@ohos.sensor.d.ts| +|Added|NA|Class name: SarResponse;
Method or attribute name: absorptionRatio: number;|@ohos.sensor.d.ts| +|Added|NA|Class name: VibrateFromFile;
Method or attribute name: type: 'file';|@ohos.vibrator.d.ts| +|Added|NA|Class name: VibrateFromFile;
Method or attribute name: hapticFd: HapticFileDescriptor;|@ohos.vibrator.d.ts| +|Added|NA|Class name: HapticFileDescriptor;
Method or attribute name: fd: number;|@ohos.vibrator.d.ts| +|Added|NA|Class name: HapticFileDescriptor;
Method or attribute name: offset?: number;|@ohos.vibrator.d.ts| +|Added|NA|Class name: HapticFileDescriptor;
Method or attribute name: length?: number;|@ohos.vibrator.d.ts| +|Deprecated version changed|Class name: vibrator;
Method or attribute name: function vibrate(duration: number): Promise\;
Old version information: |Class name: vibrator;
Method or attribute name: function vibrate(duration: number): Promise\;
New version information: 9
Substitute API: vibrator#startVibration|@ohos.vibrator.d.ts| +|Deprecated version changed|Class name: vibrator;
Method or attribute name: function vibrate(effectId: EffectId, callback?: AsyncCallback\): void;
Old version information: |Class name: vibrator;
Method or attribute name: function vibrate(effectId: EffectId, callback?: AsyncCallback\): void;
New version information: 9
Substitute API: vibrator#startVibration|@ohos.vibrator.d.ts| +|Deprecated version changed|Class name: vibrator;
Method or attribute name: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\): void;
Old version information: |Class name: vibrator;
Method or attribute name: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\): void;
New version information: 9
Substitute API: vibrator#stopVibration|@ohos.vibrator.d.ts| +|Error code changed|Class name: vibrator;
Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback\): void;
Old version information: 201,401,14600101|Class name: vibrator;
Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback\): void;
New version information: 201,401,801,14600101|@ohos.vibrator.d.ts| +|Error code changed|Class name: vibrator;
Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise\;
Old version information: 201,401,14600101|Class name: vibrator;
Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise\;
New version information: 201,401,801,14600101|@ohos.vibrator.d.ts| +|Permission changed|Class name: vibrator;
Method or attribute name: function vibrate(duration: number): Promise\;
Old version information: |Class name: vibrator;
Method or attribute name: function vibrate(duration: number): Promise\;
New version information: ohos.permission.VIBRATE|@ohos.vibrator.d.ts| +|Permission changed|Class name: vibrator;
Method or attribute name: function vibrate(effectId: EffectId, callback?: AsyncCallback\): void;
Old version information: |Class name: vibrator;
Method or attribute name: function vibrate(effectId: EffectId, callback?: AsyncCallback\): void;
New version information: ohos.permission.VIBRATE|@ohos.vibrator.d.ts| +|Permission changed|Class name: vibrator;
Method or attribute name: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\): void;
Old version information: |Class name: vibrator;
Method or attribute name: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\): void;
New version information: ohos.permission.VIBRATE|@ohos.vibrator.d.ts| +|Permission changed|Class name: VibrateOptions;
Method or attribute name: mode?: 'long' \| 'short';
Old version information: |Class name: VibrateOptions;
Method or attribute name: mode?: 'long' \| 'short';
New version information: ohos.permission.VIBRATE|@system.vibrator.d.ts| +|Permission changed|Class name: VibrateOptions;
Method or attribute name: success: () => void;
Old version information: |Class name: VibrateOptions;
Method or attribute name: success: () => void;
New version information: ohos.permission.VIBRATE|@system.vibrator.d.ts| +|Permission changed|Class name: VibrateOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information: |Class name: VibrateOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: ohos.permission.VIBRATE|@system.vibrator.d.ts| +|Permission changed|Class name: VibrateOptions;
Method or attribute name: complete?: () => void;
Old version information: |Class name: VibrateOptions;
Method or attribute name: complete?: () => void;
New version information: ohos.permission.VIBRATE|@system.vibrator.d.ts| +|Type changed|Class name: vibrator;
Method or attribute name: type VibrateEffect = VibrateTime \| VibratePreset \| VibrateFromFile;
Old version information: |Class name: vibrator;
Method or attribute name: type VibrateEffect = VibrateTime \| VibratePreset \| VibrateFromFile;
New version information: VibrateTime \| VibratePreset \| VibrateFromFile|@ohos.vibrator.d.ts| +|Function changed|Class name: vibrator;
Method or attribute name: type VibrateEffect = VibrateTime \| VibratePreset;|Class name: vibrator;
Method or attribute name: type VibrateEffect = VibrateTime \| VibratePreset \| VibrateFromFile;|@ohos.vibrator.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-start-up.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-start-up.md new file mode 100644 index 0000000000000000000000000000000000000000..e7a33b2ead237909851efcea8196189e03b00eff --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-start-up.md @@ -0,0 +1,34 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Deprecated version changed|Class name: systemParameter;
Method or attribute name: function getSync(key: string, def?: string): string;
Old version information: |Class name: systemParameter;
Method or attribute name: function getSync(key: string, def?: string): string;
New version information: 9
Substitute API: |@ohos.systemparameter.d.ts| +|Deprecated version changed|Class name: systemParameter;
Method or attribute name: function get(key: string, callback: AsyncCallback\): void;
Old version information: |Class name: systemParameter;
Method or attribute name: function get(key: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.systemparameter.d.ts| +|Deprecated version changed|Class name: systemParameter;
Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\): void;
Old version information: |Class name: systemParameter;
Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.systemparameter.d.ts| +|Deprecated version changed|Class name: systemParameter;
Method or attribute name: function get(key: string, def?: string): Promise\;
Old version information: |Class name: systemParameter;
Method or attribute name: function get(key: string, def?: string): Promise\;
New version information: 9
Substitute API: |@ohos.systemparameter.d.ts| +|Deprecated version changed|Class name: systemParameter;
Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\): void;
Old version information: |Class name: systemParameter;
Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.systemparameter.d.ts| +|Deprecated version changed|Class name: systemParameter;
Method or attribute name: function set(key: string, value: string): Promise\;
Old version information: |Class name: systemParameter;
Method or attribute name: function set(key: string, value: string): Promise\;
New version information: 9
Substitute API: |@ohos.systemparameter.d.ts| +|Access level changed|Class name: systemParameter;
Method or attribute name: function getSync(key: string, def?: string): string;
Old version information: |Class name: systemParameter;
Method or attribute name: function getSync(key: string, def?: string): string;
New version information: systemapi|@ohos.systemparameter.d.ts| +|Access level changed|Class name: systemParameter;
Method or attribute name: function get(key: string, callback: AsyncCallback\): void;
Old version information: |Class name: systemParameter;
Method or attribute name: function get(key: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.systemparameter.d.ts| +|Access level changed|Class name: systemParameter;
Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\): void;
Old version information: |Class name: systemParameter;
Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.systemparameter.d.ts| +|Access level changed|Class name: systemParameter;
Method or attribute name: function get(key: string, def?: string): Promise\;
Old version information: |Class name: systemParameter;
Method or attribute name: function get(key: string, def?: string): Promise\;
New version information: systemapi|@ohos.systemparameter.d.ts| +|Access level changed|Class name: systemParameter;
Method or attribute name: function setSync(key: string, value: string): void;
Old version information: |Class name: systemParameter;
Method or attribute name: function setSync(key: string, value: string): void;
New version information: systemapi|@ohos.systemparameter.d.ts| +|Access level changed|Class name: systemParameter;
Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\): void;
Old version information: |Class name: systemParameter;
Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.systemparameter.d.ts| +|Access level changed|Class name: systemParameter;
Method or attribute name: function set(key: string, value: string): Promise\;
Old version information: |Class name: systemParameter;
Method or attribute name: function set(key: string, value: string): Promise\;
New version information: systemapi|@ohos.systemparameter.d.ts| +|Access level changed|Class name: systemParameterEnhance;
Method or attribute name: function getSync(key: string, def?: string): string;
Old version information: |Class name: systemParameterEnhance;
Method or attribute name: function getSync(key: string, def?: string): string;
New version information: systemapi|@ohos.systemParameterEnhance.d.ts| +|Access level changed|Class name: systemParameterEnhance;
Method or attribute name: function get(key: string, callback: AsyncCallback\): void;
Old version information: |Class name: systemParameterEnhance;
Method or attribute name: function get(key: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.systemParameterEnhance.d.ts| +|Access level changed|Class name: systemParameterEnhance;
Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\): void;
Old version information: |Class name: systemParameterEnhance;
Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.systemParameterEnhance.d.ts| +|Access level changed|Class name: systemParameterEnhance;
Method or attribute name: function get(key: string, def?: string): Promise\;
Old version information: |Class name: systemParameterEnhance;
Method or attribute name: function get(key: string, def?: string): Promise\;
New version information: systemapi|@ohos.systemParameterEnhance.d.ts| +|Access level changed|Class name: systemParameterEnhance;
Method or attribute name: function setSync(key: string, value: string): void;
Old version information: |Class name: systemParameterEnhance;
Method or attribute name: function setSync(key: string, value: string): void;
New version information: systemapi|@ohos.systemParameterEnhance.d.ts| +|Access level changed|Class name: systemParameterEnhance;
Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\): void;
Old version information: |Class name: systemParameterEnhance;
Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.systemParameterEnhance.d.ts| +|Access level changed|Class name: systemParameterEnhance;
Method or attribute name: function set(key: string, value: string): Promise\;
Old version information: |Class name: systemParameterEnhance;
Method or attribute name: function set(key: string, value: string): Promise\;
New version information: systemapi|@ohos.systemParameterEnhance.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: brand: string;
Old version information: |Class name: DeviceResponse;
Method or attribute name: brand: string;
New version information: string|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: manufacturer: string;
Old version information: |Class name: DeviceResponse;
Method or attribute name: manufacturer: string;
New version information: string|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: model: string;
Old version information: |Class name: DeviceResponse;
Method or attribute name: model: string;
New version information: string|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: product: string;
Old version information: |Class name: DeviceResponse;
Method or attribute name: product: string;
New version information: string|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: language: string;
Old version information: |Class name: DeviceResponse;
Method or attribute name: language: string;
New version information: string|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: region: string;
Old version information: |Class name: DeviceResponse;
Method or attribute name: region: string;
New version information: string|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: windowWidth: number;
Old version information: |Class name: DeviceResponse;
Method or attribute name: windowWidth: number;
New version information: number|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: windowHeight: number;
Old version information: |Class name: DeviceResponse;
Method or attribute name: windowHeight: number;
New version information: number|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: screenDensity: number;
Old version information: |Class name: DeviceResponse;
Method or attribute name: screenDensity: number;
New version information: number|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: screenShape: 'rect' \| 'circle';
Old version information: |Class name: DeviceResponse;
Method or attribute name: screenShape: 'rect' \| 'circle';
New version information: 'rect' \| 'circle'|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: apiVersion: number;
Old version information: |Class name: DeviceResponse;
Method or attribute name: apiVersion: number;
New version information: number|@system.device.d.ts| +|Type changed|Class name: DeviceResponse;
Method or attribute name: deviceType: string;
Old version information: |Class name: DeviceResponse;
Method or attribute name: deviceType: string;
New version information: string|@system.device.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-telephony.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-telephony.md new file mode 100644 index 0000000000000000000000000000000000000000..f601e2ee94618d8dd58d01ef92bd5685325da17f --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-telephony.md @@ -0,0 +1,1254 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Deleted|Class name: AudioDevice;
Method or attribute name: DEVICE_EARPIECE|NA|@ohos.telephony.call.d.ts| +|Deleted|Class name: AudioDevice;
Method or attribute name: DEVICE_SPEAKER|NA|@ohos.telephony.call.d.ts| +|Deleted|Class name: AudioDevice;
Method or attribute name: DEVICE_WIRED_HEADSET|NA|@ohos.telephony.call.d.ts| +|Deleted|Class name: AudioDevice;
Method or attribute name: DEVICE_BLUETOOTH_SCO|NA|@ohos.telephony.call.d.ts| +|Deleted|Class name: AudioDevice;
Method or attribute name: DEVICE_MIC|NA|@ohos.telephony.call.d.ts| +|Deleted|Class name: AudioDeviceOptions;
Method or attribute name: bluetoothAddress?: string;|NA|@ohos.telephony.call.d.ts| +|Added|NA|Class name: NROptionMode;
Method or attribute name: NR_OPTION_UNKNOWN|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: NROptionMode;
Method or attribute name: NR_OPTION_NSA_ONLY|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: NROptionMode;
Method or attribute name: NR_OPTION_SA_ONLY|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: NROptionMode;
Method or attribute name: NR_OPTION_NSA_AND_SA|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: call;
Method or attribute name: function setCallRestrictionPassword(slotId: number, oldPassword: string, newPassword: string, callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: call;
Method or attribute name: function setCallRestrictionPassword(slotId: number, oldPassword: string, newPassword: string): Promise\;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: call;
Method or attribute name: function kickOutFromConference(callId: number, callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: call;
Method or attribute name: function kickOutFromConference(callId: number): Promise\;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: call;
Method or attribute name: function removeMissedIncomingCallNotification(callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: call;
Method or attribute name: function removeMissedIncomingCallNotification(): Promise\;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: VoNRState;
Method or attribute name: VONR_STATE_OFF = 0|@ohos.telephony.call.d.ts| +|Added|NA|Class name: AudioDevice;
Method or attribute name: deviceType: AudioDeviceType;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: AudioDevice;
Method or attribute name: address?: string;|@ohos.telephony.call.d.ts| +|Added|NA|Class name: data;
Method or attribute name: function getDefaultCellularDataSimId(): number;|@ohos.telephony.data.d.ts| +|Added|NA|Class name: observer;
Method or attribute name: function on(type: 'iccAccountInfoChange', callback: Callback\): void;|@ohos.telephony.observer.d.ts| +|Added|NA|Class name: observer;
Method or attribute name: function off(type: 'iccAccountInfoChange', callback?: Callback\): void;|@ohos.telephony.observer.d.ts| +|Added|NA|Class name: radio;
Method or attribute name: function setNROptionMode(slotId: number, mode: NROptionMode, callback: AsyncCallback\): void;|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: radio;
Method or attribute name: function setNROptionMode(slotId: number, mode: NROptionMode): Promise\;|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: radio;
Method or attribute name: function getNROptionMode(slotId: number, callback: AsyncCallback\): void;|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: radio;
Method or attribute name: function getNROptionMode(slotId: number): Promise\;|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: radio;
Method or attribute name: function setNetworkCapability(slotId: number, type: NetworkCapabilityType, state: NetworkCapabilityState,
callback: AsyncCallback\): void;|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: radio;
Method or attribute name: function setNetworkCapability(slotId: number, type: NetworkCapabilityType, state: NetworkCapabilityState): Promise\;|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: radio;
Method or attribute name: function getNetworkCapability(slotId: number, type: NetworkCapabilityType,
callback: AsyncCallback\): void;|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: radio;
Method or attribute name: function getNetworkCapability(slotId: number, type: NetworkCapabilityType): Promise\;|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: NetworkCapabilityType;
Method or attribute name: SERVICE_TYPE_LTE|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: NetworkCapabilityType;
Method or attribute name: SERVICE_TYPE_NR|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: NetworkCapabilityState;
Method or attribute name: SERVICE_CAPABILITY_OFF|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: NetworkCapabilityState;
Method or attribute name: SERVICE_CAPABILITY_ON|@ohos.telephony.radio.d.ts| +|Added|NA|Class name: sim;
Method or attribute name: function getDefaultVoiceSimId(callback: AsyncCallback\): void;|@ohos.telephony.sim.d.ts| +|Added|NA|Class name: sim;
Method or attribute name: function getDefaultVoiceSimId(): Promise\;|@ohos.telephony.sim.d.ts| +|Added|NA|Class name: sms;
Method or attribute name: function sendShortMessage(options: SendMessageOptions, callback: AsyncCallback\): void;|@ohos.telephony.sms.d.ts| +|Added|NA|Class name: sms;
Method or attribute name: function sendShortMessage(options: SendMessageOptions): Promise\;|@ohos.telephony.sms.d.ts| +|Added|NA|Class name: sms;
Method or attribute name: function getDefaultSmsSimId(callback: AsyncCallback\): void;|@ohos.telephony.sms.d.ts| +|Added|NA|Class name: sms;
Method or attribute name: function getDefaultSmsSimId(): Promise\;|@ohos.telephony.sms.d.ts| +|Deprecated version changed|Class name: call;
Method or attribute name: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\): void;
Old version information: |Class name: call;
Method or attribute name: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\): void;
New version information: 9
Substitute API: telephony.call#dialCall|@ohos.telephony.call.d.ts| +|Deprecated version changed|Class name: call;
Method or attribute name: function dial(phoneNumber: string, options?: DialOptions): Promise\;
Old version information: |Class name: call;
Method or attribute name: function dial(phoneNumber: string, options?: DialOptions): Promise\;
New version information: 9
Substitute API: telephony.call#dialCall|@ohos.telephony.call.d.ts| +|Deprecated version changed|Class name: radio;
Method or attribute name: function getNrOptionMode(callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(callback: AsyncCallback\): void;
New version information: 10
Substitute API: telephony.radio#getNROptionMode|@ohos.telephony.radio.d.ts| +|Deprecated version changed|Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback\): void;
New version information: 10
Substitute API: telephony.radio#getNROptionMode|@ohos.telephony.radio.d.ts| +|Deprecated version changed|Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise\;
New version information: 10
Substitute API: telephony.radio#getNROptionMode|@ohos.telephony.radio.d.ts| +|Deprecated version changed|Class name: NrOptionMode;
Method or attribute name: export enum NrOptionMode
Old version information: |Class name: NrOptionMode;
Method or attribute name: export enum NrOptionMode
New version information: 10
Substitute API: telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts| +|Deprecated version changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_UNKNOWN
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_UNKNOWN
New version information: 10
Substitute API: telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts| +|Deprecated version changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_ONLY
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_ONLY
New version information: 10
Substitute API: telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts| +|Deprecated version changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_SA_ONLY
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_SA_ONLY
New version information: 10
Substitute API: telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts| +|Deprecated version changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_AND_SA
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_AND_SA
New version information: 10
Substitute API: telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts| +|Deprecated version changed|Class name: sms;
Method or attribute name: function sendMessage(options: SendMessageOptions): void;
Old version information: |Class name: sms;
Method or attribute name: function sendMessage(options: SendMessageOptions): void;
New version information: 10
Substitute API: telephony.sms#sendShortMessage|@ohos.telephony.sms.d.ts| +|Error code added|Class name: call;
Method or attribute name: function muteRinger(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function muteRinger(): Promise\;
New version information: 201,202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback\): void;
Old version information: |Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback\): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback\): void;
Old version information: |Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback\): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise\;
Old version information: |Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise\;
Old version information: |Class name: call;
Method or attribute name: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function holdCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function holdCall(callId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function switchCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function switchCall(callId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function combineConference(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function combineConference(callId: number): Promise\;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function getMainCallId(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getMainCallId(callId: number): Promise\;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function getSubCallIdList(callId: number): Promise\>;
Old version information: |Class name: call;
Method or attribute name: function getSubCallIdList(callId: number): Promise\>;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number): Promise\>;
Old version information: |Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number): Promise\>;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string): Promise\;
Old version information: |Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string): Promise\;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function stopDTMF(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function stopDTMF(callId: number): Promise\;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function isInEmergencyCall(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isInEmergencyCall(): Promise\;
New version information: 201,202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function isNewCallAllowed(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isNewCallAllowed(): Promise\;
New version information: 202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function separateConference(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function separateConference(callId: number): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function isRinging(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isRinging(): Promise\;
New version information: 201,202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function setMuted(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setMuted(): Promise\;
New version information: 202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function cancelMuted(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function cancelMuted(): Promise\;
New version information: 202,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array\): Promise\;
Old version information: |Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array\): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\;
Old version information: |Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code added|Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301001|@ohos.telephony.data.d.ts| +|Error code added|Class name: data;
Method or attribute name: function isCellularDataEnabled(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function isCellularDataEnabled(): Promise\;
New version information: 201,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|Error code added|Class name: data;
Method or attribute name: function enableCellularData(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function enableCellularData(): Promise\;
New version information: 201,202,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|Error code added|Class name: data;
Method or attribute name: function disableCellularData(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function disableCellularData(): Promise\;
New version information: 201,202,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|Error code added|Class name: data;
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number): Promise\;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|Error code added|Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|Error code added|Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|Error code added|Class name: observer;
Method or attribute name: function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\): void;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|Error code added|Class name: observer;
Method or attribute name: function on(type: 'signalInfoChange', options: { slotId: number }, callback: Callback\>): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'signalInfoChange', options: { slotId: number }, callback: Callback\>): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|Error code added|Class name: observer;
Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\>): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\>): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|Error code added|Class name: observer;
Method or attribute name: function on(type: 'cellularDataConnectionStateChange', options: { slotId: number },
callback: Callback\<{ state: DataConnectState, network: RatType }>): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'cellularDataConnectionStateChange', options: { slotId: number },
callback: Callback\<{ state: DataConnectState, network: RatType }>): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|Error code added|Class name: observer;
Method or attribute name: function on(type: 'cellularDataFlowChange', options: { slotId: number }, callback: Callback\): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'cellularDataFlowChange', options: { slotId: number }, callback: Callback\): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|Error code added|Class name: observer;
Method or attribute name: function on(type: 'callStateChange', options: { slotId: number }, callback: Callback\<{ state: CallState, number: string }>): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'callStateChange', options: { slotId: number }, callback: Callback\<{ state: CallState, number: string }>): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|Error code added|Class name: observer;
Method or attribute name: function on(type: 'simStateChange', options: { slotId: number }, callback: Callback\): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'simStateChange', options: { slotId: number }, callback: Callback\): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
Old version information: |Class name: radio;
Method or attribute name: function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getNetworkState(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkState(slotId: number, callback: AsyncCallback\): void;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getNetworkState(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkState(slotId?: number): Promise\;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback\>): void;
Old version information: |Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback\>): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise\>;
Old version information: |Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise\>;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getNetworkSelectionMode(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkSelectionMode(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getISOCountryCodeForNetwork(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getISOCountryCodeForNetwork(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getIMEI(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getIMEI(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getMEID(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getMEID(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getPrimarySlotId(): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getPrimarySlotId(): Promise\;
New version information: 8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getSignalInformation(slotId: number): Promise\>;
Old version information: |Class name: radio;
Method or attribute name: function getSignalInformation(slotId: number): Promise\>;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function isRadioOn(slotId: number, callback: AsyncCallback\): void
Old version information: |Class name: radio;
Method or attribute name: function isRadioOn(slotId: number, callback: AsyncCallback\): void
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function isRadioOn(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function isRadioOn(slotId?: number): Promise\;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function turnOnRadio(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function turnOnRadio(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function turnOffRadio(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function turnOffRadio(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getOperatorName(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getOperatorName(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function hasOperatorPrivileges(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function hasOperatorPrivileges(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getISOCountryCodeForSim(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getISOCountryCodeForSim(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getSimOperatorNumeric(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimOperatorNumeric(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getSimSpn(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimSpn(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getSimState(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimState(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getCardType(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getCardType(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getSimIccId(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimIccId(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getSimGid1(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimGid1(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getIMSI(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getIMSI(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function hasSimCard(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function hasSimCard(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(): Promise\>;
Old version information: |Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(): Promise\>;
New version information: 8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301001|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function activateSim(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function activateSim(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function deactivateSim(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function deactivateSim(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getShowName(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getShowName(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getShowNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getShowNumber(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number): Promise\>;
Old version information: |Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number): Promise\>;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\>;
Old version information: |Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\>;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getOpKey(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getOpKey(slotId: number): Promise\;
New version information: 401,801,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sim;
Method or attribute name: function getOpName(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getOpName(slotId: number): Promise\;
New version information: 401,801,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function splitMessage(content: string): Promise\>;
Old version information: |Class name: sms;
Method or attribute name: function splitMessage(content: string): Promise\>;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function createMessage(pdu: Array\, specification: string): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function createMessage(pdu: Array\, specification: string): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number): Promise\>;
Old version information: |Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number): Promise\>;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function getImsShortMessageFormat(): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function getImsShortMessageFormat(): Promise\;
New version information: 202,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function decodeMms(mmsFilePathName: string \| Array\): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function decodeMms(mmsFilePathName: string \| Array\): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code added|Class name: sms;
Method or attribute name: function encodeMms(mms: MmsInformation): Promise\>;
Old version information: |Class name: sms;
Method or attribute name: function encodeMms(mms: MmsInformation): Promise\>;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function dialCall(phoneNumber: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function dialCall(phoneNumber: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300005,8300006,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300005,8300006,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function dialCall(phoneNumber: string, options?: DialCallOptions): Promise\;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function dialCall(phoneNumber: string, options?: DialCallOptions): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300005,8300006,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function muteRinger(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function muteRinger(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function answerCall(callId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function answerCall(callId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function answerCall(callId?: number): Promise\;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function answerCall(callId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function answerCall(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function answerCall(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function hangUpCall(callId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function hangUpCall(callId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function hangUpCall(callId?: number): Promise\;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function hangUpCall(callId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function hangUpCall(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function hangUpCall(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function rejectCall(callId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function rejectCall(callId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function rejectCall(callId: number, options: RejectMessageOptions, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function rejectCall(callId: number, options: RejectMessageOptions, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function rejectCall(callId?: number, options?: RejectMessageOptions): Promise\;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function rejectCall(callId?: number, options?: RejectMessageOptions): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function rejectCall(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function rejectCall(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function rejectCall(options: RejectMessageOptions, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function rejectCall(options: RejectMessageOptions, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function holdCall(callId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function holdCall(callId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function unHoldCall(callId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function unHoldCall(callId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function switchCall(callId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function switchCall(callId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function combineConference(callId: number, callback: AsyncCallback\): void;
Old version information: 401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function combineConference(callId: number, callback: AsyncCallback\): void;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function getMainCallId(callId: number, callback: AsyncCallback\): void;
Old version information: 401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function getMainCallId(callId: number, callback: AsyncCallback\): void;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function getSubCallIdList(callId: number, callback: AsyncCallback\>): void;
Old version information: 401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function getSubCallIdList(callId: number, callback: AsyncCallback\>): void;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number, callback: AsyncCallback\>): void;
Old version information: 401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number, callback: AsyncCallback\>): void;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean, callback: AsyncCallback\): void;
Old version information: 201,401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean, callback: AsyncCallback\): void;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string, callback: AsyncCallback\): void;
Old version information: 401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string, callback: AsyncCallback\): void;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function stopDTMF(callId: number, callback: AsyncCallback\): void;
Old version information: 401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function stopDTMF(callId: number, callback: AsyncCallback\): void;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function isInEmergencyCall(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function isInEmergencyCall(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function on(type: 'callDetailsChange', callback: Callback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function on(type: 'callDetailsChange', callback: Callback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function on(type: 'callEventChange', callback: Callback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function on(type: 'callEventChange', callback: Callback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function on(type: 'callDisconnectedCause', callback: Callback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function on(type: 'callDisconnectedCause', callback: Callback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function on(type: 'mmiCodeResult', callback: Callback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function on(type: 'mmiCodeResult', callback: Callback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function off(type: 'callDetailsChange', callback?: Callback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function off(type: 'callDetailsChange', callback?: Callback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function off(type: 'callEventChange', callback?: Callback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function off(type: 'callEventChange', callback?: Callback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function off(type: 'callDisconnectedCause', callback?: Callback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function off(type: 'callDisconnectedCause', callback?: Callback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function off(type: 'mmiCodeResult', callback?: Callback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function off(type: 'mmiCodeResult', callback?: Callback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function isNewCallAllowed(callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function isNewCallAllowed(callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function separateConference(callId: number, callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function separateConference(callId: number, callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallback\): void;
Old version information: 201,401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallback\): void;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo, callback: AsyncCallback\): void;
Old version information: 201,401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo, callback: AsyncCallback\): void;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType, callback: AsyncCallback\): void;
Old version information: 201,401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType, callback: AsyncCallback\): void;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo, callback: AsyncCallback\): void;
Old version information: 201,401,801,8300001,8300002,8300003|Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo, callback: AsyncCallback\): void;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function isRinging(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function isRinging(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function setMuted(callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function setMuted(callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function cancelMuted(callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function cancelMuted(callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice, callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array\, callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array\, callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode, callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode, callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number, callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number, callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function inputDialerSpecialCode(inputCode: string, callback: AsyncCallback\): void;
Old version information: 201,202,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function inputDialerSpecialCode(inputCode: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: call;
Method or attribute name: function inputDialerSpecialCode(inputCode: string): Promise\;
Old version information: 201,202,401,8300001,8300002,8300003,8300999|Class name: call;
Method or attribute name: function inputDialerSpecialCode(inputCode: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003|@ohos.telephony.call.d.ts| +|Error code changed|Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301001|Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301001|@ohos.telephony.data.d.ts| +|Error code changed|Class name: data;
Method or attribute name: function enableCellularData(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: data;
Method or attribute name: function enableCellularData(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|Error code changed|Class name: data;
Method or attribute name: function disableCellularData(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: data;
Method or attribute name: function disableCellularData(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|Error code changed|Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|Error code changed|Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts| +|Error code changed|Class name: observer;
Method or attribute name: function on(type: 'cellInfoChange', callback: Callback\>): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: observer;
Method or attribute name: function on(type: 'cellInfoChange', callback: Callback\>): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|Error code changed|Class name: observer;
Method or attribute name: function off(type: 'cellInfoChange', callback?: Callback\>): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: observer;
Method or attribute name: function off(type: 'cellInfoChange', callback?: Callback\>): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise\;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getCellInformation(callback: AsyncCallback\>): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getCellInformation(callback: AsyncCallback\>): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getNrOptionMode(callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getNrOptionMode(callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getIMEI(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getIMEI(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getMEID(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getMEID(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getUniqueDeviceId(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getUniqueDeviceId(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getPrimarySlotId(callback: AsyncCallback\): void;
Old version information: 8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getPrimarySlotId(callback: AsyncCallback\): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function turnOnRadio(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function turnOnRadio(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function turnOffRadio(callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function turnOffRadio(callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function on(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback: Callback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function on(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback: Callback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function off(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback?: Callback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function off(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback?: Callback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getBasebandVersion(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getBasebandVersion(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: radio;
Method or attribute name: function getBasebandVersion(slotId: number): Promise\;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: radio;
Method or attribute name: function getBasebandVersion(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getSimIccId(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function getSimIccId(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getSimGid1(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function getSimGid1(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getIMSI(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function getIMSI(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number, callback: AsyncCallback\): void;
New version information: 401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(callback: AsyncCallback\>): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(callback: AsyncCallback\>): void;
New version information: 401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301001|Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301001|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function activateSim(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function activateSim(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function deactivateSim(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function deactivateSim(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getShowName(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function getShowName(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getShowNumber(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function getShowNumber(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number, callback: AsyncCallback\>): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number, callback: AsyncCallback\>): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType, callback: AsyncCallback\>): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType, callback: AsyncCallback\>): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999,8301002|Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function splitMessage(content: string, callback: AsyncCallback\>): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function splitMessage(content: string, callback: AsyncCallback\>): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300004,8300999|Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number, callback: AsyncCallback\>): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number, callback: AsyncCallback\>): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions, callback: AsyncCallback\): void;
Old version information: 201,401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean, callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean, callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number, callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number, callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function getImsShortMessageFormat(callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function getImsShortMessageFormat(callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function decodeMms(mmsFilePathName: string \| Array\, callback: AsyncCallback\): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function decodeMms(mmsFilePathName: string \| Array\, callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Error code changed|Class name: sms;
Method or attribute name: function encodeMms(mms: MmsInformation, callback: AsyncCallback\>): void;
Old version information: 401,8300001,8300002,8300003,8300999|Class name: sms;
Method or attribute name: function encodeMms(mms: MmsInformation, callback: AsyncCallback\>): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function muteRinger(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function muteRinger(): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function holdCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function holdCall(callId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function switchCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function switchCall(callId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function combineConference(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function combineConference(callId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function getMainCallId(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getMainCallId(callId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function getSubCallIdList(callId: number): Promise\>;
Old version information: |Class name: call;
Method or attribute name: function getSubCallIdList(callId: number): Promise\>;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number): Promise\>;
Old version information: |Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number): Promise\>;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string): Promise\;
Old version information: |Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function stopDTMF(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function stopDTMF(callId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function isInEmergencyCall(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isInEmergencyCall(): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function isNewCallAllowed(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isNewCallAllowed(): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function separateConference(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function separateConference(callId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function isRinging(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isRinging(): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function setMuted(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setMuted(): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function cancelMuted(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function cancelMuted(): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array\): Promise\;
Old version information: |Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array\): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\;
Old version information: |Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: ImsCallMode;
Method or attribute name: CALL_MODE_AUDIO_ONLY = 0
Old version information: |Class name: ImsCallMode;
Method or attribute name: CALL_MODE_AUDIO_ONLY = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: ImsCallMode;
Method or attribute name: CALL_MODE_SEND_ONLY
Old version information: |Class name: ImsCallMode;
Method or attribute name: CALL_MODE_SEND_ONLY
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: ImsCallMode;
Method or attribute name: CALL_MODE_RECEIVE_ONLY
Old version information: |Class name: ImsCallMode;
Method or attribute name: CALL_MODE_RECEIVE_ONLY
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: ImsCallMode;
Method or attribute name: CALL_MODE_SEND_RECEIVE
Old version information: |Class name: ImsCallMode;
Method or attribute name: CALL_MODE_SEND_RECEIVE
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: ImsCallMode;
Method or attribute name: CALL_MODE_VIDEO_PAUSED
Old version information: |Class name: ImsCallMode;
Method or attribute name: CALL_MODE_VIDEO_PAUSED
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: VoNRState;
Method or attribute name: VONR_STATE_ON = 1
Old version information: |Class name: VoNRState;
Method or attribute name: VONR_STATE_ON = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: AudioDeviceType;
Method or attribute name: DEVICE_EARPIECE
Old version information: |Class name: AudioDeviceType;
Method or attribute name: DEVICE_EARPIECE
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: AudioDeviceType;
Method or attribute name: DEVICE_SPEAKER
Old version information: |Class name: AudioDeviceType;
Method or attribute name: DEVICE_SPEAKER
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: AudioDeviceType;
Method or attribute name: DEVICE_WIRED_HEADSET
Old version information: |Class name: AudioDeviceType;
Method or attribute name: DEVICE_WIRED_HEADSET
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: AudioDeviceType;
Method or attribute name: DEVICE_BLUETOOTH_SCO
Old version information: |Class name: AudioDeviceType;
Method or attribute name: DEVICE_BLUETOOTH_SCO
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: AudioDeviceInfo;
Method or attribute name: audioDeviceList: Array\;
Old version information: |Class name: AudioDeviceInfo;
Method or attribute name: audioDeviceList: Array\;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: AudioDeviceInfo;
Method or attribute name: currentAudioDevice: AudioDevice;
Old version information: |Class name: AudioDeviceInfo;
Method or attribute name: currentAudioDevice: AudioDevice;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: AudioDeviceInfo;
Method or attribute name: isMuted: boolean;
Old version information: |Class name: AudioDeviceInfo;
Method or attribute name: isMuted: boolean;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_ALL_INCOMING = 0
Old version information: |Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_ALL_INCOMING = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_ALL_OUTGOING
Old version information: |Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_ALL_OUTGOING
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_INTERNATIONAL
Old version information: |Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_INTERNATIONAL
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_INTERNATIONAL_EXCLUDING_HOME
Old version information: |Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_INTERNATIONAL_EXCLUDING_HOME
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_ROAMING_INCOMING
Old version information: |Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_ROAMING_INCOMING
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_ALL_CALLS
Old version information: |Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_ALL_CALLS
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_OUTGOING_SERVICES
Old version information: |Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_OUTGOING_SERVICES
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_INCOMING_SERVICES
Old version information: |Class name: CallRestrictionType;
Method or attribute name: RESTRICTION_TYPE_INCOMING_SERVICES
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferInfo;
Method or attribute name: transferNum: string;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: transferNum: string;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferInfo;
Method or attribute name: type: CallTransferType;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: type: CallTransferType;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferInfo;
Method or attribute name: settingType: CallTransferSettingType;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: settingType: CallTransferSettingType;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferInfo;
Method or attribute name: startHour?: number;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: startHour?: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferInfo;
Method or attribute name: startMinute?: number;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: startMinute?: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferInfo;
Method or attribute name: endHour?: number;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: endHour?: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferInfo;
Method or attribute name: endMinute?: number;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: endMinute?: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferType;
Method or attribute name: TRANSFER_TYPE_UNCONDITIONAL = 0
Old version information: |Class name: CallTransferType;
Method or attribute name: TRANSFER_TYPE_UNCONDITIONAL = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferType;
Method or attribute name: TRANSFER_TYPE_BUSY
Old version information: |Class name: CallTransferType;
Method or attribute name: TRANSFER_TYPE_BUSY
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferType;
Method or attribute name: TRANSFER_TYPE_NO_REPLY
Old version information: |Class name: CallTransferType;
Method or attribute name: TRANSFER_TYPE_NO_REPLY
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferType;
Method or attribute name: TRANSFER_TYPE_NOT_REACHABLE
Old version information: |Class name: CallTransferType;
Method or attribute name: TRANSFER_TYPE_NOT_REACHABLE
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferSettingType;
Method or attribute name: CALL_TRANSFER_DISABLE = 0
Old version information: |Class name: CallTransferSettingType;
Method or attribute name: CALL_TRANSFER_DISABLE = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferSettingType;
Method or attribute name: CALL_TRANSFER_ENABLE = 1
Old version information: |Class name: CallTransferSettingType;
Method or attribute name: CALL_TRANSFER_ENABLE = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferSettingType;
Method or attribute name: CALL_TRANSFER_REGISTRATION = 3
Old version information: |Class name: CallTransferSettingType;
Method or attribute name: CALL_TRANSFER_REGISTRATION = 3
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferSettingType;
Method or attribute name: CALL_TRANSFER_ERASURE = 4
Old version information: |Class name: CallTransferSettingType;
Method or attribute name: CALL_TRANSFER_ERASURE = 4
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAttributeOptions;
Method or attribute name: accountNumber: string;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: accountNumber: string;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAttributeOptions;
Method or attribute name: speakerphoneOn: boolean;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: speakerphoneOn: boolean;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAttributeOptions;
Method or attribute name: accountId: number;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: accountId: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAttributeOptions;
Method or attribute name: videoState: VideoStateType;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: videoState: VideoStateType;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAttributeOptions;
Method or attribute name: startTime: number;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: startTime: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAttributeOptions;
Method or attribute name: isEcc: boolean;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: isEcc: boolean;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAttributeOptions;
Method or attribute name: callType: CallType;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: callType: CallType;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAttributeOptions;
Method or attribute name: callId: number;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: callId: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAttributeOptions;
Method or attribute name: callState: DetailedCallState;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: callState: DetailedCallState;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAttributeOptions;
Method or attribute name: conferenceState: ConferenceState;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: conferenceState: ConferenceState;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: ConferenceState;
Method or attribute name: TEL_CONFERENCE_IDLE = 0
Old version information: |Class name: ConferenceState;
Method or attribute name: TEL_CONFERENCE_IDLE = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: ConferenceState;
Method or attribute name: TEL_CONFERENCE_ACTIVE
Old version information: |Class name: ConferenceState;
Method or attribute name: TEL_CONFERENCE_ACTIVE
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: ConferenceState;
Method or attribute name: TEL_CONFERENCE_DISCONNECTING
Old version information: |Class name: ConferenceState;
Method or attribute name: TEL_CONFERENCE_DISCONNECTING
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: ConferenceState;
Method or attribute name: TEL_CONFERENCE_DISCONNECTED
Old version information: |Class name: ConferenceState;
Method or attribute name: TEL_CONFERENCE_DISCONNECTED
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallType;
Method or attribute name: TYPE_CS = 0
Old version information: |Class name: CallType;
Method or attribute name: TYPE_CS = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallType;
Method or attribute name: TYPE_IMS = 1
Old version information: |Class name: CallType;
Method or attribute name: TYPE_IMS = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallType;
Method or attribute name: TYPE_OTT = 2
Old version information: |Class name: CallType;
Method or attribute name: TYPE_OTT = 2
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallType;
Method or attribute name: TYPE_ERR_CALL = 3
Old version information: |Class name: CallType;
Method or attribute name: TYPE_ERR_CALL = 3
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: VideoStateType;
Method or attribute name: TYPE_VOICE = 0
Old version information: |Class name: VideoStateType;
Method or attribute name: TYPE_VOICE = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: VideoStateType;
Method or attribute name: TYPE_VIDEO
Old version information: |Class name: VideoStateType;
Method or attribute name: TYPE_VIDEO
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_ACTIVE = 0
Old version information: |Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_ACTIVE = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_HOLDING
Old version information: |Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_HOLDING
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_DIALING
Old version information: |Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_DIALING
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_ALERTING
Old version information: |Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_ALERTING
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_INCOMING
Old version information: |Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_INCOMING
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_WAITING
Old version information: |Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_WAITING
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_DISCONNECTED
Old version information: |Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_DISCONNECTED
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_DISCONNECTING
Old version information: |Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_DISCONNECTING
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_IDLE
Old version information: |Class name: DetailedCallState;
Method or attribute name: CALL_STATUS_IDLE
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionInfo;
Method or attribute name: type: CallRestrictionType;
Old version information: |Class name: CallRestrictionInfo;
Method or attribute name: type: CallRestrictionType;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionInfo;
Method or attribute name: password: string;
Old version information: |Class name: CallRestrictionInfo;
Method or attribute name: password: string;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionInfo;
Method or attribute name: mode: CallRestrictionMode;
Old version information: |Class name: CallRestrictionInfo;
Method or attribute name: mode: CallRestrictionMode;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionMode;
Method or attribute name: RESTRICTION_MODE_DEACTIVATION = 0
Old version information: |Class name: CallRestrictionMode;
Method or attribute name: RESTRICTION_MODE_DEACTIVATION = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallRestrictionMode;
Method or attribute name: RESTRICTION_MODE_ACTIVATION
Old version information: |Class name: CallRestrictionMode;
Method or attribute name: RESTRICTION_MODE_ACTIVATION
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallEventOptions;
Method or attribute name: eventId: CallAbilityEventId,
Old version information: |Class name: CallEventOptions;
Method or attribute name: eventId: CallAbilityEventId,
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAbilityEventId;
Method or attribute name: EVENT_DIAL_NO_CARRIER = 1
Old version information: |Class name: CallAbilityEventId;
Method or attribute name: EVENT_DIAL_NO_CARRIER = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallAbilityEventId;
Method or attribute name: EVENT_INVALID_FDN_NUMBER
Old version information: |Class name: CallAbilityEventId;
Method or attribute name: EVENT_INVALID_FDN_NUMBER
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DialScene;
Method or attribute name: CALL_NORMAL = 0
Old version information: |Class name: DialScene;
Method or attribute name: CALL_NORMAL = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DialScene;
Method or attribute name: CALL_PRIVILEGED = 1
Old version information: |Class name: DialScene;
Method or attribute name: CALL_PRIVILEGED = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DialScene;
Method or attribute name: CALL_EMERGENCY = 2
Old version information: |Class name: DialScene;
Method or attribute name: CALL_EMERGENCY = 2
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DialType;
Method or attribute name: DIAL_CARRIER_TYPE = 0
Old version information: |Class name: DialType;
Method or attribute name: DIAL_CARRIER_TYPE = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DialType;
Method or attribute name: DIAL_VOICE_MAIL_TYPE = 1
Old version information: |Class name: DialType;
Method or attribute name: DIAL_VOICE_MAIL_TYPE = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DialType;
Method or attribute name: DIAL_OTT_TYPE = 2
Old version information: |Class name: DialType;
Method or attribute name: DIAL_OTT_TYPE = 2
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: RejectMessageOptions;
Method or attribute name: messageContent: string;
Old version information: |Class name: RejectMessageOptions;
Method or attribute name: messageContent: string;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferResult;
Method or attribute name: status: TransferStatus;
Old version information: |Class name: CallTransferResult;
Method or attribute name: status: TransferStatus;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferResult;
Method or attribute name: number: string;
Old version information: |Class name: CallTransferResult;
Method or attribute name: number: string;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferResult;
Method or attribute name: startHour: number;
Old version information: |Class name: CallTransferResult;
Method or attribute name: startHour: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferResult;
Method or attribute name: startMinute: number;
Old version information: |Class name: CallTransferResult;
Method or attribute name: startMinute: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferResult;
Method or attribute name: endHour: number;
Old version information: |Class name: CallTransferResult;
Method or attribute name: endHour: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallTransferResult;
Method or attribute name: endMinute: number;
Old version information: |Class name: CallTransferResult;
Method or attribute name: endMinute: number;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallWaitingStatus;
Method or attribute name: CALL_WAITING_DISABLE = 0
Old version information: |Class name: CallWaitingStatus;
Method or attribute name: CALL_WAITING_DISABLE = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: CallWaitingStatus;
Method or attribute name: CALL_WAITING_ENABLE = 1
Old version information: |Class name: CallWaitingStatus;
Method or attribute name: CALL_WAITING_ENABLE = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: RestrictionStatus;
Method or attribute name: RESTRICTION_DISABLE = 0
Old version information: |Class name: RestrictionStatus;
Method or attribute name: RESTRICTION_DISABLE = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: RestrictionStatus;
Method or attribute name: RESTRICTION_ENABLE = 1
Old version information: |Class name: RestrictionStatus;
Method or attribute name: RESTRICTION_ENABLE = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: TransferStatus;
Method or attribute name: TRANSFER_DISABLE = 0
Old version information: |Class name: TransferStatus;
Method or attribute name: TRANSFER_DISABLE = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: TransferStatus;
Method or attribute name: TRANSFER_ENABLE = 1
Old version information: |Class name: TransferStatus;
Method or attribute name: TRANSFER_ENABLE = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: MmiCodeResults;
Method or attribute name: result: MmiCodeResult;
Old version information: |Class name: MmiCodeResults;
Method or attribute name: result: MmiCodeResult;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: MmiCodeResults;
Method or attribute name: message: string;
Old version information: |Class name: MmiCodeResults;
Method or attribute name: message: string;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedDetails;
Method or attribute name: message: string;
Old version information: |Class name: DisconnectedDetails;
Method or attribute name: message: string;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: MmiCodeResult;
Method or attribute name: MMI_CODE_SUCCESS = 0
Old version information: |Class name: MmiCodeResult;
Method or attribute name: MMI_CODE_SUCCESS = 0
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: MmiCodeResult;
Method or attribute name: MMI_CODE_FAILED = 1
Old version information: |Class name: MmiCodeResult;
Method or attribute name: MMI_CODE_FAILED = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: UNASSIGNED_NUMBER = 1
Old version information: |Class name: DisconnectedReason;
Method or attribute name: UNASSIGNED_NUMBER = 1
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NO_ROUTE_TO_DESTINATION = 3
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NO_ROUTE_TO_DESTINATION = 3
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: CHANNEL_UNACCEPTABLE = 6
Old version information: |Class name: DisconnectedReason;
Method or attribute name: CHANNEL_UNACCEPTABLE = 6
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: OPERATOR_DETERMINED_BARRING = 8
Old version information: |Class name: DisconnectedReason;
Method or attribute name: OPERATOR_DETERMINED_BARRING = 8
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: CALL_COMPLETED_ELSEWHERE = 13
Old version information: |Class name: DisconnectedReason;
Method or attribute name: CALL_COMPLETED_ELSEWHERE = 13
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NORMAL_CALL_CLEARING = 16
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NORMAL_CALL_CLEARING = 16
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: USER_BUSY = 17
Old version information: |Class name: DisconnectedReason;
Method or attribute name: USER_BUSY = 17
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NO_USER_RESPONDING = 18
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NO_USER_RESPONDING = 18
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: USER_ALERTING_NO_ANSWER = 19
Old version information: |Class name: DisconnectedReason;
Method or attribute name: USER_ALERTING_NO_ANSWER = 19
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: CALL_REJECTED = 21
Old version information: |Class name: DisconnectedReason;
Method or attribute name: CALL_REJECTED = 21
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NUMBER_CHANGED = 22
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NUMBER_CHANGED = 22
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: CALL_REJECTED_DUE_TO_FEATURE_AT_THE_DESTINATION = 24
Old version information: |Class name: DisconnectedReason;
Method or attribute name: CALL_REJECTED_DUE_TO_FEATURE_AT_THE_DESTINATION = 24
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: FAILED_PRE_EMPTION = 25
Old version information: |Class name: DisconnectedReason;
Method or attribute name: FAILED_PRE_EMPTION = 25
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NON_SELECTED_USER_CLEARING = 26
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NON_SELECTED_USER_CLEARING = 26
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: DESTINATION_OUT_OF_ORDER = 27
Old version information: |Class name: DisconnectedReason;
Method or attribute name: DESTINATION_OUT_OF_ORDER = 27
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: INVALID_NUMBER_FORMAT = 28
Old version information: |Class name: DisconnectedReason;
Method or attribute name: INVALID_NUMBER_FORMAT = 28
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: FACILITY_REJECTED = 29
Old version information: |Class name: DisconnectedReason;
Method or attribute name: FACILITY_REJECTED = 29
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RESPONSE_TO_STATUS_ENQUIRY = 30
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RESPONSE_TO_STATUS_ENQUIRY = 30
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NORMAL_UNSPECIFIED = 31
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NORMAL_UNSPECIFIED = 31
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NO_CIRCUIT_CHANNEL_AVAILABLE = 34
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NO_CIRCUIT_CHANNEL_AVAILABLE = 34
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NETWORK_OUT_OF_ORDER = 38
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NETWORK_OUT_OF_ORDER = 38
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: TEMPORARY_FAILURE = 41
Old version information: |Class name: DisconnectedReason;
Method or attribute name: TEMPORARY_FAILURE = 41
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: SWITCHING_EQUIPMENT_CONGESTION = 42
Old version information: |Class name: DisconnectedReason;
Method or attribute name: SWITCHING_EQUIPMENT_CONGESTION = 42
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: ACCESS_INFORMATION_DISCARDED = 43
Old version information: |Class name: DisconnectedReason;
Method or attribute name: ACCESS_INFORMATION_DISCARDED = 43
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: REQUEST_CIRCUIT_CHANNEL_NOT_AVAILABLE = 44
Old version information: |Class name: DisconnectedReason;
Method or attribute name: REQUEST_CIRCUIT_CHANNEL_NOT_AVAILABLE = 44
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RESOURCES_UNAVAILABLE_UNSPECIFIED = 47
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RESOURCES_UNAVAILABLE_UNSPECIFIED = 47
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: QUALITY_OF_SERVICE_UNAVAILABLE = 49
Old version information: |Class name: DisconnectedReason;
Method or attribute name: QUALITY_OF_SERVICE_UNAVAILABLE = 49
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: REQUESTED_FACILITY_NOT_SUBSCRIBED = 50
Old version information: |Class name: DisconnectedReason;
Method or attribute name: REQUESTED_FACILITY_NOT_SUBSCRIBED = 50
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: INCOMING_CALLS_BARRED_WITHIN_THE_CUG = 55
Old version information: |Class name: DisconnectedReason;
Method or attribute name: INCOMING_CALLS_BARRED_WITHIN_THE_CUG = 55
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: BEARER_CAPABILITY_NOT_AUTHORIZED = 57
Old version information: |Class name: DisconnectedReason;
Method or attribute name: BEARER_CAPABILITY_NOT_AUTHORIZED = 57
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: BEARER_CAPABILITY_NOT_PRESENTLY_AVAILABLE = 58
Old version information: |Class name: DisconnectedReason;
Method or attribute name: BEARER_CAPABILITY_NOT_PRESENTLY_AVAILABLE = 58
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: SERVICE_OR_OPTION_NOT_AVAILABLE_UNSPECIFIED = 63
Old version information: |Class name: DisconnectedReason;
Method or attribute name: SERVICE_OR_OPTION_NOT_AVAILABLE_UNSPECIFIED = 63
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: BEARER_SERVICE_NOT_IMPLEMENTED = 65
Old version information: |Class name: DisconnectedReason;
Method or attribute name: BEARER_SERVICE_NOT_IMPLEMENTED = 65
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: ACM_EQUALTO_OR_GREATER_THAN_THE_MAXIMUM_VALUE = 68
Old version information: |Class name: DisconnectedReason;
Method or attribute name: ACM_EQUALTO_OR_GREATER_THAN_THE_MAXIMUM_VALUE = 68
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: REQUESTED_FACILITY_NOT_IMPLEMENTED = 69
Old version information: |Class name: DisconnectedReason;
Method or attribute name: REQUESTED_FACILITY_NOT_IMPLEMENTED = 69
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: ONLY_RESTRICTED_DIGITAL_INFO_BEARER_CAPABILITY_IS_AVAILABLE = 70
Old version information: |Class name: DisconnectedReason;
Method or attribute name: ONLY_RESTRICTED_DIGITAL_INFO_BEARER_CAPABILITY_IS_AVAILABLE = 70
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: SERVICE_OR_OPTION_NOT_IMPLEMENTED_UNSPECIFIED = 79
Old version information: |Class name: DisconnectedReason;
Method or attribute name: SERVICE_OR_OPTION_NOT_IMPLEMENTED_UNSPECIFIED = 79
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: INVALID_TRANSACTION_IDENTIFIER_VALUE = 81
Old version information: |Class name: DisconnectedReason;
Method or attribute name: INVALID_TRANSACTION_IDENTIFIER_VALUE = 81
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: USER_NOT_MEMBER_OF_CUG = 87
Old version information: |Class name: DisconnectedReason;
Method or attribute name: USER_NOT_MEMBER_OF_CUG = 87
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: INCOMPATIBLE_DESTINATION = 88
Old version information: |Class name: DisconnectedReason;
Method or attribute name: INCOMPATIBLE_DESTINATION = 88
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: INVALID_TRANSIT_NETWORK_SELECTION = 91
Old version information: |Class name: DisconnectedReason;
Method or attribute name: INVALID_TRANSIT_NETWORK_SELECTION = 91
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: SEMANTICALLY_INCORRECT_MESSAGE = 95
Old version information: |Class name: DisconnectedReason;
Method or attribute name: SEMANTICALLY_INCORRECT_MESSAGE = 95
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: INVALID_MANDATORY_INFORMATION = 96
Old version information: |Class name: DisconnectedReason;
Method or attribute name: INVALID_MANDATORY_INFORMATION = 96
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED = 97
Old version information: |Class name: DisconnectedReason;
Method or attribute name: MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED = 97
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98
Old version information: |Class name: DisconnectedReason;
Method or attribute name: MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED = 99
Old version information: |Class name: DisconnectedReason;
Method or attribute name: INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED = 99
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: CONDITIONAL_IE_ERROR = 100
Old version information: |Class name: DisconnectedReason;
Method or attribute name: CONDITIONAL_IE_ERROR = 100
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101
Old version information: |Class name: DisconnectedReason;
Method or attribute name: MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RECOVERY_ON_TIMER_EXPIRED = 102
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RECOVERY_ON_TIMER_EXPIRED = 102
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: PROTOCOL_ERROR_UNSPECIFIED = 111
Old version information: |Class name: DisconnectedReason;
Method or attribute name: PROTOCOL_ERROR_UNSPECIFIED = 111
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: INTERWORKING_UNSPECIFIED = 127
Old version information: |Class name: DisconnectedReason;
Method or attribute name: INTERWORKING_UNSPECIFIED = 127
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: CALL_BARRED = 240
Old version information: |Class name: DisconnectedReason;
Method or attribute name: CALL_BARRED = 240
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: FDN_BLOCKED = 241
Old version information: |Class name: DisconnectedReason;
Method or attribute name: FDN_BLOCKED = 241
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: IMSI_UNKNOWN_IN_VLR = 242
Old version information: |Class name: DisconnectedReason;
Method or attribute name: IMSI_UNKNOWN_IN_VLR = 242
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: IMEI_NOT_ACCEPTED = 243
Old version information: |Class name: DisconnectedReason;
Method or attribute name: IMEI_NOT_ACCEPTED = 243
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: DIAL_MODIFIED_TO_USSD = 244
Old version information: |Class name: DisconnectedReason;
Method or attribute name: DIAL_MODIFIED_TO_USSD = 244
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: DIAL_MODIFIED_TO_SS = 245
Old version information: |Class name: DisconnectedReason;
Method or attribute name: DIAL_MODIFIED_TO_SS = 245
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: DIAL_MODIFIED_TO_DIAL = 246
Old version information: |Class name: DisconnectedReason;
Method or attribute name: DIAL_MODIFIED_TO_DIAL = 246
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RADIO_OFF = 247
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RADIO_OFF = 247
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: OUT_OF_SERVICE = 248
Old version information: |Class name: DisconnectedReason;
Method or attribute name: OUT_OF_SERVICE = 248
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NO_VALID_SIM = 249
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NO_VALID_SIM = 249
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RADIO_INTERNAL_ERROR = 250
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RADIO_INTERNAL_ERROR = 250
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NETWORK_RESP_TIMEOUT = 251
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NETWORK_RESP_TIMEOUT = 251
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NETWORK_REJECT = 252
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NETWORK_REJECT = 252
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RADIO_ACCESS_FAILURE = 253
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RADIO_ACCESS_FAILURE = 253
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RADIO_LINK_FAILURE = 254
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RADIO_LINK_FAILURE = 254
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RADIO_LINK_LOST = 255
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RADIO_LINK_LOST = 255
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RADIO_UPLINK_FAILURE = 256
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RADIO_UPLINK_FAILURE = 256
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RADIO_SETUP_FAILURE = 257
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RADIO_SETUP_FAILURE = 257
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RADIO_RELEASE_NORMAL = 258
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RADIO_RELEASE_NORMAL = 258
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: RADIO_RELEASE_ABNORMAL = 259
Old version information: |Class name: DisconnectedReason;
Method or attribute name: RADIO_RELEASE_ABNORMAL = 259
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: ACCESS_CLASS_BLOCKED = 260
Old version information: |Class name: DisconnectedReason;
Method or attribute name: ACCESS_CLASS_BLOCKED = 260
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: NETWORK_DETACH = 261
Old version information: |Class name: DisconnectedReason;
Method or attribute name: NETWORK_DETACH = 261
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: INVALID_PARAMETER = 1025
Old version information: |Class name: DisconnectedReason;
Method or attribute name: INVALID_PARAMETER = 1025
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: SIM_NOT_EXIT = 1026
Old version information: |Class name: DisconnectedReason;
Method or attribute name: SIM_NOT_EXIT = 1026
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: SIM_PIN_NEED = 1027
Old version information: |Class name: DisconnectedReason;
Method or attribute name: SIM_PIN_NEED = 1027
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: CALL_NOT_ALLOW = 1029
Old version information: |Class name: DisconnectedReason;
Method or attribute name: CALL_NOT_ALLOW = 1029
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: SIM_INVALID = 1045
Old version information: |Class name: DisconnectedReason;
Method or attribute name: SIM_INVALID = 1045
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedReason;
Method or attribute name: UNKNOWN = 1279
Old version information: |Class name: DisconnectedReason;
Method or attribute name: UNKNOWN = 1279
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: DisconnectedDetails;
Method or attribute name: reason: DisconnectedReason;
Old version information: |Class name: DisconnectedDetails;
Method or attribute name: reason: DisconnectedReason;
New version information: systemapi|@ohos.telephony.call.d.ts| +|Access level changed|Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.data.d.ts| +|Access level changed|Class name: data;
Method or attribute name: function enableCellularData(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function enableCellularData(): Promise\;
New version information: systemapi|@ohos.telephony.data.d.ts| +|Access level changed|Class name: data;
Method or attribute name: function disableCellularData(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function disableCellularData(): Promise\;
New version information: systemapi|@ohos.telephony.data.d.ts| +|Access level changed|Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.data.d.ts| +|Access level changed|Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.data.d.ts| +|Access level changed|Class name: observer;
Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\>): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\>): void;
New version information: systemapi|@ohos.telephony.observer.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback\>): void;
Old version information: |Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback\>): void;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise\>;
Old version information: |Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise\>;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getIMEI(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getIMEI(slotId?: number): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getMEID(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getMEID(slotId?: number): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function turnOnRadio(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function turnOnRadio(slotId?: number): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function turnOffRadio(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function turnOffRadio(slotId?: number): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_GSM = 1
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_GSM = 1
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_WCDMA = 2
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_WCDMA = 2
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE = 3
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE = 3
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_WCDMA = 4
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_WCDMA = 4
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_WCDMA_GSM = 5
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_WCDMA_GSM = 5
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_WCDMA_GSM = 6
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_WCDMA_GSM = 6
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_CDMA = 7
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_CDMA = 7
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_EVDO = 8
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_EVDO = 8
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_EVDO_CDMA = 9
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_EVDO_CDMA = 9
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_WCDMA_GSM_EVDO_CDMA = 10
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_WCDMA_GSM_EVDO_CDMA = 10
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_EVDO_CDMA = 11
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_EVDO_CDMA = 11
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_WCDMA_GSM_EVDO_CDMA = 12
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_WCDMA_GSM_EVDO_CDMA = 12
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_TDSCDMA = 13
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_TDSCDMA = 13
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_TDSCDMA_GSM = 14
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_TDSCDMA_GSM = 14
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA = 15
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA = 15
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA_GSM = 16
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA_GSM = 16
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_TDSCDMA = 17
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_TDSCDMA = 17
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_TDSCDMA_GSM = 18
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_TDSCDMA_GSM = 18
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA = 19
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA = 19
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA_GSM = 20
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA_GSM = 20
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 21
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 21
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 22
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 22
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR = 31
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR = 31
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE = 32
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE = 32
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_WCDMA = 33
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_WCDMA = 33
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_WCDMA_GSM = 34
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_WCDMA_GSM = 34
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_EVDO_CDMA = 35
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_EVDO_CDMA = 35
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_WCDMA_GSM_EVDO_CDMA = 36
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_WCDMA_GSM_EVDO_CDMA = 36
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA = 37
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA = 37
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_GSM = 38
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_GSM = 38
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA = 39
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA = 39
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA_GSM = 40
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA_GSM = 40
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 41
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 41
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_MAX_VALUE = 99
Old version information: |Class name: PreferredNetworkMode;
Method or attribute name: PREFERRED_NETWORK_MODE_MAX_VALUE = 99
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: CellInformation;
Method or attribute name: export interface CellInformation
Old version information: systemapi|Class name: CellInformation;
Method or attribute name: export interface CellInformation
New version information: |@ohos.telephony.radio.d.ts| +|Access level changed|Class name: CellInformation;
Method or attribute name: isCamped: boolean;
Old version information: |Class name: CellInformation;
Method or attribute name: isCamped: boolean;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: CellInformation;
Method or attribute name: timeStamp: number;
Old version information: |Class name: CellInformation;
Method or attribute name: timeStamp: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: CellInformation;
Method or attribute name: data: CdmaCellInformation \| GsmCellInformation \| LteCellInformation \| NrCellInformation \| TdscdmaCellInformation
\| WcdmaCellInformation;
Old version information: |Class name: CellInformation;
Method or attribute name: data: CdmaCellInformation \| GsmCellInformation \| LteCellInformation \| NrCellInformation \| TdscdmaCellInformation
\| WcdmaCellInformation;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: CdmaCellInformation;
Method or attribute name: baseId: number;
Old version information: |Class name: CdmaCellInformation;
Method or attribute name: baseId: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: CdmaCellInformation;
Method or attribute name: latitude: number;
Old version information: |Class name: CdmaCellInformation;
Method or attribute name: latitude: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: CdmaCellInformation;
Method or attribute name: longitude: number;
Old version information: |Class name: CdmaCellInformation;
Method or attribute name: longitude: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: CdmaCellInformation;
Method or attribute name: nid: number;
Old version information: |Class name: CdmaCellInformation;
Method or attribute name: nid: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: CdmaCellInformation;
Method or attribute name: sid: number;
Old version information: |Class name: CdmaCellInformation;
Method or attribute name: sid: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: GsmCellInformation;
Method or attribute name: lac: number;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: lac: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: TdscdmaCellInformation;
Method or attribute name: lac: number;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: lac: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: WcdmaCellInformation;
Method or attribute name: lac: number;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: lac: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: GsmCellInformation;
Method or attribute name: cellId: number;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: cellId: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: TdscdmaCellInformation;
Method or attribute name: cellId: number;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: cellId: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: WcdmaCellInformation;
Method or attribute name: cellId: number;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: cellId: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: GsmCellInformation;
Method or attribute name: arfcn: number;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: arfcn: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: GsmCellInformation;
Method or attribute name: bsic: number;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: bsic: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: GsmCellInformation;
Method or attribute name: mcc: string;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: mcc: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: LteCellInformation;
Method or attribute name: mcc: string;
Old version information: |Class name: LteCellInformation;
Method or attribute name: mcc: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NrCellInformation;
Method or attribute name: mcc: string;
Old version information: |Class name: NrCellInformation;
Method or attribute name: mcc: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: TdscdmaCellInformation;
Method or attribute name: mcc: string;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: mcc: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: WcdmaCellInformation;
Method or attribute name: mcc: string;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: mcc: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: GsmCellInformation;
Method or attribute name: mnc: string;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: mnc: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: LteCellInformation;
Method or attribute name: mnc: string;
Old version information: |Class name: LteCellInformation;
Method or attribute name: mnc: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NrCellInformation;
Method or attribute name: mnc: string;
Old version information: |Class name: NrCellInformation;
Method or attribute name: mnc: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: TdscdmaCellInformation;
Method or attribute name: mnc: string;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: mnc: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: WcdmaCellInformation;
Method or attribute name: mnc: string;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: mnc: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: LteCellInformation;
Method or attribute name: cgi: number;
Old version information: |Class name: LteCellInformation;
Method or attribute name: cgi: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: LteCellInformation;
Method or attribute name: pci: number;
Old version information: |Class name: LteCellInformation;
Method or attribute name: pci: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NrCellInformation;
Method or attribute name: pci: number;
Old version information: |Class name: NrCellInformation;
Method or attribute name: pci: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: LteCellInformation;
Method or attribute name: tac: number;
Old version information: |Class name: LteCellInformation;
Method or attribute name: tac: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NrCellInformation;
Method or attribute name: tac: number;
Old version information: |Class name: NrCellInformation;
Method or attribute name: tac: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: LteCellInformation;
Method or attribute name: earfcn: number;
Old version information: |Class name: LteCellInformation;
Method or attribute name: earfcn: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: LteCellInformation;
Method or attribute name: bandwidth: number;
Old version information: |Class name: LteCellInformation;
Method or attribute name: bandwidth: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: LteCellInformation;
Method or attribute name: isSupportEndc: boolean;
Old version information: |Class name: LteCellInformation;
Method or attribute name: isSupportEndc: boolean;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NrCellInformation;
Method or attribute name: nrArfcn: number;
Old version information: |Class name: NrCellInformation;
Method or attribute name: nrArfcn: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NrCellInformation;
Method or attribute name: nci: number;
Old version information: |Class name: NrCellInformation;
Method or attribute name: nci: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: TdscdmaCellInformation;
Method or attribute name: cpid: number;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: cpid: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: TdscdmaCellInformation;
Method or attribute name: uarfcn: number;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: uarfcn: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: WcdmaCellInformation;
Method or attribute name: uarfcn: number;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: uarfcn: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: WcdmaCellInformation;
Method or attribute name: psc: number;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: psc: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_UNKNOWN
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_UNKNOWN
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_ONLY
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_ONLY
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_SA_ONLY
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_SA_ONLY
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_AND_SA
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_AND_SA
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkSearchResult;
Method or attribute name: isNetworkSearchSuccess: boolean;
Old version information: |Class name: NetworkSearchResult;
Method or attribute name: isNetworkSearchSuccess: boolean;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkSearchResult;
Method or attribute name: networkSearchResult: Array\;
Old version information: |Class name: NetworkSearchResult;
Method or attribute name: networkSearchResult: Array\;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkInformation;
Method or attribute name: operatorName: string;
Old version information: |Class name: NetworkInformation;
Method or attribute name: operatorName: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkInformation;
Method or attribute name: operatorNumeric: string;
Old version information: |Class name: NetworkInformation;
Method or attribute name: operatorNumeric: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkInformation;
Method or attribute name: state: NetworkInformationState;
Old version information: |Class name: NetworkInformation;
Method or attribute name: state: NetworkInformationState;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkInformation;
Method or attribute name: radioTech: string;
Old version information: |Class name: NetworkInformation;
Method or attribute name: radioTech: string;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkInformationState;
Method or attribute name: NETWORK_UNKNOWN
Old version information: |Class name: NetworkInformationState;
Method or attribute name: NETWORK_UNKNOWN
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkInformationState;
Method or attribute name: NETWORK_AVAILABLE
Old version information: |Class name: NetworkInformationState;
Method or attribute name: NETWORK_AVAILABLE
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkInformationState;
Method or attribute name: NETWORK_CURRENT
Old version information: |Class name: NetworkInformationState;
Method or attribute name: NETWORK_CURRENT
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkInformationState;
Method or attribute name: NETWORK_FORBIDDEN
Old version information: |Class name: NetworkInformationState;
Method or attribute name: NETWORK_FORBIDDEN
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkSelectionModeOptions;
Method or attribute name: slotId: number;
Old version information: |Class name: NetworkSelectionModeOptions;
Method or attribute name: slotId: number;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkSelectionModeOptions;
Method or attribute name: selectMode: NetworkSelectionMode;
Old version information: |Class name: NetworkSelectionModeOptions;
Method or attribute name: selectMode: NetworkSelectionMode;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkSelectionModeOptions;
Method or attribute name: networkInformation: NetworkInformation;
Old version information: |Class name: NetworkSelectionModeOptions;
Method or attribute name: networkInformation: NetworkInformation;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: NetworkSelectionModeOptions;
Method or attribute name: resumeSelection: boolean;
Old version information: |Class name: NetworkSelectionModeOptions;
Method or attribute name: resumeSelection: boolean;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsRegState;
Method or attribute name: IMS_UNREGISTERED
Old version information: |Class name: ImsRegState;
Method or attribute name: IMS_UNREGISTERED
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsRegState;
Method or attribute name: IMS_REGISTERED
Old version information: |Class name: ImsRegState;
Method or attribute name: IMS_REGISTERED
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_NONE
Old version information: |Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_NONE
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_LTE
Old version information: |Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_LTE
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_IWLAN
Old version information: |Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_IWLAN
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_NR
Old version information: |Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_NR
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsRegInfo;
Method or attribute name: imsRegState: ImsRegState;
Old version information: |Class name: ImsRegInfo;
Method or attribute name: imsRegState: ImsRegState;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsRegInfo;
Method or attribute name: imsRegTech: ImsRegTech;
Old version information: |Class name: ImsRegInfo;
Method or attribute name: imsRegTech: ImsRegTech;
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsServiceType;
Method or attribute name: TYPE_VOICE
Old version information: |Class name: ImsServiceType;
Method or attribute name: TYPE_VOICE
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsServiceType;
Method or attribute name: TYPE_VIDEO
Old version information: |Class name: ImsServiceType;
Method or attribute name: TYPE_VIDEO
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsServiceType;
Method or attribute name: TYPE_UT
Old version information: |Class name: ImsServiceType;
Method or attribute name: TYPE_UT
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: ImsServiceType;
Method or attribute name: TYPE_SMS
Old version information: |Class name: ImsServiceType;
Method or attribute name: TYPE_SMS
New version information: systemapi|@ohos.telephony.radio.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getSimIccId(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimIccId(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getSimGid1(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimGid1(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getIMSI(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getIMSI(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number, callback: AsyncCallback\): void;
Old version information: systemapi|Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number, callback: AsyncCallback\): void;
New version information: |@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(callback: AsyncCallback\>): void;
Old version information: systemapi|Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(callback: AsyncCallback\>): void;
New version information: |@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function activateSim(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function activateSim(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function deactivateSim(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function deactivateSim(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getShowName(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getShowName(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getShowNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getShowNumber(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number): Promise\>;
Old version information: |Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number): Promise\>;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\>;
Old version information: |Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\>;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfig;
Method or attribute name: field: string;
Old version information: |Class name: OperatorConfig;
Method or attribute name: field: string;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfig;
Method or attribute name: value: string;
Old version information: |Class name: OperatorConfig;
Method or attribute name: value: string;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: IccAccountInfo;
Method or attribute name: simId: number;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: simId: number;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: IccAccountInfo;
Method or attribute name: slotIndex: number;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: slotIndex: number;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: IccAccountInfo;
Method or attribute name: isEsim: boolean;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: isEsim: boolean;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: IccAccountInfo;
Method or attribute name: isActive: boolean;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: isActive: boolean;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: IccAccountInfo;
Method or attribute name: iccId: string;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: iccId: string;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: IccAccountInfo;
Method or attribute name: showName: string;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: showName: string;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: IccAccountInfo;
Method or attribute name: showNumber: string;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: showNumber: string;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: LockStatusResponse;
Method or attribute name: result: number;
Old version information: |Class name: LockStatusResponse;
Method or attribute name: result: number;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: LockStatusResponse;
Method or attribute name: remain?: number;
Old version information: |Class name: LockStatusResponse;
Method or attribute name: remain?: number;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: DiallingNumbersInfo;
Method or attribute name: alphaTag: string;
Old version information: |Class name: DiallingNumbersInfo;
Method or attribute name: alphaTag: string;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: DiallingNumbersInfo;
Method or attribute name: number: string;
Old version information: |Class name: DiallingNumbersInfo;
Method or attribute name: number: string;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: DiallingNumbersInfo;
Method or attribute name: recordNumber?: number;
Old version information: |Class name: DiallingNumbersInfo;
Method or attribute name: recordNumber?: number;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: DiallingNumbersInfo;
Method or attribute name: pin2?: string;
Old version information: |Class name: DiallingNumbersInfo;
Method or attribute name: pin2?: string;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: LockInfo;
Method or attribute name: lockType: LockType;
Old version information: |Class name: LockInfo;
Method or attribute name: lockType: LockType;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: LockInfo;
Method or attribute name: password: string;
Old version information: |Class name: LockInfo;
Method or attribute name: password: string;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockInfo;
Method or attribute name: password: string;
Old version information: |Class name: PersoLockInfo;
Method or attribute name: password: string;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: LockInfo;
Method or attribute name: state: LockState;
Old version information: |Class name: LockInfo;
Method or attribute name: state: LockState;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockInfo;
Method or attribute name: lockType: PersoLockType;
Old version information: |Class name: PersoLockInfo;
Method or attribute name: lockType: PersoLockType;
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: LockType;
Method or attribute name: PIN_LOCK = 1
Old version information: |Class name: LockType;
Method or attribute name: PIN_LOCK = 1
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: LockType;
Method or attribute name: FDN_LOCK = 2
Old version information: |Class name: LockType;
Method or attribute name: FDN_LOCK = 2
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: LockState;
Method or attribute name: LOCK_OFF = 0
Old version information: |Class name: LockState;
Method or attribute name: LOCK_OFF = 0
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: LockState;
Method or attribute name: LOCK_ON = 1
Old version information: |Class name: LockState;
Method or attribute name: LOCK_ON = 1
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: ContactType;
Method or attribute name: GENERAL_CONTACT = 1
Old version information: |Class name: ContactType;
Method or attribute name: GENERAL_CONTACT = 1
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: ContactType;
Method or attribute name: FIXED_DIALING = 2
Old version information: |Class name: ContactType;
Method or attribute name: FIXED_DIALING = 2
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockType;
Method or attribute name: PN_PIN_LOCK
Old version information: |Class name: PersoLockType;
Method or attribute name: PN_PIN_LOCK
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockType;
Method or attribute name: PN_PUK_LOCK
Old version information: |Class name: PersoLockType;
Method or attribute name: PN_PUK_LOCK
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockType;
Method or attribute name: PU_PIN_LOCK
Old version information: |Class name: PersoLockType;
Method or attribute name: PU_PIN_LOCK
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockType;
Method or attribute name: PU_PUK_LOCK
Old version information: |Class name: PersoLockType;
Method or attribute name: PU_PUK_LOCK
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockType;
Method or attribute name: PP_PIN_LOCK
Old version information: |Class name: PersoLockType;
Method or attribute name: PP_PIN_LOCK
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockType;
Method or attribute name: PP_PUK_LOCK
Old version information: |Class name: PersoLockType;
Method or attribute name: PP_PUK_LOCK
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockType;
Method or attribute name: PC_PIN_LOCK
Old version information: |Class name: PersoLockType;
Method or attribute name: PC_PIN_LOCK
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockType;
Method or attribute name: PC_PUK_LOCK
Old version information: |Class name: PersoLockType;
Method or attribute name: PC_PUK_LOCK
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockType;
Method or attribute name: SIM_PIN_LOCK
Old version information: |Class name: PersoLockType;
Method or attribute name: SIM_PIN_LOCK
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: PersoLockType;
Method or attribute name: SIM_PUK_LOCK
Old version information: |Class name: PersoLockType;
Method or attribute name: SIM_PUK_LOCK
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_VOICE_MAIL_NUMBER_STRING = "voice_mail_number_string"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_VOICE_MAIL_NUMBER_STRING = "voice_mail_number_string"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_SWITCH_ON_BY_DEFAULT_BOOL = "ims_switch_on_by_default_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_SWITCH_ON_BY_DEFAULT_BOOL = "ims_switch_on_by_default_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_HIDE_IMS_SWITCH_BOOL = "hide_ims_switch_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_HIDE_IMS_SWITCH_BOOL = "hide_ims_switch_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_VOLTE_SUPPORTED_BOOL = "volte_supported_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_VOLTE_SUPPORTED_BOOL = "volte_supported_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_NR_MODE_SUPPORTED_LIST_INT_ARRAY = "nr_mode_supported_list_int_array"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_NR_MODE_SUPPORTED_LIST_INT_ARRAY = "nr_mode_supported_list_int_array"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_VOLTE_PROVISIONING_SUPPORTED_BOOL = "volte_provisioning_supported_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_VOLTE_PROVISIONING_SUPPORTED_BOOL = "volte_provisioning_supported_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_SS_OVER_UT_SUPPORTED_BOOL = "ss_over_ut_supported_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_SS_OVER_UT_SUPPORTED_BOOL = "ss_over_ut_supported_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_GBA_REQUIRED_BOOL = "ims_gba_required_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_GBA_REQUIRED_BOOL = "ims_gba_required_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_UT_PROVISIONING_SUPPORTED_BOOL = "ut_provisioning_supported_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_UT_PROVISIONING_SUPPORTED_BOOL = "ut_provisioning_supported_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_PREFER_FOR_EMERGENCY_BOOL = "ims_prefer_for_emergency_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_PREFER_FOR_EMERGENCY_BOOL = "ims_prefer_for_emergency_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_CALL_WAITING_SERVICE_CLASS_INT = "call_waiting_service_class_int"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_CALL_WAITING_SERVICE_CLASS_INT = "call_waiting_service_class_int"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_CALL_TRANSFER_VISIBILITY_BOOL = "call_transfer_visibility_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_CALL_TRANSFER_VISIBILITY_BOOL = "call_transfer_visibility_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_CALL_DISCONNECT_REASON_INFO_MAPPING_STRING_ARRAY =
"ims_call_disconnect_reason_info_mapping_string_array"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_CALL_DISCONNECT_REASON_INFO_MAPPING_STRING_ARRAY =
"ims_call_disconnect_reason_info_mapping_string_array"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_FORCE_VOLTE_SWITCH_ON_BOOL = "force_volte_switch_on_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_FORCE_VOLTE_SWITCH_ON_BOOL = "force_volte_switch_on_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_ENABLE_OPERATOR_NAME_CUST_BOOL = "enable_operator_name_cust_bool"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_ENABLE_OPERATOR_NAME_CUST_BOOL = "enable_operator_name_cust_bool"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_OPERATOR_NAME_CUST_STRING = "operator_name_cust_string"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_OPERATOR_NAME_CUST_STRING = "operator_name_cust_string"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_SPN_DISPLAY_CONDITION_CUST_INT = "spn_display_condition_cust_int"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_SPN_DISPLAY_CONDITION_CUST_INT = "spn_display_condition_cust_int"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_PNN_CUST_STRING_ARRAY = "pnn_cust_string_array"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_PNN_CUST_STRING_ARRAY = "pnn_cust_string_array"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_OPL_CUST_STRING_ARRAY = "opl_cust_string_array"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_OPL_CUST_STRING_ARRAY = "opl_cust_string_array"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: OperatorConfigKey;
Method or attribute name: KEY_EMERGENCY_CALL_STRING_ARRAY = "emergency_call_string_array"
Old version information: |Class name: OperatorConfigKey;
Method or attribute name: KEY_EMERGENCY_CALL_STRING_ARRAY = "emergency_call_string_array"
New version information: systemapi|@ohos.telephony.sim.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function splitMessage(content: string): Promise\>;
Old version information: |Class name: sms;
Method or attribute name: function splitMessage(content: string): Promise\>;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number): Promise\>;
Old version information: |Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number): Promise\>;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function getImsShortMessageFormat(): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function getImsShortMessageFormat(): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function decodeMms(mmsFilePathName: string \| Array\): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function decodeMms(mmsFilePathName: string \| Array\): Promise\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: sms;
Method or attribute name: function encodeMms(mms: MmsInformation): Promise\>;
Old version information: |Class name: sms;
Method or attribute name: function encodeMms(mms: MmsInformation): Promise\>;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsInformation;
Method or attribute name: messageType: MessageType;
Old version information: |Class name: MmsInformation;
Method or attribute name: messageType: MessageType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsInformation;
Method or attribute name: mmsType: MmsSendReq \| MmsSendConf \| MmsNotificationInd \| MmsRespInd \| MmsRetrieveConf \| MmsAcknowledgeInd \| MmsDeliveryInd \| MmsReadOrigInd \| MmsReadRecInd;
Old version information: |Class name: MmsInformation;
Method or attribute name: mmsType: MmsSendReq \| MmsSendConf \| MmsNotificationInd \| MmsRespInd \| MmsRetrieveConf \| MmsAcknowledgeInd \| MmsDeliveryInd \| MmsReadOrigInd \| MmsReadRecInd;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsInformation;
Method or attribute name: attachment?: Array\;
Old version information: |Class name: MmsInformation;
Method or attribute name: attachment?: Array\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: from: MmsAddress;
Old version information: |Class name: MmsSendReq;
Method or attribute name: from: MmsAddress;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadOrigInd;
Method or attribute name: from: MmsAddress;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: from: MmsAddress;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadRecInd;
Method or attribute name: from: MmsAddress;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: from: MmsAddress;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsSendReq;
Method or attribute name: transactionId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendConf;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsSendConf;
Method or attribute name: transactionId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsNotificationInd;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: transactionId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRespInd;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsRespInd;
Method or attribute name: transactionId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: transactionId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAcknowledgeInd;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsAcknowledgeInd;
Method or attribute name: transactionId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: contentType: string;
Old version information: |Class name: MmsSendReq;
Method or attribute name: contentType: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: contentType: string;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: contentType: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAttachment;
Method or attribute name: contentType: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: contentType: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsSendReq;
Method or attribute name: version: MmsVersionType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendConf;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsSendConf;
Method or attribute name: version: MmsVersionType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsNotificationInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: version: MmsVersionType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRespInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsRespInd;
Method or attribute name: version: MmsVersionType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: version: MmsVersionType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAcknowledgeInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsAcknowledgeInd;
Method or attribute name: version: MmsVersionType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsDeliveryInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsDeliveryInd;
Method or attribute name: version: MmsVersionType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadOrigInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: version: MmsVersionType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadRecInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: version: MmsVersionType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: to?: Array\;
Old version information: |Class name: MmsSendReq;
Method or attribute name: to?: Array\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: date?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: date?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadRecInd;
Method or attribute name: date?: number;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: date?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: cc?: Array\;
Old version information: |Class name: MmsSendReq;
Method or attribute name: cc?: Array\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: cc?: Array\;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: cc?: Array\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: bcc?: Array\;
Old version information: |Class name: MmsSendReq;
Method or attribute name: bcc?: Array\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: subject?: string;
Old version information: |Class name: MmsSendReq;
Method or attribute name: subject?: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsNotificationInd;
Method or attribute name: subject?: string;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: subject?: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: subject?: string;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: subject?: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: messageClass?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: messageClass?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: expiry?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: expiry?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: priority?: MmsPriorityType;
Old version information: |Class name: MmsSendReq;
Method or attribute name: priority?: MmsPriorityType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: priority?: MmsPriorityType;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: priority?: MmsPriorityType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: senderVisibility?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: senderVisibility?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: deliveryReport?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: deliveryReport?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsNotificationInd;
Method or attribute name: deliveryReport?: number;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: deliveryReport?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: deliveryReport?: number;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: deliveryReport?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendReq;
Method or attribute name: readReport?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: readReport?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: readReport?: number;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: readReport?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendConf;
Method or attribute name: responseState: number;
Old version information: |Class name: MmsSendConf;
Method or attribute name: responseState: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsSendConf;
Method or attribute name: messageId?: string;
Old version information: |Class name: MmsSendConf;
Method or attribute name: messageId?: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsNotificationInd;
Method or attribute name: messageClass: number;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: messageClass: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsNotificationInd;
Method or attribute name: messageSize: number;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: messageSize: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsNotificationInd;
Method or attribute name: expiry: number;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: expiry: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsNotificationInd;
Method or attribute name: contentLocation: string;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: contentLocation: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAttachment;
Method or attribute name: contentLocation: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: contentLocation: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsNotificationInd;
Method or attribute name: from?: MmsAddress;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: from?: MmsAddress;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: from?: MmsAddress;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: from?: MmsAddress;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsNotificationInd;
Method or attribute name: contentClass?: number;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: contentClass?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRespInd;
Method or attribute name: status: number;
Old version information: |Class name: MmsRespInd;
Method or attribute name: status: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsDeliveryInd;
Method or attribute name: status: number;
Old version information: |Class name: MmsDeliveryInd;
Method or attribute name: status: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRespInd;
Method or attribute name: reportAllowed?: ReportType;
Old version information: |Class name: MmsRespInd;
Method or attribute name: reportAllowed?: ReportType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAcknowledgeInd;
Method or attribute name: reportAllowed?: ReportType;
Old version information: |Class name: MmsAcknowledgeInd;
Method or attribute name: reportAllowed?: ReportType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: messageId: string;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: messageId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsDeliveryInd;
Method or attribute name: messageId: string;
Old version information: |Class name: MmsDeliveryInd;
Method or attribute name: messageId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadOrigInd;
Method or attribute name: messageId: string;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: messageId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadRecInd;
Method or attribute name: messageId: string;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: messageId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: date: number;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: date: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsDeliveryInd;
Method or attribute name: date: number;
Old version information: |Class name: MmsDeliveryInd;
Method or attribute name: date: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadOrigInd;
Method or attribute name: date: number;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: date: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: to: Array\;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: to: Array\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsDeliveryInd;
Method or attribute name: to: Array\;
Old version information: |Class name: MmsDeliveryInd;
Method or attribute name: to: Array\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadOrigInd;
Method or attribute name: to: Array\;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: to: Array\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadRecInd;
Method or attribute name: to: Array\;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: to: Array\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: retrieveStatus?: number;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: retrieveStatus?: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsRetrieveConf;
Method or attribute name: retrieveText?: string;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: retrieveText?: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadOrigInd;
Method or attribute name: readStatus: number;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: readStatus: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsReadRecInd;
Method or attribute name: readStatus: number;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: readStatus: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAttachment;
Method or attribute name: contentId: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: contentId: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAttachment;
Method or attribute name: contentDisposition: DispositionType;
Old version information: |Class name: MmsAttachment;
Method or attribute name: contentDisposition: DispositionType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAttachment;
Method or attribute name: contentTransferEncoding: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: contentTransferEncoding: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAttachment;
Method or attribute name: isSmil: boolean;
Old version information: |Class name: MmsAttachment;
Method or attribute name: isSmil: boolean;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAttachment;
Method or attribute name: path?: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: path?: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAttachment;
Method or attribute name: inBuff?: Array\;
Old version information: |Class name: MmsAttachment;
Method or attribute name: inBuff?: Array\;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAttachment;
Method or attribute name: fileName?: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: fileName?: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAttachment;
Method or attribute name: charset?: MmsCharSets;
Old version information: |Class name: MmsAttachment;
Method or attribute name: charset?: MmsCharSets;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAddress;
Method or attribute name: address: string;
Old version information: |Class name: MmsAddress;
Method or attribute name: address: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsAddress;
Method or attribute name: charset: MmsCharSets;
Old version information: |Class name: MmsAddress;
Method or attribute name: charset: MmsCharSets;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MessageType;
Method or attribute name: TYPE_MMS_SEND_REQ = 128
Old version information: |Class name: MessageType;
Method or attribute name: TYPE_MMS_SEND_REQ = 128
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MessageType;
Method or attribute name: TYPE_MMS_SEND_CONF
Old version information: |Class name: MessageType;
Method or attribute name: TYPE_MMS_SEND_CONF
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MessageType;
Method or attribute name: TYPE_MMS_NOTIFICATION_IND
Old version information: |Class name: MessageType;
Method or attribute name: TYPE_MMS_NOTIFICATION_IND
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MessageType;
Method or attribute name: TYPE_MMS_RESP_IND
Old version information: |Class name: MessageType;
Method or attribute name: TYPE_MMS_RESP_IND
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MessageType;
Method or attribute name: TYPE_MMS_RETRIEVE_CONF
Old version information: |Class name: MessageType;
Method or attribute name: TYPE_MMS_RETRIEVE_CONF
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MessageType;
Method or attribute name: TYPE_MMS_ACKNOWLEDGE_IND
Old version information: |Class name: MessageType;
Method or attribute name: TYPE_MMS_ACKNOWLEDGE_IND
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MessageType;
Method or attribute name: TYPE_MMS_DELIVERY_IND
Old version information: |Class name: MessageType;
Method or attribute name: TYPE_MMS_DELIVERY_IND
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MessageType;
Method or attribute name: TYPE_MMS_READ_REC_IND
Old version information: |Class name: MessageType;
Method or attribute name: TYPE_MMS_READ_REC_IND
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MessageType;
Method or attribute name: TYPE_MMS_READ_ORIG_IND
Old version information: |Class name: MessageType;
Method or attribute name: TYPE_MMS_READ_ORIG_IND
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsPriorityType;
Method or attribute name: MMS_LOW = 128
Old version information: |Class name: MmsPriorityType;
Method or attribute name: MMS_LOW = 128
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsPriorityType;
Method or attribute name: MMS_NORMAL
Old version information: |Class name: MmsPriorityType;
Method or attribute name: MMS_NORMAL
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsPriorityType;
Method or attribute name: MMS_HIGH
Old version information: |Class name: MmsPriorityType;
Method or attribute name: MMS_HIGH
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsVersionType;
Method or attribute name: MMS_VERSION_1_0 = 0x10
Old version information: |Class name: MmsVersionType;
Method or attribute name: MMS_VERSION_1_0 = 0x10
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsVersionType;
Method or attribute name: MMS_VERSION_1_1
Old version information: |Class name: MmsVersionType;
Method or attribute name: MMS_VERSION_1_1
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsVersionType;
Method or attribute name: MMS_VERSION_1_2
Old version information: |Class name: MmsVersionType;
Method or attribute name: MMS_VERSION_1_2
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsVersionType;
Method or attribute name: MMS_VERSION_1_3
Old version information: |Class name: MmsVersionType;
Method or attribute name: MMS_VERSION_1_3
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: BIG5 = 0X07EA
Old version information: |Class name: MmsCharSets;
Method or attribute name: BIG5 = 0X07EA
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: ISO_10646_UCS_2 = 0X03E8
Old version information: |Class name: MmsCharSets;
Method or attribute name: ISO_10646_UCS_2 = 0X03E8
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: ISO_8859_1 = 0X04
Old version information: |Class name: MmsCharSets;
Method or attribute name: ISO_8859_1 = 0X04
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: ISO_8859_2
Old version information: |Class name: MmsCharSets;
Method or attribute name: ISO_8859_2
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: ISO_8859_3
Old version information: |Class name: MmsCharSets;
Method or attribute name: ISO_8859_3
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: ISO_8859_4
Old version information: |Class name: MmsCharSets;
Method or attribute name: ISO_8859_4
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: ISO_8859_5
Old version information: |Class name: MmsCharSets;
Method or attribute name: ISO_8859_5
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: ISO_8859_6
Old version information: |Class name: MmsCharSets;
Method or attribute name: ISO_8859_6
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: ISO_8859_7
Old version information: |Class name: MmsCharSets;
Method or attribute name: ISO_8859_7
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: ISO_8859_8
Old version information: |Class name: MmsCharSets;
Method or attribute name: ISO_8859_8
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: ISO_8859_9
Old version information: |Class name: MmsCharSets;
Method or attribute name: ISO_8859_9
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: SHIFT_JIS = 0X11
Old version information: |Class name: MmsCharSets;
Method or attribute name: SHIFT_JIS = 0X11
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: US_ASCII = 0X03
Old version information: |Class name: MmsCharSets;
Method or attribute name: US_ASCII = 0X03
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: MmsCharSets;
Method or attribute name: UTF_8 = 0X6A
Old version information: |Class name: MmsCharSets;
Method or attribute name: UTF_8 = 0X6A
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: DispositionType;
Method or attribute name: FROM_DATA = 0
Old version information: |Class name: DispositionType;
Method or attribute name: FROM_DATA = 0
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: DispositionType;
Method or attribute name: ATTACHMENT
Old version information: |Class name: DispositionType;
Method or attribute name: ATTACHMENT
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: DispositionType;
Method or attribute name: INLINE
Old version information: |Class name: DispositionType;
Method or attribute name: INLINE
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: ReportType;
Method or attribute name: MMS_YES = 128
Old version information: |Class name: ReportType;
Method or attribute name: MMS_YES = 128
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: ReportType;
Method or attribute name: MMS_NO
Old version information: |Class name: ReportType;
Method or attribute name: MMS_NO
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: CBConfigOptions;
Method or attribute name: slotId: number;
Old version information: |Class name: CBConfigOptions;
Method or attribute name: slotId: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimMessageOptions;
Method or attribute name: slotId: number;
Old version information: |Class name: SimMessageOptions;
Method or attribute name: slotId: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: UpdateSimMessageOptions;
Method or attribute name: slotId: number;
Old version information: |Class name: UpdateSimMessageOptions;
Method or attribute name: slotId: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: CBConfigOptions;
Method or attribute name: enable: boolean;
Old version information: |Class name: CBConfigOptions;
Method or attribute name: enable: boolean;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: CBConfigOptions;
Method or attribute name: startMessageId: number;
Old version information: |Class name: CBConfigOptions;
Method or attribute name: startMessageId: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: CBConfigOptions;
Method or attribute name: endMessageId: number;
Old version information: |Class name: CBConfigOptions;
Method or attribute name: endMessageId: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: CBConfigOptions;
Method or attribute name: ranType: RanType;
Old version information: |Class name: CBConfigOptions;
Method or attribute name: ranType: RanType;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimMessageOptions;
Method or attribute name: smsc: string;
Old version information: |Class name: SimMessageOptions;
Method or attribute name: smsc: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: UpdateSimMessageOptions;
Method or attribute name: smsc: string;
Old version information: |Class name: UpdateSimMessageOptions;
Method or attribute name: smsc: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimMessageOptions;
Method or attribute name: pdu: string;
Old version information: |Class name: SimMessageOptions;
Method or attribute name: pdu: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: UpdateSimMessageOptions;
Method or attribute name: pdu: string;
Old version information: |Class name: UpdateSimMessageOptions;
Method or attribute name: pdu: string;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimMessageOptions;
Method or attribute name: status: SimMessageStatus;
Old version information: |Class name: SimMessageOptions;
Method or attribute name: status: SimMessageStatus;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: UpdateSimMessageOptions;
Method or attribute name: msgIndex: number;
Old version information: |Class name: UpdateSimMessageOptions;
Method or attribute name: msgIndex: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: UpdateSimMessageOptions;
Method or attribute name: newStatus: SimMessageStatus;
Old version information: |Class name: UpdateSimMessageOptions;
Method or attribute name: newStatus: SimMessageStatus;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimShortMessage;
Method or attribute name: shortMessage: ShortMessage;
Old version information: |Class name: SimShortMessage;
Method or attribute name: shortMessage: ShortMessage;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimShortMessage;
Method or attribute name: simMessageStatus: SimMessageStatus;
Old version information: |Class name: SimShortMessage;
Method or attribute name: simMessageStatus: SimMessageStatus;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimShortMessage;
Method or attribute name: indexOnSim: number;
Old version information: |Class name: SimShortMessage;
Method or attribute name: indexOnSim: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimMessageStatus;
Method or attribute name: SIM_MESSAGE_STATUS_FREE = 0
Old version information: |Class name: SimMessageStatus;
Method or attribute name: SIM_MESSAGE_STATUS_FREE = 0
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimMessageStatus;
Method or attribute name: SIM_MESSAGE_STATUS_READ = 1
Old version information: |Class name: SimMessageStatus;
Method or attribute name: SIM_MESSAGE_STATUS_READ = 1
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimMessageStatus;
Method or attribute name: SIM_MESSAGE_STATUS_UNREAD = 3
Old version information: |Class name: SimMessageStatus;
Method or attribute name: SIM_MESSAGE_STATUS_UNREAD = 3
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimMessageStatus;
Method or attribute name: SIM_MESSAGE_STATUS_SENT = 5
Old version information: |Class name: SimMessageStatus;
Method or attribute name: SIM_MESSAGE_STATUS_SENT = 5
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SimMessageStatus;
Method or attribute name: SIM_MESSAGE_STATUS_UNSENT = 7
Old version information: |Class name: SimMessageStatus;
Method or attribute name: SIM_MESSAGE_STATUS_UNSENT = 7
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: RanType;
Method or attribute name: TYPE_GSM = 1
Old version information: |Class name: RanType;
Method or attribute name: TYPE_GSM = 1
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: RanType;
Method or attribute name: TYPE_CDMA = 2
Old version information: |Class name: RanType;
Method or attribute name: TYPE_CDMA = 2
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SmsSegmentsInfo;
Method or attribute name: splitCount: number;
Old version information: |Class name: SmsSegmentsInfo;
Method or attribute name: splitCount: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SmsSegmentsInfo;
Method or attribute name: encodeCount: number;
Old version information: |Class name: SmsSegmentsInfo;
Method or attribute name: encodeCount: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SmsSegmentsInfo;
Method or attribute name: encodeCountRemaining: number;
Old version information: |Class name: SmsSegmentsInfo;
Method or attribute name: encodeCountRemaining: number;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SmsSegmentsInfo;
Method or attribute name: scheme: SmsEncodingScheme;
Old version information: |Class name: SmsSegmentsInfo;
Method or attribute name: scheme: SmsEncodingScheme;
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SmsEncodingScheme;
Method or attribute name: SMS_ENCODING_UNKNOWN = 0
Old version information: |Class name: SmsEncodingScheme;
Method or attribute name: SMS_ENCODING_UNKNOWN = 0
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SmsEncodingScheme;
Method or attribute name: SMS_ENCODING_7BIT
Old version information: |Class name: SmsEncodingScheme;
Method or attribute name: SMS_ENCODING_7BIT
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SmsEncodingScheme;
Method or attribute name: SMS_ENCODING_8BIT
Old version information: |Class name: SmsEncodingScheme;
Method or attribute name: SMS_ENCODING_8BIT
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Access level changed|Class name: SmsEncodingScheme;
Method or attribute name: SMS_ENCODING_16BIT
Old version information: |Class name: SmsEncodingScheme;
Method or attribute name: SMS_ENCODING_16BIT
New version information: systemapi|@ohos.telephony.sms.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\): void;
Old version information: |Class name: call;
Method or attribute name: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\): void;
New version information: ohos.permission.PLACE_CALL|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function dial(phoneNumber: string, options?: DialOptions): Promise\;
Old version information: |Class name: call;
Method or attribute name: function dial(phoneNumber: string, options?: DialOptions): Promise\;
New version information: ohos.permission.PLACE_CALL|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function muteRinger(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function muteRinger(): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function holdCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function holdCall(callId: number): Promise\;
New version information: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise\;
New version information: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function switchCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function switchCall(callId: number): Promise\;
New version information: ohos.permission.ANSWER_CALL|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function isInEmergencyCall(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isInEmergencyCall(): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function isRinging(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isRinging(): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice, callback: AsyncCallback\): void;
Old version information: |Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice, callback: AsyncCallback\): void;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.call.d.ts| +|Permission changed|Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.data.d.ts| +|Permission changed|Class name: data;
Method or attribute name: function isCellularDataEnabled(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function isCellularDataEnabled(): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.telephony.data.d.ts| +|Permission changed|Class name: data;
Method or attribute name: function enableCellularData(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function enableCellularData(): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.data.d.ts| +|Permission changed|Class name: data;
Method or attribute name: function disableCellularData(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function disableCellularData(): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.data.d.ts| +|Permission changed|Class name: data;
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.telephony.data.d.ts| +|Permission changed|Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.data.d.ts| +|Permission changed|Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.data.d.ts| +|Permission changed|Class name: observer;
Method or attribute name: function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\): void;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.telephony.observer.d.ts| +|Permission changed|Class name: observer;
Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\>): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\>): void;
New version information: ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.observer.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
Old version information: |Class name: radio;
Method or attribute name: function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getNetworkState(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkState(slotId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getNetworkState(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkState(slotId?: number): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback\>): void;
Old version information: |Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback\>): void;
New version information: ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise\>;
Old version information: |Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise\>;
New version information: ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getIMEI(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getIMEI(slotId?: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getMEID(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getMEID(slotId?: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function isRadioOn(slotId: number, callback: AsyncCallback\): void
Old version information: |Class name: radio;
Method or attribute name: function isRadioOn(slotId: number, callback: AsyncCallback\): void
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function isRadioOn(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function isRadioOn(slotId?: number): Promise\;
New version information: ohos.permission.GET_NETWORK_INFO|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function turnOnRadio(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function turnOnRadio(slotId?: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback\): void;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function turnOffRadio(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function turnOffRadio(slotId?: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.radio.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getSimIccId(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimIccId(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getSimGid1(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimGid1(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getIMSI(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getIMSI(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(): Promise\>;
Old version information: |Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(): Promise\>;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function activateSim(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function activateSim(slotId: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function deactivateSim(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function deactivateSim(slotId: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getShowName(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getShowName(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getShowNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getShowNumber(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number): Promise\>;
Old version information: |Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number): Promise\>;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\>;
Old version information: |Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\>;
New version information: ohos.permission.READ_CONTACTS|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
New version information: ohos.permission.WRITE_CONTACTS|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
New version information: ohos.permission.WRITE_CONTACTS|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\;
New version information: ohos.permission.WRITE_CONTACTS|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sim.d.ts| +|Permission changed|Class name: sms;
Method or attribute name: function splitMessage(content: string): Promise\>;
Old version information: |Class name: sms;
Method or attribute name: function splitMessage(content: string): Promise\>;
New version information: ohos.permission.SEND_MESSAGES|@ohos.telephony.sms.d.ts| +|Permission changed|Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sms.d.ts| +|Permission changed|Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string): Promise\;
New version information: ohos.permission.SET_TELEPHONY_STATE|@ohos.telephony.sms.d.ts| +|Permission changed|Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number): Promise\;
New version information: ohos.permission.GET_TELEPHONY_STATE|@ohos.telephony.sms.d.ts| +|Permission changed|Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions): Promise\;
New version information: ohos.permission.RECEIVE_SMS,ohos.permission.SEND_MESSAGES|@ohos.telephony.sms.d.ts| +|Permission changed|Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number): Promise\;
New version information: ohos.permission.RECEIVE_SMS,ohos.permission.SEND_MESSAGES|@ohos.telephony.sms.d.ts| +|Permission changed|Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions): Promise\;
New version information: ohos.permission.RECEIVE_SMS,ohos.permission.SEND_MESSAGES|@ohos.telephony.sms.d.ts| +|Permission changed|Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number): Promise\>;
Old version information: |Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number): Promise\>;
New version information: ohos.permission.RECEIVE_SMS|@ohos.telephony.sms.d.ts| +|Permission changed|Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions): Promise\;
Old version information: |Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions): Promise\;
New version information: ohos.permission.RECEIVE_SMS|@ohos.telephony.sms.d.ts| +|Type changed|Class name: AudioDeviceInfo;
Method or attribute name: audioDeviceList: Array\;
Old version information: |Class name: AudioDeviceInfo;
Method or attribute name: audioDeviceList: Array\;
New version information: Array\|@ohos.telephony.call.d.ts| +|Type changed|Class name: AudioDeviceInfo;
Method or attribute name: currentAudioDevice: AudioDevice;
Old version information: |Class name: AudioDeviceInfo;
Method or attribute name: currentAudioDevice: AudioDevice;
New version information: AudioDevice|@ohos.telephony.call.d.ts| +|Type changed|Class name: AudioDeviceInfo;
Method or attribute name: isMuted: boolean;
Old version information: |Class name: AudioDeviceInfo;
Method or attribute name: isMuted: boolean;
New version information: boolean|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferInfo;
Method or attribute name: transferNum: string;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: transferNum: string;
New version information: string|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferInfo;
Method or attribute name: type: CallTransferType;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: type: CallTransferType;
New version information: CallTransferType|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferInfo;
Method or attribute name: settingType: CallTransferSettingType;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: settingType: CallTransferSettingType;
New version information: CallTransferSettingType|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferInfo;
Method or attribute name: startHour?: number;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: startHour?: number;
New version information: ?number|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferInfo;
Method or attribute name: startMinute?: number;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: startMinute?: number;
New version information: ?number|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferInfo;
Method or attribute name: endHour?: number;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: endHour?: number;
New version information: ?number|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferInfo;
Method or attribute name: endMinute?: number;
Old version information: |Class name: CallTransferInfo;
Method or attribute name: endMinute?: number;
New version information: ?number|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallAttributeOptions;
Method or attribute name: accountNumber: string;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: accountNumber: string;
New version information: string|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallAttributeOptions;
Method or attribute name: speakerphoneOn: boolean;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: speakerphoneOn: boolean;
New version information: boolean|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallAttributeOptions;
Method or attribute name: accountId: number;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: accountId: number;
New version information: number|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallAttributeOptions;
Method or attribute name: videoState: VideoStateType;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: videoState: VideoStateType;
New version information: VideoStateType|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallAttributeOptions;
Method or attribute name: startTime: number;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: startTime: number;
New version information: number|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallAttributeOptions;
Method or attribute name: isEcc: boolean;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: isEcc: boolean;
New version information: boolean|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallAttributeOptions;
Method or attribute name: callType: CallType;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: callType: CallType;
New version information: CallType|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallAttributeOptions;
Method or attribute name: callId: number;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: callId: number;
New version information: number|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallAttributeOptions;
Method or attribute name: callState: DetailedCallState;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: callState: DetailedCallState;
New version information: DetailedCallState|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallAttributeOptions;
Method or attribute name: conferenceState: ConferenceState;
Old version information: |Class name: CallAttributeOptions;
Method or attribute name: conferenceState: ConferenceState;
New version information: ConferenceState|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallRestrictionInfo;
Method or attribute name: type: CallRestrictionType;
Old version information: |Class name: CallRestrictionInfo;
Method or attribute name: type: CallRestrictionType;
New version information: CallRestrictionType|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallRestrictionInfo;
Method or attribute name: password: string;
Old version information: |Class name: CallRestrictionInfo;
Method or attribute name: password: string;
New version information: string|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallRestrictionInfo;
Method or attribute name: mode: CallRestrictionMode;
Old version information: |Class name: CallRestrictionInfo;
Method or attribute name: mode: CallRestrictionMode;
New version information: CallRestrictionMode|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallEventOptions;
Method or attribute name: eventId: CallAbilityEventId,
Old version information: |Class name: CallEventOptions;
Method or attribute name: eventId: CallAbilityEventId,
New version information: CallAbilityEventId|@ohos.telephony.call.d.ts| +|Type changed|Class name: DialOptions;
Method or attribute name: extras?: boolean;
Old version information: |Class name: DialOptions;
Method or attribute name: extras?: boolean;
New version information: ?boolean|@ohos.telephony.call.d.ts| +|Type changed|Class name: DialOptions;
Method or attribute name: accountId?: number;
Old version information: |Class name: DialOptions;
Method or attribute name: accountId?: number;
New version information: ?number|@ohos.telephony.call.d.ts| +|Type changed|Class name: DialCallOptions;
Method or attribute name: accountId?: number;
Old version information: |Class name: DialCallOptions;
Method or attribute name: accountId?: number;
New version information: ?number|@ohos.telephony.call.d.ts| +|Type changed|Class name: DialOptions;
Method or attribute name: videoState?: VideoStateType;
Old version information: |Class name: DialOptions;
Method or attribute name: videoState?: VideoStateType;
New version information: ?VideoStateType|@ohos.telephony.call.d.ts| +|Type changed|Class name: DialCallOptions;
Method or attribute name: videoState?: VideoStateType;
Old version information: |Class name: DialCallOptions;
Method or attribute name: videoState?: VideoStateType;
New version information: ?VideoStateType|@ohos.telephony.call.d.ts| +|Type changed|Class name: DialOptions;
Method or attribute name: dialScene?: DialScene;
Old version information: |Class name: DialOptions;
Method or attribute name: dialScene?: DialScene;
New version information: ?DialScene|@ohos.telephony.call.d.ts| +|Type changed|Class name: DialCallOptions;
Method or attribute name: dialScene?: DialScene;
Old version information: |Class name: DialCallOptions;
Method or attribute name: dialScene?: DialScene;
New version information: ?DialScene|@ohos.telephony.call.d.ts| +|Type changed|Class name: DialOptions;
Method or attribute name: dialType?: DialType;
Old version information: |Class name: DialOptions;
Method or attribute name: dialType?: DialType;
New version information: ?DialType|@ohos.telephony.call.d.ts| +|Type changed|Class name: DialCallOptions;
Method or attribute name: dialType?: DialType;
Old version information: |Class name: DialCallOptions;
Method or attribute name: dialType?: DialType;
New version information: ?DialType|@ohos.telephony.call.d.ts| +|Type changed|Class name: RejectMessageOptions;
Method or attribute name: messageContent: string;
Old version information: |Class name: RejectMessageOptions;
Method or attribute name: messageContent: string;
New version information: string|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferResult;
Method or attribute name: status: TransferStatus;
Old version information: |Class name: CallTransferResult;
Method or attribute name: status: TransferStatus;
New version information: TransferStatus|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferResult;
Method or attribute name: number: string;
Old version information: |Class name: CallTransferResult;
Method or attribute name: number: string;
New version information: string|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferResult;
Method or attribute name: startHour: number;
Old version information: |Class name: CallTransferResult;
Method or attribute name: startHour: number;
New version information: number|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferResult;
Method or attribute name: startMinute: number;
Old version information: |Class name: CallTransferResult;
Method or attribute name: startMinute: number;
New version information: number|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferResult;
Method or attribute name: endHour: number;
Old version information: |Class name: CallTransferResult;
Method or attribute name: endHour: number;
New version information: number|@ohos.telephony.call.d.ts| +|Type changed|Class name: CallTransferResult;
Method or attribute name: endMinute: number;
Old version information: |Class name: CallTransferResult;
Method or attribute name: endMinute: number;
New version information: number|@ohos.telephony.call.d.ts| +|Type changed|Class name: EmergencyNumberOptions;
Method or attribute name: slotId?: number;
Old version information: |Class name: EmergencyNumberOptions;
Method or attribute name: slotId?: number;
New version information: ?number|@ohos.telephony.call.d.ts| +|Type changed|Class name: NumberFormatOptions;
Method or attribute name: countryCode?: string;
Old version information: |Class name: NumberFormatOptions;
Method or attribute name: countryCode?: string;
New version information: ?string|@ohos.telephony.call.d.ts| +|Type changed|Class name: MmiCodeResults;
Method or attribute name: result: MmiCodeResult;
Old version information: |Class name: MmiCodeResults;
Method or attribute name: result: MmiCodeResult;
New version information: MmiCodeResult|@ohos.telephony.call.d.ts| +|Type changed|Class name: MmiCodeResults;
Method or attribute name: message: string;
Old version information: |Class name: MmiCodeResults;
Method or attribute name: message: string;
New version information: string|@ohos.telephony.call.d.ts| +|Type changed|Class name: DisconnectedDetails;
Method or attribute name: message: string;
Old version information: |Class name: DisconnectedDetails;
Method or attribute name: message: string;
New version information: string|@ohos.telephony.call.d.ts| +|Type changed|Class name: DisconnectedDetails;
Method or attribute name: reason: DisconnectedReason;
Old version information: |Class name: DisconnectedDetails;
Method or attribute name: reason: DisconnectedReason;
New version information: DisconnectedReason|@ohos.telephony.call.d.ts| +|Type changed|Class name: SimStateData;
Method or attribute name: type: CardType;
Old version information: |Class name: SimStateData;
Method or attribute name: type: CardType;
New version information: CardType|@ohos.telephony.observer.d.ts| +|Type changed|Class name: SimStateData;
Method or attribute name: state: SimState;
Old version information: |Class name: SimStateData;
Method or attribute name: state: SimState;
New version information: SimState|@ohos.telephony.observer.d.ts| +|Type changed|Class name: SimStateData;
Method or attribute name: reason: LockReason;
Old version information: |Class name: SimStateData;
Method or attribute name: reason: LockReason;
New version information: LockReason|@ohos.telephony.observer.d.ts| +|Type changed|Class name: SignalInformation;
Method or attribute name: signalType: NetworkType;
Old version information: |Class name: SignalInformation;
Method or attribute name: signalType: NetworkType;
New version information: NetworkType|@ohos.telephony.radio.d.ts| +|Type changed|Class name: SignalInformation;
Method or attribute name: signalLevel: number;
Old version information: |Class name: SignalInformation;
Method or attribute name: signalLevel: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: SignalInformation;
Method or attribute name: dBm: number;
Old version information: |Class name: SignalInformation;
Method or attribute name: dBm: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkState;
Method or attribute name: longOperatorName: string;
Old version information: |Class name: NetworkState;
Method or attribute name: longOperatorName: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkState;
Method or attribute name: shortOperatorName: string;
Old version information: |Class name: NetworkState;
Method or attribute name: shortOperatorName: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkState;
Method or attribute name: plmnNumeric: string;
Old version information: |Class name: NetworkState;
Method or attribute name: plmnNumeric: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkState;
Method or attribute name: isRoaming: boolean;
Old version information: |Class name: NetworkState;
Method or attribute name: isRoaming: boolean;
New version information: boolean|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkState;
Method or attribute name: regState: RegState;
Old version information: |Class name: NetworkState;
Method or attribute name: regState: RegState;
New version information: RegState|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkState;
Method or attribute name: cfgTech: RadioTechnology;
Old version information: |Class name: NetworkState;
Method or attribute name: cfgTech: RadioTechnology;
New version information: RadioTechnology|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkState;
Method or attribute name: nsaState: NsaState;
Old version information: |Class name: NetworkState;
Method or attribute name: nsaState: NsaState;
New version information: NsaState|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkState;
Method or attribute name: isCaActive: boolean;
Old version information: |Class name: NetworkState;
Method or attribute name: isCaActive: boolean;
New version information: boolean|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkState;
Method or attribute name: isEmergency: boolean;
Old version information: |Class name: NetworkState;
Method or attribute name: isEmergency: boolean;
New version information: boolean|@ohos.telephony.radio.d.ts| +|Type changed|Class name: CellInformation;
Method or attribute name: networkType: NetworkType;
Old version information: |Class name: CellInformation;
Method or attribute name: networkType: NetworkType;
New version information: NetworkType|@ohos.telephony.radio.d.ts| +|Type changed|Class name: CellInformation;
Method or attribute name: isCamped: boolean;
Old version information: |Class name: CellInformation;
Method or attribute name: isCamped: boolean;
New version information: boolean|@ohos.telephony.radio.d.ts| +|Type changed|Class name: CellInformation;
Method or attribute name: timeStamp: number;
Old version information: |Class name: CellInformation;
Method or attribute name: timeStamp: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: CellInformation;
Method or attribute name: signalInformation: SignalInformation;
Old version information: |Class name: CellInformation;
Method or attribute name: signalInformation: SignalInformation;
New version information: SignalInformation|@ohos.telephony.radio.d.ts| +|Type changed|Class name: CellInformation;
Method or attribute name: data: CdmaCellInformation \| GsmCellInformation \| LteCellInformation \| NrCellInformation \| TdscdmaCellInformation
\| WcdmaCellInformation;
Old version information: |Class name: CellInformation;
Method or attribute name: data: CdmaCellInformation \| GsmCellInformation \| LteCellInformation \| NrCellInformation \| TdscdmaCellInformation
\| WcdmaCellInformation;
New version information: CdmaCellInformation \| GsmCellInformation \| LteCellInformation \| NrCellInformation\| TdscdmaCellInformation \| WcdmaCellInformation|@ohos.telephony.radio.d.ts| +|Type changed|Class name: CdmaCellInformation;
Method or attribute name: baseId: number;
Old version information: |Class name: CdmaCellInformation;
Method or attribute name: baseId: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: CdmaCellInformation;
Method or attribute name: latitude: number;
Old version information: |Class name: CdmaCellInformation;
Method or attribute name: latitude: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: CdmaCellInformation;
Method or attribute name: longitude: number;
Old version information: |Class name: CdmaCellInformation;
Method or attribute name: longitude: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: CdmaCellInformation;
Method or attribute name: nid: number;
Old version information: |Class name: CdmaCellInformation;
Method or attribute name: nid: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: CdmaCellInformation;
Method or attribute name: sid: number;
Old version information: |Class name: CdmaCellInformation;
Method or attribute name: sid: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: GsmCellInformation;
Method or attribute name: lac: number;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: lac: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: TdscdmaCellInformation;
Method or attribute name: lac: number;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: lac: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: WcdmaCellInformation;
Method or attribute name: lac: number;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: lac: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: GsmCellInformation;
Method or attribute name: cellId: number;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: cellId: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: TdscdmaCellInformation;
Method or attribute name: cellId: number;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: cellId: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: WcdmaCellInformation;
Method or attribute name: cellId: number;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: cellId: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: GsmCellInformation;
Method or attribute name: arfcn: number;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: arfcn: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: GsmCellInformation;
Method or attribute name: bsic: number;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: bsic: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: GsmCellInformation;
Method or attribute name: mcc: string;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: mcc: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: LteCellInformation;
Method or attribute name: mcc: string;
Old version information: |Class name: LteCellInformation;
Method or attribute name: mcc: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NrCellInformation;
Method or attribute name: mcc: string;
Old version information: |Class name: NrCellInformation;
Method or attribute name: mcc: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: TdscdmaCellInformation;
Method or attribute name: mcc: string;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: mcc: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: WcdmaCellInformation;
Method or attribute name: mcc: string;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: mcc: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: GsmCellInformation;
Method or attribute name: mnc: string;
Old version information: |Class name: GsmCellInformation;
Method or attribute name: mnc: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: LteCellInformation;
Method or attribute name: mnc: string;
Old version information: |Class name: LteCellInformation;
Method or attribute name: mnc: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NrCellInformation;
Method or attribute name: mnc: string;
Old version information: |Class name: NrCellInformation;
Method or attribute name: mnc: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: TdscdmaCellInformation;
Method or attribute name: mnc: string;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: mnc: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: WcdmaCellInformation;
Method or attribute name: mnc: string;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: mnc: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: LteCellInformation;
Method or attribute name: cgi: number;
Old version information: |Class name: LteCellInformation;
Method or attribute name: cgi: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: LteCellInformation;
Method or attribute name: pci: number;
Old version information: |Class name: LteCellInformation;
Method or attribute name: pci: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NrCellInformation;
Method or attribute name: pci: number;
Old version information: |Class name: NrCellInformation;
Method or attribute name: pci: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: LteCellInformation;
Method or attribute name: tac: number;
Old version information: |Class name: LteCellInformation;
Method or attribute name: tac: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NrCellInformation;
Method or attribute name: tac: number;
Old version information: |Class name: NrCellInformation;
Method or attribute name: tac: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: LteCellInformation;
Method or attribute name: earfcn: number;
Old version information: |Class name: LteCellInformation;
Method or attribute name: earfcn: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: LteCellInformation;
Method or attribute name: bandwidth: number;
Old version information: |Class name: LteCellInformation;
Method or attribute name: bandwidth: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: LteCellInformation;
Method or attribute name: isSupportEndc: boolean;
Old version information: |Class name: LteCellInformation;
Method or attribute name: isSupportEndc: boolean;
New version information: boolean|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NrCellInformation;
Method or attribute name: nrArfcn: number;
Old version information: |Class name: NrCellInformation;
Method or attribute name: nrArfcn: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NrCellInformation;
Method or attribute name: nci: number;
Old version information: |Class name: NrCellInformation;
Method or attribute name: nci: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: TdscdmaCellInformation;
Method or attribute name: cpid: number;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: cpid: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: TdscdmaCellInformation;
Method or attribute name: uarfcn: number;
Old version information: |Class name: TdscdmaCellInformation;
Method or attribute name: uarfcn: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: WcdmaCellInformation;
Method or attribute name: uarfcn: number;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: uarfcn: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: WcdmaCellInformation;
Method or attribute name: psc: number;
Old version information: |Class name: WcdmaCellInformation;
Method or attribute name: psc: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkSearchResult;
Method or attribute name: isNetworkSearchSuccess: boolean;
Old version information: |Class name: NetworkSearchResult;
Method or attribute name: isNetworkSearchSuccess: boolean;
New version information: boolean|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkSearchResult;
Method or attribute name: networkSearchResult: Array\;
Old version information: |Class name: NetworkSearchResult;
Method or attribute name: networkSearchResult: Array\;
New version information: Array\|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkInformation;
Method or attribute name: operatorName: string;
Old version information: |Class name: NetworkInformation;
Method or attribute name: operatorName: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkInformation;
Method or attribute name: operatorNumeric: string;
Old version information: |Class name: NetworkInformation;
Method or attribute name: operatorNumeric: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkInformation;
Method or attribute name: state: NetworkInformationState;
Old version information: |Class name: NetworkInformation;
Method or attribute name: state: NetworkInformationState;
New version information: NetworkInformationState|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkInformation;
Method or attribute name: radioTech: string;
Old version information: |Class name: NetworkInformation;
Method or attribute name: radioTech: string;
New version information: string|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkSelectionModeOptions;
Method or attribute name: slotId: number;
Old version information: |Class name: NetworkSelectionModeOptions;
Method or attribute name: slotId: number;
New version information: number|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkSelectionModeOptions;
Method or attribute name: selectMode: NetworkSelectionMode;
Old version information: |Class name: NetworkSelectionModeOptions;
Method or attribute name: selectMode: NetworkSelectionMode;
New version information: NetworkSelectionMode|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkSelectionModeOptions;
Method or attribute name: networkInformation: NetworkInformation;
Old version information: |Class name: NetworkSelectionModeOptions;
Method or attribute name: networkInformation: NetworkInformation;
New version information: NetworkInformation|@ohos.telephony.radio.d.ts| +|Type changed|Class name: NetworkSelectionModeOptions;
Method or attribute name: resumeSelection: boolean;
Old version information: |Class name: NetworkSelectionModeOptions;
Method or attribute name: resumeSelection: boolean;
New version information: boolean|@ohos.telephony.radio.d.ts| +|Type changed|Class name: ImsRegInfo;
Method or attribute name: imsRegState: ImsRegState;
Old version information: |Class name: ImsRegInfo;
Method or attribute name: imsRegState: ImsRegState;
New version information: ImsRegState|@ohos.telephony.radio.d.ts| +|Type changed|Class name: ImsRegInfo;
Method or attribute name: imsRegTech: ImsRegTech;
Old version information: |Class name: ImsRegInfo;
Method or attribute name: imsRegTech: ImsRegTech;
New version information: ImsRegTech|@ohos.telephony.radio.d.ts| +|Type changed|Class name: OperatorConfig;
Method or attribute name: field: string;
Old version information: |Class name: OperatorConfig;
Method or attribute name: field: string;
New version information: string|@ohos.telephony.sim.d.ts| +|Type changed|Class name: OperatorConfig;
Method or attribute name: value: string;
Old version information: |Class name: OperatorConfig;
Method or attribute name: value: string;
New version information: string|@ohos.telephony.sim.d.ts| +|Type changed|Class name: IccAccountInfo;
Method or attribute name: simId: number;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: simId: number;
New version information: number|@ohos.telephony.sim.d.ts| +|Type changed|Class name: IccAccountInfo;
Method or attribute name: slotIndex: number;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: slotIndex: number;
New version information: number|@ohos.telephony.sim.d.ts| +|Type changed|Class name: IccAccountInfo;
Method or attribute name: isEsim: boolean;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: isEsim: boolean;
New version information: boolean|@ohos.telephony.sim.d.ts| +|Type changed|Class name: IccAccountInfo;
Method or attribute name: isActive: boolean;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: isActive: boolean;
New version information: boolean|@ohos.telephony.sim.d.ts| +|Type changed|Class name: IccAccountInfo;
Method or attribute name: iccId: string;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: iccId: string;
New version information: string|@ohos.telephony.sim.d.ts| +|Type changed|Class name: IccAccountInfo;
Method or attribute name: showName: string;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: showName: string;
New version information: string|@ohos.telephony.sim.d.ts| +|Type changed|Class name: IccAccountInfo;
Method or attribute name: showNumber: string;
Old version information: |Class name: IccAccountInfo;
Method or attribute name: showNumber: string;
New version information: string|@ohos.telephony.sim.d.ts| +|Type changed|Class name: LockStatusResponse;
Method or attribute name: result: number;
Old version information: |Class name: LockStatusResponse;
Method or attribute name: result: number;
New version information: number|@ohos.telephony.sim.d.ts| +|Type changed|Class name: LockStatusResponse;
Method or attribute name: remain?: number;
Old version information: |Class name: LockStatusResponse;
Method or attribute name: remain?: number;
New version information: ?number|@ohos.telephony.sim.d.ts| +|Type changed|Class name: DiallingNumbersInfo;
Method or attribute name: alphaTag: string;
Old version information: |Class name: DiallingNumbersInfo;
Method or attribute name: alphaTag: string;
New version information: string|@ohos.telephony.sim.d.ts| +|Type changed|Class name: DiallingNumbersInfo;
Method or attribute name: number: string;
Old version information: |Class name: DiallingNumbersInfo;
Method or attribute name: number: string;
New version information: string|@ohos.telephony.sim.d.ts| +|Type changed|Class name: DiallingNumbersInfo;
Method or attribute name: recordNumber?: number;
Old version information: |Class name: DiallingNumbersInfo;
Method or attribute name: recordNumber?: number;
New version information: ?number|@ohos.telephony.sim.d.ts| +|Type changed|Class name: DiallingNumbersInfo;
Method or attribute name: pin2?: string;
Old version information: |Class name: DiallingNumbersInfo;
Method or attribute name: pin2?: string;
New version information: ?string|@ohos.telephony.sim.d.ts| +|Type changed|Class name: LockInfo;
Method or attribute name: lockType: LockType;
Old version information: |Class name: LockInfo;
Method or attribute name: lockType: LockType;
New version information: LockType|@ohos.telephony.sim.d.ts| +|Type changed|Class name: LockInfo;
Method or attribute name: password: string;
Old version information: |Class name: LockInfo;
Method or attribute name: password: string;
New version information: string|@ohos.telephony.sim.d.ts| +|Type changed|Class name: PersoLockInfo;
Method or attribute name: password: string;
Old version information: |Class name: PersoLockInfo;
Method or attribute name: password: string;
New version information: string|@ohos.telephony.sim.d.ts| +|Type changed|Class name: LockInfo;
Method or attribute name: state: LockState;
Old version information: |Class name: LockInfo;
Method or attribute name: state: LockState;
New version information: LockState|@ohos.telephony.sim.d.ts| +|Type changed|Class name: PersoLockInfo;
Method or attribute name: lockType: PersoLockType;
Old version information: |Class name: PersoLockInfo;
Method or attribute name: lockType: PersoLockType;
New version information: PersoLockType|@ohos.telephony.sim.d.ts| +|Type changed|Class name: MmsInformation;
Method or attribute name: messageType: MessageType;
Old version information: |Class name: MmsInformation;
Method or attribute name: messageType: MessageType;
New version information: MessageType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsInformation;
Method or attribute name: mmsType: MmsSendReq \| MmsSendConf \| MmsNotificationInd \| MmsRespInd \| MmsRetrieveConf \| MmsAcknowledgeInd \| MmsDeliveryInd \| MmsReadOrigInd \| MmsReadRecInd;
Old version information: |Class name: MmsInformation;
Method or attribute name: mmsType: MmsSendReq \| MmsSendConf \| MmsNotificationInd \| MmsRespInd \| MmsRetrieveConf \| MmsAcknowledgeInd \| MmsDeliveryInd \| MmsReadOrigInd \| MmsReadRecInd;
New version information: MmsSendReq \| MmsSendConf \| MmsNotificationInd \| MmsRespInd \| MmsRetrieveConf \| MmsAcknowledgeInd \|MmsDeliveryInd \| MmsReadOrigInd \| MmsReadRecInd|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsInformation;
Method or attribute name: attachment?: Array\;
Old version information: |Class name: MmsInformation;
Method or attribute name: attachment?: Array\;
New version information: ?Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: from: MmsAddress;
Old version information: |Class name: MmsSendReq;
Method or attribute name: from: MmsAddress;
New version information: MmsAddress|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadOrigInd;
Method or attribute name: from: MmsAddress;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: from: MmsAddress;
New version information: MmsAddress|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadRecInd;
Method or attribute name: from: MmsAddress;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: from: MmsAddress;
New version information: MmsAddress|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsSendReq;
Method or attribute name: transactionId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendConf;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsSendConf;
Method or attribute name: transactionId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsNotificationInd;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: transactionId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRespInd;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsRespInd;
Method or attribute name: transactionId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: transactionId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAcknowledgeInd;
Method or attribute name: transactionId: string;
Old version information: |Class name: MmsAcknowledgeInd;
Method or attribute name: transactionId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: contentType: string;
Old version information: |Class name: MmsSendReq;
Method or attribute name: contentType: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: contentType: string;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: contentType: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAttachment;
Method or attribute name: contentType: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: contentType: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsSendReq;
Method or attribute name: version: MmsVersionType;
New version information: MmsVersionType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendConf;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsSendConf;
Method or attribute name: version: MmsVersionType;
New version information: MmsVersionType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsNotificationInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: version: MmsVersionType;
New version information: MmsVersionType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRespInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsRespInd;
Method or attribute name: version: MmsVersionType;
New version information: MmsVersionType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: version: MmsVersionType;
New version information: MmsVersionType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAcknowledgeInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsAcknowledgeInd;
Method or attribute name: version: MmsVersionType;
New version information: MmsVersionType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsDeliveryInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsDeliveryInd;
Method or attribute name: version: MmsVersionType;
New version information: MmsVersionType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadOrigInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: version: MmsVersionType;
New version information: MmsVersionType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadRecInd;
Method or attribute name: version: MmsVersionType;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: version: MmsVersionType;
New version information: MmsVersionType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: to?: Array\;
Old version information: |Class name: MmsSendReq;
Method or attribute name: to?: Array\;
New version information: ?Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: date?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: date?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadRecInd;
Method or attribute name: date?: number;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: date?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: cc?: Array\;
Old version information: |Class name: MmsSendReq;
Method or attribute name: cc?: Array\;
New version information: ?Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: cc?: Array\;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: cc?: Array\;
New version information: ?Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: bcc?: Array\;
Old version information: |Class name: MmsSendReq;
Method or attribute name: bcc?: Array\;
New version information: ?Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: subject?: string;
Old version information: |Class name: MmsSendReq;
Method or attribute name: subject?: string;
New version information: ?string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsNotificationInd;
Method or attribute name: subject?: string;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: subject?: string;
New version information: ?string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: subject?: string;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: subject?: string;
New version information: ?string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: messageClass?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: messageClass?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: expiry?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: expiry?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: priority?: MmsPriorityType;
Old version information: |Class name: MmsSendReq;
Method or attribute name: priority?: MmsPriorityType;
New version information: ?MmsPriorityType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: priority?: MmsPriorityType;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: priority?: MmsPriorityType;
New version information: ?MmsPriorityType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: senderVisibility?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: senderVisibility?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: deliveryReport?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: deliveryReport?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsNotificationInd;
Method or attribute name: deliveryReport?: number;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: deliveryReport?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: deliveryReport?: number;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: deliveryReport?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendReq;
Method or attribute name: readReport?: number;
Old version information: |Class name: MmsSendReq;
Method or attribute name: readReport?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: readReport?: number;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: readReport?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendConf;
Method or attribute name: responseState: number;
Old version information: |Class name: MmsSendConf;
Method or attribute name: responseState: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsSendConf;
Method or attribute name: messageId?: string;
Old version information: |Class name: MmsSendConf;
Method or attribute name: messageId?: string;
New version information: ?string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsNotificationInd;
Method or attribute name: messageClass: number;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: messageClass: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsNotificationInd;
Method or attribute name: messageSize: number;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: messageSize: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsNotificationInd;
Method or attribute name: expiry: number;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: expiry: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsNotificationInd;
Method or attribute name: contentLocation: string;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: contentLocation: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAttachment;
Method or attribute name: contentLocation: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: contentLocation: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsNotificationInd;
Method or attribute name: from?: MmsAddress;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: from?: MmsAddress;
New version information: ?MmsAddress|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: from?: MmsAddress;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: from?: MmsAddress;
New version information: ?MmsAddress|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsNotificationInd;
Method or attribute name: contentClass?: number;
Old version information: |Class name: MmsNotificationInd;
Method or attribute name: contentClass?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRespInd;
Method or attribute name: status: number;
Old version information: |Class name: MmsRespInd;
Method or attribute name: status: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsDeliveryInd;
Method or attribute name: status: number;
Old version information: |Class name: MmsDeliveryInd;
Method or attribute name: status: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: status: number;
Old version information: |Class name: ShortMessage;
Method or attribute name: status: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRespInd;
Method or attribute name: reportAllowed?: ReportType;
Old version information: |Class name: MmsRespInd;
Method or attribute name: reportAllowed?: ReportType;
New version information: ?ReportType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAcknowledgeInd;
Method or attribute name: reportAllowed?: ReportType;
Old version information: |Class name: MmsAcknowledgeInd;
Method or attribute name: reportAllowed?: ReportType;
New version information: ?ReportType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: messageId: string;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: messageId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsDeliveryInd;
Method or attribute name: messageId: string;
Old version information: |Class name: MmsDeliveryInd;
Method or attribute name: messageId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadOrigInd;
Method or attribute name: messageId: string;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: messageId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadRecInd;
Method or attribute name: messageId: string;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: messageId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: date: number;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: date: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsDeliveryInd;
Method or attribute name: date: number;
Old version information: |Class name: MmsDeliveryInd;
Method or attribute name: date: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadOrigInd;
Method or attribute name: date: number;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: date: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: to: Array\;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: to: Array\;
New version information: Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsDeliveryInd;
Method or attribute name: to: Array\;
Old version information: |Class name: MmsDeliveryInd;
Method or attribute name: to: Array\;
New version information: Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadOrigInd;
Method or attribute name: to: Array\;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: to: Array\;
New version information: Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadRecInd;
Method or attribute name: to: Array\;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: to: Array\;
New version information: Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: retrieveStatus?: number;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: retrieveStatus?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsRetrieveConf;
Method or attribute name: retrieveText?: string;
Old version information: |Class name: MmsRetrieveConf;
Method or attribute name: retrieveText?: string;
New version information: ?string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadOrigInd;
Method or attribute name: readStatus: number;
Old version information: |Class name: MmsReadOrigInd;
Method or attribute name: readStatus: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsReadRecInd;
Method or attribute name: readStatus: number;
Old version information: |Class name: MmsReadRecInd;
Method or attribute name: readStatus: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAttachment;
Method or attribute name: contentId: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: contentId: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAttachment;
Method or attribute name: contentDisposition: DispositionType;
Old version information: |Class name: MmsAttachment;
Method or attribute name: contentDisposition: DispositionType;
New version information: DispositionType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAttachment;
Method or attribute name: contentTransferEncoding: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: contentTransferEncoding: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAttachment;
Method or attribute name: isSmil: boolean;
Old version information: |Class name: MmsAttachment;
Method or attribute name: isSmil: boolean;
New version information: boolean|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAttachment;
Method or attribute name: path?: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: path?: string;
New version information: ?string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAttachment;
Method or attribute name: inBuff?: Array\;
Old version information: |Class name: MmsAttachment;
Method or attribute name: inBuff?: Array\;
New version information: ?Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAttachment;
Method or attribute name: fileName?: string;
Old version information: |Class name: MmsAttachment;
Method or attribute name: fileName?: string;
New version information: ?string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAttachment;
Method or attribute name: charset?: MmsCharSets;
Old version information: |Class name: MmsAttachment;
Method or attribute name: charset?: MmsCharSets;
New version information: ?MmsCharSets|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAddress;
Method or attribute name: address: string;
Old version information: |Class name: MmsAddress;
Method or attribute name: address: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: MmsAddress;
Method or attribute name: charset: MmsCharSets;
Old version information: |Class name: MmsAddress;
Method or attribute name: charset: MmsCharSets;
New version information: MmsCharSets|@ohos.telephony.sms.d.ts| +|Type changed|Class name: CBConfigOptions;
Method or attribute name: slotId: number;
Old version information: |Class name: CBConfigOptions;
Method or attribute name: slotId: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SimMessageOptions;
Method or attribute name: slotId: number;
Old version information: |Class name: SimMessageOptions;
Method or attribute name: slotId: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: UpdateSimMessageOptions;
Method or attribute name: slotId: number;
Old version information: |Class name: UpdateSimMessageOptions;
Method or attribute name: slotId: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SendMessageOptions;
Method or attribute name: slotId: number;
Old version information: |Class name: SendMessageOptions;
Method or attribute name: slotId: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: CBConfigOptions;
Method or attribute name: enable: boolean;
Old version information: |Class name: CBConfigOptions;
Method or attribute name: enable: boolean;
New version information: boolean|@ohos.telephony.sms.d.ts| +|Type changed|Class name: CBConfigOptions;
Method or attribute name: startMessageId: number;
Old version information: |Class name: CBConfigOptions;
Method or attribute name: startMessageId: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: CBConfigOptions;
Method or attribute name: endMessageId: number;
Old version information: |Class name: CBConfigOptions;
Method or attribute name: endMessageId: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: CBConfigOptions;
Method or attribute name: ranType: RanType;
Old version information: |Class name: CBConfigOptions;
Method or attribute name: ranType: RanType;
New version information: RanType|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SimMessageOptions;
Method or attribute name: smsc: string;
Old version information: |Class name: SimMessageOptions;
Method or attribute name: smsc: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: UpdateSimMessageOptions;
Method or attribute name: smsc: string;
Old version information: |Class name: UpdateSimMessageOptions;
Method or attribute name: smsc: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SimMessageOptions;
Method or attribute name: pdu: string;
Old version information: |Class name: SimMessageOptions;
Method or attribute name: pdu: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: UpdateSimMessageOptions;
Method or attribute name: pdu: string;
Old version information: |Class name: UpdateSimMessageOptions;
Method or attribute name: pdu: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SimMessageOptions;
Method or attribute name: status: SimMessageStatus;
Old version information: |Class name: SimMessageOptions;
Method or attribute name: status: SimMessageStatus;
New version information: SimMessageStatus|@ohos.telephony.sms.d.ts| +|Type changed|Class name: UpdateSimMessageOptions;
Method or attribute name: msgIndex: number;
Old version information: |Class name: UpdateSimMessageOptions;
Method or attribute name: msgIndex: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: UpdateSimMessageOptions;
Method or attribute name: newStatus: SimMessageStatus;
Old version information: |Class name: UpdateSimMessageOptions;
Method or attribute name: newStatus: SimMessageStatus;
New version information: SimMessageStatus|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: visibleMessageBody: string;
Old version information: |Class name: ShortMessage;
Method or attribute name: visibleMessageBody: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: visibleRawAddress: string;
Old version information: |Class name: ShortMessage;
Method or attribute name: visibleRawAddress: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: messageClass: ShortMessageClass;
Old version information: |Class name: ShortMessage;
Method or attribute name: messageClass: ShortMessageClass;
New version information: ShortMessageClass|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: protocolId: number;
Old version information: |Class name: ShortMessage;
Method or attribute name: protocolId: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: scAddress: string;
Old version information: |Class name: ShortMessage;
Method or attribute name: scAddress: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: scTimestamp: number;
Old version information: |Class name: ShortMessage;
Method or attribute name: scTimestamp: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: isReplaceMessage: boolean;
Old version information: |Class name: ShortMessage;
Method or attribute name: isReplaceMessage: boolean;
New version information: boolean|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: hasReplyPath: boolean;
Old version information: |Class name: ShortMessage;
Method or attribute name: hasReplyPath: boolean;
New version information: boolean|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: pdu: Array\;
Old version information: |Class name: ShortMessage;
Method or attribute name: pdu: Array\;
New version information: Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: IDeliveryShortMessageCallback;
Method or attribute name: pdu: Array\;
Old version information: |Class name: IDeliveryShortMessageCallback;
Method or attribute name: pdu: Array\;
New version information: Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ShortMessage;
Method or attribute name: isSmsStatusReportMessage: boolean;
Old version information: |Class name: ShortMessage;
Method or attribute name: isSmsStatusReportMessage: boolean;
New version information: boolean|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SimShortMessage;
Method or attribute name: shortMessage: ShortMessage;
Old version information: |Class name: SimShortMessage;
Method or attribute name: shortMessage: ShortMessage;
New version information: ShortMessage|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SimShortMessage;
Method or attribute name: simMessageStatus: SimMessageStatus;
Old version information: |Class name: SimShortMessage;
Method or attribute name: simMessageStatus: SimMessageStatus;
New version information: SimMessageStatus|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SimShortMessage;
Method or attribute name: indexOnSim: number;
Old version information: |Class name: SimShortMessage;
Method or attribute name: indexOnSim: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SendMessageOptions;
Method or attribute name: destinationHost: string;
Old version information: |Class name: SendMessageOptions;
Method or attribute name: destinationHost: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SendMessageOptions;
Method or attribute name: serviceCenter?: string;
Old version information: |Class name: SendMessageOptions;
Method or attribute name: serviceCenter?: string;
New version information: ?string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SendMessageOptions;
Method or attribute name: content: string \| Array\;
Old version information: |Class name: SendMessageOptions;
Method or attribute name: content: string \| Array\;
New version information: string \| Array\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SendMessageOptions;
Method or attribute name: destinationPort?: number;
Old version information: |Class name: SendMessageOptions;
Method or attribute name: destinationPort?: number;
New version information: ?number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SendMessageOptions;
Method or attribute name: sendCallback?: AsyncCallback\;
Old version information: |Class name: SendMessageOptions;
Method or attribute name: sendCallback?: AsyncCallback\;
New version information: ?AsyncCallback\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SendMessageOptions;
Method or attribute name: deliveryCallback?: AsyncCallback\;
Old version information: |Class name: SendMessageOptions;
Method or attribute name: deliveryCallback?: AsyncCallback\;
New version information: ?AsyncCallback\|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ISendShortMessageCallback;
Method or attribute name: result: SendSmsResult;
Old version information: |Class name: ISendShortMessageCallback;
Method or attribute name: result: SendSmsResult;
New version information: SendSmsResult|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ISendShortMessageCallback;
Method or attribute name: url: string;
Old version information: |Class name: ISendShortMessageCallback;
Method or attribute name: url: string;
New version information: string|@ohos.telephony.sms.d.ts| +|Type changed|Class name: ISendShortMessageCallback;
Method or attribute name: isLastPart: boolean;
Old version information: |Class name: ISendShortMessageCallback;
Method or attribute name: isLastPart: boolean;
New version information: boolean|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SmsSegmentsInfo;
Method or attribute name: splitCount: number;
Old version information: |Class name: SmsSegmentsInfo;
Method or attribute name: splitCount: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SmsSegmentsInfo;
Method or attribute name: encodeCount: number;
Old version information: |Class name: SmsSegmentsInfo;
Method or attribute name: encodeCount: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SmsSegmentsInfo;
Method or attribute name: encodeCountRemaining: number;
Old version information: |Class name: SmsSegmentsInfo;
Method or attribute name: encodeCountRemaining: number;
New version information: number|@ohos.telephony.sms.d.ts| +|Type changed|Class name: SmsSegmentsInfo;
Method or attribute name: scheme: SmsEncodingScheme;
Old version information: |Class name: SmsSegmentsInfo;
Method or attribute name: scheme: SmsEncodingScheme;
New version information: SmsEncodingScheme|@ohos.telephony.sms.d.ts| +|Function changed|Class name: call;
Method or attribute name: function setVoNRState(slotId: number, state: VoNRState, callback: AsyncCallback\): void;|Class name: call;
Method or attribute name: function setVoNRState(slotId: number, state: VoNRState, callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts| +|Function changed|Class name: call;
Method or attribute name: function setVoNRState(slotId: number, state: VoNRState): Promise\;|Class name: call;
Method or attribute name: function setVoNRState(slotId: number, state: VoNRState): Promise\;|@ohos.telephony.call.d.ts| +|Function changed|Class name: VoNRState;
Method or attribute name: VONR_STATE_ON = 0|Class name: VoNRState;
Method or attribute name: VONR_STATE_ON = 1|@ohos.telephony.call.d.ts| +|Function changed|Class name: radio;
Method or attribute name: function getBasebandVersion(slotId: number, callback: AsyncCallback\): void;|Class name: radio;
Method or attribute name: function getBasebandVersion(slotId: number, callback: AsyncCallback\): void;|@ohos.telephony.radio.d.ts| +|Function changed|Class name: radio;
Method or attribute name: function getBasebandVersion(slotId: number): Promise\;|Class name: radio;
Method or attribute name: function getBasebandVersion(slotId: number): Promise\;|@ohos.telephony.radio.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-unitest.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-unitest.md new file mode 100644 index 0000000000000000000000000000000000000000..57abed394987c4098b81d59b714360cf3a2da35c --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-unitest.md @@ -0,0 +1,12 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: UIElementInfo;
Method or attribute name: readonly bundleName: string;|@ohos.UiTest.d.ts| +|Added|NA|Class name: UIElementInfo;
Method or attribute name: readonly type: string;|@ohos.UiTest.d.ts| +|Added|NA|Class name: UIElementInfo;
Method or attribute name: readonly text: string;|@ohos.UiTest.d.ts| +|Added|NA|Class name: UIEventObserver;
Method or attribute name: once(type: 'toastShow', callback: Callback\): void;|@ohos.UiTest.d.ts| +|Added|NA|Class name: UIEventObserver;
Method or attribute name: once(type: 'dialogShow', callback: Callback\): void;|@ohos.UiTest.d.ts| +|Added|NA|Class name: Driver;
Method or attribute name: createUIEventObserver(): UIEventObserver;|@ohos.UiTest.d.ts| +|Type changed|Class name: WindowFilter;
Method or attribute name: bundleName?: string;
Old version information: string?|Class name: WindowFilter;
Method or attribute name: bundleName?: string;
New version information: ?string|@ohos.UiTest.d.ts| +|Type changed|Class name: WindowFilter;
Method or attribute name: title?: string;
Old version information: string?|Class name: WindowFilter;
Method or attribute name: title?: string;
New version information: ?string|@ohos.UiTest.d.ts| +|Type changed|Class name: WindowFilter;
Method or attribute name: focused?: boolean;
Old version information: boolean?|Class name: WindowFilter;
Method or attribute name: focused?: boolean;
New version information: ?boolean|@ohos.UiTest.d.ts| +|Type changed|Class name: WindowFilter;
Method or attribute name: actived?: boolean;
Old version information: boolean?|Class name: WindowFilter;
Method or attribute name: actived?: boolean;
New version information: ?boolean|@ohos.UiTest.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-usb.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-usb.md new file mode 100644 index 0000000000000000000000000000000000000000..d4b18d4d64c8dcc50229da9b317c96aa8f66820a --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-usb.md @@ -0,0 +1,3 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Error code changed|Class name: usbManager;
Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\;
Old version information: 401|Class name: usbManager;
Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\;
New version information: 401,14400002|@ohos.usbManager.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-web.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-web.md new file mode 100644 index 0000000000000000000000000000000000000000..7a77cf20fce0e6a8fdf5368ad64aa8f942a33b40 --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-web.md @@ -0,0 +1,19 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: SecureDnsMode;
Method or attribute name: OFF = 0|@ohos.web.webview.d.ts| +|Added|NA|Class name: SecureDnsMode;
Method or attribute name: AUTO = 1|@ohos.web.webview.d.ts| +|Added|NA|Class name: SecureDnsMode;
Method or attribute name: SECURE_ONLY = 2|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController;
Method or attribute name: prefetchPage(url: string, additionalHeaders?: Array\): void;|@ohos.web.webview.d.ts| +|Added|NA|Class name: WebviewController;
Method or attribute name: static prepareForPageLoad(url: string, preconnectable: boolean, numSockets: number): void;|@ohos.web.webview.d.ts| +|Deprecated version changed|Class name: SecureDnsMode;
Method or attribute name: Off = 0
Old version information: |Class name: SecureDnsMode;
Method or attribute name: Off = 0
New version information: 10
Substitute API: SecureDnsMode#OFF|@ohos.web.webview.d.ts| +|Deprecated version changed|Class name: SecureDnsMode;
Method or attribute name: Auto = 1
Old version information: |Class name: SecureDnsMode;
Method or attribute name: Auto = 1
New version information: 10
Substitute API: SecureDnsMode#AUTO|@ohos.web.webview.d.ts| +|Deprecated version changed|Class name: SecureDnsMode;
Method or attribute name: SecureOnly = 2
Old version information: |Class name: SecureDnsMode;
Method or attribute name: SecureOnly = 2
New version information: 10
Substitute API: SecureDnsMode#SECURE_ONLY|@ohos.web.webview.d.ts| +|Error code added|Class name: WebStorage;
Method or attribute name: static getOrigins(callback: AsyncCallback\>): void;
Old version information: |Class name: WebStorage;
Method or attribute name: static getOrigins(callback: AsyncCallback\>): void;
New version information: 401,17100012|@ohos.web.webview.d.ts| +|Error code added|Class name: WebStorage;
Method or attribute name: static getOriginQuota(origin: string, callback: AsyncCallback\): void;
Old version information: |Class name: WebStorage;
Method or attribute name: static getOriginQuota(origin: string, callback: AsyncCallback\): void;
New version information: 401,17100011|@ohos.web.webview.d.ts| +|Error code added|Class name: WebStorage;
Method or attribute name: static getOriginUsage(origin: string, callback: AsyncCallback\): void;
Old version information: |Class name: WebStorage;
Method or attribute name: static getOriginUsage(origin: string, callback: AsyncCallback\): void;
New version information: 401,17100011|@ohos.web.webview.d.ts| +|Error code added|Class name: GeolocationPermissions;
Method or attribute name: static getAccessibleGeolocation(origin: string, callback: AsyncCallback\): void;
Old version information: |Class name: GeolocationPermissions;
Method or attribute name: static getAccessibleGeolocation(origin: string, callback: AsyncCallback\): void;
New version information: 401,17100011|@ohos.web.webview.d.ts| +|Error code added|Class name: GeolocationPermissions;
Method or attribute name: static getStoredGeolocation(callback: AsyncCallback\>): void;
Old version information: |Class name: GeolocationPermissions;
Method or attribute name: static getStoredGeolocation(callback: AsyncCallback\>): void;
New version information: 401|@ohos.web.webview.d.ts| +|Error code added|Class name: WebCookieManager;
Method or attribute name: static saveCookieAsync(callback: AsyncCallback\): void;
Old version information: |Class name: WebCookieManager;
Method or attribute name: static saveCookieAsync(callback: AsyncCallback\): void;
New version information: 401|@ohos.web.webview.d.ts| +|Error code added|Class name: WebviewController;
Method or attribute name: storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback\): void;
Old version information: |Class name: WebviewController;
Method or attribute name: storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback\): void;
New version information: 401,17100001,17100003|@ohos.web.webview.d.ts| +|Error code added|Class name: WebviewController;
Method or attribute name: runJavaScript(script: string, callback: AsyncCallback\): void;
Old version information: |Class name: WebviewController;
Method or attribute name: runJavaScript(script: string, callback: AsyncCallback\): void;
New version information: 401,17100001|@ohos.web.webview.d.ts| +|Error code added|Class name: WebviewController;
Method or attribute name: runJavaScriptExt(script: string, callback: AsyncCallback\): void;
Old version information: |Class name: WebviewController;
Method or attribute name: runJavaScriptExt(script: string, callback: AsyncCallback\): void;
New version information: 401,17100001|@ohos.web.webview.d.ts| diff --git a/en/release-notes/api-diff/v4.0-beta2/js-apidiff-window.md b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-window.md new file mode 100644 index 0000000000000000000000000000000000000000..283235be75a0760542798a32e1ee8da0a42d8bab --- /dev/null +++ b/en/release-notes/api-diff/v4.0-beta2/js-apidiff-window.md @@ -0,0 +1,64 @@ +| Change Type | Old Version | New Version | d.ts File | +| ---- | ------ | ------ | -------- | +|Added|NA|Class name: Window;
Method or attribute name: getUIContext() : UIContext;|@ohos.window.d.ts| +|Error code added|Class name: screen;
Method or attribute name: function getAllScreens(): Promise\>;
Old version information: |Class name: screen;
Method or attribute name: function getAllScreens(): Promise\>;
New version information: 1400001|@ohos.screen.d.ts| +|Error code added|Class name: screen;
Method or attribute name: function makeExpand(options: Array\): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function makeExpand(options: Array\): Promise\;
New version information: 401,1400001|@ohos.screen.d.ts| +|Error code added|Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
New version information: 401,1400001|@ohos.screen.d.ts| +|Error code added|Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
New version information: 201,401,1400001|@ohos.screen.d.ts| +|Error code added|Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise\;
New version information: 401,1400002|@ohos.screen.d.ts| +|Error code added|Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
New version information: 201,401,1400001|@ohos.screen.d.ts| +|Error code added|Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise\;
New version information: 401|@ohos.screen.d.ts| +|Error code added|Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise\;
New version information: 401,1400003|@ohos.screen.d.ts| +|Error code added|Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise\;
New version information: 401,1400003|@ohos.screen.d.ts| +|Error code added|Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise\;
New version information: 401,1400003|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function getAllScreens(callback: AsyncCallback\>): void;
Old version information: |Class name: screen;
Method or attribute name: function getAllScreens(callback: AsyncCallback\>): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function getAllScreens(): Promise\>;
Old version information: |Class name: screen;
Method or attribute name: function getAllScreens(): Promise\>;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\): void;
Old version information: |Class name: screen;
Method or attribute name: function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\): void;
Old version information: |Class name: screen;
Method or attribute name: function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function makeExpand(options: Array\, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function makeExpand(options: Array\, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function makeExpand(options: Array\): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function makeExpand(options: Array\): Promise\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function isScreenRotationLocked(callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function isScreenRotationLocked(callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function isScreenRotationLocked(): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function isScreenRotationLocked(): Promise\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: ExpandOption;
Method or attribute name: interface ExpandOption
Old version information: |Class name: ExpandOption;
Method or attribute name: interface ExpandOption
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: ExpandOption;
Method or attribute name: screenId: number;
Old version information: |Class name: ExpandOption;
Method or attribute name: screenId: number;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: ExpandOption;
Method or attribute name: startX: number;
Old version information: |Class name: ExpandOption;
Method or attribute name: startX: number;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: ExpandOption;
Method or attribute name: startY: number;
Old version information: |Class name: ExpandOption;
Method or attribute name: startY: number;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: VirtualScreenOption;
Method or attribute name: interface VirtualScreenOption
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: interface VirtualScreenOption
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: VirtualScreenOption;
Method or attribute name: name: string;
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: name: string;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: VirtualScreenOption;
Method or attribute name: width: number;
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: width: number;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: VirtualScreenOption;
Method or attribute name: height: number;
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: height: number;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: VirtualScreenOption;
Method or attribute name: density: number;
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: density: number;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: VirtualScreenOption;
Method or attribute name: surfaceId: string;
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: surfaceId: string;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: ScreenSourceMode;
Method or attribute name: enum ScreenSourceMode
Old version information: |Class name: ScreenSourceMode;
Method or attribute name: enum ScreenSourceMode
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: ScreenSourceMode;
Method or attribute name: SCREEN_MAIN = 0
Old version information: |Class name: ScreenSourceMode;
Method or attribute name: SCREEN_MAIN = 0
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: ScreenSourceMode;
Method or attribute name: SCREEN_MIRROR = 1
Old version information: |Class name: ScreenSourceMode;
Method or attribute name: SCREEN_MIRROR = 1
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: ScreenSourceMode;
Method or attribute name: SCREEN_EXTEND = 2
Old version information: |Class name: ScreenSourceMode;
Method or attribute name: SCREEN_EXTEND = 2
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: ScreenSourceMode;
Method or attribute name: SCREEN_ALONE = 3
Old version information: |Class name: ScreenSourceMode;
Method or attribute name: SCREEN_ALONE = 3
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: interface Screen
Old version information: |Class name: Screen;
Method or attribute name: interface Screen
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: readonly id: number;
Old version information: |Class name: Screen;
Method or attribute name: readonly id: number;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: readonly parent: number;
Old version information: |Class name: Screen;
Method or attribute name: readonly parent: number;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: readonly supportedModeInfo: Array\;
Old version information: |Class name: Screen;
Method or attribute name: readonly supportedModeInfo: Array\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: readonly activeModeIndex: number;
Old version information: |Class name: Screen;
Method or attribute name: readonly activeModeIndex: number;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: readonly orientation: Orientation;
Old version information: |Class name: Screen;
Method or attribute name: readonly orientation: Orientation;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: readonly sourceMode: ScreenSourceMode;
Old version information: |Class name: Screen;
Method or attribute name: readonly sourceMode: ScreenSourceMode;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation, callback: AsyncCallback\): void;
Old version information: |Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number, callback: AsyncCallback\): void;
Old version information: |Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number, callback: AsyncCallback\): void;
Old version information: |Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise\;
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: Orientation;
Method or attribute name: enum Orientation
Old version information: |Class name: Orientation;
Method or attribute name: enum Orientation
New version information: systemapi|@ohos.screen.d.ts| +|Access level changed|Class name: ScreenModeInfo;
Method or attribute name: interface ScreenModeInfo
Old version information: |Class name: ScreenModeInfo;
Method or attribute name: interface ScreenModeInfo
New version information: systemapi|@ohos.screen.d.ts| +|Permission changed|Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
New version information: ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| +|Permission changed|Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
New version information: ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| +|Function changed|Class name: Window;
Method or attribute name: off(type: 'windowEvent',callback:Callback\):void;|Class name: Window;
Method or attribute name: off(type:'windowEvent',callback?: Callback\(propName: string): T** to **get\(propName: string): T | undefined**. - -**Change Impact** - - -None - -## cl.LocalStorage.2 Mandatory/Optional Change of the newValue Parameter in setOrCreate -**Change Impact** - -API declaration before change: -```js -setOrCreate(propName: string, newValue?: T): boolean -``` -API declaration after change: -```js -setOrCreate(propName: string, newValue: T): boolean -``` -The **newValue** parameter becomes mandatory. -If it is not specified when an application calls the API, the build will fail after the SDK is replaced. - -**Adaptation Guide** - -```js -let storage = new LocalStorage(); -storage.setOrCreate('propA', 'hello'); -``` -## cl.LocalStorage.3 link Parameter and Return Type Changes -**Change Impact** - -API declaration before change: -```js -link(propName: string, linkUser?: T, subscribersName?: string): T -``` -API declaration after change: -```js -link(propName: string): SubscribedAbstractProperty -``` -1. The second and third parameters of the **link** API are reserved for internal use by the framework. Therefore, the API is changed to contain only one parameter. -2. The return type **T** is changed to **SubscribedAbstractProperty**. - -**Adaptation Guide** - -```js -let storage = new LocalStorage({"PropA": "47"}); -let linA = storage.link("PropA"); -linA.set(50); -``` - -## cl.LocalStorage.4 setAndLink Parameter and Return Type Changes -**Change Impact** - -API declaration before change: -```js -setAndLink(propName: string, defaultValue: T, linkUser?: T, subscribersName?: string): T -``` -API declaration after change: -```js -setAndLink(propName: string, defaultValue: T): SubscribedAbstractProperty -``` -1. The third and fourth parameters of the **setAndLink** API are reserved for internal use by the framework. Therefore, the API is changed to contain two parameters. -2. The return type **T** is changed to **SubscribedAbstractProperty**. - -**Adaptation Guide** - -```js -let storage = new LocalStorage({"PropA": "47"}); -let linA = storage.setAndLink("PropA", "48") -linA.set(50); -``` - -## cl.LocalStorage.5 prop Parameter and Return Type Changes -**Change Impact** - -API declaration before change: -```js -prop(propName: string, propUser?: T, subscribersName?: string): T -``` -API declaration after change: -```js -prop(propName: string): SubscribedAbstractProperty -``` -1. The second and third parameters of the **prop** API are reserved for internal use by the framework. Therefore, the API is changed to contain only one parameter. -2. The return type **T** is changed to **SubscribedAbstractProperty**. - -**Adaptation Guide** - -```js -let storage = new LocalStorage({"PropA": "47"}); -let propA = storage.prop("PropA"); -propA.set(51); // one-way sync -``` - -## cl.LocalStorage.6 setAndProp Parameter and Return Type Changes -**Change Impact** - -API declaration before change: -```js -setAndProp(propName: string, defaultValue: T, propUser?: T, subscribersName?: string): T -``` -API declaration after change: -```js -setAndProp(propName: string, defaultValue: S): SubscribedAbstractProperty -``` -1. The third and fourth parameters of the **setAndProp** API are reserved for internal use by the framework. Therefore, the API is changed to contain two parameters. -2. The return type **T** is changed to **SubscribedAbstractProperty**. - -**Adaptation Guide** - -```js -let storage = new LocalStorage({"PropA": "47"}); -let propA = storage.setAndProp("PropA", "48"); -propA.set(51); // one-way sync -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-security.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-security.md deleted file mode 100644 index 4bd1acf87dcc5940947215d8c3dd3d459d0c49bc..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelog-security.md +++ /dev/null @@ -1,475 +0,0 @@ -# Security Subsystem ChangeLog - -## cl.security.1 Change of the setSeed API of Random from Asynchronous to Synchronous - -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -API prototype before the change: -setSeed(seed : DataBlob, callback : AsyncCallback\) : void; -setSeed(seed : DataBlob) : Promise\; -API prototype after the change: -setSeed(seed : DataBlob) : void; - -**Adaptation Guide** -See the API adaptation guide of **setSeed** in the API reference: -[Crypto Framework - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cryptoFramework.md) - - -## cl.security.2 Migration of interface DataArray from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **interface DataArray** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.3 Migration of interface EncodingFormat from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **interface EncodingFormat** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.4 Migration of interface EncodingBlob from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **interface EncodingBlob** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.5 Migration of interface CertChainData from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **interface CertChainData** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.6 Migration of interface X509Cert from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **interface X509Cert** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.7 Migration of function createX509Cert from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **function createX509Cert** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.8 Migration of interface X509CrlEntry from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts. -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **interface X509CrlEntry** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.9 Migration of interface X509Crl from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **interface X509Crl** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.10 Migration of function createX509Crl from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **function createX509Crl** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.11 Migration of interface CertChainValidator from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **interface CertChainValidator** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.12 Migration of function createCertChainValidator from @ohos.security.cryptoFramework.d.ts to @ohos.security.cert.d.ts -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -Migrated **function createCertChainValidator** from **@ohos.security.cryptoFramework.d.ts** to **@ohos.security.cert.d.ts**. - -**Adaptation Guide** -Import and use the new .d.ts file: -import cryptoCert from '@ohos.security.cert'; -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.13 Change of the getPublicKey API of X509Cert from Asynchronous to Synchronous -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -API prototype before the change: -getPublicKey(callback : AsyncCallback\) : void; -getPublicKey() : Promise\; -API prototype after the change: -getPublicKey() : cryptoFramework.PubKey; - -**Adaptation Guide** -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.14 Change of the checkValidityWithDate API of X509Cert from Asynchronous to Synchronous -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -API prototype before the change: -checkValidityWithDate(date: string, callback : AsyncCallback\) : void; -checkValidityWithDate(date: string) : Promise\; -API prototype after the change: -checkValidityWithDate(date: string) : void; - -**Adaptation Guide** -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.15 Change of the getCertIssuer API of X509CrlEntry from Asynchronous to Synchronous -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -API prototype before the change: -getCertIssuer(callback : AsyncCallback\) : void; -getCertIssuer() : Promise\; - -API prototype after the change: -getCertIssuer() : DataBlob; - -**Adaptation Guide** -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.16 Change of the getRevocationDate API of X509CrlEntry from Asynchronous to Synchronous -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -API prototype before the change: -getRevocationDate(callback : AsyncCallback\) : void; -getRevocationDate() : Promise\; - -API prototype after the change: -getRevocationDate() : string; - -**Adaptation Guide** -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.17 Change of the isRevoked API of X509Crl from Asynchronous to Synchronous -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -API prototype before the change: -isRevoked(cert : X509Cert, callback : AsyncCallback\) : void; -isRevoked(cert : X509Cert) : Promise\; - -API prototype after the change: -isRevoked(cert : X509Cert) : boolean; - -**Adaptation Guide** -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.18 Change of the getRevokedCert API of X509Crl from Asynchronous to Synchronous -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -API prototype before the change: -getRevokedCert(serialNumber : number, callback : AsyncCallback\) : void; -getRevokedCert(serialNumber : number) : Promise\; - -API prototype after the change: -getRevokedCert(serialNumber : number) : X509CrlEntry; - -**Adaptation Guide** -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.19 Change of the getRevokedCertWithCert API of X509Crl from Asynchronous to Synchronous -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -API prototype before the change: -getRevokedCertWithCert(cert : X509Cert, callback : AsyncCallback\) : void; -getRevokedCertWithCert(cert : X509Cert) : Promise\; - -API prototype after the change: -getRevokedCertWithCert(cert : X509Cert) : X509CrlEntry; - -**Adaptation Guide** -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - - -## cl.security.20 Change of the getTbsInfo API of X509Crl from Asynchronous to Synchronous -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** -API prototype before the change: -getTbsInfo(callback : AsyncCallback\) : void; -getTbsInfo() : Promise\; - -API prototype after the change: -getTbsInfo() : DataBlob; - -**Adaptation Guide** -See the corresponding API adaptation guide in the API reference: -[Certificate - API Reference](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cert.md) - -## cl.security.21 Support of No-Hash Signing Mode for HUKS - -Before the change, the application passes **huks.HuksTag.HUKS_TAG_DIGEST = huks.HuksKeyDigest.HUKS_DIGEST_NONE** and HUKS uses **huks.HuksKeyDigest.HUKS_DIGEST_SHA256** for processing by default. After the change, the application passes **huks.HuksTag.HUKS_TAG_DIGEST = huks.HuksKeyDigest.HUKS_DIGEST_NONE** and HUKS does not perform digest processing by default. In this case, the service needs to perform the hash operation on the original data and then pass the hashed digest to HUKS for signing or signature verification. - -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. -The application needs to adapt these APIs so that the signing or signature verification result can be passed before and after the change. - -**Key API/Component Changes** - -Released JavaScript APIs remain unchanged, but parameter sets passed to the APIs are changed. - -The service uses the No-Hash signing mode, and needs to hash the original data and then pass the hashed digest to the signing or signature verification API of HUKS. In addition, the **huks.HuksTag.HUKS_TAG_DIGEST** parameter is set to **huks.HuksKeyDigest.HUKS_DIGEST_NONE**. - -**Adaptation Guide** - -Take signing as an example. The sample code is as follows: - -```js -import huks from '@ohos.security.huks'; - -let keyAlias = 'rsa_Key'; -/* Digest value after SHA-256 encryption */ -let inDataAfterSha256 = new Uint8Array( - 0x4B, 0x1E, 0x22, 0x64, 0xA9, 0x89, 0x60, 0x1D, 0xEC, 0x78, 0xC0, 0x5D, 0xBE, 0x46, 0xAD, 0xCF, - 0x1C, 0x35, 0x16, 0x11, 0x34, 0x01, 0x4E, 0x9B, 0x7C, 0x00, 0x66, 0x0E, 0xCA, 0x09, 0xC0, 0xF3, -); -/* Signing parameters */ -let signProperties = new Array(); -signProperties[0] = { - tag: huks.HuksTag.HUKS_TAG_ALGORITHM, - value: huks.HuksKeyAlg.HUKS_ALG_RSA, -} -signProperties[1] = { - tag: huks.HuksTag.HUKS_TAG_PURPOSE, - value: - huks.HuksKeyPurpose.HUKS_KEY_PURPOSE_SIGN -} -signProperties[2] = { - tag: huks.HuksTag.HUKS_TAG_KEY_SIZE, - value: huks.HuksKeySize.HUKS_RSA_KEY_SIZE_2048, -} -signProperties[3] = { - tag: huks.HuksTag.HUKS_TAG_DIGEST, - value: huks.HuksKeyDigest.HUKS_DIGEST_NONE, // Set digest-none. -} -let signOptions = { - properties: signProperties, - inData: inDataAfterSha256 // Set the value after hashing. -} - -huks.initSession(keyAlias, signOptions); -``` - -For sample codes of other APIs, see [HUKS guidelines](../../../application-dev/security/huks-guidelines.md) and [HUKS APIs](../../../application-dev/reference/apis/js-apis-huks.md). - -## cl.security.22 Support of Key Calculation Parameter Specification for HUKS During Key Usage - -Before the change, all parameters for key calculation must be specified when the application generates a key. After the change, only mandatory parameters need to be specified when the application generates a key, and other parameters can be specified when the key is used. The application can specify key calculation parameters more flexibly. - -**Change Impacts** - -Behavior of released JavaScript APIs will be changed. - -The application can specify only mandatory parameters when creating a key and specify other optional parameters when using the key. - -**Key API/Component Changes** - -Released JavaScript APIs remain unchanged, but parameter sets passed to the APIs are changed and parameters are classified into mandatory parameters and optional parameters. For details, see [HUKS guidelines](../../../application-dev/security/huks-guidelines.md). - -huks.generateKeyItem - -huks.importKeyItem - -huks.importWrappedKeyItem - -huks.initSession - -huks.updateSession - -huks.finishSession - -**Adaptation Guide** - -Take key generation as an example. The sample code is as follows: - -```js -let keyAlias = 'keyAlias'; -let properties = new Array(); -// Mandatory parameter. -properties[0] = { - tag: huks.HuksTag.HUKS_TAG_ALGORITHM, - value: huks.HuksKeyAlg.HUKS_ALG_RSA -}; -// Mandatory parameter. -properties[1] = { - tag: huks.HuksTag.HUKS_TAG_KEY_SIZE, - value: huks.HuksKeySize.HUKS_RSA_KEY_SIZE_2048 -}; -// Mandatory parameter. -properties[2] = { - tag: huks.HuksTag.HUKS_TAG_PURPOSE, - value: - huks.HuksKeyPurpose.HUKS_KEY_PURPOSE_SIGN | - huks.HuksKeyPurpose.HUKS_KEY_PURPOSE_VERIFY -}; -// Optional parameter. If this parameter is not specified when a key is generated, it must be specified when the key is used. -properties[3] = { - tag: huks.HuksTag.HUKS_TAG_DIGEST, - value: huks.HuksKeyDigest.HUKS_DIGEST_SHA256 -}; -let options = { - properties: properties -}; -try { - huks.generateKeyItem(keyAlias, options, function (error, data) { - if (error) { - console.error(`callback: generateKeyItem failed, code: ${error.code}, msg: ${error.message}`); - } else { - console.info(`callback: generateKeyItem key success`); - } - }); -} catch (error) { - console.error(`callback: generateKeyItem input arg invalid, code: ${error.code}, msg: ${error.message}`); -} -``` - -For sample codes of other APIs, see [HUKS guidelines](../../../application-dev/security/huks-guidelines.md) and [HUKS APIs](../../../application-dev/reference/apis/js-apis-huks.md). diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-ability.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-ability.md deleted file mode 100644 index 7bac43bac44302e751f466896946d345a5ed90f9..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-ability.md +++ /dev/null @@ -1,137 +0,0 @@ -# Ability Subsystem Changelog - -Compared with OpenHarmony 3.2 Beta4, OpenHarmony 3.2.10.1(MR) has the following API changes in the ability subsystem: - -## cl.ability.1 API Migration -The **requestPermissionsFromUser** API of **UIAbilityContext** is migrated from the ability subsystem to the security subsystem. - -Previously, the permission popup was implemented based on **UIAbility**, which used the **startAbilityForResult** API of **UIAbilityContext** to return the permission authorization result to the caller. Therefore, **requestPermissionsFromUser** was temporarily placed in **UIAbilityContext**. The permission popup is now implemented based on **ServiceExtensionAbility**, which no longer requires **startAbilityForResult** of **UIAbilityContext**. Therefore, **requestPermissionsFromUser** is migrated to the security subsystem. - -You need to adapt your application. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| application/UIAbilityContext | UIAbilityContext | requestPermissionsFromUser(permissions: Array, requestCallback: AsyncCallback): void; | Deleted | -| application/UIAbilityContext | UIAbilityContext | requestPermissionsFromUser(permissions: Array): Promise; | Deleted | -| @ohos.abilityAccessCtrl | AtManager | requestPermissionsFromUser(context: Context, permissions: Array, requestCallback: AsyncCallback) : void; | Added | -| @ohos.abilityAccessCtrl | AtManager | requestPermissionsFromUser(context: Context, permissions: Array) : Promise; | Added | - - -**Adaptation Guide** - -The following illustrates how **requestPermissionsFromUser** is called to show a permission popup. - -Stage model: - -```ts -import abilityAccessCtrl from '@ohos.abilityAccessCtrl.d.ts'; -// onWindowStageCreate lifecycle of UIAbility. -onWindowStageCreate() { - let AtManager = abilityAccessCtrl.createAtManager(); - // requestPermissionsFromUser determines whether to display a popup based on the permission authorization status. - AtManager.requestPermissionsFromUser(this.context, ["ohos.permission.MANAGE_DISPOSED_APP_STATUS"]).then((data) => { - console.log("data type:" + typeof(data)); - console.log("data:" + data); - console.log("data permissions:" + data.permissions); - console.log("data result:" + data.authResults); - }).catch((err) => { - console.error('Failed to start ability', err.code); - }) -} -``` - - - -## cl.ability.2 Deletion of Deprecated APIs in API Version 9 - -In the [Ability Exception Rectification](../OpenHarmony_3.2.8.3/changelogs-ability.md) document, some APIs in API version 9 have been marked as deprecated. According to API specifications of OpenHarmony, these APIs should be deleted. - -**Change Impact** - -The application developed based on earlier versions needs to use new APIs to replace the deleted ones. Otherwise, the application compilation will be affected. - -**Key API/Component Changes** - -API files are deleted. - -| Deleted API | New API | -| ----------------------------------------------- | ----------------------------------------------- | -| @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 | - -APIs or attributes are deleted: - -- @ohos.application.Configuration.d.ts - - **direction**, **screenDensity**, **displayId**, and **hasPointerDevice** of **Configuration** are deleted. Use **Configuration** of **@ohos.app.ability.Configuration.d.ts**. -- @ohos.application.ConfigurationConstant.d.ts - - **Direction** and **ScreenDensity** are deleted. Use **Direction** and **ScreenDensity** of **@ohos.app.ability.ConfigurationConstant.d.ts**. -- @ohos.application.abilityManager.d.ts - - **getExtensionRunningInfos** and **getTopAbility** are deleted. Use the APIs with the same name in **@ohos.app.ability.abilityManager.d.ts**. -- @ohos.application.appManager.d.ts - - **ApplicationState** and **ProcessState** are deleted. Use **ApplicationState** and **ProcessState** of **@ohos.app.ability.appManager.d.ts**. - - **registerApplicationStateObserver** and **getProcessRunningInformation** are deleted. Use the APIs with the same name in **@ohos.app.ability.appManager.d.ts**. -- @ohos.application.formHost.d.ts - - **shareForm** and **notifyFormsPrivacyProtected** are deleted. Use the APIs with the same name in **@ohos.app.form.formHost.d.ts**. -- @ohos.application.formInfo.d.ts - - **eTS** of **FormType** is deleted. Use **eTS** of **FormType** in **@ohos.app.form.formInfo.d.ts**. - - **IDENTITY_KEY**, **BUNDLE_NAME_KEY**, **ABILITY_NAME_KEY**, and **DEVICE_ID_KEY** of **FormParam** are deleted. Use the enums with the same name in **@ohos.app.form.formInfo.d.ts**. - - **FormInfoFilter** is deleted. Use **FormInfoFilter** of **@ohos.app.form.formInfo.d.ts**. - - **FormDimension** is deleted. Use **FormDimension** of **@ohos.app.form.formInfo.d.ts**. - - **VisibilityType** is deleted. Use **VisibilityType** of **@ohos.app.form.formInfo.d.ts**. -- @ohos.wantAgent.d.ts - - **trigger** and **getOperationType** are deleted. Use the APIs with the same name in **@ohos.app.ability.wantAgent.d.ts**. -- application/ApplicationContext.d.ts - - **registerAbilityLifecycleCallback**, **unregisterAbilityLifecycleCallback**, **registerEnvironmentCallback**, and **unregisterEnvironmentCallback** are deleted. Use **on** and **off**. -- application/ServiceExtensionContext.d.ts - - **connectAbility**, **connectAbilityWithAccount**, and **disconnectAbility** are deleted. Use **connectServiceExtensionAbility**, **connectServiceExtensionAbilityWithAccount**, and **disconnectServiceExtensionAbility**. -- @ohos.application.FormExtension.d.ts - - **onCreate**, **onCastToNormal**, **onUpdate**, **onVisibilityChange**, **onEvent**, **onDestroy**, **onAcquireFormState**, and **onShare** are deleted. Use the following lifecycle methods of **@ohos.app.form.FormExtensionAbility.d.ts**: **onAddForm**, **onCastToNormalForm**, **onUpdateForm**, **onChangeFormVisibility**, **onFormEvent**, **onRemoveForm**, **onAcquireFormState**, and **onShareForm**. -- @ohos.application.abilityDelegatorRegistry.d.ts - - **AbilityDelegator**, **AbilityDelegatorArgs**, **AbilityMonitor**, and **ShellCmdResult** are deleted. Use the classes with the same name in **@ohos.app.ability.abilityDelegatorRegistry.d.ts**. -- @ohos.application.abilityManager.d.ts - - **AbilityRunningInfo** and **ExtensionRunningInfo** are deleted. Use the classes with the same name in **@ohos.app.ability.abilityManager.d.ts**. -- @ohos.application.appManager.d.ts - - **AbilityStateData**, **AppStateData**, **ApplicationStateObserver**, **ProcessRunningInfo**, and **ProcessRunningInformation** are deleted. Use the classes with the same name in **@ohos.app.ability.appManager.d.ts**. -- @ohos.application.missionManager.d.ts - - **MissionInfo**, **MissionListener**, and **MissionSnapshot** are deleted. Use the classes with the same name in **@ohos.app.ability.missionManager.d.ts**. -- @ohos.wantAgent.d.ts - - **TriggerInfo** and **WantAgentInfo** are deleted. Use the classes with the same name in **@ohos.app.ability.wantAgent.d.ts**. - - - - - -**Adaptation Guide** - -As mentioned above, only several APIs have their names changed in terms of, for example, the registration callbacks (**registerAbilityLifecycleCallback**, **unregisterAbilityLifecycleCallback**, **registerEnvironmentCallback**, and **unregisterEnvironmentCallback**) and connection and disconnection **ServiceExtensionAbility** (**connectAbility**, **connectAbilityWithAccount**, and **disconnectAbility**). For such APIs, replace their names with those of their corresponding new APIs in the lifecycle callbacks. - -Most APIs are moved to the new namespace. Therefore, you can modify **import** for adaptation. - -For example, the original API uses **@ohos.application.Ability**: - -```js -import Ability from '@ohos.application.Ability'; -``` - -You can directly modify **import** to switch to the new namespace: - -```js -import Ability from '@ohos.app.ability.UIAbility'; -``` - -In addition, exception handling is needed. For details, see the API reference for the new APIs. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-container.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-container.md deleted file mode 100644 index c32d54a296c01a18d623c9de9bd9b71ef6cf8bc0..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-container.md +++ /dev/null @@ -1,29 +0,0 @@ -# ChangeLog of JS API Changes in the commonlibrary Subsystem - -Compared with OpenHarmony 3.2 Beta4, OpenHarmony 3.2.10.1(Mr) has the following API changes in the commonlibrary subsystem. - -## cl.commonlibrary.1 Error Code and Information Change -Changed error codes and information returned by APIs of the **ArrayList**, **List**, **LinkedList**, **Stack**, **Queue**, **Deque**, **PlainArray**, **LightWeightMap**, **LightWeightSet**, **HashMap**, **HashSet**, **TreeMap**, and **TreeSet** classes in the commonlibrary subsystem. - -For details about the changed error codes, see [error codes of language basic class libraries](../../../application-dev/reference/errorcodes/errorcode-utils.md). - -No adaptation is required for applications developed using these APIs. - -**Key API/Component Changes** - -Error code information is redefined for APIs in these classes and marked using **'@throws'** in the `*.d.ts` file of the corresponding module. - -The sample code is as follows: - -**ArrayList** class before the change: - -constructor(); - -**ArrayList** class after the change: - -@throws { BusinessError } 10200012 - The ArrayList's constructor cannot be directly invoked. -constructor(); - -**Change Impacts** - -None diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md deleted file mode 100644 index 3689b5c62fa100173b4b5579a38f5763b6535d23..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-distributeddatamgr.md +++ /dev/null @@ -1,178 +0,0 @@ -# ChangeLog of JS API Changes of the Distributed Data Management Subsystem - -Compared with OpenHarmony 3.2 Beta4, OpenHarmony 3.2.10.1(Mr) has the following API changes in the distributed data management subsystem: - -## cl.distributeddatamgr.1 API Change -APIs in the **kv_store** component of the distributed data management subsystem are changed: - -**createKVManager** is changed from asynchronous to synchronous, because the execution duration is fixed and short and there is no need to asynchronously wait for the execution result. Therefore, the original APIs **function createKVManager(config: KVManagerConfig): Promise\;** and **function createKVManager(config: KVManagerConfig, callback: AsyncCallback): void;** are changed to **function createKVManager(config: KVManagerConfig): KVManager;**. - -You need to adapt your applications based on the following information: - -**Change Impacts** - -JS APIs in API version 9 are affected. The application needs to adapt these APIs so that it can properly implement functions in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enumeration/Constant | Change Type| -| ------------------------ | ------------------ | ------------------------------------------------------------ | -------- | -| @ohos.distributedKVStore | distributedKVStore | function createKVManager(config: KVManagerConfig): Promise\; | Deleted | -| @ohos.distributedKVStore | distributedKVStore | function createKVManager(config: KVManagerConfig): KVManager; | Changed | - - -**Adaptation Guide** - -The following illustrates how to call **createKVManager** to create a **KVManager** object. - -Stage model: - -```ts -import AbilityStage from '@ohos.application.Ability' -let kvManager; -export default class MyAbilityStage extends AbilityStage { - onCreate() { - console.log("MyAbilityStage onCreate") - let context = this.context - const kvManagerConfig = { - context: context, - bundleName: 'com.example.datamanagertest', - } - try { - kvManager = distributedKVStore.createKVManager(kvManagerConfig); - } catch (e) { - console.error(`Failed to create KVManager.code is ${e.code},message is ${e.message}`); - } - } -} -``` - -FA model: - -```ts -import featureAbility from '@ohos.ability.featureAbility' -let kvManager; -let context = featureAbility.getContext() -const kvManagerConfig = { - context: context, - bundleName: 'com.example.datamanagertest', -} -try { - kvManager = distributedKVStore.createKVManager(kvManagerConfig); -} catch (e) { - console.error(`Failed to create KVManager.code is ${e.code},message is ${e.message}`); -} -``` - -## cl.distributeddatamgr.2 Migration of function getRdbStoreV9 from @ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts. -**Change Impacts** - -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** - -APIs: - -```ts -function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number, callback: AsyncCallback): void; -function getRdbStoreV9(context: Context, config: StoreConfigV9, version: number): Promise; -``` -The APIs are migrated from **@ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts**. -``` -function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback): void; -function getRdbStore(context: Context, config: StoreConfig): Promise; -``` - -**Adaptation Guide** - - * `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`. - * The names of relevant methods should be changed according to the preceding changes. - -## cl.distributeddatamgr.3 Migration of function deleteRdbStoreV9 from @ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts -**Change Impacts** - -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** - -APIs: - -```ts -function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback): void; -function deleteRdbStoreV9(context: Context, name: string): Promise; -``` -The APIs are migrated from **@ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts**. -``` -function deleteRdbStoreV9(context: Context, name: string, callback: AsyncCallback): void; -function deleteRdbStoreV9(context: Context, name: string): Promise; -``` - -**Adaptation Guide** - * `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`. - * The names of relevant methods should be changed according to the preceding changes. - -## cl.distributeddatamgr.4 Migration of interface StoreConfigV9 from @ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts -**Change Impacts** - -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** - -**interface StoreConfigV9** is migrated from **@ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts** and is renamed as **interface StoreConfig**. - -**Adaptation Guide** - * `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`. - * The names of relevant APIs should be changed according to the preceding changes. - -## cl.distributeddatamgr.5 Migration of enum SecurityLevel from @ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts -**Change Impacts** - -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** - -**enum SecurityLevel** is migrated from **ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts**. - -**Adaptation Guide** - * `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`. - * The names of relevant APIs should be changed according to the preceding changes. - -## cl.distributeddatamgr.6 Migration of interface RdbStoreV9 from @ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts -**Change Impacts** - -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** - -**interface RdbStoreV9** is migrated from **@ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts** and is renamed as **interface RdbStore**. - -**Adaptation Guide** - * `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`. - * The names of relevant APIs should be changed according to the preceding changes. - -## cl.distributeddatamgr.7 Migration of class RdbPredicatesV9 from ohos.data.rdb.d.ts to @ohos.data.relationalStore.d.ts -**Change Impacts** - -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** - -**class RdbPredicatesV9** is migrated from **ohos.data.rdb.d.ts** to **@ohos.data.relationalStore.d.ts** and is renamed as **interface RdbPredicates**. - -**Adaptation Guide** - * `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`. - * The names of relevant APIs should be changed according to the preceding changes. - -## cl.distributeddatamgr.8 Migration of interface ResultSetV9 from api/@ohos.data.relationalStore.d.ts to @ohos.data.relationalStore.d.ts -**Change Impacts** - -The application needs to adapt these APIs so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** - -**interface ResultSetV9** is migrated from **api/data/rdb/resultSet.d.ts** to **@ohos.data.relationalStore.d.ts** and is renamed as **interface ResultSet**. - -**Adaptation Guide** - - * `import rdb from "@ohos.data.rdb"` is changed to `import rdb from "@ohos.data.relationalStore"`. - * The **ResultSetV9** instance is obtained only via **getRdbStoreV9**. After modifications are made according to cl.distributeddatamgr.2, the code can automatically adapt to **ResultSet**. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-multimedia.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-multimedia.md deleted file mode 100644 index 4b223c8ac73a16fceaa2002167640f8aeb94fabd..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-multimedia.md +++ /dev/null @@ -1,53 +0,0 @@ -## cl.multimedia.av_session.001 Change of All av_session APIs to System APIs - -All av_session APIs are changed to system APIs. - -**Change Impacts** - -Non-system applications and applications without system API permission cannot call system APIs. - -**Key API/Component Changes** - -All APIs are changed to system APIs. The table below describes the APIs. - -| API, Enumeration, or Variable| Type| Is System API| -| -------- | -------- | ------- | -| SessionToken | interface | Yes| -| AVMetadata | interface | Yes| -| AVPlaybackState | interface | Yes| -| PlaybackPosition | interface | Yes| -| OutputDeviceInfo | interface | Yes| -| AVSessionDescriptor | interface | Yes| -| AVSessionController | interface | Yes| -| AVControlCommand | interface | Yes| -| createAVSession | function | Yes| -| getAllSessionDescriptors | function | Yes| -| createController | function | Yes| -| castAudio | function | Yes| -| on | function | Yes| -| off | function | Yes| -| sendSystemAVKeyEvent | function | Yes| -| sendSystemControlCommand | function | Yes| -| sessionId | variable | Yes| -| setAVMetadata | function | Yes| -| setAVPlaybackState | function | Yes| -| setLaunchAbility | function | Yes| -| getController | function | Yes| -| getOutputDevice | function | Yes| -| activate | function | Yes| -| deactivate | function | Yes| -| destroy | function | Yes| -| getAVPlaybackState | function | Yes| -| getAVMetadata | function | Yes| -| getOutputDevice | function | Yes| -| sendAVKeyEvent | function | Yes| -| getLaunchAbility | function | Yes| -| getRealPlaybackPositionSync | function | Yes| -| isActive | function | Yes| -| getValidCommands | function | Yes| -| sendControlCommand | function | Yes| -| AVSessionType | type | Yes| -| AVControlCommandType | type | Yes| -| LoopMode | enum | Yes| -| PlaybackState | enum | Yes| -| AVSessionErrorCode | enum | Yes| diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-notification.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-notification.md deleted file mode 100644 index 9a1113faab7fcf5329564939b5be571da88dec80..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-notification.md +++ /dev/null @@ -1,47 +0,0 @@ -# Common Event and Notification Subsystem ChangeLog - -## cl.notification.1 Deleting Deprecated APIs (Version 9) - -In the [event notification exception handling rectification](../OpenHarmony_3.2.8.3/changelogs-notification.md), some APIs in API version 9 are marked as deprecated, and these APIs need to be deleted, according to OpenHarmony API specifications. - -**Change Impacts** - -The application developed based on earlier versions needs to use new APIs to replace the deleted ones. Otherwise, the application compilation will be affected. - -**Key API/Component Changes** - -Deprecated APIs in API version 9 will be deleted, and they will be replaced with new ones with same names. - -| Original API | New API | -| ----------------------- | -------------------------------- | -| @ohos.commonEvent.d.ts | @ohos.commonEventManager.d.ts | -| @ohos.notification.d.ts | @ohos.notificationManager.d.ts | -| @ohos.notification.d.ts | @ohos.notificationSubscribe.d.ts | - -APIs or attributes are deleted: - -- @ohos.notification.d.ts - - The **publishAsBundle**, **cancelAsBundle**, **isNotificationSlotEnabled**, **setSyncNotificationEnabledWithoutApp**, and **getSyncNotificationEnabledWithoutApp** APIs are deleted. Replace them with APIs with same names in **api/@ohos.notificationManager.d.ts**. - - The **enableNotificationSlot** API is deleted. Replace it with **setNotificationEnableSlot** in **api/@ohos.notificationManager.d.ts**. - - The export classes **NotificationActionButton**, **NotificationBasicContent**, **NotificationContent**, **NotificationLongTextContent**, **NotificationMultiLineContent**, **NotificationPictureContent**, **NotificationFlags**, **NotificationFlagStatus**, **NotificationRequest**, **DistributedOptions**, **NotificationSlot**, **NotificationSorting**, **NotificationTemplate**, and **NotificationUserInput** are deleted. Replace them with the export classes with the same names in **api/@ohos.notificationManager.d.ts**. - - The export classes **NotificationSubscribeInfo**, **NotificationSubscriber**, **SubscribeCallbackData**, and **EnabledNotificationCallbackData** are deleted. Replace them with the export classes with the same names in **api/@ohos.notificationSubscribe.d.ts**. - -**Adaptation Guide** - -The original APIs are only migrated to the new namespace. Therefore, you can modify **import** to solve the adaptation problem. - -If the original API uses **@ohos.commonEvent**: - -```js -import commonEvent from '@ohos.commonEvent'; -``` - -You can directly modify **import** to switch to the new namespace: - -```js -import commonEvent from '@ohos.commonEventManager'; -``` - -**@ohos.notification** is split into two namespaces. You need to select a new namespace for adaptation. - -In addition, exception handling is needed. For details, see the API reference for the new APIs. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-time.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-time.md deleted file mode 100644 index a672b60987e3cafd5cb4bc40b31a0e44a5d0925e..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-time.md +++ /dev/null @@ -1,336 +0,0 @@ -# Time Subsystem ChangeLog - -## cl.time.1 API Error Change - -Errors thrown by timer APIs of the time subsystem: **202** (non-system application) and **401** (invalid parameters). - -**Change Impacts** - -The API change is forward compatible. Applications developed based on earlier versions can still use the APIs, and corresponding error handling is added. The original functions are not affected. - -**Key API/Component Changes** - -Before change: - - The API throws an error message without an error code. - -After change: - - The API throws an error message with an error code. Error code **202** indicates that the application is not a system application, and error code **401** indicates that the parameters are invalid. - - | Module | Class | Method/Attribute/Enumeration/Constant | Change Type| - | ----------------- | ----------- | ------------------------------------------------------------ | -------- | - | @ohos.systemTimer | systemTimer | function createTimer(options: TimerOptions, callback: AsyncCallback\): void | Changed | - | @ohos.systemTimer | systemTimer | function createTimer(options: TimerOptions): Promise\ | Changed | - | @ohos.systemTimer | systemTimer | function startTimer(timer: number, triggerTime: number, callback: AsyncCallback\): void | Changed | - | @ohos.systemTimer | systemTimer | function startTimer(timer: number, triggerTime: number): Promise\ | Changed | - | @ohos.systemTimer | systemTimer | function stopTimer(timer: number, callback: AsyncCallback\): void | Changed | - | @ohos.systemTimer | systemTimer | function stopTimer(timer: number): Promise\ | Changed | - | @ohos.systemTimer | systemTimer | function destroyTimer(timer: number, callback: AsyncCallback\): void | Changed | - | @ohos.systemTimer | systemTimer | function destroyTimer(timer: number): Promise\ | Changed | - - -**Adaptation Guide** - -Refer to the code below to capture errors when **systemTimer** APIs are called in applications. - -createTimer callback mode: - -**Example** - -```js -export default { - systemTimer () { - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat: false - }; - try { - systemTimer.createTimer(options, (error, timerId) => { - if (error) { - // Capture the permission denial error. - console.info(`Failed to create timer. message: ${error.message}, code: ${error.code}`); - } - console.info(`Succeeded in creating timer. timerId: ${timerId}`); - }); - } catch(e) { - // Capture the parameter verification error. - console.info(`Failed to create timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -createTimer promise mode: - -**Example** - -```js -export default { - systemTimer () { - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat: false - }; - try { - systemTimer.createTimer(options).then((timerId) => { - console.info(`Succeeded in creating timer. timerId: ${timerId}`); - }).catch((error) => { - // Capture the permission denial error. - console.info(`Failed to create timer. message: ${error.message}, code: ${error.code}`); - }); - } catch(e) { - // Capture the parameter verification error. - console.info(`Failed to create timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -startTimer callback mode: - -**Example** - -```js -export default { - async systemTimer () { - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - try { - systemTimer.startTimer(timerId, triggerTime, (error) => { - if (error) { - // Capture the permission denial error. - console.error(`Failed to start timer. message: ${error.message}, code: ${error.code}`); - } - }); - } catch (e) { - // Capture the parameter verification error. - console.info(`Failed to start timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -startTimer promise mode: - -**Example** - -```js -export default { - async systemTimer (){ - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - try { - systemTimer.startTimer(timerId, triggerTime).then((data) => { - console.log(`Succeeded in startting timer. Data:` + data); - }).catch((error) => { - // Capture the permission denial error. - console.info(`Failed to start timer. message: ${error.message}, code: ${error.code}`); - }); - } catch (e) { - // Capture the parameter verification error. - console.info(`Failed to start timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -stopTimer callback mode: - -**Example** - -```js -export default { - async systemTimer () { - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - systemTimer.startTimer(timerId, triggerTime); - try { - systemTimer.stopTimer(timerId, triggerTime, (error) => { - if (error) { - // Capture the permission denial error. - console.error(`Failed to stop timer. message: ${error.message}, code: ${error.code}`); - } - }); - } catch (e) { - // Capture the parameter verification error. - console.info(`Failed to stop timer. message: ${e.message}, code: ${e.code}`); - } - } -}git -``` - -stopTimer promise mode: - -**Example** - -```js -export default { - async systemTimer (){ - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - systemTimer.startTimer(timerId, triggerTime); - try { - systemTimer.stopTimer(timerId, triggerTime).then((data) => { - console.log(`Succeeded in stop timer. Data:` + data); - }).catch((error) => { - // Capture the permission denial error. - console.info(`Failed to stop timer. message: ${error.message}, code: ${error.code}`); - }); - } catch (e) { - // Capture the parameter verification error. - console.info(`Failed to stop timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -destroyTimer callback mode: - -**Example** - -```js -export default { - async systemTimer () { - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - systemTimer.startTimer(timerId, triggerTime); - systemTimer.stopTimer(timerId); - try { - systemTimer.destroyTimer(timerId, triggerTime, (error) => { - if (error) { - // Capture the permission denial error. - console.error(`Failed to destroy timer. message: ${error.message}, code: ${error.code}`); - } - }); - } catch (e) { - // Capture the parameter verification error. - console.info(`Failed to destroy timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -destroyTimer promise mode: - -**Example** - -```js -export default { - async systemTimer (){ - let options = { - type: systemTimer.TIMER_TYPE_REALTIME, - repeat:false - } - let timerId = await systemTimer.createTimer(options); - let triggerTime = new Date().getTime(); - triggerTime += 3000; - systemTimer.startTimer(timerId, triggerTime); - systemTimer.stopTimer(timerId); - try { - systemTimer.destroyTimer(timerId, triggerTime).then((data) => { - console.log(`Succeeded in destroy timer. Data:` + data); - }).catch((error) => { - // Capture the permission denial error. - console.info(`Failed to destroy timer. message: ${error.message}, code: ${error.code}`); - }); - } catch (e) { - // Capture the parameter verification error. - console.info(`Failed to destroy timer. message: ${e.message}, code: ${e.code}`); - } - } -} -``` - -## cl.time.2 API Error Change - -Errors thrown by timer APIs of the time subsystem: **201** (permission denied), **202** (non-system application), and **401** (invalid parameters). - -**Change Impacts** - -Applications developed based on earlier versions can still use the APIs. When new APIs are used, errors must be captured and processed. - -**Key API/Component Changes** - -Before change: - - The API throws an error message with error code **-1**. - -After change: - - The API throws an error message with an error code. Error code **201** indicates that the permission is denied, error code **202** indicates that the application is not a system application, and error code **401** indicates that the parameters are invalid. - -Deprecated APIs can be replaced with new ones with same names. - -| Original API | New API | -| ---------------- | -------------------- | -| @ohos.systemTime | @ohos.systemDateTime | - -**Adaptation Guide** - -Refer to the code below to capture errors when **systemTime** APIs are called in applications. In the examples, the **setTime** API is invoked. - -In callback mode: - -**Example** - -```js -import systemDateTime from @ohos.systemDateTime -// Set the system time to 2021-01-20 02:36:25. -let time = 1611081385000; -try { - systemDateTime.setTime(time, (error) => { - // Capture permission denial and non-system-application errors. - if (error) { - console.info(`Failed to setting time. message: ${error.message}, code: ${error.code}`); - return; - } - console.info(`Succeeded in setting time.`); - }) -} catch(e) { - // Capture the parameter verification error. - console.info(`Failed to set time. message: ${e.message}, code: ${e.code}`); -} -``` - -In promise mode: - -**Example** - -```js -import systemDateTime from @ohos.systemDateTime -// Set the system time to 2021-01-20 02:36:25. -let time = 1611081385000; -try { - systemDateTime.setTime(time).then(() => { - console.info(`Succeeded in setting time.`); - }).catch((error) => { - // Capture permission denial and non-system-application errors. - console.info(`Failed to setting time. message: ${error.message}, code: ${error.code}`); - }); -} catch(e) { - // Capture the parameter verification error. - console.info(`Failed to set time. message: ${e.message}, code: ${e.code}`); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-url.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-url.md deleted file mode 100644 index c5f219a9dca53926c131a4bf36e17122e2b47cce..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.1/changelogs-url.md +++ /dev/null @@ -1,72 +0,0 @@ -# Common Library Subsystem Changelog - -Compared with OpenHarmony 3.2 Beta4, OpenHarmony 3.2.10.1(MR) has the following API changes in the URL module of the common library subsystem. - -## cl.commonlibrary.1 URLParams Class Changes - -The constructor function of the **URLParams** class in the URL module of the common library subsystem is changed. - -Specifically, **constructor(init?: string[][] | Record | string | URLSearchParams)** is changed to **constructor(init?: string[][] | Record | string | URLParams)**, and the parameter type is changed from **URLSearchParams** to **URLParams**. - -You need to adapt your application. - -**Change Impacts** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| :------------------------ | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.url | URLParams | constructor(string[][] \| Record<string, string> \| string \| URLSearchParams) | Deleted | -| @ohos.url | URLParams | constructor(string[][] \| Record<string, string> \| string \| URLParams)| Changed - -**Adaptation Guide** - -The following illustrates how to create a **URLParams** object in your application. - -Example: - -```ts -import url from '@ohos.url' -try { - let params1 = new Url.URLParams('?user=abc&query=xyz') - let params2 = new Url.URLParams(params1) - var result= params2.toString() - console.log(result) //"user=abc&query=xyz" -} catch (err) { - console.error(`Fail to ceate URLParams.codeis${err.code},message is ${err.message}`); -} -``` -## cl.commonlibrary.2 URL Attribute Changes of URLParams Class APIs - -The URL attributes of the URL module in the common library subsystem are changed. - -Specifically, the **searchParams: URLSearchParams** attribute is deprecated, and the **params: URLParams** attribute is added. - -You need to adapt your application. - -**Change Impacts** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| :------------------------ | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.url | URL | searchParams: URLSearchParams; |Deprecated (in API version 9)
| -| @ohos.url | URL | params: URLParams; | Added | - -**Adaptation Guide** - -The following illustrates how to create a **URLParams** object in your application. - -Example: - -```ts -import url from '@ohos.url' -let that = new Url.URL('http://username:password@host:8080/directory/file?Hello=china#qwer=da') -let params = that.URLParams -var result = params.toString() -console.log(result) //%E4%BD%A0%E5%A5%BD=china -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-bundlemanager.md deleted file mode 100644 index 94e7367fe1d8daeee5d9a943ca6d85b463e7be2a..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-bundlemanager.md +++ /dev/null @@ -1,60 +0,0 @@ -# Bundle Manager Subsystem Changelog - -## cl.bundlemanager.1 Deleted the atomicService Tag from the app.json File -The **atomicService** tag is deleted from the **app.json** file. - -**Change Impact**
-If this tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Delete the **atomicService** tag from your code. - -## cl.bundlemanager.2 Added the bundleType Tag to the app.json File -The **bundleType** tag is added to the **app.json** file. - -**Change Impact**
-For an existing ability with [installationFree](../../../application-dev/quick-start/module-configuration-file.md) set to **true**, **bundleType** must be set to **atomicService** in the **app.json** file. Otherwise, the packaging fails. - -**Adaptation Guide**
-Add the [bundleType](../../../application-dev/quick-start/app-configuration-file.md) tag. This tag can be left blank. The default value is **app**. The setting of this tag and the [installationFree](../../../application-dev/quick-start/module-configuration-file.md) field in the **module.json** file must meet the following rules: -- If **bundleType** is **app**, **installationFree** must be set to **false**. -- If **bundleType** is **atomicService**, **installationFree** must be set to **true**. - -## cl.bundlemanager.3 Deleted the split Field from the ApplicationInfo Struct - -The **split** field is deleted from the [ApplicationInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts) struct. - -**Change Impact**
-If the **split** field is used in your code, the compilation fails. - -**Key API/Component Changes**
-The **split** field is deleted from the [ApplicationInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts) struct. - -**Adaptation Guide**
-Delete the **split** field from the **ApplicationInfo** struct of your code. The stage model always forcibly splits bundles. - -## cl.bundlemanager.4 Deleted the atomicServiceModuleType Field from the HapModuleInfo Struct - -The **atomicServiceModuleType** field is deleted from the [HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) struct. - -**Change Impact**
-If the **atomicServiceModuleType** field is used in your code, the compilation fails. - -**Key API/Component Changes**
-The **atomicServiceModuleType** field is deleted from the [HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) struct. - -**Adaptation Guide**
-Record the setting of the **atomicServiceModuleType** field, delete it from the [HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) struct, and set the **moduleType** field in the [HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) struct to the recorded value. - -## cl.bundlemanager.5 Deleted the AtomicServiceModuleType Enumerated Value - -The **atomicServiceModuleType** field is deleted from the [HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) struct. - -**Change Impact**
-If the **atomicServiceModuleType** field is used in your code, the compilation fails. - -**Key API/Component Changes**
-The **atomicServiceModuleType** field is deleted from the [HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) struct. - -**Adaptation Guide**
-Record the setting of the **atomicServiceModuleType** field, delete it from the [HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) struct, and set the **moduleType** field in the [HapModuleInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) struct to the recorded value. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-imf.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-imf.md deleted file mode 100644 index f158d99d9a0023c67ad982fc6b687563121f4dac..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-imf.md +++ /dev/null @@ -1,19 +0,0 @@ -# Input Method Framework Subsystem – Input Method Framework Service Changelog - - -## @ohos.InputMethodSubtype Change of name, label, and id -Changed the **name**, **label**, and **id** attributes since API version 9. - -**Change Impact** - -Applications must be adapted to the following changes. - -| Name| Before Change| After Change| -| -------- | -------- | -------- | -| label | (1) Value: ID of the input method subtype.| (1) Value: Label of the input method subtype.| -| name | (1) Description: Name of the input method subtype. (2) Value: Label of the input method subtype.| (1) Description: Bundle name of the input method; (2) Value: Bundle name of the input method.| -| id | (1) Value: Bundle name of the input method.| (1) Value: ID of the input method subtype.| - -**Adaptation Guide** - -Update the code to adapt to the preceding changes. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-screenlock.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-screenlock.md deleted file mode 100644 index deeaac319aecfd4ba2824b8f23370d6fe2601adc..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-screenlock.md +++ /dev/null @@ -1,157 +0,0 @@ -# Theme Framework Subsystem – Screenlock Management Service Changelog - - -## cl.screenlock.1 Permission Change of isLocked and unlock -Changed the **isLocked** and **unlock** APIs to system APIs since API version 9. - -You need to adapt your application based on the following information. - -**Change Impact** - -The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected. - -- Involved APIs: - -```js - function isLocked(): boolean; - function unlock(callback: AsyncCallback): void; - function unlock():Promise; -``` - -- Before change: - -```js - * Checks whether the screen is currently locked. - * - * @returns Returns {@code true} if the screen is currently locked; returns {@code false} otherwise. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function isLocked(): boolean; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function unlock(callback: AsyncCallback): void; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function unlock():Promise; -``` - -- After change: - -```js - * Checks whether the screen is currently locked. - * - * @returns Returns {@code true} if the screen is currently locked; returns {@code false} otherwise. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function isLocked(): boolean; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function unlock(callback: AsyncCallback): void; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function unlock():Promise; -``` - - -**Adaptation Guide** - -Make sure the APIs are only invoked by system applications. - -The code snippet is as follows: - -```js - try { - let ret = screenLock.isLocked(); - console.error(`Obtain whether the screen is locked successfully , ret is: ${ret}`); - } catch (error) { - console.error(`Failed to obtain whether the screen is locked, error is : ${error.code}, ${error.message}`); - } -``` - -```js - screenlock.unlock((err, data) => { - if (err) { - console.error(`Failed to unlock the screen, because: ${err.message}`); - return; - } - console.info(`unlock the screen successfully. result: ${data}`); - }); -``` - -```js - screenlock.unlock().then((data) => { - console.info(`unlock the screen successfully. result: ${data}`); - }).catch((err) => { - console.error(`Failed to unlock the screen, because: ${err.message}`); - }); -``` - - -## cl.screenlock.2 Deprecation of isSecure -Deprecated the **isSecure** API since API version 9. - -You need to adapt your application based on the following information. - -**Change Impact** - -The API can no longer be used after being deleted. - -- Involved APIs: - -```js - function isSecure(): boolean; -``` - -- Before change: - -```js - function isSecure(): boolean; -``` - -- After change: - - The API is deleted. - - -**Adaptation Guide** - -Update the code so that the deprecated API is not used. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-wallpaper.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-wallpaper.md deleted file mode 100644 index 18fff418c0723c7508f6c7eacdb318b95758402b..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.12/changelog-wallpaper.md +++ /dev/null @@ -1,306 +0,0 @@ -# Theme Framework Subsystem – Wallpaper Management Service Changelog - - -## cl.wallpaper.1 Permission Change of getColorsSync, getMinHeightSync, getMinWidthSync, restore, and setImage -Changed the **getColorsSync**, **getMinHeightSync**, **getMinWidthSync**, restore, and **setImage** APIs to system APIs since API version 9. - -You need to adapt your application based on the following information. - -**Change Impact** - -The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected. - -- Involved APIs: - -```js - function getColorsSync(wallpaperType: WallpaperType): Array; - function getMinHeightSync(): number; - function getMinWidthSync(): number; - function restore(wallpaperType: WallpaperType, callback: AsyncCallback): void; - function restore(wallpaperType: WallpaperType): Promise; - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback): void; - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise; -``` - -- Before change: - -```js - /** - * Obtains the wallpaper colors for the wallpaper of the specified type. Returns rgbaColor type of array callback function. - * @param wallpaperType Indicates the wallpaper type. - * @returns { Array } the Array returned by the function. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getColorsSync(wallpaperType: WallpaperType): Array; - - /** - * Obtains the minimum height of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getMinHeightSync(): number; - - /** - * Obtains the minimum width of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getMinWidthSync(): number; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function restore(wallpaperType: WallpaperType, callback: AsyncCallback): void; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function restore(wallpaperType: WallpaperType): Promise; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback): void; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise; -``` - -- After change: - -```js - /** - * Obtains the wallpaper colors for the wallpaper of the specified type. Returns rgbaColor type of array callback function. - * @param wallpaperType Indicates the wallpaper type. - * @returns { Array } the Array returned by the function. - * @throws {BusinessError} 401 - parameter error. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getColorsSync(wallpaperType: WallpaperType): Array; - - /** - * Obtains the minimum height of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getMinHeightSync(): number; - - /** - * Obtains the minimum width of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getMinWidthSync(): number; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function restore(wallpaperType: WallpaperType, callback: AsyncCallback): void; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function restore(wallpaperType: WallpaperType): Promise; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback): void; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise; -``` - - -**Adaptation Guide** - -Make sure the APIs are only invoked by system applications. - -The code snippet is as follows: - -```js - 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)}`); - } -``` - -```js - let minHeight = wallpaper.getMinHeightSync(); -``` - -```js - let minWidth = wallpaper.getMinWidthSync(); -``` - -```js - wallpaper.restore(wallpaper.WallpaperType.WALLPAPER_SYSTEM, (error) => { - if (error) { - console.error(`failed to restore because: ${JSON.stringify(error)}`); - return; - } - console.log(`success to restore.`); - }); -``` - -```js - wallpaper.restore(wallpaper.WallpaperType.WALLPAPER_SYSTEM).then(() => { - console.log(`success to restore.`); - }).catch((error) => { - console.error(`failed to restore because: ${JSON.stringify(error)}`); - }); -``` - -```js - // The source type is string. - let wallpaperPath = "/data/data/ohos.acts.aafwk.plrdtest.form/files/Cup_ic.jpg"; - wallpaper.setImage(wallpaperPath, wallpaper.WallpaperType.WALLPAPER_SYSTEM, (error) => { - if (error) { - console.error(`failed to setImage because: ${JSON.stringify(error)}`); - return; - } - console.log(`success to setImage.`); - }); -``` - -```js - // The source type is string. - let wallpaperPath = "/data/data/ohos.acts.aafwk.plrdtest.form/files/Cup_ic.jpg"; - wallpaper.setImage(wallpaperPath, wallpaper.WallpaperType.WALLPAPER_SYSTEM).then(() => { - console.log(`success to setImage.`); - }).catch((error) => { - console.error(`failed to setImage because: ${JSON.stringify(error)}`); - }); -``` - - -## cl.wallpaper.2 Deprecation of getIdSync, getFileSync, isChangeAllowed, isUserChangeAllowed, on, off, and RgbaColor -Deprecated the **getIdSync**, **getFileSync**, **isChangeAllowed**, **isUserChangeAllowed**, **on**, **off**, and **RgbaColor** APIs since API version 9. - -You need to adapt your application based on the following information. - -**Change Impact** - -The APIs can no longer be used after being deleted. - -- Involved APIs: - -```js - function getIdSync(wallpaperType: WallpaperType): number; - function getFileSync(wallpaperType: WallpaperType): number; - function isChangeAllowed(): boolean; - function isUserChangeAllowed(): boolean; - function on(type: 'colorChange', callback: (colors: Array, wallpaperType: WallpaperType) => void): void; - function off(type: 'colorChange', callback?: (colors: Array, wallpaperType: WallpaperType) => void): void; - interface RgbaColor { - red: number; - green: number; - blue: number; - alpha: number; - } -``` - -- Before change: - -```js - function getIdSync(wallpaperType: WallpaperType): number; - function getFileSync(wallpaperType: WallpaperType): number; - function isChangeAllowed(): boolean; - function isUserChangeAllowed(): boolean; - function on(type: 'colorChange', callback: (colors: Array, wallpaperType: WallpaperType) => void): void; - function off(type: 'colorChange', callback?: (colors: Array, wallpaperType: WallpaperType) => void): void; - interface RgbaColor { - red: number; - green: number; - blue: number; - alpha: number; - } -``` - -- After change: - - The APIs are deleted. - - -**Adaptation Guide** - -Update the code so that the deprecated APIs are not used. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.2/changelogs-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.2/changelogs-bundlemanager.md deleted file mode 100644 index abafad96dd7c025fdef8c5144e3f10c0f1ff48f9..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.2/changelogs-bundlemanager.md +++ /dev/null @@ -1,34 +0,0 @@ -# Bundle Manager Subsystem Changelog - -## cl.bundlemanager.1 Field Change of the ApplicationInfo Struct in API Version 9 - -The **ApplicationInfo** struct [bundleManager/applicationInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts) in API version 9 has field changes, with the **systemApp** field being added and the **entryDir** field being deleted. - -**Change Impact**
-There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 need to adapt new modules and APIs. - -**Key API/Component Changes**
-The following table describes the changed fields in the **ApplicationInfo** struct. -| Deleted Field| Added or Changed Field in API Version 9| Type| -| --- | --- | --- | -| N/A| systemApp | boolean | -| entryDir | N/A | string | - -**Adaptation Guide**
-Import the bundle manager query module and use the **systemApp** field in the **ApplicationInfo** struct of API version 9. If the **entryDir** field is used, change the field because it is redundant in features where HAP decompression is not required. - -## cl.bundlemanager.2 Field Change of the HapModuleInfo Struct in API Version 9 - -The **moduleSourceDir** field is deleted from the **HapModuleInfo** struct [bundleManager/hapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) in API version 9. - -**Change Impact**
-There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 need to adapt new modules and APIs. - -**Key API/Component Changes**
-The following table describes the changed fields in the **HapModuleInfo** struct. -| Deleted Field| Added or Changed Field in API Version 9| Type| -| --- | --- | --- | -| moduleSourceDir | N/A | string | - -**Adaptation Guide**
-Import the bundle manager query module and do not use the **moduleSourceDir** field in the **HapModuleInfo** struct of API version 9. If the **moduleSourceDir** field is used, change the field because it is redundant in features where HAP decompression is not required. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-account_os_account.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-account_os_account.md deleted file mode 100644 index e4b1955ff7fdcd16e8fe9946dc899c16657ffdc8..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-account_os_account.md +++ /dev/null @@ -1,96 +0,0 @@ -# Account Subsystem Changelog - -## cl.account_os_account.1 createOsAccountForDomain Error Code Change - -Changed the error code returned when the domain account created by **createOsAccountForDomain()** already exists from **12300001** to **12300004**. -Changed the error information from "common system error" to "The account already exists". - -**Change Impact** - -The application developed based on earlier versions needs to adapt the new error code. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** -- AccountManager - - createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo, callback: AsyncCallback<OsAccountInfo>); - - createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo): Promise<OsAccountInfo>; - -**Adaptation Guide** - -The sample code is as follows: - -```ts -import account_osAccount from "@ohos.account.osAccount" - -let accountMgr = account_osAccount.getAccountManager(); -let domainInfo = { - accountName: "zhangsan", - domain: "china.example.com" -}; -try { - await accountMgr.createOsAccountForDomain(account_osAccount.OsAccountType.NORMAL, domainInfo); - await accountMgr.createOsAccountForDomain(account_osAccount.OsAccountType.NORMAL, domainInfo); -} catch (err) { - console.log("activateOsAccount err: " + JSON.stringify(err)); // error.code = 12300004; -} -``` - -## cl.account_os_account.2 Application Account getAllAccounts() Permission Change - -Removed the **ohos.permission.GET_ALL_APP_ACCOUNTS** permission that is originally required for an application to call **getAllAccounts()** to obtain accessible accounts. - -**Change Impact** - -From this version, applications do not need the **ohos.permission.GET_ALL_APP_ACCOUNTS** permission when calling **getAllAccounts()**. - -**Key API/Component Changes** -- AccountManager - - getAllAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void; - - getAllAccounts(): Promise<Array<AppAccountInfo>>; - -**Adaptation Guide** - -The following is the sample code for an application to obtain the accessible accounts without the **ohos.permission.GET_ALL_APP_ACCOUNTS** permission: - -```ts -import account_appAccount from "@ohos.account.appAccount" - -let accountMgr = account_appAccount.createAppAccountManager(); -try { - await accountMgr.addAccount("accessibleAccount_promise_nopermission"); - var data = await accountMgr.getAllAccounts(); - if (data[0].name == "accessibleAccount_promise_nopermission") { - console.log("getAllAccounts successfully"); - } -} catch (err) { - console.log("getAllAccounts err: " + JSON.stringify(err)); -} -``` - -## cl.account_os_account.3 Application Account getAccountsByOwner() Permission Change - -Removed the **ohos.permission.GET_ALL_APP_ACCOUNTS** permission that is originally required for an application to call **getAccountsByOwner()** to obtain the accessible accounts based on the account owner . - -**Change Impact** - -From this version, applications do not need the **ohos.permission.GET_ALL_APP_ACCOUNTS** permission when calling **getAccountsByOwner()**. - -**Key API/Component Changes** -- AccountManager - - getAccountsByOwner(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): void; - - getAccountsByOwner(owner: string): Promise<Array<AppAccountInfo>>; - -**Adaptation Guide** - -The following is the sample code for an application to obtain the accessible accounts based on the account owner without the **ohos.permission.GET_ALL_APP_ACCOUNTS** permission: - -```ts -import account_appAccount from "@ohos.account.appAccount" - -let accountMgr = account_appAccount.createAppAccountManager(); -try { - var ownerName = "com.example.owner"; - var data = await accountMgr.getAllAccounts(ownerName); -} catch (err) { - console.log("getAllAccounts err: " + JSON.stringify(err)); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-bundlemanager.md deleted file mode 100644 index ed95a11140efc969e38d2ba50ad6ec1ed4d08b96..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-bundlemanager.md +++ /dev/null @@ -1,21 +0,0 @@ -# Bundle Manager Subsystem ChangeLog - -## cl.bundlemanager.1 Name Change of the Bundle Manager Distributed Query Module - -The name of the bundle manager distributed query module in API version 9 is changed from **ohos.bundle.distributedBundle** to **[ohos.bundle.distributedBundleManager](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.distributedBundleManager.d.ts)**. The APIs remain unchanged. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 need to adapt the new module. - -**Key API/Component Changes** - -The name of the bundle manager distributed query module is changed from **ohos.bundle.distributedBundle** to **ohos.bundle.distributedBundleManager**. The APIs remain unchanged. - -**Adaptation Guide** - -Change the module to import from **@ohos.bundle.distributedBundle** to **@ohos.bundle.distributedBundleManager**. - -```ts -import distributedBundle form '@ohos.bundle.distributedBundleManager'; -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-camera-sync.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-camera-sync.md deleted file mode 100644 index c20c9e4c50f8de7ba2c8a0323f19d2000e4007ad..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-camera-sync.md +++ /dev/null @@ -1,522 +0,0 @@ -# Multimedia Subsystem ChangeLog - -Compared with OpenHarmony 3.2 Beta4, OpenHarmony3.2.10.3 has the following changes in APIs of the camera component in the multimedia subsystem. - -## cl.subsystemname.1 Camera API Changed -1. All the APIs of the camera component are changed to system APIs in the API version 9. -2. Some functional APIs are added and some others are deprecated to: - -- Improve the usability of camera APIs. -- Help you quickly understand camera APIs and use them for development. -- Facilitate expansion of framework functions in later versions, and reduce coupling between framework modules. - -You need to refer to the following change description to adapt your application. - -**Change Impacts** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Is System API| Change Type| -| ---------------------- | ----------------------- | ------------------------------------------------------------ | --------------- | -------- | -| ohos.multimedia.camera | camera | function getCameraManager(context: Context): CameraManager; | Yes | Added | -| ohos.multimedia.camera | camera | function getCameraManager(context: Context, callback: AsyncCallback): void;
function getCameraManager(context: Context): Promise; | Yes | Deprecated | -| ohos.multimedia.camera | CameraErrorCode | INVALID_ARGUMENT = 7400101,
OPERATION_NOT_ALLOWED = 7400102,
SESSION_NOT_CONFIG = 7400103,
SESSION_NOT_RUNNING = 7400104,
SESSION_CONFIG_LOCKED = 7400105,
DEVICE_SETTING_LOCKED = 7400106,
CONFILICT_CAMERA = 7400107,
DEVICE_DISABLED = 7400108,
SERVICE_FATAL_ERROR = 7400201 | Yes | Added | -| ohos.multimedia.camera | CameraManager | getSupportedCameras(): Array;
getSupportedOutputCapability(camera: CameraDevice): CameraOutputCapability;
createCameraInput(camera: CameraDevice): CameraInput;
createCameraInput(position: CameraPosition, type: CameraType): CameraInput;
createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput;
createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput;
createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput;
createMetadataOutput(metadataObjectTypes: Array): MetadataOutput;
createCaptureSession(): CaptureSession; | Yes | Added | -| ohos.multimedia.camera | CameraManager | getSupportedCameras(callback: AsyncCallback>): void;
getSupportedCameras(): Promise>;
getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback): void;
getSupportedOutputCapability(camera: CameraDevice): Promise;
createCameraInput(camera: CameraDevice, callback: AsyncCallback): void;
createCameraInput(camera: CameraDevice): Promise;
createCameraInput(position: CameraPosition, type: CameraType, callback: AsyncCallback): void;
createCameraInput(position: CameraPosition, type: CameraType): Promise;
createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;
createPreviewOutput(profile: Profile, surfaceId: string): Promise;
createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;
createPhotoOutput(profile: Profile, surfaceId: string): Promise;
createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback): void;
createVideoOutput(profile: VideoProfile, surfaceId: string): Promise;
createMetadataOutput(metadataObjectTypes: Array, callback: AsyncCallback): void;
createMetadataOutput(metadataObjectTypes: Array): Promise;
createCaptureSession(callback: AsyncCallback): void;
createCaptureSession(): Promise; | Yes | Deprecated | -| ohos.multimedia.camera | CameraType | CAMERA_TYPE_DEFAULT = 0 | Yes | Added | -| ohos.multimedia.camera | CameraType | CAMERA_TYPE_UNSPECIFIED = 0 | Yes | Deprecated | -| ohos.multimedia.camera | CameraInput | on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | CameraInput | release(callback: AsyncCallback): void;
release(): Promise;
on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | CameraInputErrorCode | ERROR_UNKNOWN = -1
ERROR_NO_PERMISSION = 0
ERROR_DEVICE_PREEMPTED = 1
ERROR_DEVICE_DISCONNECTED = 2
ERROR_DEVICE_IN_USE = 3
ERROR_DRIVER_ERROR = 4 | Yes | Deprecated | -| ohos.multimedia.camera | CameraInputError | code: CameraInputErrorCode | Yes | Deprecated | -| ohos.multimedia.camera | CaptureSession | beginConfig(): void;
addInput(cameraInput: CameraInput): void;
removeInput(cameraInput: CameraInput): void;
addOutput(cameraOutput: CameraOutput): void;
removeOutput(cameraOutput: CameraOutput): void;
hasFlash(): boolean;
isFlashModeSupported(flashMode: FlashMode): boolean;
getFlashMode(): FlashMode;
setFlashMode(flashMode: FlashMode): void;
isExposureModeSupported(aeMode: ExposureMode): boolean;
getExposureMode(): ExposureMode;
setExposureMode(aeMode: ExposureMode): void;
getMeteringPoint(): Point;
setMeteringPoint(point: Point): void;
getExposureBiasRange(): Array;
setExposureBias(exposureBias: number): void;
getExposureValue(): number;
isFocusModeSupported(afMode: FocusMode): boolean;
getFocusMode(): FocusMode;
setFocusMode(afMode: FocusMode): void;
setFocusPoint(point: Point): void;
getFocusPoint(): Point;
getFocalLength(): number;
getZoomRatioRange(): Array;
getZoomRatio(): number;
setZoomRatio(zoomRatio: number): void;
isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean;
getActiveVideoStabilizationMode(): VideoStabilizationMode;
setVideoStabilizationMode(mode: VideoStabilizationMode): void;
on(type: 'error', callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | CaptureSession | beginConfig(callback: AsyncCallback): void;
beginConfig(): Promise;
addInput(cameraInput: CameraInput, callback: AsyncCallback): void;
addInput(cameraInput: CameraInput): Promise;
removeInput(cameraInput: CameraInput, callback: AsyncCallback): void;
removeInput(cameraInput: CameraInput): Promise;
addOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
addOutput(cameraOutput: CameraOutput): Promise;
removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
removeOutput(cameraOutput: CameraOutput): Promise;
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;
isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode, callback: AsyncCallback): void;
isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): Promise;
getActiveVideoStabilizationMode(callback: AsyncCallback): void;
getActiveVideoStabilizationMode(): Promise;
setVideoStabilizationMode(mode: VideoStabilizationMode, callback: AsyncCallback): void;
setVideoStabilizationMode(mode: VideoStabilizationMode): Promise;
on(type: 'error', callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | CaptureSessionErrorCode | ERROR_UNKNOWN = -1
ERROR_INSUFFICIENT_RESOURCES = 0
ERROR_TIMEOUT = 1 | Yes | Deprecated | -| ohos.multimedia.camera | CaptureSessionError | code: CaptureSessionErrorCode | Yes | Deprecated | -| ohos.multimedia.camera | PreviewOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | PreviewOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | PreviewOutputErrorCode | ERROR_UNKNOWN = -1 | Yes | Deprecated | -| ohos.multimedia.camera | PreviewOutputError | code: PreviewOutputErrorCode | Yes | Deprecated | -| ohos.multimedia.camera | PhotoOutput | capture(): Promise;
isMirrorSupported(): boolean;
on(type: 'error', callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | PhotoOutput | isMirrorSupported(callback: AsyncCallback): void;
isMirrorSupported(): Promise;
on(type: 'error', callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | PhotoOutputErrorCode | ERROR_UNKNOWN = -1
ERROR_DRIVER_ERROR = 0
ERROR_INSUFFICIENT_RESOURCES = 1
ERROR_TIMEOUT = 2 | Yes | Deprecated | -| ohos.multimedia.camera | PhotoOutputError | code: PhotoOutputErrorCode | Yes | Deprecated | -| ohos.multimedia.camera | VideoOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | VideoOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | VideoOutputErrorCode | ERROR_UNKNOWN = -1
ERROR_DRIVER_ERROR = 0 | Yes | Deprecated | -| ohos.multimedia.camera | VideoOutputError | code: VideoOutputErrorCode | Yes | Deprecated | -| ohos.multimedia.camera | MetadataObject | readonly type: MetadataObjectType;
readonly timestamp: number; | Yes | Added | -| ohos.multimedia.camera | MetadataObject | getType(callback: AsyncCallback): void;
getType(): Promise;
getTimestamp(callback: AsyncCallback): void;
getTimestamp(): Promise;
getBoundingBox(callback: AsyncCallback): void;
getBoundingBox(): Promise; | Yes | Deprecated | -| ohos.multimedia.camera | MetadataFaceObject | readonly boundingBox: Rect | Yes | Added | -| ohos.multimedia.camera | MetadataOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Added | -| ohos.multimedia.camera | MetadataOutput | on(type: 'error', callback: ErrorCallback): void; | Yes | Deprecated | -| ohos.multimedia.camera | MetadataOutputErrorCode | ERROR_UNKNOWN = -1
ERROR_INSUFFICIENT_RESOURCES = 0 | Yes | Deprecated | -| ohos.multimedia.camera | MetadataOutputError | code: MetadataOutputErrorCode | Yes | Deprecated | - -**Adaptation Guide** - -In addition to the new APIs and deprecated APIs, you need to adapt your application to the changed APIs. - -In Beta4 and later versions, the following APIs are changed. - -**New APIs** - -1. **CameraErrorCode** enums - - Enum: INVALID_ARGUMENT; value: 7400101 - - Enum: OPERATION_NOT_ALLOWED; value: 7400102 - - Enum: SESSION_NOT_CONFIG; value: 7400103 - - Enum: SESSION_NOT_RUNNING; value: 7400104 - - Enum: SESSION_CONFIG_LOCKED; value: 7400105 - - Enum: DEVICE_SETTING_LOCKED; value: 7400106 - - Enum: CONFILICT_CAMERA; value: 7400107 - - Enum: DEVICE_DISABLED; value: 7400108 - - Enum: SERVICE_FATAL_ERROR; value: 7400201 - -2. Added **capture(): Promise** to the **PhotoOutput** API. - -3. Added the readonly type **MetadataObjectType** to the **MetadataObject** API. - -4. Added **readonly timestamp: number** to the **MetadataObject** API. - -5. Added **readonly boundingBox: Rect** to the **MetadataObject** API. - -**Deprecated APIs** - -1. Deprecated the **release(callback: AsyncCallback): void** and **release(): Promise** APIs in **CameraInput**. - -2. Deprecated the **CameraInputErrorCode** enums and all their values: **ERROR_UNKNOWN** = **-1**, **ERROR_NO_PERMISSION** = **0**, **ERROR_DEVICE_PREEMPTED** = **1**, **ERROR_DEVICE_DISCONNECTED** = **2**, **ERROR_DEVICE_IN_USE** = **3**, **ERROR_DRIVER_ERROR** = **4** - -3. Deprecated the **CameraInputError** API and its attribute **CameraInputErrorCode**. - -4. Deprecated the **CaptureSessionErrorCode** enums and all their values: **ERROR_UNKNOWN** = **-1**, **ERROR_INSUFFICIENT_RESOURCES** = **0**, **ERROR_TIMEOUT** = **1** - -5. Deprecated the **CaptureSessionError** API and its attribute **CaptureSessionErrorCode**. - -6. Deprecated the **PreviewOutputErrorCode** enum and its value: **ERROR_UNKNOWN** = **-1** - -7. Deprecated the **PreviewOutputError** API and its attribute **PreviewOutputErrorCode**. - -8. Deprecated the **PhotoOutputErrorCode** enums and all their values: **ERROR_UNKNOWN** = **-1**, **ERROR_DRIVER_ERROR** = **0**, **ERROR_INSUFFICIENT_RESOURCES** = **1**, **ERROR_TIMEOUT** = **2** - -9. Deprecated the **PhotoOutputError** API and its attribute **PhotoOutputErrorCode**. - -10. Deprecated the **VideoOutputErrorCode** enums and all their values: **ERROR_UNKNOWN** = **-1**, **ERROR_DRIVER_ERROR** = **0** - -11. Deprecated the **VideoOutputError** API and its attribute **VideoOutputErrorCode**. - -12. Deprecated **getType(callback: AsyncCallback): void** in the **MetadataObject** API. - -13. Deprecated **getType(): Promise** in the **MetadataObject** API. - -14. Deprecated **getTimestamp(callback: AsyncCallback): void** in the **MetadataObject** API. - -15. Deprecated **getTimestamp(): Promise** in the **MetadataObject** API. - -16. Deprecated **getBoundingBox(callback: AsyncCallback): void** in the **MetadataObject** API. - -17. Deprecated **getBoundingBox(): Promise** in the **MetadataObject** API. - -18. Deprecated the **MetadataOutputErrorCode** enums and all their values: **ERROR_UNKNOWN** = **-1**, **ERROR_INSUFFICIENT_RESOURCES** = **0** - -19. Deprecated the **MetadataOutputError** API and its attribute **MetadataOutputErrorCode**. - -**Changed APIs** - -1. Changed the return modes of the **getCameraManager** API in the camera module from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getCameraManager(context: Context, callback: AsyncCallback): void** and **getCameraManager(context: Context): Promise** are changed to **getCameraManager(context: Context): CameraManager**. - - The sample code is as follows: - - ``` - let cameraManager = camera.getCameraManager(context); - ``` - -2. Changed the return modes of the **getSupportedCameras** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getSupportedCameras(callback: AsyncCallback>): void** and **getSupportedCameras(): Promise>** are changed to **getSupportedCameras(): Array**. - - The sample code is as follows: - - ``` - let cameras = cameraManager.getSupportedCameras(); - ``` - -3. Changed the return modes of the **getSupportedOutputCapability** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback): void** and **getSupportedOutputCapability(camera: CameraDevice): Promise** are changed to **getSupportedOutputCapability(camera: CameraDevice): CameraOutputCapability**. - - The sample code is as follows: - - ``` - let cameraDevice = cameras[0]; - let CameraOutputCapability = cameraManager.getSupportedOutputCapability(cameraDevice); - ``` - -4. Changed the return modes of the **createCameraInput(camera: CameraDevice)** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createCameraInput(camera: CameraDevice, callback: AsyncCallback): void** and **createCameraInput(camera: CameraDevice): Promise** are changed to **createCameraInput(camera: CameraDevice): CameraInput**. - - The sample code is as follows: - - ``` - let cameraDevice = cameras[0]; - let cameraInput = cameraManager.createCameraInput(cameraDevice); - ``` - -5. Changed the return modes of the **createCameraInput(position: CameraPosition, type: CameraType)** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createCameraInput(position: CameraPosition, type: CameraType, callback: AsyncCallback): void** and **createCameraInput(position: CameraPosition, type: CameraType): Promise** are changed to **createCameraInput(position: CameraPosition, type: CameraType): CameraInput**. - - The sample code is as follows: - - ``` - let cameraDevice = cameras[0]; - let position = cameraDevice.cameraPosition; - let type = cameraDevice.cameraType; - let cameraInput = cameraManager.createCameraInput(position, type); - ``` - -6. Changed the return modes of the **createPreviewOutput** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void** and **createPreviewOutput(profile: Profile, surfaceId: string): Promise** are changed to **createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput**. - - The sample code is as follows: - - ``` - let profile = cameraoutputcapability.previewProfiles[0]; - let previewOutput = cameraManager.createPreviewOutput(profile, surfaceId); - ``` - -7. Changed the return modes of the **createPhotoOutput** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void** and **createPhotoOutput(profile: Profile, surfaceId: string): Promise** are changed to **createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput**. - - The sample code is as follows: - - ``` - let profile = cameraoutputcapability.photoProfiles[0]; - let photoOutput = cameraManager.createPhotoOutput(profile, surfaceId); - ``` - -8. Changed the return modes of the **createVideoOutput** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback): void** and **createVideoOutput(profile: VideoProfile, surfaceId: string): Promise** are changed to **createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput**. - - The sample code is as follows: - - ``` - let profile = cameraoutputcapability.videoProfiles[0]; - let videoOutput = cameraManager.createVideoOutput(profile, surfaceId); - ``` - -9. Changed the return modes of the **createMetadataOutput** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createMetadataOutput(metadataObjectTypes: Array, callback: AsyncCallback): void** and **createMetadataOutput(metadataObjectTypes: Array): Promise** are changed to **createMetadataOutput(metadataObjectTypes: Array): MetadataOutput**. - - The sample code is as follows: - - ``` - let metadataObjectTypes = cameraoutputcapability.supportedMetadataObjectTypes; - let metadataOutput = cameraManager.createMetadataOutput(metadataObjectTypes); - ``` - -10. Changed the return modes of the **createCaptureSession** API in CameraManager from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **createCaptureSession(callback: AsyncCallback): void** and **createCaptureSession(): Promise** are changed to **createCaptureSession(): CaptureSession**. - - The sample code is as follows: - - ``` - let captureSession = cameraManager.createCaptureSession(); - ``` - -11. Changed the enum **CAMERA_TYPE_UNSPECIFIED** of **CameraType** to **CAMERA_TYPE_DEFAULT**. - -12. Changed the return value type of the **on** API in CameraInput from **CameraInputError** to **BusinessError**. Therefore, the original API **on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void** is changed to **on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void**. - - The sample code is as follows: - - ``` - let cameraDevice = cameras[0]; - cameraInput.on('error', cameraDevice, (BusinessError) => { - - }) - ``` - -13. Changed the return modes of the **beginConfig** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **beginConfig(callback: AsyncCallback): void** and **beginConfig(): Promise** are changed to **beginConfig(): void**. - - The sample code is as follows: - - ``` - captureSession.beginConfig(); - ``` - -14. Changed the return modes of the **addInput** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **addInput(cameraInput: CameraInput, callback: AsyncCallback): void** and **addInput(cameraInput: CameraInput): Promise** are changed to **addInput(cameraInput: CameraInput): void**. - - The sample code is as follows: - - ``` - captureSession.addInput(cameraInput); - ``` - -15. Changed the return modes of the **removeInput** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **removeInput(cameraInput: CameraInput, callback: AsyncCallback): void** and **removeInput(cameraInput: CameraInput): Promise** are changed to **removeInput(cameraInput: CameraInput): void**. - - The sample code is as follows: - - ``` - captureSession.removeInput(cameraInput); - ``` - -16. Changed the return modes of the **addOutput** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **addOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void** and **addOutput(cameraOutput: CameraOutput): Promise** are changed to **addOutput(cameraOutput: CameraOutput): void**. - - The sample code is as follows: - - ``` - captureSession.addOutput(previewOutput); - ``` - -17. Changed the return modes of the **removeOutput** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void** and **removeOutput(cameraOutput: CameraOutput): Promise** are changed to **removeOutput(cameraOutput: CameraOutput): void**. - - The sample code is as follows: - - ``` - captureSession.removeOutput(previewOutput); - ``` - -18. Changed the return modes of the **hasFlash** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **hasFlash(callback: AsyncCallback): void** and **hasFlash(): Promise** are changed to **hasFlash(): boolean**. - - The sample code is as follows: - - ``` - let status = captureSession.hasFlash(); - ``` - -19. Changed the return modes of the **isFlashModeSupported** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback): void** and **isFlashModeSupported(flashMode: FlashMode): Promise** are changed to **isFlashModeSupported(flashMode: FlashMode): boolean**. - - The sample code is as follows: - - ``` - let status = captureSession.isFlashModeSupported(camera.FlashMode.FLASH_MODE_AUTO); - ``` - -20. Changed the return modes of the **getFlashMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getFlashMode(callback: AsyncCallback): void** and **getFlashMode(): Promise** are changed to **getFlashMode(): FlashMode**. - - The sample code is as follows: - - ``` - let flashMode = captureSession.getFlashMode(); - ``` - -21. Changed the return modes of the **isExposureModeSupported** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback): void** and **isExposureModeSupported(aeMode: ExposureMode): Promise** are changed to **isExposureModeSupported(aeMode: ExposureMode): boolean**. - - The sample code is as follows: - - ``` - let isSupported = captureSession.isExposureModeSupported(camera.ExposureMode.EXPOSURE_MODE_LOCKED); - ``` - -22. Changed the return modes of the **getExposureMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getExposureMode(callback: AsyncCallback): void** and **getExposureMode(): Promise** are changed to **getExposureMode(): ExposureMode**. - - The sample code is as follows: - - ``` - let exposureMode = captureSession.getExposureMode(); - ``` - -23. Changed the return modes of the **setExposureMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setExposureMode(aeMode: ExposureMode, callback: AsyncCallback): void** and **setExposureMode(aeMode: ExposureMode): Promise** are changed to **setExposureMode(aeMode: ExposureMode): void**. - - The sample code is as follows: - - ``` - captureSession.setExposureMode(camera.ExposureMode.EXPOSURE_MODE_LOCKED); - ``` - -24. Changed the return modes of the **getMeteringPoint** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getMeteringPoint(callback: AsyncCallback): void** and **getMeteringPoint(): Promise** are changed to **getMeteringPoint(): Point**. - - The sample code is as follows: - - ``` - let exposurePoint = captureSession.getMeteringPoint(); - ``` - -25. Changed the return modes of the **setMeteringPoint** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setMeteringPoint(point: Point, callback: AsyncCallback): void** and **setMeteringPoint(point: Point): Promise** are changed to **setMeteringPoint(point: Point): void**. - - The sample code is as follows: - - ``` - let Point2 = {x: 2, y: 2}; - captureSession.setMeteringPoint(Point2); - ``` - -26. Changed the return modes of the **getExposureBiasRange** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getExposureBiasRange(callback: AsyncCallback>): void** and **getExposureBiasRange(): Promise>** are changed to **getExposureBiasRange(): Array**. - - The sample code is as follows: - - ``` - let biasRangeArray = captureSession.getExposureBiasRange(); - ``` - -27. Changed the return modes of the **setExposureBias** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setExposureBias(exposureBias: number, callback: AsyncCallback): void** and **setExposureBias(exposureBias: number): Promise** are changed to **setExposureBias(exposureBias: number): void**. - - The sample code is as follows: - - ``` - let exposureBias = biasRangeArray[0]; - captureSession.setExposureBias(exposureBias); - ``` - -28. Changed the return modes of the **getExposureValue** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getExposureValue(callback: AsyncCallback): void** and **getExposureValue(): Promise** are changed to **getExposureValue(): number**. - - The sample code is as follows: - - ``` - let exposureValue = captureSession.getExposureValue(); - ``` - -29. Changed the return modes of the **isFocusModeSupported** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback): void** and **isFocusModeSupported(afMode: FocusMode): Promise** are changed to **isFocusModeSupported(afMode: FocusMode): boolean**. - - The sample code is as follows: - - ``` - let status = captureSession.isFocusModeSupported(camera.FocusMode.FOCUS_MODE_AUTO); - ``` - -30. Changed the return modes of the **getFocusMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getFocusMode(callback: AsyncCallback): void** and **getFocusMode(): Promise** are changed to **getFocusMode(): FocusMode**. - - The sample code is as follows: - - ``` - let afMode = captureSession.getFocusMode(); - ``` - -31. Changed the return modes of the **setFocusMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setFocusMode(afMode: FocusMode, callback: AsyncCallback): void** and **setFocusMode(afMode: FocusMode): Promise** are changed to **setFocusMode(afMode: FocusMode): void**. - - The sample code is as follows: - - ``` - captureSession.setFocusMode(camera.FocusMode.FOCUS_MODE_AUTO); - ``` - -32. Changed the return modes of the **setFocusPoint** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setFocusPoint(point: Point, callback: AsyncCallback): void** and **setFocusPoint(point: Point): Promise** are changed to **setFocusPoint(point: Point): void**. - - The sample code is as follows: - - ``` - let Point2 = {x: 2, y: 2}; - captureSession.setFocusPoint(Point2); - ``` - -33. Changed the return modes of the **getFocusPoint** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getFocusPoint(callback: AsyncCallback): void** and **getFocusPoint(): Promise** are changed to **getFocusPoint(): Point**. - - The sample code is as follows: - - ``` - let point = captureSession.getFocusPoint(); - ``` - -34. Changed the return modes of the **getFocalLength** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getFocalLength(callback: AsyncCallback): void** and **getFocalLength(): Promise** are changed to **getFocalLength(): number**. - - The sample code is as follows: - - ``` - let focalLength = captureSession.getFocalLength(); - ``` - -35. Changed the return modes of the **getZoomRatioRange** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getZoomRatioRange(callback: AsyncCallback>): void** and **getZoomRatioRange(): Promise>** are changed to **getZoomRatioRange(): Array**. - - The sample code is as follows: - - ``` - let zoomRatioRange = captureSession.getZoomRatioRange(); - ``` - -36. Changed the return modes of the **getZoomRatio** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getZoomRatio(callback: AsyncCallback): void** and **getZoomRatio(): Promise** are changed to **getZoomRatio(): number**. - - The sample code is as follows: - - ``` - let zoomRatio = captureSession.getZoomRatio(); - ``` - -37. Changed the return modes of the **setZoomRatio** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setZoomRatio(zoomRatio: number, callback: AsyncCallback): void** and **setZoomRatio(zoomRatio: number): Promise** are changed to **setZoomRatio(zoomRatio: number): void**. - - The sample code is as follows: - - ``` - let zoomRatio = zoomRatioRange[0]; - captureSession.setZoomRatio(zoomRatio); - ``` - -38. Changed the return modes of the **isVideoStabilizationModeSupported** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode, callback: AsyncCallback): void** and **isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): Promise** are changed to **isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean**. - - The sample code is as follows: - - ``` - let isSupported = captureSession.isVideoStabilizationModeSupported(camera.VideoStabilizationMode.OFF); - ``` - -39. Changed the return modes of the **getActiveVideoStabilizationMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **getActiveVideoStabilizationMode(callback: AsyncCallback): void** and **getActiveVideoStabilizationMode(): Promise** are changed to **getActiveVideoStabilizationMode(): VideoStabilizationMode**. - - The sample code is as follows: - - ``` - let vsMode = captureSession.getActiveVideoStabilizationMode(); - ``` - -40. Changed the return modes of the **setVideoStabilizationMode** API in CaptureSession from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **setVideoStabilizationMode(mode: VideoStabilizationMode, callback: AsyncCallback): void** and **setVideoStabilizationMode(mode: VideoStabilizationMode): Promise** are changed to **setVideoStabilizationMode(mode: VideoStabilizationMode): void**. - - The sample code is as follows: - - ``` - captureSession.setVideoStabilizationMode(camera.VideoStabilizationMode.OFF); - ``` - -41. Changed the **on(type:'error') callback** type in CaptureSession from **ErrorCallback** to **ErrorCallback**. Therefore, the original API **on(type: 'error', callback: ErrorCallback): void** is changed to **on(type: 'error', callback: ErrorCallback): void**. - - The sample code is as follows: - - ``` - captureSession.on('error', (BusinessError) => { - - }) - ``` - -42. Changed the **on(type:'error') callback** type in PreviewOutput, from **ErrorCallback** to **ErrorCallback**. Therefore, the original API **on(type: 'error', callback: ErrorCallback): void** is changed to **on(type: 'error', callback: ErrorCallback): void**. - - The sample code is as follows: - - ``` - previewOutput.on('error', (BusinessError) => { - - }) - ``` - -43. Changed the return modes of the **isMirrorSupported** API in PhotoOutput from asynchronous callback and asynchronous promise to the synchronous mode. Therefore, the original APIs **isMirrorSupported(callback: AsyncCallback): void** and **isMirrorSupported(): Promise** are changed to **isMirrorSupported(): boolean**. - - The sample code is as follows: - - ``` - let isSupported = photoOutput.isMirrorSupported(); - ``` - -44. Changed the **on(type:'error') callback** type in PhotoOutput, from **ErrorCallback** to **ErrorCallback**. Therefore, the original API **on(type: 'error', callback: ErrorCallback): void** is changed to **on(type: 'error', callback: ErrorCallback): void**. - - The sample code is as follows: - - ``` - PhotoOutput.on('error', (BusinessError) => { - - }) - ``` - -45. Changed the **on(type:'error') callback** type in VideoOutput, from **ErrorCallback** to **ErrorCallback**. Therefore, the original API **on(type: 'error', callback: ErrorCallback): void** is changed to **on(type: 'error', callback: ErrorCallback): void**. - - The sample code is as follows: - - ``` - VideoOutput.on('error', (BusinessError) => { - - }) - ``` - -46. Changed the **on(type:'error') callback** type in MetadataOutput, from **ErrorCallback** to **ErrorCallback**. Therefore, the original API **on(type: 'error', callback: ErrorCallback): void** is changed to **on(type: 'error', callback: ErrorCallback): void**. - - The sample code is as follows: - - ``` - MetadataOutput.on('error', (BusinessError) => { - - }) - ``` \ No newline at end of file diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-nfc.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-nfc.md deleted file mode 100644 index a2499c7699ae3f6742ff3bc4e8bb96a879e73c36..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.3/changelogs-nfc.md +++ /dev/null @@ -1,62 +0,0 @@ -# ChangeLog of NFC JS API Changes in the Communication Subsystem - -Compared with OpenHarmony 3.2 Beta4, OpenHarmony 3.2.10.2(Mr) has the following API changes in the distributed data management subsystem. - -## cl.nfc.1 API Change -Some NFC JS APIs in API versions 6 to 8 cannot throw error codes and need to be deprecated and deleted, and then APIs in API version 9 are used instead. - -You need to adapt your application based on the following information. - - **Change Impacts** - -Some JS APIs in API versions 6 to 8 are affected. Your application needs to adapt new APIs so that it can properly implement functions in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enumeration/Constant| Change Type| -| -------------------------------- | ------------- | ------------------- | -------- | -| api/@ohos.nfc.cardEmulation.d.ts | cardEmulation | FeatureType | Deprecated | -| api/@ohos.nfc.cardEmulation.d.ts | cardEmulation | isSupported | Deprecated | -| api/@ohos.nfc.cardEmulation.d.ts | cardEmulation | hasHceCapability | Added | -| api/@ohos.nfc.controller.d.ts | nfcController | isNfcAvailable | Deprecated | -| api/@ohos.nfc.controller.d.ts | nfcController | openNfc | Deprecated | -| api/@ohos.nfc.controller.d.ts | nfcController | closeNfc | Deprecated | -| api/@ohos.nfc.controller.d.ts | nfcController | enableNfc | Added | -| api/@ohos.nfc.controller.d.ts | nfcController | disableNfc | Added | -| api/@ohos.nfc.tag.d.ts | tag | getNfcATag | Deprecated | -| api/@ohos.nfc.tag.d.ts | tag | getNfcBTag | Deprecated | -| api/@ohos.nfc.tag.d.ts | tag | getNfcFTag | Deprecated | -| api/@ohos.nfc.tag.d.ts | tag | getNfcVTag | Deprecated | -| api/@ohos.nfc.tag.d.ts | tag | getNfcA | Added | -| api/@ohos.nfc.tag.d.ts | tag | getNfcB | Added | -| api/@ohos.nfc.tag.d.ts | tag | getNfcF | Added | -| api/@ohos.nfc.tag.d.ts | tag | getNfcV | Added | -| api/tag/tagSession.d.ts | TagSession | getTagInfo | Deprecated | -| api/tag/tagSession.d.ts | TagSession | connectTag | Deprecated | -| api/tag/tagSession.d.ts | TagSession | reset | Deprecated | -| api/tag/tagSession.d.ts | TagSession | isTagConnected | Deprecated | -| api/tag/tagSession.d.ts | TagSession | setSendDataTimeout | Deprecated | -| api/tag/tagSession.d.ts | TagSession | getSendDataTimeout | Deprecated | -| api/tag/tagSession.d.ts | TagSession | sendData | Deprecated | -| api/tag/tagSession.d.ts | TagSession | getMaxSendLength | Deprecated | -| api/tag/tagSession.d.ts | TagSession | connect | Added | -| api/tag/tagSession.d.ts | TagSession | resetConnection | Added | -| api/tag/tagSession.d.ts | TagSession | isConnected | Added | -| api/tag/tagSession.d.ts | TagSession | setTimeout | Added | -| api/tag/tagSession.d.ts | TagSession | getTimeout | Added | -| api/tag/tagSession.d.ts | TagSession | transmit | Added | -| api/tag/tagSession.d.ts | TagSession | getMaxTransmitSize | Added | - -**Adaptation Guide** - -View the following API references: -[@ohos.nfc.cardEmulation (Standard NFC Card Emulation)](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-cardEmulation.md) - -[@ohos.nfc.controller (Standard NFC)](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-nfcController.md) - -[@ohos.nfc.tag (Standard NFC Tags)](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-nfcTag.md) - -[tagSession (Standard NFC Tag Session)](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-tagSession.md) -``` - -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelog-resourceschedule.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelog-resourceschedule.md deleted file mode 100644 index 48da92c6fc824d0d4f799c21bf28906a1a784040..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelog-resourceschedule.md +++ /dev/null @@ -1,111 +0,0 @@ -# Resource Scheduler Subsystem ChangeLog - -## cl.resourceschedule.backgroundTaskManager -Rectified the original APIs of **backgroundTaskManager** of the resource scheduler subsystem. All APIs of API version 9 in the **@ohos.backgroundTaskManager.d.ts** file are deleted, and the APIs of API version 9 in the **@ohos.resourceschedule.backgroundTaskManager.d.ts** file are used. The new APIs in API version 9 comply with the error code specifications. - -**Change Impacts** - -If your application is developed based on the SDK versions of OpenHarmony 3.2.10.5 and later, adapt to the modules and APIs in API version 9 and the pattern for returning error codes. Otherwise, the service logic will be affected. - -**Key API/Component Changes** - -The following methods, attributes, enums, and constants are changed in API version 9 and later versions. All the APIs in the **@ohos.backgroundTaskManager.d.ts** file are migrated to the **@ohos.resourceschedule.backgroundTaskManager.d.ts** file. - -| Class| API Type| Declaration| Description| -| -- | -- | -- | -- | -| backgroundTaskManager | method | function resetAllEfficiencyResources(): void; | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager | method | function applyEfficiencyResources(request: EfficiencyResourcesRequest): bool; | Changed in API version 9 to **function applyEfficiencyResources(request: EfficiencyResourcesRequest): void;** and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.ResourceType | enum | export enum ResourceType | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.ResourceType | enum | CPU = 1 | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.ResourceType | enum | COMMON_EVENT = 1 << 1 | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.ResourceType | enum | TIMER = 1 << 2 | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.ResourceType | enum | WORK_SCHEDULER = 1 << 3 | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.ResourceType | enum | BLUETOOTH = 1 << 4 | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.ResourceType | enum | GPS = 1 << 5 | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.ResourceType | enum | AUDIO = 1 << 6 | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.EfficiencyResourcesRequest | interface | export interface EfficiencyResourcesRequest | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.EfficiencyResourcesRequest | field | reason: string | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.EfficiencyResourcesRequest | field | isProcess?: bool | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.EfficiencyResourcesRequest | field | isPersist?: bool | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.EfficiencyResourcesRequest | field | timeOut: number | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.EfficiencyResourcesRequest | field | isApply: bool | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| -| backgroundTaskManager.EfficiencyResourcesRequest | field | resourceTypes: number | Deleted in API version 9 and moved to the **ohos.resourceschedule.backgroundTaskManager.d.ts** file.| - - -**Adaptation Guide** - -Import the **backgroundTaskManager** module. -``` -import bundle form '@ohos.resourceschedule.backgroundTaskManager' -``` -Exception handling also needs to be adapted. For details, see the [backgroundTaskManager API reference](../../../application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md). - -## c2.resourceschedule.workScheduler -Rectified the original APIs of **workScheduler** of the resource scheduler subsystem. All APIs of API version 9 in the **@ohos.workScheduler.d.ts** file are deleted, and the APIs of API version 9 in the **@ohos.resourceschedule.workScheduler.d.ts** file are used. The new APIs in API version 9 comply with the error code specifications. - -**Change Impacts** - -If your application is developed based on the SDK versions of OpenHarmony 3.2.10.5 and later, adapt to the modules and APIs in API version 9 and the pattern for returning error codes. Otherwise, the service logic will be affected. - -**Key API/Component Changes** - -The following methods, attributes, enums, and constants are changed in API version 9 and later versions. The **@ohos.workScheduler.d.ts** file is deleted, and all the APIs in it are moved to the **@ohos.resourceschedule.workScheduler.d.ts** file. - -| Class| API Type| Declaration| Change Type| -| -- | -- | -- | -- | -| workScheduler | namespace | declare namespace workScheduler | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | interface | export interface WorkInfo | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | parameters?: {[key: string]: any} | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | idleWaitTime?: number | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | isDeepIdle?: boolean | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | repeatCount?: number | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | isRepeat?: boolean | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | repeatCycleTime?: number | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | storageRequest?: StorageRequest | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | batteryStatus?: BatteryStatus | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | batteryLevel?: number | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | chargerType?: ChargingType | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | isCharging?: boolean | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | networkType?: NetworkType | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | isPersisted?: boolean | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | abilityName: string | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | bundleName: string | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.WorkInfo | field | workId: number | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler | method | function isLastWorkTimeOut(workId: number): Promise; | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler | method | function isLastWorkTimeOut(workId: number, callback: AsyncCallback): boolean; | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler | method | function stopAndClearWorks(): boolean; | Changed in API version 8 to **function stopAndClearWorks(): boolean;** and moved to the **ohos.resourceschedule.workScheduler.d.ts** file| -| workScheduler | method | function obtainAllWorks(): Promise>; | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler | method | function obtainAllWorks(callback: AsyncCallback): Array; | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler | method | function getWorkStatus(workId: number): Promise; | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler | method | function getWorkStatus(workId: number, callback: AsyncCallback): void; | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler | method | function stopWork(work: WorkInfo, needCancel?: boolean): boolean; | Changed in API version 8 to **function stopWork(work: WorkInfo, needCancel?: boolean): void;** and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler | method | function startWork(work: WorkInfo): boolean; | Changed in API version 9 to **function startWork(work: WorkInfo): void;** and moved to the **ohos.resourceschedule.workScheduler.d.ts** file| -| workScheduler.NetworkType | enum | export enum NetworkType | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.NetworkType | enum | NETWORK_TYPE_ANY = 0 | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.NetworkType | enum | NETWORK_TYPE_MOBILE | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.NetworkType | enum | NETWORK_TYPE_WIFI | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.NetworkType | enum | NETWORK_TYPE_BLUETOOTH | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.NetworkType | enum | NETWORK_TYPE_WIFI_P2P | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.NetworkType | enum | NETWORK_TYPE_ETHERNET | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.ChargingType | enum | export enum ChargingType | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_ANY = 0 | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_AC | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_USB | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.ChargingType | enum | CHARGING_PLUGGED_WIRELESS | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.BatteryStatus | enum | export enum BatteryStatus | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.BatteryStatus | enum | BATTERY_STATUS_LOW = 0 | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.BatteryStatus | enum | BATTERY_STATUS_OKAY | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.BatteryStatus | enum | BATTERY_STATUS_LOW_OR_OKAY | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.StorageRequest | enum | export enum StorageRequest | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_LOW = 0 | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_OKAY | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| -| workScheduler.BatteryStatus | enum | STORAGE_LEVEL_LOW_OR_OKAY | Deleted in API version 9 and moved to the **ohos.resourceschedule.workScheduler.d.ts** file.| - - -**Adaptation Guide** - -Import the **workScheduler** module. -``` -import bundle form '@ohos.resourceschedule.workScheduler' -``` -Exception handling also needs to be adapted. For details, see the [workScheduler API reference](../../../application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md). diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-arkui.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-arkui.md deleted file mode 100644 index 8b4e22b93cf9d6124ac0ac1082ad903fb25ba11d..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-arkui.md +++ /dev/null @@ -1,217 +0,0 @@ -# ArkUI Subsystem ChangeLog - -## cl.arkui.1 Restrictions on Data Type Declarations of State Variables - -1. The data types of state variables decorated by state decorators must be explicitly declared. They cannot be declared as **any** or **Date**. - - Example: - - ```ts - // xxx.ets - @Entry - @Component - struct DatePickerExample { - // Incorrect: @State isLunar: any = false - @State isLunar: boolean = false - // Incorrect: @State selectedDate: Date = new Date('2021-08-08') - private selectedDate: Date = new Date('2021-08-08') - - build() { - Column() { - Button('Switch Calendar') - .margin({ top: 30 }) - .onClick(() => { - this.isLunar = !this.isLunar - }) - DatePicker({ - start: new Date('1970-1-1'), - end: new Date('2100-1-1'), - selected: this.selectedDate - }) - .lunar(this.isLunar) - .onChange((value: DatePickerResult) => { - this.selectedDate.setFullYear(value.year, value.month, value.day) - console.info('select current date is: ' + JSON.stringify(value)) - }) - - }.width('100%') - } - } - ``` - - ![datePicker](../../../application-dev/reference/arkui-ts/figures/datePicker.gif) - -2. The data type declaration of the **@State**, **@Provide**, **@Link**, or **@Consume** decorated state variables can consist of only one of the primitive data types or reference data types. - - The **Length**, **ResourceStr**, and **ResourceColor** types are combinations of primitive data types or reference data types. Therefore, they cannot be used by the aforementioned types of state variables. - For details about the definitions of **Length**, **ResourceStr**, and **ResourceColor**, see [Types](../../../application-dev/reference/arkui-ts/ts-types.md). - - Example: - - ```ts - // xxx.ets - @Entry - @Component - struct IndexPage { - // Incorrect: @State message: string | Resource = 'Hello World' - @State message: string = 'Hello World' - // Incorrect: @State message: ResourceStr = $r('app.string.hello') - @State resourceStr: Resource = $r('app.string.hello') - - build() { - Row() { - Column() { - Text(`${this.message}`) - .fontSize(50) - .fontWeight(FontWeight.Bold) - } - .width('100%') - } - .height('100%') - } - } - ``` - - ![hello](../../../application-dev/quick-start/figures/hello.PNG) - -**Change Impacts** - -1. If the data type of a state variable decorated by a state decorator is declared as **any**, a build error will occur. - ```ts - // ArkTS:ERROR Please define an explicit type, not any. - @State isLunar: any = false - ``` -2. If the data type of a state variable decorated by a state decorator is declared as **Date**, a build error will occur. - ```ts - // ArkTS:ERROR The @State property 'selectedDate' cannot be a 'Date' object. - @State selectedDate: Date = new Date('2021-08-08') - ``` -3. If the data type of a **@State**, **@Provide**, **@Link**, and or **@Consume** decorated state variable is Length, **ResourceStr**, or **ResourceColor**, a build error will occur. - ```ts - /* ArkTS:ERROR The state variable type here is 'ResourceStr', it contains both a simple type and an object type, - which are not allowed to be defined for state variable of a struct.*/ - @State message: ResourceStr = $r('app.string.hello') - ``` - -**Key API/Component Changes** - -N/A - -**Adaptation Guide** - -1. Explicitly declare the data type for state variables decorated by state decorators. -2. If a state variable decorated by a state decorator uses the **Date** object, change it to a regular variable – a variable not decorated by any decorator. -3. Adapt the **@State**, **@Provide**, **@Link**, and **@Consume** decorated variables based on the following code snippet so that they do not use the **Length(string|number|Resource)**, **ResourceStr(string|Resource)**, and **ResourceColor(string|number|Color|Resource)** types: - - ```ts - // Incorrect: - @State message: ResourceStr = $r('app.string.hello') - // Corrected: - @State resourceStr: Resource = $r('app.string.hello') - ``` - -## cl.arkui.2 Initialization Rules and Restrictions of Custom Components' Member Variables - -Comply with the following rules when using constructors to initialize member variables: - -| **From the Variable in the Parent Component (Right) to the Variable in the Child Component (Below)**| **regular** | **@State** | **@Link** | **@Prop** | **@Provide** | **@Consume** | **@ObjectLink** | -|---------------------------------|----------------------------|------------|-----------|-----------|--------------|--------------|------------------| -| **regular** | Supported | Supported | Supported | Supported | Not supported | Not supported | Supported | -| **@State** | Supported | Supported | Supported | Supported | Supported | Supported | Supported | -| **@Link** | Not supported | Supported (1) | Supported (1) | Supported (1) | Supported (1) | Supported (1) | Supported (1) | -| **@Prop** | Supported | Supported | Supported | Supported | Supported | Supported | Supported | -| **@Provide** | Supported | Supported | Supported | Supported | Supported | Supported | Supported | -| **@Consume** | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported | -| **@ObjectLink** | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported | - -| **From the Variable in the Parent Component (Right) to the Variable in the Child Component (Below)**| **@StorageLink** | **@StorageProp** | **@LocalStorageLink** | **@LocalStorageProp** | -|------------------|------------------|------------------|-----------------------|------------------------| -| **regular** | Supported | Not supported | Not supported | Not supported | -| **@State** | Supported | Supported | Supported | Supported | -| **@Link** | Supported (1) | Supported (1) | Supported (1) | Supported (1) | -| **@Prop** | Supported | Supported | Supported | Supported | -| **@Provide** | Supported | Supported | Supported | Supported | -| **@Consume** | Not supported | Not supported | Not supported | Not supported | -| **@ObjectLink** | Not supported | Not supported | Not supported | Not supported | - -> **NOTE** -> -> **Supported (1)**: The dollar sign ($) must be used, for example, **this.$varA**. -> -> **regular**: refers to a regular variable that is not decorated by any decorator. - -**@StorageLink**, **@StorageProp**, **@LocalStorageLink**, and **@LocalStorageProp** variables cannot be initialized from the parent component. - -**Change Impacts** - -1. Variables decorated by **@LocalStorageLink** and **@LocalStorageProp** cannot be initialized from the parent component. - ```ts - @Entry - @Component - struct LocalStorageComponent { - build() { - Column() { - Child({ - /* ArkTS:ERROR Property 'simpleVarName' in the custom component 'Child' cannot - initialize here (forbidden to specify). */ - simpleVarName: 1, - /* ArkTS:ERROR Property 'objectName' in the custom component 'Child' cannot - initialize here (forbidden to specify). */ - objectName: new ClassA("x") - }) - } - } - } - @Component - struct Child { - @LocalStorageLink("storageSimpleProp") simpleVarName: number = 0; - @LocalStorageProp("storageObjectProp") objectName: ClassA = new ClassA("x"); - build() {} - } - ``` -2. The **@ObjectLink** decorated variable cannot be directly initialized from a decorated variable in the parent component. The source of the parent component must be an array item or object attribute decorated by **@State**, **@Link**, **@Provide**, **@Consume**, or **@ObjectLink**. - ```ts - let NextID : number = 0; - - @Observed class ClassA { - public id : number; - public c: number; - constructor(c: number) { - this.id = NextID++; - this.c = c; - } - } - - @Component - struct Child { - @ObjectLink varA : ClassA; - build() { - Row() { - Text('ViewA-' + this.varA.id) - } - } - } - - @Component - struct Parent { - @Link linkValue: ClassA - build() { - Column() { - /* ArkTS:ERROR The @Link property 'linkValue' cannot be assigned to - the @ObjectLink property 'varA'.*/ - Child({ varA: this.linkValue }) - } - } - } - ``` - -**Key API/Component Changes** - -N/A - -**Adaptation Guide** -1. When building a child component, do not perform the build on the variables decorated by **@LocalStorageLink** and **@LocalStorageProp** in the child component. - - To change these variables from the parent component, use the API provided by the **LocalStorage** (such as the **set** API) to assign values to them. - -2. For details about how to use **@ObjectLink**, see [@Observed and @ObjectLink](../../../application-dev/quick-start/arkts-observed-and-objectlink.md). diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-bundlemanager.md deleted file mode 100644 index 3019a09c81ab3d541eea0f5efe38c7483cd2a3d6..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-bundlemanager.md +++ /dev/null @@ -1,107 +0,0 @@ -# Bundle Manager Subsystem ChangeLog - -## cl.bundlemanager.1 Changed Underlying Capability by Adding Verification to bundle-name in the Signing Certification During Application Installation - -During application installation, the **bundle-name** field in the [signing certificate profile](../../../application-dev/security/app-provision-structure.md) is verified against the bundle name of the application. - -If the value of **bundle-name** is different from the value of **bundleName** in the application configuration file, the installation fails and the following error information is displayed: -``` -error: verify signature failed. -``` - -**Change Impact** - -For applications using system images of 3.2.10.5 or later, if the **bundle-name** field in the signing certificate profile is different from the bundle name of the application, application installation fails. This change has no impact on applications using system images earlier than 3.2.10.5. - -**Key API/Component Changes** - -No API or component change is involved. - -**Adaptation Guide** -If "error: verify signature failed" is displayed, change **bundle-name** in the signing certificate profile to the bundle name of the application, generate a new signing certificate (with the file name extension .p7b), and sign the application again. - -For details about how to use the signing tool and generate a signing certificate, see [hapsigner Guide](../../../application-dev/security/hapsigntool-guidelines.md). - -## cl.bundlemanager.2 Changed Underlying Capability by Adding Control over Applications Without Entry Icons - -If no entry icon is configured for an application that has not requested the **AllowHideDesktopIcon** privilege, a default icon is displayed on the home screen. Any click on the icon redirects to the application details page. An application is determined to have no entry icon in either of the following scenarios: -1. The **abilities** field is not configured for the application. -2. The **abilities** field is configured for the application, but the **skills** field under the ability of any page type does not contain both **ohos.want.action.home** and **entity.system.home**, as follows: - ```json - "skills": [ - { - "actions": [ - "ohos.want.action.home" - ], - "entities": [ - "entity.system.home" - ] - } - ] - ``` -If the application installation mode is **hdc_std install** or **bm install**, a default icon is displayed for the application on the home screen. - -If your application does not need an icon to be displayed on the home screen, request the **AllowHideDesktopIcon** privilege and configure it in the signing certificate or trustlist (**install_list_capability.json**). For details, see [Application Privilege Configuration Guide](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md). - -If your application needs an icon to be displayed on the home screen, select an ability from **abilities** and configure its **skills** field to contain both **ohos.want.action.home** and **entity.system.home**. - -**Change Impact** - -For applications using system images of 3.2.10.5 and later versions, if no entry icon is configured for an application, the default icon is displayed on the home screen when the application is installed using the CLI. This change has no impact on applications using system images earlier than 3.2.10.5. - -**Key API/Component Changes** - -No API or component change is involved. - -**Adaptation Guide** - -If your application does not need an icon to be displayed on the home screen, request the **AllowHideDesktopIcon** privilege and configure it in the signing certificate or trustlist (**install_list_capability.json**). For details, see [Application Privilege Configuration Guide](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md). - -If your application needs an icon to be displayed on the home screen, select an ability from **abilities** and configure its **skills** field to contain both **ohos.want.action.home** and **entity.system.home**. - -## cl.bundlemanager.3 Changed Underlying Capability by Restricting AllowAppUsePrivilegeExtension, AllowAppMultiProcess, and AllowFormVisibleNotify from Being Configured in the Signing Certificate - -The **AllowAppUsePrivilegeExtension**, **AllowAppMultiProcess**, and **AllowFormVisibleNotify** privileges can no longer be configured in the signing certificate. They can be requested only through the trustlist (**install_list_capability.json**). If your application requests these privileges in the signing certificate, the installation may fail or the privileges may be invalid. - -If the following error information is displayed, adapt to the new privilege configuration method. For details, see [Application Privilege Configuration Guide](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md). -``` -error: install parse profile prop check error. -``` - -For the XTS or local debugging demo, if the **install_list_capability.json** file on the development board cannot be modified, you can change the bundle name of the application to start with **com.acts.** and request the privileges in the signing certificate. - -The **AllowAppUsePrivilegeExtension** privilege is requested by configuring it under the **extensionAbilities** field, with the **type** attribute set to **dataShare** or **service**, in the application configuration file. If this privilege is not configured, the installation fails. - -**Change Impact** - -For applications using system images of 3.2.10.5 or later, if the required privileges are not requested using the trustlist (**install_list_capability.json**), application installation may fail. This change has no impact on applications using system images earlier than 3.2.10.5. - -**Key API/Component Changes** - -No API or component change is involved. - -**Adaptation Guide** - -If the following error information is displayed, adapt to the new privilege configuration method. For details, see [Application Privilege Configuration Guide](../../../device-dev/subsystems/subsys-app-privilege-config-guide.md). - -``` -error: install parse profile prop check error. -``` - -For the XTS or local debugging demo, if the **install_list_capability.json** file on the development board cannot be modified, you can change the bundle name of the application to start with **com.acts.** and request the privileges in the signing certificate. - -## cl.bundlemanager.4 Changed Underlying Capability by Not Decompressing the HAP During HAP Installation - -The HAP will no longer be decompressed during installation. After the installation is complete, only the HAP file exists in the installation directory. As a result, the application must use the standard resource management interface, rather than a combined path, to access a resource file. - -**Change Impact** - -If the application uses a combined path to access a resource file, the access fails. It must use the resource management interface. - -**Key API/Component Changes** - -No API or component change is involved. - -**Adaptation Guide** - -The resource management subsystem provides the JS interface for accessing resource files. Reference: [Accessing Resource Files](../../../application-dev/reference/apis/js-apis-resource-manager.md#getrawfilecontent9) \ No newline at end of file diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-filemanagement.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-filemanagement.md deleted file mode 100644 index f8f27e77b91602c5d1b54a8e7e5d06f7fabd69c5..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-filemanagement.md +++ /dev/null @@ -1,189 +0,0 @@ -# File Management Subsystem Changelog - -## cl.filemanagement.1 environment Module Change - -The file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **environment** module supports error code processing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file location and the name of the module to be imported are changed. The **environment** module supports error code processing. See [Adaptation Guide](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **environment** is imported from **@ohos.environment**: - -```js -import environment from '@ohos.environment'; -``` - -Now, **environment** is imported from **@ohos.file.environment**: - -```js -import environment from '@ohos.file.environment'; -``` - -## cl.filemanagement.2 securityLabel Change - -Moved the file management subsystem **d.ts** file to the **file** directory. The **securityLabel** module supports error code processing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file location and the name of the module to be imported are changed. The **securityLabel** module supports error code processing. See [Adaptation Guide](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **securityLabel** is imported from **@ohos.securityLabel**: - -```js -import securityLabel from '@ohos.securityLabel'; -``` - -Now, **securityLabel** is imported from **@ohos.file.securityLabel**: - -```js -import securityLabel from '@ohos.file.securityLabel'; -``` - -## cl.filemanagement.3 fs Change - -Changed the **ino** attribute type of **Stat** under **fs**. - -**Change Impact** - -The **ino** attribute type is changed from number to BigInt, to adapt to the **inode** range of all types of files in the file system. - -**Key API/Component Changes** - -The type of the **ino** attribute of **Stat** is changed from number to BigInt. - -## cl.filemanagement.4 fileAccess Change - -Moved the file management subsystem **d.ts** file to the **file** directory. The **fileAccess** module supports error code processing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file location and the name of the module to be imported are changed. The **fileAccess** module supports error code processing. See [Adaptation Guide](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **fileAccess** is imported from **@ohos.data.fileAccess**: - -```js -import fileAccess from '@ohos.data.fileAccess'; -``` - -Now, **fileAccess** is imported from **@ohos.file.fileAccess**: - -```js -import fileAccess from '@ohos.file.fileAccess'; -``` - -## cl.filemanagement.5 fileExtensionInfo Change - -Moved the file management subsystem **d.ts** file to the **file** directory. The **fileExtensionInfo** module supports error code processing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file location and the name of the module to be imported are changed. The **fileExtensionInfo** module supports error code processing. See [Adaptation Guide](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **fileExtensionInfo** is imported from **@ohos.fileExtensionInfo**: - -```js -import fileExtensionInfo from '@ohos.fileExtensionInfo'; -``` - -Now, **fileExtensionInfo** is imported from **@ohos.file.fileExtensionInfo**: - -```js -import fileExtensionInfo from '@ohos.file.fileExtensionInfo'; -``` - -## cl.filemanagement.6 storageStatistics Change - -Moved the file management subsystem **d.ts** file to the **file** directory. The **fileExtensionInfo** module supports error code processing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file location and the name of the module to be imported are changed. The **storageStatistics** module supports error code processing. See [Adaptation Guide](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **storageStatistics** was imported from **@ohos.storageStatistics**: - -```js -import storageStatistics from '@ohos.storageStatistics'; -``` - -Now, **storageStatistics** is imported from **@ohos.file.storageStatistics**: - -```js -import storageStatistics from '@ohos.file.storageStatistics'; -``` - -## cl.filemanagement.7 volumeManager Change - -Moved the file management subsystem **d.ts** file to the **file** directory. The **fileExtensionInfo** module supports error code processing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file location and the name of the module to be imported are changed. The **volumeManager** module supports error code processing. See [Adaptation Guide](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **volumeManager** was imported from **@ohos.volumeManager**: - -```js -import volumeManager from '@ohos.volumeManager'; -``` - -Now, **volumeManager** is imported from **@ohos.file.volumeManager**: - -```js -import volumeManager from '@ohos.file.volumeManager'; -``` - -## cl.filemanagement.8 fileio API Changes - -Deprecated the **fileio** APIs, which do not return error codes; added APIs that return error codes. - -**Change Impact** - -For applications developed based on earlier versions, pay attention to the iterative update of deprecated APIs. The specifications of the new APIs are slightly adjusted. Pay attention to the usage of the new APIs. - -**Key API/Component Changes** - -The APIs of **@ohos.fileio** do not support error code handling and are deprecated. New APIs with minor changes in parameters are added in **@ohos.file.fs** to support unified error code handling specifications. The new APIs function the same as the original APIs. The following table lists the API changes. -The API names remain unchanged. - -| Module | Method/Attribute/Enum/Constant | Change Type| -| ------------------------- | ------------------------------------------------------------ | -------- | -| @ohos.fileio | **function** access(path: string, mode?: number, callback?: AsyncCallback\): void \| Promise\ | Deprecated | -| @ohos.fileio | **function** accessSync(path: string, mode?: number): void | Deprecated | -| @ohos.file.fs | **function** access(path: string, callback?: AsyncCallback\): void \| Promise\ | Added | -| @ohos.file.fs | **function** accessSync(path: string): boolean | Added | -| @ohos.fileio | **function** close(fd: number, callback?: AsyncCallback\): void \| Promise\ | Deprecated | -| @ohos.fileio | **function** closeSync(fd: number): void | Deprecated | -| @ohos.file.fs | **function** close(file: File \| number, callback?: AsyncCallback\): void \| Promise\ | Added | -| @ohos.file.fs | **function** closeSync(file: File \| number): void | Added | -| @ohos.fileio | **function** mkdir(path: string, mode?: number, callback?: AsyncCallback\): void \| Promise\ | Deprecated | -| @ohos.fileio | **function** mkdirSync(path: string, mode?: number): void | Deprecated | -| @ohos.file.fs | **function** mkdir(path: string, callback?: AsyncCallback\): void \| Promise\ | Added | -| @ohos.file.fs | **function** mkdirSync(path: string): void | Added | -| @ohos.fileio | **function** readText(filePath: string, options?: { position?: number; length?: number; encoding?: string; }, callback?: AsyncCallback\): void \| Promise\ | Deprecated | -| @ohos.fileio | **function** readTextSync(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): string | Deprecated | -| @ohos.file.fs | **function** readText(filePath: string, options?: { offset?: number; length?: number; encoding?: string; }, callback?: AsyncCallback\): void \| Promise\ | Added | -| @ohos.file.fs | **function** readTextSync(filePath: string, options?: { offset?: number; length?: number; encoding?: string; }): string | Added | -| @ohos.fileio | **function** Stream.read(buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }, callback?: AsyncCallback\): void \| Promise\ | Deprecated | -| @ohos.fileio | **function** Stream.readSync(buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }): number | Deprecated | -| @ohos.file.fs | **function** Stream.read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; }, callback?: AsyncCallback\): void \| Promise\ | Added | -| @ohos.file.fs | **function** Stream.readSync(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): number | Added | -| @ohos.fileio | **function** Stream.write(buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }, callback?: AsyncCallback\): void \| Promise\ | Deprecated | -| @ohos.fileio | **function** Stream.writeSync(buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): number | Deprecated | -| @ohos.file.fs | **function** Stream.write(buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; encoding?: string; }, callback?: AsyncCallback\): void \| Promise\ | Added | -| @ohos.file.fs | **function** Stream.writeSync(buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; encoding?: string; }): number | Added | - -**Adaptation Guide** - -The APIs of @ohos.file.fs support unified exception handling. For details, see [File Management](../../../application-dev/reference/apis/js-apis-file-fs.md). diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-inputmethod-framworks.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-inputmethod-framworks.md deleted file mode 100644 index 3318c618bd3cb511da78865aa85a779c689673fb..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-inputmethod-framworks.md +++ /dev/null @@ -1,31 +0,0 @@ -# Input Method Framework ChangeLog - -## cl.inputmethod_frameworks.1 API Filename Change - -The following modules do not comply with the OpenHarmony API file naming rules. Therefore, they are modified in API version 9 and later. - -**Change Impacts** - -The SDK after the change is incompatible with the earlier versions. Therefore, adaptation is required for applications developed in earlier versions so that they can be properly built with the SDK in the new version. - -**Key API/Component Changes** - -| Module| File Name Before Change| File Name After Change| -|------|--------------|--------------| -| Input method framework module| @ohos.inputmethod.d.ts |@ohos.inputMethod.d.ts | -| Input method service module|@ohos.inputmethodengine.d.ts | @ohos.inputMethodEngine.d.ts | -| Input method ExtentionAbility module| @ohos.inputmethodextensionability.d.ts | @ohos.InputMethodExtensionAbility.d.ts | -| Input method ExtentionContext module|@ohos.inputmethodextensioncontext.d.ts | @ohos.InputMethodExtensionContext.d.ts | -| Input method subtype module| @ohos.inputMethodSubtype.d.ts | @ohos.InputMethodSubtype.d.ts | - -**Adaptation Guide** - -In the application code, change the name of the d.ts file following **import** to the new file name, which complies with the UpperCamelCase or lowerCamelCase style. - -Example: - -```js -import inputMethodEngine from '@ohos.inputMethodEngine'; -``` - - diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geoLocationManager.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geoLocationManager.md deleted file mode 100644 index 0d86d0a5fcc2d7149fe02c25e095059f60e24676..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geoLocationManager.md +++ /dev/null @@ -1,107 +0,0 @@ -# Location Subsystem ChangeLog - -## cl.location.1 API Migration from @ohos.geolocation.d.ts to @ohos.geoLocationManager.d.ts - -APIs in **@ohos.geolocation.d.ts** do not support throwing error codes. To support this function, all APIs in **@ohos.geolocation.d.ts** are migrated to the newly added **@ohos.geoLocationManager.d.ts** file, and corresponding error code description is added. - -To use APIs of the location subsystem, you need to import **@ohos.geoLocationManager**. - -import geoLocationManager from '@ohos.geoLocationManager'; - - -**Change Impacts** - -All APIs of the location subsystem are affected. To ensure normal use of these APIs, you need to import **@ohos.geoLocationManager**. - -import geoLocationManager from '@ohos.geoLocationManager'; - -**Key API/Component Changes** - -| Class | API Type | Declaration | Change Type | -| ----------- | --------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| geolocation | method | function on(type: 'locationChange', request: LocationRequest, callback: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function off(type: 'locationChange', callback?: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function on(type: 'locationServiceState', callback: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed **type: 'locationServiceState'** to **type: 'locationEnabledChange'**.| -| geolocation | method | function off(type: 'locationServiceState', callback?: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed **type: 'locationServiceState'** to **type: 'locationEnabledChange'**.| -| geolocation | method | function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback>): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed **type: 'cachedGnssLocationsReporting'** to **type: 'cachedGnssLocationsChange'**.| -| geolocation | method | function off(type: 'cachedGnssLocationsReporting', callback?: Callback>): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed **type: 'cachedGnssLocationsReporting'** to **type: 'cachedGnssLocationsChange'**.| -| geolocation | method | function on(type: 'gnssStatusChange', callback: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed **type: 'gnssStatusChange'** to **type: 'satelliteStatusChange'**.| -| geolocation | method | function off(type: 'gnssStatusChange', callback?: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed **type: 'gnssStatusChange'** to **type: 'satelliteStatusChange'**.| -| geolocation | method | function on(type: 'nmeaMessageChange', callback: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed **type: 'nmeaMessageChange'** to **type: 'nmeaMessage'**.| -| geolocation | method | function off(type: 'nmeaMessageChange', callback?: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed **type: 'nmeaMessageChange'** to **type: 'nmeaMessage'**.| -| geolocation | method | function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed **type: 'fenceStatusChange'** to **type: 'gnssFenceStatusChange'**.| -| geolocation | method | function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed **type: 'fenceStatusChange'** to **type: 'gnssFenceStatusChange'**.| -| geolocation | method | function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getCurrentLocation(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getCurrentLocation(request?: CurrentLocationRequest): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getLastLocation(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function getLastLocation(): Location**.| -| geolocation | method | function getLastLocation(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function getLastLocation(): Location**.| -| geolocation | method | function isLocationEnabled(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function isLocationEnabled(): boolean**.| -| geolocation | method | function isLocationEnabled(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function isLocationEnabled(): boolean**.| -| geolocation | method | function requestEnableLocation(callback: AsyncCallback): void; | Deleted. | -| geolocation | method | function requestEnableLocation(): Promise; | Deleted. | -| geolocation | method | function enableLocation(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function enableLocation(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function disableLocation(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function disableLocation(): void**.| -| geolocation | method | function disableLocation(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function disableLocation(): void**.| -| geolocation | method | function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback>): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise>; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback>): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getAddressesFromLocationName(request: GeoCodeRequest): Promise>; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function isGeoServiceAvailable(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function isGeocoderAvailable(): boolean**.| -| geolocation | method | function isGeoServiceAvailable(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function isGeocoderAvailable(): boolean**.| -| geolocation | method | function getCachedGnssLocationsSize(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getCachedGnssLocationsSize(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function flushCachedGnssLocations(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function flushCachedGnssLocations(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function sendCommand(command: LocationCommand, callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function sendCommand(command: LocationCommand): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function enableLocationMock(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function enableLocationMock(): void**.| -| geolocation | method | function enableLocationMock(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function enableLocationMock(): void**.| -| geolocation | method | function disableLocationMock(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function disableLocationMock(): void**.| -| geolocation | method | function disableLocationMock(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function disableLocationMock(): void**.| -| geolocation | method | function setMockedLocations(config: LocationMockConfig, callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function setMockedLocations(config: LocationMockConfig): void**.| -| geolocation | method | function setMockedLocations(config: LocationMockConfig): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function setMockedLocations(config: LocationMockConfig): void**.| -| geolocation | method | function enableReverseGeocodingMock(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function enableReverseGeocodingMock(): void**.| -| geolocation | method | function enableReverseGeocodingMock(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function enableReverseGeocodingMock(): void**.| -| geolocation | method | function disableReverseGeocodingMock(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function disableReverseGeocodingMock(): void**.| -| geolocation | method | function disableReverseGeocodingMock(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function disableReverseGeocodingMock(): void**.| -| geolocation | method | function setReverseGeocodingMockInfo(mockInfos: Array, callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function setReverseGeocodingMockInfo(mockInfos: Array): void**.| -| geolocation | method | function setReverseGeocodingMockInfo(mockInfos: Array): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function setReverseGeocodingMockInfo(mockInfos: Array): void**.| -| geolocation | method | function isLocationPrivacyConfirmed(type: LocationPrivacyType, callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function isLocationPrivacyConfirmed(type: LocationPrivacyType): boolean**.| -| geolocation | method | function isLocationPrivacyConfirmed(type: LocationPrivacyType,): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function isLocationPrivacyConfirmed(type: LocationPrivacyType): boolean**.| -| geolocation | method | function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean, callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): void**.| -| geolocation | method | function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): Promise; | Migrated to **@ohos.geoLocationManager.d.ts** and changed to **function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): void**.| -| geolocation | interface | SatelliteStatusInfo | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | CachedGnssLocationsRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | GeofenceRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | Geofence | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | ReverseGeoCodeRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | GeoCodeRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | GeoAddress | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | LocationRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | CurrentLocationRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | Location | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | enum | LocationRequestPriority | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | enum | LocationRequestScenario | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | enum | GeoLocationErrorCode | Deprecated. | -| geolocation | enum | LocationPrivacyType | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | enum | LocationCommand | Migrated to **@ohos.geoLocationManager.d.ts**. | - - -**(Optional) Adaptation Guide** - -The following sample code shows how to call **enableLocation** in the new version: - - ```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); - } - ``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geolocation.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geolocation.md deleted file mode 100644 index edcd6bea8cb40b01a9b7cbf278e925273b86d9ce..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-ohos-geolocation.md +++ /dev/null @@ -1,92 +0,0 @@ -# Location Subsystem ChangeLog - -## cl.location.1 API Migration from @ohos.geolocation.d.ts to @ohos.geoLocationManager.d.ts - -APIs in **@ohos.geolocation.d.ts** do not support throwing error codes. To support this function, all APIs in **@ohos.geolocation.d.ts** are migrated to the newly added **@ohos.geoLocationManager.d.ts** file, and corresponding error code description is added. - -To use APIs of the location subsystem, you need to import **@ohos.geoLocationManager**. - -import geoLocationManager from '@ohos.geoLocationManager'; - - -**Change Impacts** - -All APIs of the location subsystem are affected. To ensure normal use of these APIs, you need to import **@ohos.geoLocationManager**. - -import geoLocationManager from '@ohos.geoLocationManager'; - -**Key API/Component Changes** - -| Class | API Type | Declaration | Change Type | -| ----------- | --------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| geolocation | namespace | declare namespace geolocation | Migrated to **@ohos.geoLocationManager.d.ts** and replaced by **namespace geoLocationManager**.| -| geolocation | method | function on(type: 'locationChange', request: LocationRequest, callback: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function off(type: 'locationChange', callback?: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function on(type: 'locationServiceState', callback: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function off(type: 'locationServiceState', callback?: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function on(type: 'cachedGnssLocationsReporting', request: CachedGnssLocationsRequest, callback: Callback>): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function off(type: 'cachedGnssLocationsReporting', callback?: Callback>): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function on(type: 'gnssStatusChange', callback: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function off(type: 'gnssStatusChange', callback?: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function on(type: 'nmeaMessageChange', callback: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function off(type: 'nmeaMessageChange', callback?: Callback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function on(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function off(type: 'fenceStatusChange', request: GeofenceRequest, want: WantAgent): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getCurrentLocation(request: CurrentLocationRequest, callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getCurrentLocation(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getCurrentLocation(request?: CurrentLocationRequest): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getLastLocation(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getLastLocation(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function isLocationEnabled(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function isLocationEnabled(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function requestEnableLocation(callback: AsyncCallback): void; | Deleted. | -| geolocation | method | function requestEnableLocation(): Promise; | Deleted. | -| geolocation | method | function enableLocation(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function enableLocation(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function disableLocation(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function disableLocation(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getAddressesFromLocation(request: ReverseGeoCodeRequest, callback: AsyncCallback>): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getAddressesFromLocation(request: ReverseGeoCodeRequest): Promise>; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getAddressesFromLocationName(request: GeoCodeRequest, callback: AsyncCallback>): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getAddressesFromLocationName(request: GeoCodeRequest): Promise>; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function isGeoServiceAvailable(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function isGeoServiceAvailable(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getCachedGnssLocationsSize(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function getCachedGnssLocationsSize(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function flushCachedGnssLocations(callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function flushCachedGnssLocations(): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function sendCommand(command: LocationCommand, callback: AsyncCallback): void; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | method | function sendCommand(command: LocationCommand): Promise; | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | SatelliteStatusInfo | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | CachedGnssLocationsRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | GeofenceRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | Geofence | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | ReverseGeoCodeRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | GeoCodeRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | GeoAddress | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | LocationRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | CurrentLocationRequest | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | interface | Location | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | enum | LocationRequestPriority | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | enum | LocationRequestScenario | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | enum | GeoLocationErrorCode | Deprecated. | -| geolocation | enum | LocationPrivacyType | Migrated to **@ohos.geoLocationManager.d.ts**. | -| geolocation | enum | LocationCommand | Migrated to **@ohos.geoLocationManager.d.ts**. | - - -**(Optional) Adaptation Guide** - -The following sample code shows how to call **enableLocation** in the new version: - - ```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); - } - ``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-system-geolocation.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-system-geolocation.md deleted file mode 100644 index 266c351ae272da62759df17c02a2e8368818f9ee..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-system-geolocation.md +++ /dev/null @@ -1,50 +0,0 @@ -# Location Subsystem ChangeLog - -## cl.location.1 API Migration from @system.geolocation.d.ts to @ohos.geoLocationManager.d.ts - -APIs in **@system.geolocation.d.ts** do not support throwing error codes. To support this function, all APIs in **@system.geolocation.d.ts** are migrated to the newly added **@ohos.geoLocationManager.d.ts** file, and corresponding error code description is added. - -To use APIs of the location subsystem, you need to import **@ohos.geoLocationManager**. - -import geoLocationManager from '@ohos.geoLocationManager'; - - -**Change Impacts** - -All APIs of the location subsystem are affected. To ensure normal use of these APIs, you need to import **@ohos.geoLocationManager**. - -import geoLocationManager from '@ohos.geoLocationManager'; - -**Key API/Component Changes** - -| Class | API Type | Declaration | Change Type | -| ----------- | --------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| Geolocation | class | Geolocation | Migrated to **@ohos.geoLocationManager.d.ts** and replaced by **ohos.geoLocationManager/geoLocationManager**.| -| Geolocation | interface | static getLocation(options?: GetLocationOption): void; | Migrated to **@ohos.geoLocationManager.d.ts** and replaced by **ohos.geoLocationManager/geoLocationManager.getCurrentLocation**.| -| Geolocation | interface | static getLocationType(options?: GetLocationTypeOption): void; | Deprecated. | -| Geolocation | interface | static subscribe(options: SubscribeLocationOption): void; | Migrated to **@ohos.geoLocationManager.d.ts** and replaced by **ohos.geoLocationManager/geoLocationManager.on#event:locationChange**.| -| Geolocation | interface | static unsubscribe(): void; | Migrated to **@ohos.geoLocationManager.d.ts** and replaced by **ohos.geoLocationManager/geoLocationManager.off#event:locationChange**.| -| Geolocation | interface | static getSupportedCoordTypes(): Array; | Deprecated. | -| | interface | GeolocationResponse | Migrated to **@ohos.geoLocationManager.d.ts** and replaced by **ohos.geoLocationManager/geoLocationManager.Location**.| -| | interface | GetLocationOption | Migrated to **@ohos.geoLocationManager.d.ts** and replaced by **ohos.geoLocationManager/geoLocationManager.CurrentLocationRequest**.| -| | interface | GetLocationTypeResponse | Deprecated. | -| | interface | GetLocationTypeOption | Deprecated. | -| | interface | SubscribeLocationOption | Migrated to **@ohos.geoLocationManager.d.ts** and replaced by **ohos.geoLocationManager/geoLocationManager.LocationRequest**.| - - -**(Optional) Adaptation Guide** - -The following sample code shows how to call **enableLocation** in the new version: - - ```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); - } - ``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-useriam.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-useriam.md deleted file mode 100644 index a3abb3143332e234f4583eaffc95aed632cb5260..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-useriam.md +++ /dev/null @@ -1,17 +0,0 @@ -# User IAM Subsystem ChangeLog - -## cl.useriam.1 API9 Authentication Result Code Class Name Change - -The name of the authentication result code class of user IAM API version 9 is changed from **ResultCode** to **UserAuthResultCode**. - -**Change Impacts** - -Applications developed based on earlier versions are not affected. For the applications developed from this version, the class name of the error code needs to be adapted. Otherwise, the service logic is affected. - -**Key API/Component Changes** - -N/A - -**Adaptation Guide** - -Change the class name for invoking the authentication result code from **ResultCode** to **UserAuthResultCode**. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-window.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-window.md deleted file mode 100644 index b3514e82cca44c154a70b999e6cc62a54d47ff92..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.5/changelogs-window.md +++ /dev/null @@ -1,63 +0,0 @@ -# Window Subsystem ChangeLog - -## cl.window.1 Change of Window Stage Lifecycle Listener Types - -Changed the enumerated listener types of the window stage lifecycle in version 3.2.10.5 and later. - -**Change Impacts** - -Application lifecycle listeners developed using **FOREGROUND** and **BACKGROUND** in versions earlier than 3.2.10.5 will be invalidated in version 3.2.10.5 and later. - -**Key API/Component Changes** - -## WindowStageEventType9+ - -Before change - -| Name | Value | Description | -| ---------- | ---- | ---------- | -| FOREGROUND | 1 | The window stage is running in the foreground.| -| BACKGROUND | 4 | The window stage is running in the background.| - -After change -| Name | Value | Description | -| ------ | ---- | ---------- | -| SHOWN | 1 | The window stage is running in the foreground.| -| HIDDEN | 4 | The window stage is running in the background.| - -**Adaptation Guide** - -When registering lifecycle listeners, change the foreground and background event types to **SHOWN** and **HIDDEN**, respectively. - -``` -import Ability from '@ohos.application.Ability'; - -class myAbility extends Ability { - onWindowStageCreate(windowStage) { - console.log('onWindowStageCreate'); - try { - windowStage.on('windowStageEvent', (stageEventType) => { - switch (stageEventType) { - case window.WindowStageEventType.SHOWN: - console.log("windowStage shown"); - break; - case window.WindowStageEventType.ACTIVE: - console.log("windowStage active"); - break; - case window.WindowStageEventType.INACTIVE: - console.log("windowStage inActive"); - break; - case window.WindowStageEventType.HIDDEN: - console.log("windowStage hidden"); - break; - default: - break; - } - } ) - } catch (exception) { - console.error('Failed to enable the listener for window stage event changes. Cause:' + - JSON.stringify(exception)); - }; - } -}; -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-ability.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-ability.md deleted file mode 100644 index f2cb2a81bdbd834cee896fda68a3cfa0d2626bd3..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-ability.md +++ /dev/null @@ -1,36 +0,0 @@ -# Ability Subsystem Changelog - -## cl.ability.1 RestartFlag Attribute Names Changed and Unsupported Attribute Deleted in appRecovery - -In the **appRecovery** API, the enum names of **RestartFlag** are changed from **NO_RESTART** upon a specific fault to **RESTART** upon a specific fault. -The **CPP_CRASH_NO_RESTART** enum is deleted. - -**Change Impact** - -If your application uses the **CPP_CRASH_NO_RESTART**, **JS_CRASH_NO_RESTART**, or **APP_FREEZE_NO_RESTART** attribute in versions earlier than 3.2.10.6, its behavior will change after an upgrade to 3.2.10.6. - -**Key API/Component Changes** - -**RestartFlag** 9+ - -Before change: -| Name | Value | Description | -| ----------------------------- | ---- | ------------------------------------------------------------ | -| ALWAYS_RESTART | 0 | The application is restarted in all cases.| -| CPP_CRASH_NO_RESTART | 0x0001 | The application is **not restarted** in the case of CPP_CRASH.| -| JS_CRASH_NO_RESTART | 0x0002 | The application is **not restarted** in the case of JS_CRASH.| -| APP_FREEZE_NO_RESTART | 0x0004 | The application is **not restarted** in the case of APP_FREEZE.| -| NO_RESTART | 0xFFFF | The application is not restarted in any case.| - -After change: -| Name | Value | Description | -| ---------- | ---- | ---------- | -| ALWAYS_RESTART | 0 | The application is restarted in all cases.| -| CPP_CRASH_NO_RESTART | NA | **Deleted.** The restart in this scenario is not supported.| -| RESTART_WHEN_JS_CRASH | 0x0001 | The application is **restarted** in the case of JS_CRASH.| -| RESTART_WHEN_APP_FREEZE | 0x0002 | The application is **restarted** in the case of APP_FREEZE.| -| NO_RESTART | 0xFFFF | The application is not restarted in any case.| - -**Adaptation Guide** - -Perform adaptation based on the new semantics. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-mediaLibrary.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-mediaLibrary.md deleted file mode 100644 index b3e49188e7630f1f6a5cd7c1d43f6d85d302b2d8..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-mediaLibrary.md +++ /dev/null @@ -1,272 +0,0 @@ -# File Subsystem Changelog - -## cl.file.1 mediaLibrary APIs Changed - -All APIs provided by the mediaLibrary module of the multimedia subsystem are deprecated. - -**Change Impact** - -All APIs described in [mediaLibrary](../../../application-dev/reference/apis/js-apis-medialibrary.md) are deprecated. Third-party applications can only select and save files in the public directory by calling the APIs of [FilePicker](../../../application-dev/reference/apis/js-apis-file-picker.md). -For applications developed based on earlier versions, pay attention to the changes of APIs. - -**Key API/Component Changes** - -The table below lists the **mediaLibrary** APIs that can be substituted by the **FilePicker** APIs. - -| Module | Method/Attribute/Enum/Constant | Change Type| -| ------------------------- | ------------------------------------------------------------ | -------- | -| medialibrary | **function** getMediaLibrary(context: Context): MediaLibrary; | Deprecated | -| medialibrary | **function** getFileAssets(options: MediaFetchOptions, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** getFileAssets(options: MediaFetchOptions): Promise\ | Deprecated | -| medialibrary | **function** createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise\ | Deprecated | -| medialibrary | **function** getPublicDirectory(type: DirectoryType, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** getPublicDirectory(type: DirectoryType): Promise\ | Deprecated | -| medialibrary | **function** release(callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** release(): Promise\ | Deprecated | -| medialibrary | **function** FileAsset.open(mode: string, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FileAsset.open(mode: string): Promise\ | Deprecated | -| medialibrary | **function** FileAsset.close(fd: number, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FileAsset.close(fd: number): Promise\ | Deprecated | -| medialibrary | **function** FetchFileResult.getCount(): number | Deprecated | -| medialibrary | **function** FetchFileResult.isAfterLast(): boolean | Deprecated | -| medialibrary | **function** FetchFileResult.close(): void | Deprecated | -| medialibrary | **function** FetchFileResult.getFirstObject(callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FetchFileResult.getFirstObject(): Promise\ | Deprecated | -| medialibrary | **function** FetchFileResult.getNextObject(callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FetchFileResult.getNextObject(): Promise\ | Deprecated | -| medialibrary | **function** FetchFileResult.getLastObject(callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FetchFileResult.getLastObject(): Promise\ | Deprecated | -| medialibrary | **function** FetchFileResult.getPositionObject(index: number, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FetchFileResult.getPositionObject(index: number): Promise\ | Deprecated | -| medialibrary | **function** FetchFileResult.getAllObject(callback: AsyncCallback\\>): void | Deprecated | -| medialibrary | **function** FetchFileResult.getAllObject(): Promise\\> | Deprecated | -| medialibrary | **function** Album.getFileAssets(options: MediaFetchOptions, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** Album.getFileAssets(options?: MediaFetchOptions): Promise\ | Deprecated | -| medialibrary | **enum** FileKey | Deprecated | -| medialibrary | **enum** DirectoryType | Deprecated | -| medialibrary | **enum** MediaType | Deprecated | -| medialibrary | **interface** MediaFetchOptions | Deprecated | -| medialibrary | **interface** FileAsset | Deprecated | - -**Adaptation Guide** - -**The following example shows how to use the mediaLibrary APIs to edit a file in the public directory:** - -1. Call **getMediaLibrary** to obtain a **mediaLibrary** instance. -2. Create a **MediaFetchOptions** object, and call **getFileAssets** to obtain files in the public directory. -3. Call the **FetchFileResult** APIs to obtain the file asset of the target file. -4. Call **fileAsset.open** to open the file and obtain the FD. -5. Call [fs.writeSync](../../../application-dev/reference/apis/js-apis-file-fs.md#writesync) to edit the file through the FD. -6. After the edit, call **fileAsset.close** to close the FD of the file. -7. Call **fetchFileResult.close** to release the resources occupied by **getFileAssets**. -8. Call **release** to release the **mediaLibrary** instance. - -**Example** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; -import fs from '@ohos.file.fs'; - -async function example() { - try { - let context = getContext(this); - let media = mediaLibrary.getMediaLibrary(context); - let fileKeyObj = mediaLibrary.FileKey; - let imageType = mediaLibrary.MediaType.IMAGE; - let getImageOp = { - selections: fileKeyObj.MEDIA_TYPE + '= ?', - selectionArgs: [imageType.toString()], - order: fileKeyObj.DATE_ADDED + ' DESC', - }; - const fetchFileResult = await media.getFileAssets(getImageOp); - const fileAsset = await fetchFileResult.getFirstObject(); - console.info('mediaLibrary fileAsset displayName: ' + fileAsset.displayName); - let fd = await fileAsset.open('rw'); - console.info('mediaLibrary fileAsset open fd: ' + fd); - let writeLen = fs.writeSync(fd, 'hello, world'); - console.info('write data to file succeed and size is: ' + writeLen); - fileAsset.close(fd); - fetchFileResult.close(); - media.release(); - } catch (err) { - console.error('mediaLibrary fail, err: ' + err); - } -} -``` - -**The following example shows how to use the FilePicker APIs to edit a file in the public directory:** - -1. Obtain a **DocumentViewPicker** object. -2. Call **DocumentViewPicker.select** to select a file. -3. After a file is selected, a file URI is returned. -4. After the UI is returned from DocumentViewPicker, call [fs.openSync](../../../application-dev/reference/apis/js-apis-file-fs.md#fsopensync) to open the file based on the URI and obtain the FD. -5. Call [fs.writeSync](../../../application-dev/reference/apis/js-apis-file-fs.md#writesync) to edit the file through the FD. -6. After the edit, call [fs.closeSync](../../../application-dev/reference/apis/js-apis-file-fs.md#closesync) to close the FD. - -**Example** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; -import picker from '@ohos.file.picker'; -import fs from '@ohos.file.fs'; - -let uri; - -async function example() { - try { - let DocumentSelectOptions = new picker.DocumentSelectOptions(); - let documentPicker = new picker.DocumentViewPicker(); - documentPicker.select(DocumentSelectOptions).then((DocumentSelectResult) => { - console.info('DocumentViewPicker.select successfully, DocumentSelectResult uri: ' + JSON.stringify(DocumentSelectResult)); - uri = DocumentSelectResult[0]; - }).catch((err) => { - console.error('DocumentViewPicker.select failed with err: ' + err); - }); - } catch (err) { - console.error('DocumentViewPicker failed with err: ' + err); - } -} - -async function writeFile() { - try { - let file = fs.openSync(uri, fs.OpenMode.READ_WRITE); - console.info('DocumentViewPicker file fd: ' + file.fd); - let writeLen = fs.writeSync(file.fd, 'hello, world'); - console.info('write data to file succeed and size is: ' + writeLen); - fs.closeSync(file); - } catch (err) { - console.error('DocumentViewPicker fail, err: ' + err); - } -} -``` - -**The following example shows how to use the mediaLibrary APIs to create a file in the public directory:** - -1. Call **getMediaLibrary** to obtain a **mediaLibrary** instance. -2. Call **getPublicDirectory** to obtain the path of the public directory. -3. Call **createAsset** to create a file and obtain the file asset. -4. Call **fileAsset.open** to open the file and obtain the FD. -5. Call **fs.write** to edit the file through the FD. -6. After the edit, call **fileAsset.close** to close the FD. -7. Call **release** to release the **mediaLibrary** instance. - -**Example** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; -import fs from '@ohos.file.fs'; - -async function example() { - try { - let context = getContext(this); - let media = mediaLibrary.getMediaLibrary(context); - let mediaType = mediaLibrary.MediaType.FILE; - let DIR_DOWNLOAD = mediaLibrary.DirectoryType.DIR_DOWNLOAD; - const path = await media.getPublicDirectory(DIR_DOWNLOAD); - const fileAsset = await media.createAsset(mediaType, 'test.txt', path); - console.info('mediaLibrary fileAsset displayName: ' + fileAsset.displayName); - let fd = await fileAsset.open('rw'); - console.info('mediaLibrary fileAsset open fd: ' + fd); - let writeLen = fs.writeSync(fd, 'hello, world'); - console.info('write data to file succeed and size is: ' + writeLen); - fileAsset.close(fd); - media.release(); - } catch (err) { - console.error('mediaLibrary fail, err: ' + err); - } -} -``` - -**The following example shows how to use the FilePicker APIs to create a file in the public directory:** - -1. Obtain a **DocumentViewPicker** object. -2. Call **DocumentViewPicker.save** to create and save an empty file. -3. After the file is saved, a file URI is returned. -4. After the UI is returned from DocumentViewPicker, call [fs.openSync](../../../application-dev/reference/apis/js-apis-file-fs.md#fsopensync) to open the file based on the URI and obtain the FD. -5. Call [fs.writeSync](../../../application-dev/reference/apis/js-apis-file-fs.md#writesync) to edit the file through the FD. -6. After the edit, call [fs.closeSync](../../../application-dev/reference/apis/js-apis-file-fs.md#closesync) to close the FD. - -**Example** - -```js -import mediaLibrary from '@ohos.multimedia.mediaLibrary'; -import picker from '@ohos.file.picker'; -import fs from '@ohos.file.fs'; - -let uri; - -async function example() { - try { - let DocumentSaveOptions = new picker.DocumentSaveOptions(); - DocumentSaveOptions.newFileNames = ['DocumentViewPicker01.txt']; - let documentPicker = new picker.DocumentViewPicker(); - documentPicker.save(DocumentSaveOptions).then((DocumentSaveResult) => { - console.info('DocumentViewPicker.save successfully, DocumentSaveResult uri: ' + JSON.stringify(DocumentSaveResult)); - uri = DocumentSaveResult[0]; - }).catch((err) => { - console.error('DocumentViewPicker.save failed with err: ' + err); - }); - } catch (err) { - console.error('DocumentViewPicker failed with err: ' + err); - } -} - -async function writeFile() { - try { - let file = fs.openSync(uri, fs.OpenMode.READ_WRITE); - console.info('DocumentViewPicker file fd: ' + file.fd); - let writeLen = fs.writeSync(file.fd, 'hello, world'); - console.info('write data to file succeed and size is: ' + writeLen); - fs.closeSync(file); - } catch (err) { - console.error('DocumentViewPicker fail, err: ' + err); - } -} -``` - -**Key API/Component Changes** - -The table below lists the mediaLibrary APIs that are not open to third-party applications due to function control. There are no substitute APIs for them. - -| Module | Method/Attribute/Enum/Constant | Change Type| -| ------------------------- | ------------------------------------------------------------ | -------- | -| medialibrary | **function** getMediaLibrary(): MediaLibrary; | Deprecated | -| medialibrary | **function** on(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback: Callback\): void | Deprecated | -| medialibrary | **function** off(type: 'deviceChange'\|'albumChange'\|'imageChange'\|'audioChange'\|'videoChange'\|'fileChange'\|'remoteFileChange', callback?: Callback\): void | Deprecated | -| medialibrary | **function** deleteAsset(uri: string): Promise\ | Deprecated | -| medialibrary | **function** deleteAsset(uri: string, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** storeMediaAsset(option: MediaAssetOption, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** storeMediaAsset(option: MediaAssetOption): Promise\ | Deprecated | -| medialibrary | **function** startImagePreview(images: Array\, index: number, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** startImagePreview(images: Array\, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** startImagePreview(images: Array\, index?: number): Promise\ | Deprecated | -| medialibrary | **function** startMediaSelect(option: MediaSelectOption, callback: AsyncCallback\\>): void | Deprecated | -| medialibrary | **function** startMediaSelect(option: MediaSelectOption): Promise\\> | Deprecated | -| medialibrary | **function** getActivePeers(): Promise\\>; | Deprecated | -| medialibrary | **function** getActivePeers(callback: AsyncCallback\\>): void; | Deprecated | -| medialibrary | **function** getAllPeers(): Promise\\>; | Deprecated | -| medialibrary | **function** FileAsset.isDirectory(callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FileAsset.isDirectory():Promise\ | Deprecated | -| medialibrary | **function** FileAsset.commitModify(callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FileAsset.commitModify(): Promise\ | Deprecated | -| medialibrary | **function** FileAsset.getThumbnail(callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FileAsset.getThumbnail(size: Size, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FileAsset.getThumbnail(size?: Size): Promise\ | Deprecated | -| medialibrary | **function** FileAsset.favorite(isFavorite: boolean, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FileAsset.favorite(isFavorite: boolean): Promise\ | Deprecated | -| medialibrary | **function** FileAsset.isFavorite(callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FileAsset.isFavorite():Promise\ | Deprecated | -| medialibrary | **function** FileAsset.trash(isTrash: boolean, callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FileAsset.trash(isTrash: boolean): Promise\ | Deprecated | -| medialibrary | **function** FileAsset.isTrash(callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** FileAsset.isTrash():Promise\ | Deprecated | -| medialibrary | **function** getAlbums(options: MediaFetchOptions, callback: AsyncCallback\\>): void | Deprecated | -| medialibrary | **function** getAlbums(options: MediaFetchOptions): Promise\\> | Deprecated | -| medialibrary | **function** Album.commitModify(callback: AsyncCallback\): void | Deprecated | -| medialibrary | **function** Album.commitModify(): Promise\ | Deprecated | -| medialibrary | **enum** DeviceType | Deprecated | -| medialibrary | **interface** PeerInfo | Deprecated | -| medialibrary | **interface** Size | Deprecated | -| medialibrary | **interface** MediaAssetOption | Deprecated | -| medialibrary | **interface** MediaSelectOption | Deprecated | diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-request.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-request.md deleted file mode 100644 index f5d0e2eb9849c362fc25c6c106c127aeacfdd471..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-request.md +++ /dev/null @@ -1,42 +0,0 @@ -# Upload and Download Subsystem Changelog - - -## cl.request.2 request API Change - -Deleted the beta APIs in API version 9: - -1. function download(context: BaseContext, config: DownloadConfig, callback: AsyncCallback\): void; -2. function download(context: BaseContext, config: DownloadConfig): Promise\; -3. function upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback\): void; -4. function upload(context: BaseContext, config: UploadConfig): Promise\; - -**Change Impact** - -The application developed based on an earlier version in the stage model needs to be adapted to the new APIs. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -|--------------|--------------|-------------------------------------------------------------------------------------------------------------------|------| -| ohos.request | request | function download(context: BaseContext, config: DownloadConfig, callback: AsyncCallback\): void; | Deleted | -| ohos.request | request | function download(context: BaseContext, config: DownloadConfig): Promise\; | Deleted | -| ohos.request | request | function upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback\): void; | Deleted | -| ohos.request | request | function upload(context: BaseContext, config: UploadConfig): Promise\; | Deleted | - -**Adaptation Guide** - -Call the new APIs. The following uses **downloadFile** as an example to show how it is called in the new version: - -```ts -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; - } - }); -} catch (err) { - console.log("downloadFile callback fail." + "errCode:" + err.code + ",errMessage:" + err.message); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-telephony.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-telephony.md deleted file mode 100644 index 63af2cfb5f1e316fd85236469dcc16ac9e51506e..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.6/changelogs-telephony.md +++ /dev/null @@ -1,59 +0,0 @@ -# Telephony Subsystem Changelog - - - -## cl.telephony.1 Radio Module API Change - - -### Changed the `isNrSupported` API in the radio module of the telephone subsystem: - -NR is a proper noun and must be capitalized. - -You need to adapt your application. - - - -**Change Impacts** - -The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected. - - - -**Key API/Component Changes** - -- Involved APIs: - - isNrSupported(): boolean; - isNrSupported(slotId: number): boolean; - -- Before change: - -```js -function isNrSupported(): boolean; -function isNrSupported(slotId: number): boolean; -``` - -- After change: - -```js -function isNRSupported(): boolean; -function isNRSupported(slotId: number): boolean; -``` - - - -**Adaptation Guide** - -Use the new API. The sample code is as follows: - -```js -let result = radio.isNrSupported(); -console.log("Result: "+ result); -``` - - -```js -let slotId = 0; -let result = radio.isNRSupported(slotId); -console.log("Result: "+ result); -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-resourceschedule.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-resourceschedule.md deleted file mode 100644 index 283f2796178e294f68f755ea2570f7cc1a24a634..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-resourceschedule.md +++ /dev/null @@ -1,21 +0,0 @@ -# Resource Scheduler Subsystem Changelog - -## cl.resourceschedule.workScheduler -The data type of the **parameters** attribute value is changed. Specifically, the number, string, and boolean types are supported, but the any type is not. - -**Change Impact** - -For applications developed based on OpenHarmony3.2.10.7 and later SDK versions, the **parameters** attribute value can use the number, string, and boolean types only. If it uses the any type, a compilation error is reported. - -**Key API/Component Changes** - -The **parameters** attribute in @ohos.resourceschedule.workScheduler.d.ts is changed. - -| Class| API Type| Statement Before the Change| Statement After the Change| -| -- | -- | -- | -- | -| workScheduler.WorkInfo | field | parameters?: {[key: string]: any} | parameters?: {[key: string]: number | string | boolean} | - - -**Adaptation Guide** - -The **parameters** attribute uses the {[key: string]: number | string | boolean} data type. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-telephony.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-telephony.md deleted file mode 100644 index e2e631e1f4cdeecd88ba792956e8becc0e0bccab..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-telephony.md +++ /dev/null @@ -1,223 +0,0 @@ -# Telephony Subsystem Changelog - - - -## cl.telephony.1 Call Module reject API Change -Changed the `reject` API to the `rejectCall` API in the call module of the telephony subsystem since API version 9. - -You need to adapt your application. - -**Change Impact** - -The `reject` API is deprecated and cannot be used any more. Use the `rejectCall` API instead. Otherwise, relevant functions will be affected. - -- Involved APIs: - -```js - function reject(callId: number, callback: AsyncCallback): void; - function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback): void; - function reject(callId?: number, options?: RejectMessageOptions): Promise; - function reject(callback: AsyncCallback): void; - function reject(options: RejectMessageOptions, callback: AsyncCallback): void; -``` - -- Before change: - -```js - function reject(callId: number, callback: AsyncCallback): void; - function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback): void; - function reject(callId?: number, options?: RejectMessageOptions): Promise; - function reject(callback: AsyncCallback): void; - function reject(options: RejectMessageOptions, callback: AsyncCallback): void; -``` - -- After change: - -```js - function rejectCall(callId: number, callback: AsyncCallback): void; - function rejectCall(callId: number, options: RejectMessageOptions, callback: AsyncCallback): void; - function rejectCall(callId?: number, options?: RejectMessageOptions): Promise; - function rejectCall(callback: AsyncCallback): void; - function rejectCall(options: RejectMessageOptions, callback: AsyncCallback): void; -``` - - -**Adaptation Guide** - -The `reject` API is deprecated and cannot be used any more. Use the `rejectCall` API instead. -Use the new API. The sample code is as follows: - -```js -call.rejectCall("138xxxxxxxx", (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -let rejectMessageOptions={ - messageContent: "Unknown number blocked" -} -let promise = call.rejectCall(1, rejectMessageOptions); -promise.then(data => { - console.log(`rejectCall success, promise: data->${JSON.stringify(data)}`); -}).catch(err => { - console.error(`rejectCall fail, promise: err->${JSON.stringify(err)}`); -}); -``` - - -```js -let rejectMessageOptions={ - messageContent: "Unknown number blocked" -} -let promise = call.rejectCall(1, rejectMessageOptions); -promise.then(data => { - console.log(`rejectCall success, promise: data->${JSON.stringify(data)}`); -}).catch(err => { - console.error(`rejectCall fail, promise: err->${JSON.stringify(err)}`); -}); -``` - - -```js -call.rejectCall((err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -let rejectMessageOptions={ - messageContent: "Unknown number blocked" -} -call.rejectCall(rejectMessageOptions, (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -## cl.telephony.2 Call Module answer API Change -Changed the `answer` API to the `answerCall` API in the call module of the telephony subsystem since API version 9. - -You need to adapt your application. - -**Change Impact** - -The `answer` API is deprecated and cannot be used any more. Use the `answerCall` API instead. Otherwise, relevant functions will be affected. - -- Involved APIs: - -```js - function answer(callId: number, callback: AsyncCallback): void; - function answer(callId?: number): Promise; - function answer(callback: AsyncCallback): void; -``` - -- Before change: - -```js - function answer(callId: number, callback: AsyncCallback): void; - function answer(callId?: number): Promise; - function answer(callback: AsyncCallback): void; -``` - -- After change: - -```js - function answerCall(callId: number, callback: AsyncCallback): void; - function answerCall(callId?: number): Promise; - function answerCall(callback: AsyncCallback): void; -``` - - -**Adaptation Guide** - -The `answer` API is deprecated and cannot be used any more. Use the `answerCall` API instead. -Use the new API. The sample code is as follows: - -```js -call.answerCall(1, (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -let promise = call.answerCall(1); -promise.then(data => { - console.log(`answerCall success, promise: data->${JSON.stringify(data)}`); -}).catch(err => { - console.error(`answerCall fail, promise: err->${JSON.stringify(err)}`); -}); -``` - - -```js -call.answerCall((err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -## cl.telephony.1 Call Module hangup API Change -Changed the `hangup` API to the `hangUpCall` API in the call module of the telephony subsystem since API version 9. - -You need to adapt your application. - -**Change Impact** - -The `hangup` API is deprecated and cannot be used any more. Use the `hangUpCall` API instead. Otherwise, relevant functions will be affected. - -- Involved APIs: - -```js - function hangup(callId: number, callback: AsyncCallback): void; - function hangup(callId?: number): Promise; - function hangup(callback: AsyncCallback): void; -``` - -- Before change: - -```js - function hangup(callId: number, callback: AsyncCallback): void; - function hangup(callId?: number): Promise; - function hangup(callback: AsyncCallback): void; -``` - -- After change: - -```js - function hangUpCall(callId: number, callback: AsyncCallback): void; - function hangUpCall(callId?: number): Promise; - function hangUpCall(callback: AsyncCallback): void; -``` - - -**Adaptation Guide** - -The `hangup` API is deprecated and cannot be used any more. Use the `hangUpCall` API instead. -Use the new API. The sample code is as follows: - -```js -call.hangUpCall(1, (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -let promise = call.hangUpCall(1); -promise.then(data => { - console.log(`hangUpCall success, promise: data->${JSON.stringify(data)}`); -}).catch(err => { - console.error(`hangUpCall fail, promise: err->${JSON.stringify(err)}`); -}); -``` - - -```js -call.hangUpCall((err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-web.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-web.md deleted file mode 100644 index aff1454a2ed5fca720e5924f863361a294dacb8f..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelog-web.md +++ /dev/null @@ -1,528 +0,0 @@ -# Web Subsystem Changelog - -Compared with earlier versions, OpenHarmony 3.2.10.7 has the following API changes in its web subsystem: - -## cl.web.1 HitTestTypeV9 Name Change - -Renamed the enum class **HitTestTypeV9** **WebHitTestType** to meet the naming conventions. - -**Change Impact** - -The enum class **HitTestTypeV9** and APIs that use **HitTestTypeV9** as a parameter or return value cannot be used in OpenHarmony 3.2.10.7 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - enum HitTestTypeV9 - -- Before change: - - ```ts - enum HitTestTypeV9 - ``` - -- After change: - - ```ts - enum WebHitTestType - ``` - -**Adaptation Guide** - -Replace **HitTestTypeV9** with **WebHitTestType**. - -## cl.web.2 HeaderV9 Name Change - -Renamed the struct **HeaderV9** **WebHeader** to meet the naming conventions. - -**Change Impact** - -The struct **HeaderV9** and APIs that use **HeaderV9** as a parameter or return value cannot be used in OpenHarmony 3.2.10.7 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - interface HeaderV9 - -- Before change: - - ```ts - interface HeaderV9 - ``` - -- After change: - - ```ts - interface WebHeader - ``` - -**Adaptation Guide** - -Replace **HeaderV9** with **WebHeader**. - -## cl.web.3 Member Change of HitTestValue - -Rename the member variable **HitTestTypeV9** in the **HitTestValue** struct **WebHitTestType** to meet the naming conventions. - -**Change Impact** - -The struct **HitTestValue** and APIs that use **HitTestValue** as a parameter or return value cannot be used in OpenHarmony 3.2.10.7 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - interface HitTestValue - -- Before change: - - ```ts - interface HitTestValue { - - /** - * Get the hit test type. - * - * @since 9 - */ - type: HitTestTypeV9; - - /** - * Get the hit test extra data. - * - * @since 9 - */ - extra: string; - } - ``` - -- After change: - - ```ts - interface HitTestValue { - - /** - * Get the hit test type. - * - * @since 9 - */ - type: WebHitTestType; - - /** - * Get the hit test extra data. - * - * @since 9 - */ - extra: string; - } - ``` - -**Adaptation Guide** - -Replace **HitTestTypeV9** with **WebHitTestType**. - -## cl.web.4 Parameter Type Change of loadUrl - -Changed the type of the **headers** parameter in **loadUrl** to **WebHeader** to meet the naming conventions. - -**Change Impact** - -The **loadUrl** API that uses the **headers** parameter cannot be used in OpenHarmony 3.2.10.7 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - loadUrl(url: string | Resource, headers?: Array\): void - -- Before change: - - ```ts - loadUrl(url: string | Resource, headers?: Array): void - ``` - -- After change: - - ```ts - loadUrl(url: string | Resource, headers?: Array): void - ``` - -**Adaptation Guide** - -Change the type of the **headers** parameter in **loadUrl** from **HeaderV9** to **WebHeader**. - -## cl.web.5 Return Value Type Change of getHitTest - -Changed the return value type of the **getHitTest** API to **WebHitTest** to meet the naming conventions. - -**Change Impact** - -The **getHitTest** API cannot be used in OpenHarmony 3.2.10.7 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - getHitTest(): HitTestTypeV9 - -- Before change: - - ```ts - getHitTest(): HitTestTypeV9 - ``` - -- After change: - - ```ts - getHitTest(): WebHitTestType - ``` - -**Adaptation Guide** - -Change the return value type of the **getHitTest** API from **HitTestTypeV9** to **WebHitTestType**. - -## cl.web.6 Moving of the WebMessagePort Class - -Moved the **WebMessagePort** class to **@ohos.web.webview.d.ts** and added error throwing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing. - -**Key API/Component Changes** - -- Involved APIs: - - postMessageEvent(message: WebMessageEvent): void; - onMessageEvent(callback: (result: string) => void): void; - -- Before change: - - ```ts - postMessageEvent(message: WebMessageEvent): void; - onMessageEvent(callback: (result: string) => void): void; - ``` - -- After change: - - ```ts - postMessageEvent(message: WebMessage): void; - onMessageEvent(callback: (result: WebMessage) => void): void; - ``` - -**Adaptation Guide** - -Instead of importing APIs from the original **WebMessagePort** class, import APIs from **@ohos.web.webview** as follows: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.7 Moving of the HitTestValue Class - -Moved the **HitTestValue** class to **@ohos.web.webview.d.ts**; changed **HitTestValue** from a class to an API; changed the **getType** and **getExtra** from APIs to attributes. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. - -**Key API/Component Changes** - -- Involved APIs: - - getType(): HitTestType; - getExtra(): string; - -- Before change: - - ```ts - getType(): HitTestType; - getExtra(): string; - ``` - -- After change: - - ```ts - type: WebHitTestType; - extra: string; - ``` - -**Adaptation Guide** - -Instead of importing APIs from the original **HitTestValue** class, import APIs from **@ohos.web.webview** as follows: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.8 Moving of API Version 9 APIs Under WebCookie - -Moved APIs of API version 9 in the **WebCookie** class to **web.webview.webview.WebCookieManager** -and added error throwing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing. -The APIs in the class are static. - -**Key API/Component Changes** - -- Involved APIs: - - isCookieAllowed(): boolean; - isThirdPartyCookieAllowed(): boolean; - putAcceptCookieEnabled(accept: boolean): void; - putAcceptThirdPartyCookieEnabled(accept: boolean): void; - setCookie(url: string, value: string): boolean; - saveCookieSync(): boolean; - getCookie(url: string): string; - existCookie(): boolean; - deleteEntireCookie(): void; - deleteSessionCookie(): void; - -- Before change: - - ```ts - isCookieAllowed(): boolean; - isThirdPartyCookieAllowed(): boolean; - putAcceptCookieEnabled(accept: boolean): void; - putAcceptThirdPartyCookieEnabled(accept: boolean): void; - setCookie(url: string, value: string): boolean; - saveCookieSync(): boolean; - getCookie(url: string): string; - existCookie(): boolean; - deleteEntireCookie(): void; - deleteSessionCookie(): void; - ``` - -- After change: - - ```ts - static isCookieAllowed(): boolean; - static isThirdPartyCookieAllowed(): boolean; - static putAcceptCookieEnabled(accept: boolean): void; - static putAcceptThirdPartyCookieEnabled(accept: boolean): void; - static setCookie(url: string, value: string): void; - static saveCookieAsync(): Promise; - static saveCookieAsync(callback: AsyncCallback): void; - static getCookie(url: string): string; - static existCookie(): boolean; - static deleteEntireCookie(): void; - static deleteSessionCookie(): void; - ``` - -**Adaptation Guide** - -Instead of importing APIs from the original **WebCookie** class, import APIs from **@ohos.web.webview** as follows: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.9 Moving of API Version 9 APIs Under WebController - -Moved APIs of API version 9 in the **WebController** class to **web.webview.webview.WebviewController** and added error throwing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing. -The **getDefaultUserAgent** API is renamed **getUserAgent**. - -**Key API/Component Changes** - -- Involved APIs: - - zoomIn(): boolean; - zoomOut(): boolean; - createWebMessagePorts(): Array\; - postMessage(options: { message: WebMessageEvent, uri: string}): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getDefaultUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - -- Before change: - - ```ts - zoomIn(): boolean; - zoomOut(): boolean; - createWebMessagePorts(): Array; - postMessage(options: { message: WebMessageEvent, uri: string}): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getDefaultUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - ``` - -- After change: - - ```ts - zoomIn(): void; - zoomOut(): void; - createWebMessagePorts(): Array; - postMessage(name: string, ports: Array, uri: string): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - ``` - -**Adaptation Guide** - -Instead of importing APIs from the original **WebController** class, import APIs from **@ohos.web.webview** as follows: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.10 Moving of the WebAsyncController Class - -Moved the APIs in the **WebAsyncController** class to the **web.webview.webview.WebviewController** class and added error throwing. - -**Change Impact** - -If your application is developed based on earlier versions, pay attention to error code processing. - -**Key API/Component Changes** - -- Involved APIs: - - storeWebArchive(baseName: string, autoName: boolean): Promise\; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback\): void; - -- Before change: - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback): void; - ``` - -- After change: - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback): void; - ``` - -**Adaptation Guide** - -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('saveWebArchive') - .onClick(() => { - try { - this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => { - if (error) { - console.info(`save web archive error: ` + JSON.stringify(error)) - return; - } - if (filename != null) { - console.info(`save web archive success: ${filename}`) - } - }); - } catch (error) { - console.error(`ErrorCode: ${error.code}, Message: ${error.message}`); - } - }) - Web({ src: 'www.example.com', controller: this.controller }) - } - } - } - ``` - -## cl.web.11 Removal of webDebuggingAccess - -The definition of the **webDebuggingAccess** API is inappropriate. This API should take effect for all **Web** instances. In light of this, it is removed and replaced by the new API **setWebDebuggingAccess**. - -**Change Impacts** - -This API must be deprecated and replaced with the **setWebDebuggingAccess** API. - -**Key API/Component Changes** - -| Class| API Type| Declaration| Change Type| -| -- | -- | -- | -- | -|WebAttribute | method | webDebugggingAccess(webDebugggingAccess: boolean): WebAttribute| Deleted| - -**Adaptation Guide** - -Use the new API **setWebDebuggingAccess**. - -## cl.web.12 Adding of setWebDebuggingAccess - -Added the static API **setWebDebuggingAccess** to **WebviewController**. It sets whether to enable web debugging works for all **Web** instances. - -**Change Impacts** - -The original **webDebugggingAccess** API must be replaced with the new API in the application. - -**Key API/Component Changes** - -| Class| API Type| Declaration| Change Type| -| -- | -- | -- | -- | -|webview.WebviewController | method | static setWebDebugggingAccess(webDebugggingAccess: boolean): void| Added| - -**Adaptation Guide** - -The following exemplifies how to enable web debugging: - -```ts -// xxx.ets -import web_webview from '@ohos.web.webview'; - -@Entry -@Component -struct WebComponent { - controller: web_webview.WebviewController = new web_webview.WebviewController(); - - aboutToAppear():void { - try { - web_webview.WebviewController.setWebDebuggingAccess(true); - } catch(error) { - console.error(`ErrorCode: ${error.code}, Message: ${error.message}`); - } - } - - build() { - Column() { - Web({ src: 'www.example.com', controller: this.controller }) - } - } -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-ability.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-ability.md deleted file mode 100644 index b9367b4ce12ae9e48d0dbef5c628e4c0b7400b36..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-ability.md +++ /dev/null @@ -1,283 +0,0 @@ -# Ability Framework Changelog - -## cl.ability.1 AreaMode APIs Changed - -Duplicate **AreaMode** APIs are deleted. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.app.ability.common.d.ts | common.AreaMode | | Deleted | -| application/Context.d.ts | AreaMode | | Deleted | - - -**Adaptation Guide** - -Use **AreaMode** in **@ohos.app.ability.contextConstant.d.ts**. - -```ts -import contextConstant from '@ohos.app.ability.contextConstant'; -let area: contextConstant.AreaMode = contextConstant.AreaMode.EL1; -``` - -## cl.ability.2 killProcessesBySelf Renamed - -The **killProcessesBySelf** API is renamed **killAllProcesses**. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| ------------------------------ | ------------------ | ----------------------------------------------------- | -------- | -| application/ApplicationContext | ApplicationContext | killProcessesBySelf(): Promise\; | Deleted | -| application/ApplicationContext | ApplicationContext | killProcessesBySelf(callback: AsyncCallback\); | Deleted | -| application/ApplicationContext | ApplicationContext | killAllProcesses(): Promise\; | Added | -| application/ApplicationContext | ApplicationContext | killAllProcesses(callback: AsyncCallback\); | Added | - - -**Adaptation Guide** - -The following code snippet shows how to call **killProcessesBySelf** in an application. - -Code before the change: - -```ts -let context: common.UIAbilityContext = globalThis.abilityContext; -let appContext = context.getApplicationContext(); -appContext.killProcessesBySelf() -``` - -Code after the change: - -```ts -let context: common.UIAbilityContext = globalThis.abilityContext; -let appContext = context.getApplicationContext(); -appContext.killAllProcesses() -``` - -## cl.ability.3 getProcessRunningInformation Renamed - -The **getProcessRunningInformation** API is renamed **getRunningProcessInformation**. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| ----------------------------------- | ------------------ | ------------------------------------------------------------ | -------- | -| @ohos.app.ability.appManager.d.ts | appManager | function getProcessRunningInformation(): Promise\\>; | Deleted | -| @ohos.app.ability.appManager.d.ts | appManager | function getProcessRunningInformation(callback: AsyncCallback\\>): void; | Deleted | -| @ohos.app.ability.appManager.d.ts | appManager | function getRunningProcessInformation(): Promise\\>; | Added | -| @ohos.app.ability.appManager.d.ts | appManager | function getRunningProcessInformation(callback: AsyncCallback\\>): void; | Added | -| application/ApplicationContext.d.ts | ApplicationContext | getProcessRunningInformation(): Promise\\>; | Deleted | -| application/ApplicationContext.d.ts | ApplicationContext | getProcessRunningInformation(callback: AsyncCallback\\>): void; | Deleted | -| application/ApplicationContext.d.ts | ApplicationContext | getRunningProcessInformation(): Promise\\>; | Added | -| application/ApplicationContext.d.ts | ApplicationContext | getRunningProcessInformation(callback: AsyncCallback\\>): void; | Added | - -**Adaptation Guide** - -The following code snippet shows how to call **getProcessRunningInformation** in an application. - -Code before the change: - -```ts -let context: common.UIAbilityContext = globalThis.abilityContext; -let appContext = context.getApplicationContext(); -appContext.getProcessRunningInformation() -``` - -Code after the change: - -```ts -let context: common.UIAbilityContext = globalThis.abilityContext; -let appContext = context.getApplicationContext(); -appContext.getRunningProcessInformation() -``` - -## cl.ability.4 WantConstant.Flags API Changed - -**WantConstant.Flags** has multiple invalid flag definitions. These invalid flags are deleted. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_FORWARD_RESULT | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_CONTINUATION | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_NOT_OHOS_COMPONENT | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_FORM_ENABLED | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_AUTH_PERSISTABLE_URI_PERMISSION | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_AUTH_PREFIX_URI_PERMISSION | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITYSLICE_MULTI_DEVICE | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_START_FOREGROUND_ABILITY | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_CONTINUATION_REVERSIBLE | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_INSTALL_WITH_BACKGROUND_MODE | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_CLEAR_MISSION | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_NEW_MISSION | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Flags | FLAG_ABILITY_MISSION_TOP | Deleted | - -## cl.ability.5 WantConstant.Action API Changed - -**WantConstant.Action** has multiple invalid action definitions. These invalid actions are deleted. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | ACTION_APP_ACCOUNT_AUTH | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | ACTION_MARKET_DOWNLOAD | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | ACTION_MARKET_CROWDTEST | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | DLP_PARAMS_SANDBOX | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | DLP_PARAMS_BUNDLE_NAME | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | DLP_PARAMS_MODULE_NAME | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Action | DLP_PARAMS_ABILITY_NAME | Deleted | - -## cl.ability.6 Caller APIs Changed - -Caller APIs use the **Parcelable** and **MessageSequence** objects provided by RPC in API version 9 to replace the deprecated **Sequenceable** and **MessageParcel** object. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| api/@ohos.app.ability.UIAbility.d.ts | CalleeCallback | (indata: rpc.MessageParcel): rpc.Sequenceable; | Changed to **(indata: rpc.MessageSequence): rpc.Parcelable;**. | -| api/@ohos.app.ability.UIAbility.d.ts | Caller | call(method: string, data: rpc.Sequenceable): Promise; | Changed to **call(method: string, data: rpc.Parcelable): Promise;**. | -| api/@ohos.app.ability.UIAbility.d.ts | Caller | callWithResult(method: string, data: rpc.Sequenceable): Promise; | Changed to **callWithResult(method: string, data: rpc.Parcelable): Promise;**. | - -**Adaptation Guide** - -The following illustrates how to call the caller APIs in your application. - -Code before the change: - -```ts - class MyMessageAble{ - name:"" - str:"" - num: 1 - constructor(name, str) { - this.name = name; - this.str = str; - } - marshalling(messageParcel) { - messageParcel.writeInt(this.num); - messageParcel.writeString(this.str); - console.log('MyMessageAble marshalling num[' + this.num + '] str[' + this.str + ']'); - return true; - } - unmarshalling(messageParcel) { - this.num = messageParcel.readInt(); - this.str = messageParcel.readString(); - console.log('MyMessageAble unmarshalling num[' + this.num + '] str[' + this.str + ']'); - return true; - } - }; - let method = 'call_Function'; - function funcCallBack(pdata) { - console.log('Callee funcCallBack is called ' + pdata); - let msg = new MyMessageAble("test", ""); - pdata.readSequenceable(msg); - return new MyMessageAble("test1", "Callee test"); - } - export default class MainUIAbility extends UIAbility { - onCreate(want, launchParam) { - console.log('Callee onCreate is called'); - try { - this.callee.on(method, funcCallBack); - } catch (error) { - console.log('Callee.on catch error, error.code: ' + error.code + - ' error.message: ' + error.message); - } - } - } -``` - -Code after the change: - -```ts - class MyMessageAble{ - name:"" - str:"" - num: 1 - constructor(name, str) { - this.name = name; - this.str = str; - } - marshalling(messageSequence) { - messageSequence.writeInt(this.num); - messageSequence.writeString(this.str); - console.log('MyMessageAble marshalling num[' + this.num + '] str[' + this.str + ']'); - return true; - } - unmarshalling(messageSequence) { - this.num = messageSequence.readInt(); - this.str = messageSequence.readString(); - console.log('MyMessageAble unmarshalling num[' + this.num + '] str[' + this.str + ']'); - return true; - } - }; - let method = 'call_Function'; - function funcCallBack(pdata) { - console.log('Callee funcCallBack is called ' + pdata); - let msg = new MyMessageAble("test", ""); - pdata.readParcelable(msg); - return new MyMessageAble("test1", "Callee test"); - } - export default class MainUIAbility extends UIAbility { - onCreate(want, launchParam) { - console.log('Callee onCreate is called'); - try { - this.callee.on(method, funcCallBack); - } catch (error) { - console.log('Callee.on catch error, error.code: ' + error.code + - ' error.message: ' + error.message); - } - } - } -``` - -## cl.ability.7 WantConstant.Flags API Changed - -The **wantConstant** API had two similar enums. Now the two enums are combined into one. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| ----------------------------------- | ---------------------- | ----------------------------------- | -------- | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Parameter | ABILITY_BACK_TO_OTHER_MISSION_STACK | Deleted | -| @ohos.app.ability.wantConstant.d.ts | wantConstant.Params | ABILITY_BACK_TO_OTHER_MISSION_STACK | Added | - -**Adaptation Guide** - -Use **ABILITY_BACK_TO_OTHER_MISSION_STACK** in **@ohos.app.ability.wantConstant.d.ts**. - -```ts -import wantConstant from '@ohos.app.ability.wantConstant'; -let backToOtherMissionStack: wantConstant.Params = wantParam.Params.ABILITY_BACK_TO_OTHER_MISSION_STACK; -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-arkui.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-arkui.md deleted file mode 100644 index 0a2bf8673fefe00b6736d5cd299e24e5f5acddf2..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-arkui.md +++ /dev/null @@ -1,308 +0,0 @@ -# ArkUI Subsystem Changelog - -## cl.arkui.1 Return Value Type Change of getInspectorTree - -**Change Impact** - -The code that uses the **getInspectorTree** API in versions earlier than OpenHarmony 3.2.10.7 must be adapted. - -**Key API/Component Changes** - -The return value of the **getInspectorTree** API is changed from the string type to the Object type. - -**Adaptation Guide** - -Adapt the code that takes the return value of **getInspectorTree** as a string.The sample code is as follows: - -- Before change: - -```typescript -console.info(getInspectorTree()) -``` - -- After change: - -```typescript -console.info(JSON.stringify(getInspectorTree())) -``` - -## cl.arkui.2 Deprecation the forceRebuild Attribute of \ - -**Change Impact** - -None. The attribute has no effect. - -**Key API/Component Changes** - -Deprecate the **forceRebuild** attribute of the **\** component. - -**Adaptation Guide** - -Delete the code that uses the **forceRebuild** attribute. This will not affect the functionality of the **\** component. - -## cl.arkui.3 Plugin Module API Changes - - -### 1. API Change in the **PluginComponentTemplate** Module - -Renamed the **ability** parameter **bundleName** to more clearly indicate the intended meaning. - -You need to adapt your application. - - - -**Change Impact** - -The application developed based on earlier versions must be adapted to the change. Otherwise, build errors will occur. - - - -**Key API/Component Changes** - -- Involved APIs: - - interface PluginComponentTemplate { - source: string; - bundleName: string; - } - - interface PluginComponentInterface { - (value: { template: PluginComponentTemplate; data: any }): PluginComponentAttribute; -} - -- Before change: - -```js - interface PluginComponentTemplate { source: string; ability: string; } - interface PluginComponentInterface { - (value: { template: PluginComponentTemplate; data: any }): PluginComponentAttribute; - } -``` - -- After change: - -```js - interface PluginComponentTemplate { source: string; bundleName: string; } - interface PluginComponentInterface { - (value: { template: PluginComponentTemplate; data: any }): PluginComponentAttribute; - } -``` - -**Adaptation Guide** - -Use the new API. The sample code is as follows: - -- Before change: -```js -PluginComponent({ - template: { source: 'plugincomponent1', ability: 'com.example.plugin' }, - data: { 'countDownStartValue': 'new countDownStartValue' } -}).size({ width: 500, height: 100 }) -``` - -- After change: -```js -PluginComponent({ - template: { source: 'plugincomponent1', bundleName: 'com.example.plugin' }, - data: { 'countDownStartValue': 'new countDownStartValue' } -}).size({ width: 500, height: 100 }) -``` - -### 2. API Change in the **pluginComponentManager** Module - -Renamed the **want** parameter **target** to more clearly indicate the intended meaning. - -You need to adapt your application. - - - -**Change Impact** - -The application developed based on earlier versions must be adapted to the change. Otherwise, alarms will arise. Though the build may be successful, the API will not work as intended. - - - -**Key API/Component Changes** - -- Involved APIs: - - interface PushParameterForStage { - owner: Want; - target: Want; - name: string; - data: KVObject; - extraData: KVObject; - jsonPath?: string; - } - - function push(param: PushParameterForStage, callback: AsyncCallback\): void; - - interface RequestParameterForStage { - owner: Want; - target: Want; - name: string; - data: KVObject; - jsonPath?: string; - } - - function request(param: RequestParameterForStage, callback: AsyncCallback\): void; - -- Before change: - -```js - interface PushParameterForStage { - owner: Want; - want: Want; - name: string; - data: KVObject; - extraData: KVObject; - jsonPath?: string; - } - - function push(param: PushParameterForStage, callback: AsyncCallback): void; - - interface RequestParameterForStage { - owner: Want; - want: Want; - name: string; - data: KVObject; - jsonPath?: string; - } - - function request(param: RequestParameterForStage, callback: AsyncCallback): void; -``` - -- After change: - -```js - interface PushParameterForStage { - owner: Want; - target: Want; - name: string; - data: KVObject; - extraData: KVObject; - jsonPath?: string; - } - - function push(param: PushParameterForStage, callback: AsyncCallback): void; - - interface RequestParameterForStage { - owner: Want; - target: Want; - name: string; - data: KVObject; - jsonPath?: string; - } - - function request(param: RequestParameterForStage, callback: AsyncCallback): void; -``` - -**Adaptation Guide** - -Use the new API. The sample code is as follows: - -- Before change: -```js -import pluginComponentManager from '@ohos.pluginComponent' - -pluginComponentManager.push({ - owner:{ - bundleName:"com.example.provider", - abilityName:"com.example.provider.MainAbility" - }, - want: { - bundleName: "com.example.provider", - abilityName: "com.example.provider.MainAbility", - }, - name: "ets/pages/plugin2.js", - data: { - "js": "ets/pages/plugin.js", - "key_1": 1111, - }, - extraData: { - "extra_str": "this is push event" - }, - jsonPath: "", - }, - (err, data) => { - console.log("push_callback:err: " ,JSON.stringify(err)); - console.log("push_callback:data: " , JSON.stringify(data)); - console.log("push_callback: push ok!"); - } -) - -pluginComponentManager.request({ - owner:{ - bundleName:"com.example.provider", - abilityName:"com.example.provider.MainAbility" - }, - want: { - bundleName: "com.example.provider", - abilityName: "ets/pages/plugin2.js", - }, - name: "plugintemplate", - data: { - "key_1": " myapplication plugin component test", - "key_2": 123456 - }, - jsonPath: "", -}, - (err, data) => { - console.log("request_callback: componentTemplate.ability=" + data.componentTemplate.ability) - console.log("request_callback: componentTemplate.source=" + data.componentTemplate.source) - } -) -``` - -- After change: -```js -import pluginComponentManager from '@ohos.pluginComponent' - -pluginComponentManager.push({ - owner:{ - bundleName:"com.example.provider", - abilityName:"com.example.provider.MainAbility" - }, - target: { - bundleName: "com.example.provider", - abilityName: "com.example.provider.MainAbility", - }, - name: "ets/pages/plugin2.js", - data: { - "js": "ets/pages/plugin.js", - "key_1": 1111, - }, - extraData: { - "extra_str": "this is push event" - }, - jsonPath: "", - }, - (err, data) => { - console.log("push_callback:err: " ,JSON.stringify(err)); - console.log("push_callback:data: " , JSON.stringify(data)); - console.log("push_callback: push ok!"); - } -) - -pluginComponentManager.request({ - owner:{ - bundleName:"com.example.provider", - abilityName:"com.example.provider.MainAbility" - }, - target: { - bundleName: "com.example.provider", - abilityName: "ets/pages/plugin2.js", - }, - name: "plugintemplate", - data: { - "key_1": " myapplication plugin component test", - "key_2": 123456 - }, - jsonPath: "", -}, - (err, data) => { - console.log("request_callback: componentTemplate.ability=" + data.componentTemplate.ability) - console.log("request_callback: componentTemplate.source=" + data.componentTemplate.source) - } -) -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-bundlemanager.md deleted file mode 100644 index e90a0e21db43a89b2bad7e03ce388c7fdc35c2f7..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-bundlemanager.md +++ /dev/null @@ -1,245 +0,0 @@ -# Bundle Manager Subsystem Changelog - -## cl.bundlemanager.1 Deleted getAbilityIcon - -The **getAbilityIcon** API in [@ohos.bundle.bundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts) is deleted. The **getMediaContent** API in [@ohos.resourceManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.resourceManager.d.ts) can be used instead. - -**Change Impact**
-The **getAbilityIcon** API does not take effect. - -**Key API/Component Changes**
-The **getAbilityIcon** API is deleted from **@ohos.bundle.bundleManager.d.ts**. - -**Adaptation Guide**
-If your application uses **getAbilityIcon** in **@ohos.bundle.bundleManager.d.ts**, replace it with **getMediaContent** in **@ohos.resourceManager.d.ts**. You need to obtain the icon ID in advance. For details, see [Usage Guide](../../../application-dev/reference/apis/js-apis-resource-manager.md#getmediacontent9). - -## cl.bundlemanager.2 Bottom-Layer Capability Changed So That Only the System Resource HAP Supports Custom Permissions - -Only the system resource HAP supports custom permissions. During HAP parsing, the bundle manager module parses the **definePermissions** field only in the configuration file of the resource HAP (bundle name: **ohos.global.systemres**), but not this field in other HAPs. This field is used to define permissions. -If an application requires custom permissions, add the permissions under the **definePermissions** field in the [configuration file](https://gitee.com/openharmony/utils_system_resources/blob/master/systemres/main/config.json) of the system resource HAP. For details about the permission format, see [Defining Permissions](../../../application-dev/quick-start/module-structure.md#internal-structure-of-the-definepermissions-attribute). - - -**Change Impact**
-After an upgrade to the new version image, the custom permission of the application does not take effect, and the authorization fails. - -**Key API/Component Changes**
-The bottom-layer capability of the bundle manager module is changed. Only the system resource HAP supports custom permissions. - -**Adaptation Guide**
-If an application requires custom permissions, add the permissions under the **definePermissions** field in the [configuration file](https://gitee.com/openharmony/utils_system_resources/blob/master/systemres/main/config.json) of the system resource HAP. For details about the permission format, see [Defining Permissions](../../../application-dev/quick-start/module-structure.md#internal-structure-of-the-definepermissions-attribute). - -## cl.bundlemanager.3 Level-2 Module File Names Changed - -The level-2 module file names of the bundle manager module are changed to their respective API names in the file, as listed below. - -| Original File Name|New File Name| -|----|----| -| bundleManager/abilityInfo.d.ts | bundleManager/AbilityInfo.d.ts | -| bundleManager/applicationInfo.d.ts | bundleManager/ApplicationInfo.d.ts | -| bundleManager/bundleInfo.d.ts | bundleManager/BundleInfo.d.ts | -| bundleManager/dispatchInfo.d.ts | bundleManager/DispatchInfo.d.ts | -| bundleManager/elementName.d.ts | bundleManager/ElementName.d.ts | -| bundleManager/extensionAbilityInfo.d.ts | bundleManager/ExtensionAbilityInfo.d.ts | -| bundleManager/hapModuleInfo.d.ts | bundleManager/HapModuleInfo.d.ts | -| bundleManager/launcherAbilityInfo.d.ts | bundleManager/LauncherAbilityInfo.d.ts | -| bundleManager/metadata.d.ts | bundleManager/Metadata.d.ts | -| bundleManager/packInfo.d.ts | bundleManager/BundlePackInfo.d.ts | -| bundleManager/permissionDef.d.ts | bundleManager/PermissionDef.d.ts | -| bundleManager/remoteAbilityInfo.d.ts | bundleManager/RemoteAbilityInfo.d.ts | -| bundleManager/shortcutInfo.d.ts | bundleManager/ShortcutInfo.d.ts | - -To sum up, except **packInfo**, which is changed to **BundlePackInfo**, the other file names are changed to start with uppercase letters. - -**Change Impact**
-The change of the level-2 module file names does not affect the use of the level-1 module. If a level-2 module interface under **bundleManager** is directly imported to the .ts file and an error is reported during compilation on DevEco Studio, you must change the name of the imported file. - -**Key API/Component Changes**
-The .d.ts file names in the **bundleManager** folder are changed to their respective API names in the file. - -**Adaptation Guide**
-Generally, no adaptation is required. If a file in the **bundleManager** folder is directly imported to the application, you must change the imported file name as follows: - -**Before change:** -```ts -import {AbilityInfo} from 'bundleManger/abilityInfo'; -import {ExtensionAbilityInfo} from 'bundleManger/extensionAbilityInfo'; -import {BundlePackInfo} from 'bundleManger/packInfo'; -``` -**After change:** -```ts -import {AbilityInfo} from 'bundleManger/AbilityInfo'; -import {ExtensionAbilityInfo} from 'bundleManger/ExtensionAbilityInfo'; -import {BundlePackInfo} from 'bundleManger/BundlePackInfo'; -``` - -## cl.bundlemanager.4 LaunchType Enum Type Name Changed from STANDARD to MULTITON - -The enum type name of [LaunchType](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts) is changed from **STANDARD** to **MULTITON**. The enum value remains unchanged, indicating the multi-instance type. - -**Change Impact**
-The **LaunchType.STANDARD** type does not take effect. - -**Key API/Component Changes**
-The enum type name of **LaunchType** is changed from **STANDARD** to **MULTITON**. - -**Adaptation Guide**
-Change **LaunchType.STANDARD** to **LaunchType.MULTITON** for your application. - -## cl.bundlemanager.5 Changed the isVisible Field in the AbilityInfo Struct to exported - -The **isVisible** field in the [AbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts) struct is changed to **exported**. The type remains unchanged, indicating whether the ability can be exported and used by other abilities. - -**Change Impact**
-The **isVisible** field does not take effect. - -**Key API/Component Changes**
-The **isVisible** field in the [AbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts) struct is changed to **exported**, and the type remains unchanged. - -**Adaptation Guide**
-Change **isVisible** to **exported** for your application. - -## cl.bundlemanager.6 Changed the isVisible Field in the ExtensionAbilityInfo Struct to exported - -The **isVisible** field in the [ExtensionAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ExtensionAbilityInfo.d.ts) struct is changed to **exported**. The type remains unchanged, indicating whether the ability can be exported and used by other abilities. - -**Change Impact**
-The **isVisible** field does not take effect. - -**Key API/Component Changes**
-The **isVisible** field in the [ExtensionAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ExtensionAbilityInfo.d.ts) struct is changed to **exported**, and the type remains unchanged. - -**Adaptation Guide**
-Change **isVisible** to **exported** for your application. - -## cl.bundlemanager.7 Changed the visible Field in the ModuleAbilityInfo Struct to exported - -The **visible** field in the [ModuleAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundlePackInfo.d.ts) struct is changed to **exported**. The type remains unchanged, indicating whether the ability can be exported and used by other abilities. - -**Change Impact**
-The **visible** field does not take effect. - -**Key API/Component Changes**
-The **visible** field in the [ModuleAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundlePackInfo.d.ts) struct is changed to **exported**, and the type remains unchanged. - -**Adaptation Guide**
-Change **visible** to **exported** for your application. - -## cl.bundlemanager.8 Deleted the distributedNotificationEnabled Tag from the app.json File -The [distributedNotificationEnabled](../../../application-dev/quick-start/app-configuration-file.md) tag is deleted from the **app.json** file. - -**Change Impact**
-If this tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Delete this tag from the configuration file. - -## cl.bundlemanager.9 Deleted the entityType Tag from the app.json File -The [entityType](../../../application-dev/quick-start/app-configuration-file.md) tag is deleted from the **app.json** file. - -**Change Impact**
-If this tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Delete this tag from the configuration file. - -## cl.bundlemanager.10 Deleted the keepAlive Tag from the app.json File -The [keepAlive](../../../application-dev/quick-start/app-configuration-file.md) tag is deleted from the **app.json** file. - -**Change Impact**
-If this tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Delete this tag from the configuration file. - -## cl.bundlemanager.11 Deleted the removable Tag from the app.json File -The [removable](../../../application-dev/quick-start/app-configuration-file.md) tag is deleted from the **app.json** file. - -**Change Impact**
-If this tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Delete this tag from the configuration file. - -## cl.bundlemanager.12 Deleted the singleton Tag from the app.json File -The [singleton](../../../application-dev/quick-start/app-configuration-file.md) tag is deleted from the **app.json** file. - -**Change Impact**
-If this tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Delete this tag from the configuration file. - -## cl.bundlemanager.13 Deleted the userDataClearable Tag from the app.json File -The [userDataClearable](../../../application-dev/quick-start/app-configuration-file.md) tag is deleted from the **app.json** file. - -**Change Impact**
-If this tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Delete this tag from the configuration file. - -## cl.bundlemanager.14 No Longer Chinese Characters for the name Tag under module in the module.json File -The value of [name](../../../application-dev/quick-start/module-configuration-file.md) under **module** in the **module.json** file does not support Chinese characters. - -**Change Impact**
-If the tag is set to Chinese, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Set this tag to English. - -## cl.bundlemanager.15 No Longer Chinese Characters for the name Tag under ability in the module.json File -The value of [name](../../../application-dev/quick-start/module-configuration-file.md) under **ability** in the **module.json** file does not support Chinese characters. - -**Change Impact**
-If the tag is set to Chinese, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Set this tag to English. - -## cl.bundlemanager.16 Deleted the uiSyntax Tag from the module.json File -The [uiSyntax](../../../application-dev/quick-start/module-configuration-file.md) tag is deleted from the **module.json** file. - -**Change Impact**
-If this tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Delete this tag from the configuration file. - -## cl.bundlemanager.17 Changed srcEntrance to srcEntry in the module.json File -The [srcEntrance](../../../application-dev/quick-start/module-configuration-file.md) tag under **module** and **ability** in the **module.json** file is changed to **srcEntry**. - -**Change Impact**
-If the **srcEntrance** tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Replace the **srcEntrance** tag with **srcEntry** in the configuration file. - -## cl.bundlemanager.18 Deleted the apiVersion Tag Under distroFilter from the module.json File -The **apiVersion** tag under [distroFilter](../../../application-dev/quick-start/module-configuration-file.md) is deleted from the **module.json** file. - -**Change Impact**
-If this tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Delete this tag from the configuration file. - -## cl.bundlemanager.19 Changed distroFilter to distributionFilter in the module.json File -The [distroFilter](../../../application-dev/quick-start/module-configuration-file.md) tag in the **module.json** file is changed to **distributionFilter**. - -**Change Impact**
-If the **distroFilter** tag is used, an error is reported during compilation on DevEco Studio. - -**Adaptation Guide**
-Replace **distroFilter** with **distributionFilter** in the configuration file. - -## cl.bundlemanager.20 Changed standard of launchType to multiton in the module.json File -The **standard** mode of the [launchType](../../../application-dev/quick-start/module-configuration-file.md) tag in the **module.json** file is changed to **multiton**. - -**Adaptation Guide**
-Replace **standard** of **launchType** with **multiton** in the configuration file. - -## cl.bundlemanager.20 Changed visible of abilities to exported in the module.json File -The **visible** tag under [abilities](../../../application-dev/quick-start/module-configuration-file.md) in the [module.json] file is changed to **exported**, indicating whether the ability supports export and can be used by other ability. - -**Adaptation Guide**
-Replace **visible** under **abilities** with **exported** in the configuration file. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-util.md b/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-util.md deleted file mode 100644 index 52035aa2be49e1f11d72e91ec65f413112f5f13a..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.10.7/changelogs-util.md +++ /dev/null @@ -1,99 +0,0 @@ -# Util Subsystem Changelog - -Compared with OpenHarmony 3.2 Beta4, OpenHarmony 3.2.10.7(MR) has the following API changes in the util subsystem. - -## cl.util.1. randomUUID Name Changed -The **randomUUID** function name is changed to **generateRandomUUID**. - -Before change: function randomUUID(entropyCache?: boolean): string
After change: function generateRandomUUID(entropyCache?: boolean): string - -You need to adapt your application. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Method/Attribute/Enum/Constant | Change Type| -| :---------- | ------------------- | ------- | -| @ohos.util | function randomUUID(entropyCache?: boolean): string | Deleted | -| @ohos.util | function generateRandomUUID(entropyCache?: boolean): string| Added | - -**Adaptation Guide** - -Refer to the code snippet below to call **generateRandomUUID** in your application. - -Example: - -```ts -import util from '@ohos.util' -let uuid = util.generateRandomUUID(true); -console.log("RFC 4122 Version 4 UUID:" + uuid); -// Output: -// RFC 4122 Version 4 UUID:88368f2a-d5db-47d8-a05f-534fab0a0045 -``` - -## cl.util.2 randomBinaryUUID Name Changed -The **randomBinaryUUID** function name is changed to **generateRandomBinaryUUID**. - -Before change: function randomBinaryUUID(entropyCache?: boolean): Uint8Array
After change: function generateRandomBinaryUUID(entropyCache?: boolean): Uint8Array - -You need to adapt your application. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Method/Attribute/Enum/Constant | Change Type| -| :---------- | ------------------- | ------- | -| @ohos.util | function randomBinaryUUID(entropyCache?: boolean): Uint8Array; | Deleted | -| @ohos.util | function generateRandomBinaryUUID(entropyCache?: boolean): Uint8Array| Added | - -**Adaptation Guide** - -Refer to the code snippet below to call **generateRandomBinaryUUID** in your application. - -Example: - -```ts -import util from '@ohos.util' -let uuid = util.generateRandomBinaryUUID(true); -console.log(JSON.stringify(uuid)); -// Output: -// 138,188,43,243,62,254,70,119,130,20,235,222,199,164,140,150 -``` - -## cl.util.3. contains Parameter Type in the LRUCache Class Changed -The **contains** parameter type in the LRUCache class is changed from **object** to **K**. - -Before change: contains(key: object): boolean
After change: contains(key: K): boolean - -You need to adapt your application. - -**Change Impact** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement features in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| :-------- | ---------| -------------------------------- | -------- | -| @ohos.util | LRUCache | contains(key: object): boolean | Deleted | -| @ohos.util | LRUCache | contains(key: K): boolean | Added | - -**Adaptation Guide** - -Follow the code snippet to use the **contains** function in your application. - -Example: - -```ts -import util from '@ohos.util' -let pro = new util.LRUCache(); -pro.put(2,10); -let obj = {1:"key"}; -let result = pro.contains(obj); -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-ability.md b/en/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-ability.md deleted file mode 100644 index 5920a7cdf72d6f3b02f7fca84eafea67abbfcc1e..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-ability.md +++ /dev/null @@ -1,34 +0,0 @@ -# Ability Framework Changelog - -Compared with OpenHarmony 3.2 Release, OpenHarmony 3.2.12.2 provides more detailed error code information for the APIs of the ability framework. - -## cl.ability.1 Added and Optimized API Error Code Description - -The error code description and all error codes that may be returned by the APIs are commented out. This helps developers control the error process more accurately. - -**Change Impact** - -The external declaration of the JS APIs of API version 9 is affected, but the API functionalities are not affected. You can determine whether to adapt to the JS APIs. - -**Key API/Component Changes** - -The comments of the following modules are updated. For details, see the corresponding external API declaration and API development guide. - -| Module | Description of Major Changes | -| ----------------------------------- | ------------------------------------------------------------ | -| @ohos.app.ability.UIAbility | Added the description of error codes 16200001, 16200002, 16200004, 16200005, 16000050.| -| @ohos.app.ability.abilityManager | Added the description of error codes 201, 202, and 16000050, and adjusted the description of error code 401.| -| @ohos.app.ability.appManager | Added the description of error codes 201, 202, and 16000050, and adjusted the description of error code 401.| -| @ohos.app.ability.dataUriUtils | Added the description of error code 401. | -| @ohos.app.ability.errorManager | Added the description of error code 16000003. | -| @ohos.app.ability.missionManager | Added the description of error codes 201, 202, 16300001, 16300002, and 16000009, and adjusted the description of error code 401.| -| @ohos.app.ability.quickFixManager | Added the description of error codes 201, 202, 18500001, 18500002, and 18500008. | -| @ohos.app.ability.wantAgent | Added the description of error codes 16000007, 16000015, and 16000151. | -| application/AbilityDelegator | Added the description of error codes 16000001, 16000002, 16000004, 16000005, 16000006, 16000008, 16000009, 16000010, 16000011, 16000050, 16000053, 16000055, 16200001, and 16000100.| -| application/ApplicationContext | Added the description of error codes 16000011 and 16000050. | -| application/Context | Added the description of error codes 201, 202, and 401. | -| application/ServiceExtensionContext | Added the description of error codes 201, 202, 16000001, 16000002, 16000004, 16000005, 16000006, 16000008, 16000009, 16000010, 16000011, 16000050, 16000053, 16000055, and 16200001.| -| application/UIAbilityContext | Added the description of error codes 201, 16000001, 16000002, 16000004, 16000005, 16000006, 16000008, 16000009, 16000010, 16000011, 16000050, 16000053, 16000055, 16200001, and 16000100.| -| @ohos.app.form.formHost | Added the description of error codes 201, 202, 16500050, 16500060, 16501000, 16501001, and 16501003, and adjusted the description of error code 401.| -| @ohos.app.form.formProvider | Added the error codes 202, 16500050, 16500060, 16500100, 16501000, 16501001, 16501002, and 16501003, and adjusted the description of error code 401.| -| application/FormExtensionContext | Added the description of error codes 202, 401, 16500050, 16500100, 16500101, and 16501000.| diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-notification.md b/en/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-notification.md deleted file mode 100644 index 6912ea1b5e419a71e017f54e91202ff5570f2477..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.12.2/changelog-notification.md +++ /dev/null @@ -1,21 +0,0 @@ -# Notification Subsystem Changelog - -Compared with OpenHarmony 3.2 Release, OpenHarmony 3.2.12.2 provides more detailed error code information for the APIs of the notification subsystem. - -## cl.notification.1 Added and Optimized API Error Code Description - -The error code description and all error codes that may be returned by the APIs are commented out. This helps developers control the error process more accurately. - -**Change Impact** - -The external declaration of the JS APIs of API version 9 is affected, but the API functionalities are not affected. You can determine whether to adapt to the JS APIs. - -**Key API/Component Changes** - -The comments of the following modules are updated. For details, see the corresponding external API declaration and API development guide. - -| Module | Major Change | -| --------------------------- | ------------------------------------------------------------ | -| @ohos.commonEventManager | Added the description of error codes 801, 1500007, and 1500008. | -| @ohos.notificationManager | Added the description of error codes 201, 202, 1600001, 1600002, 1600003, 1600004, 1600005, 1600007, 1600008, 1600009, 1600010, and 17700001, and adjusted the description of error code 401.| -| @ohos.notificationSubscribe | Added the description of error codes 201, 202, 1600001, 1600002, 1600003, 1600007, 1600008, and 17700001, and adjusted the description of error code 401.| diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-account_os_account.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-account_os_account.md deleted file mode 100644 index c921c58756ee0d38d61254ae8fe2952aca708b80..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-account_os_account.md +++ /dev/null @@ -1,105 +0,0 @@ -# Account Subsystem ChangeLog - -## cl.account_os_account.1 Change of Definition and Return Mode of Error Codes - -To solve the issues that error code definitions of the account subsystem APIs were inconsistent and that the return mode of the error codes did not comply with relevant specifications of OpenHarmony, the following changes are made and take effect in API version 9 and later: - -- Added the following unified error code definitions: - - [Account Error Codes](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/errorcodes/errorcode-account.md) - - [App Account Error Codes](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/errorcodes/errorcode-account.md) - -- Returned an error code in either of the following ways, according to the API type: - - Asynchronous API: An error message is returned via **AsyncCallback** or the **error** object of **Promise**. An error message related to the parameter type or quantity is returned via an exception. - - Synchronous API: An error message is returned via an exception. - -**Change Impacts** - -The application developed based on earlier versions needs to adapt the method for returning API error information. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -The mentioned changes involve the following APIs: - - class AccountManager - - activateOsAccount(localId: number, callback: AsyncCallback<void>): void; - - removeOsAccount(localId: number, callback: AsyncCallback<void>): void; - - setOsAccountConstraints(localId: number, constraints: Array<string>, enable: boolean, callback: AsyncCallback<void>): void; - - setOsAccountName(localId: number, localName: string, callback: AsyncCallback<void>): void; - - queryMaxOsAccountNumber(callback: AsyncCallback<number>): void; - - queryAllCreatedOsAccounts(callback: AsyncCallback<Array<OsAccountInfo>>): void; - - createOsAccount(localName: string, type: OsAccountType, callback: AsyncCallback<OsAccountInfo>): void; - - createOsAccountForDomain(type: OsAccountType, domainInfo: DomainAccountInfo, callback: AsyncCallback<OsAccountInfo>): void; - - queryOsAccountById(localId: number, callback: AsyncCallback<OsAccountInfo>): void; - - getOsAccountProfilePhoto(localId: number, callback: AsyncCallback<string>): void; - - setOsAccountProfilePhoto(localId: number, photo: string, callback: AsyncCallback<void>): void; - - on(type: 'activate' | 'activating', name: string, callback: Callback<number>): void; - - off(type: 'activate' | 'activating', name: string, callback?: Callback<number>): void; - - isMainOsAccount(callback: AsyncCallback<boolean>): void; - - queryOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback<Array<ConstraintSourceTypeInfo>>): void; - - class UserAuth - - constructor(); - - getVersion(): number; - - getAvailableStatus(authType: AuthType, authTrustLevel: AuthTrustLevel): number; - - getProperty(request: GetPropertyRequest, callback: AsyncCallback<ExecutorProperty>): void; - - setProperty(request: SetPropertyRequest, callback: AsyncCallback<number>): void; - - auth(challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array; - - authUser(userId: number, challenge: Uint8Array, authType: AuthType, authTrustLevel: AuthTrustLevel, callback: IUserAuthCallback): Uint8Array; - - cancelAuth(contextID: Uint8Array): number; - - class PINAuth - - constructor(); - - registerInputer(inputer: IInputer): boolean; - - unregisterInputer(authType: AuthType): void; - - class UserIdentityManager - - constructor(); - - openSession(callback: AsyncCallback<Uint8Array>): void; - - addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; - - updateCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; - - closeSession(): void; - - cancel(challenge: Uint8Array): number; - - delUser(token: Uint8Array, callback: IIdmCallback): void; - - delCred(credentialId: Uint8Array, token: Uint8Array, callback: IIdmCallback): void; - - getAuthInfo(callback: AsyncCallback<Array<EnrolledCredInfo>>): void; - - interface IInputData - - onSetData: (authSubType: AuthSubType, data: Uint8Array) => void; - -**Adaptation Guide** - -The following uses **activateOsAccount** as an example to illustrate the error information processing logic of an asynchronous API: - -```ts -import account_osAccount from "@ohos.account.osAccount" -let accountMgr = account_osAccount.getAccountManager() -let callbackFunc = (err) => { - if (err != null) { // Handle the business error. - console.log("account_osAccount failed, error: " + JSON.stringify(err)); - } else { - console.log("account_osAccount successfully"); - } -} -try { - accountMgr.activateOsAccount("100", callbackFunc); -} catch (err) { // Process the error that is related to the parameter type. - console.log("account_osAccount failed for incorrect parameter type, error: " + JSON.stringify(err)); -} -try { - accountMgr.activateOsAccount(); -} catch (err) { // Process the error that is related to the parameter quantity. - console.log("account_osAccount failed for incorrect parameter number, error: " + JSON.stringify(err)); -} -``` - -The following uses **registerInputer** as an example to illustrate the error information processing logic of a synchronous API: - -```ts -import account_osAccount from "@ohos.account.osAccount" -let pinAuth = new account_osAccount.PINAuth() -try { - pinAuth.registerInputer({}) -} catch (err) { // Process the error that is related to the parameter type. - console.log("account_osAccount failed for incorrect parameter type, error: " + JSON.stringify(err)); -} -try { - pinAuth.registerInputer() -} catch (err) { // Process the error that is related to the parameter quantity. - console.log("account_osAccount failed for incorrect parameter number, error: " + JSON.stringify(err)); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-camera.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-camera.md deleted file mode 100644 index 16559935d6dba10f19739a84c4fe45c11855298f..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-camera.md +++ /dev/null @@ -1,783 +0,0 @@ -# ChangeLog of JS API Changes in the Multimedia Subsystem - -Compared with OpenHarmony 3.2 Beta3, OpenHarmony 3.2 Beta4 has the following changes in APIs of the camera component in the multimedia subsystem. - -## Camera API Changes -Some functional APIs are added and some others are deprecated to: -1. Improve the usability of camera APIs. -2. Help you quickly understand camera APIs and use them for development. -3. Facilitate expansion of framework functions in later versions, and reduce coupling between framework modules. - -You need to refer to the following change description to adapt your application. - -**Change Impacts** - -JS APIs in API version 9 are affected. Your application needs to adapt these APIs so that it can properly implement functions in the SDK environment of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enumeration/Constant | Change Type| -| ---------------------- | ----------------------- | ------------------------------------------------------------ | -------- | -| ohos.multimedia.camera | Profile | readonly format:CameraFormat; | Added | -| ohos.multimedia.camera | Profile | readonly size: Size; | Added | -| ohos.multimedia.camera | FrameRateRange | readonly min: number; | Added | -| ohos.multimedia.camera | FrameRateRange | readonly max: number; | Added | -| ohos.multimedia.camera | VideoProfile | readonly frameRateRange: FrameRateRange; | Added | -| ohos.multimedia.camera | CameraOutputCapability | readonly previewProfiles: Array; | Added | -| ohos.multimedia.camera | CameraOutputCapability | readonly photoProfiles: Array; | Added | -| ohos.multimedia.camera | CameraOutputCapability | readonly videoProfiles: Array; | Added | -| ohos.multimedia.camera | CameraOutputCapability | readonly supportedMetadataObjectTypes: Array; | Added | -| ohos.multimedia.camera | CameraManager | getSupportedCameras(callback: AsyncCallback>): void;
getSupportedCameras(): Promise>; | Added | -| ohos.multimedia.camera | CameraManager | getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback): void;
getSupportedOutputCapability(camera: CameraDevice): Promise; | Added | -| ohos.multimedia.camera | CameraManager | isCameraMuted(): boolean; | Added | -| ohos.multimedia.camera | CameraManager | isCameraMuteSupported(): boolean; | Added | -| ohos.multimedia.camera | CameraManager | muteCamera(mute: boolean): void; | Added | -| ohos.multimedia.camera | CameraManager | createCameraInput(camera: CameraDevice, callback: AsyncCallback): void;
createCameraInput(camera: CameraDevice): Promise; | Added | -| ohos.multimedia.camera | CameraManager | createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;
createPreviewOutput(profile: Profile, surfaceId: string): Promise; | Added | -| ohos.multimedia.camera | CameraManager | createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;
createPhotoOutput(profile: Profile, surfaceId: string): Promise; | Added | -| ohos.multimedia.camera | CameraManager | createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback): void;
createVideoOutput(profile: VideoProfile, surfaceId: string): Promise; | Added | -| ohos.multimedia.camera | CameraManager | createMetadataOutput(metadataObjectTypes: Array, callback: AsyncCallback): void;
createMetadataOutput(metadataObjectTypes: Array): Promise; | Added | -| ohos.multimedia.camera | CameraManager | createCaptureSession(callback: AsyncCallback): void;
createCaptureSession(): Promise; | Added | -| ohos.multimedia.camera | CameraManager | on(type: 'cameraMute', callback: AsyncCallback): void; | Added | -| ohos.multimedia.camera | CameraManager | getCameras(callback: AsyncCallback>): void;
getCameras(): Promise>; | Deprecated | -| ohos.multimedia.camera | CameraManager | createCameraInput(cameraId: string, callback: AsyncCallback): void;
createCameraInput(cameraId: string): Promise; | Deprecated | -| ohos.multimedia.camera | CameraManager | createCaptureSession(context: Context, callback: AsyncCallback): void;
createCaptureSession(context: Context): Promise; | Deprecated | -| ohos.multimedia.camera | CameraManager | createPreviewOutput(surfaceId: string, callback: AsyncCallback): void;
createPreviewOutput(surfaceId: string): Promise; | Deprecated | -| ohos.multimedia.camera | CameraManager | CreatePhotoOutput(surfaceId: string, callback: AsyncCallback): void;
CreatePhotoOutput(surfaceId: string): Promise; | Deprecated | -| ohos.multimedia.camera | CameraManager | createVideoOutput(surfaceId: string, callback: AsyncCallback): void;
createVideoOutput(surfaceId: string): Promise; | Deprecated | -| ohos.multimedia.camera | CameraManager | createMetadataOutput(callback: AsyncCallback): void;
createVideoOutput(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraStatusInfo | camera: CameraDevice; | Added | -| ohos.multimedia.camera | CameraStatusInfo | camera: Camera; | Deprecated | -| ohos.multimedia.camera | CameraDevice | interface CameraDevice | Added | -| ohos.multimedia.camera | Camera | interface Camera | Deprecated | -| ohos.multimedia.camera | CameraInput | open(callback: AsyncCallback): void;
open(): Promise; | Added | -| ohos.multimedia.camera | CameraInput | close(callback: AsyncCallback): void;
close(): Promise; | Added | -| ohos.multimedia.camera | CameraInput | on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void; | Added | -| ohos.multimedia.camera | CameraInput | isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback): void;
isFocusModeSupported(afMode: FocusMode): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getFocusMode(callback: AsyncCallback): void;
getFocusMode(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | setFocusMode(afMode: FocusMode, callback: AsyncCallback): void;
setFocusMode(afMode: FocusMode): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getZoomRatioRange(callback: AsyncCallback>): void;
getZoomRatioRange(): Promise>; | Deprecated | -| ohos.multimedia.camera | CameraInput | getZoomRatio(callback: AsyncCallback): void;
getZoomRatio(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | setZoomRatio(zoomRatio: number, callback: AsyncCallback): void;
setZoomRatio(zoomRatio: number): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getCameraId(callback: AsyncCallback): void;
getCameraId(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getExposurePoint(callback: AsyncCallback): void;
getExposurePoint(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | setExposurePoint(exposurePoint: Point, callback: AsyncCallback): void;
setExposurePoint(exposurePoint: Point): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | hasFlash(callback: AsyncCallback): void;
hasFlash(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback): void;
isFlashModeSupported(flashMode: FlashMode): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getFlashMode(callback: AsyncCallback): void;
getFlashMode(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | setFlashMode(flashMode: FlashMode, callback: AsyncCallback): void;
setFlashMode(flashMode: FlashMode): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback): void;
isExposureModeSupported(aeMode: ExposureMode): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getExposureMode(callback: AsyncCallback): void;
getExposureMode(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | setExposureMode(aeMode: ExposureMode, callback: AsyncCallback): void;
setExposureMode(aeMode: ExposureMode): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getMeteringPoint(callback: AsyncCallback): void;
getMeteringPoint(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | setMeteringPoint(point: Point, callback: AsyncCallback): void;
setMeteringPoint(point: Point): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getExposureBiasRange(callback: AsyncCallback>): void;
getExposureBiasRange(): Promise>; | Deprecated | -| ohos.multimedia.camera | CameraInput | setExposureBias(exposureBias: number, callback: AsyncCallback): void;
setExposureBias(exposureBias: number): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getExposureValue(callback: AsyncCallback): void;
getExposureValue(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback): void;
isFocusModeSupported(afMode: FocusMode): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getFocusMode(callback: AsyncCallback): void;
getFocusMode(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | setFocusMode(afMode: FocusMode, callback: AsyncCallback): void;
setFocusMode(afMode: FocusMode): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | setFocusPoint(point: Point, callback: AsyncCallback): void;
setFocusPoint(point: Point): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getFocusPoint(callback: AsyncCallback): void;
getFocusPoint(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getFocalLength(callback: AsyncCallback): void;
getFocalLength(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | getZoomRatioRange(callback: AsyncCallback>): void;
getZoomRatioRange(): Promise>; | Deprecated | -| ohos.multimedia.camera | CameraInput | getZoomRatio(callback: AsyncCallback): void;
getZoomRatio(): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | setZoomRatio(zoomRatio: number, callback: AsyncCallback): void;
setZoomRatio(zoomRatio: number): Promise; | Deprecated | -| ohos.multimedia.camera | CameraInput | on(type: 'focusStateChange', callback: AsyncCallback): void; | Deprecated | -| ohos.multimedia.camera | CameraInput | on(type: 'exposureStateChange', callback: AsyncCallback): void; | Deprecated | -| ohos.multimedia.camera | CameraInput | on(type: 'error', callback: ErrorCallback): void; | Deprecated | -| ohos.multimedia.camera | CameraInputErrorCode | ERROR_NO_PERMISSION = 0 | Added | -| ohos.multimedia.camera | CameraInputErrorCode | ERROR_DEVICE_PREEMPTED = 1 | Added | -| ohos.multimedia.camera | CameraInputErrorCode | ERROR_DEVICE_DISCONNECTED = 2 | Added | -| ohos.multimedia.camera | CameraInputErrorCode | ERROR_DEVICE_IN_USE = 3 | Added | -| ohos.multimedia.camera | CameraInputErrorCode | ERROR_DRIVER_ERROR = 4 | Added | -| ohos.multimedia.camera | CameraFormat | CAMERA_FORMAT_RGBA_8888 = 3 | Added | -| ohos.multimedia.camera | ExposureMode | EXPOSURE_MODE_AUTO = 1 | Added | -| ohos.multimedia.camera | ExposureMode | EXPOSURE_MODE_CONTINUOUS_AUTO = 2 | Added | -| ohos.multimedia.camera | ExposureMode | EXPOSURE_MODE_AUTO | Deprecated | -| ohos.multimedia.camera | ExposureMode | EXPOSURE_MODE_CONTINUOUS_AUTO | Deprecated | -| ohos.multimedia.camera | VideoStabilizationMode | LOW = 1 | Added | -| ohos.multimedia.camera | VideoStabilizationMode | MIDDLE = 2 | Added | -| ohos.multimedia.camera | VideoStabilizationMode | HIGH = 3 | Added | -| ohos.multimedia.camera | VideoStabilizationMode | AUTO = 4 | Added | -| ohos.multimedia.camera | VideoStabilizationMode | LOW | Deprecated | -| ohos.multimedia.camera | VideoStabilizationMode | MIDDLE | Deprecated | -| ohos.multimedia.camera | VideoStabilizationMode | HIGH | Deprecated | -| ohos.multimedia.camera | VideoStabilizationMode | AUTO | Deprecated | -| ohos.multimedia.camera | CaptureSession | addOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
addOutput(cameraOutput: CameraOutput): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
removeOutput(cameraOutput: CameraOutput): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode, callback: AsyncCallback): void;
isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | getActiveVideoStabilizationMode(callback: AsyncCallback): void;
getActiveVideoStabilizationMode(): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | setVideoStabilizationMode(mode: VideoStabilizationMode, callback: AsyncCallback): void;
setVideoStabilizationMode(mode: VideoStabilizationMode): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | on(type: 'focusStateChange', callback: AsyncCallback): void; | Added | -| ohos.multimedia.camera | CaptureSession | hasFlash(callback: AsyncCallback): void;
hasFlash(): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | isFlashModeSupported(flashMode: FlashMode, callback: AsyncCallback): void;
isFlashModeSupported(flashMode: FlashMode): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | getFlashMode(callback: AsyncCallback): void;
getFlashMode(): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | setFlashMode(flashMode: FlashMode, callback: AsyncCallback): void;
setFlashMode(flashMode: FlashMode): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | isExposureModeSupported(aeMode: ExposureMode, callback: AsyncCallback): void;
isExposureModeSupported(aeMode: ExposureMode): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | getExposureMode(callback: AsyncCallback): void;
getExposureMode(): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | setExposureMode(aeMode: ExposureMode, callback: AsyncCallback): void;
setExposureMode(aeMode: ExposureMode): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | getMeteringPoint(callback: AsyncCallback): void;
getMeteringPoint(): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | setMeteringPoint(point: Point, callback: AsyncCallback): void;
setMeteringPoint(point: Point): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | getExposureBiasRange(callback: AsyncCallback>): void;
getExposureBiasRange(): Promise>; | Added | -| ohos.multimedia.camera | CaptureSession | setExposureBias(exposureBias: number, callback: AsyncCallback): void;
setExposureBias(exposureBias: number): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | getExposureValue(callback: AsyncCallback): void;
getExposureValue(): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | isFocusModeSupported(afMode: FocusMode, callback: AsyncCallback): void;
isFocusModeSupported(afMode: FocusMode): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | getFocusMode(callback: AsyncCallback): void;
getFocusMode(): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | setFocusMode(afMode: FocusMode, callback: AsyncCallback): void;
setFocusMode(afMode: FocusMode): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | setFocusPoint(point: Point, callback: AsyncCallback): void;
setFocusPoint(point: Point): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | getFocusPoint(callback: AsyncCallback): void;
getFocusPoint(): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | getFocalLength(callback: AsyncCallback): void;
getFocalLength(): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | getZoomRatioRange(callback: AsyncCallback>): void;
getZoomRatioRange(): Promise>; | Added | -| ohos.multimedia.camera | CaptureSession | getZoomRatio(callback: AsyncCallback): void;
getZoomRatio(): Promise; | Added | -| ohos.multimedia.camera | CaptureSession | setZoomRatio(zoomRatio: number, callback: AsyncCallback): void;
setZoomRatio(zoomRatio: number): Promise; | Added | -| 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; | Deprecated | -| 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; | Deprecated | -| ohos.multimedia.camera | CaptureSessionErrorCode | ERROR_INSUFFICIENT_RESOURCES = 0 | Added | -| ohos.multimedia.camera | CaptureSessionErrorCode | ERROR_TIMEOUT = 1 | Added | -| ohos.multimedia.camera | CameraOutput | release(callback: AsyncCallback): void;
release(): Promise; | Added | -| ohos.multimedia.camera | PreviewOutput | start(callback: AsyncCallback): void;
start(): Promise; | Added | -| ohos.multimedia.camera | PreviewOutput | stop(callback: AsyncCallback): void;
stop(): Promise; | Added | -| ohos.multimedia.camera | PreviewOutput | release(callback: AsyncCallback): void;
release(): Promise; | Deprecated | -| ohos.multimedia.camera | PhotoOutput | release(callback: AsyncCallback): void;
release(): Promise; | Deprecated | -| ohos.multimedia.camera | VideoOutput | release(callback: AsyncCallback): void;
release(): Promise; | Deprecated | -| ohos.multimedia.camera | PhotoCaptureSetting | mirror?: boolean; | Added | -| ohos.multimedia.camera | PhotoOutputErrorCode | ERROR_DRIVER_ERROR = 0 | Added | -| ohos.multimedia.camera | PhotoOutputErrorCode | ERROR_INSUFFICIENT_RESOURCES = 1 | Added | -| ohos.multimedia.camera | PhotoOutputErrorCode | ERROR_TIMEOUT = 2 | Added | -| ohos.multimedia.camera | VideoOutputErrorCode | ERROR_DRIVER_ERROR = 0 | Added | -| ohos.multimedia.camera | MetadataObjectType | FACE_DETECTION = 0 | Added | -| ohos.multimedia.camera | MetadataObjectType | FACE = 0 | Deprecated | -| ohos.multimedia.camera | MetadataOutput | on(type: 'error', callback: ErrorCallback): void; | Added | -| ohos.multimedia.camera | MetadataOutput | setCapturingMetadataObjectTypes(metadataObjectTypes: Array, callback: AsyncCallback): void;
setCapturingMetadataObjectTypes(metadataObjectTypes: Array): Promise; | Deprecated | -| ohos.multimedia.camera | MetadataOutput | getSupportedMetadataObjectTypes(callback: AsyncCallback>): void;
getSupportedMetadataObjectTypes(): Promise>; | Deprecated | -| ohos.multimedia.camera | MetadataOutputErrorCode | ERROR_UNKNOWN = -1 | Added | -| ohos.multimedia.camera | MetadataOutputErrorCode | ERROR_INSUFFICIENT_RESOURCES = 0 | Added | -| ohos.multimedia.camera | MetadataOutputError | code: MetadataOutputErrorCode; | Added | - -**Adaptation Guide** - -In addition to new APIs and deprecated APIs, you need to adapt your application to changed APIs. - -In Beta4 and later versions, the following APIs are changed. - -**New APIs** - -1. **Profile** API - - Attribute 1: readonly format; type: CameraFormat - - Attribute 2: readonly size; type: Size - -2. **FrameRateRange** API - - Attribute 1: readonly min; type: number - - Attribute 2: readonly max; type: number - -3. **VideoProfile** API (inherited from **Profile**) - - Attribute: readonly frameRateRange; type: FrameRateRange - -4. **CameraOutputCapability** API - - Attribute 1: readonly previewProfiles; type: Array - - Attribute 2: readonly photoProfiles; type: Array - - Attribute 3: readonly videoProfiles; type: Array - - Attribute 4: readonly supportedMetadataObjectTypes; type: Array - -5. The following APIs are added to **CameraManager**: - - getSupportedOutputCapability(camera: CameraDevice, callback: AsyncCallback): void; - - getSupportedOutputCapability(camera: CameraDevice): Promise; - - The sample code is as follows: - - ``` - 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. The **isCameraMuted(): boolean;** API is added to **CameraManager**. - - The sample code is as follows: - - ``` - let ismuted = cameraManager.isCameraMuted(); - ``` - -7. The **isCameraMuteSupported(): boolean;** API is added to **CameraManager**. - - The sample code is as follows: - - ``` - let ismutesuppotred = cameraManager.isCameraMuteSupported(); - ``` - -8. The **muteCamera(mute: boolean): void;** API is added to **CameraManager**. - - The sample code is as follows: - - ``` - let mute = true; - cameraManager.muteCamera(mute); - ``` - -9. The **on(type: 'cameraMute', callback: AsyncCallback): void;** API is added to **CameraManager**. - - The sample code is as follows: - - ``` - cameraManager.on('cameraMute', (err, curMuetd) => { - if (err) { - console.error(`Failed to get cameraMute callback. ${err.message}`); - return; - } - }) - ``` - -10. The **open(callback: AsyncCallback): void;** and **open(): Promise;** APIs are added to **CameraInput**. - -The sample code is as follows: - -``` -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. The **close(callback: AsyncCallback): void;** and **close(): Promise;** APIs are added to **CameraInput**. - - The sample code is as follows: - - ``` - 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. The following enumerations are added to **CameraInputErrorCode**: - - Enumeration: ERROR_NO_PERMISSION; value: 0 - - Enumeration: ERROR_DEVICE_PREEMPTED; value: 1 - - Enumeration: ERROR_DEVICE_DISCONNECTED; value: 2 - - Enumeration: ERROR_DEVICE_IN_USE; value: 3 - - Enumeration: ERROR_DRIVER_ERROR; value: 4 - -13. The following enumeration is added to **CameraFormat**: - - Enumeration: CAMERA_FORMAT_RGBA_8888; value: 3 - -14. The **getMeteringPoint(callback: AsyncCallback): void;** and **getMeteringPoint(): Promise;** APIs are added to **CaptureSession**. - - The sample code is as follows: - - ``` - 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. The **setMeteringPoint(point: Point, callback: AsyncCallback): void;** and **setMeteringPoint(point: Point): Promise;** APIs are added to **CaptureSession**. - - The sample code is as follows: - - ``` - 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. The following enumerations are added to **CaptureSessionErrorCode**: - - Enumeration: ERROR_INSUFFICIENT_RESOURCES; value: 0 - - Enumeration: ERROR_TIMEOUT; value: 1 - -17. The **CameraOutput** API is added and contains the **release(callback: AsyncCallback): void;** and **release(): Promise;** methods. - - The sample code (for **previewOutput**) is as follows: - - ``` - 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. The **start(callback: AsyncCallback): void;** and **start(): Promise;** APIs are added to **PreviewOutput**. - - The sample code is as follows: - - ``` - 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. The **stop(callback: AsyncCallback): void;** and **stop(): Promise;** APIs are added to **PreviewOutput**. - - The sample code is as follows: - - ``` - 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** API - - Attribute 1: mirror?; type: boolean - -21. The following enumerations are added to **PhotoOutputErrorCode**: - - Enumeration: ERROR_DRIVER_ERROR; value: 0 - - Enumeration: ERROR_INSUFFICIENT_RESOURCES; value: 1 - - Enumeration: ERROR_TIMEOUT; value: 2 - -22. The following enumeration is added to **VideoOutputErrorCode**: - - Enumeration: ERROR_DRIVER_ERROR; value: 0 - -23. The **on(type: 'error', callback: ErrorCallback): void;** API is added to **MetadataOutput**. - - The sample code is as follows: - - ``` - metadataOutput.on('error', (metadataOutputError) => { - console.log(`Metadata output error code: ${metadataOutputError.code}`); - }) - ``` - -24. The following enumerations are added to **MetadataOutputErrorCode**. - - Enumeration: ERROR_UNKNOWN; value: -1 - - Enumeration: ERROR_INSUFFICIENT_RESOURCES; value: 0 - -25. **MetadataOutputError** API - - Attribute: code; value: MetadataOutputErrorCode - -**Deprecated APIs** - -1. The **on(type: 'exposureStateChange', callback: AsyncCallback): void;** API in **CameraInput** is deprecated. - -2. The **release(callback: AsyncCallback): void;** and **release(): Promise;** APIs in **previewOutput** are deprecated. - -3. The following APIs in **metadataOutput** are deprecated: - - setCapturingMetadataObjectTypes(metadataObjectTypes: Array, callback: AsyncCallback): void;
setCapturingMetadataObjectTypes(metadataObjectTypes: Array): Promise; - -4. The following APIs in **metadataOutput** are deprecated: - - getSupportedMetadataObjectTypes(callback: AsyncCallback>): void;
getSupportedMetadataObjectTypes(): Promise>; - -5. The **release(callback: AsyncCallback): void;** and **release(): Promise;** APIs in **PreviewOutput** are deprecated. - -6. The **release(callback: AsyncCallback): void;** and **release(): Promise;** APIs in **PhotoOutput** are deprecated. - -7. The **release(callback: AsyncCallback): void;** and **release(): Promise;** APIs in **VideoOutput** are deprecated. - -8. The **getCameraId(callback: AsyncCallback): void;** and **getCameraId(): Promise;** APIs in **CameraInput** are deprecated. - -9. The **getExposurePoint(callback: AsyncCallback): void;** and **getExposurePoint(): Promise;** APIs in **CameraInput** are deprecated. - -10. The **setExposurePoint(exposurePoint: Point, callback: AsyncCallback): void;** and **setExposurePoint(exposurePoint: Point): Promise;** APIs in **CameraInput** are deprecated. - -**Changed APIs** - -1. In **CameraManager**, the return value of **getCameras** is changed from **Array** to **Array**, and the API name is changed from **getCameras** to **getSupportedCameras**. Therefore, the **getCameras(callback: AsyncCallback>): void;** and **getCameras(): Promise>;** APIs are changed to **getSupportedCameras(callback: AsyncCallback>): void** and **getSupportedCameras(): Promise>;**. - - The sample code is as follows: - - ``` - 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. In **CameraManager**, the input parameter of **createCameraInput** is changed from **cameraId: string** to **camera: CameraDevice**. Therefore, the **createCameraInput(cameraId: string, callback: AsyncCallback): void;** and **createCameraInput(cameraId: string): Promise;** APIs are changed to **createCameraInput(camera: CameraDevice, callback: AsyncCallback): void;** and **createCameraInput(camera: CameraDevice): Promise;**. - - The sample code is as follows: - - ``` - 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. In **CameraManager**, the input parameter **profile: Profile** is added to **createPreviewOutput** and the **profile** parameter is obtained by the **getSupportedOutputCapability** API. Therefore, the **createPreviewOutput(surfaceId: string, callback: AsyncCallback): void;** and **createPreviewOutput(surfaceId: string): Promise;** APIs are changed to **createPreviewOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;** and **createPreviewOutput(profile: Profile, surfaceId: string): Promise;**. - - The sample code is as follows: - - ``` - 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. In **CameraManager**, the input parameter **profile: Profile** is added to **createPhotoOutput** and the **profile** parameter is obtained by the **getSupportedOutputCapability** API. Therefore, the **CreatePhotoOutput(surfaceId: string, callback: AsyncCallback): void;** and **CreatePhotoOutput(surfaceId: string): Promise;** APIs are changed to **createPhotoOutput(profile: Profile, surfaceId: string, callback: AsyncCallback): void;** and **createPhotoOutput(profile: Profile, surfaceId: string): Promise;**. - - The sample code is as follows: - - ``` - 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. In **CameraManager**, the input parameter **profile: Profile** is added to **createVideoOutput** and the **profile** parameter is obtained by the **getSupportedOutputCapability** API. Therefore, the **createVideoOutput(surfaceId: string, callback: AsyncCallback): void;** and **createVideoOutput(surfaceId: string): Promise;** APIs are changed to **createVideoOutput(profile: VideoProfile, surfaceId: string, callback: AsyncCallback): void;** and **createVideoOutput(profile: VideoProfile, surfaceId: string): Promise;**. - - The sample code is as follows: - - ``` - 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. In **CameraManager**, the input parameter **metadataObjectTypes: Array** is added to **createMetadataOutput**, and the **metadataObjectTypes** parameter is obtained by the **getSupportedOutputCapability** API. Therefore, the **function createMetadataOutput(callback: AsyncCallback): void;** and **function createMetadataOutput(): Promise;** APIs are changed to **createMetadataOutput(metadataObjectTypes: Array, callback: AsyncCallback): void;** and **createMetadataOutput(metadataObjectTypes: Array): Promise;**. - - The sample code is as follows: - - ``` - 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. In **CameraManager**, **createCaptureSession** does not need to consider the context attribute. Therefore, the **createCaptureSession(context: Context, callback: AsyncCallback): void;** and **createCaptureSession(context: Context): Promise;** APIs are changed to **createCaptureSession(callback: AsyncCallback): void;** and **createCaptureSession(): Promise;**. - - The sample code is as follows: - - ```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. The type of the **camera** attribute of the **CameraStatusInfo** API is changed from **Camera** to **CameraDevice**. - -9. In **CameraInput**, the input parameter **camera: CameraDevice** is added to the **on(type: 'error')** API. Therefore, the **on(type: 'error', callback: ErrorCallback): void;** API is changed to **on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void;**. - - The sample code is as follows: - - ``` - let cameraDevice = cameras[0]; - cameraInput.on('error', cameraDevice, (cameraInputError) => { - console.log(`Camera input error code: ${cameraInputError.code}`); - }) - ``` - -10. The following APIs are moved from **CameraInput** to **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. The **on(type: 'focusStateChange', callback: AsyncCallback): void;** API is moved from **CameraInput** to **CaptureSession**. - - The sample code is as follows: - - ``` - captureSession.on('focusStateChange', (focusState) => { - console.log(`Focus state : ${focusState}`); - }) - ``` - -12. The following enumerations are added to **ExposureMode**: - - Enumeration: EXPOSURE_MODE_AUTO; initial value: changed from the default value to **1** - - Enumeration: EXPOSURE_MODE_CONTINUOUS_AUTO; initial value: changed from the default value to **2** - -13. The following enumerations are added to **VideoStabilizationMode**: - - Enumeration: LOW; initial value: changed from the default value to **1** - - Enumeration: MIDDLE; initial value: changed from the default value to **2** - - Enumeration: HIGH; initial value: changed from the default value to **3** - - Enumeration: AUTO; initial value: changed from the default value to **4** - -14. In **CaptureSession**, the parameter of the **addOutput** API is changed from the original subclass type (**PreviewOutput**, **PhotoOutput**, **VideoOutput**, and **MetadataOutput**) to the base class type (**CameraOutput**). After the change, the number of APIs is reduced from 8 to 2. - - APIs before change: - - 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; - - APIs after change: - - addOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
addOutput(cameraOutput: CameraOutput): Promise; - - The sample code (for **PreviewOutput**) is as follows: - - ``` - 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. In **CaptureSession**, the parameter of the **removeOutput** API is changed from the original subclass type (**PreviewOutput**, **PhotoOutput**, **VideoOutput**, and **MetadataOutput**) to the base class type (**CameraOutput**). After the change, the number of APIs is reduced from 8 to 2. - - APIs before change: - - 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; - - APIs after change: - - removeOutput(cameraOutput: CameraOutput, callback: AsyncCallback): void;
removeOutput(cameraOutput: CameraOutput): Promise; - - The sample code (for **PreviewOutput**) is as follows: - - ``` - 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. The following enumeration in **MetadataObjectType** is changed: - - The enumeration value name is changed from **FACE** to **FACE_DETECTION**. - -17. The name of the **Camera** API is changed to **CameraDevice**. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-usb.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-usb.md deleted file mode 100644 index cc7d82ae7758a9be105037bfc60c9ab7eb54b0b1..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-device-usb.md +++ /dev/null @@ -1,27 +0,0 @@ -# USB Manager ChangeLog - -## cl.usb_manager.1 Error Information Return Method Change of APIs - -The USB manager API uses service logic return values to indicate the error information, which does not comply with the API error code specifications of OpenHarmony. Beginning from API version 9, error information is returned by throwing exceptions. - -**Change Impacts** - -The application developed based on earlier versions needs to adapt the method for returning API error information. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -Changed the USB module name from **@ohos.usb.d.ts** to **@ohos.usbV9.d.ts**, and added error code processing for all APIs in the module. - -**Adaptation Guide** - -Take the **getDevices** API as an example. The sample code is as follows: - -```ts -import usbV9 from '@ohos.usbV9' - -try { -usbV9.getDevices(); // If an improper parameter is passed to this API, an exception will be thrown. -} catch (err) { -console.error("getDevices errCode:" + err.code + ",errMessage:" + err.message); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-filemanagement.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-filemanagement.md deleted file mode 100644 index d50844ea44b5a523ab4c8cbd4d57ece6d6840abd..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-filemanagement.md +++ /dev/null @@ -1,90 +0,0 @@ -# File Management Subsystem ChangeLog - -## cl.filemanagement.1 File I/O API Changes - -The return value of file I/O APIs of **file_api** does not contain the error code. The original APIs are deprecated, and new APIs are added. - -**Change Impacts** - -For applications developed based on earlier versions, pay attention to the iterative update of discarded APIs. The specifications of the new APIs are slightly adjusted. Pay attention to the usage of the new APIs. - -**Key API/Component Changes** - -For the adaptation to the unified API exception handling mode, related file I/O APIs are deprecated, and corresponding new APIs are added. Original APIs are stored in **@ohos.fileio**, and the new ones are stored in **@ohos.file.fs**. The newly added APIs support unified error code handling specifications and function the same as the original APIs. The parameters are slightly adjusted. - -| Module | Method/Attribute/Enumeration/Constant | Change Type| -| ------------- | ------------------------------------------------------------ | -------- | -| @ohos.fileio | **function** open(path: string, flags?: number, mode?: number, callback?: AsyncCallback): void \| Promise; | Deprecated | -| @ohos.fileio | **function** openSync(path: string, flags?: number, mode?: number): number; | Deprecated | -| @ohos.file.fs | **function** open(path: string, mode?: number, callback?: AsyncCallback): void \| Promise; | Added | -| @ohos.file.fs | **function** openSync(path: string, mode?: number): File; | Added | -| @ohos.fileio | **function** read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }, callback?: AsyncCallback): void \| Promise; | Deprecated | -| @ohos.fileio | **function** readSync(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }): number; | Deprecated | -| @ohos.file.fs | **function** read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; }, callback?: AsyncCallback): void \| Promise; | Added | -| @ohos.file.fs | **function** readSync(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): number; | Added | -| @ohos.fileio | **function** stat(path: string, callback?: AsyncCallback): void \| Promise; | Deprecated | -| @ohos.fileio | **function** statSync(path: string): Stat; | Deprecated | -| @ohos.fileio | **function** fstat(fd: number, callback?: AsyncCallback): void \| Promise; | Deprecated | -| @ohos.fileio | **function** fstatSync(fd: number): Stat; | Deprecated | -| @ohos.file.fs | **function** stat(file: string \| number, callback?: AsyncCallback): void \| Promise; | Added | -| @ohos.file.fs | **function** statSync(file: string \| number): Stat; | Added | -| @ohos.fileio | **function** truncate(path: string, len?: number, callback?: AsyncCallback): void \| Promise; | Deprecated | -| @ohos.fileio | **function** truncateSync(path: string, len?: number): void; | Deprecated | -| @ohos.fileio | **function** ftruncate(fd: number, len?: number, callback?: AsyncCallback): void \| Promise; | Deprecated | -| @ohos.fileio | **function** ftruncateSync(fd: number, len?: number): void; | Deprecated | -| @ohos.file.fs | **function** truncate(file: string \| number, len?: number, callback?: AsyncCallback): void \| Promise; | Added | -| @ohos.file.fs | **function** truncateSync(file: string \| number, len?: number): void; | Added | -| @ohos.fileio | **function** write(fd: number, buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }, callback?: AsyncCallback): void \| Promise; | Deprecated | -| @ohos.fileio | **function** writeSync(fd: number, buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): number; | Deprecated | -| @ohos.file.fs | **function** write(fd: number, buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; encoding?: string; }, callback?: AsyncCallback): void \| Promise; | Added | -| @ohos.file.fs | **function** writeSync(fd: number, buffer: ArrayBuffer \| string, options?: { offset?: number; length?: number; encoding?: string; }): number; | Added | - -**Adaptation Guide** - -The original APIs use **@ohos.fileio**, which is imported as follows: - -```js -import fileio from '@ohos.fileio'; -``` - -The new APIs use **@ohos.file.fs**, which is imported as follows: - -```js -import fs from '@ohos.file.fs'; -``` - -In addition, exception handling needs to be adapted. Sample code for synchronous API exception handling is as follows: -```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); -} -``` -Sample code for handling exceptions of the **promise** method of an asynchronous API: -```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); -} -``` - -Sample code for handling exceptions of the **callback** method of an asynchronous API: -```js -import fs from '@ohos.file.fs' - -try { - fs.open(path, fs.OpenMode.READ_ONLY, function(e, file){ // Asynchronous thread (such as system call) errors are obtained from the callback. - if (e) { - console.error("open in async errCode:" + e.code + ", errMessage:" + e.message); - } - }); -} catch (err) {// Errors (such as invalid parameters) of the main thread are obtained through try catch. - console.error("open callback errCode:" + err.code + ", errMessage:" + err.message); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-global.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-global.md deleted file mode 100644 index 3ea6d2e61ae7d061f0631b217bdba75d0a27319c..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-global.md +++ /dev/null @@ -1,57 +0,0 @@ -# Globalization Subsystem ChangeLog - -## cl.global.1 Support of Error Codes for the Internalization Module - -APIs provided by the internationalization component of the globalization subsystem are changed to support error codes in the following scenarios. The following changes are made in API version 9 and later: - - Obtaining the local expression of a country or language - - Obtaining the list of languages supported by the system and the list of areas supported by a language - - Checking whether a language matches an area - - Obtaining and setting the system language, country or region, and area - - Obtaining and setting the 24-hour format of the system - - Obtaining, adding, and removing the preferred language - - Obtaining and setting localized numbers - -You need to adapt your applications based on the following information: - -**Change Impacts** - -The preceding APIs are changed to the static methods of the **System** class. When such an API is called, add the class name to the end of the module name. -The return value data type of the setting APIs (for example, **setSystemLanguage**) is changed from boolean to void. -When a call to an API fails, an error code is returned according to the failure cause. For example, when permissions are not correctly configured for an application, **201** is returned. - -**Key API/Component Changes** - -Involved APIs: -- getDisplayCountry(country: string, locale: string, sentenceCase?: boolean): string; -- getDisplayLanguage(language: string, locale: string, sentenceCase?: boolean): string; -- getSystemLanguages(): Array; -- getSystemCountries(language: string): Array; -- isSuggested(language: string, region?: string): boolean; -- getSystemLanguage(): string; -- setSystemLanguage(language: string): void; -- getSystemRegion(): string; -- setSystemRegion(region: string): void; -- getSystemLocale(): string; -- setSystemLocale(locale: string): void; -- is24HourClock(): boolean; -- set24HourClock(option: boolean): void; -- addPreferredLanguage(language: string, index?: number): void; -- removePreferredLanguage(index: number): void; -- getPreferredLanguageList(): Array; -- getFirstPreferredLanguage(): string; -- getAppPreferredLanguage(): string; -- setUsingLocalDigit(flag: boolean): void; -- getUsingLocalDigit(): boolean; - -**Adaptation Guide** - -Use the **try-catch** block to capture errors returned by an API. -``` -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}.`) -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md deleted file mode 100644 index c9514a515412e1d6b765558272650f2c20cac5af..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-multimodalinput.md +++ /dev/null @@ -1,103 +0,0 @@ -# Multimodal Input ChangeLog - -## cl.multimodalinput.1 Error Information Return Method Change of APIs - -The internal APIs of the following modules used service logic return values to indicate error information, which did not comply with the error code specifications of OpenHarmony. Therefore, they are modified in API version 9 and later. - - Input device management module (**@ohos.multimodalInput.inputDevice.d.ts**): third-party APIs - - - Input consumer module (**@ohos.multimodalInput.inputConsumer.d.ts**): system APIs - - - Screen hopping module (**@ohos.multimodalInput.inputDeviceCooperate.d.ts**): system APIs - - - Key injection module (**@ohos.multimodalInput.inputEventClient.d.ts**): system APIs - - - Input listening module (**@ohos.multimodalInput.inputMonitor.d.ts**): system APIs - - - Mouse pointer module (**@ohos.multimodalInput.pointer.d.ts**): system APIs and third-party APIs - -Asynchronous APIs in the preceding modules have the following changes: A parameter check error is returned synchronously; a service logic error is returned via **AsyncCallback** or the **error** object of **Promise**. No change is made to synchronous APIs. - -**Change Impacts** - -The application developed based on earlier versions needs to adapt the method for returning API error information. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - - - supportKeys(deviceId: number, keys: Array<KeyCode>, callback: AsyncCallback<Array<boolean>>): void; - - supportKeys(deviceId: number, keys: Array<KeyCode>): Promise<Array<boolean>>; - - getKeyboardType(deviceId: number, callback: AsyncCallback<KeyboardType>): void; > - - getKeyboardType(deviceId: number): Promise<KeyboardType>; - - setPointerSpeed(speed: number, callback: AsyncCallback<void>): void; - - setPointerSpeed(speed: number): Promise<void>; - - getPointerSpeed(callback: AsyncCallback<number>): void; - - getPointerSpeed(): Promise<number>; - - setPointerStyle(windowId: number, pointerStyle: PointerStyle, callback: AsyncCallback<void>): void; - - setPointerStyle(windowId: number, pointerStyle: PointerStyle): Promise<void>; - - getPointerStyle(windowId: number, callback: AsyncCallback<PointerStyle>): void; - - getPointerStyle(windowId: number): Promise<PointerStyle>; - - setPointerVisible(visible: boolean, callback: AsyncCallback<void>): void; - - setPointerVisible(visible: boolean): Promise<void>; - - isPointerVisible(callback: AsyncCallback<boolean>): void; - - isPointerVisible(): Promise<boolean>; - - on(type:"touch", receiver:TouchEventReceiver):void; - - on(type:"mouse", receiver:Callback<MouseEvent>):void; - - off(type:"touch", receiver?:TouchEventReceiver):void; - - off(type:"mouse", receiver?:Callback<MouseEvent>):void; - - injectEvent({KeyEvent: KeyEvent}): void; - - enable(enable: boolean, callback: AsyncCallback<void>): void; - - enable(enable: boolean): Promise<void>; - - start(sinkDeviceDescriptor: string, srcInputDeviceId: number, callback: AsyncCallback<void>): void; - - start(sinkDeviceDescriptor: string, srcInputDeviceId: number): Promise<void>; - - stop(callback: AsyncCallback<void>): void; - - stop(): Promise<void>; - - getState(deviceDescriptor: string, callback: AsyncCallback<{ state: boolean }>): void; - - getState(deviceDescriptor: string): Promise<{ state: boolean }>; - - on(type: 'cooperation', callback: AsyncCallback<{ deviceDescriptor: string, eventMsg: EventMsg }>): void; - - off(type: 'cooperation', callback?: AsyncCallback<void>): void; - - on(type: "key", keyOptions: KeyOptions, callback: Callback<KeyOptions>): void; - - off(type: "key", keyOptions: KeyOptions, callback?: Callback<KeyOptions>): void; - -Deprecated APIs: - - getDeviceIds(callback: AsyncCallback<Array<number>>): void; - - getDeviceIds(): Promise<Array<number>>; - - getDevice(deviceId: number, callback: AsyncCallback<InputDeviceData>): void; - - getDevice(deviceId: number): Promise<InputDeviceData>; - -Substitute APIs: - - getDeviceList(callback: AsyncCallback<Array<number>>): void; - - getDeviceList(): Promise<Array<number>>; - - getDeviceInfo(deviceId: number, callback: AsyncCallback<InputDeviceData>): void; - - getDeviceInfo(deviceId: number): Promise<InputDeviceData>; - -Changed APIs: - -Before change: - - supportKeys(deviceId: number, keys: Array<KeyCode>, callback: Callback<Array<boolean>>): void; - - getKeyboardType(deviceId: number, callback: Callback<KeyboardType>): void; - -After change: - - supportKeys(deviceId: number, keys: Array<KeyCode>, callback: AsyncCallback<Array<boolean>>): void; - - getKeyboardType(deviceId: number, callback: AsyncCallback<KeyboardType>): void; - -**Adaptation Guide** - -The following uses **setPointerVisible** as an example: - -```ts -import pointer from '@ohos.multimodalInput.pointer'; -pointer.setPointerVisible(true, (error) => { - console.log(`Set pointer visible success`); - }); - -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, error: ${JSON.stringify(error, [`code`, `message`])}`); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-power.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-power.md deleted file mode 100644 index 116bff7f084ebed42c0c8842f4c8e2936bca3e75..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-power.md +++ /dev/null @@ -1,68 +0,0 @@ -# Power Subsystem ChangeLog - -## cl.powermgr.1 Error Information Return Method Change of APIs - -The following APIs used service logic return values to indicate error information, which did not comply with the error code specifications of OpenHarmony. Therefore, they are modified in API version 9 and later. - -- Power consumption statistics: [@ohos.batteryStatistics](../../../application-dev/reference/apis/js-apis-batteryStatistics.md) - - Brightness: [@ohos.brightness](../../../application-dev/reference/apis/js-apis-brightness.md) - - Power manager: [@ohos.power](../../../application-dev/reference/apis/js-apis-power.md) - - RunningLock: [@ohos.runningLock](../../../application-dev/reference/apis/js-apis-runninglock.md) - - Thermal manager: [@ohos.thermal](../../../application-dev/reference/apis/js-apis-thermal.md) - -Asynchronous API: An error message is returned via **AsyncCallback** or the **error** object of **Promise**. - -Synchronous API: An error message is returned via an exception. - -#### Change Impacts - -The application developed based on earlier versions needs to adapt the method for returning API error information. Otherwise, the original service logic will be affected. - -#### Key API/Component Changes - -Error code processing is added for the following APIs: - - getBatteryStats(callback: AsyncCallback): void - - getAppPowerValue(uid: number): number - - getAppPowerPercent(uid: number): number - - getHardwareUnitPowerValue(type: ConsumptionType): number - - getHardwareUnitPowerPercent(type: ConsumptionType): number - - setValue(value: number): void - - shutdown(reason: string): void; - - isActive(): boolean - - wakeup(detail: string): void - - suspend(): void - - getPowerMode(): DevicePowerMode - - setPowerMode(mode: DevicePowerMode, callback: AsyncCallback<void>): void - - setPowerMode(mode: DevicePowerMode): Promise<void> - - hold(timeout: number): void - - isHolding(): boolean - - unhold(): void - - isSupported(type: RunningLockType): boolean - - isSupported(type: RunningLockType): boolean - - create(name: string, type: RunningLockType, callback: AsyncCallback<RunningLock>): void - - create(name: string, type: RunningLockType): Promise<RunningLock> - - registerThermalLevelCallback(callback: Callback<ThermalLevel>): void - - unregisterThermalLevelCallback(callback?: Callback<void>): void - - getLevel(): ThermalLevel - -#### Adaptation Guide - -For details, see the API reference document of each API. -## cl.powermgr.2 System API Change - -#### Change Impacts - -The application developed based on earlier versions needs to adapt to new API names and the new method for returning API error information. Otherwise, the original service logic will be affected. - -#### Key API/Component Changes - -| Bundle Name | Original API | New API | -| ----------- | ------------------------------------ | ------------------------------ | -| @ohos.power | shutdownDevice(reason: string): void | shutdown(reason: string): void | -| @ohos.power | rebootDevice(reason: string): void | reboot(reason: string): void | -| @ohos.power | wakeupDevice(detail: string): void | wakeup(detail: string): void | -| @ohos.power | suspendDevice(): void | suspend(): void | - -#### Adaptation Guide - -For details, see [@ohos.power](../../../application-dev/reference/apis/js-apis-power.md). diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-request.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-request.md deleted file mode 100644 index fcdddaf40cfed2818c196e98da66ecae758b2e16..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.1/changelogs-request.md +++ /dev/null @@ -1,108 +0,0 @@ -# Upload and Download Subsystem ChangeLog - -Compared with OpenHarmony 3.2 Beta3, OpenHarmony 3.2.8.1 has the following changes in its upload and download subsystem: - -## cl.request.1 Changes of Error Code Definitions and Some API Names - -- The processing of the [upload and download error codes](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/errorcodes/errorcode-request.md) is added to the upload and download APIs. -- An error message is returned via **AsyncCallback** or the **error** object of **Promise**. An error message related to the parameter type or quantity is returned via an exception. -- Some APIs need to be replaced with new APIs, and the parameters remain unchanged. - -**Change Impacts** - -The application developed based on earlier versions needs to adapt the method for returning API error information. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enumeration/Constant | Change Type| -| -------------- | -------------------------- | ------------------------------------------------------------ | -------- | -| ohos.request | request | EXCEPTION_PERMISSION | Added | -| ohos.request | request | EXCEPTION_PARAMCHECK | Added | -| ohos.request | request | EXCEPTION_UNSUPPORTED | Added | -| ohos.request | request | EXCEPTION_FILEIO | Added | -| ohos.request | request | EXCEPTION_FILEPATH | Added | -| ohos.request | request | EXCEPTION_SERVICE | Added | -| ohos.request | request | EXCEPTION_OTHERS | Added | -| ohos.request | request | ERROR_OFFLINE | Added | -| ohos.request | request | ERROR_UNSUPPORTED_NETWORK_TYPE | Added | -| ohos.request | request | function downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallback): void; | Added | -| ohos.request | request | function downloadFile(context: BaseContext, config: DownloadConfig): Promise; | Added | -| ohos.request | request | function uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback): void; | Added | -| ohos.request | request | function uploadFile(context: BaseContext, config: UploadConfig): Promise; | Added | -| ohos.request | DownloadTask | delete(callback: AsyncCallback): void; | Added | -| ohos.request | DownloadTask | delete(): Promise; | Added | -| ohos.request | DownloadTask | suspend(callback: AsyncCallback): void; | Added | -| ohos.request | DownloadTask | suspend(): Promise; | Added | -| ohos.request | DownloadTask | restore(callback: AsyncCallback): void; | Added | -| ohos.request | DownloadTask | restore(): Promise; | Added | -| ohos.request | DownloadTask | getTaskInfo(callback: AsyncCallback): void; | Added | -| ohos.request | DownloadTask | getTaskInfo(): Promise; | Added | -| ohos.request | DownloadTask | getTaskMimeType(callback: AsyncCallback): void; | Added | -| ohos.request | DownloadTask | getTaskMimeType(): Promise; | Added | -| ohos.request | UploadTask | delete(callback: AsyncCallback): void; | Added | -| ohos.request | UploadTask | delete(): Promise; | Added | -| ohos.request | request | function download(config: DownloadConfig, callback: AsyncCallback): void;
Substitute API: function downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallback): void;| Deprecated | -| ohos.request | request | function download(config: DownloadConfig): Promise;
Substitute API: function downloadFile(context: BaseContext, config: DownloadConfig): Promise; | Deprecated | -| ohos.request | request | function download(context: BaseContext, config: DownloadConfig, callback: AsyncCallback): void;
Substitute API: function downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallback): void; | Deprecated | -| ohos.request | request | function download(context: BaseContext, config: DownloadConfig): Promise;
Substitute API: function downloadFile(context: BaseContext, config: DownloadConfig): Promise; | Deprecated | -| ohos.request | request | function upload(config: UploadConfig, callback: AsyncCallback): void;
Substitute API: function uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback): void; | Deprecated | -| ohos.request | request | function upload(config: UploadConfig): Promise;
Substitute API: function uploadFile(context: BaseContext, config: UploadConfig): Promise; | Deprecated | -| ohos.request | request | function upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback): void;
Substitute API: function uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback): void; | Deprecated | -| ohos.request | request | function upload(context: BaseContext, config: UploadConfig): Promise;
Substitute API: function uploadFile(context: BaseContext, config: UploadConfig): Promise; | Deprecated | -| ohos.request | DownloadTask | remove(callback: AsyncCallback): void;
Substitute API: delete(callback: AsyncCallback): void | Deprecated | -| ohos.request | DownloadTask | remove(): Promise;
Substitute API: delete(): Promise; | Deprecated | -| ohos.request | DownloadTask | pause(callback: AsyncCallback): void;
Substitute API: suspend(callback: AsyncCallback): void; | Deprecated | -| ohos.request | DownloadTask | pause(): Promise;
Substitute API: suspend(): Promise; | Deprecated | -| ohos.request | DownloadTask | resume(callback: AsyncCallback): void;
Substitute API: restore(callback: AsyncCallback): void; | Deprecated | -| ohos.request | DownloadTask | resume(): Promise;
Substitute API: restore(): Promise; | Deprecated | -| ohos.request | DownloadTask | query(callback: AsyncCallback): void;
Substitute API: getTaskInfo(callback: AsyncCallback): void; | Deprecated | -| ohos.request | DownloadTask | query(): Promise;
Substitute API: getTaskInfo(): Promise; | Deprecated | -| ohos.request | DownloadTask | queryMimeType(callback: AsyncCallback): void;
Substitute API: getTaskMimeType(callback: AsyncCallback): void; | Deprecated | -| ohos.request | DownloadTask | queryMimeType(): Promise;
Substitute API: getTaskMimeType(): Promise; | Deprecated | -| ohos.request | UploadTask | remove(callback: AsyncCallback): void;
Substitute API: delete(callback: AsyncCallback): void; | Deprecated | -| ohos.request | UploadTask | remove(): Promise;
Substitute API: delete(): Promise; | Deprecated | -| system.request | UploadResponse | code | Deprecated | -| system.request | UploadResponse | data | Deprecated | -| system.request | UploadResponse | headers | Deprecated | -| system.request | DownloadResponse | token | Deprecated | -| system.request | OnDownloadCompleteResponse | uri | Deprecated | -| system.request | RequestFile | filename | Deprecated | -| system.request | RequestFile | name | Deprecated | -| system.request | RequestFile | uri | Deprecated | -| system.request | RequestFile | type | Deprecated | -| system.request | RequestData | name | Deprecated | -| system.request | RequestData | value | Deprecated | -| system.request | UploadRequestOptions | url | Deprecated | -| system.request | UploadRequestOptions | data | Deprecated | -| system.request | UploadRequestOptions | files | Deprecated | -| system.request | UploadRequestOptions | header | Deprecated | -| system.request | UploadRequestOptions | description | Deprecated | -| system.request | UploadRequestOptions | success | Deprecated | -| system.request | UploadRequestOptions | fail | Deprecated | -| system.request | UploadRequestOptions | complete | Deprecated | -| system.request | OnDownloadCompleteOptions | token | Deprecated | -| system.request | OnDownloadCompleteOptions | success | Deprecated | -| system.request | OnDownloadCompleteOptions | fail | Deprecated | -| system.request | OnDownloadCompleteOptions | complete | Deprecated | -| system.request | Request | static upload(options: UploadRequestOptions): void; | Deprecated | -| system.request | Request | static download(options: DownloadRequestOptions): void; | Deprecated | -| system.request | Request | static onDownloadComplete(options: OnDownloadCompleteOptions): void; | Deprecated | - - -**Adaptation Guide** - -The following uses **downloadFile** as an example to show how it is called in the new version: - -```ts -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; - } - }); -} catch (err) { - console.log("downloadFile callback fail." + "errCode:" + err.code + ",errMessage:" + err.message); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.2/changelog-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.2/changelog-bundlemanager.md deleted file mode 100644 index 3ebe7bc6878e2b63bbadc721606866342a506cee..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.2/changelog-bundlemanager.md +++ /dev/null @@ -1,761 +0,0 @@ -# Bundle Manager Subsystem ChangeLog - -## cl.bundlemanager.1 Bundle Manager API Changes -The bundle manager APIs use service logic return values to indicate the error information, which does not comply with the API error code specifications of OpenHarmony. APIs in API version 8 and earlier are deprecated. Replace them with APIs in API version 9 instead. - -**Change Impacts** - -The application developed based on the SDK versions of OpenHarmony 3.2.8.2 and later needs to adapt the modules and APIs (version 9) and their method for returning API error information. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -The new APIs are classified by module. The original **d.ts** file is divided into multiple ones. You can import the **d.ts** files as required. The newly added APIs support unified error code handling specifications and function the same as the original APIs. APIs whose functions are changed or added are listed separately. - -For adaptation to the unified API exception handling mode, bundle manager APIs (version 8 and earlier) are deprecated (original APIs in the following table) and corresponding new APIs (version 9) in the following table are added. - -| Original API (Deprecated) | New API (Added) | -| ------------------------------------ | ------------------------------------------------------------ | -| @ohos.bundle.d.ts | [@ohos.bundle.bundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts) | -| @ohos.bundle.d.ts | [@ohos.bundle.freeInstall.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.freeInstall.d.ts) | -| @ohos.bundle.d.ts | [@ohos.bundle.installer.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.installer.d.ts) | -| @ohos.bundle.innerBundleManager.d.ts | [@ohos.bundle.launcherBundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.launcherBundleManager.d.ts) | -| @ohos.bundle.innerBundleManager.d.ts | [@ohos.bundle.bundleMonitor.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleMonitor.d.ts) | -| @ohos.bundle.defaultAppManager.d.ts | [@ohos.bundle.defaultAppManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.defaultAppManager.d.ts) | -| @ohos.distributedBundle.d.ts | [@ohos.bundle.distributedBundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.distributedBundleManager.d.ts) | -| N/A | [@ohos.bundle.appControl.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.appControl.d.ts) | -| @system.package.d.ts | N/A | - -**Adaptation Guide** -1. Call the bundle manager query API. -``` -import bundle form '@ohos.bundle.bundleManager' -``` -2. Call the bundle manager installation and uninstallation API. -``` -import installer form '@ohos.bundle.installer' -``` -3. Call the bundle manager installation-free API. -``` -import freeInstall form '@ohos.bundle.freeInstall' -``` -4. Call the bundle manager launcher APIs. -``` -import launcherBundleManager form '@ohos.bundle.launcherBundleManager' -import bundleMonitor form '@ohos.bundle.bundleMonitor' -``` -6. Call the bundle manager API for the default application. -``` -import defaultAppManager form '@ohos.bundle.defaultAppManager' -``` -7. Call the distributed bundle manager API. -``` -import distributedBundle form '@ohos.bundle.distributedBundle' -``` -In addition, exception handling is needed. For details, see the API reference for the new APIs. - -## cl.bundlemanager.1 Bundle Manager API Structure Changes -The bundle manager APIs use service logic return values to indicate the error information, which does not comply with the API error code specifications of OpenHarmony. The structures of APIs in API version 8 and earlier are deprecated. Use the structures of APIs in API version 9 instead. - -**Change Impacts** - -The application developed based on the SDK versions of OpenHarmony 3.2.8.2 and later needs to adapt new structures. Otherwise, the original service logic will be affected. The export function of original level-2 modules will also be deprecated. Instead, the level-2 modules' export function of new APIs will be used, and new level-1 d.ts modules are imported. - -**Key API/Component Changes** - -The structures of APIs in API version 8 and earlier are sorted out and deprecated, and those of new APIs in API version 9 are added. The following table lists the comparison before and after the change. Some structures are combined. For example, replace **moduleInfo.d.ts** with **hapModuleInfo.d.ts** and **customizeData.d.ts** with **metadata.d.ts**. The structures' functions are the same as those of the original ones. Structures whose attributes are changed or added are listed separately. -| Original Structure (Deprecated) | New Structure (Added) | -| -------------------------------- | ------------------------------------------------------------ | -| bundle/abilityInfo.d.ts | [bundleManager/AbilityInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts) | -| bundle/applicationInfo.d.ts | [bundleManager/ApplicationInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts) | -| bundle/bundleInfo.d.ts | [bundleManager/BundleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundleInfo.d.ts) | -| bundle/bundleInstaller.d.ts | [@ohos.bundle.installer.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.installer.d.ts) | -| bundle/bundleStatusCallback.d.ts | [@ohos.bundle.bundleMonitor.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleMonitor.d.ts) | -| bundle/customizeData.d.ts | [bundleManager/Metadata.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/Metadata.d.ts) | -| bundle/dispatchInfo.d.ts | [bundleManager/DispatchInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/DispatchInfo.d.ts) | -| bundle/elementName.d.ts | [bundleManager/ElementName.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ElementName.d.ts) | -| bundle/extensionAbilityInfo.d.ts | [bundleManager/ExtensionAbilityInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ExtensionAbilityInfo.d.ts) | -| bundle/hapModuleInfo.d.ts | [bundleManager/HapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) | -| bundle/launcherAbilityInfo.d.ts | [bundleManager/LauncherAbilityInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/LauncherAbilityInfo.d.ts) | -| bundle/metadata.d.ts | [bundleManager/Metadata.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/Metadata.d.ts) | -| bundle/moduleInfo.d.ts | [bundleManager/HapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts) | -| bundle/PermissionDef.d.ts | [bundleManager/PermissionDef.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/PermissionDef.d.ts) | -| bundle/remoteAbilityInfo.d.ts | [bundleManager/RemoteAbilityInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/RemoteAbilityInfo.d.ts) | -| bundle/shortcutInfo.d.ts | [bundleManager/ShortcutInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ShortcutInfo.d.ts) | - -**Adaptation Guide** -1. Replace the code of original structures with the code of new ones. -2. Deprecate the export function of original level-2 modules. Instead, use the level-2 modules' export function of new APIs, and import new level-1 d.ts modules. - -## cl.bundlemanager.3 Bundle Manager Query API Changes - -Bundle manager query APIs are changed as follows: APIs of version 8 and earlier in **@ohos.bundle** are deprecated, and APIs of version 9 in **@ohos.bundle** are changed to **@ohos.bundle.bundleManager**, **@ohos.bundle.freeInstall**, and **@ohos.bundle.installer**. Most deprecated APIs are added to **@ohos.bundle.bundleManager** and changed to system APIs, and the exception handling capability is added. - -API call mode: APIs are now used by the **@ohos.bundle.bundleManager**, **@ohos.bundle.freeInstall**, and **@ohos.bundle.installer** modules, instead of the **@ohos.bundle** module. - -The system capability of the **@ohos.bundle.bundleManager** and **@ohos.bundle.installer** modules is **SystemCapability.BundleManager.BundleFramework.Core**, and that of **@ohos.bundle.freeInstall** is **SystemCapability.BundleManager.BundleFramework.FreeInstall**. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 need to adapt new modules and APIs. APIs of version 9 in **@ohos.bundle** are moved to the new **@ohos.bundle.bundleManager.d.ts**, **@ohos.bundle.freeInstall**, and **@ohos.bundle.installer** files. - -**Key API/Component Changes** - -The following table lists the deprecated and changed APIs involved in **@ohos.bundle.d.ts**. The APIs not listed in the table have no change in API names and input parameters, and they have new exception handling and import modules. The APIs can be directly used after being imported to **@ohos.bundle.bundleManager.d.ts**, **@ohos.bundle.freeInstall**, and **@ohos.bundle.installer**. The APIs listed in the table are changed in API version 9, and those marked with "N/A" are deprecated in API version 9. - -| Original API (Deprecated) | New API (Changed or Added) | System API| New File Name | -| ---------------------------- | ---------------------------- | --------- | ------------------------------- | -| BundleFlag | BundleFlag | No | @ohos.bundle.bundleManager.d.ts | -| N/A | ApplicationFlag | Yes | @ohos.bundle.bundleManager.d.ts | -| N/A | AbilityFlag | Yes | @ohos.bundle.bundleManager.d.ts | -| ExtensionFlag | ExtensionAbilityFlag | Yes | @ohos.bundle.bundleManager.d.ts | -| ColorMode | N/A | No | N/A | -| GrantStatus | PermissionGrantState | No | @ohos.bundle.bundleManager.d.ts | -| AbilityType | AbilityType | No | @ohos.bundle.bundleManager.d.ts | -| AbilitySubType | N/A | No | N/A | -| DisplayOrientation | DisplayOrientation | No | @ohos.bundle.bundleManager.d.ts | -| LaunchMode | LaunchType | No | @ohos.bundle.bundleManager.d.ts | -| ExtensionAbilityType | ExtensionAbilityType | Yes | @ohos.bundle.bundleManager.d.ts | -| BundleOptions | N/A | No | N/A | -| InstallErrorCode | N/A | No | N/A | -| UpgradeFlag | UpgradeFlag | Yes | @ohos.bundle.freeInstall.d.ts | -| SupportWindowMode | SupportWindowMode | No | @ohos.bundle.bundleManager.d.ts | -| getBundleInfo | getBundleInfo | Yes | @ohos.bundle.bundleManager.d.ts | -| getBundleInstaller | getBundleInstaller | Yes | @ohos.bundle.installer.d.ts | -| getAbilityInfo | queryAbilityInfo | Yes | @ohos.bundle.bundleManager.d.ts | -| getApplicationInfo | getApplicationInfo | Yes | @ohos.bundle.bundleManager.d.ts | -| queryAbilityByWant | queryAbilityInfo | Yes | @ohos.bundle.bundleManager.d.ts | -| getAllBundleInfo | getAllBundleInfo | Yes | @ohos.bundle.bundleManager.d.ts | -| getAllApplicationInfo | getAllApplicationInfo | Yes | @ohos.bundle.bundleManager.d.ts | -| getNameForUid | getBundleNameByUid | Yes | @ohos.bundle.bundleManager.d.ts | -| getBundleArchiveInfo | getBundleArchiveInfo | Yes | @ohos.bundle.bundleManager.d.ts | -| getLaunchWantForBundle | getLaunchWantForBundle | Yes | @ohos.bundle.bundleManager.d.ts | -| cleanBundleCacheFiles | cleanBundleCacheFiles | Yes | @ohos.bundle.bundleManager.d.ts | -| setApplicationEnabled | setApplicationEnabled | Yes | @ohos.bundle.bundleManager.d.ts | -| setAbilityEnabled | setAbilityEnabled | Yes | @ohos.bundle.bundleManager.d.ts | -| queryExtensionAbilityInfos | queryExtensionAbilityInfo | Yes | @ohos.bundle.bundleManager.d.ts | -| getPermissionDef | getPermissionDef | Yes | @ohos.bundle.bundleManager.d.ts | -| getAbilityLabel | getAbilityLabel | Yes | @ohos.bundle.bundleManager.d.ts | -| getAbilityIcon | getAbilityIcon | Yes | @ohos.bundle.bundleManager.d.ts | -| isAbilityEnabled | isAbilityEnabled | Yes | @ohos.bundle.bundleManager.d.ts | -| isApplicationEnabled | isApplicationEnabled | Yes | @ohos.bundle.bundleManager.d.ts | -| setModuleUpgradeFlag | setHapModuleUpgradeFlag | Yes | @ohos.bundle.freeInstall.d.ts | -| isModuleRemovable | isHapModuleRemovable | Yes | @ohos.bundle.freeInstall.d.ts | -| getBundlePackInfo | getBundlePackInfo | Yes | @ohos.bundle.freeInstall.d.ts | -| getDispatcherVersion | getDispatchInfo | Yes | @ohos.bundle.freeInstall.d.ts | -| getProfileByAbility | getProfileByAbility | No | @ohos.bundle.bundleManager.d.ts | -| getProfileByExtensionAbility | getProfileByExtensionAbility | No | @ohos.bundle.bundleManager.d.ts | -| setDisposedStatus | setDisposedStatus | Yes | @ohos.bundle.appControl.d.ts | -| getDisposedStatus | getDisposedStatus | Yes | @ohos.bundle.appControl.d.ts | -| N/A | deleteDisposedStatus | Yes | @ohos.bundle.appControl.d.ts | -| getBundleInfoSync | getBundleInfoSync | Yes | @ohos.bundle.bundleManager.d.ts | -| getApplicationInfoSync | getApplicationInfoSync | Yes | @ohos.bundle.bundleManager.d.ts | -| N/A | getBundleInfoForSelf | No | @ohos.bundle.bundleManager.d.ts | - -**Adaptation Guide** - -Replace the original APIs with new ones of version 9 and import related modules. - -Old import module: -``` -import bundle form '@ohos.bundle' -``` -New import module: -``` -import bundle form '@ohos.bundle.bundleManager' -import freeInstall form '@ohos.bundle.freeInstall' -import installer form '@ohos.bundle.installer' -import appControl form '@ohos.bundle.appControl' -``` - -## cl.bundlemanager.4 BundleInfo Structure Changes - -All **bundle/bundleInfo.d.ts** fields in the bundle manager are deprecated. [bundle/bundleInfo.d.ts]((https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundle/bundleInfo.d.ts)) is changed to [bundleManager/BundleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundleInfo.d.ts), involving field type changes. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 need to adapt new modules and APIs. When a level-2 module is used to export **BundleInfo**, the **@ohos.bundle.bundleManager** module needs to be imported. - -**Key API/Component Changes** - -The following table describes the changed fields in the **BundleInfo** structure. After other fields are deprecated in **bundle/bundleInfo.d.ts**, they have corresponding values in the new **[bundleManager/BundleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundleInfo.d.ts)**. If corresponding fields do not exist, the fields have been deprecated in API version 9. - -| Deprecated | Added or Changed in API Version 9 | Type | -| --------------------- | --------------------- | ------------------------------------------ | -| type | N/A | string | -| appId | N/A | string | -| N/A | signatureInfo | SignatureInfo | -| uid | N/A | number | -| abilityInfos | N/A | Array\ | -| reqPermissions | N/A | Array | -| compatibleVersion | N/A | number | -| isCompressNativeLibs | N/A | boolean | -| entryModuleName | N/A | string | -| cpuAbi | N/A | string | -| isSilentInstallation | N/A | string | -| entryInstallationFree | N/A | boolean | -| reqPermissionStates | permissionGrantStates | Array\ | -| extensionAbilityInfo | N/A | Array\ | -| hapModuleInfos | hapModulesInfo | Array\ | - -The **SignatureInfo** structure is added to API version 9 as follows. - -| Field | Type | -| ----------- | ------ | -| appId | string | -| fingerprint | string | - -**Adaptation Guide** - -Use the **BundleInfo** structure of API version 9 for modules imported for bundle manager query. The following module needs to be imported when a level-2 module is used for export. - -``` -import bundle form '@ohos.bundle.bundleManager' -``` - -## cl.bundlemanager.5 ApplicationInfo Structure Changes -The **ApplicationInfo** structure is changed. The original **bundle/applicationInfo.d.ts** fields in the bundle manager are deprecated, and the file is changed from **bundle/applicationInfo.d.ts** to **bundleManager/ApplicationInfo.d.ts**, involving field type changes. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 need to adapt new modules and APIs. When a level-2 module is used to export **ApplicationInfo**, the **@ohos.bundle.bundleManager** module needs to be imported. - -**Key API/Component Changes** - -The following table describes the changed fields in the **ApplicationInfo** structure. After other fields are deprecated in **bundle/applicationInfo.d.ts**, they have corresponding values in the new [bundleManager/ApplicationInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ApplicationInfo.d.ts). If corresponding fields do not exist, the fields have been deprecated in API version 9. - -| Deprecated | Added or Changed in API Version 9| Type | -| ---------------- | -------------- | ---------------------------------- | -| systemApp | N/A | boolean | -| labelId | N/A | string | -| labelIndex | labelId | number | -| iconId | N/A | string | -| iconIndex | iconId | number | -| supportedModes | N/A | number | -| moduleSourceDirs | N/A | Array\ | -| moduleInfos | N/A | Array\ | -| metaData | N/A | Map\> | -| entityType | N/A | string | -| fingerprint | N/A | string | - -**Adaptation Guide** - -Use the **ApplicationInfo** structure of API version 9 for modules imported for bundle manager query. - - -## cl.bundlemanager.6 HapModuleInfo Structure Changes - -The **HapModuleInfo** structure is changed. The original **bundle/hapModuleInfo.d.ts** and **moduleInfo.d.ts** fields in the bundle manager are deprecated, and the files are changed to [bundleManager/HapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts), involving field type changes. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 need to adapt new modules and APIs. When a level-2 module is used to export **HapModuleInfo**, the **@ohos.bundle.bundleManager** module needs to be imported. - -**Key API/Component Changes** - -The following table describes the changed fields in the **HapModuleInfo** structure. After other fields are deprecated in **bundle/hapModuleInfo.d.ts**, they have corresponding values in the new **bundleManager/HapModuleInfo.d.ts** file. - -| Deprecated | Added or Changed in API Version 9 | Type | -| -------------------- | ---------------------- | ---------------------------- | -| abilityInfo | abilitiesInfo | Array | -| N/A | moduleSourceDir | string | -| backgroundImg | N/A | string | -| supportedModes | N/A | string | -| reqCapabilities | N/A | Array\ | -| moduleName | N/A | string | -| mainAbilityName | N/A | string | -| extensionAbilityInfo | extensionAbilitiesInfo | Array\ | - -**Adaptation Guide** - -Use the **HapModuleInfo** structure of API version 9 for modules imported for bundle manager query. - -## cl.bundlemanager.7 ModuleInfo Structure Changes - -The original **bundle/hapModuleInfo.d.ts** and **moduleInfo.d.ts** fields in the bundle manager are deprecated, and the files are changed to [bundleManager/HapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts), involving field changes. - -The **ModuleInfo** structure is deprecated and replaced by **HapModuleInfo** in [bundleManager/HapModuleInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/HapModuleInfo.d.ts). - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 need to adapt new modules and APIs. The **ModuleInfo** structure is deprecated and replaced by **HapModuleInfo**. - -**Key API/Component Changes** - -The **ModuleInfo** structure is deprecated and replaced by **HapModuleInfo**. - -**Adaptation Guide** - -Use the **HapModuleInfo** structure of API version 9. - -## cl.bundlemanager.8 AbilityInfo Structure Changes - -The **AbilityInfo** structure is changed. The original **bundle/abilityInfo.d.ts** file is deprecated and changed to **bundleManager/AbilityInfo.d.ts**, involving field type changes. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 need to adapt new modules and APIs. - -**Key API/Component Changes** - -The following table lists the field changes in the **AbilityInfo** structure for the bundle manager. Fields that are not listed in the table exist in the new **AbilityInfo** structure after being deprecated. Fields marked with "N/A" have been deprecated in API version 9 and do not exist in the new **AbilityInfo** structure. - -| Deprecated | Added or Changed in API Version 9 | Type | -| ------------------ | ------------------ | --------------------- | -| launchMode | launchType | number | -| supportWindowMode | supportWindowModes | Array\ | -| targetAbility | N/A | string | -| backgroundModes | N/A | number | -| formEnabled | N/A | boolean | -| subType | N/A | AbilitySubType | -| deviceCapabilities | N/A | Array\ | -| metaData | N/A | Array\ | -| maxWindowRatio | N/A | number | -| minWindowRatio | N/A | number | -| maxWindowWidth | N/A | number | -| minWindowWidth | N/A | number | -| maxWindowHeight | N/A | number | -| minWindowHeight | N/A | number | -| N/A | windowSize | WindowSize | - -The fields of the new structure **WindowSize** of API version 9 are as follows. - -| Field | Type | -| :-------------: | :----: | -| maxWindowRatio | number | -| minWindowRatio | number | -| maxWindowWidth | number | -| minWindowWidth | number | -| maxWindowHeight | number | -| minWindowHeight | number | - -**Adaptation Guide** - -Use the **AbilityInfo** structure of API version 9. - -## cl.bundlemanager.9 BundleFlag Changes - -**BundleFlag** is changed to **BundleFlag**, **ApplicationFlag**, and **AbilityFlag** in **@ohos.bundle.bundleManager**. Different types of flags are passed based on the input parameters of new APIs. - -**Change Impacts** - -**BundleFlag** is changed to **BundleFlag**, **ApplicationFlag**, and **AbilityFlag** in **@ohos.bundle.bundleManager**. Different types of flags are passed based on the input parameters of new APIs. If **BundleFlag** of a version earlier than API version 9 is directly used, the query may fail. - -**Key API/Component Changes** - -**BundleFlag** in the original **@ohos.bundle** is deprecated and replaced by **BundleFlag**, **ApplicationFlag**, and **AbilityFlag** in the new **@ohos.bundle.bundleManager**. - -The following table describes **BundleFlag** of API version 9. - -| BundleFlag | Value | Description | -| ----------------------------------------- | ---------- | ------------------------------------------------------------ | -| GET_BUNDLE_INFO_DEFAULT | 0x00000000 | Obtains the default **BundleInfo**. The obtained **BundleInfo** does not contain **signatureInfo**, **hapModuleInfo**, **appInfo**, **reqPermissionDetails**, or **permissionGrantStates**.| -| GET_BUNDLE_INFO_WITH_APPLICATION | 0x00000001 | Obtains **appInfos** with the default **BundleInfo**. | -| GET_BUNDLE_INFO_WITH_HAP_MODULE | 0x00000002 | Obtains **hapModulesInfo** with the default **BundleInfo**. | -| GET_BUNDLE_INFO_WITH_ABILITY | 0x00000004 | Indicates whether **abilitiesInfo** is obtained with **hapModulesInfo**. This flag must be used together with **GET_BUNDLE_INFO_WITH_HAP_MODULE** and cannot be used independently.| -| GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY | 0x00000008 | Indicates whether **extensionAbilitiesInfo** is obtained with **hapModulesInfo**. This flag must be used together with **GET_BUNDLE_INFO_WITH_HAP_MODULE** and cannot be used independently.| -| GET_BUNDLE_INFO_WITH_REQUESTED_PERMISSION | 0x00000010 | Obtains **reqPermissionDetails** and **permissionGrantStates** with the default **BundleInfo**. | -| GET_BUNDLE_INFO_WITH_METADATA | 0x00000020 | Indicates whether the returned **ApplicationInfo**, **AbilityInfo**, and **ExtensionAbilityInfo** contain metadata. This flag cannot be used independently.| -| GET_BUNDLE_INFO_WITH_DISABLE | 0x00000040 | Obtains **BundleInfo** of a disabled application and disabled ability information in **abilitiesInfo**.| -| GET_BUNDLE_INFO_WITH_SIGNATURE_INFO | 0x00000080 | Obtains **signatureInfo** with the default **BundleInfo**. | - -The following table describes **ApplicationFlag** of API version 9. - -| ApplicationFlag | Value | Description | -| ------------------------------------ | ---------- | ------------------------------------------------------------ | -| GET_APPLICATION_INFO_DEFAULT | 0x00000000 | Obtains the default **ApplicationInfo**. The obtained **ApplicationInfo** does not contain permission or metadata information.| -| GET_APPLICATION_INFO_WITH_PERMISSION | 0x00000001 | Obtains **permissions** with the default **ApplicationInfo**. | -| GET_APPLICATION_INFO_WITH_METADATA | 0x00000002 | Obtains **metadata** with the default **ApplicationInfo**. | -| GET_APPLICATION_INFO_WITH_DISABLE | 0x00000004 | Obtains disabled application information. | - - -The following table describes **AbilityFlag** of API version 9. -| AbilityFlag | Value | Description | -| --------------------------------- | ---------- | ------------------------------------------------------------ | -| GET_ABILITY_INFO_DEFAULT | 0x00000000 | Obtains the default **AbilityInfo**. The obtained **AbilityInfo** does not contain permission, metadata, or disabled ability information.| -| GET_ABILITY_INFO_WITH_PERMISSION | 0x00000001 | Obtains **AbilityInfo** with permission information. | -| GET_ABILITY_INFO_WITH_APPLICATION | 0x00000002 | Obtains **AbilityInfo** with the **ApplicationInfo** structure. | -| GET_ABILITY_INFO_WITH_METADATA | 0x00000004 | Obtains **AbilityInfo** with metadata information. | -| GET_ABILITY_INFO_WITH_DISABLE | 0x00000008 | Obtains all **AbilityInfo**, including disabled abilities. | -| GET_ABILITY_INFO_ONLY_SYSTEM_APP | 0x00000010 | Obtains **AbilityInfo** for system applications. | - -**Adaptation Guide** - -Use various flags according to the called API in **@ohos.bundle.bundleManager.d.ts**. - -## cl.bundlemanager.10 ApplicationType Enumerated Value Changes in the Default Application Module -For the **@ohos.bundle.defaultApp** module, both API functions and usage remain unchanged, but only the enumerated values of **ApplicationType** are changed. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. The applications that use the APIs of version 9 need to adapt new enumerated values. - -**Key API/Component Changes** - -The enumerated values of **ApplicationType** are changed as follows. - -| ApplicationType| Added or Changed in API Version 9 | API Version 8 and Earlier| -| :-------------: | :-------------: | :--------: | -| BROWSER | "Web Browser" | "BROWSER" | -| IMAGE | "Image Gallery" | "IMAGE" | -| AUDIO | "Audio Player" | "AUDIO" | -| VIDEO | "Video Player" | "VIDEO" | -| PDF | "PDF Viewer" | "PDF" | -| WORD | "Word Viewer" | "WORD" | -| EXCEL | "Excel Viewer" | "EXCEL" | -| PPT | "PPT Viewer" | "PPT" | - -**Adaptation Guide** - -Import the default application module and call related APIs. - -``` -import defaultApp form '@ohos.bundle.defaultAppManager' -``` - -## cl.bundlemanager.11 Distributed Bundle Manager Changes -API exception handling is rectified. The distributed bundle manager module is changed. The original **@ohos.distributedBundle.d.ts** APIs are deprecated, and the **@ohos.distributedBundle.d.ts** file is changed to [@ohos.bundle.distributedBundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.distributedBundleManager.d.ts). The **getRemoteAbilityInfos** API is changed to **getRemoteAbilityInfo**. The export function of a level-2 module in the **RemoteAbilityInfo** structure can be used only after a new module is imported. - -**Change Impacts** - -Applications using APIs earlier than version 9 are not affected. The names of the distributed module and the **getRemoteAbilityInfos** API are changed. As a result, applications using APIs of version 9 may fail to be compiled using the new SDK. - -**Key API/Component Changes** - -All APIs in **@ohos.distributedBundle.d.ts** are deprecated. The **@ohos.bundle.distributedBundleManager.d.ts** file is added. The functions of some APIs are the same as those of the original ones. New APIs support exception handling. The API changes are as follows. - -| Deprecated | Added or Changed in API Version 9 | System API| -| --------------------- | -------------------- | --------- | -| getRemoteAbilityInfos | getRemoteAbilityInfo | Yes | - -**Adaptation Guide** - -Import a new distributed module. - -``` -import distributedBundle form '@ohos.bundle.distributedBundle' -``` - -## cl.bundlemanager.12 Installation-Free Module and API Changes -APIs support exception handling rectification. The installation-free module is moved from **@ohos.bundle.d.ts** to **@ohos.bundle.freeInstall.d.ts**, involving module and API changes. The system capability is **SystemCapability.BundleManager.BundleFramework.FreeInstall**. -1. The imported **@ohos.bundle** module needs to be changed to **@ohos.bundle.freeInstall**. -2. The **setModuleUpgradeFlag** API is changed to **setHapModuleUpgradeFlag**. -3. The **isModuleRemovable** API is changed to **isHapModuleRemovable**. -4. The **getDispatcher** API is changed to **getDispatchInfo**. - -**Change Impacts** - -Applications using APIs earlier than version 9 are not affected. Applications using APIs of version 9 will fail to be compiled. - -**Key API/Component Changes** - -The following table lists the installation-free API changes. For APIs not listed in the table, their names and usage are unchanged, but the module name is changed. - -| Deprecated | Added or Changed in API Version 9 | System API| -| -------------------- | ----------------------- | --------- | -| setModuleUpgradeFlag | setHapModuleUpgradeFlag | Yes | -| isModuleRemovable | isHapModuleRemovable | Yes | -| getDispatcher | getDispatchInfo | Yes | - -**Adaptation Guide** - -To use installation-free APIs, import a new module and modify the APIs according to their mappings. - -``` -import freeInstall from '@ohos.bundle.freeInstall' -``` - -## cl.bundlemanager.13 Installation-Free Structure Field Changes -The fields of the **DisPatchInfo**, **AbilityFormInfo**, **ModuleDistroInfo**, and **ModuleConfigInfo** structures are changed as follows: -1. The name of the **dispatchAPI** field in **DispatchInfo** is changed to [dispatchAPIVersion](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/DispatchInfo.d.ts), and the type is string, which is unchanged. The field indicates the version of the installation-free API. The meaning remains unchanged. -2. The type of the **supportDimensions** field in the **AbilityFormInfo** structure is changed from **Array\** to **Array\**. -3. The type of the **defaultDimension** field in the **AbilityFormInfo** structure is changed from **number** to **string**. -4. The **mainAbility** field is deprecated in the **ModuleDistroInfo** structure and moved to the **ModuleConfigInfo** structure. -5. The **mainAbility** field is added to the **ModuleConfigInfo** structure. - -**Change Impacts** - -Applications using APIs earlier than version 9 are not affected. The value type of certain fields in the structures is changed. As a result, applications using APIs of version 9 may fail to be compiled using the new SDK. - -**Key API/Component Changes** - -1. DispatchInfo - -| Deprecated | Added or Changed in API Version 9 | Type | -| ----------- | ------------------ | ------ | -| dispatchAPI | dispatchAPIVersion | string | - -2. AbilityFormInfo - -| Field | Type in API Version 9 | Original Type | -| ----------------- | -------------- | -------------- | -| supportDimensions | Array\ | Array\ | -| defaultDimension | string | number | - -3. ModuleDistroInfo - -| Field | Added or Changed in API Version 9| Type | -| ----------- | -------------- | ------ | -| mainAbility | N/A | string | - -4. MooduleConfigInfo - -| Field| Added or Changed in API Version 9| Type | -| ---- | -------------- | ------ | -| N/A | mainAbility | string | - -**Adaptation Guide** - -To use installation-free APIs, import a new module and modify the structures according to their mappings. - -``` -import freeInstall from '@ohos.bundle.freeInstall' -``` - -## cl.bundlemanager.14 Structure Changes -The structure **GrantStatus** is changed to **PermissionGrantState**. The enumeration type and values remain unchanged. - -**Change Impacts** - -Applications using APIs earlier than version 9 are not affected. The structure name is changed. As a result, applications using APIs of version 9 may fail to be compiled using the new SDK. - -**Key API/Component Changes** - -The **GrantStatus** structure indicating the authorization status is changed to **PermissionGrantState** in **@ohos.bundle.bundleManager.d.ts**. - -| Name | Value| -| ------------------ | ------ | -| PERMISSION_DENIED | -1 | -| PERMISSION_GRANTED | 0 | - -**Adaptation Guide** - -Import a new module and change the structure name to **PermissionGrantState**. - -``` -import bundle form '@ohos.bundle.bundleManager' -``` -## cl.bundlemanager.15 Bundle Manager ShortcutInfo Structure Field Changes -Fields in the **ShortcutInfo** structure of the bundle manager are changed. The **bundle/shortcutInfo.d.ts** fields are deprecated, and the file is changed to [bundleManager/ShortcutInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ShortcutInfo.d.ts). The **ShortcutInfo** and **ShortWant** structures are changed to system APIs. - -**Change Impacts** - -Applications using APIs earlier than version 9 are not affected. The value type of certain fields in the structures is changed. As a result, applications using APIs of version 9 may fail to be compiled using the new SDK. - -**Key API/Component Changes** - -The **ShortcutInfo** and **ShortcutWant** structures are involved. To use the level-2 module export function, import the new module **@ohos.bundle.launcherBundleManager**. -The following table lists the field changes of the **ShortcutInfo** structure. Fields that are not listed in the table still exist in API version 9. - -| Deprecated | Added or Changed in API Version 9| Type | -| -------------- | -------------- | ------- | -| disableMessage | N/A | string | -| isStatic | N/A | boolean | -| isHomeShortcut | N/A | boolean | -| isEnabled | N/A | boolean | -| disableMessage | N/A | boolean | - -The following table lists the field changes of the **ShortcutWant** structure. Fields that are not listed in the table still exist in API version 9. -| Deprecated | Added or Changed in API Version 9| Type | -| ----------- | -------------- | ------ | -| targetClass | targetAbility | string | - -**Adaptation Guide** - -To use installation-free APIs, import a new module and modify the structures according to their mappings. - -``` -import launcherBundleManager form '@ohos.bundle.launcherBundleManager' -``` - -## cl.bundlemanager.16 getBundleInstaller API Changes -The **getBundleInstaller** API of the bundle manager is moved from **@ohos.bundle.d.ts** to [@ohos.bundle.installer.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.installer.d.ts). -The system capability is **SystemCapability.BundleManager.BundleFramework.Core**. - -**Change Impacts** - -Applications using APIs earlier than version 9 are not affected. Applications that use APIs of version 9 need to adapt the new module and APIs. - -**Key API/Component Changes** -1. For **getBundleInstaller**, the import module is changed from **@ohos.bundle** to **@ohos.bundle.installer**. - -**Adaptation Guide** - -Import the new bundle manager installation module and call **getBundleInstaller**. - -``` -import installer form '@ohos.bundle.installer' -``` - -## cl.bundlemanager.17 Bundle Manager Installation API Changes -The bundle manager installation API is moved from **bundle/bundleInstaller.d.ts** to [@ohos.bundle.installer.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.installer.d.ts). The system capability is **SystemCapability.BundleManager.BundleFramework.Core**. - -**Change Impacts** - -Applications using APIs earlier than version 9 are not affected. Applications that use APIs of version 9 need to adapt the new module and APIs. - -**Key API/Component Changes** - -1. The exception handling capability is added to the **install**, **uninstall**, and **recover** APIs. The API names and input parameters remain unchanged, and only the module name is changed. -2. Fields are added to the **HashParam** structure as follows. - -| Added in API Version 9 | Type | -| ---------- | ------ | -| moduleName | string | -| hashValue | string | - -3. Fields are added to the **InstallParam** structure as follows. - -| Added in API Version 9 | Type | -| ----------------- | ----------------- | -| userId | number | -| installFlag | number | -| isKeepData | boolean | -| hashParams | Array\ | -| crowdtestDeadline | number | - -4. The **InstallStatus** structure is deprecated. - -**Adaptation Guide** - -Import the new bundle manager installation module and call **getBundleInstaller**. - -``` -import installer form '@ohos.bundle.installer' -``` - -## cl.bundlemanager.18 Bundle Manager Installation Function Changes -The installation specifications of the bundle manager module are changed, in which whether the application **deviceType** setting matches the device type is verified. If they do not match, the installation fails. - -**Change Impacts** - -Applications developed in earlier versions are affected. Applications can be successfully installed in the image of the new version only after adaptation. - -**Key API/Component Changes** - -N/A - -**Adaptation Guide** - -Configure device types in the application configuration file **config.json** or **module.json**. - -``` -{ - "module": { - "name": "entry", - "type": "entry", - // ... - "deviceTypes":[ - // In this example, default and tablet are configured. In this case, the application can be installed on default and tablet. - "default", - "tablet" - ], - // ... - } -``` -## cl.bundlemanager.19 innerBundleManger Module API Changes -**innerBundleManager** API functions are unchanged, but API usage is changed. The [@ohos.bundle.launcherBundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.launcherBundleManager.d.ts) module needs to be imported to use **innerBundleManager** APIs. The system capability is **SystemCapability.BundleManager.BundleFramework.Core**. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. Applications that use the **innerBundleManager** API capabilities need to adapt the new module and APIs. - -**Key API/Component Changes** - -The functions and input parameters of the following APIs remain unchanged, and API exception handling is added. When a level-2 module is used to export **ShortcutInfo** and **ShortcutWant**, the **@ohos.bundle.launcherBundleManager** module needs to be imported. The **on** and **off** APIs are deprecated from **@ohos.bundle.innerBundleManger.d.ts** and moved to **@ohos.bundle.bundleMonitor.d.ts**. - -1. getLauncherAbilityInfos
-2. getAllLauncherAbilityInfos
-3. getShortcutInfos - -**Adaptation Guide** - -Import the new module **@ohos.bundle.launcherBundleManage**. - -``` -import launcherBundleManager form '@ohos.bundle.launcherBundleManage' -``` - -## cl.bundlemanager.20 innerBundleManagr Module Changes -**innerBundleManager** API functions are unchanged, but API usage is changed. The [@ohos.bundle.bundleMonitor.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleMonitor.d.ts) module needs to be imported to use **innerBundleManager** APIs, which are system APIs. The system capability is **SystemCapability.BundleManager.BundleFramework.Core**. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. Applications that use the **innerBundleManager** API capabilities need to adapt the new module and APIs. - -**Key API/Component Changes** - -The **on** and **off** APIs are changed to **@ohos.bundle.bundleMonitor.d.ts**. The input parameters are different from those of the original APIs. The function prototype of the APIs of version 9 is as follows: - -``` -function on(type: BundleChangedEvent, callback: Callback): void; -function off(type: BundleChangedEvent, callback?: Callback): void; -``` -**BundleChangedEvent**: - -``` -type BundleChangedEvent = 'add' | 'update' | 'remove'; -``` -Callback function of **BundleChangedInfo**: -``` - interface BundleChangedInfo { - readonly bundleName: string; - readonly userId: number; - } -``` -After obtaining **BundleChangedInfo**, perform related operations (that is, the **add**, **update**, and **remove** functions in **BundleStatusCallback** of the original API). - -**Adaptation Guide** - -Import the **bundleMonitor** module and call related APIs. - -``` -import bundleMonitor form '@ohos.bundle.bundleMonitor' -``` - -## cl.bundlemanager.21 bundleStatusCallback.d.ts API Changes -The **bundleStatusCallback.d.ts** APIs of the bundle manager are deprecated and moved to [@ohos.bundle.bundleMonitor.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleMonitor.d.ts). The **add**, **update**, and **remove** functions in **BundleStatusCallback** are deprecated and changed to **BundleChangedEvent**, which is a system API. The system capability is **SystemCapability.BundleManager.BundleFramework.Core**. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. Applications that use the **BundleStatusCallback** API capabilities need to adapt the new module and APIs. - -**Key API/Component Changes** - -All the following functions are deprecated. The **BundleChangedEvent** API is added to **@ohos.bundle.bundleMonitor.d.ts**. - -1. add -2. update -3. remove - -**Adaptation Guide** - -Import the **bundleMonitor** module and call related APIs. Different from the previous **BundleStatusCallback**, **BundleStatusCallback** passes the **add**, **update**, and **remove** functions to the **on** and **off** APIs. The **BundleMonitor** uses the **on** or **off** API of version 9 to return **BundleChangedInfo** to the caller through the callback. - -``` -import bundleMonitor form '@ohos.bundle.bundleMonitor' -``` - -## cl.bundlemanager.22 Zlib Module API Changes -The **Zlib** module APIs of the bundle manager are changed. Certain APIs in [@ohos.zlib.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.zlib.d.ts) are deprecated and changed. The system capability is **SystemCapability.BundleManager.Zlib**. - -**Change Impacts** - -There is no impact on applications that use the APIs of versions earlier than 9. Applications that use APIs of version 9 need to adapt the new module and APIs. - -**Key API/Component Changes** - -The following table lists the changed APIs in **@ohos.zlib.d.ts**. The usage of the new APIs of version 9 is the same, and API exception handling is supported. - -| Deprecated | Added or Changed in API Version 9| System API| -| --------- | -------------- | --------- | -| zipFile | compressFile | Yes | -| unzipFile | decompressFile | Yes | -| ErrorCode | N/A | Yes | - -**Adaptation Guide** - -The import module does not change. The new API is directly used to adapt exception handling. - -``` -import zlib form '@ohos.zlib' -``` \ No newline at end of file diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelog-wifi.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelog-wifi.md deleted file mode 100644 index 7fd3843f2cedaf7f4d8d56d05c99ff7068a9bf16..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelog-wifi.md +++ /dev/null @@ -1,115 +0,0 @@ -# Wi-Fi Subsystem ChangeLog - - -## cl.wifi.1 Migration of System APIs and APIs in API Version 9 to the New @ohos.wifiManager.d.ts -**@ohos.wifi.d.ts** does not allow for throwing error codes, which is required by API version 9 and the system APIs. Therefore, all system APIs and APIs in API version 9 of **@ohos.wifi.d.ts** are migrated to the newly added **@ohos.wifiManager.d.ts**, and error code description is also added. - -Import **@ohos.wifiManager.d.ts**, so that system APIs and APIs in API version 9 of the Wi-Fi subsystem can be used. - -import wifiManager from '@ohos.wifiManager'; - - -**Change Impacts** - -System APIs and APIs in API version 9 are affected. Import **@ohos.wifiManager** to make sure that system APIs and APIs in API version 9 of the Wi-Fi subsystem can be used. - -import wifiManager from '@ohos.wifiManager'; - -Other APIs are not affected. - - -**Key API/Component Changes** - -| Class| Type | Declaration | Change Type | -| ---- | --------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| wifi | namespace | declare namespace wifi | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function enableWifi(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value type to void. | -| wifi | method | function disableWifi(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value type to void. | -| wifi | method | function scan(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value type to void. | -| wifi | method | function getScanResults(): Promise<Array<WifiScanInfo>> | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed **getScanInfos** to **getScanResults**.| -| wifi | method | function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed **getScanInfos** to **getScanResults**.| -| wifi | method | function getScanResultsSync():  Array<[WifiScanInfo]> | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function addCandidateConfig(config: WifiDeviceConfig): Promise<number> | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback<number>): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function removeCandidateConfig(networkId: number): Promise<void> | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function removeCandidateConfig(networkId: number, callback: AsyncCallback<void>): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function addUntrustedConfig(config: WifiDeviceConfig): Promise<boolean> | Deleted this API in API version 9. | -| wifi | method | function addUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void | Deleted this API in API version 9. | -| wifi | method | function removeUntrustedConfig(config: WifiDeviceConfig): Promise<boolean> | Deleted this API in API version 9. | -| wifi | method | function removeUntrustedConfig(config: WifiDeviceConfig, callback: AsyncCallback<boolean>): void | Deleted this API in API version 9. | -| wifi | method | function getCandidateConfigs():  Array<[WifiDeviceConfig]> | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function connectToCandidateConfig(networkId: number): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function connectToNetwork(networkId: number): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function connectToDevice(config: WifiDeviceConfig): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function disconnect(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function reassociate(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function reconnect(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function disableNetwork(netId: number): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function removeAllNetwork(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function removeDevice(id: number): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function enableHotspot(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function disableHotspot(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function setHotspotConfig(config: HotspotConfig): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function getP2pLocalDevice(): Promise<WifiP2pDevice> | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function getP2pLocalDevice(callback: AsyncCallback<WifiP2pDevice>): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function getP2pGroups(): Promise<Array<WifiP2pGroupInfo>> | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | method | function createGroup(config: WifiP2PConfig): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function removeGroup(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function p2pConnect(config: WifiP2PConfig): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function p2pCancelConnect(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function startDiscoverDevices(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function stopDiscoverDevices(): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function deletePersistentGroup(netId: number): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | method | function setDeviceName(devName: string): void | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and changed the return value to **void**.| -| wifi | interface | export interface WifiEapConfig | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | enum | export enum EapMethod | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | enum | export enum Phase2Method | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | interface | export interface WifiDeviceConfig | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and added the **eapConfig** parameter.| -| wifi | interface | export interface IpConfig | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and added the **prefixLength** parameter.| -| wifi | interface | export interface WifiInfoElem | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | enum | export enum WifiChannelWidth | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**. | -| wifi | interface | export interface WifiScanInfo | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and added the following three parameters: **centerFrequency0**, **centerFrequency1**, and **infoElems**.| -| wifi | enum | export enum WifiSecurityType | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and added four encryption types. | -| wifi | interface | export interface WifiLinkedInfo | Migrated this API in API version 9 to **@ohos.wifiManager.d.ts**, and added the **MacType** parameter. | - - -**(Optional) Adaptation Guide** - -The following uses **getLinkedInfo** as an example to show how it is called in the new version: - -``` -import wifiManager from '@ohos.wifiManager' - -wifiManager.getLinkedInfo((err, data) => { - if (err) { - console.error("get linked info error"); - return; - } - console.info("get linked info: " + JSON.stringify(data)); -}); - -wifiManager.getLinkedInfo().then(data => { - console.info("get linked info: " + JSON.stringify(data)); -}).catch(error => { - console.info("get linked info error"); -}); - -``` - -## cl.wifiext.1 Migration of System APIs and APIs in API Version 9 to the New @ohos.wifiManagerExt.d.ts - -**@ohos.wifiext.d.ts** does not allow for throwing error codes, which is required by API version 9 and the system API. Therefore, all system APIs and APIs in API version 9 of **@ohos.wifiext.d.ts** are migrated to the newly added **@ohos.wifiManagerExt.d.ts**, and error code description is also added. - -Import **@ohos.wifiManagerExt.d.ts**, so that system APIs and APIs in API version 9 of the Wi-Fi subsystem can be used. - -import wifiManagerExt from '@ohos.wifiManagerExt'; - - -**Change Impacts** - -System APIs and APIs in API version 9 are affected. Import **@ohos.wifiManagerExt**, so that system APIs and APIs in API version 9 of the Wi-Fi subsystem can be used together with the Wi-Fi manager. - -import wifiManagerExt from '@ohos.wifiManagerExt'; - -Other APIs are not affected. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-account_os_account.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-account_os_account.md deleted file mode 100644 index df7cbf93cd13a7cc4dfc04fb9aec4b112633035a..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-account_os_account.md +++ /dev/null @@ -1,124 +0,0 @@ -# Account Subsystem ChangeLog - -## cl.account_os_account.1 Change in Error Information Return Method of Account System APIs - -Certain system APIs of the account subsystem use service logic return values to indicate error information, which does not comply with the API error code specifications of OpenHarmony. The following changes are made in API version 9 and later: - -Asynchronous API: An error message is returned via **AsyncCallback** or the **error** object of **Promise**. - -Synchronous API: An error message is returned via an exception. - -**Change Impacts** - -The application developed based on earlier versions needs to adapt the new APIs and their method for returning API error information. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -Before change: - - class UserAuth - - setProperty(request: SetPropertyRequest, callback: AsyncCallback<number>): void; - - setProperty(request: SetPropertyRequest): Promise<number>; - - cancelAuth(contextID: Uint8Array): number; - - class PINAuth - - registerInputer(inputer: Inputer): boolean; - - UserIdentityManager - - cancel(challenge: Uint8Array): number; - -After change: - - class UserAuth - - setProperty(request: SetPropertyRequest, callback: AsyncCallback<void>): void; - - setProperty(request: SetPropertyRequest): Promise<void>; - - cancelAuth(contextID: Uint8Array): void; - - class PINAuth - - registerInputer(inputer: Inputer): void; - - UserIdentityManager - - cancel(challenge: Uint8Array): void; - -**Adaptation Guide** - -The following uses **setProperty** as an example for asynchronous APIs: - -``` -import account_osAccount from "@ohos.account.osAccount" -userAuth.setProperty({ - authType: account_osAccount.AuthType.PIN, - key: account_osAccount.SetPropertyType.INIT_ALGORITHM, - setInfo: new Uint8Array([0]) -}, (err) => { - if (err) { - console.log("setProperty failed, error: " + JSON.stringify(err)); - } else { - console.log("setProperty successfully"); - } -}); - -userAuth.setProperty({ - authType: account_osAccount.AuthType.PIN, - key: account_osAccount.SetPropertyType.INIT_ALGORITHM, - setInfo: new Uint8Array([0]) -}).catch((err) => { - if (err) { - console.log("setProperty failed, error: " + JSON.stringify(err)); - } else { - console.log("setProperty successfully"); - } -}); -``` - -The following uses **registerInputer** as an example for synchronous APIs: - -``` -import account_osAccount from "@ohos.account.osAccount" -let pinAuth = new account_osAccount.PINAuth() -let inputer = { - onGetData: (authType, passwordRecipient) => { - let password = new Uint8Array([0]); - passwordRecipient.onSetData(authType, password); - } -} -try { - pinAuth.registerInputer(inputer); -} catch (err) { - console.log("registerInputer failed, error: " + JSON.stringify(err)); -} -``` - -## cl.account_os_account.2 ACTION Definition Change for the Application Account Authentication Service - -**Change Impacts** - -For the application developed based on an earlier version, you need to modify **ACTION** in the application configuration file (**config.json** for the FA model and **module.json5** for the Stage model) to normally provide the application authentication service. - -**Key API/Component Changes** - -Involved constant: - -@ohos.ability.wantConstant.ACTION_APP_ACCOUNT_AUTH - -Before change: - -ACTION_APP_ACCOUNT_AUTH = "account.appAccount.action.auth" - -After change: - -ACTION_APP_ACCOUNT_AUTH = "ohos.appAccount.action.auth" - -**Adaptation Guide** - -For a third-party application providing the account authentication service, adapt the changed application account authentication **ACTION** in the **ServiceAbility** configuration file (**config.json** for the FA module or **module.json5** for the Stage module). -``` -"abilities": [ - { - "name": "ServiceAbility", - "srcEntrance": "./ets/ServiceAbility/ServiceAbility.ts", - ... - "visible": true, - "skills": { - { - "actions": [ - "ohos.appAccount.action.auth" - ] - } - } - }] -} diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-enterprise_device_management.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-enterprise_device_management.md deleted file mode 100644 index 5a3f51481a6ce67f75c16deded929f64c1b29432..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-enterprise_device_management.md +++ /dev/null @@ -1,159 +0,0 @@ -# Customization Subsystem ChangeLog - -Compared with OpenHarmony 3.2.8.1, OpenHarmony 3.2.8.3 has the following API changes in the customization subsystem: - -## cl.Customization.1 Change of the Enterprise Device Management Module Name - -Beginning from OpenHarmony 3.2.8.3, **@ohos.enterpriseDeviceManager.d.ts** is changed to **@ohos.enterprise.adminManager.d.ts**. You need to adapt your applications according to the following information. - -**Change Impacts** - -The application developed based on OpenHarmony earlier than 3.2.8.3 must be adapted so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** - -| Original API | New API | -| --------------------------------- | ---------------------------------- | -| @ohos.enterpriseDeviceManager.d.ts | @ohos.enterprise.adminManager.d.ts | - -**Adaptation Guide** - -The original APIs are only migrated to the new namespace. Therefore, you can modify **import** to solve the adaptation problem. - -If the original API uses **@ohos.enterpriseDeviceManager**: - -```js -import enterpriseDeviceManager from '@ohos.enterpriseDeviceManager'; -``` - -You can directly modify **import** to switch to the new namespace: - -```js -import enterpriseDeviceManager from '@ohos.enterprise.adminManager'; -``` - -## cl.Customization.2 enterpriseDeviceManager/DeviceSettingsManager.d.ts Module Change - -Beginning from OpenHarmony 3.2.8.3, **enterpriseDeviceManager/DeviceSettingsManager.d.ts** is changed to **ohos.enterprise.dateTimeManager.d.ts**. - -**Change Impacts** - -The application developed based on OpenHarmony earlier than 3.2.8.3 must be adapted so that it can be properly compiled in the SDK environment of the new version. - -**Key API/Component Changes** - -| Original API | Original API Type | New API | New API Type | -| --------------------------------- | --------- | ---------------------------------- | ----- | -| enterpriseDeviceManager/DeviceSettingsManager.d.ts | interface | @ohos.enterprise.dateTimeManager.d.ts | namespace | - -**Adaptation Guide** - -If the **setDateTime** API of **enterpriseDeviceManager/DeviceSettingsManager.d.ts** is used: - -```js -import enterpriseDeviceManager from '@ohos.enterpriseDeviceManager' - -let wantTemp = { - bundleName: "bundleName", - abilityName: "abilityName", -}; -enterpriseDeviceManager.getDeviceSettingsManager((error, mgr) => { - if (error) { - console.log("error code:" + error.code + " error message:" + error.message); - return; - } - mgr.setDateTime(wantTemp, 1526003846000, (error) => { - if (error) { - console.log("error code:" + error.code + " error message:" + error.message); - } - }); -}); -``` - -You need to import the new namespace for adaptation: - -```js -import dateTimeManager from '@ohos.enterprise.dateTimeManager' - -let wantTemp = { - bundleName: "bundleName", - abilityName: "abilityName", -}; -dateTimeManager.setDateTime(wantTemp, 1526003846000, (error) => { - if (error) { - console.log("error code:" + error.code + " error message:" + error.message); - } -}) -``` - -## cl.Customization.3 System API Change - -Beginning from OpenHarmony 3.2.8.3, all enterprise device management APIs are changed to system APIs. - -**Change Impacts** - -All APIs can be called only by system applications. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enumeration/Constant | Change Type| -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.enterprise.adminManager | adminManager | **function** enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback<**void**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId: number, callback: AsyncCallback<**void**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId?: number): Promise<**void**>; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** disableAdmin(admin: Want, callback: AsyncCallback<**void**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** disableAdmin(admin: Want, userId: number, callback: AsyncCallback<**void**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** disableAdmin(admin: Want, userId?: number): Promise<**void**>; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** disableSuperAdmin(bundleName: String, callback: AsyncCallback<**void**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** disableSuperAdmin(bundleName: String): Promise<**void**>; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** isAdminEnabled(admin: Want, callback: AsyncCallback<**boolean**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** isAdminEnabled(admin: Want, userId: number, callback: AsyncCallback<**boolean**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** isAdminEnabled(admin: Want, userId?: number): Promise<**boolean**>; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** getEnterpriseInfo(admin: Want, callback: AsyncCallback<**EnterpriseInfo**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** getEnterpriseInfo(admin: Want): Promise<**EnterpriseInfo**>; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo, callback: AsyncCallback<**void**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo): Promise<**void**>; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** isSuperAdmin(bundleName: String, callback: AsyncCallback<**boolean**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** isSuperAdmin(bundleName: String): Promise<**boolean**>; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** subscribeManagedEvent(admin: Want, managedEvents: Array<**ManagedEvent**>, callback: AsyncCallback<**void**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** subscribeManagedEvent(admin: Want, managedEvents: Array<**ManagedEvent**>): Promise<**void**>; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** unsubscribeManagedEvent(admin: Want, managedEvents: Array<**ManagedEvent**>, callback: AsyncCallback<**void**>): void; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **function** unsubscribeManagedEvent(admin: Want, managedEvents: Array<**ManagedEvent**>): Promise<**void**>; | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **interface** EnterpriseInfo | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **enum** AdminType | Changed to a system API | -| @ohos.enterprise.adminManager | adminManager | **enum** ManagedEvent | Changed to a system API | -| @ohos.enterprise.dataTimeManager | dateTimeManager | **function** setDateTime(admin: Want, time: number, callback: AsyncCallback<**void**>): void; | Changed to a system API | -| @ohos.enterprise.dataTimeManager | dateTimeManager | **function** setDateTime(admin: Want, time: number): Promise<**void**>; | Changed to a system API | - -## cl.Customization.4 API Permission Change - -Beginning from OpenHarmony 3.2.8.3, permission verification is required for some APIs. - -**Change Impacts** - -The application developed based on OpenHarmony earlier than 3.2.8.3 must have the corresponding permission so that it can properly call these APIs. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enumeration/Constant | New Permission| -| ------------------------- | ------------------- | ------------------------------------------------------------ | -------- | -| @ohos.enterprise.adminManager | adminManager | **function** enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback<**void**>): void; | ohos.permission.MANAGE_ENTERPRISE_DEVICE_ADMIN | -| @ohos.enterprise.adminManager | adminManager | **function** enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId: number, callback: AsyncCallback<**void**>): void; | ohos.permission.MANAGE_ENTERPRISE_DEVICE_ADMIN | -| @ohos.enterprise.adminManager | adminManager | **function** enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId?: number): Promise<**void**>; | ohos.permission.MANAGE_ENTERPRISE_DEVICE_ADMIN | -| @ohos.enterprise.adminManager | adminManager | **function** disableAdmin(admin: Want, callback: AsyncCallback<**void**>): void; | ohos.permission.MANAGE_ENTERPRISE_DEVICE_ADMIN | -| @ohos.enterprise.adminManager | adminManager | **function** disableAdmin(admin: Want, userId: number, callback: AsyncCallback<**void**>): void; | ohos.permission.MANAGE_ENTERPRISE_DEVICE_ADMIN | -| @ohos.enterprise.adminManager | adminManager | **function** disableAdmin(admin: Want, userId?: number): Promise<**void**>; | ohos.permission.MANAGE_ENTERPRISE_DEVICE_ADMIN | -| @ohos.enterprise.adminManager | adminManager | **function** disableSuperAdmin(bundleName: String, callback: AsyncCallback<**void**>): void; | ohos.permission.MANAGE_ENTERPRISE_DEVICE_ADMIN | -| @ohos.enterprise.adminManager | adminManager | **function** disableSuperAdmin(bundleName: String): Promise<**void**>; | ohos.permission.MANAGE_ENTERPRISE_DEVICE_ADMIN | -| @ohos.enterprise.adminManager | adminManager | **function** setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo, callback: AsyncCallback<**void**>): void; | ohos.permission.SET_ENTERPRISE_INFO | -| @ohos.enterprise.adminManager | adminManager | **function** setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo): Promise<**void**>; | ohos.permission.SET_ENTERPRISE_INFO | -| @ohos.enterprise.adminManager | adminManager | **function** subscribeManagedEvent(admin: Want, managedEvents: Array<**ManagedEvent**>, callback: AsyncCallback<**void**>): void; | ohos.permission.ENTERPRISE_SUBSCRIBE_MANAGED_EVENT | -| @ohos.enterprise.adminManager | adminManager | **function** subscribeManagedEvent(admin: Want, managedEvents: Array<**ManagedEvent**>): Promise<**void**>; | ohos.permission.ENTERPRISE_SUBSCRIBE_MANAGED_EVENT | -| @ohos.enterprise.adminManager | adminManager | **function** unsubscribeManagedEvent(admin: Want, managedEvents: Array<**ManagedEvent**>, callback: AsyncCallback<**void**>): void; | ohos.permission.ENTERPRISE_SUBSCRIBE_MANAGED_EVENT | -| @ohos.enterprise.adminManager | adminManager | **function** unsubscribeManagedEvent(admin: Want, managedEvents: Array<**ManagedEvent**>): Promise<**void**>; | ohos.permission.ENTERPRISE_SUBSCRIBE_MANAGED_EVENT | -| @ohos.enterprise.dataTimeManager | dateTimeManager | **function** setDateTime(admin: Want, time: number, callback: AsyncCallback<**void**>): void; | ohos.permission.ENTERPRISE_SET_DATETIME | -| @ohos.enterprise.dataTimeManager | dateTimeManager | **function** setDateTime(admin: Want, time: number): Promise<**void**>; | ohos.permission.ENTERPRISE_SET_DATETIME | - -**Adaptation Guide** - -Apply for the corresponding permission to call these APIs properly. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-geolocation.md b/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-geolocation.md deleted file mode 100644 index 2c593c302956fa32807147e0a549da967fc1b264..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.8.3/changelogs-geolocation.md +++ /dev/null @@ -1,116 +0,0 @@ -# Location Subsystem ChangeLog - -## cl.location.1 Migration of System APIs and APIs in API Version 9 to the New @ohos.geoLocationManager.d.ts - -APIs in **@ohos.geolocation.d.ts** do not support throwing error codes. However, APIs in API version 9 and system APIs all need to support throwing error codes. To support this function, all system APIs and APIs in API version 9 in **@ohos.geolocation.d.ts** are migrated to the newly added **@ohos.geoLocationManager.d.ts** file, and corresponding error code description is added. - -To use system APIs and APIs in API version 9 of the location subsystem, you need to import **@ohos.geoLocationManager**. - -import geoLocationManager from '@ohos.geoLocationManager'; - - -**Change Impacts** - -System APIs and APIs in API version 9 are affected. To ensure normal use of these APIs, you need to import **@ohos.geoLocationManager**. - -import geoLocationManager from '@ohos.geoLocationManager'; - -Other APIs are not affected. - -**Key API/Component Changes** - -| Class| Type| Declaration| Change Type| -| -- | -- | -- | -- | -|geolocation| namespace | declare namespacegeolocation| Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation | interface | export interface ReverseGeocodingMockInfo | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation | interface | export interface LocationMockConfig | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation | interface | export interface CountryCode | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation | enum | export enum CountryCodeType | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation.GeoAddress | field | isFromMock?: Boolean; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation.Location | field | isFromMock?: Boolean; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation.GeoLocationErrorCode | field | NOT_SUPPORTED = 100 | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation.GeoLocationErrorCode | field | QUERY_COUNTRY_CODE_ERROR | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation| method | function on(type: 'countryCodeChange', callback: Callback<CountryCode>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation| method | function off(type: 'countryCodeChange', callback?: Callback<CountryCode>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation| method | function getCountryCode(callback: AsyncCallback<CountryCode>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation| method | function getCountryCode(): Promise<CountryCode>; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation| method | function enableLocationMock(scenario: LocationRequestScenario, callback: AsyncCallback<void>): void; | Deleted this API in API version 9.| -|geolocation| method | function enableLocationMock(callback: AsyncCallback<void>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation| method | function enableLocationMock(scenario: LocationRequestScenario): Promise<void>; | Deleted this API in API version 9.| -|geolocation| method | function enableLocationMock(): Promise<void>; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**.| -|geolocation| method | function disableLocationMock(scenario: LocationRequestScenario, callback: AsyncCallback<void>): void; | Deleted this API in API version 9.| -|geolocation| method | function disableLocationMock(callback: AsyncCallback<void>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function disableLocationMock(scenario: LocationRequestScenario): Promise<void>; | Deleted this API in API version 9.| -|geolocation| method | function disableLocationMock(): Promise<void>; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function setMockedLocations(config: LocationMockConfig, callback: AsyncCallback<void>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function setMockedLocations(config: LocationMockConfig): Promise<void>; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function enableReverseGeocodingMock(callback: AsyncCallback<void>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function enableReverseGeocodingMock(): Promise<void>; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function disableReverseGeocodingMock(callback: AsyncCallback<void>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function disableReverseGeocodingMock(): Promise<void>; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockInfo>, callback: AsyncCallback<void>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function setReverseGeocodingMockInfo(mockInfos: Array<ReverseGeocodingMockInfo>): Promise<void>; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function isLocationPrivacyConfirmed(type: LocationPrivacyType, callback: AsyncCallback<boolean>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function isLocationPrivacyConfirmed(type: LocationPrivacyType): Promise<boolean>; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts**. | -|geolocation| method | function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean, callback: AsyncCallback<boolean>): void; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts** and changed the return value in the callback to **void**. | -|geolocation| method | function setLocationPrivacyConfirmStatus(type: LocationPrivacyType, isConfirmed: boolean): Promise<boolean>; | Migrated this API in API version 9 to **@ohos.geoLocationManager.d.ts** and changed the return value in the promise to **void**. | - -**(Optional) Adaptation Guide** - -The following uses **enableLocation** as an example to show how it is called in the new version: - - ```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); - } - ``` - -## cl.location.2 Location Service Permission Change - -From API version 9, the **ohos.permission.APPROXIMATELY_LOCATION** permission is added for obtaining the approximate location. - -If you use API version 9 or later, you need to apply for both the **ohos.permission.LOCATION** and **ohos.permission.APPROXIMATELY_LOCATION** permissions. Applying for only the **ohos.permission.LOCATION** permission will fail. - -**Change Impacts** - -Applications using API versions earlier than 9 are not affected. For an application using API version 9 or later, the method for applying for the location permission is changed. The details are as follows: - -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 the [permission application guide](../../../application-dev/security/accesstoken-guidelines.md). - -**Key API/Component Changes** - -Applications using API versions earlier than 9 are not affected. - -If your application uses API version 9 or later and needs to call APIs requiring the **ohos.permission.LOCATION** permission in **@ohos.geolocation** and **@ohos.geoLocationManager**, you need to apply for the corresponding permission as described previously. diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-dmsfwk.md b/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-dmsfwk.md deleted file mode 100644 index 311b1a90b716a22e151625ab990e73dbf3249f02..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-dmsfwk.md +++ /dev/null @@ -1,21 +0,0 @@ -# Distributed Scheduler Subsystem ChangeLog - -## cl.DistributedManagerService.1 Adding DATASYNC Permission Verification on the continuationManager API - -In earlier versions, the **continuationManager** API does not verify the caller, which does not comply with the OpenHarmony API specifications. -Now, before using **continuationManager**, the caller must apply for the **ohos.permission.DISTRIBUTED_DATASYNC** permission. - -**Change Impacts** - -The application developed based on earlier versions needs to apply for the **ohos.permission.DISTRIBUTED_DATASYNC** permission in advance. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -Involved APIs: - - - continuationManager.registerContinuation; - - continuationManager.on; - - continuationManager.off; - - continuationManager.unregisterContinuation; - - continuationManager.updateContinuationState; - - continuationManager.startContinuationDeviceManager; diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-x-x.md b/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-x-x.md deleted file mode 100644 index 3ac3e83268d2ac247676cd313d5b5e45d195ea2b..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelog-x-x.md +++ /dev/null @@ -1,33 +0,0 @@ -# *Example* Subsystem ChangeLog - -Changes that affect contract compatibility of the last version should be described in the ChangeLog. The changes include but are not limited to those related to API names, parameters, return values, required permissions, call sequence, enumerated values, configuration parameters, and paths. The last version can be an LTS, release, beta, or monthly version, or the like. Contract compatibility, also called semantic compatibility, means that the original program behavior should remain consistent over versions. - -## cl.subsystemname.x xxx Function Change (Example: DeviceType Attribute Change or Camera Permission Change. Use a short description.) - -Add the number **cl.*subsystemname*.*x*** before each change title, where **cl** is the abbreviation of ChangeLog, *subsystemname* is the standard English name of the subsystem, and *x* indicates the change sequence number (starting from 1 in ascending order). - -Describe the changes in terms of functions. Example: *n* and *m* of the *a* function are changed. Developers need to adapt their applications based on the change description. - -If there is a requirement or design document corresponding to the change, attach the requirement number or design document number in the description. - -**Change Impacts** - -Describe whether released APIs (JS or native APIs) are affected or API behavior is changed. - -Describe whether available applications are affected, that is, whether an adaptation is required for building the application code in the SDK environment of the new version. - -**Key API/Component Changes** - -List the API/component changes involved in the function change. - -**Adaptation Guide (Optional)** - -Provide guidance for developers on how to adapt their application to the changes to be compatible with the new version. - -Example: - -Change parameter *n* to *m* in the *a* file. - -``` -sample code -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-telephony.md b/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-telephony.md deleted file mode 100644 index 9e31a3ecf2f85cc83be7eace01d25fe8f060e238..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.9.1/changelogs-telephony.md +++ /dev/null @@ -1,59 +0,0 @@ -# Telephony Subsystem Changelog - - - -## cl.telephony.1 Input Parameter Change of System APIs of the SMS Module - -Input parameters are changed for some released system APIs of the SMS module of the telephony subsystem, which do not comply with the API specifications of OpenHarmony. The following changes are made in API version 9 and later: - -The **slotId** parameter is added to the **isImsSmsSupported** API, indicating the slot ID. - -**Change Impacts** - -Input parameters of JavaScript APIs need to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected. - -**Key API/Component Changes** - -- Involved APIs - - isImsSmsSupported(callback: AsyncCallback): void; - isImsSmsSupported(): Promise; - -- Before change: - -```js -function isImsSmsSupported(callback: AsyncCallback): void; -function isImsSmsSupported(): Promise; -``` - -- After change: - -```js -function isImsSmsSupported(slotId: number, callback: AsyncCallback): void; -function isImsSmsSupported(slotId: number): Promise; -``` - -**Adaptation Guide** - -Add an input parameter. The sample code is as follows: - -Callback mode - -```js -let slotId = 0; -sms.isImsSmsSupported(slotId, (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - -Promise mode - -```js -let slotId = 0; -let promise = sms.isImsSmsSupported(slotId); -promise.then(data => { - console.log(`isImsSmsSupported success, promise: data->${JSON.stringify(data)}`); -}).catch(err => { - console.error(`isImsSmsSupported failed, promise: err->${JSON.stringify(err)}`); -}); -``` \ No newline at end of file diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.9.3/changelog-x-x.md b/en/release-notes/changelogs/OpenHarmony_3.2.9.3/changelog-x-x.md deleted file mode 100644 index 3ac3e83268d2ac247676cd313d5b5e45d195ea2b..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.9.3/changelog-x-x.md +++ /dev/null @@ -1,33 +0,0 @@ -# *Example* Subsystem ChangeLog - -Changes that affect contract compatibility of the last version should be described in the ChangeLog. The changes include but are not limited to those related to API names, parameters, return values, required permissions, call sequence, enumerated values, configuration parameters, and paths. The last version can be an LTS, release, beta, or monthly version, or the like. Contract compatibility, also called semantic compatibility, means that the original program behavior should remain consistent over versions. - -## cl.subsystemname.x xxx Function Change (Example: DeviceType Attribute Change or Camera Permission Change. Use a short description.) - -Add the number **cl.*subsystemname*.*x*** before each change title, where **cl** is the abbreviation of ChangeLog, *subsystemname* is the standard English name of the subsystem, and *x* indicates the change sequence number (starting from 1 in ascending order). - -Describe the changes in terms of functions. Example: *n* and *m* of the *a* function are changed. Developers need to adapt their applications based on the change description. - -If there is a requirement or design document corresponding to the change, attach the requirement number or design document number in the description. - -**Change Impacts** - -Describe whether released APIs (JS or native APIs) are affected or API behavior is changed. - -Describe whether available applications are affected, that is, whether an adaptation is required for building the application code in the SDK environment of the new version. - -**Key API/Component Changes** - -List the API/component changes involved in the function change. - -**Adaptation Guide (Optional)** - -Provide guidance for developers on how to adapt their application to the changes to be compatible with the new version. - -Example: - -Change parameter *n* to *m* in the *a* file. - -``` -sample code -``` diff --git a/en/release-notes/changelogs/OpenHarmony_3.2.9.3/changelogs-useriam.md b/en/release-notes/changelogs/OpenHarmony_3.2.9.3/changelogs-useriam.md deleted file mode 100644 index b1011149ce89079e6e45212f0d1631794c406742..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_3.2.9.3/changelogs-useriam.md +++ /dev/null @@ -1,35 +0,0 @@ -# User IAM Subsystem Changelog - -## cl.useriam.1 Deletion of API9 GetVesion - -Deleted the **GetVersion()** API. - -**Change Impact** - -The **GetVersion()** API cannot be used from this version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant | Change Type | -| ---------------------- | ------------------- | ------------------------- | ------------------------ | -| ohos.userIAM.userAuth | function | getVersion() : number | Deleted| - -**Adaptation Guide** - -Delete the use of **GetVersion()**. - -## cl.useriam.2 Change of the API8 GetVesion() Return Value - -Changed the return value of **GetVersion()** (in API version 8) from **0** to **1**. - -**Change Impact** - -If the application verifies the return value of **GetVersion()** (API version 8), the verification fails. - -**Key API/Component Changes** - -The return value of **GetVersion()** (in API version 8) is changed from **0** to **1**. - -**Adaptation Guide** - -Delete the use of **GetVersion()** (API version 8) because this API has been deprecated. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-account_os_account.md b/en/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-account_os_account.md deleted file mode 100644 index 22a1dad1ce6387f0a05697738e9dc688cc8c869c..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.1.1/changelogs-account_os_account.md +++ /dev/null @@ -1,19 +0,0 @@ -# Account Subsystem ChangeLog - -## cl.account_os_account.1 Expansion of Distributed Account Nickname and Profile Picture Specifications - -The existing distributed account nickname and profile picture specifications cannot meet requirements in scenarios where the nickname is long and profile picture is large. - -Therefore, the distributed account nickname and profile picture specifications are expanded. - -**Change Impacts** - -The API change is forward compatible. Applications developed based on earlier versions can use the APIs in accordance with the new specifications, without affecting the original logic. - -**Key API/Component Changes** - -Before change: - - The nickname cannot exceed 20 characters, and the profile picture size cannot exceed 3 MB. - -After change: - - The nickname cannot exceed 1024 characters, and the profile picture size cannot exceed 10 MB. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-geoLocationManager.md b/en/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-geoLocationManager.md deleted file mode 100644 index f5a4b46a2b9632aa012cb38fe3555efd80b82b92..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-geoLocationManager.md +++ /dev/null @@ -1,18 +0,0 @@ -# Location Subsystem ChangeLog - -## cl.location.1 Deletion of the geoLocationManager.requestEnableLocation API in API Version 9 - -When the location function is disabled, your application can call the **geoLocationManager.requestEnableLocation** API to request the user to enable the location function. However, this API is seldom used because the user is not notified of the scenario in which your application uses the location information. - -Therefore, your application shows a popup, asking the user to go to the settings page and enable the location function. In addition, the popup clearly states the scenarios in which the location information will be used, improving user experience. - -**Change Impacts** - -Your application cannot use the **geoLocationManager.requestEnableLocation** API in API version 9 to request the user to enable the location function. Instead, you need to implement a popup asking the user to enable the location function for your application. - -**Key API/Component Changes** - -| Class | API Type| Declaration | Change Type | -| ------------------ | -------- | ------------------------------------------------------------ | ------------------ | -| geoLocationManager | method | function requestEnableLocation(callback: AsyncCallback<boolean>): void; | Deleted from API version 9| -| geoLocationManager | method | function requestEnableLocation(): Promise<boolean>; | Deleted from API version 9| diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-wifiManager.md b/en/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-wifiManager.md deleted file mode 100644 index f424d69976a74e00b8aab625c5d24b8dfc72c99a..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.1.5/changelogs-wifiManager.md +++ /dev/null @@ -1,62 +0,0 @@ -# Wi-Fi Subsystem ChangeLog - -## cl.location.1 Location Service Permission Change - -From API version 9, the **ohos.permission.APPROXIMATELY_LOCATION** permission is added for obtaining the approximate location. - -If you use API version 9 or later, you need to apply for both the **ohos.permission.LOCATION** and **ohos.permission.APPROXIMATELY_LOCATION** permissions. Applying for only the **ohos.permission.LOCATION** permission will fail. - -**Change Impacts** - -Applications using API versions earlier than 9 are not affected. For an application using API version 9 or later, the method for applying for the location permission is changed. The details are as follows: - -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 permissions in your application's configuration file. For details, see the [permission application guide](../../../application-dev/security/accesstoken-guidelines.md). - -**Key API/Component Changes** - -| Class | API Type| Declaration | Change Type | -| ----------- | -------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| wifiManager | method | function scan(): void; | The permission is changed to **ohos.permission.SET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function getScanResults(): Promise<Array<WifiScanInfo>>; | The permission is changed to **ohos.permission.GET_WIFI_INFO** and **ohos.permission.GET_WIFI_PEERS_MAC** or **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function getScanResults(callback: AsyncCallback<Array<WifiScanInfo>>): void; | The permission is changed to **ohos.permission.GET_WIFI_INFO** and **ohos.permission.GET_WIFI_PEERS_MAC** or **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function getScanResultsSync(): Array<WifiScanInfo>; | The permission is changed to **ohos.permission.GET_WIFI_INFO** and **ohos.permission.GET_WIFI_PEERS_MAC** or **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function getCandidateConfigs(): Array<WifiDeviceConfig>; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function getDeviceConfigs(): Array<WifiDeviceConfig>; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, **ohos.permission.APPROXIMATELY_LOCATION**, and **ohos.permission.GET_WIFI_CONFIG**.| -| wifiManager | method | function getStations(): Array<StationInfo>; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, **ohos.permission.APPROXIMATELY_LOCATION**, and **ohos.permission.MANAGE_WIFI_HOTSPOT**.| -| wifiManager | method | function getCurrentGroup(): Promise<WifiP2pGroupInfo>; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function getCurrentGroup(callback: AsyncCallback<WifiP2pGroupInfo>): void; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function getP2pPeerDevices(): Promise<WifiP2pDevice[]>; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function getP2pPeerDevices(callback: AsyncCallback<WifiP2pDevice[]>): void; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function p2pConnect(config: WifiP2PConfig): void; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function startDiscoverDevices(): void; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function getP2pGroups(): Promise<Array<WifiP2pGroupInfo>>; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function getP2pGroups(callback: AsyncCallback<Array<WifiP2pGroupInfo>>): void; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function on(type: "p2pDeviceChange", callback: Callback<WifiP2pDevice>): void; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function off(type: "p2pDeviceChange", callback?: Callback<WifiP2pDevice>): void; | The permission is changed to **ohos.permission.LOCATION** and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function on(type: "p2pPeerDeviceChange", callback: Callback<WifiP2pDevice[]>): void; | The permission is changed to **ohos.permission.GET_WIFI_INFO**, **ohos.permission.LOCATION**, and **ohos.permission.APPROXIMATELY_LOCATION**.| -| wifiManager | method | function off(type: "p2pPeerDeviceChange", callback?: Callback<WifiP2pDevice[]>): void; | The permission is changed to **ohos.permission.LOCATION** and **ohos.permission.APPROXIMATELY_LOCATION**.| diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelog-web.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelog-web.md deleted file mode 100644 index 254050b5104e769b4b4e44d6bbee8d13876d37db..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelog-web.md +++ /dev/null @@ -1,65 +0,0 @@ -# Web Subsystem ChangeLog - -Compared with earlier versions, OpenHarmony 4.0.2.1 has the following API changes in its Web subsystem: - -## cl.web.1 Parameter Type Change of postMessageEvent - -The **postMessageEvent** API supported only the string type. In OpenHarmony 4.0.2.1 and later versions, it also supports the ArrayBuffer type. - -**Change Impacts** - -The API change is forward compatible. Applications developed based on earlier versions can still use the API, and the original functions are not affected. - -**Key API/Component Changes** - -- Involved APIs - - postMessageEvent(message: string): void - -- Before change - - ```ts - postMessageEvent(message: string): void - ``` - -- After change - - ```ts - type WebMessage = ArrayBuffer | string - postMessageEvent(message: WebMessage): void - ``` - -**Adaptation Guide** - -The API change is forward compatible. Applications developed based on earlier versions can still use the API, and the original functions are not affected. - -## cl.web.2 Parameter Type Change of onMessageEvent - -The **onMessageEvent** API supported only the string type. In OpenHarmony 4.0.2.1 and later versions, it also supports the ArrayBuffer type. - -**Change Impacts** - -The API change is forward compatible. Applications developed based on earlier versions can still use the API. With the corresponding logic handling added, the original functions are not affected. - -**Key API/Component Changes** - -- Involved APIs - - onMessageEvent(callback: (result: string) => void): void - -- Before change - - ```ts - onMessageEvent(callback: (result: string) => void): void - ``` - -- After change - - ```ts - type WebMessage = ArrayBuffer | string - onMessageEvent(callback: (result: WebMessage) => void): void - ``` - -**Adaptation Guide** - -The API change is forward compatible. Applications developed based on earlier versions can still use the API. With the corresponding logic handling added, the original functions are not affected. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-ability.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-ability.md deleted file mode 100644 index 773d4439728d3c25369d47e384120d7beb543618..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-ability.md +++ /dev/null @@ -1,140 +0,0 @@ -# Ability Subsystem ChangeLog - -## cl.ability.1 System API Usage Rule Change - -System application verification is not performed for system APIs provided by the ability when they are called. The APIs can be used by a third-party application using the full SDK, which brings security risks. Therefore, application identity verification is added to OpenHarmony 4.0.2.1 and later versions. - -**Change Impacts** - -System APIs are available to only system applications. When a third-party application tries to use a system API, the **202** error will be returned via either an exception or asynchronous callback. - -**Key API/Component Changes** - -Below are the system APIs. - -| Module | API | Error Code Return Mode| -| -------------------------------------- | ------------------------------------------------------------ | -------------- | -| @ohos.app.ability.abilityManager.d.ts | updateConfiguration(config: Configuration, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.abilityManager.d.ts | updateConfiguration(config: Configuration): Promise | Asynchronous callback | -| @ohos.app.ability.abilityManager.d.ts | getAbilityRunningInfos(): Promise> | Asynchronous callback | -| @ohos.app.ability.abilityManager.d.ts | getAbilityRunningInfos(callback: AsyncCallback>): void | Asynchronous callback | -| @ohos.app.ability.abilityManager.d.ts | getExtensionRunningInfos(upperLimit: number): Promise> | Asynchronous callback | -| @ohos.app.ability.abilityManager.d.ts | getExtensionRunningInfos(upperLimit: number, callback: AsyncCallback>): void | Asynchronous callback | -| @ohos.app.ability.abilityManager.d.ts | getTopAbility(): Promise | Exception | -| @ohos.app.ability.abilityManager.d.ts | getTopAbility(callback: AsyncCallback): void | Exception | -| @ohos.app.ability.appManager.d.ts | on(type: "applicationState", observer: ApplicationStateObserver): number | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | on(type: "applicationState", observer: ApplicationStateObserver, bundleNameList: Array): number | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | off(type: "applicationState", observerId: number, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | off(type: "applicationState", observerId: number): Promise | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | getForegroundApplications(callback: AsyncCallback>): void | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | getForegroundApplications(): Promise> | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | killProcessWithAccount(bundleName: string, accountId: number): Promise | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | killProcessesByBundleName(bundleName: string): Promise | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | killProcessesByBundleName(bundleName: string, callback: AsyncCallback) | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | clearUpApplicationData(bundleName: string): Promise | Asynchronous callback | -| @ohos.app.ability.appManager.d.ts | clearUpApplicationData(bundleName: string, callback: AsyncCallback) | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | on(type: "mission", listener: MissionListener): number | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | off(type: "mission", listenerId: number, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | off(type: "mission", listenerId: number): Promise | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | getMissionInfo(deviceId: string, missionId: number, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | getMissionInfo(deviceId: string, missionId: number): Promise | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | getMissionInfos(deviceId: string, numMax: number, callback: AsyncCallback>): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | getMissionInfos(deviceId: string, numMax: number): Promise> | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | getMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | getMissionSnapShot(deviceId: string, missionId: number): Promise | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | getLowResolutionMissionSnapShot(deviceId: string, missionId: number, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | getLowResolutionMissionSnapShot(deviceId: string, missionId: number): Promise | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | lockMission(missionId: number, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | lockMission(missionId: number): Promise | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | unlockMission(missionId: number, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | unlockMission(missionId: number): Promise | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | clearMission(missionId: number, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | clearMission(missionId: number): Promise | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | clearAllMissions(callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | clearAllMissions(): Promise | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | moveMissionToFront(missionId: number, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | moveMissionToFront(missionId: number, options: StartOptions, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.missionManager.d.ts | moveMissionToFront(missionId: number, options?: StartOptions): Promise | Asynchronous callback | -| @ohos.app.ability.quickFixManager.d.ts | applyQuickFix(hapModuleQuickFixFiles: Array, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.quickFixManager.d.ts | applyQuickFix(hapModuleQuickFixFiles: Array): Promise | Asynchronous callback | -| @ohos.app.ability.quickFixManager.d.ts | getApplicationQuickFixInfo(bundleName: string, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.quickFixManager.d.ts | getApplicationQuickFixInfo(bundleName: string): Promise | Asynchronous callback | -| @ohos.app.ability.wantAgent.d.ts | getWant(agent: WantAgent, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.ability.wantAgent.d.ts | getWant(agent: WantAgent): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | deleteForm(formId: string, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | deleteForm(formId: string): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | releaseForm(formId: string, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | releaseForm(formId: string, isReleaseCache: boolean, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | releaseForm(formId: string, isReleaseCache?: boolean): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | requestForm(formId: string, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | requestForm(formId: string): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | castToNormalForm(formId: string, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | castToNormalForm(formId: string): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | notifyVisibleForms(formIds: Array, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | notifyVisibleForms(formIds: Array): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | notifyInvisibleForms(formIds: Array, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | notifyInvisibleForms(formIds: Array): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | enableFormsUpdate(formIds: Array, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | enableFormsUpdate(formIds: Array): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | disableFormsUpdate(formIds: Array, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | disableFormsUpdate(formIds: Array): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | isSystemReady(callback: AsyncCallback): void | Exception | -| @ohos.app.form.formHost.d.ts | isSystemReady(): Promise | Exception | -| @ohos.app.form.formHost.d.ts | getAllFormsInfo(callback: AsyncCallback>): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | getAllFormsInfo(): Promise> | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | getFormsInfo(bundleName: string, callback: AsyncCallback>): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | getFormsInfo(bundleName: string, moduleName: string, callback: AsyncCallback>): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | getFormsInfo(bundleName: string, moduleName?: string): Promise> | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | deleteInvalidForms(formIds: Array, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | deleteInvalidForms(formIds: Array): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | acquireFormState(want: Want, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | acquireFormState(want: Want): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | on(type: "formUninstall", callback: Callback): void | Exception | -| @ohos.app.form.formHost.d.ts | off(type: "formUninstall", callback?: Callback): void | Exception | -| @ohos.app.form.formHost.d.ts | notifyFormsVisible(formIds: Array, isVisible: boolean, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | notifyFormsVisible(formIds: Array, isVisible: boolean): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | notifyFormsEnableUpdate(formIds: Array, isEnableUpdate: boolean, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | notifyFormsEnableUpdate(formIds: Array, isEnableUpdate: boolean): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | shareForm(formId: string, deviceId: string, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | shareForm(formId: string, deviceId: string): Promise | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | notifyFormsPrivacyProtected(formIds: Array, isProtected: boolean, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formHost.d.ts | notifyFormsPrivacyProtected(formIds: Array, isProtected: boolean): Promise | Asynchronous callback | -| @ohos.app.form.formProvider.d.ts | requestPublishForm(want: Want, formBindingData: formBindingData.FormBindingData, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formProvider.d.ts | requestPublishForm(want: Want, callback: AsyncCallback): void | Asynchronous callback | -| @ohos.app.form.formProvider.d.ts | requestPublishForm(want: Want, formBindingData?: formBindingData.FormBindingData): Promise | Asynchronous callback | -| @ohos.app.form.formProvider.d.ts | isRequestPublishFormSupported(callback: AsyncCallback): void | Exception | -| @ohos.app.form.formProvider.d.ts | isRequestPublishFormSupported(): Promise | Exception | -| UIAbilityContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void | Asynchronous callback | -| UIAbilityContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback): void | Asynchronous callback | -| UIAbilityContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise | Asynchronous callback | -| UIAbilityContext.d.ts | startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncCallback): void | Exception | -| UIAbilityContext.d.ts | startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback): void | Exception | -| UIAbilityContext.d.ts | startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartOptions): Promise | Exception | -| UIAbilityContext.d.ts | startServiceExtensionAbility(want: Want, callback: AsyncCallback): void | Asynchronous callback | -| UIAbilityContext.d.ts | startServiceExtensionAbility(want: Want): Promise | Asynchronous callback | -| UIAbilityContext.d.ts | startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void | Asynchronous callback | -| UIAbilityContext.d.ts | startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise | Asynchronous callback | -| UIAbilityContext.d.ts | stopServiceExtensionAbility(want: Want, callback: AsyncCallback): void | Asynchronous callback | -| UIAbilityContext.d.ts | stopServiceExtensionAbility(want: Want): Promise | Asynchronous callback | -| UIAbilityContext.d.ts | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void | Asynchronous callback | -| UIAbilityContext.d.ts | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise | Asynchronous callback | -| UIAbilityContext.d.ts | connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number | Asynchronous callback | -| UIAbilityContext.d.ts | setMissionIcon(icon: image.PixelMap, callback: AsyncCallback): void | Asynchronous callback | -| UIAbilityContext.d.ts | setMissionIcon(icon: image.PixelMap): Promise | Asynchronous callback | -| ServiceExtensionContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void | Asynchronous callback | -| ServiceExtensionContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, callback: AsyncCallback): void | Asynchronous callback | -| ServiceExtensionContext.d.ts | startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions): Promise | Asynchronous callback | -| ServiceExtensionContext.d.ts | startServiceExtensionAbility(want: Want, callback: AsyncCallback): void | Asynchronous callback | -| ServiceExtensionContext.d.ts | startServiceExtensionAbility(want: Want): Promise | Asynchronous callback | -| ServiceExtensionContext.d.ts | startServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void | Asynchronous callback | -| ServiceExtensionContext.d.ts | startServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise | Asynchronous callback | -| ServiceExtensionContext.d.ts | stopServiceExtensionAbility(want: Want, callback: AsyncCallback): void | Asynchronous callback | -| ServiceExtensionContext.d.ts | stopServiceExtensionAbility(want: Want): Promise | Asynchronous callback | -| ServiceExtensionContext.d.ts | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback): void | Asynchronous callback | -| ServiceExtensionContext.d.ts | stopServiceExtensionAbilityWithAccount(want: Want, accountId: number): Promise | Asynchronous callback | -| ServiceExtensionContext.d.ts | connectServiceExtensionAbilityWithAccount(want: Want, accountId: number, options: ConnectOptions): number | Asynchronous callback | -| Context.d.ts | createBundleContext(bundleName: string): Context | Exception | -| Context.d.ts | createModuleContext(bundleName: string, moduleName: string): Context | Exception | -| FormExtensionContext.d.ts | startAbility(want: Want, callback: AsyncCallback): void | Asynchronous callback | -| FormExtensionContext.d.ts | startAbility(want: Want): Promise | Asynchronous callback | diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-bluetooth.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-bluetooth.md deleted file mode 100644 index 46cabda38dd35234da3b29b6e3a891fcee63dd56..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-bluetooth.md +++ /dev/null @@ -1,173 +0,0 @@ -# Bluetooth Subsystem ChangeLog - -## cl.bluetooth.1 API Migration to @ohos.bluetoothManager.d.ts - -**@ohos.bluetooth.d.ts** does not allow for throwing error codes, which is required by API version 9 and system APIs. Therefore, all APIs of **@ohos.bluetooth.d.ts** are migrated to the newly added **@ohos.bluetoothManager.d.ts**, and error code description is also added. - -To use Bluetooth APIs, import **@ohos.bluetoothManager**. - - ```ts - import bluetoothManager from '@ohos.bluetoothManager'; - ``` - - -**Change Impacts** - -System APIs and APIs in API version 9 are affected. Import **@ohos.bluetoothManager** to use APIs that can throw error codes. - - ```ts - import bluetoothManager from '@ohos.bluetoothManager'; - ``` - -**Key API/Component Changes** - -| Class | Original API | New API | Change Type | -| ---------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| bluetooth | function getState(): BluetoothState | function getState(): BluetoothState | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | method | function getBtConnectionState(): ProfileConnectionState; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function pairDevice(deviceId: string): boolean | function pairDevice(deviceId: string): void | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| bluetooth | function cancelPairedDevice(deviceId: string): boolean | function cancelPairedDevice(deviceId: string): void | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| bluetooth | function getRemoteDeviceName(deviceId: string): string | function getRemoteDeviceName(deviceId: string): string | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function getRemoteDeviceClass(deviceId: string): DeviceClass | function getRemoteDeviceClass(deviceId: string): DeviceClass | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function enableBluetooth(): boolean | function enableBluetooth(): void | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| bluetooth | function disableBluetooth(): boolean | function disableBluetooth(): void | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| bluetooth | function getLocalName(): string | function getLocalName(): string | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function getPairedDevices(): Array<string>; | function getPairedDevices(): Array<string>; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function getProfileConnState(profileId: ProfileId): ProfileConnectionState | function getProfileConnectionState(profileId: ProfileId): ProfileConnectionState | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the API name to **getProfileConnectionState**.| -| bluetooth | function setDevicePairingConfirmation(device: string, accept: boolean): boolean | function setDevicePairingConfirmation(device: string, accept: boolean): void | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| bluetooth | function setLocalName(name: string): boolean; | function setLocalName(name: string): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| bluetooth | function setBluetoothScanMode(mode: ScanMode, duration: number): boolean | function setBluetoothScanMode(mode: ScanMode, duration: number): void | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| bluetooth | function getBluetoothScanMode(): ScanMod | function getBluetoothScanMode(): ScanMode | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function startBluetoothDiscovery(): boolean | function startBluetoothDiscovery(): void | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**, added the **ohos.permission.APPROXIMATELY_LOCATION** permission, and changed the return value to **void**.| -| bluetooth | function stopBluetoothDiscovery(): boolean; | function stopBluetoothDiscovery(): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| bluetooth | function on(type: "bluetoothDeviceFind", callback: Callback<Array<string>>): void; | function on(type: "bluetoothDeviceFind", callback: Callback<Array<string>>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function off(type: "bluetoothDeviceFind", callback?: Callback<Array<string>>): void; | function off(type: "bluetoothDeviceFind", callback?: Callback<Array<string>>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function on(type: "bondStateChange", callback: Callback<BondStateParam>): void; | function on(type: "bondStateChange", callback: Callbackk<BondStateParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function off(type: "bondStateChange", callback?: Callback<BondStateParam>): void; | function off(type: "bondStateChange", callback?: Callback<BondStateParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function on(type: "pinRequired", callback: Callback<PinRequiredParam>): void; | function on(type: "pinRequired", callback: Callback<PinRequiredParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function off(type: "pinRequired", callback?: Callback<PinRequiredParam>): void; | function off(type: "pinRequired", callback?: Callback<PinRequiredParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function on(type: "stateChange", callback: Callback<BluetoothState>): void; | function on(type: "stateChange", callback: Callback<BluetoothState>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function off(type: "stateChange", callback?: Callback<BluetoothState>): void; | function off(type: "stateChange", callback?: Callback<BluetoothState>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void; | function sppListen(name: string, option: SppOption, callback: AsyncCallback<number>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void; | function sppAccept(serverSocket: number, callback: AsyncCallback<number>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void; | function sppConnect(device: string, option: SppOption, callback: AsyncCallback<number>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function sppCloseServerSocket(socket: number): void; | function sppCloseServerSocket(socket: number): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function sppCloseClientSocket(socket: number): void; | function sppCloseClientSocket(socket: number): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function sppWrite(clientSocket: number, data: ArrayBuffer): boolean; | function sppWrite(clientSocket: number, data: ArrayBuffer): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| bluetooth | function on(type: "sppRead", clientSocket: number, callback: Callback<ArrayBuffer>): void; | function on(type: "sppRead", clientSocket: number, callback: Callback<ArrayBuffer>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function off(type: "sppRead", clientSocket: number, callback?: Callback<ArrayBuffer>): void; | function off(type: "sppRead", clientSocket: number, callback?: Callback<ArrayBuffer>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | function getProfile(profileId: ProfileId): A2dpSourceProfile | HandsFreeAudioGatewayProfile; | function getProfileInstance(profileId: ProfileId): A2dpSourceProfile | -| bluetooth | function getProfileInst(profileId: ProfileId): A2dpSourceProfile | HandsFreeAudioGatewayProfile | HidHostProfile | -| BaseProfile | getConnectionDevices(): Array<string>; | getConnectionDevices(): Array<string>; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| BaseProfile | getDeviceState(device: string): ProfileConnectionState; | getDeviceState(device: string): ProfileConnectionState; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| A2dpSourceProfile | connect(device: string): boolean; | connect(device: string): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| A2dpSourceProfile | disconnect(device: string): boolean; | disconnect(device: string): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| A2dpSourceProfile | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| A2dpSourceProfile | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| A2dpSourceProfile | getPlayingState(device: string): PlayingState; | getPlayingState(device: string): PlayingState; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| HandsFreeAudioGatewayProfile | connect(device: string): boolean; | connect(device: string): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| HandsFreeAudioGatewayProfile | disconnect(device: string): boolean; | disconnect(device: string): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| HandsFreeAudioGatewayProfile | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| HandsFreeAudioGatewayProfile | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| HidHostProfile | connect(device: string): boolean; | connect(device: string): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| HidHostProfile | disconnect(device: string): boolean; | disconnect(device: string): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| HidHostProfile | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| HidHostProfile | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| PanProfile | disconnect(device: string): boolean; | disconnect(device: string): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| PanProfile | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| PanProfile | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | off(type: "connectionStateChange", callback?: Callback<StateChangeParam>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| PanProfile | setTethering(enable: boolean): void; | setTethering(enable: boolean): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| PanProfile | isTetheringOn(): boolean; | isTetheringOn(): boolean; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| BLE | function createGattServer(): GattServer; | function createGattServer(): GattServer; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| BLE | function createGattClientDevice(deviceId: string): GattClientDevice; | function createGattClientDevice(deviceId: string): GattClientDevice; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| BLE | function getConnectedBLEDevices(): Array<string>; | function getConnectedBLEDevices(): Array<string>; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| BLE | function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void; | function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and added the **ohos.permission.APPROXIMATELY_LOCATION** permission.| -| BLE | function stopBLEScan(): void; | function stopBLEScan(): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| BLE | mefunction on(type: "BLEDeviceFind", callback: Callback<Array<ScanResult>>): void;thod | function on(type: "BLEDeviceFind", callback: Callback<Array<ScanResult>>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| BLE | function off(type: "BLEDeviceFind", callback?: Callback<Array<ScanResult>>): void; | function off(type: "BLEDeviceFind", callback?: Callback<Array<ScanResult>>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void; | startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | stopAdvertising(): void; | stopAdvertising(): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | addService(service: GattService): boolean; | addService(service: GattService): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| GattServer | removeService(serviceUuid: string): boolean; | removeService(serviceUuid: string): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**.| -| GattServer | close(): void; | close(): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. -| GattServer | notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): boolean; | notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**. | -| GattServer | sendResponse(serverResponse: ServerResponse): boolean; | sendResponse(serverResponse: ServerResponse): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**. | -| GattServer | on(type: "characteristicRead", callback: Callback<CharacteristicReadReq>): void; | on(type: "characteristicRead", callback: Callback<CharacteristicReadRequest>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | off(type: "characteristicRead", callback?: Callback<CharacteristicReadReq>): void; | off(type: "characteristicRead", callback?: Callback<CharacteristicReadRequest>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | on(type: "characteristicWrite", callback: Callback<CharacteristicWriteReq>): void; | on(type: "characteristicWrite", callback: Callback<CharacteristicWriteRequest>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | off(type: "characteristicWrite", callback?: Callback<CharacteristicWriteReq>): void; | off(type: "characteristicWrite", callback?: Callback<CharacteristicWriteRequest>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | on(type: "descriptorRead", callback: Callback<DescriptorReadReq>): void; | on(type: "descriptorRead", callback: Callback<DescriptorReadRequest>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | off(type: "descriptorRead", callback?: Callback<DescriptorReadReq>): void; | off(type: "descriptorRead", callback?: Callback<DescriptorReadRequest>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | on(type: "descriptorWrite", callback: Callback<DescriptorWriteReq>): void; | on(type: "descriptorWrite", callback: Callback<DescriptorWriteRequest>): void;| Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | off(type: "descriptorWrite", callback?: Callback<DescriptorWriteReq>): void; | off(type: "descriptorWrite", callback?: Callback<DescriptorWriteRequest>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | on(type: "connectStateChange", callback: Callback<BLEConnectChangedState>): void; | on(type: "connectStateChange", callback: Callback<BLEConnectChangedState>): void;| Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattServer | off(type: "connectStateChange", callback?: Callback<BLEConnectChangedState>): void; | off(type: "connectStateChange", callback?: Callback<BLEConnectChangedState>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | connect(): boolean; | connect(): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**. | -| GattClientDevice | disconnect(): boolean; | disconnect(): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**. | -| GattClientDevice | close(): boolean; | close(): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**. | -| GattClientDevice | getDeviceName(callback: AsyncCallback<string>): void; | getDeviceName(callback: AsyncCallback<string>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | getDeviceName(): Promise<string>; | getDeviceName(): Promise<string>; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | getServices(callback: AsyncCallback<Array<GattService>>): void; | getServices(callback: AsyncCallback<Array<GattService>>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | getServices(): Promise<Array<GattService>>; | getServices(): Promise<Array<GattService>>; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void; | readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>; | readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void; | readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>; | readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | writeCharacteristicValue(characteristic: BLECharacteristic): boolean; | writeCharacteristicValue(characteristic: BLECharacteristic): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**. | -| GattClientDevice | writeDescriptorValue(descriptor: BLEDescriptor): boolean; | writeDescriptorValue(descriptor: BLEDescriptor): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**. | -| GattClientDevice | getRssiValue(callback: AsyncCallback<number>): void; | getRssiValue(callback: AsyncCallback<number>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | getRssiValue(): Promise<number>; | getRssiValue(): Promise<number>; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | setBLEMtuSize(mtu: number): boolean; | setBLEMtuSize(mtu: number): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**. | -| GattClientDevice | setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): boolean; | setNotifyCharacteristicChanged(characteristic: BLECharacteristic, enable: boolean): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts** and changed the return value to **void**. | -| GattClientDevice | on(type: "BLECharacteristicChange", callback: Callback<BLECharacteristic>): void; | on(type: "BLECharacteristicChange", callback: Callback<BLECharacteristic>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | off(type: "BLECharacteristicChange", callback?: Callback<BLECharacteristic>): void; | off(type: "BLECharacteristicChange", callback?: Callback<BLECharacteristic>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | on(type: "BLEConnectionStateChange", callback: Callback<BLEConnectChangedState>): void; | on(type: "BLEConnectionStateChange", callback: Callback<BLEConnectChangedState>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| GattClientDevice | off(type: "BLEConnectionStateChange", callback?: Callback<BLEConnectChangedState>): void; | off(type: "BLEConnectionStateChange", callback?: Callback<BLEConnectChangedState>): void; | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | GattService | GattService | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | BLECharacteristic | BLECharacteristic | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | BLEDescriptor | BLEDescriptor | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | NotifyCharacteristic | NotifyCharacteristic | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | CharacteristicReadReq | CharacteristicReadRequest | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | CharacteristicWriteReq | CharacteristicWriteRequest | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | DescriptorReadRe | DescriptorReadRequest | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | DescriptorWriteReq | DescriptorWriteRequest | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | ServerResponse | ServerResponse | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | BLEConnectChangedState | BLEConnectChangedState | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | ScanResult | ScanResult | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | AdvertiseSetting | AdvertiseSetting | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | AdvertiseData | AdvertiseData | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | ManufactureData | ManufactureData | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | ServiceData | ServiceData | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | ScanFilter | ScanFilter | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | ScanOptions | ScanOptions | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | SppOption | SppOption | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | PinRequiredParam | PinRequiredParam | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | DeviceClass | DeviceClass | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | BondStateParam | BondStateParam | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | StateChangeParam | StateChangeParam | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | ScanDuty | ScanDuty | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | MatchMode | MatchMode | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | ProfileConnectionState | ProfileConnectionState | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | BluetoothState | BluetoothState | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | SppType | SppType | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | ScanMode | ScanMode | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | BondState | BondState | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | MajorClass | MajorClass | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | MajorMinorClass | MajorMinorClass | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | PlayingState | PlayingState | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | -| bluetooth | ProfileId | ProfileId | Migrated this API in API version 9 to **@ohos.bluetoothManager.d.ts**. | - - - -**(Optional) Adaptation Guide** - -The following uses **enableLocation** as an example to show how it is called in the new version: - - ```ts - import bluetoothManager from '@ohos.bluetoothManager'; - try { - var state = bluetoothManager.getState(); - } catch (err) { - console.error("errCode:" + err.code + ",errMessage:" + err.message); - } - ``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-distributeddatamgr.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-distributeddatamgr.md deleted file mode 100644 index 91eff5aaba224372581f5e3a8165f7382216c7c2..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-distributeddatamgr.md +++ /dev/null @@ -1,48 +0,0 @@ -# Distributed Data Management Subsystem JS API Changelog - -## cl.distributeddatamgr.1 API Change -Changed the **relationalStore** APIs of the distributed data management (distributeddatamgr) subsystem. - -Before change: -After **getRdbStore()** is called, the application determines whether the RDB store is newly created based on the **openStatus** attribute (openStatus == ON_CREATE) of the returned **rdbStore** object. -After change: -After **getRdbStore()** is called, the application determines whether the RDB store is newly created based on the **version** attribute (version == 0) of the returned **rdbStore** object. - -You need to adapt your application. - - **Change Impact** - -The JS APIs of API version 10 are affected and need to be changed accordingly. Otherwise, certain functions cannot be properly implemented in the SDK of the new version. - -**Key API/Component Changes** - -| Module | Class | Method/Attribute/Enum/Constant| Change Type| -| ------------------------------ | --------------- | ---------------- | ------- | -| @ohos.data.relationalStore | RdbStore | **openStatus: number;** is changed to **version: number;**.| Changed | - - -**Adaptation Guide** - -Refer to the following code to set or obtain the RDB store version for an application: - -```ts -const STORE_CONFIG = { - name: "rdbstore.db", - securityLevel: data_rdb.SecurityLevel.S1 -} -data_rdb.getRdbStore(this.context, STORE_CONFIG, function (err, rdbStore) { - // Before: - // if (rdbStore.openStatus == ON_CREATE) { - // rdbStore.executeSql("CREATE TABLE IF NOT EXISTS student (id INTEGER PRIMARY KEY AUTOINCREMENT, score REAL);", null) // create table xxx - // } - - // Now: - if (rdbStore.version == 0) { - rdbStore.executeSql("CREATE TABLE IF NOT EXISTS student (id INTEGER PRIMARY KEY AUTOINCREMENT, score REAL);", null) // create table xxx - // Set the RDB store version, which is a positive integer greater than 0. - rdbStore.version == 3 - } - // Obtain the RDB store version. - console.info("Get RdbStore version is " + rdbStore.version) -}) -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-filemanagement.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-filemanagement.md deleted file mode 100644 index 2e4e9981788e07f1f41bef6c579898fe649c7368..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-filemanagement.md +++ /dev/null @@ -1,145 +0,0 @@ -# File Management Subsystem ChangeLog - -## cl.filemanagement.1 Changed environment - -The file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **environment** module supports error code processing. - -**Change Impacts** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **environment** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **environment** was imported using **@ohos.environment**: - -```js -import environment from '@ohos.environment'; -``` - -But now, **environment** is imported using **@ohos.file.environment**: - -```js -import environment from '@ohos.file.environment'; -``` - -## cl.filemanagement.2 Changed securityLabel - -The file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **securityLabel** module supports error code processing. - -**Change Impacts** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **securityLabel** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **securityLabel** was imported using **@ohos.securityLabel**: - -```js -import securityLabel from '@ohos.securityLabel'; -``` - -But now, **securityLabel** is imported using **@ohos.file.securityLabel**: - -```js -import securityLabel from '@ohos.file.securityLabel'; -``` - -## cl.filemanagement.3 Changed fs - -The **ino** attribute type of the **Stat** API under the **fs** module is changed. - -**Change Impacts** - -The **ino** attribute type is changed from number to BigInt, to adapt the inode range of all types of files in the file system. - -**Key API/Component Changes** - -The type of the **ino** attribute of the **Stat** API is changed from number to BigInt. - -## cl.filemanagement.4 Changed fileAccess - -The file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **fileAccess** module supports error code processing. - -**Change Impacts** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **fileAccess** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **fileAccess** was imported using **@ohos.data.fileAccess**: - -```js -import fileAccess from '@ohos.data.fileAccess'; -``` - -But now, **fileAccess** is imported using **@ohos.file.fileAccess**: - -```js -import fileAccess from '@ohos.file.fileAccess'; -``` - -## cl.filemanagement.5 Changed fileExtensionInfo - -The file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **fileExtensionInfo** module supports error code processing. - -**Change Impacts** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **fileExtensionInfo** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **fileExtensionInfo** was imported using **@ohos.fileExtensionInfo**: - -```js -import fileExtensionInfo from '@ohos.fileExtensionInfo'; -``` - -But now, **fileExtensionInfo** is imported using **@ohos.file.fileExtensionInfo**: - -```js -import fileExtensionInfo from '@ohos.file.fileExtensionInfo'; -``` - -## cl.filemanagement.6 Changed storageStatistics - -The file management subsystem **d.ts** file has been archived and moved to the **file** directory. The **fileExtensionInfo** module supports error code processing. - -**Change Impacts** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **storageStatistics** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **storageStatistics** was imported using **@ohos.storageStatistics**: - -```js -import storageStatistics from '@ohos.storageStatistics'; -``` - -But now, **storageStatistics** is imported using **@ohos.file.storageStatistics**: - -```js -import storageStatistics from '@ohos.file.storageStatistics'; -``` - -## cl.filemanagement.7 Changed volumeManager - -The file management subsystem **d.ts** file has been archived moved to the **file** directory. The **volumeManager** module supports error code processing. - -**Change Impacts** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. The **volumeManager** module supports error code processing. See [adaptation instructions](../OpenHarmony_3.2.8.1/changelogs-filemanagement.md) for more details. - -**Key API/Component Changes** - -Before the change, **volumeManager** was imported using **@ohos.volumeManager**: - -```js -import volumeManager from '@ohos.volumeManager'; -``` - -But now, **volumeManager** is imported using **@ohos.file.volumeManager**: - -```js -import volumeManager from '@ohos.file.volumeManager'; -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-global.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-global.md deleted file mode 100644 index 7192f94cba5682b78cd477953ed521bc42434609..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-global.md +++ /dev/null @@ -1,41 +0,0 @@ -# Globalization Subsystem ChangeLog - -## cl.global.1 Runtime Authentication Added for System APIs - -The internationalization component of the globalization subsystem adds runtime authentication for system APIs in certain scenarios. The following changes are made in API version 9 and later: - - Setting the system language, country or region, and area - - Setting the 24-hour format of the system - - Adding and removing the preferred language - - Setting localized numbers - -You need to adapt your application based on the following information. - -**Change Impacts** - -APIs involved in the preceding scenarios can be properly called only by system applications that have the **UPDATE_CONFIGURATION** permission. - -**Key API/Component Changes** - - - Involved APIs: - - 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; - -**Adaptation Guide** - -Make sure the application trying to call any of the above APIs is a system application. Non-system applications are not allowed to call the APIs. -An exception will be thrown upon lack of a necessary permission or a call request from a non-system application. The exception can be captured via **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}.`) -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-media.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-media.md deleted file mode 100644 index 01455e8774555943174a21a80f343b607a4a0069..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-media.md +++ /dev/null @@ -1,314 +0,0 @@ -# Media Subsystem ChangeLog - -## cl.media.1 API Change of the Playback Function - -Added the [AVPlayer](../../../application-dev/reference/apis/js-apis-media.md#avplayer9)9+ API for audio and video playback, with the updated state machine and error codes, which is recommended. The following APIs for audio playback and video playback are no longer maintained: [AudioPlayer](../../../application-dev/reference/apis/js-apis-media.md#audioplayer)6+ and [VideoPlayer](../../../application-dev/reference/apis/js-apis-media.md#videoplayer)8+. - -**Change Impacts** - -The original APIs can still be used but are no longer maintained. You are advised to use the new API instead. - -**Key API/Component Changes** - -Added APIs - -| Class | Declaration | -| -------------- | ------------------------------------------------------------ | -| media | createAVPlayer(callback: AsyncCallback\): void | -| media | createAVPlayer() : Promise\ | -| media.AVPlayer | interface AVPlayer | -| media.AVPlayer | videoScaleType ?: VideoScaleType | -| media.AVPlayer | url ?: string | -| media.AVPlayer | surfaceId ?: string | -| media.AVPlayer | stop(callback: AsyncCallback\): void | -| media.AVPlayer | stop(): Promise\ | -| media.AVPlayer | setVolume(volume: number): void | -| media.AVPlayer | setSpeed(speed: PlaybackSpeed): void | -| media.AVPlayer | setBitrate(bitrate: number): void | -| media.AVPlayer | seek(timeMs: number, mode?:SeekMode): void | -| media.AVPlayer | reset(callback: AsyncCallback\): void | -| media.AVPlayer | reset(): Promise\ | -| media.AVPlayer | release(callback: AsyncCallback\): void | -| media.AVPlayer | release(): Promise\ | -| media.AVPlayer | readonly width: number | -| media.AVPlayer | readonly state: AVPlayerState | -| media.AVPlayer | readonly height: number | -| media.AVPlayer | readonly duration: number | -| media.AVPlayer | readonly currentTime: number | -| media.AVPlayer | prepare(callback: AsyncCallback\): void | -| media.AVPlayer | prepare(): Promise\ | -| media.AVPlayer | play(callback: AsyncCallback\): void | -| media.AVPlayer | play(): Promise\ | -| media.AVPlayer | pause(callback: AsyncCallback\): void | -| media.AVPlayer | pause(): Promise\ | -| media.AVPlayer | on(type: 'volumeChange', callback: Callback\): void | -| media.AVPlayer | on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void | -| media.AVPlayer | on(type: 'timeUpdate', callback: Callback\): void | -| media.AVPlayer | on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void | -| media.AVPlayer | on(type: 'startRenderFrame', callback: Callback\): void | -| media.AVPlayer | on(type: 'speedDone', callback: Callback\): void | -| media.AVPlayer | on(type: 'seekDone', callback: Callback\): void | -| media.AVPlayer | on(type: 'error', callback: ErrorCallback): void | -| media.AVPlayer | on(type: 'endOfStream', callback: Callback\): void | -| media.AVPlayer | on(type: 'durationUpdate', callback: Callback\): void | -| media.AVPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void | -| media.AVPlayer | on(type: 'bitrateDone', callback: Callback\): void | -| media.AVPlayer | on(type: 'availableBitrates', callback: (bitrates: Array\) => void): void | -| media.AVPlayer | on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void | -| media.AVPlayer | off(type: 'volumeChange'): void | -| media.AVPlayer | off(type: 'videoSizeChange'): void | -| media.AVPlayer | off(type: 'timeUpdate'): void | -| media.AVPlayer | off(type: 'stateChange'): void | -| media.AVPlayer | off(type: 'startRenderFrame'): void | -| media.AVPlayer | off(type: 'speedDone'): void | -| media.AVPlayer | off(type: 'seekDone'): void | -| media.AVPlayer | off(type: 'error'): void | -| media.AVPlayer | off(type: 'endOfStream'): void | -| media.AVPlayer | off(type: 'durationUpdate'): void | -| media.AVPlayer | off(type: 'bufferingUpdate'): void | -| media.AVPlayer | off(type: 'bitrateDone'): void | -| media.AVPlayer | off(type: 'availableBitrates'): void | -| media.AVPlayer | off(type: 'audioInterrupt'): void | -| media.AVPlayer | loop: boolean | -| media.AVPlayer | getTrackDescription(callback: AsyncCallback\>): void | -| media.AVPlayer | getTrackDescription() : Promise\> | -| media.AVPlayer | fdSrc ?: AVFileDescriptor | -| media.AVPlayer | audioInterruptMode ?: audio.InterruptMode | -| unnamed | type AVPlayerState = 'idle' \| 'initialized' \| 'prepared' \| 'playing' \| 'paused' \| 'completed' \| 'stopped' \| 'released' \| 'error' | - -APIs no longer maintained - -| Class | Declaration | -| ----------------- | ------------------------------------------------------------ | -| media | createVideoPlayer(callback: AsyncCallback\): void | -| media | createVideoPlayer() : Promise\ | -| media | createAudioPlayer(): AudioPlayer | -| media.AudioPlayer | interface AudioPlayer | -| media.AudioPlayer | play(): void | -| media.AudioPlayer | release(): void | -| media.AudioPlayer | audioInterruptMode ?: audio.InterruptMode | -| media.AudioPlayer | fdSrc: AVFileDescriptor | -| media.AudioPlayer | seek(timeMs: number): void | -| media.AudioPlayer | readonly duration: number | -| media.AudioPlayer | loop: boolean | -| media.AudioPlayer | readonly state: AudioState | -| media.AudioPlayer | getTrackDescription(callback: AsyncCallback\>): void | -| media.AudioPlayer | getTrackDescription() : Promise\> | -| media.AudioPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void | -| media.AudioPlayer | on(type: 'play' \| 'pause' \| 'stop' \| 'reset' \| 'dataLoad' \| 'finish' \| 'volumeChange', callback: () => void): void | -| media.AudioPlayer | on(type: 'timeUpdate', callback: Callback\): void | -| media.AudioPlayer | on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void | -| media.AudioPlayer | on(type: 'error', callback: ErrorCallback): void | -| media.AudioPlayer | setVolume(vol: number): void | -| media.AudioPlayer | pause(): void | -| media.AudioPlayer | readonly currentTime: number | -| media.AudioPlayer | stop(): void | -| media.AudioPlayer | reset(): void | -| media.AudioPlayer | src: string | -| media.VideoPlayer | interface VideoPlayer | -| media.VideoPlayer | play(callback: AsyncCallback\): void | -| media.VideoPlayer | play(): Promise\ | -| media.VideoPlayer | prepare(callback: AsyncCallback\): void | -| media.VideoPlayer | prepare(): Promise\ | -| media.VideoPlayer | release(callback: AsyncCallback\): void | -| media.VideoPlayer | release(): Promise\ | -| media.VideoPlayer | audioInterruptMode ?: audio.InterruptMode | -| media.VideoPlayer | fdSrc: AVFileDescriptor | -| media.VideoPlayer | seek(timeMs: number, callback: AsyncCallback\): void | -| media.VideoPlayer | seek(timeMs: number, mode:SeekMode, callback: AsyncCallback\): void | -| media.VideoPlayer | seek(timeMs: number, mode?:SeekMode): Promise\ | -| media.VideoPlayer | readonly duration: number | -| media.VideoPlayer | loop: boolean | -| media.VideoPlayer | videoScaleType ?: VideoScaleType | -| media.VideoPlayer | readonly state: VideoPlayState | -| media.VideoPlayer | getTrackDescription(callback: AsyncCallback\>): void | -| media.VideoPlayer | getTrackDescription() : Promise\> | -| media.VideoPlayer | readonly height: number | -| media.VideoPlayer | on(type: 'playbackCompleted', callback: Callback\): void | -| media.VideoPlayer | on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void | -| media.VideoPlayer | on(type: 'startRenderFrame', callback: Callback\): void | -| media.VideoPlayer | on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void | -| media.VideoPlayer | on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void | -| media.VideoPlayer | on(type: 'error', callback: ErrorCallback): void | -| media.VideoPlayer | setDisplaySurface(surfaceId: string, callback: AsyncCallback\): void | -| media.VideoPlayer | setDisplaySurface(surfaceId: string): Promise\ | -| media.VideoPlayer | setVolume(vol: number, callback: AsyncCallback\): void | -| media.VideoPlayer | setVolume(vol: number): Promise\ | -| media.VideoPlayer | url: string | -| media.VideoPlayer | pause(callback: AsyncCallback\): void | -| media.VideoPlayer | pause(): Promise\ | -| media.VideoPlayer | readonly currentTime: number | -| media.VideoPlayer | setSpeed(speed:number, callback: AsyncCallback\): void | -| media.VideoPlayer | setSpeed(speed:number): Promise\ | -| media.VideoPlayer | stop(callback: AsyncCallback\): void | -| media.VideoPlayer | stop(): Promise\ | -| media.VideoPlayer | readonly width: number | -| media.VideoPlayer | reset(callback: AsyncCallback\): void | -| media.VideoPlayer | reset(): Promise\ | -| unnamed | type AudioState = 'idle' \| 'playing' \| 'paused' \| 'stopped' \| 'error' | -| unnamed | type VideoPlayState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error' | - -**Adaptation Guide** - -For details, see the [reference](../../../application-dev/reference/apis/js-apis-media.md) for each API. - -## cl.media.2 API Change of the Recording Function - -Added the [AVRecorder](../../../application-dev/reference/apis/js-apis-media.md#avrecorder9)9+ API for audio and video recording, with the updated state machine and error codes, which is recommended. The following APIs for audio recording and video recording are no longer maintained: [AudioRecorder](../../../application-dev/reference/apis/js-apis-media.md#audiorecorder)6+ and [VideoRecorder](../../../application-dev/reference/apis/js-apis-media.md#videorecorder9)9+. - -The [AudioSourceType](../../../application-dev/reference/apis/js-apis-media.md#audiosourcetype9) and [VideoSourceType](../../../application-dev/reference/apis/js-apis-media.md#videosourcetype9) APIs shared by the old and new recording APIs are changed to non-system APIs. - -**Change Impacts** - -The [AudioRecorder](../../../application-dev/reference/apis/js-apis-media.md#audiorecorder)6+ and [VideoRecorder](../../../application-dev/reference/apis/js-apis-media.md#videorecorder9)9+ APIs can still be used but are no longer maintained. You are advised to use the [AVRecorder](../../../application-dev/reference/apis/js-apis-media.md#avrecorder9)9+ API instead. - -**Key API/Component Changes** - -Added APIs - -| Class | Declaration | -| ----------------------- | ------------------------------------------------------------ | -| media | createAVRecorder(callback: AsyncCallback\): void | -| media | createAVRecorder() : Promise\ | -| media.AVRecorder | interface AVRecorder | -| media.AVRecorder | prepare(config: AVRecorderConfig, callback: AsyncCallback\): void | -| media.AVRecorder | prepare(config: AVRecorderConfig): Promise\ | -| media.AVRecorder | release(callback: AsyncCallback\): void | -| media.AVRecorder | release(): Promise\ | -| media.AVRecorder | readonly state: AVRecorderState | -| media.AVRecorder | on(type: 'stateChange', callback: (state: AVRecorderState, reason: StateChangeReason) => void): void | -| media.AVRecorder | on(type: 'error', callback: ErrorCallback): void | -| media.AVRecorder | resume(callback: AsyncCallback\): void | -| media.AVRecorder | resume(): Promise\ | -| media.AVRecorder | start(callback: AsyncCallback\): void | -| media.AVRecorder | start(): Promise\ | -| media.AVRecorder | off(type: 'stateChange'): void | -| media.AVRecorder | off(type: 'error'): void | -| media.AVRecorder | pause(callback: AsyncCallback\): void | -| media.AVRecorder | pause(): Promise\ | -| media.AVRecorder | stop(callback: AsyncCallback\): void | -| media.AVRecorder | stop(): Promise\ | -| media.AVRecorder | reset(callback: AsyncCallback\): void | -| media.AVRecorder | reset(): Promise\ | -| media.AVRecorder | getInputSurface(callback: AsyncCallback\): void | -| media.AVRecorder | getInputSurface(): Promise\ | -| media.AVRecorderConfig | videoSourceType?: VideoSourceType | -| media.AVRecorderConfig | audioSourceType?: AudioSourceType | -| media.AVRecorderConfig | profile: AVRecorderProfile | -| media.AVRecorderConfig | rotation?: number | -| media.AVRecorderConfig | url: string | -| media.AVRecorderConfig | location?: Location | -| media.AVRecorderConfig | interface AVRecorderConfig | -| media.AVRecorderProfile | videoBitrate?: number | -| media.AVRecorderProfile | videoCodec?: CodecMimeType | -| media.AVRecorderProfile | audioCodec?: CodecMimeType | -| media.AVRecorderProfile | videoFrameRate?: number | -| media.AVRecorderProfile | videoFrameHeight?: number | -| media.AVRecorderProfile | audioSampleRate?: number | -| media.AVRecorderProfile | audioBitrate?: number | -| media.AVRecorderProfile | videoFrameWidth?: number | -| media.AVRecorderProfile | audioChannels?: number | -| media.AVRecorderProfile | fileFormat: ContainerFormatType | -| media.AVRecorderProfile | interface AVRecorderProfile | -| unnamed | type AVRecorderState = 'idle' \| 'prepared' \| 'started' \| 'paused' \| 'stopped' \| 'released' \| 'error' | - -APIs no longer maintained - -| Class | Declaration | -| -------------------------- | ------------------------------------------------------------ | -| media | createVideoRecorder(callback: AsyncCallback\): void | -| media | createVideoRecorder(): Promise\ | -| media | createAudioRecorder(): AudioRecorder | -| media.AudioRecorder | interface AudioRecorder | -| media.AudioRecorder | prepare(config: AudioRecorderConfig): void | -| media.AudioRecorder | release(): void | -| media.AudioRecorder | on(type: 'prepare' \| 'start' \| 'pause' \| 'resume' \| 'stop' \| 'release' \| 'reset', callback: () => void): void | -| media.AudioRecorder | on(type: 'error', callback: ErrorCallback): void | -| media.AudioRecorder | resume(): void | -| media.AudioRecorder | start(): void | -| media.AudioRecorder | pause(): void | -| media.AudioRecorder | stop(): void | -| media.AudioRecorder | reset(): void | -| media.AudioRecorderConfig | audioSampleRate?: number | -| media.AudioRecorderConfig | location?: Location | -| media.AudioRecorderConfig | fileFormat?: ContainerFormatType | -| media.AudioRecorderConfig | interface AudioRecorderConfig | -| media.AudioRecorderConfig | audioEncoder?: AudioEncoder | -| media.AudioRecorderConfig | audioEncodeBitRate?: number | -| media.AudioRecorderConfig | numberOfChannels?: number | -| media.AudioRecorderConfig | format?: AudioOutputFormat | -| media.AudioRecorderConfig | uri: string | -| media.AudioRecorderConfig | audioEncoderMime?: CodecMimeType | -| media.VideoRecorder | interface VideoRecorder | -| media.VideoRecorder | prepare(config: VideoRecorderConfig, callback: AsyncCallback\): void | -| media.VideoRecorder | prepare(config: VideoRecorderConfig): Promise\ | -| media.VideoRecorder | release(callback: AsyncCallback\): void | -| media.VideoRecorder | release(): Promise\ | -| media.VideoRecorder | readonly state: VideoRecordState | -| media.VideoRecorder | on(type: 'error', callback: ErrorCallback): void | -| media.VideoRecorder | resume(callback: AsyncCallback\): void | -| media.VideoRecorder | resume(): Promise\ | -| media.VideoRecorder | start(callback: AsyncCallback\): void | -| media.VideoRecorder | start(): Promise\ | -| media.VideoRecorder | pause(callback: AsyncCallback\): void | -| media.VideoRecorder | pause(): Promise\ | -| media.VideoRecorder | stop(callback: AsyncCallback\): void | -| media.VideoRecorder | stop(): Promise\ | -| media.VideoRecorder | reset(callback: AsyncCallback\): void | -| media.VideoRecorder | reset(): Promise\ | -| media.VideoRecorder | getInputSurface(callback: AsyncCallback\): void | -| media.VideoRecorder | getInputSurface(): Promise\ | -| media.VideoRecorderConfig | videoSourceType: VideoSourceType | -| media.VideoRecorderConfig | audioSourceType?: AudioSourceType | -| media.VideoRecorderConfig | profile: VideoRecorderProfile | -| media.VideoRecorderConfig | rotation?: number | -| media.VideoRecorderConfig | url: string | -| media.VideoRecorderConfig | location?: Location | -| media.VideoRecorderConfig | interface VideoRecorderConfig | -| media.VideoRecorderProfile | readonly videoBitrate: number | -| media.VideoRecorderProfile | readonly videoCodec: CodecMimeType | -| media.VideoRecorderProfile | readonly audioCodec: CodecMimeType | -| media.VideoRecorderProfile | readonly videoFrameRate: number | -| media.VideoRecorderProfile | readonly videoFrameHeight: number | -| media.VideoRecorderProfile | readonly audioSampleRate: number | -| media.VideoRecorderProfile | readonly audioBitrate: number | -| media.VideoRecorderProfile | readonly videoFrameWidth: number | -| media.VideoRecorderProfile | readonly audioChannels: number | -| media.VideoRecorderProfile | readonly fileFormat: ContainerFormatType | -| media.VideoRecorderProfile | interface VideoRecorderProfile | -| unnamed | type VideoRecordState = 'idle' \| 'prepared' \| 'playing' \| 'paused' \| 'stopped' \| 'error' | - -Changed APIs - -| Class | Declaration | Capability Before Change | Capability After Change | Whether a System API Before Change| Whether a System API After Change| -| --------------------- | ------------------------------------------------------------ | ----------------------------------------------- | -------------------------------------------- | -------------------- | -------------------- | -| media.AudioSourceType | enum AudioSourceType { /** * default audio source type. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ AUDIO_SOURCE_TYPE_DEFAULT = 0, /** * source type mic. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ AUDIO_SOURCE_TYPE_MIC = 1, } | SystemCapability.Multimedia.Media.VideoRecorder | SystemCapability.Multimedia.Media.AVRecorder | Yes | No | -| media.VideoSourceType | enum VideoSourceType { /** * surface raw data. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ VIDEO_SOURCE_TYPE_SURFACE_YUV = 0, /** * surface ES data. * @since 9 * @syscap SystemCapability.Multimedia.Media.AVRecorder */ VIDEO_SOURCE_TYPE_SURFACE_ES = 1, } | SystemCapability.Multimedia.Media.VideoRecorder | SystemCapability.Multimedia.Media.AVRecorder | Yes | No | - -**Adaptation Guide** - -For details, see the [reference](../../../application-dev/reference/apis/js-apis-media.md) for each API. - -## cl.media.3 Error Code Change - -Added the standard error code enumeration type [AVErrorCode9](../../../application-dev/reference/apis/js-apis-media.md#averrorcode)9+ that replaces the original error code enumeration type [MediaErrorCode](../../../application-dev/reference/apis/js-apis-media.md#mediaerrorcode)8+. - -**Change Impacts** - -The error code enumeration type [MediaErrorCode](../../../application-dev/reference/apis/js-apis-media.md#mediaerrorcode)8+ is still used for original APIs. [AVErrorCode9](../../../application-dev/reference/apis/js-apis-media.md#averrorcode)9+ is used for newly added APIs. - -**Key API/Component Changes** - -Added API - -| Class | Declaration | -| ----------------- | ------------------------------------------------------------ | -| media.AVErrorCode | enum AVErrorCode { /** * operation success. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_OK = 0, /** * permission denied. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_NO_PERMISSION = 201, /** * invalid parameter. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_INVALID_PARAMETER = 401, /** * the api is not supported in the current version * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_UNSUPPORT_CAPABILITY = 801, /** * the system memory is insufficient or the number of services reaches the upper limit * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_NO_MEMORY = 5400101, /** * current status does not allow or do not have permission to perform this operation * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_OPERATE_NOT_PERMIT = 5400102, /** * data flow exception information * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_IO = 5400103, /** * system or network response timeout. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_TIMEOUT = 5400104, /** * service process died. * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_SERVICE_DIED = 5400105, /** * unsupported media format * @since 9 * @syscap SystemCapability.Multimedia.Media.Core */ AVERR_UNSUPPORT_FORMAT = 5400106, } | - -API no longer maintained - -| Class | Declaration | -| -------------------- | ------------------------------------------------------------ | -| media.MediaErrorCode | enum MediaErrorCode { /** * operation success. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_OK = 0, /** * malloc or new memory failed. maybe system have no memory. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_NO_MEMORY = 1, /** * no permission for the operation. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_OPERATION_NOT_PERMIT = 2, /** * invalid argument. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_INVALID_VAL = 3, /** * an I/O error occurred. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_IO = 4, /** * operation time out. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_TIMEOUT = 5, /** * unknown error. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_UNKNOWN = 6, /** * media service died. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_SERVICE_DIED = 7, /** * operation is not permit in current state. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_INVALID_STATE = 8, /** * operation is not supported in current version. * @since 8 * @syscap SystemCapability.Multimedia.Media.Core */ MSERR_UNSUPPORTED = 9, } | - - \ No newline at end of file diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-testfwk_arkxtest.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-testfwk_arkxtest.md deleted file mode 100644 index 1206d659402df80e9892ca3e7b4eba1e729c9357..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-testfwk_arkxtest.md +++ /dev/null @@ -1,42 +0,0 @@ -# Test Subsystem ChangeLog - -## cl.testfwk_arkxtest.1 API Name Change of Rect - -The definition of **Rect**, an enumeration type that indicates the component bound information, is changed since version 4.0.2.1. - -## Change Impacts - -This change affects the **Rect** API provided by **@ohos.uitest**. If you have used the **Rect** API of **@ohos.uitest-api9** during test case development, adaptation is required so that the compilation can be successful in the SDK environment of the new version. - -## Key API/Component Changes - -### Rect9+ - -Before change - -| Name | Value | Description | -| ------- | ---- | ------------------------- | -| leftX | 1 | X-coordinate of the upper left corner of the component bounds.| -| topY | 2 | Y-coordinate of the upper left corner of the component bounds.| -| rightX | 3 | X-coordinate of the lower right corner of the component bounds.| -| bottomY | 4 | Y-coordinate of the lower right corner of the component bounds.| - -After change - -| Name | Value | Description | -| ------ | ---- | ------------------------- | -| left | 1 | X-coordinate of the upper left corner of the component bounds.| -| top | 2 | Y-coordinate of the upper left corner of the component bounds.| -| right | 3 | X-coordinate of the lower right corner of the component bounds.| -| bottom | 4 | Y-coordinate of the lower right corner of the component bounds.| - -## Adaptation Guide - -### Adaptation to the API Name Change - -You can replace the class name according to the following rules: - -- `leftX-->left` -- `topY-->top` -- `rightX-->right` -- `bottomY-->bottom` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-usb.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-usb.md deleted file mode 100644 index 4802e2b0ab8c74e9fabe42238cf13e95a8657599..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.1/changelogs-usb.md +++ /dev/null @@ -1,28 +0,0 @@ -# USB Subsystem API Changelog - -## cl.usb_manager.1 System API Change - -Runtime authentication is performed for system APIs of the USB manager. An asynchronous API throws an error code via **Promise.reject**. - -If your application is developed based on earlier versions, modify the return values of functions. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -| Bundle Name | Original API | New API | -| --------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| ohos.usbV9.d.ts | function setCurrentFunctions(funcs: FunctionType): Promise; | function setCurrentFunctions(funcs: FunctionType): Promise; | -| ohos.usbV9.d.ts | function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise; | function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise; | - -## cl.usb_manager.2 SDK API Deletion - -The **@ohos.usbV9.d.ts** file was deleted in OpenHarmony 4.0.5.5. - -You need to import **@ohos.usbManager** to use USB service APIs. - - ```ts - import usbManager from '@ohos.usbManager'; - ``` - -**Adaptation Guide** - -For details about usage of each API, see the [API Reference](../../../application-dev/reference/apis/js-apis-usbManager.md). diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.2/changelog-web.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.2/changelog-web.md deleted file mode 100644 index 26713e17d3561260b45b3b0da193693610e245c7..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.2/changelog-web.md +++ /dev/null @@ -1,63 +0,0 @@ -# Web Subsystem Changelog - -Compared with earlier versions, OpenHarmony 4.0.2.2 has the following API changes in its web subsystem: - -## cl.web.1 Removal of webDebuggingAccess - -The definition of the **webDebuggingAccess** API is inappropriate. This API should take effect for all **Web** instances. In light of this, it is removed and replaced by the new API **setWebDebuggingAccess**. - -**Change Impacts** - -This API must be deprecated and replaced with the **setWebDebuggingAccess** API. - -**Key API/Component Changes** - -| Class| API Type| Declaration| Change Type| -| -- | -- | -- | -- | -|WebAttribute | method | webDebugggingAccess(webDebugggingAccess: boolean): WebAttribute| Deleted | - -**Adaptation Guide** - -Use the new API **setWebDebuggingAccess**. - -## cl.web.2 Adding of setWebDebuggingAccess - -Added the static API **setWebDebuggingAccess** to **WebviewController**. It sets whether to enable web debugging works for all **Web** instances. - -**Change Impacts** - -The original **webDebugggingAccess** API must be replaced with the new API in the application. - -**Key API/Component Changes** - -| Class| API Type| Declaration| Change Type| -| -- | -- | -- | -- | -|webview.WebviewController | method | static setWebDebugggingAccess(webDebugggingAccess: boolean): void| Added| - -**Adaptation Guide** - -The following exemplifies how to enable web debugging: - -```ts -// xxx.ets -import web_webview from '@ohos.web.webview'; - -@Entry -@Component -struct WebComponent { - controller: web_webview.WebviewController = new web_webview.WebviewController(); - - aboutToAppear():void { - try { - web_webview.WebviewController.setWebDebuggingAccess(true); - } catch(error) { - console.error(`ErrorCode: ${error.code}, Message: ${error.message}`); - } - } - - build() { - Column() { - Web({ src: 'www.example.com', controller: this.controller }) - } - } -} diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-bundlemanager.md deleted file mode 100644 index f41df5b62252f03508110ed8931d47e6198b8b61..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-bundlemanager.md +++ /dev/null @@ -1,14 +0,0 @@ -# Bundle Management Subsystem Changelog - -## cl.bundlemanager.1 Changed Underlying Capability by Not Decompressing the HAP During HAP Installation - -The HAP will no longer be decompressed during installation. After the installation is complete, only the HAP file exists in the installation directory. As a result, the application must use the standard resource management interface, rather than a combined path, to access a resource file. - -**Change Impact**
-If the application uses a combined path to access a resource file, the access fails. It must use the resource management interface. - -**Key API/Component Changes**
-No API or component change is involved. - -**Adaptation Guide**
-The resource management subsystem provides the JS interface for accessing resource files. Reference: [Accessing Resource Files](../../../application-dev/reference/apis/js-apis-resource-manager.md#getrawfilecontent9) diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-global.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-global.md deleted file mode 100644 index e6e84330a176fb8e06a5a7a4dc626aba84b362ef..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.2/changelogs-global.md +++ /dev/null @@ -1,57 +0,0 @@ -# Globalization Subsystem Changelog - -## cl.resourceManager.1 Change in the Meaning of the Return Value for the API Used to Obtain the rawfile Descriptor - -Changed the meaning of the return value for the API used to obtain the rawfile descriptor after the non-decompression feature is added in this version. The change in the meaning of the return value, namely, **descriptor: RawFileDescriptor {fd, offset, length}**, is described as follows: - -**Before change:** - -**fd**: file descriptor for accessing the rawfile. - -**offset**: offset for accessing the rawfile. In this case, the value is **0**. - -**length**: size of the rawfile to access. - -**After change:** - -**fd**: file descriptor for accessing the HAP where the rawfile is located. - -**offset**: offset of the accessed rawfile relative to the HAP. - -**length**: size of the rawfile to access. - -**Change Impact** - -In versions earlier than 4.0.2.2, the rawfile can be accessed only through **fd**. In version 4.0.2.2 or later, the rawfile can be accessed only through **{fd, offset, and length}**. - -**Key API/Component Changes** - -| **Original API** | -| ---------------- | -| getRawFd(path: string, callback: AsyncCallback\): void | -| getRawFd(path: string): Promise\ | -| getRawFileDescriptor(path: string, callback: AsyncCallback\): void| -| getRawFileDescriptor(path: string): Promise\| -|| - -**Sample Code** - -The following is an example of calling the **getRawFd** API: -``` -try { - this.context.resourceManager.getRawFd("test.ogg", (error, value) => { - if (error != null) { - console.log(`callback getRawFd failed error code: ${error.code}, message: ${error.message}.`); - } else { - let fileDescriptor = { - fd = value.fd, - offset = value.offset, - length = value.length - } - this.avPlayer.fdSrc(fileDescriptor); // Take the audio player as an example. When calling fdSrc, pass fileDescriptor in addition to fd. - } - }); - } catch (error) { - console.error(`callback getRawFd failed, error code: ${error.code}, message: ${error.message}.`) - }; -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ability.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ability.md deleted file mode 100644 index 8558a1379ee2f6749b413e91d1af242b7e5577e5..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ability.md +++ /dev/null @@ -1,36 +0,0 @@ -# Ability Subsystem Changelog - -## cl.ability.1 RestartFlag Attribute Names Changed and Unsupported Attribute Deleted in appRecovery - -In the **appRecovery** API, the enum names of **RestartFlag** are changed from **NO_RESTART** upon a specific fault to **RESTART** upon a specific fault. -The **CPP_CRASH_NO_RESTART** enum is deleted. - -**Change Impact** - -If your application uses the **CPP_CRASH_NO_RESTART**, **JS_CRASH_NO_RESTART**, or **APP_FREEZE_NO_RESTART** attribute in versions earlier than 4.0.2.3, its behavior will change after an upgrade to 4.0.2.3. - -**Key API/Component Changes** - -**RestartFlag** 9+ - -Before change: -| Name | Value | Description | -| ----------------------------- | ---- | ------------------------------------------------------------ | -| ALWAYS_RESTART | 0 | The application is restarted in all cases.| -| CPP_CRASH_NO_RESTART | 0x0001 | The application is **not restarted** in the case of CPP_CRASH.| -| JS_CRASH_NO_RESTART | 0x0002 | The application is **not restarted** in the case of JS_CRASH.| -| APP_FREEZE_NO_RESTART | 0x0004 | The application is **not restarted** in the case of APP_FREEZE.| -| NO_RESTART | 0xFFFF | The application is not restarted in any case.| - -After change: -| Name | Value | Description | -| ---------- | ---- | ---------- | -| ALWAYS_RESTART | 0 | The application is restarted in all cases.| -| CPP_CRASH_NO_RESTART | NA | **Deleted.** The restart in this scenario is not supported.| -| RESTART_WHEN_JS_CRASH | 0x0001 | The application is **restarted** in the case of JS_CRASH.| -| RESTART_WHEN_APP_FREEZE | 0x0002 | The application is **restarted** in the case of APP_FREEZE.| -| NO_RESTART | 0xFFFF | The application is not restarted in any case.| - -**Adaptation Guide** - -Perform adaptation based on the new semantics. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ans.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ans.md deleted file mode 100644 index e33e0729c2726f145a754888b6e3b97911f9b2ae..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-ans.md +++ /dev/null @@ -1,20 +0,0 @@ -# ANS Subsystem Changelog - -## cl.notificationManager.1 API Renaming - -Renamed certain APIs to meet the naming conventions. - -**Change Impact** - -The underlying layer still supports the functions of the original APIs, and therefore these APIs can be called in OpenHarmony 4.0.2.3. - -**Key API/Component Changes** - -| Bundle Name | Original API | New API | -| --------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| ohos.notificationManager.d.ts | **function** supportDoNotDisturbMode(callback: AsyncCallback\): **void**; | **function** isSupportDoNotDisturbMode(callback: AsyncCallback\): **void**; | -| ohos.notificationManager.d.ts | **function** supportDoNotDisturbMode(): Promise\; | **function** isSupportDoNotDisturbMode(): Promise\; | - -**Adaptation Guide** - -Call the new API **isSupportDoNotDisturbMode**. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-arkui.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-arkui.md deleted file mode 100644 index 44851cb60473fe9f08708c8c80c989c014363d0f..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-arkui.md +++ /dev/null @@ -1,331 +0,0 @@ -# ArkUI Subsystem Changelog - -## cl.arkui.1 Restrictions on Data Type Declarations of State Variables - -1. The data types of state variables decorated by state decorators must be explicitly declared. They cannot be declared as **any**. - - Example: - - ```ts - // xxx.ets - @Entry - @Component - struct DatePickerExample { - // Incorrect: @State isLunar: any = false - @State isLunar: boolean = false - - build() { - ... - } - } - ``` - -2. The data type declaration of the **@State**, **@Provide**, **@Link**, or **@Consume** decorated state variables can consist of only one of the primitive data types or reference data types. - - The **Length**, **ResourceStr**, and **ResourceColor** types are combinations of primitive data types or reference data types. Therefore, they cannot be used by the aforementioned types of state variables. - For details about the definitions of **Length**, **ResourceStr**, and **ResourceColor**, see [Types](../../../application-dev/reference/arkui-ts/ts-types.md). - - Example: - - ```ts - // xxx.ets - @Entry - @Component - struct IndexPage { - // Incorrect: @State message: string | Resource = 'Hello World' - @State message: string = 'Hello World' - // Incorrect: @State message: ResourceStr = $r('app.string.hello') - @State resourceStr: Resource = $r('app.string.hello') - - build() { - Row() { - Column() { - Text(`${this.message}`) - .fontSize(50) - .fontWeight(FontWeight.Bold) - } - .width('100%') - } - .height('100%') - } - } - ``` - - ![hello](../../../application-dev/quick-start/figures/hello.PNG) - -**Change Impacts** - -1. If the data type of a state variable decorated by a state decorator is declared as **any**, a build error message will be displayed. - ```ts - // ArkTS:WARN Please define an explicit type, not any. - @State isLunar: any = false - ``` -3. If the data type of a **@State**, **@Provide**, **@Link**, and or **@Consume** decorated state variable is Length, **ResourceStr**, or **ResourceColor**, - a build error will occur. - - ```ts - /* ArkTS:ERROR The state variable type here is 'ResourceStr', it contains both a simple type and an object type, - which are not allowed to be defined for state variable of a struct.*/ - @State message: ResourceStr = $r('app.string.hello') - ``` - -**Key API/Component Changes** - -N/A - -**Adaptation Guide** - -1. Explicitly declare the data type for state variables decorated by state decorators. -3. - Adapt the **@State**, **@Provide**, **@Link**, and **@Consume** decorated variables based on the following code snippet so that they do not use the **Length(string|number|Resource)**, **ResourceStr(string|Resource)**, and **ResourceColor(string|number|Color|Resource)** types: - ```ts - // Incorrect: - @State message: ResourceStr = $r('app.string.hello') - // Corrected: - @State resourceStr: Resource = $r('app.string.hello') - ``` - -## cl.arkui.2 Initialization Rules and Restrictions of Custom Components' Member Variables - -Comply with the following rules when using constructors to initialize member variables: - -| **From the Variable in the Parent Component (Right) to the Variable in the Child Component (Below)**| **regular** | **@State** | **@Link** | **@Prop** | **@Provide** | **@Consume** | **@ObjectLink** | -| -------------------------- | ----------- | ---------- | --------- | --------- | ------------ | ------------ | --------------- | -| **regular** | Supported | Supported | Supported | Supported | Not supported | Not supported | Supported | -| **@State** | Supported | Supported | Supported | Supported | Supported | Supported | Supported | -| **@Link** | Not supported | Supported (1) | Supported (1) | Supported (1) | Supported (1) | Supported (1) | Supported (1) | -| **@Prop** | Supported | Supported | Supported | Supported | Supported | Supported | Supported | -| **@Provide** | Supported | Supported | Supported | Supported | Supported | Supported | Supported | -| **@Consume** | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported | -| **@ObjectLink** | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported | Not supported | - -| **From the Variable in the Parent Component (Right) to the Variable in the Child Component (Below)**| **@StorageLink** | **@StorageProp** | **@LocalStorageLink** | **@LocalStorageProp** | -| -------------------------- | ---------------- | ---------------- | --------------------- | --------------------- | -| **regular** | Supported | Not supported | Not supported | Not supported | -| **@State** | Supported | Supported | Supported | Supported | -| **@Link** | Supported (1) | Supported (1) | Supported (1) | Supported (1) | -| **@Prop** | Supported | Supported | Supported | Supported | -| **@Provide** | Supported | Supported | Supported | Supported | -| **@Consume** | Not supported | Not supported | Not supported | Not supported | -| **@ObjectLink** | Not supported | Not supported | Not supported | Not supported | - -> **NOTE** -> -> **Supported (1)**: The dollar sign ($) must be used, for example, **this.$varA**. -> -> **regular**: refers to a regular variable that is not decorated by any decorator. - -**@StorageLink**, **@StorageProp**, **@LocalStorageLink**, and **@LocalStorageProp** variables cannot be initialized from the parent component. - -**Change Impacts** - -1. **@LocalStorageLink** and **@LocalStorageProp** variables cannot be initialized from the parent component. Otherwise, a build error message will be displayed. - ```ts - @Entry - @Component - struct LocalStorageComponent { - build() { - Column() { - Child({ - /* ArkTS:WARN Property 'simpleVarName' in the custom component 'Child' cannot - initialize here (forbidden to specify). */ - simpleVarName: 1, - /* ArkTS:WARN Property 'objectName' in the custom component 'Child' cannot - initialize here (forbidden to specify). */ - objectName: new ClassA("x") - }) - } - } - } - @Component - struct Child { - @LocalStorageLink("storageSimpleProp") simpleVarName: number = 0; - @LocalStorageProp("storageObjectProp") objectName: ClassA = new ClassA("x"); - build() {} - } - ``` -2. The **@ObjectLink** decorated variable cannot be directly initialized from a decorated variable in the parent component. The source of the parent component must be an array item or object attribute decorated by **@State**, **@Link**, **@Provide**, **@Consume**, or **@ObjectLink**. - ```ts - let NextID : number = 0; - - @Observed class ClassA { - public id : number; - public c: number; - constructor(c: number) { - this.id = NextID++; - this.c = c; - } - } - - @Component - struct Child { - @ObjectLink varA : ClassA; - build() { - Row() { - Text('ViewA-' + this.varA.id) - } - } - } - - @Component - struct Parent { - @Link linkValue: ClassA - build() { - Column() { - /* ArkTS:ERROR The @Link property 'linkValue' cannot be assigned to - the @ObjectLink property 'varA'.*/ - Child({ varA: this.linkValue }) - } - } - } - ``` - -**Key API/Component Changes** - -N/A - -**Adaptation Guide** -1. When building a child component, do not assign values to the variables decorated by **@LocalStorageLink** and **@LocalStorageProp** in the child component. - - To change these variables from the parent component, use the API provided by the **LocalStorage** (such as the **set** API) to assign values to them. - -2. For details about how to use **@ObjectLink**, see [\@Observed and \@ObjectLink Decorators: Observing Attribute Changes in Nested Class Objects](../../../application-dev/quick-start/arkts-observed-and-objectlink.md). - -## cl.arkui.3 Change of the onScrollBegin Event of the \ and \ Components - -The **onScrollBegin** event of the **\** and **\** components is renamed **onScrollFrameBegin**. In the **onScrollBegin** event, the amount to scroll by is indicated by the **dx** and **dy** parameters. In the **onScrollFrameBegin** event, it is indicated by the **offset** parameter. The **onScrollFrameBegin** event adds the **ScrollState** parameter to indicate whether the component is in the finger dragging or inertial scrolling state. - -**Change Impacts** - -The **onScrollBegin** event is deprecated and must be replaced with the **onScrollFrameBegin** event. - -**Key API/Component Changes** - -| Old Event | New Event | -| ---------------------------------------- | ---------------------------------------- | -| onScrollBegin(event: (dx: number, dy: number) => { dxRemain: number, dyRemain: number }) | onScrollFrameBegin(event: (offset: number, state: ScrollState) => { offsetRemain: number }) | - -For details about the **onScrollFrameBegin** event, see the following: -- [Scroll Events](../../../application-dev/reference/arkui-ts/ts-container-scroll.md#events) -- [List Events](../../../application-dev/reference/arkui-ts/ts-container-list.md#events) - -**Adaptation Guide** - -Switch the event from **onScrollBegin** to **onScrollFrameBegin**, and use the **offset** parameter in **onScrollFrameBegin**, rather than the **dx** and **dy** parameters in **onScrollBegin**, to indicate the amount to scroll by. - -Example of using the **onScrollBegin** event: -```ts -@Entry -@Component -struct NestedScroll { - @State listPosition: number = 0; // 0 indicates scrolling to the top of the list, 1 indicates scrolling to the middle of the list, and 2 indicates scrolling to the bottom of the list. - private arr: number[] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] - private scrollerForScroll: Scroller = new Scroller() - private scrollerForList: Scroller = new Scroller() - - build() { - Flex() { - Scroll(this.scrollerForScroll) { - Column() { - Text("Scroll Area") - .width("100%").height("40%").backgroundColor(0X330000FF) - .fontSize(16).textAlign(TextAlign.Center) - .onClick(() => { - this.scrollerForList.scrollToIndex(5) - }) - - List({ space: 20, scroller: this.scrollerForList }) { - ForEach(this.arr, (item) => { - ListItem() { - Text("ListItem" + item) - .width("100%").height("100%").borderRadius(15) - .fontSize(16).textAlign(TextAlign.Center).backgroundColor(Color.White) - }.width("100%").height(100) - }, item => item) - } - .width("100%") - .height("50%") - .edgeEffect(EdgeEffect.None) - .onReachStart(() => { - this.listPosition = 0 - }) - .onReachEnd(() => { - this.listPosition = 2 - }) - .onScrollBegin((dx: number, dy: number) => { - if ((this.listPosition == 0 && dy >= 0) || (this.listPosition == 2 && dy <= 0)) { - this.scrollerForScroll.scrollBy(0, -dy) - return { dxRemain: dx, dyRemain: 0 } - } - this.listPosition = 1 - return { dxRemain: dx, dyRemain: dy }; - }) - - Text("Scroll Area") - .width("100%").height("40%").backgroundColor(0X330000FF) - .fontSize(16).textAlign(TextAlign.Center) - } - } - .width("100%").height("100%") - }.width('100%').height('100%').backgroundColor(0xDCDCDC).padding(20) - } -} -``` -Example of using the **onScrollFrameBegin** event: -```ts -@Entry -@Component -struct NestedScroll { - @State listPosition: number = 0; // 0 indicates scrolling to the top of the list, 1 indicates scrolling to the middle of the list, and 2 indicates scrolling to the bottom of the list. - private arr: number[] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] - private scrollerForScroll: Scroller = new Scroller() - private scrollerForList: Scroller = new Scroller() - - build() { - Flex() { - Scroll(this.scrollerForScroll) { - Column() { - Text("Scroll Area") - .width("100%").height("40%").backgroundColor(0X330000FF) - .fontSize(16).textAlign(TextAlign.Center) - .onClick(() => { - this.scrollerForList.scrollToIndex(5) - }) - - List({ space: 20, scroller: this.scrollerForList }) { - ForEach(this.arr, (item) => { - ListItem() { - Text("ListItem" + item) - .width("100%").height("100%").borderRadius(15) - .fontSize(16).textAlign(TextAlign.Center).backgroundColor(Color.White) - }.width("100%").height(100) - }, item => item) - } - .width("100%") - .height("50%") - .edgeEffect(EdgeEffect.None) - .onReachStart(() => { - this.listPosition = 0 - }) - .onReachEnd(() => { - this.listPosition = 2 - }) - .onScrollFrameBegin((offset: number, state: ScrollState) => { - if ((this.listPosition == 0 && offset >= 0) || (this.listPosition == 2 && offset <= 0)) { - this.scrollerForScroll.scrollBy(0, -offset) - return { offsetRemain: 0 } - } - this.listPosition = 1 - return { offsetRemain: offset }; - }) - - Text("Scroll Area") - .width("100%").height("40%").backgroundColor(0X330000FF) - .fontSize(16).textAlign(TextAlign.Center) - } - } - .width("100%").height("100%") - }.width('100%').height('100%').backgroundColor(0xDCDCDC).padding(20) - } -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-usb.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-usb.md deleted file mode 100644 index 909d8f69d6c116ced05232af8f3801de89282cfd..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.3/changelogs-usb.md +++ /dev/null @@ -1,37 +0,0 @@ -# USB Subsystem API Changelog - -## cl.usb_manager.1 Bundle Name Change - -For applications developed based on earlier versions, you need to change the name of the imported bundle. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -| Original Bundle Name | New Bundle Name | -|------------------ | ------------------- | -| ohos.usbV9.d.ts | ohos.usbManager.d.ts | - -**Adaptation Guide** - -Change **@ohos.usbV9** to **@ohos.usbManager** when importing the bundle. - -## cl.usb_manager.2 API Parameter Type Change - -For applications developed based on earlier versions, you need to modify the parameter type. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -| Original Class Name | New Class Name | -|---------------| ------------- | -| interface USBConfig | interface USBConfiguration | - -| Original Namespace | New Namespace | -|---------------| ------------- | -| @namespace usbV9 | @namespace usbManager | - -| Bundle Name | Original API | New API | -| --------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| ohos.usbManager.d.ts | function setConfiguration(pipe: USBDevicePipe, config: USBConfig): number; | function setConfiguration(pipe: USBDevicePipe, config: USBConfiguration): number; | - -**Adaptation Guide** - -When calling **setConfiguration**, change the parameter type from **USBConfig** to **USBConfiguration**. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.2.5/changelogs-telephony.md b/en/release-notes/changelogs/OpenHarmony_4.0.2.5/changelogs-telephony.md deleted file mode 100644 index b038e6f11f9891215fa862ad6a4ac9bd30c83ff4..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.2.5/changelogs-telephony.md +++ /dev/null @@ -1,129 +0,0 @@ -# Telephony Subsystem Changelog - - - -## cl.telephony.radio.1 isNrSupported API Change - - -NR is a proper noun and must be capitalized. - -You need to adapt your application. - - - -**Change Impact** - -The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected. - - - -**Key API/Component Changes** - -- Involved APIs: - - isNrSupported(): boolean; - isNrSupported(slotId: number): boolean; - -- Before change: - -```js -function isNrSupported(): boolean; -function isNrSupported(slotId: number): boolean; -``` - -- After change: - -```js -function isNRSupported(): boolean; -function isNRSupported(slotId: number): boolean; -``` - - - -**Adaptation Guide** - -Use the new API. The sample code is as follows: - -```js -let result = radio.isNrSupported(); -console.log("Result: "+ result); -``` - - -```js -let slotId = 0; -let result = radio.isNRSupported(slotId); -console.log("Result: "+ result); -``` - - -## cl.telephony.call.2 dial API Change - -Changed the `dial` API to the `dialCall` API in the call module of the telephony subsystem since API version 9. - -You need to adapt your application. - - -**Change Impact** - -The `dial` API is deprecated and cannot be used anymore. Use the `dialCall` API instead. Otherwise, relevant functions will be affected. - - -**Key API/Component Changes** - -- Involved APIs: - - dial(phoneNumber: string, callback: AsyncCallback): void; - dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback): void; - dial(phoneNumber: string, options?: DialOptions): Promise; - -- Before change: - -```js -function dial(phoneNumber: string, callback: AsyncCallback): void; -function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback): void; -function dial(phoneNumber: string, options?: DialOptions): Promise; -``` - -- After change: - -```js -function dialCall(phoneNumber: string, callback: AsyncCallback): void; -function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback): void; -function dialCall(phoneNumber: string, options?: DialCallOptions): Promise; -``` - - - -**Adaptation Guide** - -The `dial` API is deprecated and cannot be used anymore. Use the `dialCall` API instead. -Use the new API. The sample code is as follows: - -```js -call.dialCall("138xxxxxxxx", (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -call.dialCall("138xxxxxxxx", { - accountId: 0, - videoState: 0, - dialScene: 0, - dialType: 0, -}, (err, data) => { - console.log(`callback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`); -}); -``` - - -```js -try { - call.dialCall('138xxxxxxxx'); - console.log(`dialCall success, promise: data->${JSON.stringify(data)}`); -} catch (error) { - console.log(`dialCall fail, promise: err->${JSON.stringify(error)}`); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-accesstoken.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-accesstoken.md deleted file mode 100644 index 832acd65c2ad41b5b824d9f29a046130e9217c89..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-accesstoken.md +++ /dev/null @@ -1,33 +0,0 @@ -# App Access Control Subsystem ChangeLog - -OpenHarmony 4.0.3.2 has the following changes in the APIs of the app access control subsystem: - -## cl.access_token.1 getPermissionUsedRecords Name Change - -Changed **getPermissionUsedRecords** to **getPermissionUsedRecord**. - -**Change Impact** - -The **getPermissionUsedRecords()** API cannot be used in OpenHarmony 4.0.3.3 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - function getPermissionUsedRecords - -- Before change: - - ```ts - function getPermissionUsedRecords - ``` - -- After change: - - ```ts - function getPermissionUsedRecord - ``` - -**Adaptation Guide** - -Use **getPermissionUsedRecord()**. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-security.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-security.md deleted file mode 100644 index caf1866f3a5caec4bb78d7f7991208f8c9da46e9..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-security.md +++ /dev/null @@ -1,86 +0,0 @@ -# Security Subsystem Changelog - -## cl.security.1 ParamsSpec Attribute Name Change -Changed **algoName** of the **ParamsSpec** structure to **algName**. - -**Change Impact** - -For the released JavaScript APIs that use **ParamsSpec** and its child classes **IvParamsSpec**, **GcmParamsSpec**, and **CcmParamsSpec** as parameters or return values, **algoName** must be changed to **algName**. -The change must be made for all the applications that use these APIs. Otherwise, the compilation in the SDK of the new version cannot be successful. - -**Key API/Component Changes** - -API prototype before the change: - - ```ts -interface ParamsSpec { - /** - * Indicates the algorithm name. Should be set before initialization of a cipher object. - * @type { string } - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - algoName : string; -} - ``` -API prototype after the change: - - ```ts -interface ParamsSpec { - /** - * Indicates the algorithm name. Should be set before initialization of a cipher object. - * @type { string } - * @syscap SystemCapability.Security.CryptoFramework - * @since 9 - */ - algName : string; -} - ``` - -**Adaptation Guide** - -Change **algoName** to **algName** in **ParamsSpec** and its child classes **IvParamsSpec**, **GcmParamsSpec**, and **CcmParamsSpec**. - ```ts -function genGcmParamsSpec() { - let arr = [0, 0, 0, 0 , 0, 0, 0, 0, 0, 0 , 0, 0]; // 12 bytes - let dataIv = new Uint8Array(arr); - let ivBlob = {data : dataIv}; - - arr = [0, 0, 0, 0 , 0, 0, 0, 0]; // 8 bytes - let dataAad = new Uint8Array(arr); - let aadBlob = {data : dataAad}; - - arr = [0, 0, 0, 0 , 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0, 0, 0]; // 16 bytes - let dataTag = new Uint8Array(arr); - let tagBlob = {data : dataTag}; - let gcmParamsSpec = {iv : ivBlob, aad : aadBlob, authTag : tagBlob, algName : "GcmParamsSpec"}; - return gcmParamsSpec; -} - ``` -For details, see the APIs of **ParamsSpec** in [Crypto Framework](../../../application-dev/reference/apis/js-apis-cryptoFramework.md#paramsspec). - -## Change of cl.security.2 ECC Algorithm Parameter Name from ECC512 to ECC521 - -**Change Impact** - -Behavior of released JavaScript APIs will be changed. -The application needs to be adapted to obtain the correct result in the SDK of the new version. - -**Key API/Component Changes** -The parameter passed in the APIs is changed from **ECC512** to **ECC521**. The related APIs remain unchanged. For details, see [Key Generation Specifications](../../../application-dev/security/cryptoFramework-overview.md#key-generation-specifications). The following APIs are involved: - -cryptoFramework.createAsyKeyGenerator - -cryptoFramework.createSign - -cryptoFramework.createVerify - -cryptoFramework.createKeyAgreement - -**Adaptation Guide** - -```js -import cryptoFramework from "@ohos.security.cryptoFramework" - -let asyKeyGenerator = cryptoFramework.createAsyKeyGenerator("ECC521"); -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-web.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-web.md deleted file mode 100644 index 44380d11950e3f018b719776edf08964d6b4c0af..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelog-web.md +++ /dev/null @@ -1,467 +0,0 @@ -# Web Subsystem Changelog - -Compared with earlier versions, OpenHarmony 4.0.3.2 has the following API changes in its web subsystem: - -## cl.web.1 HitTestTypeV9 Name Change - -Renamed the enum class **HitTestTypeV9** **WebHitTestType** to meet the naming conventions. - -**Change Impact** - -The enum class **HitTestTypeV9** and APIs that use **HitTestTypeV9** as a parameter or return value cannot be used in OpenHarmony 4.0.3.2 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - enum HitTestTypeV9 - -- Before change: - - ```ts - enum HitTestTypeV9 - ``` - -- After change: - - ```ts - enum WebHitTestType - ``` - -**Adaptation Guide** - -Replace **HitTestTypeV9** with **WebHitTestType**. - -## cl.web.2 HeaderV9 Name Change - -Renamed the struct **HeaderV9** **WebHeader** to meet the naming conventions. - -**Change Impact** - -The struct **HeaderV9** and APIs that use **HeaderV9** as a parameter or return value cannot be used in OpenHarmony 4.0.3.2 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - interface HeaderV9 - -- Before change: - - ```ts - interface HeaderV9 - ``` - -- After change: - - ```ts - interface WebHeader - ``` - -**Adaptation Guide** - -Replace **HeaderV9** with **WebHeader**. - -## cl.web.3 Member Change of HitTestValue - -Rename the member variable **HitTestTypeV9** in the **HitTestValue** struct **WebHitTestType** to meet the naming conventions. - -**Change Impact** - -The struct **HitTestValue** and APIs that use **HitTestValue** as a parameter or return value cannot be used in OpenHarmony 4.0.3.2 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - interface HitTestValue - -- Before change: - - ```ts - interface HitTestValue { - - /** - * Get the hit test type. - * - * @since 9 - */ - type: HitTestTypeV9; - - /** - * Get the hit test extra data. - * - * @since 9 - */ - extra: string; - } - ``` - -- After change: - - ```ts - interface HitTestValue { - - /** - * Get the hit test type. - * - * @since 9 - */ - type: WebHitTestType; - - /** - * Get the hit test extra data. - * - * @since 9 - */ - extra: string; - } - ``` - -**Adaptation Guide** - -Replace **HitTestTypeV9** with **WebHitTestType**. - -## cl.web.4 Parameter Type Change of loadUrl - -Changed the type of the **headers** parameter in **loadUrl** to **WebHeader** to meet the naming conventions. - -**Change Impact** - -The **loadUrl** API that uses the **headers** parameter cannot be used in OpenHarmony 4.0.3.2 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - loadUrl(url: string | Resource, headers?: Array\): void - -- Before change: - - ```ts - loadUrl(url: string | Resource, headers?: Array): void - ``` - -- After change: - - ```ts - loadUrl(url: string | Resource, headers?: Array): void - ``` - -**Adaptation Guide** - -Change the type of the **headers** parameter in **loadUrl** from **HeaderV9** to **WebHeader**. - -## cl.web.5 Return Value Type Change of getHitTest - -Changed the return value type of the **getHitTest** API to **WebHitTest** to meet the naming conventions. - -**Change Impact** - -The **getHitTest** API cannot be used in OpenHarmony 4.0.3.2 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - getHitTest(): HitTestTypeV9 - -- Before change: - - ```ts - getHitTest(): HitTestTypeV9 - ``` - -- After change: - - ```ts - getHitTest(): WebHitTestType - ``` - -**Adaptation Guide** - -Change the return value type of the **getHitTest** API from **HitTestTypeV9** to **WebHitTestType**. - -## cl.web.6 Moving of the WebMessagePort Class - -Moved the **WebMessagePort** class to **@ohos.web.webview.d.ts** and added error throwing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing. - -**Key API/Component Changes** - -- Involved APIs: - - postMessageEvent(message: WebMessageEvent): void; - onMessageEvent(callback: (result: string) => void): void; - -- Before change: - - ```ts - postMessageEvent(message: WebMessageEvent): void; - onMessageEvent(callback: (result: string) => void): void; - ``` - -- After change: - - ```ts - postMessageEvent(message: WebMessage): void; - onMessageEvent(callback: (result: WebMessage) => void): void; - ``` - -**Adaptation Guide** - -Instead of importing APIs from the original **WebMessagePort** class, import APIs from **@ohos.web.webview** as follows: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.7 Moving of the HitTestValue Class - -Moved the **HitTestValue** class to **@ohos.web.webview.d.ts**; changed **HitTestValue** from a class to an API; changed the **getType** and **getExtra** from APIs to attributes. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. - -**Key API/Component Changes** - -- Involved APIs: - - getType(): HitTestType; - getExtra(): string; - -- Before change: - - ```ts - getType(): HitTestType; - getExtra(): string; - ``` - -- After change: - - ```ts - type: WebHitTestType; - extra: string; - ``` - -**Adaptation Guide** - -Instead of importing APIs from the original **HitTestValue** class, import APIs from **@ohos.web.webview** as follows: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.8 Moving of API Version 9 APIs Under WebCookie - -Moved APIs of API version 9 in the **WebCookie** class to **web.webview.webview.WebCookieManager** -and added error throwing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing. -The APIs in the class are static. - -**Key API/Component Changes** - -- Involved APIs: - - isCookieAllowed(): boolean; - isThirdPartyCookieAllowed(): boolean; - putAcceptCookieEnabled(accept: boolean): void; - putAcceptThirdPartyCookieEnabled(accept: boolean): void; - setCookie(url: string, value: string): boolean; - saveCookieSync(): boolean; - getCookie(url: string): string; - existCookie(): boolean; - deleteEntireCookie(): void; - deleteSessionCookie(): void; - -- Before change: - - ```ts - isCookieAllowed(): boolean; - isThirdPartyCookieAllowed(): boolean; - putAcceptCookieEnabled(accept: boolean): void; - putAcceptThirdPartyCookieEnabled(accept: boolean): void; - setCookie(url: string, value: string): boolean; - saveCookieSync(): boolean; - getCookie(url: string): string; - existCookie(): boolean; - deleteEntireCookie(): void; - deleteSessionCookie(): void; - ``` - -- After change: - - ```ts - static isCookieAllowed(): boolean; - static isThirdPartyCookieAllowed(): boolean; - static putAcceptCookieEnabled(accept: boolean): void; - static putAcceptThirdPartyCookieEnabled(accept: boolean): void; - static setCookie(url: string, value: string): void; - static saveCookieAsync(): Promise; - static saveCookieAsync(callback: AsyncCallback): void; - static getCookie(url: string): string; - static existCookie(): boolean; - static deleteEntireCookie(): void; - static deleteSessionCookie(): void; - ``` - -**Adaptation Guide** - -Instead of importing APIs from the original **WebCookie** class, import APIs from **@ohos.web.webview** as follows: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.9 Moving of API Version 9 APIs Under WebController - -Moved APIs of API version 9 in the **WebController** class to **web.webview.webview.WebviewController** and added error throwing. - -**Change Impact** - -If your application is developed based on earlier versions, note that the **d.ts** file storage location and the name of the module to be imported are changed. In addition, be mindful of the error codes now that the APIs in the class support error code processing. -The **getDefaultUserAgent** API is renamed **getUserAgent**. - -**Key API/Component Changes** - -- Involved APIs: - - zoomIn(): boolean; - zoomOut(): boolean; - createWebMessagePorts(): Array\; - postMessage(options: { message: WebMessageEvent, uri: string}): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getDefaultUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - -- Before change: - - ```ts - zoomIn(): boolean; - zoomOut(): boolean; - createWebMessagePorts(): Array; - postMessage(options: { message: WebMessageEvent, uri: string}): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getDefaultUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - ``` - -- After change: - - ```ts - zoomIn(): void; - zoomOut(): void; - createWebMessagePorts(): Array; - postMessage(name: string, ports: Array, uri: string): void; - getHitTestValue(): HitTestValue; - getWebId(): number; - getUserAgent(): string; - getTitle(): string; - getPageHeight(): number; - backOrForward(step: number): void; - searchAllAsync(searchString: string): void; - clearMatches(): void; - searchNext(forward: boolean): void; - clearSslCache(): void; - clearClientAuthenticationCache(): void; - getUrl(): string; - ``` - -**Adaptation Guide** - -Instead of importing APIs from the original **WebController** class, import APIs from **@ohos.web.webview** as follows: - - ```ts - import web_webview from '@ohos.web.webview'; - ``` - -## cl.web.10 Moving of the WebAsyncController Class - -Moved the APIs in the **WebAsyncController** class to the **web.webview.webview.WebviewController** class and added error throwing. - -**Change Impact** - -If your application is developed based on earlier versions, pay attention to error code processing. - -**Key API/Component Changes** - -- Involved APIs: - - storeWebArchive(baseName: string, autoName: boolean): Promise\; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback\): void; - -- Before change: - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback): void; - ``` - -- After change: - - ```ts - storeWebArchive(baseName: string, autoName: boolean): Promise; - storeWebArchive(baseName: string, autoName: boolean, callback : AsyncCallback): void; - ``` - -**Adaptation Guide** - -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('saveWebArchive') - .onClick(() => { - try { - this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => { - if (error) { - console.info(`save web archive error: ` + JSON.stringify(error)) - return; - } - if (filename != null) { - console.info(`save web archive success: ${filename}`) - } - }); - } catch (error) { - console.error(`ErrorCode: ${error.code}, Message: ${error.message}`); - } - }) - Web({ src: 'www.example.com', controller: this.controller }) - } - } - } - ``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-account_os_account.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-account_os_account.md deleted file mode 100644 index 8678507b6c8d8449e8cac47e6b8669611865bec2..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-account_os_account.md +++ /dev/null @@ -1,391 +0,0 @@ -# Account Subsystem Changelog - -OpenHarmony 4.0.3.2 has the following changes in account module APIs: - -## cl.account_os_account.1 App Account API isAccountRemovable Renamed - -Changed **isAccountRemovable** in the **Authenticator** class to **checkAccountRemovable**. - -**Change Impact** - -The **isAccountRemovable** API in the **Authenticator** class cannot be used from 4.0.3.2. Use **checkAccountRemovable** instead. - -**Key API/Component Changes** - -- Involved APIs: - ```ts - class Authenticator { - ... - isAccountRemovable - ... - } - ``` -- Before change: - - ```ts - class Authenticator { - ... - /** - * Checks whether the specified account can be removed. - * @param name Indicates the account name. - * @param callback Indicates the authenticator callback. - * @returns void. - * @since 9 - */ - isAccountRemovable(name: string, callback: AuthCallback): void; - ... - } - ``` - -- After change: - - ```ts - class Authenticator { - ... - /** - * Checks whether the specified account can be removed. - * @param name Indicates the account name. - * @param callback Indicates the authenticator callback. - * @returns void. - * @since 9 - */ - checkAccountRemovable(name: string, callback: AuthCallback): void; - ... - } - ``` - -## cl.account_os_account.2 OS Account API checkConstraintEnabled Renamed - -Changed **checkConstraintEnabled** to **checkOsAccountConstraintEnabled**. - -**Change Impact** - -The **checkConstraintEnabled** API cannot be used from 4.0.3.2. Use **checkOsAccountConstraintEnabled** instead. - -**Key API/Component Changes** - -- Involved APIs: -``` -interface AccountManager { - ... - checkConstraintEnabled - ... -} -``` - -- Before change: - - ```ts - checkConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback): void; - checkConstraintEnabled(localId: number, constraint: string): Promise; - ``` - -- After change: - - ```ts - checkOsAccountConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback): void; - checkOsAccountConstraintEnabled(localId: number, constraint: string): Promise; - ``` - -## cl.account_os_account.3 OS Account API **checkOsAccountConstraintEnabled** Permission Scenario Change - -Added an optional permission **ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS** to the **checkOsAccountConstraintEnabled** API. - -**Change Impact** - -In 4.0.3.2 and later versions, an app with the **ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS** permission can also call **checkOsAccountConstraintEnabled**. -The use of **ohos.permission.MANAGE_LOCAL_ACCOUNTS** is not affected. - -**Key API/Component Changes** - -- Involved APIs: -``` -interface AccountManager { - ... - checkOsAccountConstraintEnabled - ... -} -``` - -- Before change: - - ```ts - ... - * @permission ohos.permission.MANAGE_LOCAL_ACCOUNTS - ... - checkOsAccountConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback): void; - checkOsAccountConstraintEnabled(localId: number, constraint: string): Promise; - ``` - -- After change: - - ```ts - ... - * @permission ohos.permission.MANAGE_LOCAL_ACCOUNTS or ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS - ... - checkOsAccountConstraintEnabled(localId: number, constraint: string, callback: AsyncCallback): void; - checkOsAccountConstraintEnabled(localId: number, constraint: string): Promise; - ``` - -## cl.account_os_account.4 OS Account API queryOsAccountLocalIdFromProcessd Renamed - -Changed **queryOsAccountLocalIdFromProcess** to **getOsAccountLocalId**. - -**Change Impact** - -The **queryOsAccountLocalIdFromProcess** API cannot be used from 4.0.3.2. Use **getOsAccountLocalId** instead. - -**Key API/Component Changes** - -- Involved APIs: -``` -interface AccountManager { - ... - queryOsAccountLocalIdFromProcess - ... -} -``` -- Before change: - - ```ts - queryOsAccountLocalIdFromProcess(callback: AsyncCallback): void; - queryOsAccountLocalIdFromProcess(): Promise; - ``` - -- After change: - - ```ts - getOsAccountLocalId(callback: AsyncCallback): void; - getOsAccountLocalId(): Promise; - ``` - -## cl.account_os_account.5 OS Account API queryOsAccountLocalIdFromUid Renamed - -Changed **queryOsAccountLocalIdFromUid** to **getOsAccountLocalIdForUid**. - -**Change Impact** - -The **queryOsAccountLocalIdFromUid** API cannot be used from 4.0.3.2. Use **getOsAccountLocalIdForUid** instead. - -**Key API/Component Changes** - -- Involved APIs: -``` -interface AccountManager { - ... - queryOsAccountLocalIdFromUid - ... -} -``` - -- Before change: - - ```ts - queryOsAccountLocalIdFromUid(uid: number, callback: AsyncCallback): void; - queryOsAccountLocalIdFromUid(uid: number): Promise; - ``` - -- After change: - - ```ts - getOsAccountLocalIdForUid(uid: number, callback: AsyncCallback): void; - getOsAccountLocalIdForUid(uid: number): Promise; - ``` - -## cl.account_os_account.6 OS Account API queryOsAccountLocalIdFromDomain Renamed - -Changed **queryOsAccountLocalIdFromDomain** to **getOsAccountLocalIdForDomain**. - -**Change Impact** - -The **queryOsAccountLocalIdFromDomain** API cannot be used from 4.0.3.2. Use **getOsAccountLocalIdForDomain** instead. - -**Key API/Component Changes** - -- Involved APIs: -``` -interface AccountManager { - ... - queryOsAccountLocalIdFromDomain - ... -} -``` - -- Before change: - - ```ts - queryOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback): void; - queryOsAccountLocalIdFromDomain(domainInfo: DomainAccountInfo): Promise; - ``` - -- After change: - - ```ts - getOsAccountLocalIdForDomain(domainInfo: DomainAccountInfo, callback: AsyncCallback): void; - getOsAccountLocalIdForDomain(domainInfo: DomainAccountInfo): Promise; - ``` - -## cl.account_os_account.7 OS Account API getActivatedOsAccountIds Renamed - -Changed **getActivatedOsAccountIds** to **getActivatedOsAccountLocalIds**. - -**Change Impact** - -The **getActivatedOsAccountIds** API cannot be used from 4.0.3.2. Use **getActivatedOsAccountLocalIds** instead. - -**Key API/Component Changes** - -- Involved APIs: -``` -interface AccountManager { - ... - getActivatedOsAccountIds - ... -} -``` - -- Before change: - - ```ts - getActivatedOsAccountIds(callback: AsyncCallback>): void; - getActivatedOsAccountIds(): Promise>; - ``` - -- After change: - - ```ts - getActivatedOsAccountLocalIds(callback: AsyncCallback>): void; - getActivatedOsAccountLocalIds(): Promise>; - ``` - -## cl.account_os_account.8 OS Account API queryOsAccountLocalIdBySerialNumber Renamed - -Changed **queryOsAccountLocalIdBySerialNumber** to **getOsAccountLocalIdForSerialNumber**. - -**Change Impact** - -The **queryOsAccountLocalIdBySerialNumber** API cannot be used from 4.0.3.2. Use **getOsAccountLocalIdForSerialNumber** instead. - -**Key API/Component Changes** - -- Involved APIs: -``` -interface AccountManager { - ... - queryOsAccountLocalIdBySerialNumber - ... -} -``` - -- Before change: - - ```ts - queryOsAccountLocalIdBySerialNumber(serialNumber: number, callback: AsyncCallback): void; - queryOsAccountLocalIdBySerialNumber(serialNumber: number): Promise; - ``` - -- After change: - - ```ts - getOsAccountLocalIdForSerialNumber(serialNumber: number, callback: AsyncCallback): void; - getOsAccountLocalIdForSerialNumber(serialNumber: number): Promise; - ``` - -## cl.account_os_account.9 OS Account API querySerialNumberByOsAccountLocalId Renamed - -Changed **querySerialNumberByOsAccountLocalId** to **getSerialNumberForOsAccountLocalId**. - -**Change Impact** - -The **querySerialNumberByOsAccountLocalId** API cannot be used from 4.0.3.2. Use **getSerialNumberForOsAccountLocalId** instead. - -**Key API/Component Changes** - -- Involved APIs: -``` -interface AccountManager { - ... - querySerialNumberByOsAccountLocalId - ... -} -``` - -- Before change: - - ```ts - querySerialNumberByOsAccountLocalId(localId: number, callback: AsyncCallback): void; - querySerialNumberByOsAccountLocalId(localId: number): Promise; - ``` - -- After change: - - ```ts - getSerialNumberForOsAccountLocalId(localId: number, callback: AsyncCallback): void; - getSerialNumberForOsAccountLocalId(localId: number): Promise; - ``` - -## cl.account_os_account.10 OS Account API getBundleIdFromUid Renamed - -Changed **getBundleIdFromUid** to **getBundleIdForUid**. - -**Change Impact** - -The **getBundleIdFromUid** API cannot be used from 4.0.3.2. Use **getBundleIdForUid** instead. - -**Key API/Component Changes** - -- Involved APIs: -``` -interface AccountManager { - ... - getBundleIdFromUid - ... -} -``` - -- Before change: - - ```ts - getBundleIdFromUid(uid: number, callback: AsyncCallback): void; - getBundleIdFromUid(uid: number): Promise; - ``` - -- After change: - - ```ts - getBundleIdForUid(uid: number, callback: AsyncCallback): void; - getBundleIdForUid(uid: number): Promise; - ``` - -## cl.account_os_account.11 OS Account API queryOsAccountConstraintSourceTypes Renamed - -Changed **queryOsAccountConstraintSourceTypes** to **getOsAccountConstraintSourceTypes**. - -**Change Impact** - -The **queryOsAccountConstraintSourceTypes** API cannot be used from 4.0.3.2. Use **getOsAccountConstraintSourceTypes** instead. - -**Key API/Component Changes** - -- Involved APIs: -``` -interface AccountManager { - ... - queryOsAccountConstraintSourceTypes - ... -} -``` - -- Before change: - - ```ts - queryOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback>): void; - queryOsAccountConstraintSourceTypes(localId: number, constraint: string): Promise>; - ``` - -- After change: - - ```ts - getOsAccountConstraintSourceTypes(localId: number, constraint: string, callback: AsyncCallback>): void; - getOsAccountConstraintSourceTypes(localId: number, constraint: string): Promise>; - ``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-arkui.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-arkui.md deleted file mode 100644 index 2429518bb6a952b89a0f3c1a77bc16043b463bb5..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-arkui.md +++ /dev/null @@ -1,87 +0,0 @@ -# ArkUI Subsystem Changelog - -## cl.arkui.1 Return Value Type Change of getInspectorTree - -**Change Impact** - -The code that uses the **getInspectorTree** API in versions earlier than OpenHarmony 4.0.3.2 must be adapted. - -**Key API/Component Changes** - -The return value of the **getInspectorTree** API is changed from the string type to the Object type. - -**Adaptation Guide** - -Adapt the code that takes the return value of **getInspectorTree** as a string.The sample code is as follows: - -- Before change: - -```typescript -console.info(getInspectorTree()) -``` - -- After change: - -```typescript -console.info(JSON.stringify(getInspectorTree())) -``` - -## cl.arkui.2 Deprecation the forceRebuild Attribute of \ - -**Change Impact** - -None. The attribute has no effect. - -**Key API/Component Changes** - -Deprecate the **forceRebuild** attribute of the **\** component. - -**Adaptation Guide** - -Delete the code that uses the **forceRebuild** attribute. This will not affect the functionality of the **\** component. - - -## cl.arkui.1 API Changes of the Router Module in API Version 9 - -Replaced the **enableAlertBeforeBackPage**, **enableBackPageAlert**, **disableAlertBeforeBackPage** APIs in **ohos.router** to **showAlertBeforeBackPage** and **hideAlertBeforeBackPage** to facilitate development. - -**Change Impact** - -The **enableAlertBeforeBackPage** and **enableBackPageAlert** APIs must be replaced with **showAlertBeforeBackPage**. - -The **disableAlertBeforeBackPage** API must be replaced with **hideAlertBeforeBackPage**. - -**Key API/Component Changes** - -**router.enableAlertBeforeBackPage**, **router.enableBackPageAlert**, and **router.disableAlertBeforeBackPage** - -* Before change: - -```ts -router.enableAlertBeforeBackPage(); -router.enableBackPageAlert() -``` - -* After change: - -```ts -router.showAlertBeforeBackPage() -``` - -* Before change: - -```ts -router.disableAlertBeforeBackPage() -``` - -* After change: - -```ts -router.hideAlertBeforeBackPage() -``` - -**Adaptation Guide** - -Replace **enableAlertBeforeBackPage** and **enableBackPageAlert** with **showAlertBeforeBackPage**. - -Replace **disableAlertBeforeBackPage** with **hideAlertBeforeBackPage**. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-bundlemanager.md deleted file mode 100644 index 7edc40101a4bd5098765e78d56e7da7508cfd70e..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-bundlemanager.md +++ /dev/null @@ -1,27 +0,0 @@ -# Bundle Manager Subsystem Changelog - -## cl.bundlemanager.1 Deleted getAbilityIcon - -The **getAbilityIcon** API in [@ohos.bundle.bundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts) is deleted. The **getMediaContent** API in [@ohos.resourceManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.resourceManager.d.ts) can be used instead. - -**Change Impact**
-The **getAbilityIcon** API does not take effect. - -**Key API/Component Changes**
-The **getAbilityIcon** API is deleted from **@ohos.bundle.bundleManager.d.ts**. - -**Adaptation Guide**
-If your application uses **getAbilityIcon** in **@ohos.bundle.bundleManager.d.ts**, replace it with **getMediaContent** in **@ohos.resourceManager.d.ts**. You need to obtain the icon ID in advance. For details, see [Usage Guide](../../../application-dev/reference/apis/js-apis-resource-manager.md#getmediacontent9). - -## cl.bundlemanager.2 Added Error Code 202 - -Error code 202 is added to the bundle manager subsystem. If a non-system application calls a system API of API version 9 or later provided by the bundle manager subsystem, error code 202 is returned. - -**Change Impact**
-Error code 202 is returned when a non-system application calls a system API of API version 9 or later provided by the bundle manager subsystem. - -**Key API/Component Changes**
-If a non-system application calls a system API of API version 9 or later provided by the bundle manager subsystem, error code 202 is returned. - -**Adaptation Guide**
-No adaptation is required. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-ces.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-ces.md deleted file mode 100644 index 452f10ca4a14709640ad529022287dd3d5aa452d..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-ces.md +++ /dev/null @@ -1,57 +0,0 @@ -# Common Event Subsystem Changelog - -## cl.ces.1 Event Enum Change of ohos.commonEvent - -**Change Impact** - -For applications developed based on earlier versions, the following common events of the **.ohos.commonEvent** module must be adapted. - -| Common Event | -| ----------------------------------- | -| COMMON_EVENT_PACKAGE_CACHE_CLEARED | -| COMMON_EVENT_USB_STATE | -| COMMON_EVENT_USB_PORT_CHANGED | -| COMMON_EVENT_VOLUME_REMOVED | -| COMMON_EVENT_VOLUME_UNMOUNTED | -| COMMON_EVENT_VOLUME_MOUNTED | -| COMMON_EVENT_VOLUME_BAD_REMOVAL | -| COMMON_EVENT_VOLUME_EJECT | -| COMMON_EVENT_SLOT_CHANGE | -| COMMON_EVENT_SPN_INFO_CHANGED | -| COMMON_EVENT_QUICK_FIX_APPLY_RESULT | - -**Key API/Component Changes** - -Replace the common events in **ohos.commonEvent** with those in **ohos.commonEventManager**. - -| Common Event in ohos.commonEvent | Common Event in ohos.commonEventManager | -| ----------------------------------- | ----------------------------------- | -| COMMON_EVENT_PACKAGE_CACHE_CLEARED | COMMON_EVENT_PACKAGE_CACHE_CLEARED | -| COMMON_EVENT_USB_STATE | COMMON_EVENT_USB_STATE | -| COMMON_EVENT_USB_PORT_CHANGED | COMMON_EVENT_USB_PORT_CHANGED | -| COMMON_EVENT_VOLUME_REMOVED | COMMON_EVENT_VOLUME_REMOVED | -| COMMON_EVENT_VOLUME_UNMOUNTED | COMMON_EVENT_VOLUME_UNMOUNTED | -| COMMON_EVENT_VOLUME_MOUNTED | COMMON_EVENT_VOLUME_MOUNTED | -| COMMON_EVENT_VOLUME_BAD_REMOVAL | COMMON_EVENT_VOLUME_BAD_REMOVAL | -| COMMON_EVENT_VOLUME_EJECT | COMMON_EVENT_VOLUME_EJECT | -| COMMON_EVENT_SLOT_CHANGE | COMMON_EVENT_SLOT_CHANGE | -| COMMON_EVENT_SPN_INFO_CHANGED | COMMON_EVENT_SPN_INFO_CHANGED | -| COMMON_EVENT_QUICK_FIX_APPLY_RESULT | COMMON_EVENT_QUICK_FIX_APPLY_RESULT | - -**Adaptation Guide** - -Replace the events in **ohos.commonEvent** with those in **ohos.commonEventManager**. - -Before change: - -```typescript -import commonEvent from '@ohos.commonEvent'; -let event: string = commonEvent.Support.COMMON_EVENT_PACKAGE_CACHE_CLEARED; -``` - -After change: - -```typescript -import commonEventManager from '@ohos.commonEventManager'; -let event: string = commonEventManager.Support.COMMON_EVENT_PACKAGE_CACHE_CLEARED; -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-filemanagement.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-filemanagement.md deleted file mode 100644 index 41cb99ecf701967d1ebe28a7e35de35896455fa6..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-filemanagement.md +++ /dev/null @@ -1,25 +0,0 @@ -# File Management Subsystem Changelog - -## cl.filemanagement.1 Filter Module Change - -Moved **Filter** from **@ohos.fileio** to **@ohos.file.fs**. The attributes of **Filter** remain unchanged. - -**Change Impact** - -If your application is developed using the APIs of earlier versions, note that the position of **Filter** in the **d.ts** file and the module name are changed. The **Filter** type is moved to **@ohos.file.fs**. - -**Key API/Component Changes** - -Before the change, **Filter** is in the **@ohos.fileio** module and imported as follows: - -```js -import Filter from '@ohos.fileio'; -``` - -**Adaptation Guide** - -Now, **Filter** is in the **@ohos.file.fs** module and imported as follows: - -```js -import Filter from '@ohos.file.fs'; -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-pasteboard.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-pasteboard.md deleted file mode 100644 index 8d8b439cc3a7461162c51abc2f84d09f00412e3d..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-pasteboard.md +++ /dev/null @@ -1,66 +0,0 @@ -# Pasteboard Subsystem Changelog - -OpenHarmony 4.0.3.2 has the following changes in the APIs of the pasteboard subsystem: - -## cl.pasteboard.1 convertToTextV9 API Change - -Renamed **convertToTextV9** **toPlainText()** and changed the API from asynchronous to synchronous. - -**Change Impact** - -Applications developed using the **convertToTextV9** API in versions earlier than OpenHarmony 4.0.3.3 cannot be used in OpenHarmony 4.0.3.3 and later versions. - -**Key API/Component Changes** - -- Involved APIs: - - function convertToTextV9 - -- Before change: - - ```ts - convertToTextV9(callback: AsyncCallback): void; - convertToTextV9(): Promise; - ``` - -- After change: - - ```ts - toPlainText(): string; - ``` - - -**Adaptation Guide** - -Replace **convertToTextV9**, an asynchronous API, with **toPlainText**, a synchronous API. - -## cl.pasteboard.2 ShareOption Enum Name Change - -Changed the enum names of **ShareOption** from UpperCamelCase to all caps. - -**Change Impact** - -Applications developed using the **InApp/LocalDevice/CrossDevice** attributes in versions earlier than OpenHarmony 4.0.3.3 cannot be used in OpenHarmony 4.0.3.3 and later versions. - -**Key API/Component Changes** - -ShareOption9+ - -Before change: -| Name| Value| Description | -| ---- |---|-------------------| -| InApp | 0 | Only intra-application pasting is allowed. | -| LocalDevice | 1 | Paste is allowed in any application on the local device.| -| CrossDevice | 2 | Paste is allowed in any application across devices. | - - -After change: -| Name| Value| Description | -| ---- |---|-------------------| -| INAPP | 0 | Only intra-application pasting is allowed. | -| LOCALDEVICE | 1 | Paste is allowed in any application on the local device.| -| CROSSDEVICE | 2 | Paste is allowed in any application across devices. | - -**Adaptation Guide** - -Perform adaptation based on the new semantics. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-power.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-power.md deleted file mode 100644 index c4506242ea6b189ec9a403e0b5ce85d2490f1b34..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-power.md +++ /dev/null @@ -1,82 +0,0 @@ -# Power Subsystem Changelog - -## cl.powermgr.1 CommonEventBatteryChangedCode API Change - -Changed the **CommonEventBatteryChangedCode** enum class in [@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) as follows: - -- Changed the class name to **CommonEventBatteryChangedKey**. -- Deleted **EXTRA_MAX_CURRENT**, **EXTRA_MAX_VOLTAGE**, and **EXTRA_CHARGE_COUNTER**. -- Changed the enum value type from numeric to string. - -#### Change Impact - -The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected. - -#### Key API/Component Changes - -Before change: - -| 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. | -| EXTRA_CAPACITY_LEVEL | 11 | Battery level of the device. | - -After change: - -| Name | Value | Description | -| -------------------- | --------------- | -------------------------------------------------- | -| EXTRA_SOC | "soc" | Remaining battery level in percentage. | -| EXTRA_CHARGE_STATE | "chargeState" | Battery charging status of the device. | -| EXTRA_HEALTH_STATE | "healthState" | Battery health status of the device. | -| EXTRA_PLUGGED_TYPE | "pluggedType" | Type of the charger connected to the device. | -| EXTRA_VOLTAGE | "voltage" | Battery voltage of the device. | -| EXTRA_TECHNOLOGY | "technology" | Battery technology of the device. | -| EXTRA_TEMPERATURE | "temperature" | Battery temperature of the device. | -| EXTRA_PRESENT | "present" | Whether the battery is supported by the device or installed.| -| EXTRA_CAPACITY_LEVEL | "capacityLevel" | Battery level of the device. | - -#### Adaptation Guide - -For details, see the API reference of the [@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) API. -## cl.powermgr.2 estimatedRemainingChargeTime API Change - -Changed the **estimatedRemainingChargeTime** API in [@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) to a system API. - -#### Change Impact - -The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected. - -#### Adaptation Guide - -For details, see the API reference of the [@ohos.batteryInfo](../../../application-dev/reference/apis/js-apis-battery-info.md) API. - -## cl.powermgr.3 System Common Event Behavior Change - -The following common events are provided in the battery information through [@ohos.commonEventManager (common event module)](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-commonEventManager.md): - -- COMMON_EVENT_BATTERY_LOW: common event for low battery level. It includes the remaining battery in percentage. -- COMMON_EVENT_BATTERY_OKAY: common event for normal battery level. It includes the remaining battery in percentage. -- COMMON_EVENT_POWER_CONNECTED: common event for connection to an external power supply. It includes the type of the power supply to which the device is connected. -- COMMON_EVENT_POWER_DISCONNECTED: common event for disconnection from an external power supply. It includes the type of the power supply from which the device is disconnected. -- COMMON_EVENT_CHARGING: common event for starting of battery charging. It includes the battery charging status. -- COMMON_EVENT_DISCHARGING: common event for ending of battery charging. It includes the battery charging status. - -Changed the method of obtaining data from common events from **CommonEventData.data** to **CommonEventData.code**. - -#### Change Impact - -The application developed based on earlier versions needs to adapt the method for obtaining common events in the battery information. Otherwise, the original service logic will be affected. - -#### Adaptation Guide - -For details, see the API reference of the [@ohos.commonEventManager (Common Event Manager)](../../../application-dev/reference/apis/js-apis-commonEventManager.md) API. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-sensor.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-sensor.md deleted file mode 100644 index 7a2e2946d69a0f116616152cd82eb8a2bae96c58..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-sensor.md +++ /dev/null @@ -1,49 +0,0 @@ -# Pan-sensor Subsystem Changelog - -## cl.ability.1 Attribute Name Changed from venderName to vendorName in the Sensor API - -**venderName** is changed to **vendorName**. - -**Change Impact** - -The **venderName** attribute cannot be used anymore. Use **vendorName** instead. - -**Key API/Component Changes** - -- Before change: - -```js - interface Sensor { - sensorName:string; /**< Sensor name */ - venderName:string; /**< Sensor vendor version */ - firmwareVersion:string; /**< Sensor firmware version */ - hardwareVersion:string; /**< Sensor hardware version */ - sensorId:number; /**< Sensor type ID, {@code SensorType} */ - maxRange:number; /**< Maximum measurement range of the sensor */ - minSamplePeriod:number; /**< Minimum sample period allowed, in ns */ - maxSamplePeriod:number; /**< maximum sample period allowed, in ns */ - precision:number; /**< Sensor accuracy */ - power:number; /**< Sensor power */ - } -``` - -- After change: - -```js - interface Sensor { - sensorName:string; /**< Sensor name */ - vendorName:string; /**< Sensor vendor version */ - firmwareVersion:string; /**< Sensor firmware version */ - hardwareVersion:string; /**< Sensor hardware version */ - sensorId:number; /**< Sensor type ID, {@code SensorType} */ - maxRange:number; /**< Maximum measurement range of the sensor */ - minSamplePeriod:number; /**< Minimum sample period allowed, in ns */ - maxSamplePeriod:number; /**< maximum sample period allowed, in ns */ - precision:number; /**< Sensor accuracy */ - power:number; /**< Sensor power */ - } -``` - -**Adaptation Guide** - -Replace **venderName** with **vendorName**. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md deleted file mode 100644 index 506d8dccccf8f89a173b036c1bff4750af34b59d..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.2/changelogs-startup.md +++ /dev/null @@ -1,15 +0,0 @@ -# Startup Subsystem JS API Changelog - -## cl.startup.1 Bundle Name Change - -**Change Impact** - -The original bundle name **@ohos.systemParameterV9** will be deleted and cannot be used anymore. Use the new bundle name **@ohos.systemParameterEnhance** instead. - -**Adaptation Guide** - -Change the bundle name from **@ohos.systemParameterV9** to **@ohos.systemParameterEnhance**. The APIs remain unchanged. The following is the sample code: - -```js -import @ohos.systemParameterEnhance -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.3.3/changelogs-bundlemanager.md b/en/release-notes/changelogs/OpenHarmony_4.0.3.3/changelogs-bundlemanager.md deleted file mode 100644 index 867fa9fafd4e6edad6eb857250ab0cc6826df4ba..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.3.3/changelogs-bundlemanager.md +++ /dev/null @@ -1,111 +0,0 @@ -# Bundle Manager Subsystem Changelog -## cl.bundlemanager.1 Bottom-Layer Capability Changed So That Only the System Resource HAP Supports Custom Permissions - -Only the system resource HAP supports custom permissions. During HAP parsing, the bundle manager module parses the **definePermissions** field only in the configuration file of the resource HAP (bundle name: **ohos.global.systemres**), but not this field in other HAPs. This field is used to define permissions. -If an application requires custom permissions, add the permissions under the **definePermissions** field in the [configuration file](https://gitee.com/openharmony/utils_system_resources/blob/master/systemres/main/config.json) of the system resource HAP. For details about the permission format, see [Defining Permissions](../../../application-dev/quick-start/module-structure.md#internal-structure-of-the-definepermissions-attribute). - - -**Change Impact**
-After an upgrade to the new version image, the custom permission of the application does not take effect, and the authorization fails. - -**Key API/Component Changes**
-The bottom-layer capability of the bundle manager module is changed. Only the system resource HAP supports custom permissions. - -**Adaptation Guide**
-If an application requires custom permissions, add the permissions under the **definePermissions** field in the [configuration file](https://gitee.com/openharmony/utils_system_resources/blob/master/systemres/main/config.json) of the system resource HAP. For details about the permission format, see [Defining Permissions](../../../application-dev/quick-start/module-structure.md#internal-structure-of-the-definepermissions-attribute). - -## cl.bundlemanager.2 Level-2 Module File Names Changed - -The level-2 module file names of the bundle manager module are changed to their respective API names in the file, as listed below. - -| Original File Name|New File Name| -|----|----| -| bundleManager/abilityInfo.d.ts | bundleManager/AbilityInfo.d.ts | -| bundleManager/applicationInfo.d.ts | bundleManager/ApplicationInfo.d.ts | -| bundleManager/bundleInfo.d.ts | bundleManager/BundleInfo.d.ts | -| bundleManager/dispatchInfo.d.ts | bundleManager/DispatchInfo.d.ts | -| bundleManager/elementName.d.ts | bundleManager/ElementName.d.ts | -| bundleManager/extensionAbilityInfo.d.ts | bundleManager/ExtensionAbilityInfo.d.ts | -| bundleManager/hapModuleInfo.d.ts | bundleManager/HapModuleInfo.d.ts | -| bundleManager/launcherAbilityInfo.d.ts | bundleManager/LauncherAbilityInfo.d.ts | -| bundleManager/metadata.d.ts | bundleManager/Metadata.d.ts | -| bundleManager/packInfo.d.ts | bundleManager/BundlePackInfo.d.ts | -| bundleManager/permissionDef.d.ts | bundleManager/PermissionDef.d.ts | -| bundleManager/remoteAbilityInfo.d.ts | bundleManager/RemoteAbilityInfo.d.ts | -| bundleManager/shortcutInfo.d.ts | bundleManager/ShortcutInfo.d.ts | - -To sum up, except **packInfo**, which is changed to **BundlePackInfo**, the other file names are changed to start with uppercase letters. - -**Change Impact**
-The change of the level-2 module file names does not affect the use of the level-1 module. If a level-2 module interface under **bundleManager** is directly imported to the .ts file and an error is reported during compilation on DevEco Studio, you must change the name of the imported file. - -**Key API/Component Changes**
-The .d.ts file names in the **bundleManager** folder are changed to their respective API names in the file. - -**Adaptation Guide**
-Generally, no adaptation is required. If a file in the **bundleManager** folder is directly imported to the application, you must change the imported file name as follows: - -**Before change:** -```ts -import {AbilityInfo} from 'bundleManger/abilityInfo'; -import {ExtensionAbilityInfo} from 'bundleManger/extensionAbilityInfo'; -import {BundlePackInfo} from 'bundleManger/packInfo'; -``` -**After change:** -```ts -import {AbilityInfo} from 'bundleManger/AbilityInfo'; -import {ExtensionAbilityInfo} from 'bundleManger/ExtensionAbilityInfo'; -import {BundlePackInfo} from 'bundleManger/BundlePackInfo'; -``` - -## cl.bundlemanager.3 LaunchType Enum Type Name Changed from STANDARD to MULTITON - -The enum type name of [LaunchType](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts) is changed from **STANDARD** to **MULTITON**. The enum value remains unchanged, indicating the multi-instance type. - -**Change Impact**
-The **LaunchType.STANDARD** type does not take effect. - -**Key API/Component Changes**
-The enum type name of **LaunchType** is changed from **STANDARD** to **MULTITON**. - -**Adaptation Guide**
-Change **LaunchType.STANDARD** to **LaunchType.MULTITON** for your application. - -## cl.bundlemanager.4 Changed the isVisible Field in the AbilityInfo Struct to exported - -The **isVisible** field in the [AbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts) struct is changed to **exported**. The type remains unchanged, indicating whether the ability can be exported and used by other abilities. - -**Change Impact**
-The **isVisible** field does not take effect. - -**Key API/Component Changes**
-The **isVisible** field in the [AbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts) struct is changed to **exported**, and the type remains unchanged. - -**Adaptation Guide**
-Change **isVisible** to **exported** for your application. - -## cl.bundlemanager.5 Changed the isVisible Field in the ExtensionAbilityInfo Struct to exported - -The **isVisible** field in the [ExtensionAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ExtensionAbilityInfo.d.ts) struct is changed to **exported**. The type remains unchanged, indicating whether the ability can be exported and used by other abilities. - -**Change Impact**
-The **isVisible** field does not take effect. - -**Key API/Component Changes**
-The **isVisible** field in the [ExtensionAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/ExtensionAbilityInfo.d.ts) struct is changed to **exported**, and the type remains unchanged. - -**Adaptation Guide**
-Change **isVisible** to **exported** for your application. - -## cl.bundlemanager.6 Changed the visible Field in the ModuleAbilityInfo Struct to exported - -The **visible** field in the [ModuleAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundlePackInfo.d.ts) struct is changed to **exported**. The type remains unchanged, indicating whether the ability can be exported and used by other abilities. - -**Change Impact**
-The **visible** field does not take effect. - -**Key API/Component Changes**
-The **visible** field in the [ModuleAbilityInfo](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/BundlePackInfo.d.ts) struct is changed to **exported**, and the type remains unchanged. - -**Adaptation Guide**
-Change **visible** to **exported** for your application. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.5.1/changelog-resourceschedule.md b/en/release-notes/changelogs/OpenHarmony_4.0.5.1/changelog-resourceschedule.md deleted file mode 100644 index 225ac70d1f4e080f5d83f0bcb768a9afbbc03e1f..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.5.1/changelog-resourceschedule.md +++ /dev/null @@ -1,32 +0,0 @@ -# Resource Scheduler Subsystem Changelog - -## cl.resourceschedule.workScheduler - -The WorkSchedulerExtensionAbility provides a default WorkSchedulerExtensionContext. - -**Change Impact** - -Applications developed based on OpenHarmony4.0.5.1 and later SDK versions can use the default context attribute as the context environment of a WorkSchedulerExtension. - -**Key API/Component Changes** - -The context attribute is added to **@ohos.WorkSchedulerExtensionAbility.d.ts**. The **application/WorkSchedulerExtensionContext.d.ts** file is added, which is inherited from ExtensionContext. - -| Module| Class| Method/Attribute/Enum/Constant| Change Type| -| -- | -- | -- | -- | -| @ohos.WorkSchedulerExtensionAbility.d.ts | WorkSchedulerExtensionAbility | context: WorkSchedulerExtensionContext; | Added| -| application/WorkSchedulerExtensionContext.d.ts | WorkSchedulerExtensionContext | - | Added| - -**Adaptation Guide** - -The context is obtained through a WorkSchedulerExtensionAbility child class instance. - -```ts -import WorkSchedulerExtensionAbility from '@ohos.WorkSchedulerExtensionAbility'; - -class MyWorkSchedulerExtensionAbility extends WorkSchedulerExtensionAbility { - onWorkStart(workInfo) { - let WorkSchedulerExtensionContext = this.context; // Obtain the WorkSchedulerExtensionContext. - } -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-ability.md b/en/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-ability.md deleted file mode 100644 index 229a965c8cff75c6e3a95c415b5f2449e2b10535..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-ability.md +++ /dev/null @@ -1,64 +0,0 @@ -# Ability Framework Changelog - -## Added the saveAppState API to cl.ability.appRecovery - -The API **saveAppState (context?: UIAbilityContext): boolean;** is added. - -**Change Impact** - -When developing an application based on OpenHarmony 4.0.5.2 or a later SDK version, you can use **saveAppState** with the ability context specified to save the state of the specified ability. - -**Key API/Component Changes** - -The **saveAppState** API is added to the **@ohos.app.ability.appRecovery.d.ts** file. - -| Module| Class| Method/Attribute/Enum/Constant| Change Type| -| -- | -- | -- | -- | -| @ohos.app.ability.appRecovery.d.ts | appRecovery | saveAppState(context?: UIAbilityContext): boolean; | Added| - -**Adaptation Guide** - -Call **saveAppState** with the UIAbility context specified to save the ability state. - -```ts -import appRecovery from '@ohos.app.ability.appRecovery'; -onBackground() { - hilog.info(0x0000, '[demo]', '%{public}s', 'EntryAbility onBackground'); - appRecovery.saveAppState(this.context) -} -``` -## Added the setRestartWant API to cl.ability.appRecovery. - -The API **setRestartWant (want: Want): void;** is added. - -**Change Impact** - -To develop an application based on OpenHarmony 4.0.5.2 or a later SDK version, you can use **setRestartWant** to set the ability to recover. - -**Key API/Component Changes** - -The **setRestartWant** API is added to the **@ohos.app.ability.appRecovery.d.ts** file. - -| Module| Class| Method/Attribute/Enum/Constant| Change Type| -| -- | -- | -- | -- | -| @ohos.app.ability.appRecovery.d.ts | appRecovery | setRestartWant(want: Want): void; | Added| - -**Adaptation Guide** - -Call **setRestartWant** to set the ability to recover. - -```ts -import appRecovery from '@ohos.app.ability.appRecovery'; -Button ("Start to Recover Ability") - .fontSize(40) - .fontWeight(FontWeight.Bold) - .onClick(()=> { - // set restart want - let want = { - bundleName: "ohos.samples.recovery", - abilityName: "RecoveryAbility" - }; - - appRecovery.setRestartWant(want); - }) -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-miscdevice.md b/en/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-miscdevice.md deleted file mode 100644 index 100975f0aec6f581d517b3b2d0ee0e598de4388e..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.5.2/changelogs-miscdevice.md +++ /dev/null @@ -1,94 +0,0 @@ -# Pan-sensor Subsystem Changelog - -## cl.vibrator Added isSupportEffect - -The **isSupportEffect** API is added. - -**Change Impact** - -Applications developed based on OpenHarmony4.0.5.2 or a later SDK version can use **isSupportEffect** to check whether the passed effect ID is supported. - -**Key API/Component Changes** - -The **isSupportEffect** API is added in **@ohos.vibrator.d.ts**. - -| Module| Class| Method/Attribute/Enum/Constant| Change Type| -| -- | -- | -- | -- | -| @ohos.vibrator.d.ts | vibrator | isSupportEffect(effectId: string, callback: AsyncCallback<boolean>): void | Added| -| @ohos.vibrator.d.ts | vibrator | isSupportEffect(effectId: string): Promise<boolean> | Added| - -**Adaptation Guide** - -Call **isSupportEffect** to check whether the passed effect ID is supported. - -```ts -import vibrator from '@ohos.vibrator'; -try { - // Check whether 'haptic.clock.timer' is supported. - vibrator.isSupportEffect('haptic.clock.timer', function (err, state) { - if (err) { - console.error('isSupportEffect failed, error:' + JSON.stringify(err)); - return; - } - console.log('The effectId is ' + (state ? 'supported' : 'unsupported')); - if (state) { - try { - vibrator.startVibration({ // To use startVibration, you must configure the ohos.permission.VIBRATE permission. - type: 'preset', - effectId: 'haptic.clock.timer', - count: 1, - }, { - usage: 'unknown' - }, (error) => { - if(error) { - console.error('haptic.clock.timer vibrator error:' + JSON.stringify(error)); - } else { - console.log('haptic.clock.timer vibrator success'); - } - }); - } catch (error) { - console.error('Exception in, error:' + JSON.stringify(error)); - } - } - }) -} catch (error) { - console.error('Exception in, error:' + JSON.stringify(error)); -} -``` - -## cl.vibrator Added stopVibration - -The **stopVibration** API is added. - -**Change Impact** - -Applications developed based on OpenHarmony4.0.5.2 or a later SDK version can use **stopVibration** to stop vibration in all modes. - -**Key API/Component Changes** - -The **stopVibration** API is added in **@ohos.vibrator.d.ts**. - -| Module | Class | Method/Attribute/Enum/Constant | Change Type| -| ------------------- | -------- | -------------------------------------------------------- | -------- | -| @ohos.vibrator.d.ts | vibrator | stopVibration(callback: AsyncCallback<void>): void | Added | -| @ohos.vibrator.d.ts | vibrator | stopVibration(): Promise<void> | Added | - -**Adaptation Guide** - -Call **stopVibration** to stop vibration in all modes. - -```ts -import vibrator from '@ohos.vibrator'; -try { - // Stop vibration in all modes. - vibrator.stopVibration(function (error) { - if (error) { - console.log('error.code' + error.code + 'error.message' + error.message); - return; - } - console.log('Callback returned to indicate successful.'); - }) -} catch (error) { - console.info('errCode: ' + error.code + ' ,msg: ' + error.message); -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-imf.md b/en/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-imf.md deleted file mode 100644 index f158d99d9a0023c67ad982fc6b687563121f4dac..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-imf.md +++ /dev/null @@ -1,19 +0,0 @@ -# Input Method Framework Subsystem – Input Method Framework Service Changelog - - -## @ohos.InputMethodSubtype Change of name, label, and id -Changed the **name**, **label**, and **id** attributes since API version 9. - -**Change Impact** - -Applications must be adapted to the following changes. - -| Name| Before Change| After Change| -| -------- | -------- | -------- | -| label | (1) Value: ID of the input method subtype.| (1) Value: Label of the input method subtype.| -| name | (1) Description: Name of the input method subtype. (2) Value: Label of the input method subtype.| (1) Description: Bundle name of the input method; (2) Value: Bundle name of the input method.| -| id | (1) Value: Bundle name of the input method.| (1) Value: ID of the input method subtype.| - -**Adaptation Guide** - -Update the code to adapt to the preceding changes. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-screenlock.md b/en/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-screenlock.md deleted file mode 100644 index deeaac319aecfd4ba2824b8f23370d6fe2601adc..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-screenlock.md +++ /dev/null @@ -1,157 +0,0 @@ -# Theme Framework Subsystem – Screenlock Management Service Changelog - - -## cl.screenlock.1 Permission Change of isLocked and unlock -Changed the **isLocked** and **unlock** APIs to system APIs since API version 9. - -You need to adapt your application based on the following information. - -**Change Impact** - -The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected. - -- Involved APIs: - -```js - function isLocked(): boolean; - function unlock(callback: AsyncCallback): void; - function unlock():Promise; -``` - -- Before change: - -```js - * Checks whether the screen is currently locked. - * - * @returns Returns {@code true} if the screen is currently locked; returns {@code false} otherwise. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function isLocked(): boolean; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function unlock(callback: AsyncCallback): void; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function unlock():Promise; -``` - -- After change: - -```js - * Checks whether the screen is currently locked. - * - * @returns Returns {@code true} if the screen is currently locked; returns {@code false} otherwise. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.ScreenLock - * @systemapi Hide this for inner system use. - * @since 9 - */ - function isLocked(): boolean; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function unlock(callback: AsyncCallback): void; - - /** - * Unlock the screen. - * - * @returns Returns {@code true} if the screen is unlocked successfully; returns {@code false} otherwise. - * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. - * @syscap SystemCapability.MiscServices.ScreenLock - * @since 9 - */ - function unlock():Promise; -``` - - -**Adaptation Guide** - -Make sure the APIs are only invoked by system applications. - -The code snippet is as follows: - -```js - try { - let ret = screenLock.isLocked(); - console.error(`Obtain whether the screen is locked successfully , ret is: ${ret}`); - } catch (error) { - console.error(`Failed to obtain whether the screen is locked, error is : ${error.code}, ${error.message}`); - } -``` - -```js - screenlock.unlock((err, data) => { - if (err) { - console.error(`Failed to unlock the screen, because: ${err.message}`); - return; - } - console.info(`unlock the screen successfully. result: ${data}`); - }); -``` - -```js - screenlock.unlock().then((data) => { - console.info(`unlock the screen successfully. result: ${data}`); - }).catch((err) => { - console.error(`Failed to unlock the screen, because: ${err.message}`); - }); -``` - - -## cl.screenlock.2 Deprecation of isSecure -Deprecated the **isSecure** API since API version 9. - -You need to adapt your application based on the following information. - -**Change Impact** - -The API can no longer be used after being deleted. - -- Involved APIs: - -```js - function isSecure(): boolean; -``` - -- Before change: - -```js - function isSecure(): boolean; -``` - -- After change: - - The API is deleted. - - -**Adaptation Guide** - -Update the code so that the deprecated API is not used. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-wallpaper.md b/en/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-wallpaper.md deleted file mode 100644 index 18fff418c0723c7508f6c7eacdb318b95758402b..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.5.3/changelog-wallpaper.md +++ /dev/null @@ -1,306 +0,0 @@ -# Theme Framework Subsystem – Wallpaper Management Service Changelog - - -## cl.wallpaper.1 Permission Change of getColorsSync, getMinHeightSync, getMinWidthSync, restore, and setImage -Changed the **getColorsSync**, **getMinHeightSync**, **getMinWidthSync**, restore, and **setImage** APIs to system APIs since API version 9. - -You need to adapt your application based on the following information. - -**Change Impact** - -The JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected. - -- Involved APIs: - -```js - function getColorsSync(wallpaperType: WallpaperType): Array; - function getMinHeightSync(): number; - function getMinWidthSync(): number; - function restore(wallpaperType: WallpaperType, callback: AsyncCallback): void; - function restore(wallpaperType: WallpaperType): Promise; - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback): void; - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise; -``` - -- Before change: - -```js - /** - * Obtains the wallpaper colors for the wallpaper of the specified type. Returns rgbaColor type of array callback function. - * @param wallpaperType Indicates the wallpaper type. - * @returns { Array } the Array returned by the function. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getColorsSync(wallpaperType: WallpaperType): Array; - - /** - * Obtains the minimum height of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getMinHeightSync(): number; - - /** - * Obtains the minimum width of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function getMinWidthSync(): number; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function restore(wallpaperType: WallpaperType, callback: AsyncCallback): void; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function restore(wallpaperType: WallpaperType): Promise; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback): void; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @throws {BusinessError} 202 - permission verification failed, application which is not a system application uses system API. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @systemapi Hide this for inner system use. - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise; -``` - -- After change: - -```js - /** - * Obtains the wallpaper colors for the wallpaper of the specified type. Returns rgbaColor type of array callback function. - * @param wallpaperType Indicates the wallpaper type. - * @returns { Array } the Array returned by the function. - * @throws {BusinessError} 401 - parameter error. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getColorsSync(wallpaperType: WallpaperType): Array; - - /** - * Obtains the minimum height of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getMinHeightSync(): number; - - /** - * Obtains the minimum width of the wallpaper. in pixels. returns 0 if no wallpaper has been set. - * @returns { number } the number returned by the function. - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function getMinWidthSync(): number; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function restore(wallpaperType: WallpaperType, callback: AsyncCallback): void; - - /** - * Removes a wallpaper of the specified type and restores the default one. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function restore(wallpaperType: WallpaperType): Promise; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback): void; - - /** - * Sets a wallpaper of the specified type based on the uri path from a JPEG or PNG file or the pixel map of a PNG file. - * @param source Indicates the uri path from a JPEG or PNG file or the pixel map of the PNG file. - * @param wallpaperType Indicates the wallpaper type. - * @throws {BusinessError} 401 - parameter error. - * @throws {BusinessError} 201 - permission denied. - * @permission ohos.permission.SET_WALLPAPER - * @syscap SystemCapability.MiscServices.Wallpaper - * @since 9 - */ - function setImage(source: string | image.PixelMap, wallpaperType: WallpaperType): Promise; -``` - - -**Adaptation Guide** - -Make sure the APIs are only invoked by system applications. - -The code snippet is as follows: - -```js - 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)}`); - } -``` - -```js - let minHeight = wallpaper.getMinHeightSync(); -``` - -```js - let minWidth = wallpaper.getMinWidthSync(); -``` - -```js - wallpaper.restore(wallpaper.WallpaperType.WALLPAPER_SYSTEM, (error) => { - if (error) { - console.error(`failed to restore because: ${JSON.stringify(error)}`); - return; - } - console.log(`success to restore.`); - }); -``` - -```js - wallpaper.restore(wallpaper.WallpaperType.WALLPAPER_SYSTEM).then(() => { - console.log(`success to restore.`); - }).catch((error) => { - console.error(`failed to restore because: ${JSON.stringify(error)}`); - }); -``` - -```js - // The source type is string. - let wallpaperPath = "/data/data/ohos.acts.aafwk.plrdtest.form/files/Cup_ic.jpg"; - wallpaper.setImage(wallpaperPath, wallpaper.WallpaperType.WALLPAPER_SYSTEM, (error) => { - if (error) { - console.error(`failed to setImage because: ${JSON.stringify(error)}`); - return; - } - console.log(`success to setImage.`); - }); -``` - -```js - // The source type is string. - let wallpaperPath = "/data/data/ohos.acts.aafwk.plrdtest.form/files/Cup_ic.jpg"; - wallpaper.setImage(wallpaperPath, wallpaper.WallpaperType.WALLPAPER_SYSTEM).then(() => { - console.log(`success to setImage.`); - }).catch((error) => { - console.error(`failed to setImage because: ${JSON.stringify(error)}`); - }); -``` - - -## cl.wallpaper.2 Deprecation of getIdSync, getFileSync, isChangeAllowed, isUserChangeAllowed, on, off, and RgbaColor -Deprecated the **getIdSync**, **getFileSync**, **isChangeAllowed**, **isUserChangeAllowed**, **on**, **off**, and **RgbaColor** APIs since API version 9. - -You need to adapt your application based on the following information. - -**Change Impact** - -The APIs can no longer be used after being deleted. - -- Involved APIs: - -```js - function getIdSync(wallpaperType: WallpaperType): number; - function getFileSync(wallpaperType: WallpaperType): number; - function isChangeAllowed(): boolean; - function isUserChangeAllowed(): boolean; - function on(type: 'colorChange', callback: (colors: Array, wallpaperType: WallpaperType) => void): void; - function off(type: 'colorChange', callback?: (colors: Array, wallpaperType: WallpaperType) => void): void; - interface RgbaColor { - red: number; - green: number; - blue: number; - alpha: number; - } -``` - -- Before change: - -```js - function getIdSync(wallpaperType: WallpaperType): number; - function getFileSync(wallpaperType: WallpaperType): number; - function isChangeAllowed(): boolean; - function isUserChangeAllowed(): boolean; - function on(type: 'colorChange', callback: (colors: Array, wallpaperType: WallpaperType) => void): void; - function off(type: 'colorChange', callback?: (colors: Array, wallpaperType: WallpaperType) => void): void; - interface RgbaColor { - red: number; - green: number; - blue: number; - alpha: number; - } -``` - -- After change: - - The APIs are deleted. - - -**Adaptation Guide** - -Update the code so that the deprecated APIs are not used. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.5.5/changelogs-arkui.md b/en/release-notes/changelogs/OpenHarmony_4.0.5.5/changelogs-arkui.md deleted file mode 100644 index eaeba8adecf79591f6f27c06a4d8ba394d2fd42a..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.5.5/changelogs-arkui.md +++ /dev/null @@ -1,53 +0,0 @@ -# ArkUI Subsystem Changelog - -## cl.arkui.1 Change in the Default Scrollbar State of \ and \ Components - -Changed the default state of the scrollbar in the **\** and **\** components from **BarState.Off** to **BarState.Auto**. - -**Change Impact** - -In the scenario where the scrollbar status is not set in the **\** and **\** components: - -- Before change: - - The scrollbar is not displayed. - -- After change: - - The scrollbar is displayed during scrolling and is hidden 2 seconds after the scrolling stops. - -**Key API/Component Changes** - -**scrollBar** attribute of the **\** and **\** components: -- [List](../../../application-dev/reference/arkui-ts/ts-container-list.md#attributes) -- [Grid](../../../application-dev/reference/arkui-ts/ts-container-grid.md#attributes) - -**Adaptation Guide** - -In scenarios where the scrollbar is not required, set the **scrollBar** attribute of the **\** and **\** components to **BarState.Off**. - -The code snippet is as follows: -```ts -// xxx.ets -@Entry -@Component -struct ListItemExample { - private arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - - build() { - Column() { - List({ space: 20, initialIndex: 0 }) { - ForEach(this.arr, (item) => { - ListItem() { - Text('' + item) - .width('100%').height(100).fontSize(16) - .textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF) - } - }, item => item) - } - .width('90%') - .scrollBar(BarState.Off) - }.width('100%').height('100%').backgroundColor(0xDCDCDC).padding({ top: 5 }) - } -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-huks.md b/en/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-huks.md deleted file mode 100644 index 6541a61954eff4cfc1e55863c9ba2f7b5c5c13a3..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-huks.md +++ /dev/null @@ -1,30 +0,0 @@ -# HUKS Changelog - -## cl.huks.1 Change of the Permission for Using attestKeyItem - -The **attestKeyItem** interface attests a key using a public key encapsulated based on the device certificate chain. Any arbitrary export of the device certificate increases the risks on user privacy. Therefore, certain permissions are required for using this interface. - -**Change Impact** - -Applications without the **ohos.permission.ACCESS_IDS** permission or the system_basic or system_core permission cannot call **attestKeyItem()**. - -**Key API/Component Changes** - -- Involved APIs: - - attestKeyItem(keyAlias: string, options: HuksOptions, callback: AsyncCallback\): void; - attestKeyItem(keyAlias: string, options: HuksOptions): Promise\; - -- Before change: - - The AccessToken permission is verified only for the applications that pass in a tag related to **ATTESTATION_ID**. - - -- After change: - - **attestKeyItem()** can be called only by a system application with the system_basic or system_core permission or an application with the **ohos.permission.ACCESS_IDS** permission. - -**Adaptation Guide** - -Applications with the system_basic or system_core permission can call **attestKeyItem()**. If an application with the normal permission needs to call **attestKeyItem()**, it must have the **ohos.permission.ACCESS_IDS** permission. For details about how to apply for the permission, see [ACL](../../../application-dev/security/accesstoken-overview.md#acl). - diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-web.md b/en/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-web.md deleted file mode 100644 index a9ad760a1c58f12e013d2a7a9feeee6240cd37d2..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.6.1/changelog-web.md +++ /dev/null @@ -1,33 +0,0 @@ -# Web Subsystem Changelog - -Compared with earlier versions, OpenHarmony 4.0.6.1 has the following API changes in its web subsystem: - -## cl.web.1 Parameters in createWebMessagePorts - -Added an optional parameter to the **WebMessagePort** API to accommodate more data types. - -**Change Impact** - -None (The added parameter is optional, and the API is forward compatible.) - -**Key API/Component Changes** - -- Involved APIs: - - createWebMessagePorts(): Array\; - -- Before change: - - ```ts - createWebMessagePorts(): Array; - ``` - -- After change: - - ```ts - createWebMessagePorts(isExtentionType?: boolean): Array; - ``` - -**Adaptation Guide** - -N/A diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.6.1/changelogs-usb.md b/en/release-notes/changelogs/OpenHarmony_4.0.6.1/changelogs-usb.md deleted file mode 100644 index b8218c69f1ccde8d6f8e283f410e1dee64bb4364..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.6.1/changelogs-usb.md +++ /dev/null @@ -1,23 +0,0 @@ -# USB Subsystem API Changelog - -## cl.usb_manager.1 SDK API Deletion - -For applications developed based on earlier versions, you need to change the name of the imported bundle. Otherwise, the original service logic will be affected. - -**Key API/Component Changes** - -The **@ohos.usbV9.d.ts** file is replaced by the **@ohos.usbManager.d.ts** file. - -| New Bundle | Original Bundle | Deleted Bundle | -| -------------------- | ------------- | --------------- | -| ohos.usbManager.d.ts | ohos.usb.d.ts | ohos.usbV9.d.ts | - -You need to import **@ohos.usbManager** to use USB service APIs. - - ```ts - import usbManager from '@ohos.usbManager'; - ``` - -**Adaptation Guide** - -For details about usage of each API, see the [API Reference](../../../application-dev/reference/apis/js-apis-usbManager.md). diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.6.2/changelogs-global.md b/en/release-notes/changelogs/OpenHarmony_4.0.6.2/changelogs-global.md deleted file mode 100644 index 889483a5522450a275a3aec4b1943ebaedf5285f..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.6.2/changelogs-global.md +++ /dev/null @@ -1,46 +0,0 @@ -# Globalization Subsystem Changelog - -## cl.resourceManager.1 Addition of getStringSync and getStringByNameSync APIs - -Added the **getStringSync** and **getStringByNameSync** APIs and error codes to obtain and format strings. - -| Bundle Name | API | -| --------------- | ---------------------------------------------------- | -| ohos.resourceManager.d.ts | getStringSync(resId: number, ...args: Array): string; | -| ohos.resourceManager.d.ts | getStringSync(resource: Resource, ...args: Array): string; | -| ohos.resourceManager.d.ts | getStringByNameSync(resName: string, ...args: Array): string; | - -**Change Impact** - -In versions earlier than 4.0.6.2, only the values of string resources can be directly obtained. In 4.0.6.2 or later, the values of string resources can be formatted based on the input arguments for enhanced query. - -The following error codes are added: - -9001007 If the resource obtained by resId formatting error. - -9001008 If the resource obtained by resName formatting error. - -**Sample Code** - -The following uses **getStringSync** as an example. Before the change, only example 1 is supported. After the change, both example 1 and example 2 are supported. -``` -Example 1: -try { - this.context.resourceManager.getStringSync($r('app.string.test').id); -} catch (error) { - console.error(`getStringSync failed, error code: ${error.code}, message: ${error.message}.`) -} -Example 2: -try { - this.context.resourceManager.getStringSync($r('app.string.test').id, "format string", 787, 98.78); -} catch (error) { - console.error(`getStringSync failed, error code: ${error.code}, message: ${error.message}.`) -} -``` - -**Adaptation Guide** -For details, see the API reference. - -[API Reference](../../../application-dev/reference/apis/js-apis-resource-manager.md) - -[Error Codes](../../../application-dev/reference/errorcodes/errorcode-resource-manager.md) diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.6.3/changelogs-arkui.md b/en/release-notes/changelogs/OpenHarmony_4.0.6.3/changelogs-arkui.md deleted file mode 100644 index 344aa3f1f64081b00755ac6b622dee3d0bbc5ad2..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.6.3/changelogs-arkui.md +++ /dev/null @@ -1,33 +0,0 @@ -# ArkUI Subsystem Changelog -Fixed the issue where the layout of child components in the [\](../../../application-dev/reference/arkui-ts/ts-container-stack.md) container does not follow the **alignContent** settings when the child components do not fit in the container. - -Example: - -```ts -@Entry -@Component -struct StackExample { - build() { - Stack({alignContent:Alignment.TopEnd}){ - Text('First child, show in bottom') - .width(200).height(200).backgroundColor(0xd2cab3).margin(10) - }.width(150).height(150).backgroundColor(Color.Pink).margin(100) - } -} -``` -Before: Child components are not arranged based on **alignContent:Alignment.TopEnd**. - -![stack](figures/stack_before.jpg) - -After: Child components are arranged based on **alignContent:Alignment.TopEnd**. - -![stack](figures/stack_after.jpg) - - -**Change Impact** - -The previous workaround – setting the **Offset** or **translate** attribute – needs to be removed. - -**Adaptation Guide** - -Remove the **Offset** and **translate** settings for the child components and use **alignContent** for layout. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_after.jpg b/en/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_after.jpg deleted file mode 100644 index eacfe82a9b1175a8a944be8a793ec940a4a80e0d..0000000000000000000000000000000000000000 Binary files a/en/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_after.jpg and /dev/null differ diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_before.jpg b/en/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_before.jpg deleted file mode 100644 index b7b26a73935e28ce34d9895ac3e0cf519bbb41b5..0000000000000000000000000000000000000000 Binary files a/en/release-notes/changelogs/OpenHarmony_4.0.6.3/figures/stack_before.jpg and /dev/null differ diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-huks.md b/en/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-huks.md deleted file mode 100644 index 7399cead068359b4b99337704f1dc42f7e77172a..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-huks.md +++ /dev/null @@ -1,98 +0,0 @@ -# HUKS Changelog - -## cl.huks.1 HUKS Supports RsaPssSaltLengthType - -Before the change, the HUKS uses **RSA_PSS_SALT_LEN_MAX** for signing or signature verification by default. - -After the change, the type defined by **HuksRsaPssSaltLenType** is passed in for signature or signature verification. If **HuksRsaPssSaltLenType** is not passed in, **RSA_PSS_SALT_LEN_MAX** is used by default. - -**Change Impact** - -Behaviors of released JavaScript APIs have been changed. - -**Key API/Component Changes** - -Released JavaScript APIs remain unchanged, but the parameter set passed to the APIs are changed. - -**Adaptation Guide** - -The following uses RSA signing as an example. - -```js -import huks from '@ohos.security.huks'; - -let keyAlias = 'rsa_Key'; -let inData = new Uint8Array( - 0x4B, 0x1E, 0x22, 0x64, 0xA9, 0x89, 0x60, 0x1D, 0xEC, 0x78, 0xC0, 0x5D, 0xBE, 0x46, 0xAD, 0xCF, - 0x1C, 0x35, 0x16, 0x11, 0x34, 0x01, 0x4E, 0x9B, 0x7C, 0x00, 0x66, 0x0E, 0xCA, 0x09, 0xC0, 0xF3, -); -/* Parameters for signing */ -let signProperties = new Array(); -signProperties[0] = { - tag: huks.HuksTag.HUKS_TAG_ALGORITHM, - value: huks.HuksKeyAlg.HUKS_ALG_RSA, -} -signProperties[1] = { - tag: huks.HuksTag.HUKS_TAG_PURPOSE, - value: - huks.HuksKeyPurpose.HUKS_KEY_PURPOSE_SIGN -} -signProperties[2] = { - tag: huks.HuksTag.HUKS_TAG_KEY_SIZE, - value: huks.HuksKeySize.HUKS_RSA_KEY_SIZE_2048, -} -signProperties[3] = { - tag: huks.HuksTag.HUKS_TAG_PADDING, - value: huks.HuksKeyPadding.HUKS_PADDING_PSS, -} -signProperties[4] = { - tag: huks.HuksTag.HUKS_TAG_DIGEST, - value: huks.HuksKeyDigest.HUKS_DIGEST_SHA1, -} -signProperties[5] = { - tag: huks.HuksTag.HUKS_TAG_RSA_PSS_SALT_LEN_TYPE, - value: huks.HuksRsaPssSaltLenType.HUKS_RSA_PSS_SALT_LEN_MAX, -} -let signOptions = { - properties: signProperties, - inData: inData -} - -huks.initSession(keyAlias, signOptions); -``` - -For more information, see [HUKS Development](../../../application-dev/security/huks-guidelines.md) and [HUKS](../../../application-dev/reference/apis/js-apis-huks.md). - -## cl.huks.2 Resolved the Issues in Storage or Export of Derived or Agreed Keys - -Before the change, the HUKS supports storage and export of derived keys and agreed keys, which poses security risks. - -After the change, the application needs to pass in **HuksKeyStorageType** for key derivation or key agreement. Only storage or export is allowed at a time. If this parameter is not passed in, both storage and export are supported by default, which poses security risks and is not recommended. - -**Change Impact** - -Behaviors of released JavaScript APIs have been changed. - -**Key API/Component Changes** - -Released JavaScript APIs remain unchanged, but the parameter set passed to the APIs are changed. - -**Adaptation Guide** - -For more information, see [HUKS Development](../../../application-dev/security/huks-guidelines.md) and [HUKS](../../../application-dev/reference/apis/js-apis-huks.md). - -## cl.huks.3 Adding Tags for Fine-grained User Identity Access Control - -Added **HUKS_TAG_KEY_AUTH_PURPOSE** to **HuksTag** for fine-grained user identity access control. This tag specifies the user identity authentication used for specific algorithm. - -**Change Impact** - -The new HuksTag does not affect existing APIs. - -**Key API/Component Changes** - -**HuksTag** is added with **HUKS_TAG_KEY_AUTH_PURPOSE** to support fine-grained user identity access control. - -**Adaptation Guide** - -For more information, see [Fine-grained User Identity Authentication](../../../application-dev/security/huks-guidelines.md#fine-grained-user-identity-authentication) and [HuksTag](../../../application-dev/reference/apis/js-apis-huks.md#hukstag). diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-resourceschedule.md b/en/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-resourceschedule.md deleted file mode 100644 index a58424e3fa627df44c21d8b9a16b8fbfaa3583b5..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.7.1/changelog-resourceschedule.md +++ /dev/null @@ -1,75 +0,0 @@ -# Resource Scheduler Subsystem Changelog - -## cl.resourceschedule.reminderAgent.1 - -The reminder agent allows you to customize buttons for system applications. Clicking a custom button will redirect you to the specified application page. - -**Change Impact** - -For system applications developed based on OpenHarmony 4.0.7.1 and later SDK versions, you can set custom buttons for reminders. - -**Key API/Component Changes** - -| Module| Class| Method/Attribute/Enum/Constant| Change Type| -| -- | -- | -- | -- | -| reminderAgentManager | ActionButtonType | ACTION_BUTTON_TYPE_CUSTOM = 2 | Added| -| reminderAgentManager | ActionButton | wantAgent?: WantAgent | Added| -| reminderAgentManager | WantAgent | uri?: string | Added| -| reminderAgentManager | ReminderRequest | actionButton?: [ActionButton?, ActionButton?, ActionButton?] | Changed| - -**Adaptation Guide** - -```ts -import reminderAgentManager from '@ohos.reminderAgentManager'; - -let targetReminderAgent: reminderAgentManager.ReminderRequestAlarm = { - reminderType: reminderAgentManager.ReminderType.REMINDER_TYPE_ALARM, // The reminder type is alarm clock. - ... - actionButton: [ - { - title: 'Remind later', - type: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_SNOOZE - }, - { - title: 'Close', - type: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_CLOSE - }, - { - title: 'Custom', - type: reminderAgentManager.ActionButtonType.ACTION_BUTTON_TYPE_CUSTOM, - wantAgent: { - pkgName: "com.example.myapplication", - abilityName: "EntryAbility", - } - }, - ] -} -``` - -## cl.resourceschedule.reminderAgent.2 - -The reminder agent allows you to set reminders to automatically disappear at the given time. - -**Change Impact** - -For system applications developed based on OpenHarmony 4.0.7.1 and later SDK versions, you can set the reminders to disappear automatically. - -**Key API/Component Changes** - -| Module| Class| Method/Attribute/Enum/Constant| Change Type| -| -- | -- | -- | -- | -| reminderAgentManager | ReminderRequest | tapDismissed?: boolean | Added| -| reminderAgentManager | ReminderRequest | autoDeletedTime?: number | Added| - -**Adaptation Guide** - -```ts -import reminderAgentManager from '@ohos.reminderAgentManager'; - -let targetReminderAgent: reminderAgentManager.ReminderRequestAlarm = { - reminderType: reminderAgentManager.ReminderType.REMINDER_TYPE_ALARM, // The reminder type is alarm clock. - ... - tapDismissed: true, - autoDeletedTime: 300, -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.7.2/changelogs-arkui.md b/en/release-notes/changelogs/OpenHarmony_4.0.7.2/changelogs-arkui.md deleted file mode 100644 index 5139e0fc65ea23869e1e03d72acb0e85defa1ad2..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.7.2/changelogs-arkui.md +++ /dev/null @@ -1,60 +0,0 @@ -# ArkUI Subsystem Changelog - -### Restrictions on Using Decorators - -#### 1. Restrictions on Using Component Decorators - -Component decorators @Component, @Entry, @Preview, and @CustomDialog apply only to structs, not classes. - -**Example** - -``` -@Component - // ERROR:The '@Component' decorator can only be used with 'struct'. -class Index { - build() { - } -} -``` - -**Change Impact** - -If @Component, @Entry, @Preview, or @CustomDialog is used to decorate components other than structs, a compile time error will occur. - -**Key API/Component Changes** - -N/A - -**Adaptation Guide** - -Use @Component, @Entry, @Preview, and @CustomDialog to decorate only structs. - -#### 2. Restrictions on Using Component Member Variable Decorators - -Component member variable decorators @State, @Prop, @Link, @Provide, @Consume, @ObjectLink, @StorageLink, @StorageProp, @LocalStorageLink, @LocalStorageProp, @Watch, and @BuilderParam can decorate only the member variables of structs. - -**Example** - -``` -@Component -class Index { - // ERROR: The '@State' decorator can only be used with 'struct'. - @State message: string = 'Hello world' - - build() { - - } -} -``` - -**Change Impact** - -If any of the aforementioned component member variable decorators is used to decorate a member variable of components other than structs, a compile time error will occur. - -**Key API/Component Changes** - -N/A - -**Adaptation Guide** - -Use the aforementioned component member variable decorators to decorate only the member variables of structs. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-arkcompiler.md b/en/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-arkcompiler.md deleted file mode 100644 index 847134c83875e4aaf5c672597b2e9f5a2f7f8025..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-arkcompiler.md +++ /dev/null @@ -1,160 +0,0 @@ -# Multi-language Runtime Subsystem Changelog -## cl.arkcompiler.1 New Alarms and Existing Alarm Enhancements for LLVM - -**Change Impact** - -By default, the **-Werror** option is disabled for the OpenHarmony NDK. If you have enabled the **-Werror** option, you are advised to correct the code based on the suggestions in the check result or mask the errors. - - **Changes in Key Compilation Check Rules** - -| New Check Item| Description| Suggestion| -| --- | --- | --- | -| Wunused-but-set-variable | An alarm is generated when the code contains unused variables (including the ++ operator).| Add the **maybe_unused** attribute when defining variables or use macros to distinguish variables.| -| Wdeprecated-non-prototype | An alarm is generated when a function without a prototype exists in the code.| Add a function prototype and specify the parameters.| -| Wunqualified-std-cast-call | An alarm is generated when **std::move** is incorrectly used in code.| Specify the use case of **std::move** and check the code.| -| Wdeprecated-builtins | An alarm is generated when a deprecated built-in function is used in the code.| Use the substitute function.| -| Warray-parameter | An alarm is generated when a function parameter contains an array that uses inconsistent forms.| Ensure the consistency of the function parameter.| -| Wbitwise-instead-of-logical | An alarm is generated when bitwise OR is used in Boolean operations.| Use logical OR in Boolean operations.| -| Wint-conversion | An alarm is generated when an int variable is converted to a pointer in the code.| Use a new implementation mode in the code.| -| Wdeprecated-declarations | An alarm is generated when a deprecated definition (including functions and variables) is used in code.| Use a new implementation mode in the code.| -| Wnull-pointer-subtraction | An alarm is generated when a null pointer is used in the subtraction operation.| Do not a null pointer in the subtraction operation.| -| Wunused-but-set-parameter | An alarm is generated when a function contains unused parameters.| Delete unused parameters.| -| Warray-bounds | An alarm is generated when out-of-bounds access to an array occurs in the code.| Modify the out-of-bounds access.| -| Wdeprecated-pragma | An alarm is generated when a deprecated macro is used in the code.| Delete the deprecated macro.| -| Wreserved-identifier | An alarm is generated when a variable starting with __ is used in the code.| Check the code to prevent variables starting with underscores (_) from being used externally.| - - **Adaptation Guide** - -1. For issues in the code that are not detected by LLVM 12, check and update the code. -2. Some old implementations are discarded during LLVM update. Adapt to the new rules and update the code. -3. If you believe a certain type of error can be masked, use the **-Wno-xxx** option to mask the error. - -Defective code example - -``` -void Heap::Resume(TriggerGCType gcType) -{ - if (mode_ != HeapMode::SPAWN && - activeSemiSpace_->AdjustCapacity(inactiveSemiSpace_->GetAllocatedSizeSinceGC())) { - // If activeSpace capacity changes, oldSpace maximumCapacity should change too. - size_t multiple = 2; - // oldSpaceMaxLimit is assigned a value but is not used. - size_t oldSpaceMaxLimit = 0; - if (activeSemiSpace_->GetInitialCapacity() >= inactiveSemiSpace_->GetInitialCapacity()) { - size_t delta = activeSemiSpace_->GetInitialCapacity() - inactiveSemiSpace_->GetInitialCapacity(); - oldSpaceMaxLimit = oldSpace_->GetMaximumCapacity() - delta * multiple; - } else { - size_t delta = inactiveSemiSpace_->GetInitialCapacity() - activeSemiSpace_->GetInitialCapacity(); - oldSpaceMaxLimit = oldSpace_->GetMaximumCapacity() + delta * multiple; - } - inactiveSemiSpace_->SetInitialCapacity(activeSemiSpace_->GetInitialCapacity()); - } - // irrelated code ... -} -``` - -The oldSpaceMaxLimit variable is not used, and the compiler reports an alarm. - -``` -../../arkcompiler/ets_runtime/ecmascript/mem/heap.cpp:247:16: error: variable 'oldSpaceMaxLimit' set but not used [-Werror,-Wunused-but-set-variable] - size_t oldSpaceMaxLimit = 0; -``` - -The error is rectified after the attribute is added. - -``` -void Heap::Resume(TriggerGCType gcType) -{ - if (mode_ != HeapMode::SPAWN && - activeSemiSpace_->AdjustCapacity(inactiveSemiSpace_->GetAllocatedSizeSinceGC())) { - // If activeSpace capacity changes, oldSpace maximumCapacity should change too. - size_t multiple = 2; - // Add the maybe_unused attribute and declare that the variable oldSpaceMaxLimit may not be used. - [[maybe_unused]] size_t oldSpaceMaxLimit = 0; - if (activeSemiSpace_->GetInitialCapacity() >= inactiveSemiSpace_->GetInitialCapacity()) { - size_t delta = activeSemiSpace_->GetInitialCapacity() - inactiveSemiSpace_->GetInitialCapacity(); - oldSpaceMaxLimit = oldSpace_->GetMaximumCapacity() - delta * multiple; - } else { - size_t delta = inactiveSemiSpace_->GetInitialCapacity() - activeSemiSpace_->GetInitialCapacity(); - oldSpaceMaxLimit = oldSpace_->GetMaximumCapacity() + delta * multiple; - } - inactiveSemiSpace_->SetInitialCapacity(activeSemiSpace_->GetInitialCapacity()); - } - // irrelated code ... -} -``` - -## cl.arkcompiler.2 LLVM Parsing Format Changed - -**Change Impact** - -When your code depends on the **version-script** or **-gcc-toolchain** option, parsing may fail if you continue to use the original LLVM 12 configuration file or options. - -**Changes in Key Compilation Rules** - -1. The symbol representation is changed. In the new version, consecutive greater signs (>) are represented as ">>", which was represented as "> >" in the old version. -2. The -xx options are deprecated. For example, the **-gcc-toolchain** option is replaced by the **--gcc-toolchain** option. (This option has been marked as deprecated in versions later than Clang 3.4 and is officially deprecated in LLVM15.) - -**Adaptation Guide** - -If two consecutive greater signs (>) exist in the code (without considering the number of spaces in the middle), they will be parsed as "> >" in the older version and ">>" in the new version in version-script (due to mangling differences). In LLVM15, ">>" must be used. - -Original configuration file - -``` -{ - global: - extern "C++" { - "google::protobuf::TextFormat::ParseFromString(std::__cxx11::basic_string, std::allocator > const&, google::protobuf::Message*)"; - // In LLVM 12, "> >" can be parsed, but ">>" cannot. - "google::protobuf::TextFormat::PrintToString(google::protobuf::Message const&, std::__cxx11::basic_string, std::allocator >*)"; - }; - local: - *; -} -``` - -Modified configuration file - -``` -{ - global: - extern "C++" { - "google::protobuf::TextFormat::ParseFromString(std::__cxx11::basic_string, std::allocator> const&, google::protobuf::Message*)"; - // In LLVM 15, ">>" can be parsed. - "google::protobuf::TextFormat::PrintToString(google::protobuf::Message const&, std::__cxx11::basic_string, std::allocator>*)"; - }; - local: - *; -} -``` - -## cl.arkcompiler.3 LLVM emu-tls Changed - -**Change Impact** - -If you use both LLVM 12 and LLVM 15 (this behavior is prohibited) for your code, the emu-tls symbol cannot be found in libc++.so. - -**Key Library Dependency Changes** - -In LLVM 15, the emu-tls symbol is extracted from the target binary file to libc++.so. That is, the __emutls_get_address attribute changes from an internal symbol to an externally visible symbol, which is included in libc++.so. As a result, the compiled dynamic library may depend on libc++.so. - -**Adaptation Guide** - -This symbol is also in libclang_rt.builtin.a. If you do not want the compiled dynamic library to depend on libc++.so, statically link the libclang_rt.builtin.a library. - -## cl.arkcompiler.4 LLVM Official Release Notes - -**Change Impact** - -New features are added and internal interfaces are changed (such as IR in LLVM and compiler front-end modification). For details, see the official release notes. - -**Key Documents** - -https://releases.llvm.org/13.0.0/docs/ReleaseNotes.html -https://releases.llvm.org/14.0.0/docs/ReleaseNotes.html -https://releases.llvm.org/15.0.0/docs/ReleaseNotes.html - -**Adaptation Guide** - -For details about the updates and adaptation guide, see the official documents. diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-web.md b/en/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-web.md deleted file mode 100644 index f3ee5e7e3ddd0e4492ea0d5133a9bcb5d0c49066..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.7.3/changelog-web.md +++ /dev/null @@ -1,126 +0,0 @@ -# Web Subsystem Changelog - -Compared with earlier versions, OpenHarmony 4.0.7.3 has the following API changes in its web subsystem: - -## cl.web.1 New Input Parameter Type of the setResponseData API - -Added the input parameter type **Resource** for the **setResponseData** API. - -**Change Impact** - -In the scenario where a HAP file is not decompressed, the file path in the HAP does not exist. Under this scenario, to access resources in the HAP file, you must use the input parameter **data:Resource** instead of **data:number**. - - -**Key API/Component Changes** - -- Involved APIs: - - setResponseData - -- Before change: - - ```ts - setResponseData(data: string | number) - ``` - -- After change: - - ```ts - setResponseData(data: string | number | Resource) - ``` - -**Adaptation Guide** - -When a HAP file is decompressed, open the hold the FD of the target resource file, and then transfer the resource response data to the kernel through **setResponseData(data:number)**. - -```ts -// xxx.ets -import web_webview from '@ohos.web.webview' -import fileio from '@ohos.fileio'; - -@Entry -@Component -struct WebComponent { - controller: web_webview.WebviewController = new web_webview.WebviewController() - responseweb: WebResourceResponse = new WebResourceResponse() - heads: Header[] = new Array() - - build() { - Column() { - Web({ src: 'www.example.com', controller: this.controller }) - .onInterceptRequest((event) => { - console.log('url:' + event.request.getRequestUrl()) - var head1:Header = { - headerKey:"Connection", - headerValue:"keep-alive" - } - var head2:Header = { - headerKey:"Cache-Control", - headerValue:"no-cache" - } - var length = this.heads.push(head1) - length = this.heads.push(head2) - this.responseweb.setResponseHeader(this.heads) - this.responseweb.setResponseEncoding('utf-8') - this.responseweb.setResponseMimeType('text/html') - this.responseweb.setResponseCode(200) - this.responseweb.setReasonMessage('OK') - - //// fd scheme --start - // '/xxx/.../test.html' is the local path of the file. - // @ts-ignore - let fd = fileio.openSync('/xxx/.../test.html', 0o102, 0o666) - this.responseweb.setResponseData(fd) - //// fd scheme --end - - return this.responseweb - }) - } - } -} -``` - -When a HAP file is decompressed, the file path in the HAP does not exist. In this case, transfer the resource response data to the kernel through **setResponseData(data:Resource)**. -```ts -// xxx.ets -import web_webview from '@ohos.web.webview' - -@Entry -@Component -struct WebComponent { - controller: web_webview.WebviewController = new web_webview.WebviewController() - responseweb: WebResourceResponse = new WebResourceResponse() - heads: Header[] = new Array() - - build() { - Column() { - Web({ src: 'www.example.com', controller: this.controller }) - .onInterceptRequest((event) => { - console.log('url:' + event.request.getRequestUrl()) - var head1:Header = { - headerKey:"Connection", - headerValue:"keep-alive" - } - var head2:Header = { - headerKey:"Cache-Control", - headerValue:"no-cache" - } - var length = this.heads.push(head1) - length = this.heads.push(head2) - this.responseweb.setResponseHeader(this.heads) - this.responseweb.setResponseEncoding('utf-8') - this.responseweb.setResponseMimeType('text/html') - this.responseweb.setResponseCode(200) - this.responseweb.setReasonMessage('OK') - - //// Resource scheme --start - // Specify the target file in the rawfile directory of the HAP file. - this.responseweb.setResponseData($rawfile('test.html')) - //// Resource scheme --end - - return this.responseweb - }) - } - } -} -``` diff --git a/en/release-notes/changelogs/OpenHarmony_4.0.7.5/changelogs-arkui.md b/en/release-notes/changelogs/OpenHarmony_4.0.7.5/changelogs-arkui.md deleted file mode 100644 index ef4d9ff3ab1c18d9834305b999b2a79fe48e680b..0000000000000000000000000000000000000000 --- a/en/release-notes/changelogs/OpenHarmony_4.0.7.5/changelogs-arkui.md +++ /dev/null @@ -1,27 +0,0 @@ -# ArkUI Subsystem Changelog - -## cl.arkui.1 Change in the \