NIM PC Cross Platform SDK
|
通知麦序队列中有批量变更,发生在元素提交者离开聊天室或者从聊天室异常掉线时 更多...
#include <nim_chatroom_helper.h>
Public 成员函数 | |
void | ParseFromNotification (const ChatRoomNotification ¬ification) |
从聊天室通知中解析得到队列变更具体内容 | |
Public 属性 | |
std::string | type_ |
队列变更类型 OFFER, POLL, DROP | |
std::string | key_ |
队列变更元素的Key | |
std::string | value_ |
队列变更元素的Value | |
std::map< std::string, std::string > | changed_values_ |
队列变更元素的Value | |
通知麦序队列中有批量变更,发生在元素提交者离开聊天室或者从聊天室异常掉线时
|
inline |
从聊天室通知中解析得到队列变更具体内容
[in] | notification | 聊天室通知 |
std::map<std::string, std::string> nim_chatroom::ChatRoomQueueBatchChangedNotification::changed_values_ |
队列变更元素的Value
std::string nim_chatroom::ChatRoomQueueBatchChangedNotification::key_ |
队列变更元素的Key
std::string nim_chatroom::ChatRoomQueueBatchChangedNotification::type_ |
队列变更类型 OFFER, POLL, DROP
std::string nim_chatroom::ChatRoomQueueBatchChangedNotification::value_ |
队列变更元素的Value