Zoom Rooms Controller SDK Reference 6.5.0
Loading...
Searching...
No Matches
IMeetingShareHelper.h
Go to the documentation of this file.
1
6#ifndef ZRC_IMEETINGSHAREHELPER_H
7#define ZRC_IMEETINGSHAREHELPER_H
8
9#include "ZRCSDKTypes.h"
10
12
18{
24};
25
31{
41};
42
48{
54};
55
61{
65};
66
72{
80};
81
87{
96};
97
103{
107
113{
117};
118
124{
129};
130
134{
135 bool success = false;
136 std::string meetingNumber;
137 std::string meetingPassword;
138};
139
143{
145 bool canShareToBO = false;
146 bool isSharingToBO = false;
147};
148
152{
153 bool isSharing = false;
154 bool canShareToBO = false;
155 bool isSharingToBO = false;
156};
157
161{
162 bool isMultiShareOn = false;
163 bool isMultiShareDisabled = false;
167};
168
172{
173 int32_t userID = 0;
174 int32_t shareSourceID = 0;
176 bool isSharingAudio = false;
177 bool isAudioMuted = false;
179};
180
184{
186
187 std::string wifiName;
188 std::string serverName;
189 std::string password;
192
196 bool isSharingBlackMagic = false;
200};
201
205{
206 std::string deviceID;
207 bool isSharing = false;
208 bool isMirrored = false;
209 bool canBeControlled = false;
211};
212
216{
217 int32_t userID = 0;
218 std::string userName;
219 int32_t shareSourceID = 0;
220};
221
225{
226 bool isSupported = false;
230 bool isLocked = false;
231};
232
236{
238 std::string shareUserName;
240};
241
245{
246public:
248
258
268 virtual void OnStartLocalPresentResult(bool isSharingMeeting, SharingInstructionDisplayState displayState) = 0;
269
278 virtual void OnSwitchToNormalMeetingResult(int result) = 0;
279
290 virtual void OnShowSharingInstructionResult(int result, bool show, SharingInstructionDisplayState instructionState) = 0;
291
300 virtual void OnShareSettingNotification(const ShareSetting& setting) = 0;
301
310 virtual void OnSharingStatusNotification(const SharingStatus& status) = 0;
311
321
330 virtual void OnUpdateCameraSharingStatus(const CameraSharingStatus& status) = 0;
331
341 virtual void OnSharingSourceNotification(const std::vector<ShareSource>& zrShareSources, const std::vector<ShareSource>& zrwShareSources) = 0;
342
353 virtual void OnHDMI60FPSShareInfoNotification(bool isAllow, bool isOn, HDMI60FPSShareDisableReason disableReason) = 0;
354
363 virtual void OnLocalHDMIShareAudioPlaybackNotification(bool isEnabled) = 0;
364
373 virtual void OnUpdateWhiteboardShareStatusNotification(bool isSharing) = 0;
374
383 virtual void OnZRWSharingStatusNotification(const ZRWSharingStatus& status) = 0;
384
393 virtual void OnUpdateLocalViewStatus(bool isOn) = 0;
394
407
419 virtual void OnSlideControlNotification(const std::vector<SlideControlInfo>& slideControlInfos) = 0;
420
430};
431
435{
436public:
438
450
462
474 virtual ZRCSDKError LaunchSharingMeeting(bool isInLocalShare, SharingInstructionDisplayState displayState) = 0;
475
486
498 virtual ZRCSDKError ShowSharingInstruction(bool show, SharingInstructionDisplayState instructionState) = 0;
499
511 virtual ZRCSDKError ShareBlackMagic(bool isStart, bool isViewLocally) = 0;
512
527 virtual ZRCSDKError ShareCamera(bool isStart, const std::string& deviceId) = 0;
528
539
550
561
572
585 virtual ZRCSDKError EnableMultiShare(bool enabled) = 0;
586
597 virtual ZRCSDKError ShowPinShareInstruction(bool show) = 0;
598
614 virtual ZRCSDKError PinShareOnZRScreen(const ShareSource& shareSource, int32_t screenIndex, bool confirmed) = 0;
615
627 virtual ZRCSDKError PinShareOnZRWScreen(const ShareSource& shareSource, int32_t screenIndex) = 0;
628
644 virtual ZRCSDKError PinIncomingMeetingShare(const ShareSource& incomingShare, CurrentShareType currentShare, bool pin) = 0;
645
657 virtual ZRCSDKError ControlSlide(const SlideControlInfo& slideInfo, SlideOperationType type) = 0;
658
670 virtual ZRCSDKError MuteShareAudio(const ShareSource& source, bool mute) = 0;
671
682 virtual ZRCSDKError EnableHDMI60FPSShare(bool enable) = 0;
683
695 virtual ZRCSDKError GetLocalHDMIShareAudioPlaybackStatus(bool& isSupport, bool& isEnabled) = 0;
696
708
720
732
743 virtual ZRCSDKError OptimizeVideoSharing(bool optimize) = 0;
744
756
768
780
792};
793
795
796#endif //ZRC_IMEETINGSHAREHELPER_H
ZRSharePrivilegeType
Zoom Room's share privilege type. Here are more detailed structural descriptions.
@ ZRSharePrivilegeTypeDisabled
Zoom Room is disabled from sharing to meeting.
@ ZRSharePrivilegeTypeDisabledWhileOthersSharing
Zoom Room is disabled from sharing to meeting because others' sharing.
@ ZRSharePrivilegeTypeDisabledParticipant
Zoom Room is disabled from sharing to meeting because participants cannot share.
@ ZRSharePrivilegeTypeEnabled
Zoom Room is enabled to share to meeting.
@ ZRSharePrivilegeTypeDisabledWhileGuestsInMeeting
Zoom Room is disabled from sharing to meeting because guests in meeting.
@ ZRSharePrivilegeTypeDisabledStartShareForDSOnly
Zoom Room is disabled from sharing to meeting because ZR is Digital Signage-only.
@ ZRSharePrivilegeTypeDisabledStartShareForSimulive
Zoom Room is disabled from sharing to meeting because ZR is in simulive webinars.
@ ZRSharePrivilegeTypeDisabledWhileCloudWhiteboard
Zoom Room is disabled from sharing to meeting because cloud whiteboard sharing.
@ ZRSharePrivilegeTypeDisabledInBOWhileMainSessionSharing
Zoom Room is disabled from sharing to meeting because in breakout room while main session sharing.
DocsInitiatePrivilegeType
Docs initiate privilege type. Here are more detailed structural descriptions.
@ DocsInitiatePrivilegeTypeInternalUsers
Internal users can initiate new docs in the meeting.
@ DocsInitiatePrivilegeTypeAllParticipants
All participants can initiate new docs in the meeting.
@ DocsInitiatePrivilegeTypeUnknown
Invalid.
@ DocsInitiatePrivilegeTypeHostOnly
Only host can initiate new docs in the meeting.
SharingState
Sharing state Here are more detailed structural descriptions.
@ SharingStateNone
None.
@ SharingStateConnecting
ZR is connecting share.
@ SharingStateReceiving
ZR is receiving share from meeting, means ZR is viewing other's share.
@ SharingStateSending
ZR is sending share to meeting, means ZR is sharing.
@ SharingStateSendingAndReceiving
ZR is both sending and receiving share in meeting.
MeetingShareViewPrivilege
Meeting share view privilege. Here are more detailed structural descriptions.
@ MeetingShareViewPrivilege_FocusModeOff
Meeting share view privilege focus mode off.
@ MeetingShareViewPrivilege_FocusModeAllParticipants
Meeting share view privilege focus mode all participants.
@ MeetingShareViewPrivilege_FocusModeHostOnly
Meeting share view privilege focus mode host only.
MeetingSharePrivilegeType
Meeting share privilege type. Here are more detailed structural descriptions.
@ MeetingSharePrivilegeTypeAnyoneGrab
Anyone can share, but one sharing only at one moment, and anyone can grab other's sharing.
@ MeetingSharePrivilegeTypeMultiShare
Anyone can share, Multi-share can exist at the same time.
@ MeetingSharePrivilegeTypeUnknown
Meeting share privilege type unknown.
@ MeetingSharePrivilegeTypeHostGrab
Anyone can share, but one sharing only at one moment, and only host can grab other's sharing.
@ MeetingSharePrivilegeTypeLockShare
Only host can share, the same as "lock share".
DocsSharePrivilegeType
Docs share privilege type. Here are more detailed structural descriptions.
@ DocsSharePrivilegeTypeAnyoneGrab
Anyone can grab share when someone else is sharing.
@ DocsSharePrivilegeTypeUnknown
Invalid.
@ DocsSharePrivilegeTypeHostGrab
Only host can grab share when someone else is sharing.
SlideOperationType
Slide control operation type. Here are more detailed structural descriptions.
@ SlideOperationTypeLeft
Slide left.
@ SlideOperationTypeRight
Slide right.
CurrentShareType
Current pinned share type. Here are more detailed structural descriptions.
@ CurrentShareTypeLocalHDMI
Normal local HDMI share.
@ CurrentShareTypeNormal
Airplay, meeting HDMI or direct share.
@ CurrentShareTypeCamera
Camera.
@ CurrentShareTypeUnknown
Unknown.
@ CurrentShareTypeZoomApp
Zoom App.
@ CurrentShareTypeAnnotated
Annotated content, Airplay, meeting HDMI or direct share.
@ CurrentShareTypeAnnotatedLocalHDMI
Local HDMI share converted to annotated mode when connected to Windows Zoom Rooms for touch support.
@ CurrentShareTypeWhiteboard
Whiteboard.
HDMI60FPSShareDisableReason
HDMI 60 FPS share disable reason. Here are more detailed structural descriptions.
@ HDMI60FPSShareDisableReasonMultiShareIsOn
Multi share is on.
@ HDMI60FPSShareDisableReasonUnknown
Unknown.
@ HDMI60FPSShareDisableReasonCaptureCardNotSupport
Capture card not support.
@ HDMI60FPSShareDisableReasonNotDisable
Not disabled.
@ HDMI60FPSShareDisableReasonZRNotSupport
ZR not support.
@ HDMI60FPSShareDisableReasonOptimizeVideoShareIsOff
Optimize video share is off.
@ HDMI60FPSShareDisableReasonCaptureCardAndZRNotSupport
Capture and ZR not support.
#define NS_ZRCSDK_END
#define NS_ZRCSDK_BEG
ZRC SDK Types.
ShareSourceType
Share source type. Here are more detailed structural descriptions.
@ ShareSourceTypeUnknown
Unknown.
SharingInstructionDisplayState
Sharing instruction display state. Here are more detailed structural descriptions.
@ SharingInstructionDisplayStateNone
Sharing instruction display state none.
ConfInstType
Conf inst type where source data is from. Here are more detailed structural descriptions.
@ ConfInstTypeUnknown
Unknown.
ZRCSDKError
SDK error types. Here are more detailed structural descriptions.
Definition ZRCSDKTypes.h:22
Meeting Share helper interface.
virtual ZRCSDKError SetMeetingShareSetting(MeetingSharePrivilegeType type)=0
Set meeting share privilege type.
virtual ZRCSDKError EnableMultiShare(bool enabled)=0
Turn on or off multi share function for current meeting.
virtual ZRCSDKError MuteShareAudio(const ShareSource &source, bool mute)=0
Mute or unmute the sharing audio.
virtual ZRCSDKError StopSharing()=0
Stop Zoom Room's sharing.
virtual ZRCSDKError LaunchSharingMeeting(bool isInLocalShare, SharingInstructionDisplayState displayState)=0
Launch a sharing meeting.
virtual ZRCSDKError PinShareOnZRWScreen(const ShareSource &shareSource, int32_t screenIndex)=0
Pin share source on Zoom Room Companion Whiteboard's screen.
virtual ZRCSDKError DeregisterSink(IMeetingShareHelperSink *pSink)=0
Deregister meeting share helper callback sink.
virtual ZRCSDKError StopShareToBreakoutRooms()=0
Stop share to breakout rooms.
virtual ZRCSDKError SwitchFromLocalPresentationToNormalMeeting()=0
Switch local presentation to normal meeting.
virtual ZRCSDKError ChangeDocsInitiatePrivilege(DocsInitiatePrivilegeType type)=0
Change docs initiate privilege type.
virtual ZRCSDKError AllowParticipantsShareDocs(bool allow)=0
Allow participants share docs.
virtual ZRCSDKError SetMeetingShareViewPrivilege(MeetingShareViewPrivilege type)=0
Set meeting share view privilege.
virtual ZRCSDKError RegisterSink(IMeetingShareHelperSink *pSink)=0
Register meeting share helper callback sink.
virtual ZRCSDKError GetDocsShareSettingsInfo(DocsShareSettingsInfo &info)=0
Get docs share settings info.
virtual ZRCSDKError GetLocalHDMIShareAudioPlaybackStatus(bool &isSupport, bool &isEnabled)=0
Query local HDMI share audio playback status.
virtual ZRCSDKError OptimizeVideoSharing(bool optimize)=0
Optimize video sharing.
virtual ZRCSDKError ShareBlackMagic(bool isStart, bool isViewLocally)=0
Share HDMI.
virtual ZRCSDKError StopZRWSharing()=0
Stop Zoom Room Companion Whiteboard's sharing.
virtual ZRCSDKError EnableLocalHDMIShareAudioPlayback(bool enable)=0
Enable local HDMI share audio playback.
virtual ZRCSDKError PinShareOnZRScreen(const ShareSource &shareSource, int32_t screenIndex, bool confirmed)=0
Pin share source on Zoom Room's screen.
virtual ZRCSDKError ControlSlide(const SlideControlInfo &slideInfo, SlideOperationType type)=0
Control slide.
virtual ZRCSDKError ShowSharingInstruction(bool show, SharingInstructionDisplayState instructionState)=0
Show or dismiss the sharing instruction on Zoom Room's screen.
virtual ZRCSDKError EnableHDMI60FPSShare(bool enable)=0
Enable HDMI share in 60fps.
virtual ZRCSDKError PinIncomingMeetingShare(const ShareSource &incomingShare, CurrentShareType currentShare, bool pin)=0
Pin incoming meeting share.
virtual ZRCSDKError ShareCamera(bool isStart, const std::string &deviceId)=0
Share camera.
virtual ZRCSDKError ChangeDocsSharePrivilege(DocsSharePrivilegeType type)=0
Change docs share privilege type.
virtual ZRCSDKError ShareToBreakoutRooms()=0
Share the current source to all breakout rooms.
virtual ZRCSDKError ShowPinShareInstruction(bool show)=0
Show the screen index of each display.
Meeting Share helper event callback.
virtual void OnStartLocalPresentNotification(const LocalPresentationInfo &info)=0
Start local present meeting notification.
virtual void OnZRWSharingStatusNotification(const ZRWSharingStatus &status)=0
ZRW Sharing status changed callback.
virtual void OnShareSettingNotification(const ShareSetting &setting)=0
Share setting changed callback.
virtual void OnShowSharingInstructionResult(int result, bool show, SharingInstructionDisplayState instructionState)=0
Show or dismiss the sharing instruction on Zoom Room's screen result.
virtual void OnUpdateCameraSharingStatus(const CameraSharingStatus &status)=0
Camera sharing status changed callback.
virtual void OnSharingSourceNotification(const std::vector< ShareSource > &zrShareSources, const std::vector< ShareSource > &zrwShareSources)=0
Sharing source changed callback.
virtual void OnIncomingMeetingShareNotification(const IncomingMeetingShareNot &noti)=0
Incoming meeting share notification.
virtual void OnUpdateLocalViewStatus(bool isOn)=0
Update local view status notification.
virtual void OnUpdateWhiteboardShareStatusNotification(bool isSharing)=0
Whiteboard share status notification.
virtual void OnSlideControlNotification(const std::vector< SlideControlInfo > &slideControlInfos)=0
Slide control notification.
virtual void OnSharingStatusNotification(const SharingStatus &status)=0
Sharing status changed callback.
virtual void OnSwitchToNormalMeetingResult(int result)=0
Switch local presentation to normal meeting result.
virtual void OnLocalHDMIShareAudioPlaybackNotification(bool isEnabled)=0
Local HDMI share audio playback notification.
virtual void OnDocsShareSettingsNotification(const DocsShareSettingsInfo &info)=0
Docs share settings notification.
virtual void OnUpdateAirPlayBlackMagicStatus(const AirplayBlackMagicStatus &status)=0
Airplay black magic status changed callback.
virtual void OnHDMI60FPSShareInfoNotification(bool isAllow, bool isOn, HDMI60FPSShareDisableReason disableReason)=0
HDMI 60 FPS share info notification.
virtual void OnStartLocalPresentResult(bool isSharingMeeting, SharingInstructionDisplayState displayState)=0
Start local present meeting response.
Airplay and black magic status Airplay is Apple's Screen Mirroring, black magic is HDMI cable sharing...
bool isAirHostClientConnected
TRUE indicates AirHost client connected. Otherwise not.
bool isBlackMagicDataAvailable
TRUE indicates HDMI data is available and ready to be shared. Otherwise not.
SharingInstructionDisplayState instructionDisplayState
Sharing instruction display state.
bool isBlackMagicSharingLocally
TRUE indicates HDMI is sharing locally. Otherwise not.
std::string directPresentationSharingKey
Direct presentation sharing key.
bool isBlackMagicConnected
TRUE indicates HDMI cable connected. Otherwise not.
std::string directPresentationPairingCode
Direct presentation pairing code.
bool isBlackMagicSharingLocallyAvailable
TRUE indicates share HDMI locally available. Otherwise not.
std::string password
Airplay server password.
bool isDirectPresentationConnected
TRUE indicates direct presentation connected. Otherwise not.
bool isSharingBlackMagic
TRUE indicates HDMI is sharing. Otherwise not.
std::string wifiName
Airplay server WiFi name.
std::string serverName
Airplay server name.
Camera sharing status.
bool canBeControlled
TRUE indicates camera can be controlled. Otherwise not.
bool isSharing
TRUE indicates camera is sharing. Otherwise not.
std::string deviceID
Camera device ID.
int32_t panTiltSpeedPercentage
Movement speed of camera when sharing.
bool isMirrored
TRUE indicates camera is mirrored. Otherwise not.
Docs share settings info.
bool isLocked
TRUE indicates settings are locked. Otherwise not.
DocsInitiatePrivilegeType initiatePrivilege
Who can initiate new docs in the meeting.
DocsSharePrivilegeType sharePrivilege
Who can start share when someone else is sharing.
bool isAllowParticipantsToShare
True indicates allow participants to share docs. Otherwise not.
bool isSupported
True indicates the current meeting supports changing docs share settings. Otherwise not.
Incoming share notification.
std::string shareUserName
Incoming share user name.
ShareSource incomingSource
Incoming share source.
CurrentShareType currentShareType
Current pinned share type.
Local presentation info.
std::string meetingNumber
Local present meeting number.
std::string meetingPassword
Local present meeting password.
bool success
TRUE indicates start local presentation success.
Share setting.
bool isSharePrivilegeSettingLocked
TRUE indicates share privilege setting is locked. Otherwise not.
ZRSharePrivilegeType zrSharePrivilegeType
Zoom Room's share privilege type.
MeetingSharePrivilegeType meetingSharePrivilegeType
Meeting's share privilege type.
bool isMultiShareDisabled
TRUE indicates multi share is disabled. Otherwise not.
bool isMultiShareOn
TRUE indicates multi share is turned on. Otherwise not.
Share source item Every share in the meeting will show up as a share source.
bool isAudioMuted
TRUE indicates share source audio is muted. Otherwise not.
int32_t userID
User ID that the share source belongs to.
bool isSharingAudio
TRUE indicates share source with audio. Otherwise not.
int32_t shareSourceID
Share source ID.
ConfInstType fromType
Share source from conf instance type.
ShareSourceType shareSourceType
Share source type.
Sharing status.
bool canShareToBO
TRUE indicates can share to breakout room.
SharingState sharingState
Current sharing state.
bool isSharingToBO
TRUE indicates ZR is sharing to breakout room.
Slide control info.
std::string userName
The user's name who the share slide belongs to.
int32_t userID
The user's ID who the share slide belongs to.
int32_t shareSourceID
The share slide source ID.
ZRW Sharing status.
bool isSharingToBO
TRUE indicates ZRW is sharing to breakout room.
bool isSharing
TRUE indicates ZRW is sharing.
bool canShareToBO
TRUE indicates can share ZRW to breakout room.