9 #ifndef NEM_SDK_INTERFACE_DEFINE_SDK_INIT_CONFIG_H__
10 #define NEM_SDK_INTERFACE_DEFINE_SDK_INIT_CONFIG_H__
51 return organization_name_;
60 organization_name_ = organization_name;
68 return application_name_;
77 application_name_ = application_name;
94 product_name_ = product_name;
97 std::string sdk_path_;
98 std::string organization_name_;
99 std::string application_name_;
100 std::string product_name_;
172 : domain(strDomain) {
180 : domain(std::move(strDomain)) {
235 return enableDebugLog;
246 enableDebugLog = value;
278 return useAssetServerConfig;
287 useAssetServerConfig = bUse;
296 return keepAliveInterval;
306 keepAliveInterval = interval;
333 bool enableDebugLog =
true;
335 bool useAssetServerConfig =
false;
336 int keepAliveInterval = 10;
337 bool runAdmin =
true;
#define NNEM_SDK_INTERFACE_BEGIN_DECLS
#define NNEM_SDK_INTERFACE_END_DECLS
NELogLevel LoggerLevel() const
获取日志等级
void LoggerPath(const std::string &path)
设置日志路径
void LoggerLevel(NELogLevel level)
设置日志等级
std::string LoggerPath() const
获取日志路径
void OrganizationName(const std::string &organization_name)
设置组织名称
std::string ProductName() const
获取产品名称
std::string OrganizationName() const
获取组织名称
std::string ApplicationName() const
获取应用名称
void ProductName(const std::string &product_name)
设置产品名称
void ApplicationName(const std::string &application_name)
设置应用名称
std::string SDKPath() const
获取SDK路径
void SDKPath(const std::string &path)
设置SDK路径
NEMAppInfo * getAppInfo() const
获取应用信息
NELoggerConfig * getLoggerConfig() const
获取日志配置
void setDomain(const std::string &value)
设置域名
NEMeetingSDKConfig(const std::string &strDomain)
构造函数
std::string getAppKey() const
获取应用appkey
int getKeepAliveInterval() const
获取保活间隔
void setAppKey(const std::string &value)
设置应用appkey
void setRunAdmin(bool admin)
设置运行权限
NEMeetingSDKConfig(std::string &&strDomain)
构造函数
void setKeepAliveInterval(int interval)
设置保活间隔
void setUseAssetServerConfig(bool bUse)
设置是否使用私有化服务配置
bool getUseAssetServerConfig() const
获取是否使用私有化服务配置
bool getEnableDebugLog() const
获取debug日志是否开启
NEMeetingSDKConfig()=default
构造函数
std::string getDomain() const
获取域名
void setLogSize(int value)
设置日志大小
int getLogSize() const
获取日志大小
void setEnableDebugLog(bool value)
设置debug日志是否开启
bool getRunAdmin() const
获取运行权限
#define NEM_SDK_INTERFACE_EXPORT