NEMeetingKit V4.8.0
载入中...
搜索中...
未找到
kit_service_premeeting.h
浏览该文件的文档.
1// Copyright (c) 2022 NetEase, Inc. All rights reserved.
2// Use of this source code is governed by a MIT license that can be
3// found in the LICENSE file.
4
13#ifndef NEM_SDK_INTERFACE_INTERFACE_PREMEETING_SERVICE_H_
14#define NEM_SDK_INTERFACE_INTERFACE_PREMEETING_SERVICE_H_
15
16#include <list>
17#include "kit_define_meeting.h"
18#include "kit_service_define.h"
19
21
26public:
31 virtual void onMeetingItemInfoChanged(const std::list<NEMeetingItem>& meetingItemList) = 0;
32};
33
38public:
57
58public:
67 virtual void getFavoriteMeetingList(int64_t anchorId, uint32_t limit, const NEGetFavoriteMeetingListCallback& callback) = 0;
68
75 virtual void addFavoriteMeeting(int64_t meetingId, const NECallback<int64_t>& callback) = 0;
76
83 virtual void removeFavoriteMeeting(int64_t meetingId, const NECallback<>& callback) = 0;
84
92 virtual void getHistoryMeetingList(int64_t anchorId, uint32_t limit, const NEGetHistoryMeetingListCallback& callback) = 0;
93
100 virtual void getHistoryMeetingDetail(int64_t meetingId, const NEGetHistoryMeetingDetailCallback& callback) = 0;
101
108 virtual void getHistoryMeeting(int64_t meetingId, const NEGetHistoryMeetingCallback& callback) = 0;
109
115
122 virtual void scheduleMeeting(const NEMeetingItem& item, const NEScheduleMeetingItemCallback& callback) = 0;
123
131 virtual void editMeeting(const NEMeetingItem& item, bool editRecurringMeeting, const NEOperateScheduleMeetingCallback& callback) = 0;
132
140 virtual void cancelMeeting(const int64_t& meetingId, bool cancelRecurringMeeting, const NEOperateScheduleMeetingCallback& callback) = 0;
141
147 virtual void getMeetingItemByNum(const std::string& meetingNum, const NEGetMeetingItemByNumberCallback& callback) = 0;
148
155 virtual void getMeetingItemById(const int64_t& meetingId, const NEScheduleMeetingItemCallback& callback) = 0;
156
163 virtual void getMeetingList(std::list<NEMeetingItemStatus> status, const NEGetMeetingListCallback& callback) = 0;
164
171 virtual void getScheduledMeetingMemberList(const std::string& meetingNum, const NEGetScheduledMemberListCallback& callback) = 0;
172
178 virtual void addListener(NEPreMeetingListener* listener) = 0;
179
185 virtual void removeListener(NEPreMeetingListener* listener) = 0;
186
187// /**
188// * @brief 根据邀请码获取会议信息
189// * @param inviteCode 邀请码
190// * @return void
191// */
192// virtual void getMeetingItemByInviteCode(NEMeetingItemCallback& callback) = 0;
193//
194// /**
195// * @brief 获取当前语言环境下的邀请信息
196// * @param item 会议条目
197// * @param callback 回调,返回会议邀请信息
198// * @return void
199// */
200// virtual void getMeetingItemByInviteCode(const NEMeetingItem& item, NEGetInviteInfoCallback& callback) = 0;
201
207
214 virtual void getMeetingCloudRecordList(const int64_t& meetingId, const NEMeetingRecordListCallback& callback) = 0;
215
222 virtual void getHistoryMeetingTranscriptionInfo(const int64_t& meetingId, const NEMeetingTranscriptionInfoListCallback& callback) = 0;
223
229 virtual void getHistoryMeetingTranscriptionFileUrl(const int64_t& meetingId,
230 const std::string& fileKey,
231 const NEMeetingTranscriptionFileUrlCallback& callback) = 0;
232
238 virtual void getHistoryMeetingTranscriptionMessageList(const int64_t& meetingId,
239 const std::string& fileKey,
241
247 virtual void loadWebAppView(const int64_t& meetingId, const NEMeetingWebAppItem& meetingWebAppItem, const NEEmptyCallback& callback) = 0;
248
256 virtual void fetchChatroomHistoryMessageList(const int64_t& meetingId,
259
264 virtual void exportChatroomHistoryMessageList(const int64_t& meetingId, const NEMeetingExportChatroomHistoryCallback& callback) = 0;
265
270 virtual void clearLocalHistoryMeetingList( const NEEmptyCallback & callback) = 0;
271};
272
274#endif // NEM_SDK_INTERFACE_INTERFACE_PREMEETING_SERVICE_H_
#define NNEM_SDK_INTERFACE_BEGIN_DECLS
定义 build_config.h:16
#define NNEM_SDK_INTERFACE_END_DECLS
定义 build_config.h:17
公共对象
定义 kit_define_public.h:24
监听预约会议状态变更通知
定义 kit_service_premeeting.h:25
virtual void onMeetingItemInfoChanged(const std::list< NEMeetingItem > &meetingItemList)=0
会议信息变更回调,一次回调可能包含多个会议信息或状态的变更
预约会议服务
定义 kit_service_premeeting.h:37
virtual void getHistoryMeeting(int64_t meetingId, const NEGetHistoryMeetingCallback &callback)=0
meetingId
virtual void loadWebAppView(const int64_t &meetingId, const NEMeetingWebAppItem &meetingWebAppItem, const NEEmptyCallback &callback)=0
加载小应用页面,用于会议历史详情的展示
virtual void getScheduledMeetingMemberList(const std::string &meetingNum, const NEGetScheduledMemberListCallback &callback)=0
查询预约会议成员列表
virtual void getHistoryMeetingTranscriptionInfo(const int64_t &meetingId, const NEMeetingTranscriptionInfoListCallback &callback)=0
获取历史会议的转写信息
virtual void getMeetingList(std::list< NEMeetingItemStatus > status, const NEGetMeetingListCallback &callback)=0
查询特定状态下的会议列表,目前仅仅支持查询待开始、进行中及已结束,后续将支持已取消和已回收状态。
virtual void getMeetingItemByNum(const std::string &meetingNum, const NEGetMeetingItemByNumberCallback &callback)=0
根据 meetingNum 查询预定会议信息
NECallback< std::list< NERemoteHistoryMeeting > & > NEGetFavoriteMeetingListCallback
定义 kit_service_premeeting.h:43
virtual NEMeetingItem createScheduleMeetingItem()=0
预约会议
virtual void addListener(NEPreMeetingListener *listener)=0
注册预约会议状态变更监听器
NECallback< NEMeetingItem > NEMeetingItemCallback
定义 kit_service_premeeting.h:48
virtual void removeFavoriteMeeting(int64_t meetingId, const NECallback<> &callback)=0
取消收藏会议
NECallback< const std::list< NEMeetingChatMessage > & > NEMeetingFetchChatroomHistoryListCallback
定义 kit_service_premeeting.h:55
virtual void getMeetingCloudRecordList(const int64_t &meetingId, const NEMeetingRecordListCallback &callback)=0
获取会议云录制记录列表,仅在返回错误码为成功时,才代表有云录制任务,解码任务过程中获取列表可能会有延迟
NECallback< std::list< NEMeetingItem > & > NEGetMeetingListCallback
定义 kit_service_premeeting.h:42
NEEmptyCallback NEOperateScheduleMeetingCallback
定义 kit_service_premeeting.h:41
virtual void fetchChatroomHistoryMessageList(const int64_t &meetingId, const NEChatroomHistoryMessageSearchOption &option, const NEMeetingFetchChatroomHistoryListCallback &callback)=0
查询会议聊天室历史消息
virtual void getHistoryMeetingList(int64_t anchorId, uint32_t limit, const NEGetHistoryMeetingListCallback &callback)=0
获取历史会议列表
NEGetFavoriteMeetingListCallback NEGetHistoryMeetingListCallback
定义 kit_service_premeeting.h:44
virtual void removeListener(NEPreMeetingListener *listener)=0
反注册预约会议状态变更监听器
virtual void getHistoryMeetingTranscriptionMessageList(const int64_t &meetingId, const std::string &fileKey, const NEMeetingTranscriptionMessageListCallback &callback)=0
获取历史会议的转写文件的消息列表
NECallback< std::list< NEMeetingTranscriptionInfo > & > NEMeetingTranscriptionInfoListCallback
定义 kit_service_premeeting.h:52
NECallback< NERemoteHistoryMeeting > NEGetHistoryMeetingCallback
定义 kit_service_premeeting.h:46
virtual void scheduleMeeting(const NEMeetingItem &item, const NEScheduleMeetingItemCallback &callback)=0
预约会议
virtual void exportChatroomHistoryMessageList(const int64_t &meetingId, const NEMeetingExportChatroomHistoryCallback &callback)=0
导出会议聊天室历史消息
NECallback< NERemoteHistoryMeetingDetail > NEGetHistoryMeetingDetailCallback
定义 kit_service_premeeting.h:45
NECallback< NEMeetingItem > NEScheduleMeetingItemCallback
定义 kit_service_premeeting.h:39
NECallback< const std::list< NELocalHistoryMeeting > & > NEGetLocalMeetingHistoryListCallback
定义 kit_service_premeeting.h:50
NECallback< NEMeetingItem > NEGetInviteInfoCallback
定义 kit_service_premeeting.h:49
NECallback< std::list< NEScheduledMember > > NEGetScheduledMemberListCallback
定义 kit_service_premeeting.h:47
virtual void clearLocalHistoryMeetingList(const NEEmptyCallback &callback)=0
清空本地历史会议记录列表
virtual void getHistoryMeetingTranscriptionFileUrl(const int64_t &meetingId, const std::string &fileKey, const NEMeetingTranscriptionFileUrlCallback &callback)=0
获取历史会议的转写文件下载地址
virtual void getHistoryMeetingDetail(int64_t meetingId, const NEGetHistoryMeetingDetailCallback &callback)=0
获取历史会议详情
NECallback< std::list< NEMeetingRecord > & > NEMeetingRecordListCallback
定义 kit_service_premeeting.h:51
virtual void getFavoriteMeetingList(int64_t anchorId, uint32_t limit, const NEGetFavoriteMeetingListCallback &callback)=0
获取收藏会议列表,返回会议时间早于 anchorId 的最多 limit 个会议。 如果 anchorId 小于等于 0,则从头开始查询。
NECallback< std::string > NEMeetingExportChatroomHistoryCallback
定义 kit_service_premeeting.h:56
NEScheduleMeetingItemCallback NEGetMeetingItemByNumberCallback
定义 kit_service_premeeting.h:40
NECallback< std::string > NEMeetingTranscriptionFileUrlCallback
定义 kit_service_premeeting.h:53
virtual void addFavoriteMeeting(int64_t meetingId, const NECallback< int64_t > &callback)=0
添加收藏会议
virtual void cancelMeeting(const int64_t &meetingId, bool cancelRecurringMeeting, const NEOperateScheduleMeetingCallback &callback)=0
取消已预约的会议
NECallback< const std::list< NEMeetingTranscriptionMessage > & > NEMeetingTranscriptionMessageListCallback
定义 kit_service_premeeting.h:54
virtual void getLocalHistoryMeetingList(const NEGetLocalMeetingHistoryListCallback &callback)=0
根据邀请码获取会议信息
virtual void editMeeting(const NEMeetingItem &item, bool editRecurringMeeting, const NEOperateScheduleMeetingCallback &callback)=0
编辑会议
virtual void getMeetingItemById(const int64_t &meetingId, const NEScheduleMeetingItemCallback &callback)=0
查询预约会议信息
公共服务
定义 kit_service_define.h:23
NECallback<> NEEmptyCallback
定义 kit_define_callback.h:27
std::function< void(MeetingErrorCode, const std::string &, const TResultParam &...)> NECallback
定义 kit_define_callback.h:25
会议头文件
#define NEM_SDK_INTERFACE_EXPORT
定义 kit_interface_export.h:35
公共服务定义头文件
会议消息发送状态
定义 kit_define_meeting.h:1798
预约会议的信息
定义 kit_define_meeting.h:1422
定义 kit_define_meeting.h:1542