Zoom Rooms Controller SDK Reference 6.5.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{
32};
33
39{
42};
43
47{
48 int32_t errorCode = 0;
49 std::string errorInfo;
50 std::string errorTitle;
51 std::string errorDescLink;
52};
53
57{
58 std::string callerContactID;
59 std::string callerName;
60 std::string callerAvatarUrl;
61 std::string calleeContactID;
62 std::string meetingID;
63 std::string password;
64 int64_t meetingOptions = 0;
65 int64_t meetingNumber = 0;
66 int64_t expireTime = 0;
67};
68
72{
73 bool isEnabled = false;
74 bool isDisableSendVideo = false;
75 bool isDisableRecvVideo = false;
76 uint32_t videoUpstreamLimit = 0;
77 uint32_t videoDownstreamLimit = 0;
78};
79
83{
85 std::string learnMoreUrl;
86};
87
91{
92 std::string code;
94};
95
99{
104};
105
109{
110 bool isLocked = false;
111 int32_t remainTimeSec = 0;
112 int32_t wrongPwdInputCount = 0;
113};
114
118{
119 bool isPQCProtected = false;
120};
121
125{
128};
129
133{
134public:
136
145 virtual void OnStartMeetingResult(int32_t result) = 0;
146
157 virtual void OnStartPmiResult(int32_t result, const std::string& meetingNumber, MeetingType meetingType) = 0;
158
167 virtual void OnStartPmiNotification(bool success) = 0;
168
177 virtual void OnUpdateMeetingStatus(MeetingStatus meetingStatus) = 0;
178
185 virtual void OnConfReadyNotification() = 0;
186
195 virtual void OnUpdateMeetingInfoNotification(const MeetingInfo& meetingInfo) = 0;
196
206 virtual void OnExitMeetingNotification(int32_t result, ExitMeetingReason reason) = 0;
207
216 virtual void OnMeetingErrorNotification(const MeetingErrorInfo& errorInfo) = 0;
217
226 virtual void OnMeetingEndedNotification(const MeetingErrorInfo& errorInfo) = 0;
227
237
248 virtual void OnAnswerMeetingInviteResponse(int32_t result, const MeetingInvitationInfo& invitation, bool accepted) = 0;
249
259 virtual void OnTreatedMeetingInviteNotification(const MeetingInvitationInfo& invitation, bool accepted) = 0;
260
269 virtual void OnStartMeetingWithHostKeyResult(int32_t result) = 0;
270
280
289 virtual void OnUpdateE2ESecurityCode(const E2ESecurityCode& code) = 0;
290
300
309 virtual void OnSendMeetingInviteEmailNotification(int32_t result) = 0;
310
319 virtual void OnSetRoomTempDisplayNameNotification(bool isShow) = 0;
320
331 virtual void OnMeetingNeedsPasswordNotification(bool showPasswordDialog, bool wrongAndRetry, const ConfDeviceLockStatus& lockStatus) = 0;
332
342
352 virtual void OnJBHWaitingHostNotification(bool showWaitForHostDialog, WaitingHostReason reason) = 0;
353
362 virtual void OnE2eeMeetingStatusNotification(const E2eeMeetingStatus& e2eeMeetingStatus) = 0;
363
372 virtual void OnMeshInfoNotification(const MeshInfoNotification& meshInfo) = 0;
373
382
391 virtual void OnExtendMeetingResult(int32_t extendMins) = 0;
392};
393
406class IRecordingHelper;
411class INDIHelper;
414class IMeetingQAHelper;
416class ISmartTagHelper;
418
422{
423public:
424 virtual ~IMeetingService() {}
425
437
449
460
471 virtual ZRCSDKError MeetWithIMUsers(const std::vector<std::string>& contactIDs) = 0;
472
484 virtual ZRCSDKError StartMeeting(const MeetingItem& meeting, bool bringShareToMeeting = false) = 0;
485
496 virtual ZRCSDKError StartMeetingWithHostKey(const std::string& hostKey) = 0;
497
513 virtual ZRCSDKError JoinMeeting(const std::string& meetingNumber, bool bringShareToMeeting = false) = 0;
514
528 virtual ZRCSDKError JoinMeetingWithURL(const std::string& url, bool bringShareToMeeting = false) = 0;
529
541 virtual ZRCSDKError JoinMeetingWithContactID(const std::string& contactID, bool bringShareToMeeting = false) = 0;
542
554
565 virtual ZRCSDKError SetRoomTempDisplayNameForMeeting(const std::string& roomTempName) = 0;
566
577 virtual ZRCSDKError SendMeetingPassword(const std::string& password) = 0;
578
589
600
612 virtual ZRCSDKError AnswerMeetingInvite(const MeetingInvitationInfo& invite, bool accept) = 0;
613
626 virtual ZRCSDKError InviteAttendees(const std::vector<std::string>& contactIDs) = 0;
627
638 virtual ZRCSDKError InviteLegacyRoomSystems(const std::vector<LegacyRoomSystem>& roomSystems) = 0;
639
654 virtual ZRCSDKError InviteLegacyRoomSystemWithIpOrE164Number(const std::string& ipOrE164Number, RoomSystemProtocolType protocolType, bool cancel) = 0;
655
666 virtual ZRCSDKError SendMeetingInviteEmail(const std::string& recipients) = 0;
667
680
692 virtual ZRCSDKError SendDTMF(const std::string& digitKey, int32_t userID) = 0;
693
705
717
728
738
748
758
768
778
788
798
808
818
828
838
848
858
868
878
888
897 virtual INDIHelper* GetNDIHelper() = 0;
898
908
918
928
938
948
958
968};
969
971
972#endif //ZRC_IMEETINGSERVICE_H
ExitMeetingReason
Exit meeting reason. Here are more detailed structural descriptions.
@ ExitMeetingReasonJoinBO
Exit meeting reason join breakout room.
@ ExitMeetingReasonDefault
Default.
@ 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 JoinMeeting(const std::string &meetingNumber, bool bringShareToMeeting=false)=0
Join the meeting by meeting number.
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 ZRCSDKError JoinMeetingWithContactID(const std::string &contactID, bool bringShareToMeeting=false)=0
Join a personal room meeting with contact ID.
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 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 JoinMeetingWithURL(const std::string &url, bool bringShareToMeeting=false)=0
Join the meeting by url.
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 ISmartTagHelper * GetSmartTagHelper()=0
Get the smart tag helper.
virtual ZRCSDKError CancelWaitingForHost()=0
Cancel waiting for host, cancel joining the meeting.
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 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 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 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:172
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.