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

Handle specify content sharing in direct share for custom ui. More...

#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

Handle specify content sharing in direct share for custom ui.

Definition at line 39 of file ZoomSDKPremeetingService.h.

Method Documentation

◆ cancel

- (ZoomSDKError) cancel

Designated to cancel the action.

Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ getSupportedDirectShareType

- (NSArray< NSNumber * > *) getSupportedDirectShareType

Designated to get the supported direct share types.

Returns
If the function succeeds, it returns an array contains NSNumber with ZoomSDKShareContentType. Otherwise, this function fails and returns nil.

◆ 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 returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ tryShareDesktop:shareSound:optimizeVideoClip:

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

Designated to direct share desktop.

Parameters
monitorIDThe monitor's ID 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 returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ 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 returns ZoomSDKError_Success. Otherwise, this function returns an error.