iOS SDK API Reference
Loading...
Searching...
No Matches
MobileRTCBORole.h
Go to the documentation of this file.
1//
2// MobileRTCBORole.h
3// MobileRTC
4//
5// Created by Zoom Video Communications on 2020/2/11.
6// Copyright © 2020 Zoom Video Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11typedef enum : NSUInteger {
12 BOUserStatusUnassigned = 1, //User is in main conference, not assigned to BO
13 BOUserStatusNotJoin = 2, //User is assigned to BO, but not join
14 BOUserStatusInBO = 3, //User is already in BO
16
17
18@interface MobileRTCBOUser : NSObject
22- (NSString * _Nullable)getUserId;
23
27- (NSString * _Nullable)getUserName;
28
33@end
34
35@interface MobileRTCBOMeeting : NSObject
39- (NSString * _Nullable)getBOMeetingId;
40
44- (NSString * _Nullable)getBOMeetingName;
45
49- (NSArray <NSString *>* _Nullable)getBOMeetingUserList;
50@end
51
55typedef NS_ENUM(NSUInteger, MobileRTCBOStopCountDown) {
62};
63
67@interface MobileRTCBOOption : NSObject
68
72@property (nonatomic, assign) MobileRTCBOStopCountDown countdownSeconds;
76@property (nonatomic, assign) BOOL isParticipantCanChooseBO;
80@property (nonatomic, assign) BOOL isParticipantCanReturnToMainSessionAtAnyTime;
84@property (nonatomic, assign) BOOL isAutoMoveAllAssignedParticipantsEnabled;
88@property (nonatomic, assign) BOOL isBOTimerEnabled;
92@property (nonatomic, assign) BOOL isTimerAutoStopBOEnabled;
97@property (nonatomic, assign) NSInteger timerDuration;
98
99@end
100
152@interface MobileRTCBOCreator : NSObject
153
159- (NSString * _Nullable)createBO:(NSString * _Nonnull)boName;
160
166- (BOOL)createGroupBO:(NSArray<NSString*> * _Nonnull)boNameList;
167
174- (BOOL)updateBO:(NSString * _Nonnull)boId name:(NSString * _Nonnull)boName;
175
181- (BOOL)removeBO:(NSString * _Nonnull)boId;
182
189- (BOOL)assignUser:(NSString * _Nonnull)boUserId toBO:(NSString * _Nonnull)boId;
190
195- (BOOL)removeUser:(NSString * _Nonnull)boUserId fromBO:(NSString * _Nonnull)boId;
196
202- (BOOL)setBOOption:(MobileRTCBOOption *_Nonnull)option;
203
208- (MobileRTCBOOption * _Nullable)getBOOption;
209@end
210
211@interface MobileRTCBOAdmin : NSObject
216- (BOOL)startBO;
217
222- (BOOL)stopBO;
223
230- (BOOL)assignNewUser:(NSString * _Nonnull)boUserId toRunningBO:(NSString * _Nonnull)boId;
231
238- (BOOL)switchUser:(NSString * _Nonnull)boUserId toRunningBO:(NSString * _Nonnull)boId;
239
244- (BOOL)canStartBO;
245
251- (BOOL)joinBOByUserRequest:(NSString * _Nonnull)boUserId;
252
258- (BOOL)ignoreUserHelpRequest:(NSString * _Nonnull)boUserId;
259
265- (BOOL)broadcastMessage:(NSString * _Nonnull)strMsg;
266
272- (BOOL)inviteBOUserReturnToMainSession:(NSString * _Nonnull)boUserId;
273@end
274
275@interface MobileRTCBOAssistant : NSObject
276
282- (BOOL)joinBO:(NSString * _Nonnull)boId;
283
288- (BOOL)leaveBO;
289
290@end
291
292@interface MobileRTCBOAttendee : NSObject
293
298- (BOOL)joinBO;
299
304- (BOOL)leaveBO;
305
310- (NSString * _Nullable)getBOName;
311
316- (BOOL)requestForHelp;
317
322- (BOOL)isHostInThisBO;
323
328- (BOOL)isCanReturnMainSession;
329
330@end
331
332@interface MobileRTCBOData : NSObject
333
338- (NSArray * _Nullable)getUnassignedUserList;
339
344- (NSArray * _Nullable)getBOMeetingIDList;
345
351- (MobileRTCBOUser * _Nullable)getBOUserByUserID:(NSString * _Nonnull)userId;
352
358- (MobileRTCBOMeeting * _Nullable)getBOMeetingByID:(NSString * _Nonnull)boId;
359
364- (NSString * _Nullable)getCurrentBOName;
365
371- (BOOL)isBOUserMyself:(NSString *_Nonnull)boUserId;
372
373@end
374
MobileRTCBOStopCountDown
enum for BO stop countdown.
@ MobileRTCBOStopCountDown_Not_CountDown
@ MobileRTCBOStopCountDown_Seconds_15
@ MobileRTCBOStopCountDown_Seconds_120
@ MobileRTCBOStopCountDown_Seconds_30
@ MobileRTCBOStopCountDown_Seconds_10
@ MobileRTCBOStopCountDown_Seconds_60
MobileRTCBOUserStatus
@ BOUserStatusNotJoin
@ BOUserStatusInBO
@ BOUserStatusUnassigned
NSString *_Nullable getBOMeetingName()
get bo meeting name.
NSString *_Nullable getBOMeetingId()
get bo meeting id.
NSArray< NSString * > *_Nullable getBOMeetingUserList()
get bo meeting user array.
BOOL isParticipantCanReturnToMainSessionAtAnyTime
Enable/Disable that participant can return to main session at any time.
NSInteger timerDuration
seconds of BO timer duration
BOOL isTimerAutoStopBOEnabled
true: if time is up, will stop BO auto. false: don't auto stop.
MobileRTCBOStopCountDown countdownSeconds
BO Count Down Second.
BOOL isParticipantCanChooseBO
Enable/Disable that participant can choose breakout room.
BOOL isBOTimerEnabled
true: it's timer BO false: not timer BO
BOOL isAutoMoveAllAssignedParticipantsEnabled
Enable/Disable that auto move all assigned participants to breakout room.
NSString *_Nullable getUserName()
get bo meeting user name.
MobileRTCBOUserStatus getUserStatus()
get bo meeting user status.
NSString *_Nullable getUserId()
get bo meeting user id.