openharmony 鸿蒙 js-apidiff-update

2023-06-24 浏览 (454)
Change TypeOld VersionNew Versiond.ts File
DeletedClass name: update;
Method or attribute name: export type UpdateTypes =
'OTA' |
'patch';
NA@ohos.update.d.ts
DeletedClass name: update;
Method or attribute name: function getUpdater(upgradeFile: string, updateType?: UpdateTypes): Updater;
NA@ohos.update.d.ts
DeletedClass name: update;
Method or attribute name: function getUpdaterForOther(upgradeFile: string, device: string, updateType?: UpdateTypes): Updater;
NA@ohos.update.d.ts
DeletedClass name: update;
Method or attribute name: function getUpdaterFromOther(upgradeFile: string, device: string, updateType?: UpdateTypes): Updater;
NA@ohos.update.d.ts
DeletedClass name: PackageTypes;
Method or attribute name: PACKAGE_TYPE_NORMAL = 1
NA@ohos.update.d.ts
DeletedClass name: PackageTypes;
Method or attribute name: PACKAGE_TYPE_BASE = 2
NA@ohos.update.d.ts
DeletedClass name: PackageTypes;
Method or attribute name: PACKAGE_TYPE_CUST = 3
NA@ohos.update.d.ts
DeletedClass name: PackageTypes;
Method or attribute name: PACKAGE_TYPE_PRELOAD = 4
NA@ohos.update.d.ts
DeletedClass name: PackageTypes;
Method or attribute name: PACKAGE_TYPE_COTA = 5
NA@ohos.update.d.ts
DeletedClass name: PackageTypes;
Method or attribute name: PACKAGE_TYPE_VERSION = 6
NA@ohos.update.d.ts
DeletedClass name: PackageTypes;
Method or attribute name: PACKAGE_TYPE_PATCH = 7
NA@ohos.update.d.ts
DeletedClass name: CheckResult;
Method or attribute name: versionName: number;
NA@ohos.update.d.ts
DeletedClass name: CheckResult;
Method or attribute name: versionCode: string;
NA@ohos.update.d.ts
DeletedClass name: CheckResult;
Method or attribute name: size: number;
NA@ohos.update.d.ts
DeletedClass name: CheckResult;
Method or attribute name: verifyInfo: string;
NA@ohos.update.d.ts
DeletedClass name: CheckResult;
Method or attribute name: packageType: PackageTypes;
NA@ohos.update.d.ts
DeletedClass name: CheckResult;
Method or attribute name: descriptionId: string;
NA@ohos.update.d.ts
DeletedClass name: DescriptionInfo;
Method or attribute name: descriptionId: string;
NA@ohos.update.d.ts
DeletedClass name: NewVersionStatus;
Method or attribute name: VERSION_STATUS_ERR = -1
NA@ohos.update.d.ts
DeletedClass name: NewVersionStatus;
Method or attribute name: VERSION_STATUS_NEW = 0
NA@ohos.update.d.ts
DeletedClass name: NewVersionStatus;
Method or attribute name: VERSION_STATUS_NONE = 1
NA@ohos.update.d.ts
DeletedClass name: NewVersionStatus;
Method or attribute name: VERSION_STATUS_BUSY = 2
NA@ohos.update.d.ts
DeletedClass name: NewVersionInfo;
Method or attribute name: status: NewVersionStatus;
NA@ohos.update.d.ts
DeletedClass name: NewVersionInfo;
Method or attribute name: errMsg: string;
NA@ohos.update.d.ts
DeletedClass name: NewVersionInfo;
Method or attribute name: checkResults: Array<CheckResult>;
NA@ohos.update.d.ts
DeletedClass name: NewVersionInfo;
Method or attribute name: descriptionInfo: Array<DescriptionInfo>;
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_INIT = 0
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_CHECK_VERSION_ON = 10
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_CHECK_VERSION_FAIL
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_CHECK_VERSION_SUCCESS
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_DOWNLOAD_ON = 20
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_DOWNLOAD_PAUSE
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_DOWNLOAD_CANCEL
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_DOWNLOAD_FAIL
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_DOWNLOAD_SUCCESS
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_VERIFY_ON = 30
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_VERIFY_FAIL
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_VERIFY_SUCCESS
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_PACKAGE_TRANS_ON = 70
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_PACKAGE_TRANS_FAIL
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_PACKAGE_TRANS_SUCCESS
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_INSTALL_ON = 80
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_INSTALL_FAIL
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_INSTALL_SUCCESS
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_UPDATE_ON = 90
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_UPDATE_FAIL
NA@ohos.update.d.ts
DeletedClass name: UpdateState;
Method or attribute name: UPDATE_STATE_UPDATE_SUCCESS
NA@ohos.update.d.ts
DeletedClass name: Progress;
Method or attribute name: percent: number;
NA@ohos.update.d.ts
DeletedClass name: Progress;
Method or attribute name: status: UpdateState;
NA@ohos.update.d.ts
DeletedClass name: Progress;
Method or attribute name: endReason: string;
NA@ohos.update.d.ts
DeletedClass name: InstallMode;
Method or attribute name: INSTALL_MODE_NORMAL
NA@ohos.update.d.ts
DeletedClass name: InstallMode;
Method or attribute name: INSTALL_MODE_NIGHT
NA@ohos.update.d.ts
DeletedClass name: InstallMode;
Method or attribute name: INSTALL_MODE_AUTO
NA@ohos.update.d.ts
DeletedClass name: UpdatePolicy;
Method or attribute name: autoDownload: boolean;
NA@ohos.update.d.ts
DeletedClass name: UpdatePolicy;
Method or attribute name: installMode: INSTALL_MODE;
NA@ohos.update.d.ts
DeletedClass name: UpdatePolicy;
Method or attribute name: autoUpgradeInterval: Array<number>;
NA@ohos.update.d.ts
DeletedClass name: UpdateProgressCallback;
Method or attribute name: (progress: Progress): void;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: getUpdatePolicy(callback: AsyncCallback<UpdatePolicy>): void;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: getUpdatePolicy(): Promise<UpdatePolicy>;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: setUpdatePolicy(policy: UpdatePolicy, callback: AsyncCallback<number>): void;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: setUpdatePolicy(policy: UpdatePolicy): Promise<number>;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: applyNewVersion(callback: AsyncCallback<number>): void;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: applyNewVersion(): Promise<number>;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: rebootAndCleanCache(callback: AsyncCallback<number>): void;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: rebootAndCleanCache(): Promise<number>;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: rebootAndCleanUserData(callback: AsyncCallback<number>): void;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: rebootAndCleanUserData(): Promise<number>;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: verifyUpdatePackage(upgradeFile: string, certsFile: string): void;
NA@ohos.update.d.ts
DeletedClass name: Updater;
Method or attribute name: cancel(): void;
NA@ohos.update.d.ts
AddedNAClass name: VersionComponent;
Method or attribute name: size: number;
@ohos.update.d.ts
AddedNAClass name: update;
Method or attribute name: function getOnlineUpdater(upgradeInfo: UpgradeInfo): Updater;
@ohos.update.d.ts
AddedNAClass name: update;
Method or attribute name: function getRestorer(): Restorer;
@ohos.update.d.ts
AddedNAClass name: update;
Method or attribute name: function getLocalUpdater(): LocalUpdater;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: getNewVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions, callback: AsyncCallback<Array<ComponentDescription>>): void;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: getNewVersionDescription(versionDigestInfo: VersionDigestInfo, descriptionOptions: DescriptionOptions): Promise<Array<ComponentDescription>>;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: getCurrentVersionInfo(callback: AsyncCallback<CurrentVersionInfo>): void;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: getCurrentVersionInfo(): Promise<CurrentVersionInfo>;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: getCurrentVersionDescription(descriptionOptions: DescriptionOptions, callback: AsyncCallback<Array<ComponentDescription>>): void;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: getCurrentVersionDescription(descriptionOptions: DescriptionOptions): Promise<Array<ComponentDescription>>;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: getTaskInfo(callback: AsyncCallback<TaskInfo>): void;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: getTaskInfo(): Promise<TaskInfo>;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: resumeDownload(versionDigestInfo: VersionDigestInfo, resumeDownloadOptions: ResumeDownloadOptions, callback: AsyncCallback<void>): void;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: resumeDownload(versionDigestInfo: VersionDigestInfo, resumeDownloadOptions: ResumeDownloadOptions): Promise<void>;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: pauseDownload(versionDigestInfo: VersionDigestInfo, pauseDownloadOptions: PauseDownloadOptions, callback: AsyncCallback<void>): void;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: pauseDownload(versionDigestInfo: VersionDigestInfo, pauseDownloadOptions: PauseDownloadOptions): Promise<void>;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: clearError(versionDigestInfo: VersionDigestInfo, clearOptions: ClearOptions, callback: AsyncCallback<void>): void;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: clearError(versionDigestInfo: VersionDigestInfo, clearOptions: ClearOptions): Promise<void>;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: getUpgradePolicy(callback: AsyncCallback<UpgradePolicy>): void;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: getUpgradePolicy(): Promise<UpgradePolicy>;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: setUpgradePolicy(policy: UpgradePolicy, callback: AsyncCallback<void>): void;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: setUpgradePolicy(policy: UpgradePolicy): Promise<void>;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: terminateUpgrade(callback: AsyncCallback<void>): void;
@ohos.update.d.ts
AddedNAClass name: Updater;
Method or attribute name: terminateUpgrade(): Promise<void>;
@ohos.update.d.ts
AddedNAClass name: Restorer;
Method or attribute name: factoryReset(callback: AsyncCallback<void>): void;
@ohos.update.d.ts
AddedNAClass name: Restorer;
Method or attribute name: factoryReset(): Promise<void>;
@ohos.update.d.ts
AddedNAClass name: LocalUpdater;
Method or attribute name: verifyUpgradePackage(upgradeFile: UpgradeFile, certsFile: string, callback: AsyncCallback<void>): void;
@ohos.update.d.ts
AddedNAClass name: LocalUpdater;
Method or attribute name: verifyUpgradePackage(upgradeFile: UpgradeFile, certsFile: string): Promise<void>;
@ohos.update.d.ts
AddedNAClass name: LocalUpdater;
Method or attribute name: applyNewVersion(upgradeFiles: Array<UpgradeFile>, callback: AsyncCallback<void>): void;
@ohos.update.d.ts
AddedNAClass name: LocalUpdater;
Method or attribute name: applyNewVersion(upgradeFiles: Array<UpgradeFile>): Promise<void>;
@ohos.update.d.ts
AddedNAClass name: LocalUpdater;
Method or attribute name: on(eventClassifyInfo: EventClassifyInfo, taskCallback: UpgradeTaskCallback): void;
@ohos.update.d.ts
AddedNAClass name: LocalUpdater;
Method or attribute name: off(eventClassifyInfo: EventClassifyInfo, taskCallback?: UpgradeTaskCallback): void;
@ohos.update.d.ts
AddedNAClass name: UpgradeInfo;
Method or attribute name: upgradeApp: string;
@ohos.update.d.ts
AddedNAClass name: UpgradeInfo;
Method or attribute name: businessType: BusinessType;
@ohos.update.d.ts
AddedNAClass name: BusinessType;
Method or attribute name: vendor: BusinessVendor;
@ohos.update.d.ts
AddedNAClass name: BusinessType;
Method or attribute name: subType: BusinessSubType;
@ohos.update.d.ts
AddedNAClass name: CheckResult;
Method or attribute name: isExistNewVersion: boolean;
@ohos.update.d.ts
AddedNAClass name: CheckResult;
Method or attribute name: newVersionInfo: NewVersionInfo;
@ohos.update.d.ts
AddedNAClass name: NewVersionInfo;
Method or attribute name: versionDigestInfo: VersionDigestInfo;
@ohos.update.d.ts
AddedNAClass name: TaskBody;
Method or attribute name: versionDigestInfo: VersionDigestInfo;
@ohos.update.d.ts
AddedNAClass name: NewVersionInfo;
Method or attribute name: versionComponents: Array<VersionComponent>;
@ohos.update.d.ts
AddedNAClass name: CurrentVersionInfo;
Method or attribute name: versionComponents: Array<VersionComponent>;
@ohos.update.d.ts
AddedNAClass name: TaskBody;
Method or attribute name: versionComponents: Array<VersionComponent>;
@ohos.update.d.ts
AddedNAClass name: VersionDigestInfo;
Method or attribute name: versionDigest: string;
@ohos.update.d.ts
AddedNAClass name: VersionComponent;
Method or attribute name: componentId: string;
@ohos.update.d.ts
AddedNAClass name: ComponentDescription;
Method or attribute name: componentId: string;
@ohos.update.d.ts
AddedNAClass name: VersionComponent;
Method or attribute name: componentType: ComponentType;
@ohos.update.d.ts
AddedNAClass name: VersionComponent;
Method or attribute name: upgradeAction: UpgradeAction;
@ohos.update.d.ts
AddedNAClass name: VersionComponent;
Method or attribute name: displayVersion: string;
@ohos.update.d.ts
AddedNAClass name: VersionComponent;
Method or attribute name: innerVersion: string;
@ohos.update.d.ts
AddedNAClass name: VersionComponent;
Method or attribute name: effectiveMode: EffectiveMode;
@ohos.update.d.ts
AddedNAClass name: VersionComponent;
Method or attribute name: descriptionInfo: DescriptionInfo;
@ohos.update.d.ts
AddedNAClass name: ComponentDescription;
Method or attribute name: descriptionInfo: DescriptionInfo;
@ohos.update.d.ts
AddedNAClass name: DescriptionOptions;
Method or attribute name: format: DescriptionFormat;
@ohos.update.d.ts
AddedNAClass name: DescriptionOptions;
Method or attribute name: language: string;
@ohos.update.d.ts
AddedNAClass name: DescriptionInfo;
Method or attribute name: descriptionType: DescriptionType;
@ohos.update.d.ts
AddedNAClass name: CurrentVersionInfo;
Method or attribute name: osVersion: string;
@ohos.update.d.ts
AddedNAClass name: CurrentVersionInfo;
Method or attribute name: deviceName: string;
@ohos.update.d.ts
AddedNAClass name: DownloadOptions;
Method or attribute name: allowNetwork: NetType;
@ohos.update.d.ts
AddedNAClass name: ResumeDownloadOptions;
Method or attribute name: allowNetwork: NetType;
@ohos.update.d.ts
AddedNAClass name: DownloadOptions;
Method or attribute name: order: Order;
@ohos.update.d.ts
AddedNAClass name: UpgradeOptions;
Method or attribute name: order: Order;
@ohos.update.d.ts
AddedNAClass name: PauseDownloadOptions;
Method or attribute name: isAllowAutoResume: boolean;
@ohos.update.d.ts
AddedNAClass name: ClearOptions;
Method or attribute name: status: UpgradeStatus;
@ohos.update.d.ts
AddedNAClass name: TaskBody;
Method or attribute name: status: UpgradeStatus;
@ohos.update.d.ts
AddedNAClass name: UpgradePolicy;
Method or attribute name: downloadStrategy: boolean;
@ohos.update.d.ts
AddedNAClass name: UpgradePolicy;
Method or attribute name: autoUpgradeStrategy: boolean;
@ohos.update.d.ts
AddedNAClass name: UpgradePolicy;
Method or attribute name: autoUpgradePeriods: Array<UpgradePeriod>;
@ohos.update.d.ts
AddedNAClass name: UpgradePeriod;
Method or attribute name: start: number;
@ohos.update.d.ts
AddedNAClass name: UpgradePeriod;
Method or attribute name: end: number;
@ohos.update.d.ts
AddedNAClass name: TaskInfo;
Method or attribute name: existTask: boolean;
@ohos.update.d.ts
AddedNAClass name: TaskInfo;
Method or attribute name: taskBody: TaskBody;
@ohos.update.d.ts
AddedNAClass name: EventInfo;
Method or attribute name: taskBody: TaskBody;
@ohos.update.d.ts
AddedNAClass name: EventInfo;
Method or attribute name: eventId: EventId;
@ohos.update.d.ts
AddedNAClass name: TaskBody;
Method or attribute name: subStatus: number;
@ohos.update.d.ts
AddedNAClass name: TaskBody;
Method or attribute name: progress: number;
@ohos.update.d.ts
AddedNAClass name: TaskBody;
Method or attribute name: installMode: number;
@ohos.update.d.ts
AddedNAClass name: TaskBody;
Method or attribute name: errorMessages: Array<ErrorMessage>;
@ohos.update.d.ts
AddedNAClass name: ErrorMessage;
Method or attribute name: errorCode: number;
@ohos.update.d.ts
AddedNAClass name: ErrorMessage;
Method or attribute name: errorMessage: string;
@ohos.update.d.ts
AddedNAClass name: EventClassifyInfo;
Method or attribute name: eventClassify: EventClassify;
@ohos.update.d.ts
AddedNAClass name: EventClassifyInfo;
Method or attribute name: extraInfo: string;
@ohos.update.d.ts
AddedNAClass name: UpgradeFile;
Method or attribute name: fileType: ComponentType;
@ohos.update.d.ts
AddedNAClass name: UpgradeFile;
Method or attribute name: filePath: string;
@ohos.update.d.ts
AddedNAClass name: UpgradeTaskCallback;
Method or attribute name: (eventInfo: EventInfo): void;
@ohos.update.d.ts
AddedNAClass name: BusinessVendor;
Method or attribute name: PUBLIC = "public"
@ohos.update.d.ts
AddedNAClass name: BusinessSubType;
Method or attribute name: FIRMWARE = 1
@ohos.update.d.ts
AddedNAClass name: ComponentType;
Method or attribute name: OTA = 1
@ohos.update.d.ts
AddedNAClass name: UpgradeAction;
Method or attribute name: UPGRADE = "upgrade"
@ohos.update.d.ts
AddedNAClass name: UpgradeAction;
Method or attribute name: RECOVERY = "recovery"
@ohos.update.d.ts
AddedNAClass name: EffectiveMode;
Method or attribute name: COLD = 1
@ohos.update.d.ts
AddedNAClass name: EffectiveMode;
Method or attribute name: LIVE = 2
@ohos.update.d.ts
AddedNAClass name: EffectiveMode;
Method or attribute name: LIVE_AND_COLD = 3
@ohos.update.d.ts
AddedNAClass name: DescriptionType;
Method or attribute name: CONTENT = 0
@ohos.update.d.ts
AddedNAClass name: DescriptionType;
Method or attribute name: URI = 1
@ohos.update.d.ts
AddedNAClass name: DescriptionFormat;
Method or attribute name: STANDARD = 0
@ohos.update.d.ts
AddedNAClass name: DescriptionFormat;
Method or attribute name: SIMPLIFIED = 1
@ohos.update.d.ts
AddedNAClass name: NetType;
Method or attribute name: CELLULAR = 1
@ohos.update.d.ts
AddedNAClass name: NetType;
Method or attribute name: METERED_WIFI = 2
@ohos.update.d.ts
AddedNAClass name: NetType;
Method or attribute name: NOT_METERED_WIFI = 4
@ohos.update.d.ts
AddedNAClass name: NetType;
Method or attribute name: WIFI = 6
@ohos.update.d.ts
AddedNAClass name: NetType;
Method or attribute name: CELLULAR_AND_WIFI = 7
@ohos.update.d.ts
AddedNAClass name: Order;
Method or attribute name: DOWNLOAD = 1
@ohos.update.d.ts
AddedNAClass name: Order;
Method or attribute name: INSTALL = 2
@ohos.update.d.ts
AddedNAClass name: Order;
Method or attribute name: DOWNLOAD_AND_INSTALL = 3
@ohos.update.d.ts
AddedNAClass name: Order;
Method or attribute name: APPLY = 4
@ohos.update.d.ts
AddedNAClass name: Order;
Method or attribute name: INSTALL_AND_APPLY = 6
@ohos.update.d.ts
AddedNAClass name: UpgradeStatus;
Method or attribute name: WAITING_DOWNLOAD = 20
@ohos.update.d.ts
AddedNAClass name: UpgradeStatus;
Method or attribute name: DOWNLOADING = 21
@ohos.update.d.ts
AddedNAClass name: UpgradeStatus;
Method or attribute name: DOWNLOAD_PAUSED = 22
@ohos.update.d.ts
AddedNAClass name: UpgradeStatus;
Method or attribute name: DOWNLOAD_FAIL = 23
@ohos.update.d.ts
AddedNAClass name: UpgradeStatus;
Method or attribute name: WAITING_INSTALL = 30
@ohos.update.d.ts
AddedNAClass name: UpgradeStatus;
Method or attribute name: UPDATING = 31
@ohos.update.d.ts
AddedNAClass name: UpgradeStatus;
Method or attribute name: WAITING_APPLY = 40
@ohos.update.d.ts
AddedNAClass name: UpgradeStatus;
Method or attribute name: APPLYING = 41
@ohos.update.d.ts
AddedNAClass name: UpgradeStatus;
Method or attribute name: UPGRADE_SUCCESS = 50
@ohos.update.d.ts
AddedNAClass name: UpgradeStatus;
Method or attribute name: UPGRADE_FAIL = 51
@ohos.update.d.ts
AddedNAClass name: EventClassify;
Method or attribute name: TASK = 0x01000000
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_TASK_BASE = EventClassify.TASK
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_TASK_RECEIVE
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_TASK_CANCEL
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_DOWNLOAD_WAIT
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_DOWNLOAD_START
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_DOWNLOAD_UPDATE
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_DOWNLOAD_PAUSE
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_DOWNLOAD_RESUME
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_DOWNLOAD_SUCCESS
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_DOWNLOAD_FAIL
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_UPGRADE_WAIT
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_UPGRADE_START
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_UPGRADE_UPDATE
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_APPLY_WAIT
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_APPLY_START
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_UPGRADE_SUCCESS
@ohos.update.d.ts
AddedNAClass name: EventId;
Method or attribute name: EVENT_UPGRADE_FAIL
@ohos.update.d.ts
Error code addedClass name: Updater;
Method or attribute name: checkNewVersion(callback: AsyncCallback<CheckResult>): void;
Old version:
Class name: Updater;
Method or attribute name: checkNewVersion(callback: AsyncCallback<CheckResult>): void;
New version: 201,11500104
@ohos.update.d.ts
Error code addedClass name: Updater;
Method or attribute name: checkNewVersion(): Promise<CheckResult>;
Old version:
Class name: Updater;
Method or attribute name: checkNewVersion(): Promise<CheckResult>;
New version: 201,11500104
@ohos.update.d.ts
Error code addedClass name: Updater;
Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions, callback: AsyncCallback<void>): void;
Old version:
Class name: Updater;
Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions, callback: AsyncCallback<void>): void;
New version: 201,401,11500104
@ohos.update.d.ts
Error code addedClass name: Updater;
Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions): Promise<void>;
Old version:
Class name: Updater;
Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions): Promise<void>;
New version: 201,401,11500104
@ohos.update.d.ts
Error code addedClass name: Updater;
Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallback<void>): void;
Old version:
Class name: Updater;
Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallback<void>): void;
New version: 201,401,11500104
@ohos.update.d.ts
Error code addedClass name: Updater;
Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise<void>;
Old version:
Class name: Updater;
Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise<void>;
New version: 201,401,11500104
@ohos.update.d.ts
Error code addedClass name: Updater;
Method or attribute name: getNewVersionInfo(callback: AsyncCallback<NewVersionInfo>): void;
Old version:
Class name: Updater;
Method or attribute name: getNewVersionInfo(callback: AsyncCallback<NewVersionInfo>): void;
New version: 201,11500104
@ohos.update.d.ts
Error code addedClass name: Updater;
Method or attribute name: getNewVersionInfo(): Promise<NewVersionInfo>;
Old version:
Class name: Updater;
Method or attribute name: getNewVersionInfo(): Promise<NewVersionInfo>;
New version: 201,11500104
@ohos.update.d.ts
Permission changedClass name: Updater;
Method or attribute name: checkNewVersion(callback: AsyncCallback<CheckResult>): void;
Old version:
Class name: Updater;
Method or attribute name: checkNewVersion(callback: AsyncCallback<CheckResult>): void;
New version: ohos.permission.UPDATE_SYSTEM
@ohos.update.d.ts
Permission changedClass name: Updater;
Method or attribute name: checkNewVersion(): Promise<CheckResult>;
Old version:
Class name: Updater;
Method or attribute name: checkNewVersion(): Promise<CheckResult>;
New version: ohos.permission.UPDATE_SYSTEM
@ohos.update.d.ts
Permission changedClass name: Updater;
Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions, callback: AsyncCallback<void>): void;
Old version:
Class name: Updater;
Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions, callback: AsyncCallback<void>): void;
New version: ohos.permission.UPDATE_SYSTEM
@ohos.update.d.ts
Permission changedClass name: Updater;
Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions): Promise<void>;
Old version:
Class name: Updater;
Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions): Promise<void>;
New version: ohos.permission.UPDATE_SYSTEM
@ohos.update.d.ts
Permission changedClass name: Updater;
Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallback<void>): void;
Old version:
Class name: Updater;
Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallback<void>): void;
New version: ohos.permission.UPDATE_SYSTEM
@ohos.update.d.ts
Permission changedClass name: Updater;
Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise<void>;
Old version:
Class name: Updater;
Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise<void>;
New version: ohos.permission.UPDATE_SYSTEM
@ohos.update.d.ts
Permission changedClass name: Updater;
Method or attribute name: getNewVersionInfo(callback: AsyncCallback<NewVersionInfo>): void;
Old version:
Class name: Updater;
Method or attribute name: getNewVersionInfo(callback: AsyncCallback<NewVersionInfo>): void;
New version: ohos.permission.UPDATE_SYSTEM
@ohos.update.d.ts
Permission changedClass name: Updater;
Method or attribute name: getNewVersionInfo(): Promise<NewVersionInfo>;
Old version:
Class name: Updater;
Method or attribute name: getNewVersionInfo(): Promise<NewVersionInfo>;
New version: ohos.permission.UPDATE_SYSTEM
@ohos.update.d.ts
Type changedClass name: DescriptionInfo;
Method or attribute name: content: string;
Old version:
Class name: DescriptionInfo;
Method or attribute name: content: string;
New version: string
@ohos.update.d.ts
Function changedClass name: Updater;
Method or attribute name: checkNewVersion(callback: AsyncCallback<NewVersionInfo>): void;
Class name: Updater;
Method or attribute name: checkNewVersion(callback: AsyncCallback<CheckResult>): void;
@ohos.update.d.ts
Function changedClass name: Updater;
Method or attribute name: checkNewVersion(): Promise<NewVersionInfo>;
Class name: Updater;
Method or attribute name: checkNewVersion(): Promise<CheckResult>;
@ohos.update.d.ts
Function changedClass name: Updater;
Method or attribute name: download(): void;
Class name: Updater;
Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions, callback: AsyncCallback<void>): void;
@ohos.update.d.ts
Function changedClass name: Updater;
Method or attribute name: download(): void;
Class name: Updater;
Method or attribute name: download(versionDigestInfo: VersionDigestInfo, downloadOptions: DownloadOptions): Promise<void>;
@ohos.update.d.ts
Function changedClass name: Updater;
Method or attribute name: upgrade(): void;
Class name: Updater;
Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions, callback: AsyncCallback<void>): void;
@ohos.update.d.ts
Function changedClass name: Updater;
Method or attribute name: upgrade(): void;
Class name: Updater;
Method or attribute name: upgrade(versionDigestInfo: VersionDigestInfo, upgradeOptions: UpgradeOptions): Promise<void>;
@ohos.update.d.ts
Function changedClass name: Updater;
Method or attribute name: on(eventType: 'downloadProgress', callback: UpdateProgressCallback): void;
Class name: Updater;
Method or attribute name: on(eventClassifyInfo: EventClassifyInfo, taskCallback: UpgradeTaskCallback): void;
@ohos.update.d.ts
Function changedClass name: Updater;
Method or attribute name: off(eventType: 'downloadProgress', callback?: UpdateProgressCallback): void;
Class name: Updater;
Method or attribute name: off(eventClassifyInfo: EventClassifyInfo, taskCallback?: UpgradeTaskCallback): void;
@ohos.update.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

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