|
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: |
| Starts to share application. | |
| (BOOL) | - isShareAppValid: |
| Determines if the application's window ID can be shared. | |
| (ZoomSDKError) | - startMonitorShare: |
| Starts to share desktop. | |
| (ZoomSDKError) | - stopShare |
| Stops the current share. | |
| (NSArray< NSNumber * > *_Nullable) | - getViewableSharingUserList |
| Gets the ID of users who are sharing. | |
| (NSArray< ZoomSDKSharingSourceInfo * > *_Nullable) | - getSharingSourceInfoList: |
| Gets the list of sharing source info. | |
| (ZoomSDKError) | - viewShare:onScreen: |
| View the shared content on the screen by the specified user ID. | |
| (BOOL) | - canStartShare |
| Determines if it is able for user to start sharing. | |
| (BOOL) | - canStartShare: |
| Determines whether the current meeting can start sharing. | |
| (BOOL) | - isShareLocked |
| Determines if the share is locked by the host or co-host. | |
| (BOOL) | - isDesktopSharingEnabled |
| Determines if it is able to share desktop in the current meeting. | |
| (ZoomSDKAnnotationController *_Nullable) | - getAnnotationController |
| Gets the controller of annotation tools. | |
| (ZoomSDKCustomizedAnnotationCtr *_Nullable) | - getCustomizedAnnotationCtr |
| Gets the controller of annotation tools used in user custom interface mode. | |
| (ZoomSDKShareContainer *_Nullable) | - getShareContainer |
| Gets custom share container. | |
| (ZoomSDKRemoteControllerHelper *_Nullable) | - getRemoteControllerHelper |
| Gets the class object of ZoomSDKRemoteControllerHelper. | |
| (ZoomSDKError) | - startAnnotation:onScreen: |
| Starts annotation. | |
| (ZoomSDKError) | - startAnnotation: |
| Starts annotation. | |
| (ZoomSDKError) | - stopAnnotation: |
| Stops annotation. | |
| (ZoomSDKError) | - getCurrentRemoteController: |
| Gets the user ID of current remote controller. | |
| (ZoomSDKSplitScreenInfo *_Nullable) | - getCurrentSplitScreenModeInfo |
| Gets 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 |
| Starts 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 |
| Determines 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 |
| Determines if user can share white-board. | |
| (BOOL) | - isAbleToShareFrame |
| Determines if user can share a potion of screen. | |
| (BOOL) | - isAbleToShareComputerAudio |
| Determines if user can share computer audio. | |
| (BOOL) | - isAbleToShareCamera |
| Determines if user can share camera. | |
| (BOOL) | - canShareVideoFile |
| Determines if users can share video files. | |
| (BOOL) | - canEnableShareToBO |
| Determines whether the user can share to the breakout room. | |
| (BOOL) | - isShareToBOEnabled |
| Determines if sharing to the breakout room is enabled. | |
| (ZoomSDKError) | - enableShareToBO: |
| Sets to enable sharing to the breakout room. | |
| (ZoomSDKError) | - disableViewerAnnotation:disable: |
| This method uses for the sharing user to disable or enable viewer's privilege of annotation. | |
| (ZoomSDKError) | - isViewerAnnotationLocked:isLocked: |
| Determines whether the viewer's annotate privilege is locked. | |
| (ZoomSDKError) | - canDisableViewerAnnotation:canDisabled: |
| Determines if it is able for user to disable viewer's annotation privilege. | |
| (ZoomSDKError) | - canDoAnnotation:canAnnotate: |
| Determines if it is able for user to do annotation. | |
| (BOOL) | - isSupportEnableOptimizeForFullScreenVideoClip |
| Determines if support enable or disable optimizing for full screen video clip. | |
| (BOOL) | - isEnableShareComputerSoundOn |
| Determines if sharing computer sound option is on or off. | |
| (BOOL) | - isEnableShareComputerSoundOnWhenSharing |
| Determines if sharing computer sound option is on or off for the current sharing session. | |
| (BOOL) | - isEnableOptimizeForFullScreenVideoClipOn |
| Determines if optimizing for full screen video clip option is on or off. | |
| (BOOL) | - isEnableOptimizeForFullScreenVideoClipOnWhenSharing |
| Determines if optimizing for full screen video clip option is on or off for the current sharing session. | |
| (BOOL) | - isSupportShareWithComputerSound: |
| Determines if the specified share type supports sharing with computer sound. | |
| (BOOL) | - isCurrentSharingSupportShareWithComputerSound |
| Determines if current share support sharing with computer sound. | |
| (ZoomSDKError) | - enableShareComputerSound: |
| Determines enable share computer sound. | |
| (ZoomSDKError) | - enableOptimizingScreenShareForVideoClip: |
| Determines enable optimizing for full screen video clip. | |
| (ZoomSDKError) | - setAudioShareMode: |
| Sets the audio share mode. | |
| (ZoomSDKError) | - getAudioShareMode: |
| Gets the audio share mode. | |
| (ZoomSDKError) | - enableShareComputerSoundWhenSharing: |
| Determines enable share computer sound when shaing. | |
| (ZoomSDKError) | - enableOptimizingScreenShareForVideoClipWhenSharing: |
| Determines enable optimizing for full screen video clip when shaing. | |
| (BOOL) | - isWhiteboardLegalNoticeAvailable |
| Determines whether the legal notice for whiteboard is available. | |
| (NSString *) | - getWhiteboardLegalNoticesPrompt |
| Gets the whiteboard legal notices prompt. | |
| (NSString *) | - getWhiteboardLegalNoticesExplained |
| Gets 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: |
| Enables following the presenter's pointer by the function when watching the shared content on the specified view. | |
| (ZoomSDKError) | - canEnableFollowPresenterPointerWhenViewShare:bCan: |
| Determines 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 |
| Enables or disable the shared computer sound, Applied when starting the share session. | |
| BOOL | enableOptimizingScreenShareForVideoClip |
| Enables or disable optimizing screen sharinge for a video clip, Applied when starting the share session. | |
The Zoom share controller responsible for managing screen sharing, annotation, and remote control functionalities.
Definition at line 254 of file ZoomSDKASController.h.
| - (ZoomSDKError) canDisableViewerAnnotation: | (ScreenType) | screenType | |
| canDisabled: | (BOOL *) | canDisable |
Determines 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 indicates can disable, NO indicates cannot. |
ZoomSDKError_Success. Otherwise, this function returns an error. | - (ZoomSDKError) canDoAnnotation: | (ScreenType) | screenType | |
| canAnnotate: | (BOOL *) | canAnnotate |
Determines 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 indicates can do annotation, NO indicates cannot. |
ZoomSDKError_Success. Otherwise, this function returns an error. | - (ZoomSDKError) canEnableFollowPresenterPointerWhenViewShare: | (unsigned int) | shareSourceID | |
| bCan: | (BOOL *) | bCan |
Determines 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 |
Determines whether the user can share to the breakout room.
| - (BOOL) canShareVideoFile |
Determines if users can share video files.
| - (BOOL) canStartShare |
Determines if it is able for user to start sharing.
| - (BOOL) canStartShare: | (ZoomSDKCannotShareReasonType *) | reason |
Determines whether the current meeting can start sharing.
| reason | The reason that no one can start sharing. |
| - (BOOL) canSwitchToShareNextCamera |
Determines if the user can share the next camera.
| - (void) cleanUp |
Clean up as-controller object.
| - (ZoomSDKError) disableViewerAnnotation: | (ScreenType) | screenType | |
| disable: | (BOOL) | disable |
This method uses for the sharing user to disable or enable viewer's privilege of annotation.
| screenType | Select the screen where you want to operate on. |
| disable | YES indicates disable viewer's annotation privilege, NO indicates enable. |
ZoomSDKError_Success. Otherwise, this function returns an error. | - (ZoomSDKError) enableFollowPresenterPointerWhenViewShare: | (unsigned int) | shareSourceID | |
| enable: | (BOOL) | enable |
Enables 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, NO otherwise. |
| - (ZoomSDKError) enableOptimizingScreenShareForVideoClip: | (BOOL) | enable |
Determines enable optimizing for full screen video clip.
| enable | Enable or disable optimizing for full screen video clip. |
ZoomSDKError_Success. Otherwise, this function returns an error. | - (ZoomSDKError) enableOptimizingScreenShareForVideoClipWhenSharing: | (BOOL) | enable |
Determines enable optimizing for full screen video clip when shaing.
| enable | Enable or disable optimizing for full screen video clip. |
ZoomSDKError_Success. Otherwise, this function returns an error. | - (ZoomSDKError) enableShareComputerSound: | (BOOL) | enable |
Determines enable share computer sound.
| enable | Enable or disable share computer sound. |
ZoomSDKError_Success. Otherwise, this function returns an error. | - (ZoomSDKError) enableShareComputerSoundWhenSharing: | (BOOL) | enable |
Determines enable share computer sound when shaing.
| enable | Enable or disable share computer sound. |
ZoomSDKError_Success. Otherwise, this function returns an error. | - (ZoomSDKError) enableShareToBO: | (BOOL) | bEnable |
Sets 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, this function returns an error. | - (ZoomSDKAnnotationController *_Nullable) getAnnotationController |
Gets the controller of annotation tools.
| - (ZoomSDKError) getAudioShareMode: | (ZoomSDKAudioShareMode *) | mode |
Gets the audio share mode.
| mode | The mode for audio share. |
| - (ZoomSDKError) getCurrentRemoteController: | (unsigned int *) | userID |
Gets the user ID of current remote controller.
| userID | The ID of user who can remotely control others. |
ZoomSDKError_Succuss. Otherwise, this function returns an error. | - (ZoomSDKSplitScreenInfo *_Nullable) getCurrentSplitScreenModeInfo |
Gets the information of split screen when viewing the share in the meeting.
| - (ZoomSDKCustomizedAnnotationCtr *_Nullable) getCustomizedAnnotationCtr |
Gets the controller of annotation tools used in user custom interface mode.
| - (ZoomSDKRemoteControllerHelper *_Nullable) getRemoteControllerHelper |
Gets the class object of ZoomSDKRemoteControllerHelper.
| - (ZoomSDKShareContainer *_Nullable) getShareContainer |
Gets custom share container.
| - (NSArray< ZoomSDKSharingSourceInfo * > *_Nullable) getSharingSourceInfoList: | (unsigned int) | userID |
Gets the list of sharing source info.
| userID | The user's ID who is sharing. |
| - (NSArray< NSNumber * > *_Nullable) getViewableSharingUserList |
Gets the ID of users who are sharing.
| - (NSString *) getWhiteboardLegalNoticesExplained |
Gets the whiteboard legal notices explained.
| - (NSString *) getWhiteboardLegalNoticesPrompt |
Gets the whiteboard legal notices prompt.
| - (BOOL) isAbleToShareCamera |
Determines if user can share camera.
| - (BOOL) isAbleToShareComputerAudio |
Determines if user can share computer audio.
| - (BOOL) isAbleToShareFrame |
Determines if user can share a potion of screen.
| - (BOOL) isAbleToShareWhiteBoard |
Determines if user can share white-board.
| - (BOOL) isCurrentSharingSupportShareWithComputerSound |
Determines if current share support sharing with computer sound.
| - (BOOL) isDesktopSharingEnabled |
Determines if it is able to share desktop in the current meeting.
| - (BOOL) isEnableOptimizeForFullScreenVideoClipOn |
Determines if optimizing for full screen video clip option is on or off.
| - (BOOL) isEnableOptimizeForFullScreenVideoClipOnWhenSharing |
Determines if optimizing for full screen video clip option is on or off for the current sharing session.
| - (BOOL) isEnableShareComputerSoundOn |
Determines if sharing computer sound option is on or off.
| - (BOOL) isEnableShareComputerSoundOnWhenSharing |
Determines if sharing computer sound option is on or off for the current sharing session.
| - (BOOL) isShareAppValid: | (CGWindowID) | windowID |
Determines if the application's window ID can be shared.
| - (BOOL) isShareLocked |
Determines if the share is locked by the host or co-host.
| - (BOOL) isShareToBOEnabled |
Determines if sharing to the breakout room is enabled.
| - (BOOL) isSupportEnableOptimizeForFullScreenVideoClip |
Determines if support enable or disable optimizing for full screen video clip.
| - (BOOL) isSupportShareWithComputerSound: | (ZoomSDKShareContentType) | type |
Determines if the specified share type supports sharing with computer sound.
| type | The type of shring content. |
| - (ZoomSDKError) isViewerAnnotationLocked: | (ScreenType) | screenType | |
| isLocked: | (BOOL *) | locked |
Determines 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 indicates viewer's annotate privilege is locked, NO otherwise. |
ZoomSDKError_Success. Otherwise, this function returns an error. | - (BOOL) isWhiteboardLegalNoticeAvailable |
Determines whether the legal notice for whiteboard is available.
| - (ZoomSDKError) setAudioShareMode: | (ZoomSDKAudioShareMode) | mode |
Sets the audio share mode.
| mode | The mode for audio share. |
| - (ZoomSDKError) startAnnotation: | (ScreenType) | screen |
Starts annotation.
| screen | Specify the view where you want to place the annotation toolbar. |
| - (ZoomSDKError) startAnnotation: | (NSPoint) | position | |
| onScreen: | (ScreenType) | screen |
Starts annotation.
| position | The position of annotation toolbar. |
| screen | Specify the view where you want to place the annotation toolbar. |
ZoomSDKError_Succuss. Otherwise, this function returns an error. | - (ZoomSDKError) startAppShare: | (CGWindowID) | windowID |
Starts to share application.
| windowID | The App window ID to be shared. |
| - (ZoomSDKError) startAudioShare |
Share audio.
| - (ZoomSDKError) startFrameShare |
Starts sharing a portion of screen by a frame. User can resize the shared range during sharing.
| - (ZoomSDKError) startMonitorShare: | (CGDirectDisplayID) | monitorID |
Starts to share desktop.
| monitorID | The monitor's ID 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 camera's ID 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 |
Stops annotation.
| screen | Specify the view on which you want to stop annotating. |
| - (ZoomSDKError) stopShare |
Stops 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 to enable side by side mode, NO otherwise. |
ZoomSDKError_Succuss. Otherwise, this function returns an error. | - (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 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, this function returns an error.
|
protected |
Definition at line 258 of file ZoomSDKASController.h.
|
protected |
Definition at line 259 of file ZoomSDKASController.h.
|
protected |
Definition at line 256 of file ZoomSDKASController.h.
|
protected |
Definition at line 260 of file ZoomSDKASController.h.
|
protected |
Definition at line 257 of file ZoomSDKASController.h.
|
readwritenonatomicassign |
The delegate to receive sharing and annotation event callbacks.
Definition at line 265 of file ZoomSDKASController.h.
|
readwritenonatomicassign |
Enables or disable optimizing screen sharinge for a video clip, Applied when starting the share session.
Definition at line 273 of file ZoomSDKASController.h.
|
readwritenonatomicassign |
Enables or disable the shared computer sound, Applied when starting the share session.
Definition at line 269 of file ZoomSDKASController.h.