Zoom Rooms Controller SDK Reference 6.7.0
Loading...
Searching...
No Matches
IMeetingService.h
Go to the documentation of this file.
1
6#ifndef ZRC_IMEETINGSERVICE_H
7#define ZRC_IMEETINGSERVICE_H
8
9#include "ZRCSDKTypes.h"
10
12
18{
21};
22
28{
33};
34
40{
43};
44
48{
49 int32_t errorCode = 0;
50 std::string errorInfo;
51 std::string errorTitle;
52 std::string errorDescLink;
53};
54
58{
59 std::string callerContactID;
60 std::string callerName;
61 std::string callerAvatarUrl;
62 std::string calleeContactID;
63 std::string meetingID;
64 std::string password;
65 int64_t meetingOptions = 0;
66 int64_t meetingNumber = 0;
67 int64_t expireTime = 0;
68};
69
73{
74 bool isEnabled = false;
75 bool isDisableSendVideo = false;
76 bool isDisableRecvVideo = false;
77 uint32_t videoUpstreamLimit = 0;
78 uint32_t videoDownstreamLimit = 0;
79};
80
84{
86 std::string learnMoreUrl;
87};
88
92{
93 std::string code;
95};
96
100{
105};
106
110{
111 bool isLocked = false;
112 int32_t remainTimeSec = 0;
113 int32_t wrongPwdInputCount = 0;
114};
115
119{
120 bool isPQCProtected = false;
121};
122
126{
129};
130
134{
135public:
137
146 virtual void OnStartMeetingResult(int32_t result) = 0;
147
158 virtual void OnStartPmiResult(int32_t result, const std::string& meetingNumber, MeetingType meetingType) = 0;
159
168 virtual void OnStartPmiNotification(bool success) = 0;
169
178 virtual void OnUpdateMeetingStatus(MeetingStatus meetingStatus) = 0;
179
186 virtual void OnConfReadyNotification() = 0;
187
196 virtual void OnUpdateMeetingInfoNotification(const MeetingInfo& meetingInfo) = 0;
197
207 virtual void OnExitMeetingNotification(int32_t result, ExitMeetingReason reason) = 0;
208
217 virtual void OnMeetingErrorNotification(const MeetingErrorInfo& errorInfo) = 0;
218
227 virtual void OnMeetingEndedNotification(const MeetingErrorInfo& errorInfo) = 0;
228
238
249 virtual void OnAnswerMeetingInviteResponse(int32_t result, const MeetingInvitationInfo& invitation, bool accepted) = 0;
250
260 virtual void OnTreatedMeetingInviteNotification(const MeetingInvitationInfo& invitation, bool accepted) = 0;
261
270 virtual void OnStartMeetingWithHostKeyResult(int32_t result) = 0;
271
281
290 virtual void OnUpdateE2ESecurityCode(const E2ESecurityCode& code) = 0;
291
301
310 virtual void OnSendMeetingInviteEmailNotification(int32_t result) = 0;
311
320 virtual void OnSetRoomTempDisplayNameNotification(bool isShow) = 0;
321
332 virtual void OnMeetingNeedsPasswordNotification(bool showPasswordDialog, bool wrongAndRetry, const ConfDeviceLockStatus& lockStatus) = 0;
333
343
353 virtual void OnJBHWaitingHostNotification(bool showWaitForHostDialog, WaitingHostReason reason) = 0;
354
363 virtual void OnE2eeMeetingStatusNotification(const E2eeMeetingStatus& e2eeMeetingStatus) = 0;
364
373 virtual void OnMeshInfoNotification(const MeshInfoNotification& meshInfo) = 0;
374
383
392 virtual void OnExtendMeetingResult(int32_t extendMins) = 0;
393
414 virtual void OnConfirmPersonalLink(const std::string& personalLink) = 0;
415};
416
429class IRecordingHelper;
434class INDIHelper;
437class IMeetingQAHelper;
439class ISmartTagHelper;
441
445{
446public:
447 virtual ~IMeetingService() {}
448
460
472
483
494 virtual ZRCSDKError MeetWithIMUsers(const std::vector<std::string>& contactIDs) = 0;
495
507 virtual ZRCSDKError StartMeeting(const MeetingItem& meeting, bool bringShareToMeeting = false) = 0;
508
519 virtual ZRCSDKError StartMeetingWithHostKey(const std::string& hostKey) = 0;
520
539 virtual ZRCSDKError JoinMeetingWithMeetingNumber(const std::string& meetingNumber, bool bringShareToMeeting = false) = 0;
540
556 virtual ZRCSDKError JoinMeetingWithURL(const std::string& url) = 0;
557
571 virtual ZRCSDKError JoinMeetingWithContactID(const std::string& contactID) = 0;
572
587 virtual ZRCSDKError JoinMeetingWithPersonalLinkName(const std::string& personalLinkName, bool bringShareToMeeting = false) = 0;
588
601 virtual ZRCSDKError JoinMeetingWithPersonalLink(const std::string& personalLink) = 0;
602
614
625 virtual ZRCSDKError SetRoomTempDisplayNameForMeeting(const std::string& roomTempName) = 0;
626
637 virtual ZRCSDKError SendMeetingPassword(const std::string& password) = 0;
638
649
660
672 virtual ZRCSDKError AnswerMeetingInvite(const MeetingInvitationInfo& invite, bool accept) = 0;
673
686 virtual ZRCSDKError InviteAttendees(const std::vector<std::string>& contactIDs) = 0;
687
698 virtual ZRCSDKError InviteLegacyRoomSystems(const std::vector<LegacyRoomSystem>& roomSystems) = 0;
699
714 virtual ZRCSDKError InviteLegacyRoomSystemWithIpOrE164Number(const std::string& ipOrE164Number, RoomSystemProtocolType protocolType, bool cancel) = 0;
715
726 virtual ZRCSDKError SendMeetingInviteEmail(const std::string& recipients) = 0;
727
740
752 virtual ZRCSDKError SendDTMF(const std::string& digitKey, int32_t userID) = 0;
753
765
777
788
799
809
819
829
839
849
859
869
879
889
899
909
919
929
939
949
959
968 virtual INDIHelper* GetNDIHelper() = 0;
969
979
989
999
1009
1019
1029
1039};
1040
1042
1043#endif //ZRC_IMEETINGSERVICE_H
ExitMeetingReason
Exit meeting reason. Here are more detailed structural descriptions.
@ ExitMeetingReasonJoinBO
Exit meeting reason join breakout room.
@ ExitMeetingReasonDefault
Default.
@ ExitMeetingReasonRejoinNewMeeting
Exit meeting reason rejoin new meeting.
@ ExitMeetingReasonLeaveBO
Exit meeting reason leave breakout room.
ExitMeetingCmd
Exit meeting command. Here are more detailed structural descriptions.
@ ExitMeetingCmdLeave
Leave meeting.
@ ExitMeetingCmdEnd
End meeting.
WaitingHostReason
Waiting host reason. Here are more detailed structural descriptions.
@ WaitingHostStartMeeting
Waiting host to start meeting.
@ WaitingHostEndAnotherMeeting
Waiting host to end another meeting.
#define NS_ZRCSDK_END
#define NS_ZRCSDK_BEG
ZRC SDK Types.
RoomSystemProtocolType
Room system protocol type Here are more detailed structural descriptions.
MeetingStatus
Current ZR's meeting status. Here are more detailed structural descriptions.
MeetingType
Meeting type. Here are more detailed structural descriptions.
ZRCSDKError
SDK error types. Here are more detailed structural descriptions.
Definition ZRCSDKTypes.h:22
Breakout Room helper interface.
Camera Control helper interface.
Closed Caption helper interface.
Cloud whiteboard helper interface.
Meeting Audio helper interface.
Meeting Chat helper interface.
Meeting Control helper interface.
Meeting List helper interface.
Meeting Polling helper interface.
Waiting Room helper interface.
Meeting Reaction Emoji helper interface.
Meeting Reminder helper interface.
Meeting Service Interface.
virtual ZRCSDKError CancelConfirmPersonalLink()=0
Cancel confirming personal link for joining meeting.
virtual IMeetingQAHelper * GetMeetingQAHelper()=0
Get the meeting Q&A helper.
virtual ZRCSDKError InviteAttendees(const std::vector< std::string > &contactIDs)=0
Invited attendees into meeting.
virtual IRecordingHelper * GetRecordingHelper()=0
Get the recording helper.
virtual IMeetingPollingHelper * GetMeetingPollingHelper()=0
Get the meeting polling helper.
virtual IMeetingReactionEmojiHelper * GetMeetingReactionEmojiHelper()=0
Get the meeting reaction emoji helper.
virtual IMeetingAudioHelper * GetMeetingAudioHelper()=0
Get the meeting audio helper.
virtual IParticipantHelper * GetParticipantHelper()=0
Get the participant helper.
virtual IMeetingListHelper * GetMeetingListHelper()=0
Get the meeting list helper interface.
virtual ZRCSDKError GetMeetingInfo(MeetingInfo &info)=0
Get meeting information.
virtual IMeetingVideoHelper * GetMeetingVideoHelper()=0
Get the meeting video helper.
virtual ZRCSDKError RegisterSink(IMeetingServiceSink *pSink)=0
Register meeting service callback sink.
virtual ~IMeetingService()
virtual ZRCSDKError InviteLegacyRoomSystems(const std::vector< LegacyRoomSystem > &roomSystems)=0
Invite legacy room system into meeting.
virtual ZRCSDKError JoinMeetingWithContactID(const std::string &contactID)=0
Join a personal room meeting with contact ID.
virtual ZRCSDKError SendDTMF(const std::string &digitKey, int32_t userID)=0
Send DTMF when dialing.
virtual IBreakoutRoomHelper * GetBreakoutRoomHelper()=0
Get the breakout room helper.
virtual ZRCSDKError ExitMeeting(ExitMeetingCmd exitCmd)=0
Exit meeting.
virtual ZRCSDKError DeregisterSink(IMeetingServiceSink *pSink)=0
Deregister meeting service callback sink.
virtual IMeetingReminderHelper * GetMeetingReminderHelper()=0
Get the meeting reminder helper.
virtual ZRCSDKError StartMeetingWithHostKey(const std::string &hostKey)=0
Use host key to start the meeting.
virtual IWaitingRoomHelper * GetWaitingRoomHelper()=0
Get the waiting room helper.
virtual ZRCSDKError InviteLegacyRoomSystemWithIpOrE164Number(const std::string &ipOrE164Number, RoomSystemProtocolType protocolType, bool cancel)=0
Invited legacy room system into meeting.
virtual ZRCSDKError CancelEnteringMeetingPassword()=0
Cancel entering meeting password, cancel joining the meeting.
virtual ZRCSDKError SetRoomTempDisplayNameForMeeting(const std::string &roomTempName)=0
Set room's temp display name for the meeting.
virtual IVirtualBackgroundHelper * GetVirtualBackgroundHelper()=0
Get the virtual background helper.
virtual ZRCSDKError ExtendMeeting()=0
Extend zoom meeting scheduled with automatically stop.
virtual IMeetingChatHelper * GetMeetingChatHelper()=0
Get the meeting chat helper.
virtual INDIHelper * GetNDIHelper()=0
Get the NDI helper.
virtual ZRCSDKError RequestE2ESecurityCode()=0
Request end-to-end security code.
virtual ICameraControlHelper * GetCameraControlHelper()=0
Get the camera control helper.
virtual ZRCSDKError AnswerMeetingInvite(const MeetingInvitationInfo &invite, bool accept)=0
Answer the meeting invite.
virtual ZRCSDKError SendMeetingInviteEmail(const std::string &recipients)=0
Send meeting invite email to recipients.
virtual IClosedCaptionHelper * GetClosedCaptionHelper()=0
Get the closed caption helper.
virtual ZRCSDKError JoinMeetingWithMeetingNumber(const std::string &meetingNumber, bool bringShareToMeeting=false)=0
Join the meeting by meeting number.
virtual ISmartTagHelper * GetSmartTagHelper()=0
Get the smart tag helper.
virtual ZRCSDKError CancelWaitingForHost()=0
Cancel waiting for host, cancel joining the meeting.
virtual ZRCSDKError JoinMeetingWithPersonalLink(const std::string &personalLink)=0
Join meeting using a complete personal link.
virtual IThirdPartyMeetingHelper * GetThirdPartyMeetingHelper()=0
Get the third party meeting helper.
virtual IMeetingWebinarHelper * GetMeetingWebinarHelper()=0
Get the meeting webinar helper.
virtual IMeetingShareHelper * GetMeetingShareHelper()=0
Get the meeting share helper.
virtual ZRCSDKError JoinMeetingWithURL(const std::string &url)=0
Join the meeting by url.
virtual ZRCSDKError GetMeetingStatus(MeetingStatus &status)=0
Get meeting status.
virtual ICloudWhiteboardHelper * GetCloudWhiteboardHelper()=0
Get the cloud whiteboard helper.
virtual IMeetingViewLayoutHelper * GetMeetingViewLayoutHelper()=0
Get the meeting view layout helper.
virtual ZRCSDKError StartInstantMeeting()=0
Start an instant meeting.
virtual IWebinarBreakoutRoomHelper * GetWebinarBreakoutRoomHelper()=0
Get the webinar breakout room helper.
virtual ZRCSDKError StartMeeting(const MeetingItem &meeting, bool bringShareToMeeting=false)=0
Start the selected meeting from meeting list.
virtual ZRCSDKError MeetWithIMUsers(const std::vector< std::string > &contactIDs)=0
Start an instant meeting and invite the selected IM users.
virtual ZRCSDKError JoinMeetingWithPersonalLinkName(const std::string &personalLinkName, bool bringShareToMeeting=false)=0
Join meeting with personal link name.
virtual ZRCSDKError SendMeetingPassword(const std::string &password)=0
Enter the meeting password to join meeting.
virtual IMeetingControlHelper * GetMeetingControlHelper()=0
Get the meeting control helper.
Meeting Service event callback.
virtual void OnStartMeetingResult(int32_t result)=0
Start meeting response callback.
virtual void OnConfReadyNotification()=0
Notification of meeting is ready.
virtual void OnSetRoomTempDisplayNameNotification(bool isShow)=0
Set room temp display name notification.
virtual void OnBandwidthLimitNotification(const BandwidthLimitInfo &info)=0
Bandwidth limit notification.
virtual void OnConfDeviceLockStatusNotification(const ConfDeviceLockStatus &status)=0
Device lock status from joining meeting notification.
virtual void OnMeetingErrorNotification(const MeetingErrorInfo &errorInfo)=0
Meeting occurs error notification.
virtual void OnTreatedMeetingInviteNotification(const MeetingInvitationInfo &invitation, bool accepted)=0
Treated meeting invite notification.
virtual void OnUpdateMeetingInfoNotification(const MeetingInfo &meetingInfo)=0
Update meeting info notification.
virtual void OnSendMeetingInviteEmailNotification(int32_t result)=0
Send meeting invite email result notification.
virtual void OnUpdateDataCenterRegionNotification(const DataCenterRegion &dcRegion)=0
Data center region info notification.
virtual void OnExitMeetingNotification(int32_t result, ExitMeetingReason reason)=0
Exit meeting event callback.
virtual void OnAnswerMeetingInviteResponse(int32_t result, const MeetingInvitationInfo &invitation, bool accepted)=0
Answer meeting invite response.
virtual void OnExtendMeetingResult(int32_t extendMins)=0
Extend meeting result.
virtual void OnConfirmPersonalLink(const std::string &personalLink)=0
Callback to confirm personal link for joining meeting.
virtual void OnMeshInfoNotification(const MeshInfoNotification &meshInfo)=0
Mesh Info notification.
virtual void OnMeetingEndedNotification(const MeetingErrorInfo &errorInfo)=0
Meeting has been ended notification.
virtual void OnUpdateMeetingStatus(MeetingStatus meetingStatus)=0
Meeting status changed callback.
virtual void OnUpdateE2ESecurityCode(const E2ESecurityCode &code)=0
End-to-end security code update.
virtual void OnMeetingNeedsPasswordNotification(bool showPasswordDialog, bool wrongAndRetry, const ConfDeviceLockStatus &lockStatus)=0
Meeting need password notification.
virtual void OnReceiveMeetingInviteNotification(const MeetingInvitationInfo &invitation)=0
Receive meeting invite notification.
virtual void OnJBHWaitingHostNotification(bool showWaitForHostDialog, WaitingHostReason reason)=0
Join before host notification.
virtual void OnStartMeetingWithHostKeyResult(int32_t result)=0
Start meeting with host key result.
virtual void OnStartPmiResult(int32_t result, const std::string &meetingNumber, MeetingType meetingType)=0
Start PMI meeting response callback, PMI meeting includes instant meeting, pstn callout,...
virtual void OnMeetingWillStopAutomatically()=0
Meeting will automatically stop after 10 minutes.
virtual void OnE2eeMeetingStatusNotification(const E2eeMeetingStatus &e2eeMeetingStatus)=0
E2EE Meeting Info notification.
virtual void OnStartPmiNotification(bool success)=0
Start PMI meeting notification callback.
Meeting Share helper interface.
Meeting Video helper interface.
Meeting View Layout helper interface.
Meeting Webinar helper interface.
NDI helper interface.
Definition INDIHelper.h:164
Meeting Participant helper interface.
Meeting Recording helper interface.
Third Party Meeting helper interface.
Virtual background helper interface.
Waiting Room helper interface.
Breakout Room helper interface.
Bandwidth limit info.
uint32_t videoDownstreamLimit
Video downstream limit.
bool isDisableSendVideo
TRUE indicates disable send video.
bool isDisableRecvVideo
TRUE indicates disable receive video.
bool isEnabled
TRUE indicates bandwidth limit feature is enabled.
uint32_t videoUpstreamLimit
Video upstream limit.
Device lock status for joining meeting.
int32_t wrongPwdInputCount
Input wrong password count.
int32_t remainTimeSec
Device lock from joining meeting remaining time seconds.
bool isLocked
TRUE indicates current device is locked from joining meeting due to several wrong password input.
Meeting connected data center info.
std::string dataCenterRegionMessage
Data center region message from Zoom.
std::string learnMoreUrl
Learn more url.
End-to-end security code.
std::string code
The security code.
int64_t secondsSinceLastUpdate
The seconds since last update code.
E2EE meeting status.
bool isPQCProtected
post-quantum cryptography protected.
Join before host, waiting for host information.
MeetingItem meeting
The meeting item.
bool showWaitForHostDialog
TRUE indicates showing waiting for host dialog.
bool enableStartMeetingWithHostKey
TRUE indicates enable start meeting with host key.
WaitingHostReason reason
Reason, see WaitingHostReason enum.
Meeting error info.
int32_t errorCode
Error code.
std::string errorInfo
Error info.
std::string errorDescLink
Error description link url for showing error dialog.
std::string errorTitle
Error title for showing error dialog.
Meeting information.
Meeting invitation info.
std::string callerContactID
Caller contact ID.
std::string callerAvatarUrl
Caller avatar url.
std::string password
Meeting password.
int64_t meetingNumber
Meeting number.
std::string calleeContactID
Callee contact ID.
int64_t meetingOptions
Meeting options.
std::string meetingID
Meeting ID.
int64_t expireTime
Invite expire time.
std::string callerName
Caller name.
Meeting item MeetingItem extends CalendarEvent function with more Zoom meeting information.
Mesh Info Notification.
int32_t unsignedParticipantCount
unsigned participants count.
std::string meshMeetingPrivacyUrl
mesh meeting privacy url.