NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim::QChatLoginClientInfo结构体 参考

#include <nim_qchat_client_cpp_def.h>

Public 成员函数

 QChatLoginClientInfo ()=default
 
 QChatLoginClientInfo (const NIMQChatLoginClientInfo &c_param)
 
NIMQChatLoginClientInfo ToCParam () const
 

Public 属性

NIMQChatClientType client_type {kQChatClientTypeUnknown}
 终端类型
 
std::string device_id {""}
 设备 ID
 
std::string client_ip {""}
 客户端 IP
 
uint16_t client_port {0}
 客户端端口
 
std::string consid {""}
 会话 ID
 
uint64_t timestamp {0}
 时间戳
 
uint32_t custom_client_type {0}
 自定义终端类型
 
std::string custom_tag {""}
 自定义标签
 
std::string os_name {""}
 操作系统名称
 

构造及析构函数说明

◆ QChatLoginClientInfo() [1/2]

nim::QChatLoginClientInfo::QChatLoginClientInfo ( )
default

◆ QChatLoginClientInfo() [2/2]

nim::QChatLoginClientInfo::QChatLoginClientInfo ( const NIMQChatLoginClientInfo c_param)
inline

成员函数说明

◆ ToCParam()

NIMQChatLoginClientInfo nim::QChatLoginClientInfo::ToCParam ( ) const
inline

类成员变量说明

◆ client_ip

std::string nim::QChatLoginClientInfo::client_ip {""}

客户端 IP

◆ client_port

uint16_t nim::QChatLoginClientInfo::client_port {0}

客户端端口

◆ client_type

NIMQChatClientType nim::QChatLoginClientInfo::client_type {kQChatClientTypeUnknown}

终端类型

◆ consid

std::string nim::QChatLoginClientInfo::consid {""}

会话 ID

◆ custom_client_type

uint32_t nim::QChatLoginClientInfo::custom_client_type {0}

自定义终端类型

◆ custom_tag

std::string nim::QChatLoginClientInfo::custom_tag {""}

自定义标签

◆ device_id

std::string nim::QChatLoginClientInfo::device_id {""}

设备 ID

◆ os_name

std::string nim::QChatLoginClientInfo::os_name {""}

操作系统名称

◆ timestamp

uint64_t nim::QChatLoginClientInfo::timestamp {0}

时间戳


该结构体的文档由以下文件生成: