NIM SDK API  9.0.0
Public Member Functions | Public Attributes | List of all members
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< NIMClientType > online_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 解析成功 或失败

Member Data Documentation

◆ online_client_type_

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

在线客户端类型集合


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