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

在线客户端类型,此结构体只用于在线状态事件的kNIMEventNimConfig字段 更多...

#include <nim_subscribe_event_helper.h>

Public 成员函数

bool ParseConfig (const std::string &multi_config_json)
 针对在线状态事件,从kNIMEventNimConfig的Json Value解析出在线客户端类型
 

Public 属性

std::set< NIMClientTypeonline_client_type_
 在线客户端类型集合
 

详细描述

在线客户端类型,此结构体只用于在线状态事件的kNIMEventNimConfig字段

成员函数说明

◆ ParseConfig()

bool nim::EventOnlineClientType::ParseConfig ( const std::string &  multi_config_json)
inline

针对在线状态事件,从kNIMEventNimConfig的Json Value解析出在线客户端类型

参数
[in]nim_config_json在线客户端类型Json
返回
bool 解析成功 或失败

类成员变量说明

◆ online_client_type_

std::set<NIMClientType> nim::EventOnlineClientType::online_client_type_

在线客户端类型集合


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