NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim::SessionOnLineServiceHelper类 参考

#include <nim_session_online_service_helper.h>

struct  DeleteSessionParam
 
struct  QuerySessionListResult
 会话服务 查询会话列表应答数据定义 更多...
 
struct  SessionInfo
 会话服务 会话数据定义 更多...
 

Public 类型

typedef std::list< SessionInfoSessionList
 会话列表
 

静态 Public 成员函数

static bool ParseSessionInfo (const std::string &session_json, SessionInfo &session)
 
static bool ParseQuerySessionListResult (const std::string &sessions_json, QuerySessionListResult &result)
 
static std::string DeleteSessionParamToJsonString (const DeleteSessionParam &param)
 解析查询会话列表结果
 

成员类型定义说明

◆ SessionList

成员函数说明

◆ DeleteSessionParamToJsonString()

std::string nim::SessionOnLineServiceHelper::DeleteSessionParamToJsonString ( const DeleteSessionParam param)
static

解析查询会话列表结果

参数
[in]paramDeleteSessionParam
返回
string json string

◆ ParseQuerySessionListResult()

bool nim::SessionOnLineServiceHelper::ParseQuerySessionListResult ( const std::string &  sessions_json,
QuerySessionListResult result 
)
static

◆ ParseSessionInfo()

bool nim::SessionOnLineServiceHelper::ParseSessionInfo ( const std::string &  session_json,
SessionInfo session 
)
static

该类的文档由以下文件生成: