版本支持: v3.11.0+
接口概述: 升级检测
接口定义:
virtual void upgradeCheck(const char* platform, const char* type, const char* platformUi) = 0;
接口参数:
参数名 | 类型 | 必填 | 默认值 | 描述 |
platform | const char* | 是 | 无 | 检测平台 |
type | const char* | 是 | 无 | 检测类型(正式,灰度等) |
platformUi | const char* | 是 | 无 | 检测平台的ui类型 |
版本支持: v3.11.0+
接口概述: 升级包下载
接口定义:
virtual void upgradeDownload() = 0;
版本支持: v3.11.0+
接口概述: 停止升级包下载
接口定义:
virtual void upgradeStopDownload() = 0;
版本支持: v3.11.0+
接口概述: 设置文件下载路径,必须设置,如果没有,后续的操作不再执行
接口定义:
virtual void setDynUpsModuleFilePath(const char* filePath) = 0;
接口参数:
参数名 | 类型 | 必填 | 默认值 | 描述 |
filePath | const char* | 是 | 无 | 文件下载路径 |
版本支持: v3.11.0+
接口概述: 请求模块信息
接口定义:
virtual void requestDynUpsModuleWithType(XYDynUpsModuleType type, const char* platform = "") = 0;
接口参数:
参数名 | 类型 | 必填 | 默认值 | 描述 |
type | 是 | 无 | 模块类型 | |
platform | const char* | 否 | "" | 模块名称 |
版本支持: v3.11.0+
接口概述: 获取模块信息(每次打开模块页面都需要调用)
接口定义:
virtual XYDynUpsInfo& getDynUpsModuleInfoWithType(XYDynUpsModuleType type, const char* platform = "") = 0;
接口参数:
参数名 | 类型 | 必填 | 默认值 | 描述 |
type | 是 | 无 | 模块类型 | |
platform | const char* | 否 | "" | 模块名称 |
返回值:
返回XYDynUpsInfo类型的模块信息引用