harmony(鸿蒙)升级服务子系统JS API变更

2022-10-28 浏览 (792)

升级服务子系统JS API变更

OpenHarmony 3.2 Beta3版本相较于OpenHarmony 3.2 Beta2版本,升级服务子系统的API变更如下:

接口变更

模块名类名方法/属性/枚举/常量变更类型
ohos.updateOrderINSTALL_AND_APPLY = 6新增
ohos.updateOrderDOWNLOAD_AND_INSTALL = 3新增
ohos.updateNetTypeCELLULAR_AND_WIFI = 7新增
ohos.updateNetTypeWIFI = 6新增
ohos.updateDescriptionFormatSIMPLIFIED = 1新增
ohos.updateDescriptionFormatSTANDARD = 0新增
ohos.updateComponentDescriptiondescriptionInfo: DescriptionInfo;新增
ohos.updateComponentDescriptioncomponentId: string;新增
ohos.updateDescriptionOptionslanguage: string;新增
ohos.updateDescriptionOptionsformat: DescriptionFormat;新增
ohos.updateVersionComponentcomponentId: string;新增
ohos.updateUpdatergetCurrentVersionDescription(descriptionOptions: DescriptionOptions, callback: AsyncCallback<Array<ComponentDescription>>): void;
getCurrentVersionDescription(descriptionOptions: DescriptionOptions): Promise<Array<ComponentDescription>>;
新增
ohos.updateUpdatergetNewVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions, callback: AsyncCallback<Array<ComponentDescription>>): void;
getNewVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions): Promise<Array<ComponentDescription>>;
新增
ohos.updateBusinessSubTypePARAM = 2删除

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Readme

harmony(鸿蒙)3.2 beta3相对于3.2 beta2变更详细说明

harmony(鸿蒙)元能力子系统JS API变更

harmony(鸿蒙)无障碍子系统JS API变更

harmony(鸿蒙)帐号子系统JS API变更

harmony(鸿蒙)ArkUI子系统JS API变更

harmony(鸿蒙)电源服务子系统JS API变更

harmony(鸿蒙)包管理子系统JS API变更

harmony(鸿蒙)基础通信子系统JS API变更

harmony(鸿蒙)公共基础库子系统JS API变更

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/6df496190c674ed1a67dfd8d07b5ef78