Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
meeting_breakout_rooms_interface_v2.h
Go to the documentation of this file.
1
56#ifndef _MEETING_BREAKOUT_ROOMS_INTERFACE2_H_
57#define _MEETING_BREAKOUT_ROOMS_INTERFACE2_H_
58#include "zoom_sdk_def.h"
59
61
62typedef enum
63{
69
70typedef enum
71{
77
81{
82public:
83 virtual ~IBOMeeting() {}
84
86 virtual const zchar_t* GetBOID() = 0;
87
89 virtual const zchar_t* GetBOName() = 0;
90
94
97 virtual BO_CTRL_USER_STATUS GetBOUserStatus(const zchar_t* strUserID) = 0;
98};
99
103
105{
111
112struct BOOption;
114{
115public:
116 virtual ~IBOCreatorEvent() {}
117
120 virtual void onBOCreateSuccess(const zchar_t* strBOID) = 0;
121
125
127 virtual void OnBOOptionChanged(const BOOption& newOption) = 0;
128};
129
132{
139};
140
143{
150 unsigned int nTimerDuration;
151
159 {
164 IsBOTimerEnabled = false;
166 nTimerDuration = 0;
167 IsPanelistCanChooseBO = false;
168 IsAttendeeCanChooseBO = false;
171 IsAttendeeContained = false;
172 }
173};
174
178{
179public:
185
191 virtual bool AddNewBoToList(const zchar_t* strNewBOName) = 0;
192
198};
199
203{
204public:
205
206 virtual void SetEvent(IBOCreatorEvent* pEvent) = 0;
207
211 virtual const zchar_t* CreateBO(const zchar_t* strBOName) = 0;
212
217 virtual bool UpdateBOName(const zchar_t* strBOID, const zchar_t* strNewBOName) = 0;
218
222 virtual bool RemoveBO(const zchar_t* strBOID) = 0;
223
228 virtual bool AssignUserToBO(const zchar_t* strUserID, const zchar_t* strBOID) = 0;
229
234 virtual bool RemoveUserFromBO(const zchar_t* strUserID, const zchar_t* strBOID) = 0;
235
239 virtual bool SetBOOption(const BOOption& option) = 0;
240
244 virtual bool GetBOOption(BOOption& option) = 0;
245
249
252 virtual bool IsWebPreAssignBOEnabled() = 0;
253
258
262
266 virtual bool CreateWebinarBo(const zchar_t* strBOName) = 0;
267};
268
271{
281
285{
286public:
287
288 virtual ~IBOAdminEvent() {}
289
292 virtual void onHelpRequestReceived(const zchar_t* strUserID) = 0;
293
296 virtual void onStartBOError(BOControllerError errCode) = 0;
297
300 virtual void onBOEndTimerUpdated(int remaining, bool isTimesUpNotice) = 0;
301};
302
306{
307public:
310 virtual bool StartBO() = 0;
311
314 virtual bool StopBO() = 0;
315
318 virtual bool AssignNewUserToRunningBO(const zchar_t* strUserID, const zchar_t* strBOID) = 0;
319
322 virtual bool SwitchAssignedUserToRunningBO(const zchar_t* strUserID, const zchar_t* strBOID) = 0;
323
326 virtual bool CanStartBO() = 0;
327
330 virtual void SetEvent(IBOAdminEvent* pEvent) = 0;
331
334 virtual bool JoinBOByUserRequest(const zchar_t* strUserID) = 0;
335
338 virtual bool IgnoreUserHelpRequest(const zchar_t* strUserID) = 0;
339
342 virtual bool BroadcastMessage(const zchar_t* strMsg) = 0;
343
346 virtual bool InviteBOUserReturnToMainSession(const zchar_t* strUserID) = 0;
347
350 virtual bool IsBroadcastVoiceToBOSupport() = 0;
351
354 virtual bool CanBroadcastVoiceToBO() = 0;
355
359 virtual bool BrodcastVoiceToBo(bool bStart) = 0;
360};
361
363
367{
368public:
371 virtual bool JoinBO(const zchar_t* strBOID) = 0;
372
375 virtual bool LeaveBO() = 0;
376};
377
379
383{
384public:
385
386 virtual ~IBOAttendeeEvent() {}
387
391
393 virtual void onHostJoinedThisBOMeeting() = 0;
394
396 virtual void onHostLeaveThisBOMeeting() = 0;
397};
401{
402public:
405 virtual bool JoinBo() = 0;
406
409 virtual bool LeaveBo() = 0;
410
412 virtual const zchar_t* GetBoName() = 0;
413
416 virtual void SetEvent(IBOAttendeeEvent* pEvent) = 0;
417
420 virtual bool RequestForHelp() = 0;
421
424 virtual bool IsHostInThisBO() = 0;
425
428 virtual bool IsCanReturnMainSession() = 0;
429};
430
432
436{
437public:
438 virtual ~IBODataEvent() {}
439
442 virtual void onBOInfoUpdated(const zchar_t* strBOID) = 0;
443
446 virtual void onUnAssignedUserUpdated() = 0;
447
451 virtual void OnBOListInfoUpdated() = 0;
452};
456{
457public:
460 virtual void SetEvent(IBODataEvent* pEvent) = 0;
461
466
471
474 virtual const zchar_t* GetBOUserName(const zchar_t* strUserID) = 0;
475
478 virtual bool IsBOUserMyself(const zchar_t* strUserID) = 0;
479
483 virtual IBOMeeting* GetBOMeetingByID(const zchar_t* strBOID) = 0;
484
487 virtual const zchar_t* GetCurrentBoName() = 0;
488};
489
491
494{
499 BO_STATUS_ENDED = 4
501
505{
506public:
508
511 virtual bool ReturnToMainSession() = 0;
512
514 virtual void Ignore() = 0;
515};
516
520{
521public:
523
526 virtual void onHasCreatorRightsNotification(IBOCreator* pCreatorObj) = 0;
527
530 virtual void onHasAdminRightsNotification(IBOAdmin* pAdminObj) = 0;
531
534 virtual void onHasAssistantRightsNotification(IBOAssistant* pAssistantObj) = 0;
535
538 virtual void onHasAttendeeRightsNotification(IBOAttendee* pAttendeeObj) = 0;
539
542 virtual void onHasDataHelperRightsNotification(IBOData* pDataHelperObj) = 0;
543
546
549
552
555
558
562 virtual void onNewBroadcastMessageReceived(const zchar_t* strMsg, unsigned int nSenderID, const zchar_t* strSenderName) = 0;
563
566 virtual void onBOStopCountDown(unsigned int nSeconds) = 0;
567
570 virtual void onHostInviteReturnToMainSession(const zchar_t* strName, IReturnToMainSessionHandler* handler) = 0;
571
574 virtual void onBOStatusChanged(BO_STATUS eStatus) = 0;
575
579 virtual void onBOSwitchRequestReceived(const zchar_t* strNewBOName, const zchar_t* strNewBOID) = 0;
580
583 virtual void onBroadcastBOVoiceStatus(bool bStart) = 0;
584};
585
589{
590public:
594 virtual bool SetEvent(IMeetingBOControllerEvent* event) = 0;
595
600
605
610
615
619 virtual IBOData* GetBODataHelper() = 0;
620
623 virtual bool IsBOStarted() = 0;
624
627 virtual bool IsBOEnabled() = 0;
628
631 virtual bool IsInBOMeeting() = 0;
632
635 virtual BO_STATUS GetBOStatus() = 0;
636
639 virtual bool IsBroadcastingVoiceToBO() = 0;
640
643 virtual const zchar_t* GetJoiningBOName() = 0;
644};
645
647#endif
BO admin callback handler.
virtual void onStartBOError(BOControllerError errCode)=0
when StartBO fail, you will receive the event.
virtual void onBOEndTimerUpdated(int remaining, bool isTimesUpNotice)=0
if it's timer BO, after start BO, you will receive the event.
virtual void onHelpRequestReceived(const zchar_t *strUserID)=0
when someone send the request help, notify it.
virtual bool BroadcastMessage(const zchar_t *strMsg)=0
To send the broadcast message.
virtual bool IsBroadcastVoiceToBOSupport()=0
Query if the current meeting supports broadcasting host's voice to BO.
virtual bool StartBO()=0
start BO.
virtual bool BrodcastVoiceToBo(bool bStart)=0
Start or stop broadcasting voice to BO.
virtual bool SwitchAssignedUserToRunningBO(const zchar_t *strUserID, const zchar_t *strBOID)=0
To Switch user to other BO, when BO is started.
virtual bool IgnoreUserHelpRequest(const zchar_t *strUserID)=0
To ignore the request help.
virtual bool InviteBOUserReturnToMainSession(const zchar_t *strUserID)=0
Host invite user return to main session, When BO is started and user is in BO.
virtual bool StopBO()=0
stop BO.
virtual bool CanStartBO()=0
Determine if can start BO.
virtual bool CanBroadcastVoiceToBO()=0
Query if the host now has the ability to broadcast voice to BO.
virtual void SetEvent(IBOAdminEvent *pEvent)=0
Set admin callback handler.
virtual bool JoinBOByUserRequest(const zchar_t *strUserID)=0
To join the BO which request help is from.
virtual bool AssignNewUserToRunningBO(const zchar_t *strUserID, const zchar_t *strBOID)=0
To set a unassigned user to a BO, when BO is started.
virtual bool JoinBO(const zchar_t *strBOID)=0
Join BO by BO ID.
virtual bool LeaveBO()=0
leave BO
attendee callback handler.
virtual void onHelpRequestHandleResultReceived(ATTENDEE_REQUEST_FOR_HELP_RESULT eResult)=0
To notify the status of request help.
virtual void onHostLeaveThisBOMeeting()=0
To notify if host has leaved the BO.
virtual void onHostJoinedThisBOMeeting()=0
To notify if host has joined the BO.
virtual bool LeaveBo()=0
Leave BO for attendee which is in a BO.
virtual void SetEvent(IBOAttendeeEvent *pEvent)=0
Set attendee callback handler.
virtual bool IsCanReturnMainSession()=0
Determine if participant can return to main session.
virtual bool IsHostInThisBO()=0
Determine if host is in the BO which attendee is assigned to.
virtual bool RequestForHelp()=0
Request help for attendee.
virtual bool JoinBo()=0
Join BO for attendee which is assigned to a BO.
virtual const zchar_t * GetBoName()=0
Get name of the BO that attendee is assigned to.
virtual void OnWebPreAssignBODataDownloadStatusChanged(PreAssignBODataStatus status)=0
When the pre-assigned data download status changes, you will receive the event.
virtual void OnBOOptionChanged(const BOOption &newOption)=0
You will receive the event when the option changes.
virtual void onBOCreateSuccess(const zchar_t *strBOID)=0
If CreateBO successfully, you will receive the event. Make sure you receive the event before start bo...
virtual const zchar_t * CreateBO(const zchar_t *strBOName)=0
Create a BO.
virtual bool UpdateBOName(const zchar_t *strBOID, const zchar_t *strNewBOName)=0
Update BO name.
virtual bool IsWebPreAssignBOEnabled()=0
Determine whether web enabled the pre-assigned option when scheduling a meeting.
virtual IBatchCreateBOHelper * GetBatchCreateBOHelper()=0
Get the Batch create bo controller.
virtual bool SetBOOption(const BOOption &option)=0
Set BO option.
virtual bool GetBOOption(BOOption &option)=0
Get BO option.
virtual PreAssignBODataStatus GetWebPreAssignBODataStatus()=0
Get the pre-assigned data download status.
virtual SDKError RequestAndUseWebPreAssignBOList()=0
Request web pre-assigned data and create those rooms.
virtual bool CreateWebinarBo(const zchar_t *strBOName)=0
Create a Webinar BO, Available Only For Zoomui Mode.
virtual bool RemoveUserFromBO(const zchar_t *strUserID, const zchar_t *strBOID)=0
Remove some user from a BO.
virtual bool AssignUserToBO(const zchar_t *strUserID, const zchar_t *strBOID)=0
Assign a user to a BO.
virtual void SetEvent(IBOCreatorEvent *pEvent)=0
virtual bool RemoveBO(const zchar_t *strBOID)=0
Remove a BO.
BO data callback handler.
virtual void onUnAssignedUserUpdated()=0
To notify if unassigned user join/leave master conference or name is modified. once you receive the c...
virtual void OnBOListInfoUpdated()=0
Host/CoHost both can edit BO, Host edit BO->start BO->stop BO, then CoHost edit BO->start BO,...
virtual void onBOInfoUpdated(const zchar_t *strBOID)=0
To notify if some BO information is changed(user join/leave BO or BO name is modified)
virtual IBOMeeting * GetBOMeetingByID(const zchar_t *strBOID)=0
Get BO object by BO ID.
virtual IList< const zchar_t * > * GetUnassginedUserList()=0
Get the id list of all unassigned users.
virtual bool IsBOUserMyself(const zchar_t *strUserID)=0
Determine if strUserID is myself.
virtual IList< const zchar_t * > * GetBOMeetingIDList()=0
Get the id list of all BOs.
virtual const zchar_t * GetBOUserName(const zchar_t *strUserID)=0
Get user name by user ID.
virtual const zchar_t * GetCurrentBoName()=0
Get current BO name if you in a BO.
virtual void SetEvent(IBODataEvent *pEvent)=0
Set BO data callback handler.
virtual const zchar_t * GetBOName()=0
Get BO name.
virtual IList< const zchar_t * > * GetBOUserList()=0
Get user ID list in the BO.
virtual const zchar_t * GetBOID()=0
Get BO ID.
virtual BO_CTRL_USER_STATUS GetBOUserStatus(const zchar_t *strUserID)=0
Get user status by user ID.
Batch Creater BO helper interface.
virtual SDKError CreateBoTransactionCommit()=0
Batch create BO rooms according to the prepare list.
virtual SDKError CreateBOTransactionBegin()=0
Prepare to batch create BO rooms.
virtual bool AddNewBoToList(const zchar_t *strNewBOName)=0
Add the BO name to a prepared list.
BO controller callback event handler.
virtual void onHasCreatorRightsNotification(IBOCreator *pCreatorObj)=0
To notify that you has creator right.
virtual void onHasDataHelperRightsNotification(IBOData *pDataHelperObj)=0
To notify that you has data right.
virtual void onLostDataHelperRightsNotification()=0
To notify that you lost data right.
virtual void onNewBroadcastMessageReceived(const zchar_t *strMsg, unsigned int nSenderID, const zchar_t *strSenderName)=0
To notify that you receive a broadcast message.
virtual void onLostAttendeeRightsNotification()=0
To notify that you lost attendee right.
virtual void onLostCreatorRightsNotification()=0
To notify that you lost creator right.
virtual void onBOStatusChanged(BO_STATUS eStatus)=0
When host change the BO status, all users receive the event.
virtual void onBOStopCountDown(unsigned int nSeconds)=0
When BOOption.countdown_seconds != BO_STOP_NOT_COUNTDOWN, host stop BO and all users receive the even...
virtual void onBOSwitchRequestReceived(const zchar_t *strNewBOName, const zchar_t *strNewBOID)=0
Whenever the host switches you to another BO while you are assigned but haven't joined the BO,...
virtual void onHasAssistantRightsNotification(IBOAssistant *pAssistantObj)=0
To notify that you has assistant right.
virtual void onLostAdminRightsNotification()=0
To notify that you lost admin right.
virtual void onBroadcastBOVoiceStatus(bool bStart)=0
The status of broadcasting voice to BO has been changed.
virtual void onHostInviteReturnToMainSession(const zchar_t *strName, IReturnToMainSessionHandler *handler)=0
When you are in BO, host invite you return to main session, you will receive the event.
virtual void onLostAssistantRightsNotification()=0
To notify that you lost assistant right.
virtual void onHasAttendeeRightsNotification(IBOAttendee *pAttendeeObj)=0
To notify that you has attendee right.
virtual void onHasAdminRightsNotification(IBOAdmin *pAdminObj)=0
To notify that you has admin right.
Meeting breakout rooms controller interface.
virtual IBOAssistant * GetBOAssistantHelper()=0
Get the pointer of BO assistant object.
virtual IBOAdmin * GetBOAdminHelper()=0
Get the pointer of BO administrator object.
virtual IBOCreator * GetBOCreatorHelper()=0
Get the pointer of BO creator object.
virtual IBOAttendee * GetBOAttedeeHelper()=0
Get the pointer of BO attendee object.
virtual BO_STATUS GetBOStatus()=0
Get current BO status.
virtual bool IsInBOMeeting()=0
Determine if myself is in BO meeting.
virtual bool IsBOStarted()=0
Determine if the BO is started or not.
virtual IBOData * GetBODataHelper()=0
Get the pointer of BO data object.
virtual bool SetEvent(IMeetingBOControllerEvent *event)=0
Set breakout room callback event handler.
virtual bool IsBroadcastingVoiceToBO()=0
Query if the host is broadcasting voice to BO.
virtual bool IsBOEnabled()=0
Determine if the BO feature is enabled in current meeting.
virtual const zchar_t * GetJoiningBOName()=0
Get the name of the BO you are going to. When you enter a BO or are switched to another BO by the hos...
handler for return to main session.
virtual bool ReturnToMainSession()=0
return to main session.
virtual void Ignore()=0
Ignore the return invitation, after call 'Ignore()', please don't use the handler unless you receive ...
@ ATTENDEE_REQUEST_FOR_HELP_RESULT_HOST_ALREADY_IN_BO
host already in your BO meeting
@ ATTENDEE_REQUEST_FOR_HELP_RESULT_IDLE
host receive the help request and there is no other one currently requesting for help
@ ATTENDEE_REQUEST_FOR_HELP_RESULT_IGNORE
host click "later" button or close the request dialog directly
@ ATTENDEE_REQUEST_FOR_HELP_RESULT_BUSY
host is handling other's request with the request dialog
PreAssignBODataStatus
BO creator callback handler.
@ PreAssignBODataStatus_none
initial status, no request was sent
@ PreAssignBODataStatus_downloading
download in progress
@ PreAssignBODataStatus_download_fail
download fail
@ PreAssignBODataStatus_download_ok
download success
@ BO_CTRL_USER_STATUS_UNASSIGNED
User is in main conference, not assigned to BO.
@ BO_CTRL_USER_STATUS_UNKNOWN
Unknown status.
@ BO_CTRL_USER_STATUS_IN_BO
User is already in BO.
@ BO_CTRL_USER_STATUS_ASSIGNED_NOT_JOIN
User is assigned to BO, but not join.
BO_STOP_COUNTDOWN
enum for BO stop countdown
BO_STATUS
enum for BO status
@ BO_STATUS_EDIT
edit & assign
@ BO_STATUS_STARTED
BO is started.
@ BO_STATUS_STOPPING
stopping BO
@ BO_STATUS_ENDED
BO is ended.
@ BOControllerError_NO_ONE_HAS_BEEN_ASSIGNED
bool IsTimerAutoStopBOEnabled
true: if time is up, will stop BO auto. false: don't auto stop.
bool IsPanelistCanChooseBO
Enable/Disable that Panelist can choose breakout room.
bool IsUserConfigMaxRoomUserLimitsEnabled
Enable/Disable that max roomUser limits in BO room.
bool IsAutoMoveAllAssignedParticipantsEnabled
Enable/Disable that auto move all assigned participants to breakout room.
bool IsAttendeeCanChooseBO
Enable/Disable that Attendee can choose breakout room, invalid when attendee is not contained.
bool IsAttendeeContained
WebinarBo Available Only For Zoomui Mode.
BO_STOP_COUNTDOWN countdown_seconds
Set the countdown after closing breakout room.
unsigned int nTimerDuration
seconds of BO timer duration, NOTE: when nTimerDuration is 0, it means that the BO duration is 30*60 ...
bool IsParticipantCanReturnToMainSessionAtAnyTime
Enable/Disable that participant can return to main session at any time.
bool IsParticipantCanChooseBO
Enable/Disable that participant can choose breakout room.
bool IsBOTimerEnabled
true: it's timer BO false: not timer BO
unsigned int nUserConfigMaxRoomUserLimits
numbers of max roomUser limits in BO room.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:36
wchar_t zchar_t
Definition: zoom_sdk_def.h:10
#define BEGIN_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:35
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:45