1| Change Type | Old Version | New Version | d.ts File | 2| ---- | ------ | ------ | -------- | 3|Deleted|Class name: update;<br>Method or attribute name: export type UpdateTypes =<br> 'OTA' \|<br> 'patch';|NA|@ohos.update.d.ts| 4|Deleted|Class name: update;<br>Method or attribute name: function getUpdater(upgradeFile: string, updateType?: UpdateTypes): Updater;|NA|@ohos.update.d.ts| 5|Deleted|Class name: update;<br>Method or attribute name: function getUpdaterForOther(upgradeFile: string, device: string, updateType?: UpdateTypes): Updater;|NA|@ohos.update.d.ts| 6|Deleted|Class name: update;<br>Method or attribute name: function getUpdaterFromOther(upgradeFile: string, device: string, updateType?: UpdateTypes): Updater;|NA|@ohos.update.d.ts| 7|Deleted|Class name: PackageTypes;<br>Method or attribute name: PACKAGE_TYPE_NORMAL = 1|NA|@ohos.update.d.ts| 8|Deleted|Class name: PackageTypes;<br>Method or attribute name: PACKAGE_TYPE_BASE = 2|NA|@ohos.update.d.ts| 9|Deleted|Class name: PackageTypes;<br>Method or attribute name: PACKAGE_TYPE_CUST = 3|NA|@ohos.update.d.ts| 10|Deleted|Class name: PackageTypes;<br>Method or attribute name: PACKAGE_TYPE_PRELOAD = 4|NA|@ohos.update.d.ts| 11|Deleted|Class name: PackageTypes;<br>Method or attribute name: PACKAGE_TYPE_COTA = 5|NA|@ohos.update.d.ts| 12|Deleted|Class name: PackageTypes;<br>Method or attribute name: PACKAGE_TYPE_VERSION = 6|NA|@ohos.update.d.ts| 13|Deleted|Class name: PackageTypes;<br>Method or attribute name: PACKAGE_TYPE_PATCH = 7|NA|@ohos.update.d.ts| 14|Deleted|Class name: CheckResult;<br>Method or attribute name: versionName: number;|NA|@ohos.update.d.ts| 15|Deleted|Class name: CheckResult;<br>Method or attribute name: versionCode: string;|NA|@ohos.update.d.ts| 16|Deleted|Class name: CheckResult;<br>Method or attribute name: size: number;|NA|@ohos.update.d.ts| 17|Deleted|Class name: CheckResult;<br>Method or attribute name: verifyInfo: string;|NA|@ohos.update.d.ts| 18|Deleted|Class name: CheckResult;<br>Method or attribute name: packageType: PackageTypes;|NA|@ohos.update.d.ts| 19|Deleted|Class name: CheckResult;<br>Method or attribute name: descriptionId: string;|NA|@ohos.update.d.ts| 20|Deleted|Class name: DescriptionInfo;<br>Method or attribute name: descriptionId: string;|NA|@ohos.update.d.ts| 21|Deleted|Class name: NewVersionStatus;<br>Method or attribute name: VERSION_STATUS_ERR = -1|NA|@ohos.update.d.ts| 22|Deleted|Class name: NewVersionStatus;<br>Method or attribute name: VERSION_STATUS_NEW = 0|NA|@ohos.update.d.ts| 23|Deleted|Class name: NewVersionStatus;<br>Method or attribute name: VERSION_STATUS_NONE = 1|NA|@ohos.update.d.ts| 24|Deleted|Class name: NewVersionStatus;<br>Method or attribute name: VERSION_STATUS_BUSY = 2|NA|@ohos.update.d.ts| 25|Deleted|Class name: NewVersionInfo;<br>Method or attribute name: status: NewVersionStatus;|NA|@ohos.update.d.ts| 26|Deleted|Class name: NewVersionInfo;<br>Method or attribute name: errMsg: string;|NA|@ohos.update.d.ts| 27|Deleted|Class name: NewVersionInfo;<br>Method or attribute name: checkResults: Array\<CheckResult>;|NA|@ohos.update.d.ts| 28|Deleted|Class name: NewVersionInfo;<br>Method or attribute name: descriptionInfo: Array\<DescriptionInfo>;|NA|@ohos.update.d.ts| 29|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_INIT = 0|NA|@ohos.update.d.ts| 30|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_CHECK_VERSION_ON = 10|NA|@ohos.update.d.ts| 31|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_CHECK_VERSION_FAIL|NA|@ohos.update.d.ts| 32|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_CHECK_VERSION_SUCCESS|NA|@ohos.update.d.ts| 33|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_DOWNLOAD_ON = 20|NA|@ohos.update.d.ts| 34|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_DOWNLOAD_PAUSE|NA|@ohos.update.d.ts| 35|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_DOWNLOAD_CANCEL|NA|@ohos.update.d.ts| 36|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_DOWNLOAD_FAIL|NA|@ohos.update.d.ts| 37|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_DOWNLOAD_SUCCESS|NA|@ohos.update.d.ts| 38|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_VERIFY_ON = 30|NA|@ohos.update.d.ts| 39|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_VERIFY_FAIL|NA|@ohos.update.d.ts| 40|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_VERIFY_SUCCESS|NA|@ohos.update.d.ts| 41|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_PACKAGE_TRANS_ON = 70|NA|@ohos.update.d.ts| 42|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_PACKAGE_TRANS_FAIL|NA|@ohos.update.d.ts| 43|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_PACKAGE_TRANS_SUCCESS|NA|@ohos.update.d.ts| 44|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_INSTALL_ON = 80|NA|@ohos.update.d.ts| 45|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_INSTALL_FAIL|NA|@ohos.update.d.ts| 46|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_INSTALL_SUCCESS|NA|@ohos.update.d.ts| 47|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_UPDATE_ON = 90|NA|@ohos.update.d.ts| 48|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_UPDATE_FAIL|NA|@ohos.update.d.ts| 49|Deleted|Class name: UpdateState;<br>Method or attribute name: UPDATE_STATE_UPDATE_SUCCESS|NA|@ohos.update.d.ts| 50|Deleted|Class name: Progress;<br>Method or attribute name: percent: number;|NA|@ohos.update.d.ts| 51|Deleted|Class name: Progress;<br>Method or attribute name: status: UpdateState;|NA|@ohos.update.d.ts| 52|Deleted|Class name: Progress;<br>Method or attribute name: endReason: string;|NA|@ohos.update.d.ts| 53|Deleted|Class name: InstallMode;<br>Method or attribute name: INSTALL_MODE_NORMAL|NA|@ohos.update.d.ts| 54|Deleted|Class name: InstallMode;<br>Method or attribute name: INSTALL_MODE_NIGHT|NA|@ohos.update.d.ts| 55|Deleted|Class name: InstallMode;<br>Method or attribute name: INSTALL_MODE_AUTO|NA|@ohos.update.d.ts| 56|Deleted|Class name: UpdatePolicy;<br>Method or attribute name: autoDownload: boolean;|NA|@ohos.update.d.ts| 57|Deleted|Class name: UpdatePolicy;<br>Method or attribute name: installMode: INSTALL_MODE;|NA|@ohos.update.d.ts| 58|Deleted|Class name: UpdatePolicy;<br>Method or attribute name: autoUpgradeInterval: Array\<number>;|NA|@ohos.update.d.ts| 59|Deleted|Class name: UpdateProgressCallback;<br>Method or attribute name: (progress: Progress): void;|NA|@ohos.update.d.ts| 60|Deleted|Class name: Updater;<br>Method or attribute name: getUpdatePolicy(callback: AsyncCallback\<UpdatePolicy>): void;|NA|@ohos.update.d.ts| 61|Deleted|Class name: Updater;<br>Method or attribute name: getUpdatePolicy(): Promise\<UpdatePolicy>;|NA|@ohos.update.d.ts| 62|Deleted|Class name: Updater;<br>Method or attribute name: setUpdatePolicy(policy: UpdatePolicy, callback: AsyncCallback\<number>): void;|NA|@ohos.update.d.ts| 63|Deleted|Class name: Updater;<br>Method or attribute name: setUpdatePolicy(policy: UpdatePolicy): Promise\<number>;|NA|@ohos.update.d.ts| 64|Deleted|Class name: Updater;<br>Method or attribute name: applyNewVersion(callback: AsyncCallback\<number>): void;|NA|@ohos.update.d.ts| 65|Deleted|Class name: Updater;<br>Method or attribute name: applyNewVersion(): Promise\<number>;|NA|@ohos.update.d.ts| 66|Deleted|Class name: Updater;<br>Method or attribute name: rebootAndCleanCache(callback: AsyncCallback\<number>): void;|NA|@ohos.update.d.ts| 67|Deleted|Class name: Updater;<br>Method or attribute name: rebootAndCleanCache(): Promise\<number>;|NA|@ohos.update.d.ts| 68|Deleted|Class name: Updater;<br>Method or attribute name: rebootAndCleanUserData(callback: AsyncCallback\<number>): void;|NA|@ohos.update.d.ts| 69|Deleted|Class name: Updater;<br>Method or attribute name: rebootAndCleanUserData(): Promise\<number>;|NA|@ohos.update.d.ts| 70|Deleted|Class name: Updater;<br>Method or attribute name: verifyUpdatePackage(upgradeFile: string, certsFile: string): void;|NA|@ohos.update.d.ts| 71|Deleted|Class name: Updater;<br>Method or attribute name: cancel(): void;|NA|@ohos.update.d.ts| 72|Added|NA|Class name: VersionComponent;<br>Method or attribute name: size: number;|@ohos.update.d.ts| 73|Added|NA|Class name: update;<br>Method or attribute name: function getOnlineUpdater(upgradeInfo: UpgradeInfo): Updater;|@ohos.update.d.ts| 74|Added|NA|Class name: update;<br>Method or attribute name: function getRestorer(): Restorer;|@ohos.update.d.ts| 75|Added|NA|Class name: update;<br>Method or attribute name: function getLocalUpdater(): LocalUpdater;|@ohos.update.d.ts| 76|Added|NA|Class name: Updater;<br>Method or attribute name: getNewVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions, callback: AsyncCallback\<Array\<ComponentDescription>>): void;|@ohos.update.d.ts| 77|Added|NA|Class name: Updater;<br>Method or attribute name: getNewVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions): Promise\<Array\<ComponentDescription>>;|@ohos.update.d.ts| 78|Added|NA|Class name: Updater;<br>Method or attribute name: getCurrentVersionInfo(callback: AsyncCallback\<CurrentVersionInfo>): void;|@ohos.update.d.ts| 79|Added|NA|Class name: Updater;<br>Method or attribute name: getCurrentVersionInfo(): Promise\<CurrentVersionInfo>;|@ohos.update.d.ts| 80|Added|NA|Class name: Updater;<br>Method or attribute name: getCurrentVersionDescription(descriptionOptions: DescriptionOptions, callback: AsyncCallback\<Array\<ComponentDescription>>): void;|@ohos.update.d.ts| 81|Added|NA|Class name: Updater;<br>Method or attribute name: getCurrentVersionDescription(descriptionOptions: DescriptionOptions): Promise\<Array\<ComponentDescription>>;|@ohos.update.d.ts| 82|Added|NA|Class name: Updater;<br>Method or attribute name: getTaskInfo(callback: AsyncCallback\<TaskInfo>): void;|@ohos.update.d.ts| 83|Added|NA|Class name: Updater;<br>Method or attribute name: getTaskInfo(): Promise\<TaskInfo>;|@ohos.update.d.ts| 84|Added|NA|Class name: Updater;<br>Method or attribute name: resumeDownload(versionDigestInfo: VersionDigestInfo, resumeDownloadOptions: ResumeDownloadOptions, callback: AsyncCallback\<void>): void;|@ohos.update.d.ts| 85|Added|NA|Class name: Updater;<br>Method or attribute name: resumeDownload(versionDigestInfo: VersionDigestInfo, resumeDownloadOptions: ResumeDownloadOptions): Promise\<void>;|@ohos.update.d.ts| 86|Added|NA|Class name: Updater;<br>Method or attribute name: pauseDownload(versionDigestInfo: VersionDigestInfo, pauseDownloadOptions: PauseDownloadOptions, callback: AsyncCallback\<void>): void;|@ohos.update.d.ts| 87|Added|NA|Class name: Updater;<br>Method or attribute name: pauseDownload(versionDigestInfo: VersionDigestInfo, pauseDownloadOptions: PauseDownloadOptions): Promise\<void>;|@ohos.update.d.ts| 88|Added|NA|Class name: Updater;<br>Method or attribute name: clearError(versionDigestInfo: VersionDigestInfo, clearOptions: ClearOptions, callback: AsyncCallback\<void>): void;|@ohos.update.d.ts| 89|Added|NA|Class name: Updater;<br>Method or attribute name: clearError(versionDigestInfo: VersionDigestInfo, clearOptions: ClearOptions): Promise\<void>;|@ohos.update.d.ts| 90|Added|NA|Class name: Updater;<br>Method or attribute name: getUpgradePolicy(callback: AsyncCallback\<UpgradePolicy>): void;|@ohos.update.d.ts| 91|Added|NA|Class name: Updater;<br>Method or attribute name: getUpgradePolicy(): Promise\<UpgradePolicy>;|@ohos.update.d.ts| 92|Added|NA|Class name: Updater;<br>Method or attribute name: setUpgradePolicy(policy: UpgradePolicy, callback: AsyncCallback\<void>): void;|@ohos.update.d.ts| 93|Added|NA|Class name: Updater;<br>Method or attribute name: setUpgradePolicy(policy: UpgradePolicy): Promise\<void>;|@ohos.update.d.ts| 94|Added|NA|Class name: Updater;<br>Method or attribute name: terminateUpgrade(callback: AsyncCallback\<void>): void;|@ohos.update.d.ts| 95|Added|NA|Class name: Updater;<br>Method or attribute name: terminateUpgrade(): Promise\<void>;|@ohos.update.d.ts| 96|Added|NA|Class name: Restorer;<br>Method or attribute name: factoryReset(callback: AsyncCallback\<void>): void;|@ohos.update.d.ts| 97|Added|NA|Class name: Restorer;<br>Method or attribute name: factoryReset(): Promise\<void>;|@ohos.update.d.ts| 98|Added|NA|Class name: LocalUpdater;<br>Method or attribute name: verifyUpgradePackage(upgradeFile: UpgradeFile, certsFile: string, callback: AsyncCallback\<void>): void;|@ohos.update.d.ts| 99|Added|NA|Class name: LocalUpdater;<br>Method or attribute name: verifyUpgradePackage(upgradeFile: UpgradeFile, certsFile: string): Promise\<void>;|@ohos.update.d.ts| 100|Added|NA|Class name: LocalUpdater;<br>Method or attribute name: applyNewVersion(upgradeFiles: Array\<UpgradeFile>, callback: AsyncCallback\<void>): void;|@ohos.update.d.ts| 101|Added|NA|Class name: LocalUpdater;<br>Method or attribute name: applyNewVersion(upgradeFiles: Array\<UpgradeFile>): Promise\<void>;|@ohos.update.d.ts| 102|Added|NA|Class name: LocalUpdater;<br>Method or attribute name: on(eventClassifyInfo: EventClassifyInfo, taskCallback: UpgradeTaskCallback): void;|@ohos.update.d.ts| 103|Added|NA|Class name: LocalUpdater;<br>Method or attribute name: off(eventClassifyInfo: EventClassifyInfo, taskCallback?: UpgradeTaskCallback): void;|@ohos.update.d.ts| 104|Added|NA|Class name: UpgradeInfo;<br>Method or attribute name: upgradeApp: string;|@ohos.update.d.ts| 105|Added|NA|Class name: UpgradeInfo;<br>Method or attribute name: businessType: BusinessType;|@ohos.update.d.ts| 106|Added|NA|Class name: BusinessType;<br>Method or attribute name: vendor: BusinessVendor;|@ohos.update.d.ts| 107|Added|NA|Class name: BusinessType;<br>Method or attribute name: subType: BusinessSubType;|@ohos.update.d.ts| 108|Added|NA|Class name: CheckResult;<br>Method or attribute name: isExistNewVersion: boolean;|@ohos.update.d.ts| 109|Added|NA|Class name: CheckResult;<br>Method or attribute name: newVersionInfo: NewVersionInfo;|@ohos.update.d.ts| 110|Added|NA|Class name: NewVersionInfo;<br>Method or attribute name: versionDigestInfo: VersionDigestInfo;|@ohos.update.d.ts| 111|Added|NA|Class name: TaskBody;<br>Method or attribute name: versionDigestInfo: VersionDigestInfo;|@ohos.update.d.ts| 112|Added|NA|Class name: NewVersionInfo;<br>Method or attribute name: versionComponents: Array\<VersionComponent>;|@ohos.update.d.ts| 113|Added|NA|Class name: CurrentVersionInfo;<br>Method or attribute name: versionComponents: Array\<VersionComponent>;|@ohos.update.d.ts| 114|Added|NA|Class name: TaskBody;<br>Method or attribute name: versionComponents: Array\<VersionComponent>;|@ohos.update.d.ts| 115|Added|NA|Class name: VersionDigestInfo;<br>Method or attribute name: versionDigest: string;|@ohos.update.d.ts| 116|Added|NA|Class name: VersionComponent;<br>Method or attribute name: componentId: string;|@ohos.update.d.ts| 117|Added|NA|Class name: ComponentDescription;<br>Method or attribute name: componentId: string;|@ohos.update.d.ts| 118|Added|NA|Class name: VersionComponent;<br>Method or attribute name: componentType: ComponentType;|@ohos.update.d.ts| 119|Added|NA|Class name: VersionComponent;<br>Method or attribute name: upgradeAction: UpgradeAction;|@ohos.update.d.ts| 120|Added|NA|Class name: VersionComponent;<br>Method or attribute name: displayVersion: string;|@ohos.update.d.ts| 121|Added|NA|Class name: VersionComponent;<br>Method or attribute name: innerVersion: string;|@ohos.update.d.ts| 122|Added|NA|Class name: VersionComponent;<br>Method or attribute name: effectiveMode: EffectiveMode;|@ohos.update.d.ts| 123|Added|NA|Class name: VersionComponent;<br>Method or attribute name: descriptionInfo: DescriptionInfo;|@ohos.update.d.ts| 124|Added|NA|Class name: ComponentDescription;<br>Method or attribute name: descriptionInfo: DescriptionInfo;|@ohos.update.d.ts| 125|Added|NA|Class name: DescriptionOptions;<br>Method or attribute name: format: DescriptionFormat;|@ohos.update.d.ts| 126|Added|NA|Class name: DescriptionOptions;<br>Method or attribute name: language: string;|@ohos.update.d.ts| 127|Added|NA|Class name: DescriptionInfo;<br>Method or attribute name: descriptionType: DescriptionType;|@ohos.update.d.ts| 128|Added|NA|Class name: CurrentVersionInfo;<br>Method or attribute name: osVersion: string;|@ohos.update.d.ts| 129|Added|NA|Class name: CurrentVersionInfo;<br>Method or attribute name: deviceName: string;|@ohos.update.d.ts| 130|Added|NA|Class name: DownloadOptions;<br>Method or attribute name: allowNetwork: NetType;|@ohos.update.d.ts| 131|Added|NA|Class name: ResumeDownloadOptions;<br>Method or attribute name: allowNetwork: NetType;|@ohos.update.d.ts| 132|Added|NA|Class name: DownloadOptions;<br>Method or attribute name: order: Order;|@ohos.update.d.ts| 133|Added|NA|Class name: UpgradeOptions;<br>Method or attribute name: order: Order;|@ohos.update.d.ts| 134|Added|NA|Class name: PauseDownloadOptions;<br>Method or attribute name: isAllowAutoResume: boolean;|@ohos.update.d.ts| 135|Added|NA|Class name: ClearOptions;<br>Method or attribute name: status: UpgradeStatus;|@ohos.update.d.ts| 136|Added|NA|Class name: TaskBody;<br>Method or attribute name: status: UpgradeStatus;|@ohos.update.d.ts| 137|Added|NA|Class name: UpgradePolicy;<br>Method or attribute name: downloadStrategy: boolean;|@ohos.update.d.ts| 138|Added|NA|Class name: UpgradePolicy;<br>Method or attribute name: autoUpgradeStrategy: boolean;|@ohos.update.d.ts| 139|Added|NA|Class name: UpgradePolicy;<br>Method or attribute name: autoUpgradePeriods: Array\<UpgradePeriod>;|@ohos.update.d.ts| 140|Added|NA|Class name: UpgradePeriod;<br>Method or attribute name: start: number;|@ohos.update.d.ts| 141|Added|NA|Class name: UpgradePeriod;<br>Method or attribute name: end: number;|@ohos.update.d.ts| 142|Added|NA|Class name: TaskInfo;<br>Method or attribute name: existTask: boolean;|@ohos.update.d.ts| 143|Added|NA|Class name: TaskInfo;<br>Method or attribute name: taskBody: TaskBody;|@ohos.update.d.ts| 144|Added|NA|Class name: EventInfo;<br>Method or attribute name: taskBody: TaskBody;|@ohos.update.d.ts| 145|Added|NA|Class name: EventInfo;<br>Method or attribute name: eventId: EventId;|@ohos.update.d.ts| 146|Added|NA|Class name: TaskBody;<br>Method or attribute name: subStatus: number;|@ohos.update.d.ts| 147|Added|NA|Class name: TaskBody;<br>Method or attribute name: progress: number;|@ohos.update.d.ts| 148|Added|NA|Class name: TaskBody;<br>Method or attribute name: installMode: number;|@ohos.update.d.ts| 149|Added|NA|Class name: TaskBody;<br>Method or attribute name: errorMessages: Array\<ErrorMessage>;|@ohos.update.d.ts| 150|Added|NA|Class name: ErrorMessage;<br>Method or attribute name: errorCode: number;|@ohos.update.d.ts| 151|Added|NA|Class name: ErrorMessage;<br>Method or attribute name: errorMessage: string;|@ohos.update.d.ts| 152|Added|NA|Class name: EventClassifyInfo;<br>Method or attribute name: eventClassify: EventClassify;|@ohos.update.d.ts| 153|Added|NA|Class name: EventClassifyInfo;<br>Method or attribute name: extraInfo: string;|@ohos.update.d.ts| 154|Added|NA|Class name: UpgradeFile;<br>Method or attribute name: fileType: ComponentType;|@ohos.update.d.ts| 155|Added|NA|Class name: UpgradeFile;<br>Method or attribute name: filePath: string;|@ohos.update.d.ts| 156|Added|NA|Class name: UpgradeTaskCallback;<br>Method or attribute name: (eventInfo: EventInfo): void;|@ohos.update.d.ts| 157|Added|NA|Class name: BusinessVendor;<br>Method or attribute name: PUBLIC = "public"|@ohos.update.d.ts| 158|Added|NA|Class name: BusinessSubType;<br>Method or attribute name: FIRMWARE = 1|@ohos.update.d.ts| 159|Added|NA|Class name: ComponentType;<br>Method or attribute name: OTA = 1|@ohos.update.d.ts| 160|Added|NA|Class name: UpgradeAction;<br>Method or attribute name: UPGRADE = "upgrade"|@ohos.update.d.ts| 161|Added|NA|Class name: UpgradeAction;<br>Method or attribute name: RECOVERY = "recovery"|@ohos.update.d.ts| 162|Added|NA|Class name: EffectiveMode;<br>Method or attribute name: COLD = 1|@ohos.update.d.ts| 163|Added|NA|Class name: EffectiveMode;<br>Method or attribute name: LIVE = 2|@ohos.update.d.ts| 164|Added|NA|Class name: EffectiveMode;<br>Method or attribute name: LIVE_AND_COLD = 3|@ohos.update.d.ts| 165|Added|NA|Class name: DescriptionType;<br>Method or attribute name: CONTENT = 0|@ohos.update.d.ts| 166|Added|NA|Class name: DescriptionType;<br>Method or attribute name: URI = 1|@ohos.update.d.ts| 167|Added|NA|Class name: DescriptionFormat;<br>Method or attribute name: STANDARD = 0|@ohos.update.d.ts| 168|Added|NA|Class name: DescriptionFormat;<br>Method or attribute name: SIMPLIFIED = 1|@ohos.update.d.ts| 169|Added|NA|Class name: NetType;<br>Method or attribute name: CELLULAR = 1|@ohos.update.d.ts| 170|Added|NA|Class name: NetType;<br>Method or attribute name: METERED_WIFI = 2|@ohos.update.d.ts| 171|Added|NA|Class name: NetType;<br>Method or attribute name: NOT_METERED_WIFI = 4|@ohos.update.d.ts| 172|Added|NA|Class name: NetType;<br>Method or attribute name: WIFI = 6|@ohos.update.d.ts| 173|Added|NA|Class name: NetType;<br>Method or attribute name: CELLULAR_AND_WIFI = 7|@ohos.update.d.ts| 174|Added|NA|Class name: Order;<br>Method or attribute name: DOWNLOAD = 1|@ohos.update.d.ts| 175|Added|NA|Class name: Order;<br>Method or attribute name: INSTALL = 2|@ohos.update.d.ts| 176|Added|NA|Class name: Order;<br>Method or attribute name: DOWNLOAD_AND_INSTALL = 3|@ohos.update.d.ts| 177|Added|NA|Class name: Order;<br>Method or attribute name: APPLY = 4|@ohos.update.d.ts| 178|Added|NA|Class name: Order;<br>Method or attribute name: INSTALL_AND_APPLY = 6|@ohos.update.d.ts| 179|Added|NA|Class name: UpgradeStatus;<br>Method or attribute name: WAITING_DOWNLOAD = 20|@ohos.update.d.ts| 180|Added|NA|Class name: UpgradeStatus;<br>Method or attribute name: DOWNLOADING = 21|@ohos.update.d.ts| 181|Added|NA|Class name: UpgradeStatus;<br>Method or attribute name: DOWNLOAD_PAUSED = 22|@ohos.update.d.ts| 182|Added|NA|Class name: UpgradeStatus;<br>Method or attribute name: DOWNLOAD_FAIL = 23|@ohos.update.d.ts| 183|Added|NA|Class name: UpgradeStatus;<br>Method or attribute name: WAITING_INSTALL = 30|@ohos.update.d.ts| 184|Added|NA|Class name: UpgradeStatus;<br>Method or attribute name: UPDATING = 31|@ohos.update.d.ts| 185|Added|NA|Class name: UpgradeStatus;<br>Method or attribute name: WAITING_APPLY = 40|@ohos.update.d.ts| 186|Added|NA|Class name: UpgradeStatus;<br>Method or attribute name: APPLYING = 41|@ohos.update.d.ts| 187|Added|NA|Class name: UpgradeStatus;<br>Method or attribute name: UPGRADE_SUCCESS = 50|@ohos.update.d.ts| 188|Added|NA|Class name: UpgradeStatus;<br>Method or attribute name: UPGRADE_FAIL = 51|@ohos.update.d.ts| 189|Added|NA|Class name: EventClassify;<br>Method or attribute name: TASK = 0x01000000|@ohos.update.d.ts| 190|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_TASK_BASE = EventClassify.TASK|@ohos.update.d.ts| 191|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_TASK_RECEIVE|@ohos.update.d.ts| 192|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_TASK_CANCEL|@ohos.update.d.ts| 193|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_DOWNLOAD_WAIT|@ohos.update.d.ts| 194|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_DOWNLOAD_START|@ohos.update.d.ts| 195|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_DOWNLOAD_UPDATE|@ohos.update.d.ts| 196|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_DOWNLOAD_PAUSE|@ohos.update.d.ts| 197|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_DOWNLOAD_RESUME|@ohos.update.d.ts| 198|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_DOWNLOAD_SUCCESS|@ohos.update.d.ts| 199|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_DOWNLOAD_FAIL|@ohos.update.d.ts| 200|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_UPGRADE_WAIT|@ohos.update.d.ts| 201|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_UPGRADE_START|@ohos.update.d.ts| 202|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_UPGRADE_UPDATE|@ohos.update.d.ts| 203|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_APPLY_WAIT|@ohos.update.d.ts| 204|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_APPLY_START|@ohos.update.d.ts| 205|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_UPGRADE_SUCCESS|@ohos.update.d.ts| 206|Added|NA|Class name: EventId;<br>Method or attribute name: EVENT_UPGRADE_FAIL|@ohos.update.d.ts| 207|Error code added|Class name: Updater;<br>Method or attribute name: checkNewVersion(callback: AsyncCallback\<CheckResult>): void;<br>Old version: |Class name: Updater;<br>Method or attribute name: checkNewVersion(callback: AsyncCallback\<CheckResult>): void;<br>New version: 201,11500104|@ohos.update.d.ts| 208|Error code added|Class name: Updater;<br>Method or attribute name: checkNewVersion(): Promise\<CheckResult>;<br>Old version: |Class name: Updater;<br>Method or attribute name: checkNewVersion(): Promise\<CheckResult>;<br>New version: 201,11500104|@ohos.update.d.ts| 209|Error code added|Class name: Updater;<br>Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: Updater;<br>Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions, callback: AsyncCallback\<void>): void;<br>New version: 201,401,11500104|@ohos.update.d.ts| 210|Error code added|Class name: Updater;<br>Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions): Promise\<void>;<br>Old version: |Class name: Updater;<br>Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions): Promise\<void>;<br>New version: 201,401,11500104|@ohos.update.d.ts| 211|Error code added|Class name: Updater;<br>Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: Updater;<br>Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallback\<void>): void;<br>New version: 201,401,11500104|@ohos.update.d.ts| 212|Error code added|Class name: Updater;<br>Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise\<void>;<br>Old version: |Class name: Updater;<br>Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise\<void>;<br>New version: 201,401,11500104|@ohos.update.d.ts| 213|Error code added|Class name: Updater;<br>Method or attribute name: getNewVersionInfo(callback: AsyncCallback\<NewVersionInfo>): void;<br>Old version: |Class name: Updater;<br>Method or attribute name: getNewVersionInfo(callback: AsyncCallback\<NewVersionInfo>): void;<br>New version: 201,11500104|@ohos.update.d.ts| 214|Error code added|Class name: Updater;<br>Method or attribute name: getNewVersionInfo(): Promise\<NewVersionInfo>;<br>Old version: |Class name: Updater;<br>Method or attribute name: getNewVersionInfo(): Promise\<NewVersionInfo>;<br>New version: 201,11500104|@ohos.update.d.ts| 215|Permission changed|Class name: Updater;<br>Method or attribute name: checkNewVersion(callback: AsyncCallback\<CheckResult>): void;<br>Old version: |Class name: Updater;<br>Method or attribute name: checkNewVersion(callback: AsyncCallback\<CheckResult>): void;<br>New version: ohos.permission.UPDATE_SYSTEM|@ohos.update.d.ts| 216|Permission changed|Class name: Updater;<br>Method or attribute name: checkNewVersion(): Promise\<CheckResult>;<br>Old version: |Class name: Updater;<br>Method or attribute name: checkNewVersion(): Promise\<CheckResult>;<br>New version: ohos.permission.UPDATE_SYSTEM|@ohos.update.d.ts| 217|Permission changed|Class name: Updater;<br>Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: Updater;<br>Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions, callback: AsyncCallback\<void>): void;<br>New version: ohos.permission.UPDATE_SYSTEM|@ohos.update.d.ts| 218|Permission changed|Class name: Updater;<br>Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions): Promise\<void>;<br>Old version: |Class name: Updater;<br>Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions): Promise\<void>;<br>New version: ohos.permission.UPDATE_SYSTEM|@ohos.update.d.ts| 219|Permission changed|Class name: Updater;<br>Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: Updater;<br>Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallback\<void>): void;<br>New version: ohos.permission.UPDATE_SYSTEM|@ohos.update.d.ts| 220|Permission changed|Class name: Updater;<br>Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise\<void>;<br>Old version: |Class name: Updater;<br>Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise\<void>;<br>New version: ohos.permission.UPDATE_SYSTEM|@ohos.update.d.ts| 221|Permission changed|Class name: Updater;<br>Method or attribute name: getNewVersionInfo(callback: AsyncCallback\<NewVersionInfo>): void;<br>Old version: |Class name: Updater;<br>Method or attribute name: getNewVersionInfo(callback: AsyncCallback\<NewVersionInfo>): void;<br>New version: ohos.permission.UPDATE_SYSTEM|@ohos.update.d.ts| 222|Permission changed|Class name: Updater;<br>Method or attribute name: getNewVersionInfo(): Promise\<NewVersionInfo>;<br>Old version: |Class name: Updater;<br>Method or attribute name: getNewVersionInfo(): Promise\<NewVersionInfo>;<br>New version: ohos.permission.UPDATE_SYSTEM|@ohos.update.d.ts| 223|Type changed|Class name: DescriptionInfo;<br>Method or attribute name: content: string;<br>Old version: |Class name: DescriptionInfo;<br>Method or attribute name: content: string;<br>New version: string|@ohos.update.d.ts| 224|Function changed|Class name: Updater;<br>Method or attribute name: checkNewVersion(callback: AsyncCallback\<NewVersionInfo>): void;|Class name: Updater;<br>Method or attribute name: checkNewVersion(callback: AsyncCallback\<CheckResult>): void;|@ohos.update.d.ts| 225|Function changed|Class name: Updater;<br>Method or attribute name: checkNewVersion(): Promise\<NewVersionInfo>;|Class name: Updater;<br>Method or attribute name: checkNewVersion(): Promise\<CheckResult>;|@ohos.update.d.ts| 226|Function changed|Class name: Updater;<br>Method or attribute name: download(): void;|Class name: Updater;<br>Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions, callback: AsyncCallback\<void>): void;|@ohos.update.d.ts| 227|Function changed|Class name: Updater;<br>Method or attribute name: download(): void;|Class name: Updater;<br>Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions): Promise\<void>;|@ohos.update.d.ts| 228|Function changed|Class name: Updater;<br>Method or attribute name: upgrade(): void;|Class name: Updater;<br>Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallback\<void>): void;|@ohos.update.d.ts| 229|Function changed|Class name: Updater;<br>Method or attribute name: upgrade(): void;|Class name: Updater;<br>Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise\<void>;|@ohos.update.d.ts| 230|Function changed|Class name: Updater;<br>Method or attribute name: on(eventType: 'downloadProgress', callback: UpdateProgressCallback): void;|Class name: Updater;<br>Method or attribute name: on(eventClassifyInfo: EventClassifyInfo, taskCallback: UpgradeTaskCallback): void;|@ohos.update.d.ts| 231|Function changed|Class name: Updater;<br>Method or attribute name: off(eventType: 'downloadProgress', callback?: UpdateProgressCallback): void;|Class name: Updater;<br>Method or attribute name: off(eventClassifyInfo: EventClassifyInfo, taskCallback?: UpgradeTaskCallback): void;|@ohos.update.d.ts| 232