js-apidiff-update.md 11.6 KB
Newer Older
G
Gloria 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Initial version changed|Class name: UpgradeTaskCallback<br>Method or attribute name: (eventInfo: EventInfo): void;<br>Initial version: N/A|Class name: UpgradeTaskCallback<br>Method or attribute name: (eventInfo: EventInfo): void;<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: BusinessVendor<br>Method or attribute name: PUBLIC = "public"<br>Initial version: N/A|Class name: BusinessVendor<br>Method or attribute name: PUBLIC = "public"<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: BusinessSubType<br>Method or attribute name: FIRMWARE = 1<br>Initial version: N/A|Class name: BusinessSubType<br>Method or attribute name: FIRMWARE = 1<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: ComponentType<br>Method or attribute name: OTA = 1<br>Initial version: N/A|Class name: ComponentType<br>Method or attribute name: OTA = 1<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeAction<br>Method or attribute name: UPGRADE = "upgrade"<br>Initial version: N/A|Class name: UpgradeAction<br>Method or attribute name: UPGRADE = "upgrade"<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeAction<br>Method or attribute name: RECOVERY = "recovery"<br>Initial version: N/A|Class name: UpgradeAction<br>Method or attribute name: RECOVERY = "recovery"<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EffectiveMode<br>Method or attribute name: COLD = 1<br>Initial version: N/A|Class name: EffectiveMode<br>Method or attribute name: COLD = 1<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EffectiveMode<br>Method or attribute name: LIVE = 2<br>Initial version: N/A|Class name: EffectiveMode<br>Method or attribute name: LIVE = 2<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EffectiveMode<br>Method or attribute name: LIVE_AND_COLD = 3<br>Initial version: N/A|Class name: EffectiveMode<br>Method or attribute name: LIVE_AND_COLD = 3<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: DescriptionType<br>Method or attribute name: CONTENT = 0<br>Initial version: N/A|Class name: DescriptionType<br>Method or attribute name: CONTENT = 0<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: DescriptionType<br>Method or attribute name: URI = 1<br>Initial version: N/A|Class name: DescriptionType<br>Method or attribute name: URI = 1<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: DescriptionFormat<br>Method or attribute name: STANDARD = 0<br>Initial version: N/A|Class name: DescriptionFormat<br>Method or attribute name: STANDARD = 0<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: DescriptionFormat<br>Method or attribute name: SIMPLIFIED = 1<br>Initial version: N/A|Class name: DescriptionFormat<br>Method or attribute name: SIMPLIFIED = 1<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: NetType<br>Method or attribute name: CELLULAR = 1<br>Initial version: N/A|Class name: NetType<br>Method or attribute name: CELLULAR = 1<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: NetType<br>Method or attribute name: METERED_WIFI = 2<br>Initial version: N/A|Class name: NetType<br>Method or attribute name: METERED_WIFI = 2<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: NetType<br>Method or attribute name: NOT_METERED_WIFI = 4<br>Initial version: N/A|Class name: NetType<br>Method or attribute name: NOT_METERED_WIFI = 4<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: NetType<br>Method or attribute name: WIFI = 6<br>Initial version: N/A|Class name: NetType<br>Method or attribute name: WIFI = 6<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: NetType<br>Method or attribute name: CELLULAR_AND_WIFI = 7<br>Initial version: N/A|Class name: NetType<br>Method or attribute name: CELLULAR_AND_WIFI = 7<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: Order<br>Method or attribute name: DOWNLOAD = 1<br>Initial version: N/A|Class name: Order<br>Method or attribute name: DOWNLOAD = 1<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: Order<br>Method or attribute name: INSTALL = 2<br>Initial version: N/A|Class name: Order<br>Method or attribute name: INSTALL = 2<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: Order<br>Method or attribute name: DOWNLOAD_AND_INSTALL = 3<br>Initial version: N/A|Class name: Order<br>Method or attribute name: DOWNLOAD_AND_INSTALL = 3<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: Order<br>Method or attribute name: APPLY = 4<br>Initial version: N/A|Class name: Order<br>Method or attribute name: APPLY = 4<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: Order<br>Method or attribute name: INSTALL_AND_APPLY = 6<br>Initial version: N/A|Class name: Order<br>Method or attribute name: INSTALL_AND_APPLY = 6<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeStatus<br>Method or attribute name: WAITING_DOWNLOAD = 20<br>Initial version: N/A|Class name: UpgradeStatus<br>Method or attribute name: WAITING_DOWNLOAD = 20<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeStatus<br>Method or attribute name: DOWNLOADING = 21<br>Initial version: N/A|Class name: UpgradeStatus<br>Method or attribute name: DOWNLOADING = 21<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeStatus<br>Method or attribute name: DOWNLOAD_PAUSED = 22<br>Initial version: N/A|Class name: UpgradeStatus<br>Method or attribute name: DOWNLOAD_PAUSED = 22<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeStatus<br>Method or attribute name: DOWNLOAD_FAIL = 23<br>Initial version: N/A|Class name: UpgradeStatus<br>Method or attribute name: DOWNLOAD_FAIL = 23<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeStatus<br>Method or attribute name: WAITING_INSTALL = 30<br>Initial version: N/A|Class name: UpgradeStatus<br>Method or attribute name: WAITING_INSTALL = 30<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeStatus<br>Method or attribute name: UPDATING = 31<br>Initial version: N/A|Class name: UpgradeStatus<br>Method or attribute name: UPDATING = 31<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeStatus<br>Method or attribute name: WAITING_APPLY = 40<br>Initial version: N/A|Class name: UpgradeStatus<br>Method or attribute name: WAITING_APPLY = 40<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeStatus<br>Method or attribute name: APPLYING = 41<br>Initial version: N/A|Class name: UpgradeStatus<br>Method or attribute name: APPLYING = 41<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeStatus<br>Method or attribute name: UPGRADE_SUCCESS = 50<br>Initial version: N/A|Class name: UpgradeStatus<br>Method or attribute name: UPGRADE_SUCCESS = 50<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: UpgradeStatus<br>Method or attribute name: UPGRADE_FAIL = 51<br>Initial version: N/A|Class name: UpgradeStatus<br>Method or attribute name: UPGRADE_FAIL = 51<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventClassify<br>Method or attribute name: TASK = 0x01000000<br>Initial version: N/A|Class name: EventClassify<br>Method or attribute name: TASK = 0x01000000<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_TASK_BASE = EventClassify.TASK<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_TASK_BASE = EventClassify.TASK<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_TASK_RECEIVE<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_TASK_RECEIVE<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_TASK_CANCEL<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_TASK_CANCEL<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_WAIT<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_WAIT<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_START<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_START<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_UPDATE<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_UPDATE<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_PAUSE<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_PAUSE<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_RESUME<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_RESUME<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_SUCCESS<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_SUCCESS<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_FAIL<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_DOWNLOAD_FAIL<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_UPGRADE_WAIT<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_UPGRADE_WAIT<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_UPGRADE_START<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_UPGRADE_START<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_UPGRADE_UPDATE<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_UPGRADE_UPDATE<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_APPLY_WAIT<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_APPLY_WAIT<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_APPLY_START<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_APPLY_START<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_UPGRADE_SUCCESS<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_UPGRADE_SUCCESS<br>Initial version: 9|@ohos.update.d.ts|
|Initial version changed|Class name: EventId<br>Method or attribute name: EVENT_UPGRADE_FAIL<br>Initial version: N/A|Class name: EventId<br>Method or attribute name: EVENT_UPGRADE_FAIL<br>Initial version: 9|@ohos.update.d.ts|