NIM SDK API  9.0.0
Classes | Namespaces | Functions
nim_subscribe_event_helper.h File Reference

事件订阅辅助方法和数据结构定义 More...

#include <functional>
#include <list>
#include <set>
#include <string>
#include "nim_define_include.h"
#include "nim_cpp_wrapper/nim_sdk_cpp_wrapper.h"
#include "nim_wrapper_util/nim_json_util.h"

Go to the source code of this file.

Classes

struct  nim::EventData
 事件数据 More...
 
struct  nim::EventOnlineClientType
 在线客户端类型,此结构体只用于在线状态事件的kNIMEventNimConfig字段 More...
 
struct  nim::EventSubscribeData
 事件订阅数据 More...
 

Namespaces

 nim
 namespace nim
 

Functions

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventData (const std::string &event_json, EventData &event_data)
 解析事件数据 More...
 
NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventData (const nim_cpp_wrapper_util::Json::Value &values, EventData &event_data)
 解析事件数据 More...
 
NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventDataList (const std::string &event_list_json, std::list< EventData > &event_data_list)
 解析批量事件数据 More...
 
NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventSubscribeData (const nim_cpp_wrapper_util::Json::Value &values, EventSubscribeData &event_subscribe)
 解析事件订阅数据 More...
 
NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventSubscribeDataList (const std::string &subscribe_list_json, std::list< EventSubscribeData > &event_subscribe_list)
 解析事件订阅数据列表 More...
 

Detailed Description

事件订阅辅助方法和数据结构定义

Date
2017/03/23