air.update.events 包中具有用于定义 AIR 应用程序更新框架所使用事件的类。此包仅对在 AIR 运行时中运行的内容可用。



 说明
 DownloadErrorEvent 如果下载更新文件时出错,ApplicationUpdater 或 ApplicationUpdaterUI 对象将调度 DownloadErrorEvent 对象。
 StatusFileUpdateErrorEvent 调用 ApplicationUpdater 对象的 checkForUpdate() 方法时在下载或分析更新描述符文件的过程中如果遇到错误,将调度 StatusUpdateFileErrorEvent。
 StatusFileUpdateEvent updater 对调用 installFromAIRFile() 方法过程中的文件验证成功之后,将调度此事件。
 StatusUpdateErrorEvent 调用 ApplicationUpdater 对象的 checkForUpdate() 方法时在下载或分析更新描述符文件的过程中如果遇到错误,将调度 StatusUpdateErrorEvent。
 StatusUpdateEvent updater 对象在 updater 成功下载并解释更新描述符文件之后将调度 StatusUpdateEvent 对象。
 UpdateEvent 更新过程中 ApplicationUpdater 对象将调度 UpdateEvent。