Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKDirectShareSpecifyContentHandler Class Reference

#include <ZoomSDKPremeetingService.h>

Inherits NSObject.

Instance Methods

(NSArray< NSNumber * > *) - getSupportedDirectShareType
 Designated to get the supported direct share types.
 
(ZoomSDKError- tryShareApplication:shareSound:optimizeVideoClip:
 Designated to direct share application.
 
(ZoomSDKError- tryShareDesktop:shareSound:optimizeVideoClip:
 Designated to direct share desktop.
 
(ZoomSDKError- tryShareFrame:optimizeVideoClip:
 Designated to direct share frame.
 
(ZoomSDKError- cancel
 Designated to cancel the action.
 

Detailed Description

Definition at line 24 of file ZoomSDKPremeetingService.h.

Method Documentation

◆ cancel

- (ZoomSDKError) cancel

Designated to cancel the action.

Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.

◆ getSupportedDirectShareType

- (NSArray< NSNumber * > *) getSupportedDirectShareType

Designated to get the supported direct share types.

Returns
If the function succeeds, it will return an array contains NSNumber with ZoomSDKShareContentType.

◆ tryShareApplication:shareSound:optimizeVideoClip:

- (ZoomSDKError) tryShareApplication: (CGWindowID) windowID
shareSound: (BOOL) shareSound
optimizeVideoClip: (BOOL) optimizeVideoClip 

Designated to direct share application.

Parameters
windowIDThe Application's window id to be shared.
shareSoundEnable or disable share computer sound.
optimizeVideoClipEnable or disable optimizing for full screen video clip.
Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.

◆ tryShareDesktop:shareSound:optimizeVideoClip:

- (ZoomSDKError) tryShareDesktop: (CGDirectDisplayID) monitorID
shareSound: (BOOL) shareSound
optimizeVideoClip: (BOOL) optimizeVideoClip 

Designated to direct share desktop.

Parameters
monitorIDThe ID of the monitor that to be shared.
shareSoundEnable or disable share computer sound.
optimizeVideoClipEnable or disable optimizing for full screen video clip.
Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.

◆ tryShareFrame:optimizeVideoClip:

- (ZoomSDKError) tryShareFrame: (BOOL) shareSound
optimizeVideoClip: (BOOL) optimizeVideoClip 

Designated to direct share frame.

Parameters
shareSoundEnable or disable share computer sound.
optimizeVideoClipEnable or disable optimizing for full screen video clip.
Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.