Meeting SDK for Linux API Reference
Loading...
Searching...
No Matches
meeting_configuration_interface.h
Go to the documentation of this file.
1
6#ifndef _MEETING_Configuration_INTERFACE_H_
7#define _MEETING_Configuration_INTERFACE_H_
8#include "zoom_sdk_def.h"
9#if defined(WIN32)
10#include "customized_resource_helper_interface.h"
11#endif
53
74
78{
79public:
82 virtual const zchar_t* GetWebinarRegisterUrl() = 0;
83
85 virtual void Release() = 0;
87};
88
92{
93public:
96 virtual SDKError InputWebinarRegisterEmailAndScreenName(const zchar_t* email, const zchar_t* screenName) = 0;
97
100 virtual void Cancel() = 0;
101
103};
104
108{
109public:
115 virtual SDKError InputName(const zchar_t* screenName) = 0;
116
121 virtual SDKError Cancel() = 0;
122
124};
125
129{
130public:
132
134 virtual const zchar_t* GetDefaultDisplayName() = 0;
135
138 virtual bool CanModifyDefaultDisplayName() = 0;
139
143 virtual bool IsValidEmail(const zchar_t* email) = 0;
144
149 virtual SDKError InputUserInfo(const zchar_t* name, const zchar_t* email) = 0;
150
153 virtual void Cancel() = 0;
154};
155
159{
160public:
162
164 virtual const zchar_t* GetArchiveConfirmContent() = 0;
165
170 virtual SDKError JoinWithArchive(bool bStartArchive) = 0;
171};
172
173
177{
178public:
180
182 virtual const zchar_t* GetRecoverMeetingContent() = 0;
183
188 virtual SDKError RecoverMeeting(bool bRecover) = 0;
189};
190
191
195{
196public:
199 virtual bool EndOtherMeeting() = 0;
200
203 virtual void Cancel() = 0;
205};
206
246
279#if defined(WIN32)
280enum SDKInviteDlgTabPage
281{
282 SDK_INVITEDLG_TAB_EMAILCONTACT = 0,
283 SDK_INVITEDLG_TAB_PHONECONTACT,
284 SDK_INVITEDLG_TAB_ROOMSYSTEM,
285};
286
287enum SDKH323TabPage
288{
289 SDK_INVITEDLG_H323_DIALIN = 0,
290 SDK_INVITEDLG_H323_CALLOUT,
291};
292
297typedef struct tagRedirectWarningMsgOption
298{
299 bool bRedirectBadNetwork;
300 bool bRedirectWarnHighCPU;
301 tagRedirectWarningMsgOption()
302 {
303 bRedirectBadNetwork = false;
304 bRedirectWarnHighCPU = false;
305 }
306
307}RedirectWarningMsgOption;
308
309
314typedef struct tagPanelistMenuItemOption
315{
316 bool bNotShowDowngradePanelist;
317 tagPanelistMenuItemOption()
318 {
319 bNotShowDowngradePanelist = false;
320 }
321
322}PanelistMenuItemOption;
323
328typedef struct tagAttendeeMenuItemOption
329{
330 bool bNotShowPromoteToPanelist;
331 tagAttendeeMenuItemOption()
332 {
333 bNotShowPromoteToPanelist = false;
334 }
335
336}AttendeeMenuItemOption;
337
340class IMeetingUIElemConfiguration
341{
342public:
345 virtual void SetMeetingUIPos(WndPosition pos) = 0;
346
350 virtual void SetFloatVideoPos(WndPosition pos) = 0;
351
355 virtual void SetSharingToolbarVisibility(bool bShow) = 0;
356
359 virtual void SetBottomFloatToolbarWndVisibility(bool bShow) = 0;
360
364 virtual void EnableApproveRemoteControlDlg(bool bEnable) = 0;
365
369 virtual void EnableDeclineRemoteControlResponseDlg(bool bEnable) = 0;
370
373 virtual void EnableLeaveMeetingOptionForHost(bool bEnable) = 0;
374
379 virtual void EnableInviteButtonOnMeetingUI(bool bEnable) = 0;
380
383 virtual void EnableVideoButtonOnMeetingUI(bool bEnable) = 0;
384
387 virtual void EnableAudioButtonOnMeetingUI(bool bEnable) = 0;
388
391 virtual void EnableEnterAndExitFullScreenButtonOnMeetingUI(bool bEnable) = 0;
392
395 virtual void EnableLButtonDBClick4SwitchFullScreenMode(bool bEnable) = 0;
396
399 virtual void SetFloatVideoWndVisibility(bool bShow) = 0;
400
404 virtual void RedirectClickShareBTNEvent(bool bRedirect) = 0;
405
409 virtual void RedirectClickEndMeetingBTNEvent(bool bRedirect) = 0;
410
414 virtual void RedirectFreeMeetingEndingReminderDlg(bool bRedirect) = 0;
415
419 virtual void RedirectClickCustomLiveStreamMenuEvent(bool bRedirect) = 0;
420
424 virtual void RedirectClickParticipantListBTNEvent(bool bRedirect) = 0;
425
429 virtual void RedirectClickCCBTNEvent(bool bRedirect) = 0;
430
434 virtual void RedirectMeetingWarningMsg(RedirectWarningMsgOption redirectOption) = 0;
435
438 virtual void EnableToolTipsShow(bool bEnable) = 0;
439
443 virtual void EnableClaimHostFeature(bool bEnable) = 0;
444
447 virtual void EnableAutoHideJoinAudioDialog(bool bEnable) = 0;
448
451 virtual void AlwaysShowIconOnTaskBar(bool bAlwaysShow) = 0;
452
456 virtual void DisableSplitScreenModeUIElements(bool bDisable) = 0;
457
460 virtual void SetShowAudioUseComputerSoundChkbox(bool bShow) = 0;
461
464 virtual void SetShowVideoOptimizeChkbox(bool bShow) = 0;
465
468 virtual void SetShowCallInTab(bool bShow) = 0;
469
472 virtual void SetShowCallMeTab(bool bShow) = 0;
473
478 virtual SDKError DisableTopMostAttr4SettingDialog(bool bDisable) = 0;
479
484 virtual SDKError EnableGrabShareWithoutReminder(bool bEnable) = 0;
485
489 virtual void EnableShowShareSwitchMultiToSingleConfirmDlg(bool bEnable) = 0;
490
494 virtual void DisableFreeMeetingRemainTimeNotify(bool bDisable) = 0;
495
498 virtual void HideChatItemOnMeetingUI(bool bHide) = 0;
499
502 virtual void HideRecordItemOnMeetingUI(bool bHide) = 0;
503
506 virtual void HideUpgradeFreeMeetingButton(bool bHide) = 0;
507
511 virtual void SetShowInviteDlgTabPage(SDKInviteDlgTabPage tabPage, bool bShow) = 0;
512
516 virtual void SetShowH323SubTabPage(SDKH323TabPage tabPage, bool bShow) = 0;
517
518
519 // \brief Set the visibility of the local recording convert progress bar dialog. Default: TRUE.
521 virtual void EnableLocalRecordingConvertProgressBarDialog(bool bShow) = 0;
522
523 // \brief Set the visibility of Switch Camera button on 2nd camera share window,Default: TRUE.
525 virtual void HideSwitchCameraButton(bool bHide) = 0;
526
527 // \brief Set the visibility of CopyURL button on invite window, Default: TRUE.
529 virtual void HideCopyUrlOnInviteWindow(bool bHide) = 0;
530
531 // \brief Set the visibility of CopyInvitation button on invite window, Default: TRUE.
533 virtual void HideCopyInvitationOnInviteWindow(bool bHide) = 0;
534
535 // \brief Set the visibility of Keypad button on meeting window, Default: TRUE.
537 virtual void HideKeypadButtonOnMeetingWindow(bool bHide) = 0;
538
542 virtual void HideRemoteControlOnMeetingUI(bool bHide) = 0;
543
546 virtual void HideQAOnMeetingUI(bool bHide) = 0;
547
550 virtual void HidePollOnMeetingUI(bool bHide) = 0;
551
555 virtual void DisableAdvanceAudioDeivceCtrl(bool bDisable) = 0;
556
560 virtual void RedirectClickAudioBTNEvent(bool bRedirect) = 0;
561
565 virtual void RedirectClickAudioMenuBTNEvent(bool bRedirect) = 0;
566
570 virtual void RedirectClickBreakoutRoomButtonEvent(bool bRedirect) = 0;
571
574 virtual void HideReactionsOnMeetingUI(bool bHide) = 0;
575
578 virtual void HideMeetingInfoOnMeetingUI(bool bHide) = 0;
579
582 virtual void HideShareButtonOnMeetingUI(bool bHide) = 0;
583
586 virtual void DisablePanelistMenuItem(PanelistMenuItemOption menuOption) = 0;
587
590 virtual void DisableAttendeeMenuItem(AttendeeMenuItemOption menuOption) = 0;
591
594 virtual void EnableInviteLinkOnMeetingUI(bool bEnable) = 0;
595
598 virtual void EnableCloudWhiteboard(bool bEnable) = 0;
599
602 virtual void HideCloudWhiteboardFeedbackButton(bool bHide) = 0;
603
606 virtual void HideCloudWhiteboardShareButton(bool bHide) = 0;
607
610 virtual void HideCloudWhiteboardAboutButton(bool bHide) = 0;
611
614 virtual void HideCloudWhiteboardHelperCenterButton(bool bHide) = 0;
615
618 virtual void HideCloudWhiteboardOpenInBrowserButton(bool bHide) = 0;
619
622 virtual void HideRequestRecordPrivilegeDialog(bool bHide) = 0;
623};
624#endif
628{
629public:
630
633 virtual void EnableAutoEndOtherMeetingWhenStartMeeting(bool bEnable) = 0;
634
638 virtual void RedirectWebinarNeedRegister(bool bRedirect) = 0;
639
643 virtual void RedirectWebinarNameInputDialog(bool bRedirect) = 0;
644
648 virtual void RedirectMeetingInputUserInfoDialog(bool bRedirect) = 0;
649
653 virtual void RedirectConfirmStartArchiveDialog(bool bRedirect) = 0;
654
658 virtual void RedirectConfirmRecoverMeetingDialog(bool bRedirect) = 0;
659
663 virtual void RedirectEndOtherMeeting(bool bRedirect) = 0;
664
668 virtual void EnableForceAutoStartMyVideoWhenJoinMeeting(bool bEnable) = 0;
669
673 virtual void EnableForceAutoStopMyVideoWhenJoinMeeting(bool bEnable) = 0;
674#if defined(WIN32)
678 virtual void DisablePopupMeetingWrongPSWDlg(bool bDisable) = 0;
679
682 virtual void DisableWaitingForHostDialog(bool bDisable) = 0;
683
687 virtual void EnableInputMeetingPasswordDlg(bool bEnable) = 0;
688
692 virtual void EnableInputMeetingScreenNameDlg(bool bEnable) = 0;
693
697 virtual void PrePopulateWebinarRegistrationInfo(const zchar_t* email, const zchar_t* username) = 0;
698
701 virtual void DisableAutoShowSelectJoinAudioDlgWhenJoinMeeting(bool bDisable) = 0;
702
705 virtual void DisableShowJoinMeetingWnd(bool bDisable) = 0;
706#endif
707};
708
712#if defined(WIN32)
713public IMeetingUIElemConfiguration,
714#endif
716{
717public:
720 virtual void SetEvent(IMeetingConfigurationEvent* pEvent) = 0;
721
723 virtual void Reset() = 0;
724
729 virtual void EnableAutoAdjustSpeakerVolumeWhenJoinAudio(bool bEnable) = 0;
730
735 virtual void EnableAutoAdjustMicVolumeWhenJoinAudio(bool bEnable) = 0;
736
739 virtual void SetMaxDurationForOnlyHostInMeeting(int nDuration) = 0;
740#if defined(WIN32)
743 virtual void SetDirectShareMonitorID(const zchar_t* monitorID) = 0;
744
750 virtual void ConfigDSCP(int dscpAudio, int dscpVideo, bool bReset) = 0;
751
756 virtual void EnableLengthLimitationOfMeetingNumber(bool bEnable) = 0;
757
760 virtual void EnableShareIOSDevice(bool bEnable) = 0;
761
764 virtual void EnableShareWhiteBoard(bool bEnable) = 0;
765
768 virtual void ForceDisableMultiShare(bool bDisable) = 0;
769
774 virtual SDKError EnableZoomDocs(bool bEnable) = 0;
775#endif
776};
777
779#endif
End other meeting to join the new meeting Handler.
virtual bool EndOtherMeeting()=0
Close another ongoing meeting.
virtual void Cancel()=0
Ignore the prompt of closing another ongoing meeting.
Meeting connect configuration Interface.
virtual void EnableForceAutoStopMyVideoWhenJoinMeeting(bool bEnable)=0
Set if it is able to force turn off video when joining the meeting. Default: FALSE.
virtual void RedirectConfirmStartArchiveDialog(bool bRedirect)=0
Set if it is able to handle the confirm start archive dialog dlg with user's own program in the meeti...
virtual void EnableAutoEndOtherMeetingWhenStartMeeting(bool bEnable)=0
Set if it is able to end automatically another ongoing meeting when joining a new meeting....
virtual void EnableForceAutoStartMyVideoWhenJoinMeeting(bool bEnable)=0
Set if it is able to force to turn on the video when join meeting. Default: FALSE.
virtual void RedirectEndOtherMeeting(bool bRedirect)=0
Set if it is able to redirect the process to end another meeting by user's own program....
virtual void RedirectWebinarNeedRegister(bool bRedirect)=0
Set if it is able to handle the webinar register process with user's own program in the meeting....
virtual void RedirectWebinarNameInputDialog(bool bRedirect)=0
Set if it is able to handle the webinar username input dlg with user's own program in the meeting....
virtual void RedirectMeetingInputUserInfoDialog(bool bRedirect)=0
Set if it is able to handle the display name and email input dlg with user's own program in the meeti...
virtual void RedirectConfirmRecoverMeetingDialog(bool bRedirect)=0
Set if it is able to handle the confirm recover meeting dialog dlg with user's own program in the mee...
user to handle confirm whether start archiving after joining the meeting.
virtual SDKError JoinWithArchive(bool bStartArchive)=0
Join the meeting.
virtual const zchar_t * GetArchiveConfirmContent()=0
The content that notifies the user to confirm starting to archive when joining the meeting.
Meeting configuration event callback.
virtual void onJoinMeetingNeedUserInfo(IMeetingInputUserInfoHandler *pHandler)=0
When joining the meeting, this callback is triggered if the user needs to input a username and email.
virtual void onUserConfirmRecoverMeeting(IMeetingConfirmRecoverHandler *handler)=0
Callback event when the host starts a deleted or expired meeting(not PMI meeting).
virtual void onWebinarNeedInputScreenName(IWebinarInputScreenNameHandler *pHandler)=0
When joining the webinar, this callback is triggered if the user needs to input a username.
virtual void onUserConfirmToStartArchive(IMeetingArchiveConfirmHandler *pHandler)=0
Callback event when joining a meeting if the admin allows the the user to choose to archive the meeti...
virtual void onWebinarNeedRegisterNotification(IWebinarNeedRegisterHandler *handler_)=0
During the webinar, this callback event will be triggered if the user needs to register.
virtual void onInputMeetingPasswordAndScreenNameNotification(IMeetingPasswordAndScreenNameHandler *pHandler)=0
The SDK will trigger the callback event if the password or screen name is required.
virtual void onEndOtherMeetingToJoinMeetingNotification(IEndOtherMeetingToJoinMeetingHandler *handler_)=0
The user will receive this callback event if the user wants to join the new meeting while the ongoing...
virtual void onFreeMeetingRemainTime(unsigned int leftTime)=0
The SDK will trigger this callback event during the free meeting to inform the user how much time is ...
virtual void onFreeMeetingNeedToUpgrade(FreeMeetingNeedUpgradeType type_, const zchar_t *gift_url)=0
The callback of upgrading the free meeting.
virtual void onFreeMeetingRemainTimeStopCountDown()=0
The callback of free meeting stops the countdown.
virtual void onFreeMeetingUpgradeToProMeeting()=0
Callback function of free meting upgrades successfully.
virtual void onFreeMeetingUpgradeToGiftFreeTrialStart()=0
Callback function of starting to upgrade the free meeting by the gift link.
FreeMeetingNeedUpgradeType
Upgrade types of free meeting. Here are more detailed structural descriptions.
@ FreeMeetingNeedUpgradeType_BY_GIFTURL
Upgrade the free meeting by the gift link.
@ FreeMeetingNeedUpgradeType_BY_ADMIN
It is necessary for administrator to upgrade the free meeting.
virtual void onFreeMeetingUpgradeToGiftFreeTrialStop()=0
Callback function of ending upgrade the free meeting by the gift link.
Meeting configuration interface.
virtual void SetMaxDurationForOnlyHostInMeeting(int nDuration)=0
Set the maximum duration of the meeting when there is no attendee in the meeting. Default: 24*60.
virtual void EnableAutoAdjustMicVolumeWhenJoinAudio(bool bEnable)=0
Set if it is able to auto-adjust the volume of the mic when joining the meeting. Default: TRUE.
virtual void Reset()=0
Reset the meeting configuration and back to the default state.
virtual void EnableAutoAdjustSpeakerVolumeWhenJoinAudio(bool bEnable)=0
Set if it is able to auto-adjust the volume of the speaker when joining the meeting....
virtual void SetEvent(IMeetingConfigurationEvent *pEvent)=0
Set meeting configuration controller callback event handler.
host to handle confirm whether recover meeting or not when start a deleted or expired meeting.
virtual SDKError RecoverMeeting(bool bRecover)=0
Join the meeting.
virtual const zchar_t * GetRecoverMeetingContent()=0
The content that notifies the host to recover the meeting.
virtual bool CanModifyDefaultDisplayName()=0
Check whether the user can modify default display name.
virtual const zchar_t * GetDefaultDisplayName()=0
Get default display name.
virtual bool IsValidEmail(const zchar_t *email)=0
Check whether the inputed email is a valid email format. The email must meet the email format require...
virtual SDKError InputUserInfo(const zchar_t *name, const zchar_t *email)=0
Complete the name and email information.
virtual void Cancel()=0
Ignore the prompt of completing the information.
Meeting screen name and password handler.
virtual void Cancel()=0
Ignore the prompt of completing the information.
virtual RequiredInfoType GetRequiredInfoType()=0
Get the type of required information to be completed.
virtual bool InputMeetingPasswordAndScreenName(const zchar_t *meetingPassword, const zchar_t *screenName)=0
Complete the password and screen name information.
virtual bool InputMeetingScreenName(const zchar_t *screenName)=0
Complete the screen name.
RequiredInfoType
Type of necessary information to join the meeting. Here are more detailed structural descriptions.
@ REQUIRED_INFO_TYPE_MeetingIDAndScreenName
The user needs to enter the screen name and the meeting id,via the InputMeetingMeetingIDAndScreenName...
@ REQUIRED_INFO_TYPE_PasswordAndScreenName
The user needs to enter the screen name and the password,via the InputMeetingPasswordAndScreenName() ...
@ REQUIRED_INFO_TYPE_ScreenName
The user needs to enter the screen name. Via the InputMeetingPasswordAndScreenName() to specify the s...
@ REQUIRED_INFO_TYPE_Password4WrongPassword
If the password is invalid, the user needs to re-enter it. Via the InputMeetingPasswordAndScreenName(...
@ REQUIRED_INFO_TYPE_Password
The user needs to enter the password when joins the meeting. Via the InputMeetingPasswordAndScreenNam...
virtual bool InputMeetingIDAndScreenName(const zchar_t *meetingID, const zchar_t *screenName)=0
Complete the meeting id and screen name information.
Webinar input screen name handler.
virtual SDKError InputName(const zchar_t *screenName)=0
Input screen name to join webinar.
virtual SDKError Cancel()=0
Cancel to join webinar.
Webinar register with email and screen name Handler.
virtual SDKError InputWebinarRegisterEmailAndScreenName(const zchar_t *email, const zchar_t *screenName)=0
Configure the information of email and screen name.
virtual void Cancel()=0
Ignore the prompt of the register.
virtual void Release()=0
Release object.
virtual const zchar_t * GetWebinarRegisterUrl()=0
Get the URL to register webinar.
virtual WebinarNeedRegisterType GetWebinarNeedRegisterType()=0
Get the type to register. For more details, see WebinarNeedRegisterType enum.
WebinarNeedRegisterType
Register type of webinar. Here are more detailed structural descriptions.
@ WebinarReg_By_Email_and_DisplayName
Register webinar account by email and the screen name.
@ WebinarReg_By_Register_Url
Register webinar account by URL.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
char zchar_t
SDKError
Enumeration of common errors of SDK.