NIM SDK API  8.7.0
Public Member Functions | Static Public Attributes | List of all members
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
 

Static Public Attributes

static const int32_t kMINSURVIVALTIME
 

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

Member Data Documentation

◆ kMINSURVIVALTIME

const int32_t nim::InitNosConfigParam::kMINSURVIVALTIME
static

int32_t 资源生命周期 最小取值


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