|
Meeting SDK for macOS API Reference
|
The Zoom share controller responsible for managing screen sharing, annotation, and remote control functionalities. More...
#include <ZoomSDKASController.h>
Inherits NSObject.
Instance Methods | |
| (ZoomSDKError) | - startAppShare: |
| Start to share application. | |
| (BOOL) | - isShareAppValid: |
| Determine if the application's window ID can be shared. | |
| (ZoomSDKError) | - startMonitorShare: |
| Start to share desktop. | |
| (ZoomSDKError) | - stopShare |
| Stop the current share. | |
| (NSArray< NSNumber * > *_Nullable) | - getViewableSharingUserList |
| Get the ID of users who are sharing. | |
| (NSArray< ZoomSDKSharingSourceInfo * > *_Nullable) | - getSharingSourceInfoList: |
| Get the list of sharing source info. | |
| (ZoomSDKError) | - viewShare:onScreen: |
| View the user's shared content on the screen by the specified user ID. | |
| (BOOL) | - canStartShare |
| Determine if it is able for user to start sharing. | |
| (BOOL) | - canStartShare: |
| Determine whether the current meeting can start sharing. | |
| (BOOL) | - isShareLocked |
| Determine if the share is locked by the host/co-host. | |
| (BOOL) | - isDesktopSharingEnabled |
| Determine if it is able to share desktop in the current meeting. | |
| (ZoomSDKAnnotationController *_Nullable) | - getAnnotationController |
| Get the controller of annotation tools. | |
| (ZoomSDKCustomizedAnnotationCtr *_Nullable) | - getCustomizedAnnotationCtr |
| Get the controller of annotation tools used in user custom interface mode. | |
| (ZoomSDKShareContainer *_Nullable) | - getShareContainer |
| Get custom share container. | |
| (ZoomSDKRemoteControllerHelper *_Nullable) | - getRemoteControllerHelper |
| Get the class object of ZoomSDKRemoteControllerHelper. | |
| (ZoomSDKError) | - startAnnotation:onScreen: |
| Start annotation. | |
| (ZoomSDKError) | - startAnnotation: |
| Start annotation. | |
| (ZoomSDKError) | - stopAnnotation: |
| Stop annotation. | |
| (ZoomSDKError) | - getCurrentRemoteController: |
| Get the user ID of current remote controller. | |
| (ZoomSDKSplitScreenInfo *_Nullable) | - getCurrentSplitScreenModeInfo |
| Get the information of split screen when viewing the share in the meeting. | |
| (ZoomSDKError) | - switchSplitScreenMode: |
| Switch to split screen mode, which means that the shared content and the video are separated in different column, the video won't cover the shared content. | |
| (void) | - cleanUp |
| Clean up as-controller object. | |
| (ZoomSDKError) | - startWhiteBoardShare |
| Share white-board. | |
| (ZoomSDKError) | - startFrameShare |
| Start sharing a portion of screen by a frame. User can resize the shared range during sharing. | |
| (ZoomSDKError) | - startAudioShare |
| Share audio. | |
| (ZoomSDKError) | - startShareCamera:displayWindow: |
| Share camera, only available for custom UI. | |
| (ZoomSDKError) | - startShareCamera |
| Share camera, only available for zoom UI. | |
| (BOOL) | - canSwitchToShareNextCamera |
| Determine if the user can share the next camera. | |
| (ZoomSDKError) | - switchToShareNextCamera |
| Share the next camera. | |
| (ZoomSDKError) | - startVideoFileShare: |
| Share video file. | |
| (ZoomSDKError) | - startVideoFileShare:displayWindow: |
| Share video file. Only available for custom UI. | |
| (BOOL) | - isAbleToShareWhiteBoard |
| Determine if user can share white-board. | |
| (BOOL) | - isAbleToShareFrame |
| Determine if user can share a potion of screen. | |
| (BOOL) | - isAbleToShareComputerAudio |
| Determine if user can share computer audio. | |
| (BOOL) | - isAbleToShareCamera |
| Determine if user can share camera. | |
| (BOOL) | - canShareVideoFile |
| Determine if users can share video files. | |
| (BOOL) | - canEnableShareToBO |
| Determine whether the user can share to the breakout room. | |
| (BOOL) | - isShareToBOEnabled |
| Determine if sharing to the breakout room is enabled. | |
| (ZoomSDKError) | - enableShareToBO: |
| Set to enable sharing to the breakout room. | |
| (ZoomSDKError) | - disableViewerAnnotation:disable: |
| This method is used for the sharing user to disable/enable viewer's privilege of annotation. | |
| (ZoomSDKError) | - isViewerAnnotationLocked:isLocked: |
| Determine whether the viewer's annotate privilege is locked. | |
| (ZoomSDKError) | - canDisableViewerAnnotation:canDisabled: |
| Determine if it is able for user to disable viewer's annotation privilege. | |
| (ZoomSDKError) | - canDoAnnotation:canAnnotate: |
| Determine if it is able for user to do annotation. | |
| (BOOL) | - isSupportEnableOptimizeForFullScreenVideoClip |
| Determine if support enable or disable optimizing for full screen video clip. | |
| (BOOL) | - isEnableShareComputerSoundOn |
| Determine if sharing computer sound option is on or off. | |
| (BOOL) | - isEnableShareComputerSoundOnWhenSharing |
| Determine if sharing computer sound option is on or off for the current sharing session. | |
| (BOOL) | - isEnableOptimizeForFullScreenVideoClipOn |
| Determine if optimizing for full screen video clip option is on or off. | |
| (BOOL) | - isEnableOptimizeForFullScreenVideoClipOnWhenSharing |
| Determine if optimizing for full screen video clip option is on or off for the current sharing session. | |
| (BOOL) | - isSupportShareWithComputerSound: |
| Determine if the specified share type supports sharing with computer sound. | |
| (BOOL) | - isCurrentSharingSupportShareWithComputerSound |
| Determine if current share support sharing with computer sound. | |
| (ZoomSDKError) | - enableShareComputerSound: |
| Determine enable share computer sound. | |
| (ZoomSDKError) | - enableOptimizingScreenShareForVideoClip: |
| Determine enable optimizing for full screen video clip. | |
| (ZoomSDKError) | - setAudioShareMode: |
| Set the audio share mode. | |
| (ZoomSDKError) | - getAudioShareMode: |
| Get the audio share mode. | |
| (ZoomSDKError) | - enableShareComputerSoundWhenSharing: |
| Determine enable share computer sound when shaing. | |
| (ZoomSDKError) | - enableOptimizingScreenShareForVideoClipWhenSharing: |
| Determine enable optimizing for full screen video clip when shaing. | |
| (BOOL) | - isWhiteboardLegalNoticeAvailable |
| Determine whether the legal notice for whiteboard is available. | |
| (NSString *) | - getWhiteboardLegalNoticesPrompt |
| Get the whiteboard legal notices prompt. | |
| (NSString *) | - getWhiteboardLegalNoticesExplained |
| Get the whiteboard legal notices explained. | |
| (ZoomSDKError) | - switchZoomRatioWhenViewShare:zoomRatio: |
| Switch the window size by the function when watching the share on the specified view. | |
| (ZoomSDKError) | - enableFollowPresenterPointerWhenViewShare:enable: |
| Enable following the presenter's pointer by the function when watching the shared content on the specified view. | |
| (ZoomSDKError) | - canEnableFollowPresenterPointerWhenViewShare:bCan: |
| Determine if you can enable following the presenter's pointer when watching the share on the specified view. | |
Properties | |
| id< ZoomSDKASControllerDelegate > | delegate |
| The delegate to receive sharing and annotation event callbacks. | |
| BOOL | enableShareComputerSound |
| Enable or disable the shared computer sound, which will be applied when starting the share session. | |
| BOOL | enableOptimizingScreenShareForVideoClip |
| Enable or disable optimizing screen sharinge for a video clip, which will be applied when starting the share session. | |
The Zoom share controller responsible for managing screen sharing, annotation, and remote control functionalities.
Definition at line 243 of file ZoomSDKASController.h.
| - (ZoomSDKError) canDisableViewerAnnotation: | (ScreenType) | screenType | |
| canDisabled: | (BOOL *) | canDisable |
Determine if it is able for user to disable viewer's annotation privilege.
| screenType | Select the screen where you want to operate on. |
| canDisable | A point to A BOOL, if function call successfully, the value of 'canDisable' means whether the user can disable viewer's annotation, YES means can disable, NO means cannot. |
| - (ZoomSDKError) canDoAnnotation: | (ScreenType) | screenType | |
| canAnnotate: | (BOOL *) | canAnnotate |
Determine if it is able for user to do annotation.
| screenType | Select the screen where you want to operate on. |
| canAnnotate | A point to A BOOL, if function call successfully, the value of 'canAnnotate' means whether the user can do annotation, YES means can do annotation, NO means cannot. |
| - (ZoomSDKError) canEnableFollowPresenterPointerWhenViewShare: | (unsigned int) | shareSourceID | |
| bCan: | (BOOL *) | bCan |
Determine if you can enable following the presenter's pointer when watching the share on the specified view.
| shareSourceID | Specify the sharing source ID that you want to follow the presenter's pointer. |
| bCan | YES indicates that following the pointer can be enabled. NO indicates that it can’t. |
| - (BOOL) canEnableShareToBO |
Determine whether the user can share to the breakout room.
| - (BOOL) canShareVideoFile |
Determine if users can share video files.
| - (BOOL) canStartShare |
Determine if it is able for user to start sharing.
| - (BOOL) canStartShare: | (ZoomSDKCannotShareReasonType *) | reason |
Determine whether the current meeting can start sharing.
| reason | The reason that no one can start sharing. |
| - (BOOL) canSwitchToShareNextCamera |
Determine if the user can share the next camera.
| - (void) cleanUp |
Clean up as-controller object.
| - (ZoomSDKError) disableViewerAnnotation: | (ScreenType) | screenType | |
| disable: | (BOOL) | disable |
This method is used for the sharing user to disable/enable viewer's privilege of annotation.
| screenType | Select the screen where you want to operate on. |
| disable | YES means disable viewer's annotation privilege, NO means enable. |
| - (ZoomSDKError) enableFollowPresenterPointerWhenViewShare: | (unsigned int) | shareSourceID | |
| enable: | (BOOL) | enable |
Enable following the presenter's pointer by the function when watching the shared content on the specified view.
| shareSourceID | Specify the sharing source ID that you want to follow the presenter's pointer. |
| enable | YES indicates to enable following the pointer. Otherwise not. |
| - (ZoomSDKError) enableOptimizingScreenShareForVideoClip: | (BOOL) | enable |
Determine enable optimizing for full screen video clip.
| enable | Enable or disable optimizing for full screen video clip. |
| - (ZoomSDKError) enableOptimizingScreenShareForVideoClipWhenSharing: | (BOOL) | enable |
Determine enable optimizing for full screen video clip when shaing.
| enable | Enable or disable optimizing for full screen video clip. |
| - (ZoomSDKError) enableShareComputerSound: | (BOOL) | enable |
Determine enable share computer sound.
| enable | Enable or disable share computer sound. |
| - (ZoomSDKError) enableShareComputerSoundWhenSharing: | (BOOL) | enable |
Determine enable share computer sound when shaing.
| enable | Enable or disable share computer sound. |
| - (ZoomSDKError) enableShareToBO: | (BOOL) | bEnable |
Set to enable sharing to the breakout room.
| bEnable | YES indicates to enable. NO indicates that sharing to the breakout room is not enabled. |
ZoomSDKError_Success. Otherwise failed. | - (ZoomSDKAnnotationController *_Nullable) getAnnotationController |
Get the controller of annotation tools.
| - (ZoomSDKError) getAudioShareMode: | (ZoomSDKAudioShareMode *) | mode |
Get the audio share mode.
| mode | The mode for audio share. |
| - (ZoomSDKError) getCurrentRemoteController: | (unsigned int *) | userID |
Get the user ID of current remote controller.
| userID | The ID of user who can remotely control others. |
ZoomSDKError_Succuss, otherwise not. | - (ZoomSDKSplitScreenInfo *_Nullable) getCurrentSplitScreenModeInfo |
Get the information of split screen when viewing the share in the meeting.
| - (ZoomSDKCustomizedAnnotationCtr *_Nullable) getCustomizedAnnotationCtr |
Get the controller of annotation tools used in user custom interface mode.
| - (ZoomSDKRemoteControllerHelper *_Nullable) getRemoteControllerHelper |
Get the class object of ZoomSDKRemoteControllerHelper.
| - (ZoomSDKShareContainer *_Nullable) getShareContainer |
Get custom share container.
| - (NSArray< ZoomSDKSharingSourceInfo * > *_Nullable) getSharingSourceInfoList: | (unsigned int) | userID |
Get the list of sharing source info.
| userID | The ID of the user who is sharing. |
| - (NSArray< NSNumber * > *_Nullable) getViewableSharingUserList |
Get the ID of users who are sharing.
| - (NSString *) getWhiteboardLegalNoticesExplained |
Get the whiteboard legal notices explained.
| - (NSString *) getWhiteboardLegalNoticesPrompt |
Get the whiteboard legal notices prompt.
| - (BOOL) isAbleToShareCamera |
Determine if user can share camera.
| - (BOOL) isAbleToShareComputerAudio |
Determine if user can share computer audio.
| - (BOOL) isAbleToShareFrame |
Determine if user can share a potion of screen.
| - (BOOL) isAbleToShareWhiteBoard |
Determine if user can share white-board.
| - (BOOL) isCurrentSharingSupportShareWithComputerSound |
Determine if current share support sharing with computer sound.
| - (BOOL) isDesktopSharingEnabled |
Determine if it is able to share desktop in the current meeting.
| - (BOOL) isEnableOptimizeForFullScreenVideoClipOn |
Determine if optimizing for full screen video clip option is on or off.
| - (BOOL) isEnableOptimizeForFullScreenVideoClipOnWhenSharing |
Determine if optimizing for full screen video clip option is on or off for the current sharing session.
| - (BOOL) isEnableShareComputerSoundOn |
Determine if sharing computer sound option is on or off.
| - (BOOL) isEnableShareComputerSoundOnWhenSharing |
Determine if sharing computer sound option is on or off for the current sharing session.
| - (BOOL) isShareAppValid: | (CGWindowID) | windowID |
Determine if the application's window ID can be shared.
| - (BOOL) isShareLocked |
Determine if the share is locked by the host/co-host.
| - (BOOL) isShareToBOEnabled |
Determine if sharing to the breakout room is enabled.
| - (BOOL) isSupportEnableOptimizeForFullScreenVideoClip |
Determine if support enable or disable optimizing for full screen video clip.
| - (BOOL) isSupportShareWithComputerSound: | (ZoomSDKShareContentType) | type |
Determine if the specified share type supports sharing with computer sound.
| type | The type of shring content. |
| - (ZoomSDKError) isViewerAnnotationLocked: | (ScreenType) | screenType | |
| isLocked: | (BOOL *) | locked |
Determine whether the viewer's annotate privilege is locked.
| screenType | Select the screen where you want to operate on. |
| locked | A point to A BOOL, if function call successfully, the value of 'locked' means whether viewer's annotate privilege is locked, YES means viewer's annotate privilege is locked. |
| - (BOOL) isWhiteboardLegalNoticeAvailable |
Determine whether the legal notice for whiteboard is available.
| - (ZoomSDKError) setAudioShareMode: | (ZoomSDKAudioShareMode) | mode |
Set the audio share mode.
| mode | The mode for audio share. |
| - (ZoomSDKError) startAnnotation: | (ScreenType) | screen |
Start annotation.
| screen | Specify the view where you want to place the annotation toolbar. |
| - (ZoomSDKError) startAnnotation: | (NSPoint) | position | |
| onScreen: | (ScreenType) | screen |
Start annotation.
| position | The position of annotation toolbar. |
| screen | Specify the view where you want to place the annotation toolbar. |
ZoomSDKError_Succuss, otherwise not. | - (ZoomSDKError) startAppShare: | (CGWindowID) | windowID |
Start to share application.
| windowID | The App window id to be shared. |
| - (ZoomSDKError) startAudioShare |
Share audio.
| - (ZoomSDKError) startFrameShare |
Start sharing a portion of screen by a frame. User can resize the shared range during sharing.
| - (ZoomSDKError) startMonitorShare: | (CGDirectDisplayID) | monitorID |
Start to share desktop.
| monitorID | The ID of the monitor that you want to display the shared content. |
| - (ZoomSDKError) startShareCamera |
Share camera, only available for zoom UI.
| - (ZoomSDKError) startShareCamera: | (NSString *) | deviceID | |
| displayWindow: | (NSWindow *) | window |
Share camera, only available for custom UI.
| deviceID | The ID of the camera to be shared. |
| window | The view on which you want to show camera content. |
| - (ZoomSDKError) startVideoFileShare: | (NSString *) | filePath |
Share video file.
| filePath | Specify the video file path. Only supports mov, mp4, or avi format. |
| - (ZoomSDKError) startVideoFileShare: | (NSString *) | filePath | |
| displayWindow: | (NSWindow *) | window |
Share video file. Only available for custom UI.
| filePath | Specify the video file path. Only supports mov, mp4, or avi format. |
| window | The view where you want to show share content. |
| - (ZoomSDKError) startWhiteBoardShare |
Share white-board.
| - (ZoomSDKError) stopAnnotation: | (ScreenType) | screen |
Stop annotation.
| screen | Specify the view on which you want to stop annotating. |
| - (ZoomSDKError) stopShare |
Stop the current share.
| - (ZoomSDKError) switchSplitScreenMode: | (BOOL) | switchTo |
Switch to split screen mode, which means that the shared content and the video are separated in different column, the video won't cover the shared content.
| switchTo | YES means to enable side by side mode, otherwise not. |
ZoomSDKError_Succuss, otherwise not. | - (ZoomSDKError) switchToShareNextCamera |
Share the next camera.
| - (ZoomSDKError) switchZoomRatioWhenViewShare: | (unsigned int) | shareSourceID | |
| zoomRatio: | (ZoomSDKShareViewZoomRatio) | zoomRatio |
Switch the window size by the function when watching the share on the specified view.
| shareSourceID | Specify the sharing source ID that you want to switch the zoom ratio. |
| zoomRatio | Specify the size you want to set. The default is ZoomSDKShareViewZoomRatio_50, which means share content will zoom-out to 50%. |
| - (ZoomSDKError) viewShare: | (unsigned int) | shareSourceID | |
| onScreen: | (ScreenType) | screen |
View the user's shared content on the screen by the specified user ID.
| shareSourceID | The share source ID of user that you want to view the shared content. |
| screen | Select the screen to display the shared content if you have more than one screen. |
ZoomSDKError_Succuss. Otherwise not.
|
protected |
Definition at line 247 of file ZoomSDKASController.h.
|
protected |
Definition at line 248 of file ZoomSDKASController.h.
|
protected |
Definition at line 245 of file ZoomSDKASController.h.
|
protected |
Definition at line 249 of file ZoomSDKASController.h.
|
protected |
Definition at line 246 of file ZoomSDKASController.h.
|
readwritenonatomicassign |
The delegate to receive sharing and annotation event callbacks.
Definition at line 254 of file ZoomSDKASController.h.
|
readwritenonatomicassign |
Enable or disable optimizing screen sharinge for a video clip, which will be applied when starting the share session.
Definition at line 262 of file ZoomSDKASController.h.
|
readwritenonatomicassign |
Enable or disable the shared computer sound, which will be applied when starting the share session.
Definition at line 258 of file ZoomSDKASController.h.