Config
用于配置 RTE 对象。
C++
class Config {
public:
RteConfigSetAppId(&c_rte_config, str.get_underlying_impl(), err != nullptr ? err->get_underlying_impl() : nullptr);
RteConfigSetLogFolder(&c_rte_config, str.get_underlying_impl(), err != nullptr ? err->get_underlying_impl() : nullptr);
RteConfigSetCloudProxy(&c_rte_config, str.get_underlying_impl(), err != nullptr ? err->get_underlying_impl() : nullptr);
RteConfigSetJsonParameter(&c_rte_config, str.get_underlying_impl(), err != nullptr ? err->get_underlying_impl() : nullptr);
private:
::RteConfig* get_underlying_impl() { return &c_rte_config; }
private:
friend class Rte;
::RteConfig c_rte_config;
};
自从
自 v4.4.0 版本新增。
RteConfigSetAppId
设置 App ID,用于标识应用。
RteConfigSetLogFolder
设置日志文件的存储目录。
RteConfigSetCloudProxy
设置云代理地址。
RteConfigSetJsonParameter
设置 JSON 格式的自定义参数。