NEMeetingKit V4.15.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
165 virtual void getMeetingList(std::list<NEMeetingItemStatus> status, const NEGetMeetingListCallback& callback) = 0;
166
174 virtual void getScheduledMeetingList(std::list<NEMeetingItemStatus> status, const NEGetMeetingListCallback& callback) = 0;
175
182 virtual void getScheduledMeetingMemberList(const std::string& meetingNum, const NEGetScheduledMemberListCallback& callback) = 0;
183
189 virtual void addListener(NEPreMeetingListener* listener) = 0;
190
196 virtual void removeListener(NEPreMeetingListener* listener) = 0;
197
198// /**
199// * @brief 根据邀请码获取会议信息
200// * @param inviteCode 邀请码
201// * @return void
202// */
203// virtual void getMeetingItemByInviteCode(NEMeetingItemCallback& callback) = 0;
204//
205// /**
206// * @brief 获取当前语言环境下的邀请信息
207// * @param item 会议条目
208// * @param callback 回调,返回会议邀请信息
209// * @return void
210// */
211// virtual void getMeetingItemByInviteCode(const NEMeetingItem& item, NEGetInviteInfoCallback& callback) = 0;
212
219
226 virtual void getMeetingCloudRecordList(const int64_t& meetingId, const NEMeetingRecordListCallback& callback) = 0;
227
234 virtual void getHistoryMeetingTranscriptionInfo(const int64_t& meetingId, const NEMeetingTranscriptionInfoListCallback& callback) = 0;
235
241 virtual void getHistoryMeetingTranscriptionFileUrl(const int64_t& meetingId,
242 const std::string& fileKey,
243 const NEMeetingTranscriptionFileUrlCallback& callback) = 0;
244
250 virtual void getHistoryMeetingTranscriptionMessageList(const int64_t& meetingId,
251 const std::string& fileKey,
253
259 virtual void loadWebAppView(const int64_t& meetingId, const NEMeetingWebAppItem& meetingWebAppItem, const NEEmptyCallback& callback) = 0;
260
268 virtual void fetchChatroomHistoryMessageList(const int64_t& meetingId,
271
276 virtual void exportChatroomHistoryMessageList(const int64_t& meetingId, const NEMeetingExportChatroomHistoryCallback& callback) = 0;
277
283 virtual void clearLocalHistoryMeetingList( const NEEmptyCallback & callback) = 0;
289 virtual void loadChatroomHistoryMessageView(const std::string& meetingId, const NEEmptyCallback& callback) = 0;
290};
291
293#endif // NEM_SDK_INTERFACE_INTERFACE_PREMEETING_SERVICE_H_
#define NNEM_SDK_INTERFACE_BEGIN_DECLS
Definition build_config.h:16
#define NNEM_SDK_INTERFACE_END_DECLS
Definition build_config.h:17
公共对象
Definition kit_define_public.h:24
监听预约会议状态变更通知
Definition kit_service_premeeting.h:25
virtual void onMeetingItemInfoChanged(const std::list< NEMeetingItem > &meetingItemList)=0
会议信息变更回调,一次回调可能包含多个会议信息或状态的变更
预约会议服务
Definition 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
Definition kit_service_premeeting.h:43
virtual NEMeetingItem createScheduleMeetingItem()=0
预约会议
virtual void addListener(NEPreMeetingListener *listener)=0
注册预约会议状态变更监听器
NECallback< NEMeetingItem > NEMeetingItemCallback
Definition kit_service_premeeting.h:48
virtual void removeFavoriteMeeting(int64_t meetingId, const NECallback<> &callback)=0
取消收藏会议
NECallback< const std::list< NEMeetingChatMessage > & > NEMeetingFetchChatroomHistoryListCallback
Definition kit_service_premeeting.h:55
virtual void getMeetingCloudRecordList(const int64_t &meetingId, const NEMeetingRecordListCallback &callback)=0
获取会议云录制记录列表,仅在返回错误码为成功时,才代表有云录制任务,解码任务过程中获取列表可能会有延迟
NECallback< std::list< NEMeetingItem > & > NEGetMeetingListCallback
Definition kit_service_premeeting.h:42
NEEmptyCallback NEOperateScheduleMeetingCallback
Definition 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
Definition kit_service_premeeting.h:44
virtual void removeListener(NEPreMeetingListener *listener)=0
反注册预约会议状态变更监听器
virtual void getScheduledMeetingList(std::list< NEMeetingItemStatus > status, const NEGetMeetingListCallback &callback)=0
查询特定状态下的会议列表。如果不指定要查询的状态,则会默认查询 init、started 列表。 目前暂不支持查询 cancel/recycled 状态下的会议列表。 只返回本端预约或者他人预约邀请的会...
virtual void getHistoryMeetingTranscriptionMessageList(const int64_t &meetingId, const std::string &fileKey, const NEMeetingTranscriptionMessageListCallback &callback)=0
获取历史会议的转写文件的消息列表
NECallback< std::list< NEMeetingTranscriptionInfo > & > NEMeetingTranscriptionInfoListCallback
Definition kit_service_premeeting.h:52
NECallback< NERemoteHistoryMeeting > NEGetHistoryMeetingCallback
Definition 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
Definition kit_service_premeeting.h:45
NECallback< NEMeetingItem > NEScheduleMeetingItemCallback
Definition kit_service_premeeting.h:39
virtual void loadChatroomHistoryMessageView(const std::string &meetingId, const NEEmptyCallback &callback)=0
加载会议聊天室历史消息页面
NECallback< const std::list< NELocalHistoryMeeting > & > NEGetLocalMeetingHistoryListCallback
Definition kit_service_premeeting.h:50
NECallback< NEMeetingItem > NEGetInviteInfoCallback
Definition kit_service_premeeting.h:49
NECallback< std::list< NEScheduledMember > > NEGetScheduledMemberListCallback
Definition 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
Definition 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
Definition kit_service_premeeting.h:56
NEScheduleMeetingItemCallback NEGetMeetingItemByNumberCallback
Definition kit_service_premeeting.h:40
NECallback< std::string > NEMeetingTranscriptionFileUrlCallback
Definition 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
Definition kit_service_premeeting.h:54
virtual void getLocalHistoryMeetingList(const NEGetLocalMeetingHistoryListCallback &callback)=0
获取本地历史会议记录列表,不支持漫游保存,默认保存最近10条记录
virtual void editMeeting(const NEMeetingItem &item, bool editRecurringMeeting, const NEOperateScheduleMeetingCallback &callback)=0
编辑会议
virtual void getMeetingItemById(const int64_t &meetingId, const NEScheduleMeetingItemCallback &callback)=0
查询预约会议信息
公共服务
Definition kit_service_define.h:23
NECallback<> NEEmptyCallback
Definition kit_define_callback.h:27
std::function< void(MeetingErrorCode, const std::string &, const TResultParam &...)> NECallback
Definition kit_define_callback.h:25
会议头文件
#define NEM_SDK_INTERFACE_EXPORT
Definition kit_interface_export.h:35
公共服务定义头文件
会议消息发送状态
Definition kit_define_meeting.h:2590
预约会议的信息
Definition kit_define_meeting.h:2195
Definition kit_define_meeting.h:2315