NIM SDK API  8.5.0
Public Member Functions | Public Attributes | List of all members
nim_chatroom::ChatRoomAnoymityEnterInfo Struct Reference

Public Member Functions

std::string ToJsonString () const
 组装Json Value字符串 More...
 

Public Attributes

std::list< std::string > address_
 
std::string app_data_file_
 
int sdk_log_level_
 
std::string app_key_
 
bool random_id_
 
std::list< std::string > login_tags_
 
std::string notify_tags_
 

Member Function Documentation

◆ ToJsonString()

std::string nim_chatroom::ChatRoomAnoymityEnterInfo::ToJsonString ( ) const
inline

组装Json Value字符串

Returns
void

Member Data Documentation

◆ address_

std::list<std::string> nim_chatroom::ChatRoomAnoymityEnterInfo::address_

聊天室地址,地址通过应用服务器接口获取

◆ app_data_file_

std::string nim_chatroom::ChatRoomAnoymityEnterInfo::app_data_file_

应用数据目录,匿名登录时必填,使用默认路径时只需传入单个目录名(不以反斜杠结尾),使用自定义路径时需传入完整路径(以反斜杠结尾,并确保有正确的读写权限!)

◆ app_key_

std::string nim_chatroom::ChatRoomAnoymityEnterInfo::app_key_

应用appkey,匿名登录时必填

◆ login_tags_

std::list<std::string> nim_chatroom::ChatRoomAnoymityEnterInfo::login_tags_

登录标签,可以设置多个

◆ notify_tags_

std::string nim_chatroom::ChatRoomAnoymityEnterInfo::notify_tags_

登录登出通知的目标标签

◆ random_id_

bool nim_chatroom::ChatRoomAnoymityEnterInfo::random_id_

是否开启随机ID模式,默认为关闭(false),建议默认值

◆ sdk_log_level_

int nim_chatroom::ChatRoomAnoymityEnterInfo::sdk_log_level_

匿名登录时选填,定义见NIMSDKLogLevel(选填,SDK默认的内置级别为kNIMSDKLogLevelPro)


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