Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKASController.h
Go to the documentation of this file.
1
2
3#import <ZoomSDK/ZoomSDKErrors.h>
4#import <ZoomSDK/ZoomSDKCustomizedAnnotationCtr.h>
5#import <ZoomSDK/ZoomSDKShareContainer.h>
6#import <ZoomSDK/ZoomSDKRemoteControllerHelper.h>
7
8NS_ASSUME_NONNULL_BEGIN
12@interface ZoomSDKAnnotationController :NSObject
13
18
26- (ZoomSDKError)setTool:(AnnotationToolType)type onScreen:(ScreenType)screen;
27
34- (ZoomSDKError)clear:(AnnotationClearType)type onScreen:(ScreenType)screen;
35
44- (ZoomSDKError)setColor:(float)red Green:(float)green Black:(float)black onScreen:(ScreenType)screen;
45
52- (ZoomSDKError)setLineWidth:(long)lineWidth onScreen:(ScreenType)screen;
53
59- (ZoomSDKError)undo:(ScreenType)screen;
60
66- (ZoomSDKError)redo:(ScreenType)screen;
67
73
79
85@end
86
87
91@interface ZoomSDKSharingSourceInfo: NSObject
92@property(nonatomic, assign, readonly) unsigned int shareSourceID;
93@property(nonatomic, assign, readonly) unsigned int userID;
94@property(nonatomic, assign, readonly) ZoomSDKShareContentType contentType;
95@property(nonatomic, assign, readonly) ZoomSDKShareStatus status;
96@property(nonatomic, assign, readonly) CGWindowID windowID;
97@property(nonatomic, assign, readonly) CGDirectDisplayID displayID;
98@property(nonatomic, assign, readonly) BOOL isShowInFirstScreen; //Available only for Zoom UI mode.
99@property(nonatomic, assign, readonly) BOOL isShowInSecondScreen; //Available only for Zoom UI mode.
100@property(nonatomic, assign, readonly) BOOL canBeRemoteControl;
101@property(nonatomic, assign, readonly) BOOL bEnableOptimizingVideoSharing; //Determine if optimizing video sharing is enabled.
102
107- (ZoomSDKError)getWindowID:(CGWindowID*)windowID;
108
113- (ZoomSDKError)getDisplayID:(CGDirectDisplayID*)displayID;
114@end
115
116
120@interface ZoomSDKSplitScreenInfo : NSObject
121{
124}
125
126- (BOOL)isInSplitScreenMode;
127- (BOOL)isSupportSplitScreenMode;
128@end
129
133@protocol ZoomSDKASControllerDelegate <NSObject>
134@optional
139- (void)onSharingStatusChanged:(ZoomSDKSharingSourceInfo*)shareInfo;
140
144- (void)onFailedToStartShare;
145
151- (void)onShareStatusLocked:(BOOL)shareLocked DEPRECATED_MSG_ATTRIBUTE("No longer used");
152
157- (void)onShareContentChanged:(ZoomSDKSharingSourceInfo*)shareInfo;
158
164- (void)onAnnotationSupportPropertyChanged:(BOOL)isSupportAnnotation shareSourceID:(unsigned int)shareSourceID;
165
170- (void)onShareSettingTypeChanged:(ZoomSDKShareSettingType)type;
171
175- (void)onSharedVideoEnded;
176
181- (void)onVideoFileSharePlayError:(ZoomSDKVideoFileSharePlayError)error;
182
187- (void)onOptimizingShareForVideoClipStatusChanged:(ZoomSDKSharingSourceInfo*)shareInfo;
188@end
189
190
194@interface ZoomSDKASController : NSObject
195{
196 id<ZoomSDKASControllerDelegate> _delegate;
201}
202@property(nonatomic, assign, nullable)id<ZoomSDKASControllerDelegate> delegate;
206@property(nonatomic, assign, readwrite) BOOL enableShareComputerSound;
210@property(nonatomic, assign, readwrite) BOOL enableOptimizingScreenShareForVideoClip;
211
217- (ZoomSDKError)startAppShare:(CGWindowID)windowID;
218
223- (BOOL)isShareAppValid:(CGWindowID)windowID;
224
230- (ZoomSDKError)startMonitorShare:(CGDirectDisplayID)monitorID;
231
236- (ZoomSDKError)stopShare;
237
242- (NSArray<NSNumber *>* _Nullable)getViewableSharingUserList;
243
249- (NSArray<ZoomSDKSharingSourceInfo *>* _Nullable)getSharingSourceInfoList:(unsigned int)userID;
250
258- (ZoomSDKError)viewShare:(unsigned int)shareSourceID onScreen:(ScreenType)screen DEPRECATED_MSG_ATTRIBUTE("No longer used");
259
265- (BOOL)canStartShare DEPRECATED_MSG_ATTRIBUTE("Use -canStartShare: instead");
266
272- (BOOL)canStartShare:(ZoomSDKCannotShareReasonType*)reason;
273
279- (BOOL)isShareLocked DEPRECATED_MSG_ATTRIBUTE("No longer used");
280
285- (BOOL)isDesktopSharingEnabled;
286
291- (ZoomSDKAnnotationController*_Nullable)getAnnotationController;
292
297- (ZoomSDKCustomizedAnnotationCtr*_Nullable)getCustomizedAnnotationCtr;
298
303- (ZoomSDKShareContainer*_Nullable)getShareContainer;
304
309- (ZoomSDKRemoteControllerHelper*_Nullable)getRemoteControllerHelper;
310
318- (ZoomSDKError)startAnnotation:(NSPoint)position onScreen:(ScreenType)screen DEPRECATED_MSG_ATTRIBUTE("Use -startAnnotation: instead");
319
325- (ZoomSDKError)startAnnotation:(ScreenType)screen;
326
332- (ZoomSDKError)stopAnnotation:(ScreenType)screen;
333
340- (ZoomSDKError)getCurrentRemoteController:(unsigned int*)userID DEPRECATED_MSG_ATTRIBUTE("No longer used");
341
345- (ZoomSDKSplitScreenInfo*_Nullable)getCurrentSplitScreenModeInfo;
346
351- (ZoomSDKError)switchSplitScreenMode:(BOOL)switchTo;
352
356- (void)cleanUp;
357
362- (ZoomSDKError)startWhiteBoardShare;
363
368- (ZoomSDKError)startFrameShare;
369
374- (ZoomSDKError)startAudioShare;
375
382- (ZoomSDKError)startShareCamera:(NSString*)deviceID displayWindow:(NSWindow*)window;
383
388- (ZoomSDKError)startShareCamera;
389
394- (BOOL)canSwitchToShareNextCamera;
399- (ZoomSDKError)switchToShareNextCamera;
400
406- (ZoomSDKError)startVideoFileShare:(NSString*)filePath;
407
414- (ZoomSDKError)startVideoFileShare:(NSString*)filePath displayWindow:(NSWindow*)window;
415
420- (BOOL)isAbleToShareWhiteBoard;
425- (BOOL)isAbleToShareFrame;
430- (BOOL)isAbleToShareComputerAudio;
435- (BOOL)isAbleToShareCamera;
436
441- (BOOL)canShareVideoFile;
442
448- (BOOL)canEnableShareToBO;
449
455- (BOOL)isShareToBOEnabled;
456
463- (ZoomSDKError)enableShareToBO:(BOOL)bEnable;
464
471- (ZoomSDKError)disableViewerAnnotation:(ScreenType)screenType disable:(BOOL)disable;
472
479- (ZoomSDKError)isViewerAnnotationLocked:(ScreenType)screenType isLocked:(BOOL*)locked;
480
487- (ZoomSDKError)canDisableViewerAnnotation:(ScreenType)screenType canDisabled:(BOOL*)canDisable;
488
495- (ZoomSDKError)canDoAnnotation:(ScreenType)screenType canAnnotate:(BOOL*)canAnnotate;
496
501- (BOOL)isSupportEnableOptimizeForFullScreenVideoClip;
502
508- (BOOL)isEnableShareComputerSoundOn DEPRECATED_MSG_ATTRIBUTE("Use -isEnableShareComputerSoundOnWhenSharing instead");
509
514- (BOOL)isEnableShareComputerSoundOnWhenSharing;
515
521- (BOOL)isEnableOptimizeForFullScreenVideoClipOn DEPRECATED_MSG_ATTRIBUTE("Use -isEnableOptimizeForFullScreenVideoClipOnWhenSharing instead");
522
527- (BOOL)isEnableOptimizeForFullScreenVideoClipOnWhenSharing;
528
534- (BOOL)isSupportShareWithComputerSound:(ZoomSDKShareContentType)type;
535
540- (BOOL)isCurrentSharingSupportShareWithComputerSound;
541
547- (ZoomSDKError)enableShareComputerSound:(BOOL)enable;
548
554- (ZoomSDKError)enableOptimizingScreenShareForVideoClip:(BOOL)enable;
555
561- (ZoomSDKError)setAudioShareMode:(ZoomSDKAudioShareMode)mode;
562
568- (ZoomSDKError)getAudioShareMode:(ZoomSDKAudioShareMode*)mode;
569
575- (ZoomSDKError)enableShareComputerSoundWhenSharing:(BOOL)enable;
576
582- (ZoomSDKError)enableOptimizingScreenShareForVideoClipWhenSharing:(BOOL)enable;
583
588- (BOOL)isWhiteboardLegalNoticeAvailable;
589
594- (NSString *)getWhiteboardLegalNoticesPrompt;
595
600- (NSString *)getWhiteboardLegalNoticesExplained;
601
608- (ZoomSDKError)switchZoomRatioWhenViewShare:(unsigned int)shareSourceID zoomRatio:(ZoomSDKShareViewZoomRatio)zoomRatio;
609
616- (ZoomSDKError)enableFollowPresenterPointerWhenViewShare:(unsigned int)shareSourceID enable:(BOOL)enable;
617
624- (ZoomSDKError)canEnableFollowPresenterPointerWhenViewShare:(unsigned int)shareSourceID bCan:(BOOL*)bCan;
625@end
626NS_ASSUME_NONNULL_END
627
AnnotationToolType
Type of annotation tools. For more information, please visit https://support.zoom....
ZoomSDKShareStatus
Enumeration of sharing status.
AnnotationClearType
Types of clearing annotations.
ZoomSDKShareViewZoomRatio
Enumeration of zoom ratios of the shared content view.
ZoomSDKCannotShareReasonType
Enumeration of reasons why sharing is not allowed.
ScreenType
Enumeration of screen types for multi-sharing.
ZoomSDKError
Enumeration of common errors of SDK.
ZoomSDKVideoFileSharePlayError
Enumeration of video file share play errors.
ZoomSDKShareContentType
Enumeration of types of shared content.
ZoomSDKShareSettingType
Enumeration of sharing types.
ZoomSDKAudioShareMode
Enumeration of the audio share modes.
ZOOM share controller.
ZoomSDKRemoteControllerHelper * _remoteControllerHelper
ZoomSDKCustomizedAnnotationCtr * _customizedAnnotationCtr
ZoomSDKAnnotationController * _annotationController
ZoomSDKShareContainer * _shareContainer
id< ZoomSDKASControllerDelegate > _delegate
ZOOM UI annotation class.
BOOL isAnnotationDisable()
Determine if annotation disabled.
NSString * getAnnotationLegalNoticesExplained()
Get the annotation legal notices explained.
NSString * getAnnotationLegalNoticesPrompt()
Get the annotation legal notices prompt.
BOOL isAnnotationLegalNoticeAvailable()
Determine whether the legal notice for annotation is available.
ZOOM share information class.
ZoomSDKShareContentType contentType
ZOOM SDK split screen information class.