Meeting SDK for Linux API Reference
Loading...
Searching...
No Matches
meeting_sharing_interface.h
Go to the documentation of this file.
1
5#ifndef _MEETING_SHARING_INTERFACE_H_
6#define _MEETING_SHARING_INTERFACE_H_
7#include "zoom_sdk_def.h"
8
26
38
85
99
111
126
127#if defined(WIN32)
132enum ZoomSDKVideoSharingQuality
133{
138 ZoomSDKVideoSharingQuality_None,
139
141 ZoomSDKVideoSharingQuality_720p_30fps,
142
144 ZoomSDKVideoSharingQuality_720p_60fps,
145
147 ZoomSDKVideoSharingQuality_1080p_30fps,
148
150 ZoomSDKVideoSharingQuality_1080p_60fps,
151};
152#endif
153
159{
160public:
165 virtual SDKError Cancel() = 0;
166
171 virtual SDKError Confirm() = 0;
172
174};
175
181{
183 int posX;
185 int posY;
189 unsigned int arrowColor;
191 unsigned int titleColor;
193 unsigned short alpha;
194
196 {
197 posX = 0;
198 posY = 0;
199 pTitle = nullptr;
200 arrowColor = 0;
201 titleColor = 0;
202 alpha = 0;
203 }
204};
205
215
229
235{
236public:
238
247 virtual void onSharingStatus(ZoomSDKSharingSourceInfo shareInfo) = 0;
248
252 virtual void onFailedToStartShare() = 0;
253
259
265
271
275 virtual void onSharedVideoEnded() = 0;
276
282
288
289#if defined(WIN32)
295 virtual void onVideoSharingQualityChanged(ZoomSDKVideoSharingQuality quality) = 0;
296#endif
297
303
309};
310
316{
317public:
324
343 virtual SDKError StartAppShare(HWND hwndSharedApp) = 0;
344
363 virtual SDKError StartMonitorShare(const zchar_t* monitorID) = 0;
364#if defined(WIN32)
371 virtual bool IsShareAppValid(HWND hwndSharedApp) = 0;
377 virtual SDKError ShowSharingAppSelectWnd() = 0;
378
384 virtual SDKError StartAirPlayShare() = 0;
385
391 virtual SDKError StartShareCamera() = 0;
392
406 virtual SDKError BlockWindowFromScreenshare(bool bBlock, HWND hWnd, bool bChangeWindowStyle = true) = 0;
407
414 virtual SDKError SwitchToFitWindowModeWhenViewShare(SDKViewType type) = 0;
415
422 virtual SDKError SwitchZoomRatioWhenViewShare(unsigned int shareSourceID, SDKShareViewZoomRatio shareViewZoomRatio) = 0;
423
430 virtual SDKError EnableFollowPresenterPointerWhenViewShare(unsigned int shareSourceID, bool bEnable) = 0;
431
438 virtual SDKError CanEnableFollowPresenterPointerWhenViewShare(unsigned int shareSourceID, bool& bCan) = 0;
439
446 virtual SDKError StartWhiteBoardShare() = 0;
447
453 virtual SDKError StartShareFrame() = 0;
454
460 virtual SDKError StartSharePureComputerAudio() = 0;
466 virtual SDKError StartShareCamera(const zchar_t* deviceID, HWND hWnd) = 0;
467
473 virtual SDKError ShowShareOptionDialog() = 0;
474#endif
475
483
489 virtual SDKError StopShare() = 0;
490
497
504
511
520
526 virtual bool CanStartShare(CannotShareReasonType& reason) = 0;
527
533 virtual bool IsDesktopSharingEnabled() = 0;
534
541 virtual SDKError IsShareLocked(bool& bLocked) = 0;
542
549
555
561
568 virtual SDKError EnableShareComputerSound(bool bEnable) = 0;
569
575
583
591
599
605
611
619
625
633
640
647
648#if defined(WIN32)
658 virtual bool CanSetVideoSharingQuality(ZoomSDKVideoSharingQuality quality, ShareType shareType) = 0;
659
673 virtual SDKError SetVideoSharingQuality(ZoomSDKVideoSharingQuality quality) = 0;
674
683 virtual ZoomSDKVideoSharingQuality GetVideoSharingQuality() = 0;
684#endif
685
691 virtual SDKError CanSwitchToShareNextCamera(bool& bCan) = 0;
692
698
703 virtual bool CanShareVideoFile() = 0;
704
705#if defined(WIN32)
711 virtual SDKError CanEnableShareToBO(bool& bCan) = 0;
712
719 virtual SDKError EnableShareToBO(bool bEnable) = 0;
720
727 virtual SDKError IsShareToBOEnabled(bool& bEnabled) = 0;
728
734 virtual SDKError StartVideoFileShare(const zchar_t* filePath) = 0;
735
740 virtual bool IsWhiteboardLegalNoticeAvailable() = 0;
741
745 virtual const zchar_t* getWhiteboardLegalNoticesPrompt() = 0;
746
750 virtual const zchar_t* getWhiteboardLegalNoticesExplained() = 0;
751#endif
752};
754#endif
Meeting share controller interface.
virtual bool IsEnableShareComputerSoundOnWhenSharing()=0
Determines if the current sharing content enabled sharing with compute sound or not.
virtual SDKError PauseCurrentSharing()=0
Pause the current sharing.
virtual bool CanShareVideoFile()=0
Determines whether the user can share video files.
virtual SDKError EnableShareComputerSoundWhenSharing(bool bEnable)=0
Sets to enable or disable the computer audio when sharing.
virtual SDKError IsSupportAdvanceShareOption(AdvanceShareOption option_)=0
Determines if the specified ADVANCE SHARE OPTION is supported.
virtual SDKError SetMultiShareSettingOptions(MultiShareOption shareOption)=0
Sets the options for multi-participants share.
virtual SDKError SetEvent(IMeetingShareCtrlEvent *pEvent)=0
Sets meeting share controller callback event handler.
virtual SDKError StartAppShare(HWND hwndSharedApp)=0
Shares the specified application.
virtual SDKError SwitchToShareNextCamera()=0
switch to next camera, when you are sharing the camera.
virtual IList< ZoomSDKSharingSourceInfo > * GetSharingSourceInfoList(unsigned int userID)=0
Gets the sharing source information list from the specified sharer.
virtual SDKError ResumeCurrentSharing()=0
Resume the current sharing.
virtual SDKError EnableShareComputerSound(bool bEnable)=0
Enables or disable the computer audio before sharing.
virtual SDKError StopShare()=0
Stops the current sharing.
virtual bool IsCurrentSharingSupportShareWithComputerSound()=0
Determines if the current share supports sharing with compute sound or not.
virtual SDKError IsShareLocked(bool &bLocked)=0
Determines if the sharing is locked.
virtual bool CanStartShare(CannotShareReasonType &reason)=0
Determines whether the current meeting can start sharing.
virtual bool IsEnableOptimizeForFullScreenVideoClipOn()=0
Determines if the current meeting enabled sharing with optimize video or not.
virtual SDKError StartMonitorShare(const zchar_t *monitorID)=0
Shares the specified monitor.
virtual bool IsSupportEnableOptimizeForFullScreenVideoClip()=0
Determines if the current meeting supports sharing with optimize video or not.
virtual SDKError GetAudioShareMode(AudioShareMode &mode)=0
Gets the audio share mode.
virtual SDKError SetAudioShareMode(AudioShareMode mode)=0
Sets the audio share mode before or during sharing.
virtual bool IsDesktopSharingEnabled()=0
Determines if it is able to share desktop in the current meeting.
virtual IList< unsigned int > * GetViewableSharingUserList()=0
Gets the ID of users who are sharing.
virtual SDKError CanSwitchToShareNextCamera(bool &bCan)=0
Determines whether can switch to next camera, when share camera.
virtual bool IsEnableShareComputerSoundOn()=0
Determines if the current meeting enabled sharing with compute sound or not before sharing.
virtual SDKError EnableOptimizeForFullScreenVideoClipWhenSharing(bool bEnable)=0
Enables or disable the video optimization when sharing.
virtual SDKError GetMultiShareSettingOptions(MultiShareOption &shareOption)=0
Gets the options for multi-participants share.
virtual bool IsEnableOptimizeForFullScreenVideoClipOnWhenSharing()=0
Determines if the current sharing content enabled sharing with optimize video or not.
virtual SDKError EnableOptimizeForFullScreenVideoClip(bool bEnable)=0
Enables or disable the video optimization before sharing.
virtual bool IsSupportShareWithComputerSound(ShareType type)=0
Determines if the specified share type supports sharing with compute sound or not.
Callback event of meeting share controller.
virtual void onShareSettingTypeChangedNotification(ShareSettingType type)=0
Callback event of sharing setting type changed.
virtual void onSharedVideoEnded()=0
Callback event of the shared video's playback has completed.
virtual void onShareContentNotification(ZoomSDKSharingSourceInfo shareInfo)=0
Callback event of changed sharing information.
virtual void onMultiShareSwitchToSingleShareNeedConfirm(IShareSwitchMultiToSingleConfirmHandler *handler_)=0
Callback event of switching multi-participants share to one participant share.
virtual void onFailedToStartShare()=0
Callback event of failure to start sharing.
virtual void onSharingStatus(ZoomSDKSharingSourceInfo shareInfo)=0
Callback event of the changed sharing status.
virtual void onRemoteControlMouseInfoChanged(const ZoomSDKRemoteControlMouseInfo &mouseInfo)
Callback event when remote control mouse information changes.
virtual void onVideoFileSharePlayError(ZoomSDKVideoFileSharePlayError error)=0
Callback event of the video file playback error.
virtual void onAnnotationArrowInfoChanged(const ZoomSDKAnnotationArrowInfo &arrowInfo)
Callback event when annotation arrow information changes.
virtual void onOptimizingShareForVideoClipStatusChanged(ZoomSDKSharingSourceInfo shareInfo)=0
Callback event of the changed optimizing video status.
Reminder handler of switching from multi-share to single share.
virtual SDKError Cancel()=0
Cancels switching from multi-share to single share. All sharing will remain.
virtual SDKError Confirm()=0
Switches from multi-share to single share. All sharing will be stopped.
ZoomSDKRemoteControlMouseEventType
@ ZoomSDKRemoteControlMouseEventType_Move
@ ZoomSDKRemoteControlMouseEventType_Left_Down
@ ZoomSDKRemoteControlMouseEventType_Left_Up
AdvanceShareOption
Enumeration of additional type of current sharing sent to others. Here are more detailed structural d...
@ AdvanceShareOption_ShareCamera
@ AdvanceShareOption_ShareFrame
@ AdvanceShareOption_PureComputerAudio
ShareSettingType
Enumeration of share setting type. Here are more detailed structural descriptions....
@ ShareSettingType_LOCK_SHARE
@ ShareSettingType_ANYONE_GRAB
@ ShareSettingType_MULTI_SHARE
@ ShareSettingType_HOST_GRAB
@ Enable_Only_HOST_Grab_Share
@ Enable_Only_HOST_Start_Share
struct tagZoomSDKSharingSourceInfo ZoomSDKSharingSourceInfo
Visible shared source information. Here are more detailed structural descriptions....
ZoomSDKVideoFileSharePlayError
@ ZoomSDKVideoFileSharePlayError_Open_Fail
@ ZoomSDKVideoFileSharePlayError_Resolution_Too_High
@ ZoomSDKVideoFileSharePlayError_None
@ ZoomSDKVideoFileSharePlayError_Seek_Fail
@ ZoomSDKVideoFileSharePlayError_Not_Supported
@ ZoomSDKVideoFileSharePlayError_Play_Fail
AudioShareMode
Enumeration of audio share mode. Here are more detailed structural descriptions.
@ AudioShareMode_Stereo
Annotation arrow information. Here are more detailed structural descriptions.
mouse information. Here are more detailed structural descriptions.
ZoomSDKRemoteControlMouseEventType eventType
ZOOM windows SDK Common Definition File.
CannotShareReasonType
Enumeration of reasons why sharing is not allowed.
void * HWND
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
char zchar_t
ShareType
Enumeration of types of shared content.
@ SHARE_TYPE_UNKNOWN
SDKError
Enumeration of common errors of SDK.
SharingStatus
Enumeration of sharing status.
@ Sharing_Self_Send_Begin