![codecamp](https://atts.w3cschool.cn/attachments/image/20230811/1691741920856601.png)
UpdateManager
tt.getUpdateManager UpdateManager 实例,用来管理更新,可通过 接口获取实例。
方法
UpdateManager.applyUpdate()
应用更新包并重启
UpdateManager.onCheckForUpdate(function callback)
监听检查更新结果回调
UpdateManager.onUpdateReady(function callback)
监听更新包下载成功回调
UpdateManager.onUpdateFailed(function callback)
监听更新包下载失败回调