NIM SDK API  9.0.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::string accid_
 
std::string token_
 

Member Function Documentation

◆ ToJsonString()

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

组装Json Value字符串

Returns
void

Member Data Documentation

◆ accid_

std::string nim_chatroom::ChatRoomAnoymityEnterInfo::accid_

使用自定义用户 ID,一旦指定,SDK 不会自动生成随机 ID,random 参数将无效

◆ 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,匿名登录时必填

◆ random_id_

bool nim_chatroom::ChatRoomAnoymityEnterInfo::random_id_

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

◆ sdk_log_level_

int nim_chatroom::ChatRoomAnoymityEnterInfo::sdk_log_level_

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

◆ token_

std::string nim_chatroom::ChatRoomAnoymityEnterInfo::token_

登录聊天室的密码


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