NIM PC Cross Platform SDK
nim::EventOnlineClientType Struct Reference

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

#include <nim_subscribe_event_helper.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Member Function Documentation

◆ ParseConfig()

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

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

Parameters
[in]nim_config_json在线客户端类型Json
Returns
bool 解析成功 或失败

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