NIM PC Cross Platform SDK
nim::InitNosConfigParam Struct Reference

初始化nos参数 More...

#include <nim_nos_helper.h>

Public Member Functions

 InitNosConfigParam ()
 
void AddTag (const std::string &tag, int32_t survival_time)
 
void RemoveTag (const std::string &tag)
 
std::map< std::string, int32_t > GetTagList () const
 
void SetGetExtension (const std::string &json_extension)
 
std::string GetExtension () const
 

Public Attributes

std::map< std::string, int32_t > tag_list_
 std::map<std::string, uint64_t> 场景标签信息列表
 
std::string json_extension_
 Json Value 扩展数据
 

Static Public Attributes

static const int32_t kMINSURVIVALTIME = 60 * 60 * 24
 int32_t 资源生命周期 最小取值
 

Detailed Description

初始化nos参数

Constructor & Destructor Documentation

◆ InitNosConfigParam()

nim::InitNosConfigParam::InitNosConfigParam ( )
inline

构造函数

Member Function Documentation

◆ AddTag()

void nim::InitNosConfigParam::AddTag ( const std::string &  tag,
int32_t  survival_time 
)
inline
Parameters
[in]tag场景标签名称
[in]survival_time该场景下资源生命周期 最小取值 InitNosConfigParam::kMINSURVIVALTIME
Returns
void

◆ GetExtension()

std::string nim::InitNosConfigParam::GetExtension ( ) const
inline
Returns
string 扩展数据

◆ GetTagList()

std::map< std::string, uint64_t > nim::InitNosConfigParam::GetTagList ( ) const
inline
Returns
std::map<std::string, uint64_t> 场景标签信息列表

◆ RemoveTag()

void nim::InitNosConfigParam::RemoveTag ( const std::string &  tag)
inline
Parameters
[in]tag场景标签名称
Returns
void

◆ SetGetExtension()

void nim::InitNosConfigParam::SetGetExtension ( const std::string &  json_extension)
inline
Parameters
[in]json_extension扩展数据
Returns
void

The documentation for this struct was generated from the following files: