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

#include <ZoomSDKSettingService.h>

Inherits NSObject.

Instance Methods

(ZoomSDKSettingTestVideoDeviceHelper *_Nullable) - getSettingVideoTestHelper
 Get the object to video device test helper.
 
(BOOL) - isSupportVirtualBG
 Determine if support virtual background feature.
 
(BOOL) - isSupportVirtualBackgroundVideo
 Determine if meeting supports the video virtual video background feature.
 
(BOOL) - isDeviceSupportSmartVirtualBG
 Determine if the machine can support the smart virtual background feature.
 
(BOOL) - isUsingGreenScreenOn
 Determine if the using green screen option is enabled.
 
(ZoomSDKError- setUsingGreenScreen:
 Enable or disable the using green screen option.
 
(ZoomSDKError- addBGImage:
 Add virtual background image.
 
(ZoomSDKError- addBGVideo:
 Add virtual background video.
 
(ZoomSDKError- removeBGItem:
 Remove virtual background item.
 
(NSArray *_Nullable) - getBGItemList
 Get the array of virtual background video item.
 
(ZoomSDKError- useBGItem:
 Use the specify image as selected virtual background images.
 
(NSColor *_Nullable) - getVBReplaceColor
 Get the selected replace color of virtual background images.
 
(ZoomSDKError- startSelectReplaceVBColor
 Start selected replace color of virtual background images.
 
(BOOL) - isDeviceSupportSmartVirtualBackgroundVideo
 Determine if the machine can support the smart virtual background video feature.
 
(BOOL) - isDeviceSupportGreenVirtualBackgroundVideo
 Determine if the machine can support the green virtual background video feature.
 
(BOOL) - isAllowAddNewVBItem
 Determine if the meeting supports the adding a new virtual background item feature.
 
(BOOL) - isAllowRemoveVBItem
 Determine if the meeting supports the removing a new virtual background item feature.
 
(BOOL) - isVideoFilterEnabled
 Determine if face makeup feature is enabled.
 
(BOOL) - isSupportVideoFilter
 Determine if support face makeup feature.
 
(NSArray *_Nullable) - getVideoFilterItemList
 Get the array of face makeup images.
 
(ZoomSDKError- useVideoFilterItem:
 Use the specify image as selected face makeup images.
 

Protected Attributes

id< ZoomSDKVirtualBackgroundSettingDelegate_delegate
 

Properties

id< ZoomSDKVirtualBackgroundSettingDelegatedelegate
 

Detailed Description

Definition at line 1453 of file ZoomSDKSettingService.h.

Method Documentation

◆ addBGImage:

- (ZoomSDKError) addBGImage: (NSString *) filePath

Add virtual background image.

Parameters
filePathThe file path of the image user want to add.
Returns
If the function succeeds, it will return ZoomSDKError_Success.

◆ addBGVideo:

- (ZoomSDKError) addBGVideo: (NSString *) filePath

Add virtual background video.

Parameters
filePathThe file path of the video user want to add.
Returns
If the function succeeds, it will return ZoomSDKError_Success.

◆ getBGItemList

- (NSArray *_Nullable) getBGItemList

Get the array of virtual background video item.

Returns
If the function succeeds, it will return the NSArray of video item list, otherwise nil.

◆ getSettingVideoTestHelper

- (ZoomSDKSettingTestVideoDeviceHelper *_Nullable) getSettingVideoTestHelper

Get the object to video device test helper.

Returns
If the function succeeds, it will return a ZoomSDKSettingTestVideoDeviceHelper object, otherwise failed, returns nil.

◆ getVBReplaceColor

- (NSColor *_Nullable) getVBReplaceColor

Get the selected replace color of virtual background images.

Returns
If the function succeeds, it will return the color, otherwise nil.

◆ getVideoFilterItemList

- (NSArray *_Nullable) getVideoFilterItemList

Get the array of face makeup images.

Returns
If the function succeeds, it will return the NSArray of image list, otherwise nil.

◆ isAllowAddNewVBItem

- (BOOL) isAllowAddNewVBItem

Determine if the meeting supports the adding a new virtual background item feature.

Returns
YES means is allowed, otherwise not.

◆ isAllowRemoveVBItem

- (BOOL) isAllowRemoveVBItem

Determine if the meeting supports the removing a new virtual background item feature.

Returns
YES means is allowed remove, otherwise not.

◆ isDeviceSupportGreenVirtualBackgroundVideo

- (BOOL) isDeviceSupportGreenVirtualBackgroundVideo

Determine if the machine can support the green virtual background video feature.

Returns
YES means is support, otherwise not.

◆ isDeviceSupportSmartVirtualBackgroundVideo

- (BOOL) isDeviceSupportSmartVirtualBackgroundVideo

Determine if the machine can support the smart virtual background video feature.

Returns
YES means is support, otherwise not.

◆ isDeviceSupportSmartVirtualBG

- (BOOL) isDeviceSupportSmartVirtualBG

Determine if the machine can support the smart virtual background feature.

Returns
YES means is support, otherwise not.

◆ isSupportVideoFilter

- (BOOL) isSupportVideoFilter

Determine if support face makeup feature.

Returns
YES means is support, otherwise not.

◆ isSupportVirtualBackgroundVideo

- (BOOL) isSupportVirtualBackgroundVideo

Determine if meeting supports the video virtual video background feature.

Returns
YES means is support, otherwise not.

◆ isSupportVirtualBG

- (BOOL) isSupportVirtualBG

Determine if support virtual background feature.

Returns
YES means is support, otherwise not.

◆ isUsingGreenScreenOn

- (BOOL) isUsingGreenScreenOn

Determine if the using green screen option is enabled.

Returns
YES means is enabled, otherwise not.

◆ isVideoFilterEnabled

- (BOOL) isVideoFilterEnabled

Determine if face makeup feature is enabled.

Returns
YES means is enabled, otherwise not.

◆ removeBGItem:

- (ZoomSDKError) removeBGItem: (ZoomSDKVirtualBGImageInfo *) virtualBGImageInfo

Remove virtual background item.

Parameters
virtualBGImageInfoThe ZoomSDKVirtualBGImageInfo object user want to remove.
Returns
If the function succeeds, it will return ZoomSDKError_Success, otherwise failed.

◆ setUsingGreenScreen:

- (ZoomSDKError) setUsingGreenScreen: (BOOL) bUse

Enable or disable the using green screen option.

Returns
If the function succeeds, it will return ZoomSDKError_Success.

◆ startSelectReplaceVBColor

- (ZoomSDKError) startSelectReplaceVBColor

Start selected replace color of virtual background images.

Returns
If the function succeeds, it will return the ZoomSDKError_Success, otherwise failed.
Note
The selected replace color will be notified from callback event '- (void)onSelectedVBImageChanged'.

◆ useBGItem:

- (ZoomSDKError) useBGItem: (ZoomSDKVirtualBGImageInfo *) item

Use the specify image as selected virtual background images.

Parameters
itemThe path of the virtualbackground image or video item user want to select.
Returns
If the function succeeds, it will return ZoomSDKError_Success, otherwise failed.

◆ useVideoFilterItem:

- (ZoomSDKError) useVideoFilterItem: (ZoomSDKVideoFilterItemInfo *) imageInfo

Use the specify image as selected face makeup images.

Parameters
imageInfoIt is video filter object.More detail refer to ZoomSDKVideoFilterItemInfo.
Returns
If the function succeeds, it will return ZoomSDKError_Success, otherwise failed.

Field Documentation

◆ _delegate

- (id<ZoomSDKVirtualBackgroundSettingDelegate>) _delegate
protected

Definition at line 1455 of file ZoomSDKSettingService.h.

Property Documentation

◆ delegate

- (id<ZoomSDKVirtualBackgroundSettingDelegate>) delegate
readwritenonatomicassign

Definition at line 1457 of file ZoomSDKSettingService.h.