Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDKShareSettingHelper Class Reference

Helper class to manage share-related settings. More...

#include <ZMVideoSDKShareSettingHelper.h>

Inherits NSObject.

Instance Methods

(ZMVideoSDKErrors- setScreenCaptureMode:
 Set screen capture mode.
 
(ZMVideoSDKErrors- getScreenCaptureMode:
 Get the screen capture mode.
 
(ZMVideoSDKErrors- enableGreenBorder:
 Set the visibility of the green border when sharing the screen.
 
(BOOL) - isGreenBorderEnabled
 Determine if the green border is enabled when user shares the screen.
 

Detailed Description

Helper class to manage share-related settings.

Definition at line 16 of file ZMVideoSDKShareSettingHelper.h.

Method Documentation

◆ enableGreenBorder:

- (ZMVideoSDKErrors) enableGreenBorder: (BOOL) bEnable

Set the visibility of the green border when sharing the screen.

Parameters
bEnableTrue indicates to display the green border. False hide.
Returns
If the function succeeds, it will return ZMVideoSDKErrors_Success, otherwise not.

◆ getScreenCaptureMode:

- (ZMVideoSDKErrors) getScreenCaptureMode: (ZMVideoSDKScreenCaptureMode *) captureMode

Get the screen capture mode.

Parameters
captureModeThe screen capture mode.
Returns
If the function succeeds, it will return ZMVideoSDKErrors_Success, otherwise not.

◆ isGreenBorderEnabled

- (BOOL) isGreenBorderEnabled

Determine if the green border is enabled when user shares the screen.

Returns
True indicates enabled. False not.

◆ setScreenCaptureMode:

- (ZMVideoSDKErrors) setScreenCaptureMode: (ZMVideoSDKScreenCaptureMode) captureMode

Set screen capture mode.

Parameters
captureModeThe mode to be set.
Returns
If the function succeeds, it will return ZMVideoSDKErrors_Success, otherwise not.