JS API Changes of the Update Subsystem
The table below lists the APIs changes of the update subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
API Changes
| Module | Class | Method/Attribute/Enumeration/Constant | Change Type |
|---|---|---|---|
| ohos.update | Order | INSTALL_AND_APPLY = 6 | Added |
| ohos.update | Order | DOWNLOAD_AND_INSTALL = 3 | Added |
| ohos.update | NetType | CELLULAR_AND_WIFI = 7 | Added |
| ohos.update | NetType | WIFI = 6 | Added |
| ohos.update | DescriptionFormat | SIMPLIFIED = 1 | Added |
| ohos.update | DescriptionFormat | STANDARD = 0 | Added |
| ohos.update | ComponentDescription | descriptionInfo: DescriptionInfo; | Added |
| ohos.update | ComponentDescription | componentId: string; | Added |
| ohos.update | DescriptionOptions | language: string; | Added |
| ohos.update | DescriptionOptions | format: DescriptionFormat; | Added |
| ohos.update | VersionComponent | componentId: string; | Added |
| ohos.update | Updater | getCurrentVersionDescription(descriptionOptions: DescriptionOptions, callback: AsyncCallback<Array<ComponentDescription>>): void; getCurrentVersionDescription(descriptionOptions: DescriptionOptions): Promise<Array<ComponentDescription>>; | Added |
| ohos.update | Updater | getNewVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions, callback: AsyncCallback<Array<ComponentDescription>>): void; getNewVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions): Promise<Array<ComponentDescription>>; | Added |
| ohos.update | BusinessSubType | PARAM = 2 | Deleted |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apidiff-bundle
openharmony 鸿蒙 js-apidiff-event-and-notification
openharmony 鸿蒙 js-apidiff-battery
openharmony 鸿蒙 js-apidiff-multimedia
openharmony 鸿蒙 js-apidiff-account
openharmony 鸿蒙 js-apidiff-arkui
openharmony 鸿蒙 js-apidiff-distributed-data
openharmony 鸿蒙 js-apidiff-distributed-hardware