Zoom Rooms Controller SDK Reference 6.5.0
Loading...
Searching...
No Matches
IParticipantHelper.h
Go to the documentation of this file.
1
6#ifndef ZRC_IPARTICIPANTHELPER_H
7#define ZRC_IPARTICIPANTHELPER_H
8
9#include "ZRCSDKTypes.h"
10
12
18{
21};
22
28{
32};
33
39{
47};
48
64{
67};
68
72{
73public:
75
89 virtual void OnInitMeetingParticipants(const std::vector<MeetingParticipant>& participants, int32_t totalParticipantsCount,
90 bool needCleanUpUserList, ConfSessionType session) = 0;
91
101 virtual void OnUserJoin(const std::vector<MeetingParticipant>& participants, ConfSessionType session) = 0;
102
111 virtual void OnUserLeave(const std::vector<MeetingParticipant>& participants, ConfSessionType session) = 0;
112
122 virtual void OnUserUpdate(const std::vector<MeetingParticipant>& participants, ConfSessionType session) = 0;
123
137 virtual void OnHostChangedNotification(int32_t hostUserID, bool amIHost, ConfSessionType session) = 0;
138
148
157 virtual void OnUpdateHideProfilePictures(bool isHideProfilePictures) = 0;
158
167 virtual void OnHideFullRoomViewNotification(const std::vector<int32_t>& userIDs) = 0;
168
177 virtual void OnClaimHostNotification(ClaimHostResult result) = 0;
178
188 virtual void OnUpdateSharingAnnotationInfo(bool support, bool enable) = 0;
189
199
209 virtual void OnAllowAttendeesShareWhiteboardsNotification(bool isSupported, bool isAllowed) = 0;
210
219 virtual void OnAllowRaiseHandForAttendeeNotification(bool canRaiseHandForAttendee) = 0;
220
230 virtual void OnUpdateOnZRWUserChangeNotification(ZRWUserChangeType type, int32_t zrwUserID) = 0;
231
240 virtual void OnUpdateHasRemoteControlAdmin(bool isAdminExist) = 0;
241
250 virtual void OnUpdateHasRemoteControlAssistant(bool isAssistantExist) = 0;
251
261 virtual void OnDownloadingFinished(const std::string& localFilePath, uint32_t result) = 0;
262};
263
267{
268public:
270
282
294
309 virtual ZRCSDKError GetParticipantsInMeeting(std::vector<MeetingParticipant>& participants, ConfSessionType session) = 0;
310
322 virtual ZRCSDKError GetVirtualParticipantsInMeeting(std::vector<MeetingParticipant>& participants, ConfSessionType session) = 0;
323
337 virtual ZRCSDKError GetParticipantsInSilentMode(std::vector<MeetingParticipant>& participants) = 0;
338
349 virtual ZRCSDKError GetParticipantsLeftMeeting(std::vector<MeetingParticipant>& participants) = 0;
350
361 virtual ZRCSDKError AssignHost(int32_t userID) = 0;
362
374 virtual ZRCSDKError AssignCohost(int32_t userID, bool assign) = 0;
375
386 virtual ZRCSDKError ClaimHost(const std::string& key) = 0;
387
399
411 virtual ZRCSDKError RenameUser(int32_t userID, const std::string& name) = 0;
412
424
436
448
460
472
483 virtual ZRCSDKError RaiseHand(bool raise) = 0;
484
495 virtual ZRCSDKError LowerUserHand(int32_t userID) = 0;
496
507
518
529 virtual ZRCSDKError ExpelUser(int32_t userID) = 0;
530
541 virtual ZRCSDKError ExpelUsers(const std::vector<int32_t>& userIDs) = 0;
542
553 virtual ZRCSDKError HideProfilePictures(bool hidden) = 0;
554
566 virtual ZRCSDKError IsFullRoomViewAvailableForUser(bool& isAvailable, int32_t userID) = 0;
567
579 virtual ZRCSDKError HideFullRoomView(bool isHide, int32_t userID) = 0;
580
592 virtual ZRCSDKError DownloadUserAvatar(std::string avatarUrl, std::string localFilePath) = 0;
593
605
616
629 virtual ZRCSDKError ReportIssue(const std::vector<int32_t>& userIDs, int32_t type, const std::string& email) = 0;
630};
631
633#endif //ZRC_IPARTICIPANTHELPER_H
ClaimHostResult
Claim host result Here are more detailed structural descriptions.
@ ClaimHostResultSuccess
Success.
@ ClaimHostResultInvalidHostKey
Fail, invalid host key.
@ ClaimHostResultUnknownError
Fail, unclassified error.
ZRWUserChangeType
Zoom Room Whiteboard as a user in meeting, change type. Here are more detailed structural description...
@ ZRW_JOIN
ZRW join meeting.
@ ZRW_LEAVE
ZRW leave meeting.
ConfSessionType
Conf session type ZR supports various scenarios, such as breakout rooms in normal meetings and backst...
@ MasterSession
The overarching meeting that encompasses all sub-sessions.
@ CurrentSession
The specific session in which you are actively participating.
ReportIssueType
Report issue type. Here are more detailed structural descriptions.
@ ISSUE_TYPE_OFFENSIVE_ILLEGAL_ABUSIVE
@ ISSUE_TYPE_SUICIDE_SELF_HARM
@ ISSUE_TYPE_SPAM
@ ISSUE_TYPE_IMPERSONATION
@ ISSUE_TYPE_COPYRIGHT_TRADEMARK_INFRINGEMENT
@ ISSUE_TYPE_ILL_TELL_YOU_LATER
@ ISSUE_TYPE_PRIVATE_INFORMATION
#define NS_ZRCSDK_END
#define NS_ZRCSDK_BEG
ZRC SDK Types.
ZRCSDKError
SDK error types. Here are more detailed structural descriptions.
Definition ZRCSDKTypes.h:22
Meeting Participant helper interface.
virtual ZRCSDKError AllowWebinarAttendeeRaiseHand(bool allow)=0
Allow webinar attendees raise hand.
virtual ZRCSDKError IsFullRoomViewAvailableForUser(bool &isAvailable, int32_t userID)=0
Query if user supports hide full room view.
virtual ZRCSDKError ExpelUser(int32_t userID)=0
Expel user.
virtual ZRCSDKError IsAttendeesRenameThemselvesEnabled(bool &enable)=0
Query is attendees rename themselves enabled.
virtual ZRCSDKError IsAttendeesRenameThemselvesLocked(bool &locked)=0
Query is attendees rename themselves locked.
virtual ZRCSDKError RegisterSink(IParticipantHelperSink *pSink)=0
Register meeting user helper callback sink.
virtual ZRCSDKError AllowAttendeesShareWhiteboards(bool allow)=0
Allow attendees share whiteboards.
virtual ZRCSDKError GetVirtualParticipantsInMeeting(std::vector< MeetingParticipant > &participants, ConfSessionType session)=0
Get virtual participants in meeting (e.g., multi stream, multi camera, etc.).
virtual ZRCSDKError DownloadUserAvatar(std::string avatarUrl, std::string localFilePath)=0
Download user avatar.
virtual ZRCSDKError ExpelUsers(const std::vector< int32_t > &userIDs)=0
Expel users.
virtual ZRCSDKError LowerAllAttendeesHands()=0
Lower all attendees' hands.
virtual ZRCSDKError IsAttendeesRenameThemselvesAllowed(bool &allow)=0
Query is attendees rename themselves allowed.
virtual ZRCSDKError ReportIssue(const std::vector< int32_t > &userIDs, int32_t type, const std::string &email)=0
Report meeting participants issues.
virtual ZRCSDKError LowerUserHand(int32_t userID)=0
Lower user hand.
virtual ZRCSDKError AssignCohost(int32_t userID, bool assign)=0
Make user become co-host.
virtual ZRCSDKError HideProfilePictures(bool hidden)=0
Hide profile pictures.
virtual ZRCSDKError GetParticipantsLeftMeeting(std::vector< MeetingParticipant > &participants)=0
Get participants in master session who have left meeting.
virtual ZRCSDKError LowerAllHands()=0
Cancel all hands raised.
virtual ZRCSDKError GetParticipantsInMeeting(std::vector< MeetingParticipant > &participants, ConfSessionType session)=0
Get participants in meeting.
virtual ZRCSDKError EnableAttendeesAnnotateOnShare(bool enable)=0
Enable attendees annotate on shared content.
virtual ZRCSDKError AssignHost(int32_t userID)=0
Change host to the assigned user.
virtual ZRCSDKError ClaimHost(const std::string &key)=0
Claim the role of the host.
virtual ZRCSDKError HideFullRoomView(bool isHide, int32_t userID)=0
Hide full room view.
virtual ZRCSDKError SuspendParticipantsActivities()=0
Suspend participants activities.
virtual ZRCSDKError RenameUser(int32_t userID, const std::string &name)=0
Rename user.
virtual ZRCSDKError RaiseHand(bool raise)=0
Raise hands in the meeting.
virtual ZRCSDKError AllowAttendeesRenameThemselves(bool allow)=0
Allow attendees rename themselves.
virtual ZRCSDKError GetParticipantsInSilentMode(std::vector< MeetingParticipant > &participants)=0
Get participants in master session who are in silent mode.
virtual ZRCSDKError DeregisterSink(IParticipantHelperSink *pSink)=0
Deregister meeting user helper callback sink.
Meeting Participant helper event callback.
virtual void OnUserUpdate(const std::vector< MeetingParticipant > &participants, ConfSessionType session)=0
Participants update notification.
virtual void OnUpdateHideProfilePictures(bool isHideProfilePictures)=0
Hide profile picture update notification.
virtual void OnClaimHostNotification(ClaimHostResult result)=0
Claim host notification.
virtual void OnUserJoin(const std::vector< MeetingParticipant > &participants, ConfSessionType session)=0
Participants join meeting notification.
virtual void OnMeetingParticipantsChanged(ConfSessionType session)=0
Participants changed notification, using GetParticipantsInMeeting with session to get latest list .
virtual void OnUserLeave(const std::vector< MeetingParticipant > &participants, ConfSessionType session)=0
Participants leave meeting notification,.
virtual void OnUpdateHasRemoteControlAssistant(bool isAssistantExist)=0
Remote control assistant exist update notification.
virtual void OnUpdateOnZRWUserChangeNotification(ZRWUserChangeType type, int32_t zrwUserID)=0
Zoom Room Whiteboard user change notification.
virtual void OnHostChangedNotification(int32_t hostUserID, bool amIHost, ConfSessionType session)=0
Host changed notification.
virtual void OnDownloadingFinished(const std::string &localFilePath, uint32_t result)=0
Download result.
virtual void OnInitMeetingParticipants(const std::vector< MeetingParticipant > &participants, int32_t totalParticipantsCount, bool needCleanUpUserList, ConfSessionType session)=0
Meeting participants update notification.
virtual void OnHideFullRoomViewNotification(const std::vector< int32_t > &userIDs)=0
Hide full room view notification.
virtual void OnUpdateSharingAnnotationInfo(bool support, bool enable)=0
Allow user annotate on shared content notification.
virtual void OnAllowRaiseHandForAttendeeNotification(bool canRaiseHandForAttendee)=0
Allow raise hande for attendee notification.
virtual void OnAllowAttendeesShareWhiteboardsNotification(bool isSupported, bool isAllowed)=0
Allow attendees share whiteboard notification.
virtual void OnUpdateHasRemoteControlAdmin(bool isAdminExist)=0
Remote control admin exist update notification.
virtual void OnAllowAttendeesRenameThemselvesNotification(bool allow)=0
Allow attendees rename themselves notification.