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

通知麦序队列中有批量变更,发生在元素提交者离开聊天室或者从聊天室异常掉线时 更多...

#include <nim_chatroom_helper.h>

Public 成员函数

void ParseFromNotification (const ChatRoomNotification &notification)
 从聊天室通知中解析得到队列变更具体内容
 

Public 属性

std::string type_
 队列变更类型 OFFER, POLL, DROP
 
std::string key_
 队列变更元素的Key
 
std::string value_
 队列变更元素的Value
 
std::map< std::string, std::string > changed_values_
 队列变更元素的Value
 

详细描述

通知麦序队列中有批量变更,发生在元素提交者离开聊天室或者从聊天室异常掉线时

成员函数说明

◆ ParseFromNotification()

void nim_chatroom::ChatRoomQueueBatchChangedNotification::ParseFromNotification ( const ChatRoomNotification notification)
inline

从聊天室通知中解析得到队列变更具体内容

参数
[in]notification聊天室通知
返回
void

类成员变量说明

◆ changed_values_

std::map<std::string, std::string> nim_chatroom::ChatRoomQueueBatchChangedNotification::changed_values_

队列变更元素的Value

◆ key_

std::string nim_chatroom::ChatRoomQueueBatchChangedNotification::key_

队列变更元素的Key

◆ type_

std::string nim_chatroom::ChatRoomQueueBatchChangedNotification::type_

队列变更类型 OFFER, POLL, DROP

◆ value_

std::string nim_chatroom::ChatRoomQueueBatchChangedNotification::value_

队列变更元素的Value


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