开发者

How to display an alert when there is no available update (using Adobe Air update framework)

开发者 https://www.devze.com 2022-12-23 13:46 出处:网络
I\'m using Adobe Air update framework to implement auto-update fe开发者_Python百科ature in my application. The feature is working great when there is an available update, but when there is no updates

I'm using Adobe Air update framework to implement auto-update fe开发者_Python百科ature in my application. The feature is working great when there is an available update, but when there is no updates no notification/alert is displayed.

is there a way to display an alert when there is no update available ?

thanks


Yes, listen to StatusUpdateEvent.UPDATE_STATUS on your appUpdater. When it fires, the event will have an 'available' boolean field. If this is false, you can display your own message.

0

精彩评论

暂无评论...
验证码 换一张
取 消