1#ifndef V2_NIM_CHATROOM_QUEUE_SERVICE_H
2#define V2_NIM_CHATROOM_QUEUE_SERVICE_H
127 bool notificationEnabled,
Definition: ne_stl_continuous_container.h:15
Definition: ne_stl_string.h:19
Definition: v2_nim_chatroom_queue_service.hpp:8
virtual void queuePeek(const V2NIMSuccessCallback< const V2NIMChatroomQueueElement & > &success, const V2NIMFailureCallback &failure)=0
查看队头元素, 不删除
virtual void removeQueueListener(const V2NIMChatroomQueueListener &listener)=0
移除聊天室队列监听器
virtual void queueBatchUpdate(const nstd::vector< V2NIMChatroomQueueElement > &elements, bool notificationEnabled, const nstd::string ¬ificationExtension, const V2NIMSuccessCallback< const nstd::vector< nstd::string > & > &success, const V2NIMFailureCallback &failure)=0
批量更新队列元素
virtual void queuePoll(const nstd::string &elementKey, const V2NIMSuccessCallback< const V2NIMChatroomQueueElement & > &success, const V2NIMFailureCallback &failure)=0
取出头元素或者指定的元素
virtual void queueOffer(const V2NIMChatroomQueueOfferParams ¶ms, const V2NIMSuccessCallback< void > &success, const V2NIMFailureCallback &failure)=0
聊天室队列新增或更新元素
virtual void queueInit(uint32_t size, const V2NIMSuccessCallback< void > &success, const V2NIMFailureCallback &failure)=0
初始化队列
virtual void queueDrop(const V2NIMSuccessCallback< void > &success, const V2NIMFailureCallback &failure)=0
清空队列,仅管理员/创建者可以操作
virtual void addQueueListener(const V2NIMChatroomQueueListener &listener)=0
添加聊天室队列监听器
virtual void queueList(const V2NIMSuccessCallback< const nstd::vector< V2NIMChatroomQueueElement > & > &success, const V2NIMFailureCallback &failure)=0
排序列出所有元素
通用成功
Definition: v2_nim_def_callback.hpp:7
Definition: v2_nim_ai_service.hpp:4
Definition: ne_stl_bind.h:132
Definition: v2_nim_def_callback.hpp:245
Definition: v2_nim_def_struct.hpp:2053