NEMeetingKit V4.11.0
载入中...
搜索中...
未找到
NEPreMeetingService.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
5#import <UIKit/UIKit.h>
6#import "NEMeetingInfo.h"
7#import "NEMeetingItem.h"
9#import "NEMeetingRecord.h"
12
13NS_ASSUME_NONNULL_BEGIN
14
18typedef void (^NEMeetingItemCallback)(NSInteger resultCode, NSString *resultMsg,
19 NEMeetingItem *_Nullable item);
20
24typedef void (^NEMeetingListCallback)(NSInteger resultCode, NSString *resultMsg,
25 NSArray<NEMeetingItem *> *items);
26
30@protocol NEPreMeetingListener <NSObject>
31
39- (void)onScheduleMeetingStatusChange:(NSArray<NEMeetingItem *> *)changedMeetingItemList
40 incremental:(BOOL)incremental
41 DEPRECATED_MSG_ATTRIBUTE(
42 "deprecated in 4.6.0, use NEPreMeetingListener.onMeetingItemInfoChanged: instead");
43
49- (void)onMeetingItemInfoChanged:(NSArray<NEMeetingItem *> *)meetingItemList;
50
51@end
52
56@protocol NEScheduleMeetingListener <NEPreMeetingListener>
57
58@end
59
64@interface NEPreMeetingService : NSObject
65
72- (void)getFavoriteMeetingList:(NSInteger)anchorId
73 limit:(int)limit
74 callback:(void (^)(NSInteger code, NSString *message,
75 NSArray<NERemoteHistoryMeeting *> *data))callback;
76
82- (void)addFavoriteMeeting:(NSInteger)meetingId
83 callback:
84 (void (^)(NSInteger code, NSString *message, NSNumber *favoriteId))callback;
85
91- (void)removeFavoriteMeeting:(NSInteger)meetingId callback:(NECallback)callback;
92
101- (void)getHistoryMeetingList:(NSInteger)anchorId
102 limit:(int)limit
103 callback:(void (^)(NSInteger code, NSString *message,
104 NSArray<NERemoteHistoryMeeting *> *data))callback;
105
111- (void)getHistoryMeetingDetail:(NSInteger)meetingId
112 callback:(void (^)(NSInteger code, NSString *message,
113 NERemoteHistoryMeetingDetail *data))callback;
114
120- (void)getHistoryMeeting:(NSInteger)meetingId
121 callback:(void (^)(NSInteger code, NSString *message,
122 NERemoteHistoryMeeting *data))callback;
123
129
135- (void)scheduleMeeting:(NEMeetingItem *)item callback:(NEMeetingItemCallback)callback;
136
143- (void)editMeeting:(NEMeetingItem *)item
144 editRecurringMeeting:(BOOL)editRecurringMeeting
145 callback:(NEMeetingItemCallback)callback;
146
153- (void)cancelMeeting:(uint64_t)meetingId
154 cancelRecurringMeeting:(BOOL)cancelRecurringMeeting
155 callback:(NEMeetingCallback)callback;
156
162- (void)getMeetingItemByNum:(NSString *)meetingNum callback:(NEMeetingItemCallback)callback;
163
169- (void)getMeetingItemByInviteCode:(NSString *)inviteCode callback:(NEMeetingItemCallback)callback;
170
176- (void)getMeetingItemById:(long)meetingId callback:(NEMeetingItemCallback)callback;
177
185- (void)getMeetingList:(NSArray<NSNumber *> *)status
186 callback:(NEMeetingListCallback)callback
187 DEPRECATED_MSG_ATTRIBUTE("deprecated in 4.9.0, use getScheduledMeetingList instead");
188
196- (void)getScheduledMeetingList:(NSArray<NSNumber *> *)status
197 callback:(NEMeetingListCallback)callback;
198
205- (void)getScheduledMeetingMemberList:(NSString *)meetingNum
206 callback:(void (^)(NSInteger code, NSString *message,
207 NSArray<NEScheduledMember *> *data))callback;
208
215- (void)getInviteInfo:(NEMeetingItem *)item callback:(void (^)(NSString *info))callback;
216
221- (void)addListener:(id<NEPreMeetingListener>)listener;
222
227- (void)removeListener:(id<NEPreMeetingListener>)listener;
228
236- (void)getLocalHistoryMeetingList:
237 (void (^)(NSInteger code, NSString *message, NSArray<NELocalHistoryMeeting *> *data))callback
238 DEPRECATED_MSG_ATTRIBUTE("deprecated in 4.9.0");
239
246- (void)clearLocalHistoryMeetingList:(NECallback)callback
247 DEPRECATED_MSG_ATTRIBUTE("deprecated in 4.9.0");
248;
249
256- (void)getMeetingCloudRecordList:(long)meetingId
257 callback:(void (^)(NSInteger code, NSString *message,
258 NSArray<NEMeetingRecord *> *data))callback;
265- (void)getHistoryMeetingTranscriptionInfo:(long)meetingId
266 callback:(void (^)(NSInteger code, NSString *message,
267 NSArray<NEMeetingTranscriptionInfo *> *data))
268 callback;
276- (void)getHistoryMeetingTranscriptionMessageList:(long)meetingId
277 fileKey:(NSString *)fileKey
278 callback:(void (^)(NSInteger code, NSString *message,
280 *data))callback;
281
289- (void)getHistoryMeetingTranscriptionFileUrl:(long)meetingId
290 fileKey:(NSString *)fileKey
291 callback:(void (^)(NSInteger code, NSString *message,
292 NSString *data))callback;
293
302- (void)loadWebAppView:(long)meetingId
303 item:(NEMeetingWebAppItem *)item
304 callback:(void (^)(NSInteger code, NSString *message,
305 UIViewController *viewController))callback;
306
314- (void)fetchChatroomHistoryMessageList:(long)meetingId
316 callback:
317 (void (^)(NSInteger code, NSString *message,
318 NSArray<NEMeetingChatMessage *> *messages))callback;
319
327- (void)loadChatroomHistoryMessageView:(long)meetingId
328 callback:(void (^)(NSInteger code, NSString *message,
329 UIViewController *viewController))callback;
330
331@end
332
333NS_ASSUME_NONNULL_END
void(^ NECallback)(NSInteger resultCode, NSString *resultMessage, id resultData)
定义 NEMeetingKitDefine.h:17
void(^ NEMeetingCallback)(NSInteger resultCode, NSString *resultMessage)
定义 NEMeetingKitDefine.h:28
NS_ASSUME_NONNULL_BEGIN typedef void(^ NEMeetingItemCallback)(NSInteger resultCode, NSString *resultMsg, NEMeetingItem *_Nullable item)
void(^ NEMeetingListCallback)(NSInteger resultCode, NSString *resultMsg, NSArray< NEMeetingItem * > *items)
定义 NEPreMeetingService.h:24
定义 NERemoteHistoryMeetingDetail.h:261
定义 NEMeetingInfo.h:14
定义 NERemoteHistoryMeetingDetail.h:280
定义 NEMeetingItem.h:430
定义 NEMeetingRecord.h:60
定义 NEMeetingTranscriptionInfo.h:65
定义 NEMeetingTranscriptionInfo.h:27
定义 NERemoteHistoryMeetingDetail.h:112
定义 NEPreMeetingService.h:65
NEMeetingItem * createScheduleMeetingItem()
定义 NERemoteHistoryMeetingDetail.h:169
定义 NERemoteHistoryMeetingDetail.h:184
定义 NEScheduledMember.h:13