Virtual background setting interface.
More...
#include <setting_service_interface.h>
Virtual background setting interface.
◆ AddBGImage()
virtual SDKError IVirtualBGSettingContext::AddBGImage |
( |
const wchar_t * |
file_path | ) |
|
|
pure virtual |
Add a new image as the virtual background image and to the image list.
- Parameters
-
file_path | Specify the file name of the image. It must be the full path with the file name. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ AddBGVideo()
virtual SDKError IVirtualBGSettingContext::AddBGVideo |
( |
const wchar_t * |
file_path | ) |
|
|
pure virtual |
Add a new video as the virtual background video and to the video list.
- Parameters
-
file_path | Specify the file name of the video. It must be the full path with the file name. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ BeginSelectReplaceVBColor()
virtual SDKError IVirtualBGSettingContext::BeginSelectReplaceVBColor |
( |
| ) |
|
|
pure virtual |
Start to capture a color from video preview.
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ GetBGImageList()
Get the list of the virtual background images.
- Returns
- If there are images in the list, the return value is a list of the poiters to IVirtualBGImageInfo. Otherwise return NULL. To get extended error information, see IVirtualBGImageInfo enum.
◆ GetBGReplaceColor()
virtual DWORD IVirtualBGSettingContext::GetBGReplaceColor |
( |
| ) |
|
|
pure virtual |
◆ GetBGVideoList()
Get the list of the virtual background videoes.
- Returns
- If there are videoes in the list, the return value is a list of the poiters to IVirtualBGImageInfo. Otherwise return NULL. To get extended error information, see IVirtualBGImageInfo enum.
◆ GetTestVideoDeviceHelper()
◆ IsAllowToAddNewVBItem()
virtual bool IVirtualBGSettingContext::IsAllowToAddNewVBItem |
( |
| ) |
|
|
pure virtual |
Determine if the adding new virtual background item feature is supported by the meeting.
- Returns
- TRUE indicates that the meeting supports adding new virtual background item feature.
◆ isAllowToRemoveVBItem()
virtual bool IVirtualBGSettingContext::isAllowToRemoveVBItem |
( |
| ) |
|
|
pure virtual |
Determine if the removing virtual background item feature is supported by the meeting.
- Returns
- TRUE indicates that the meeting supports removing virtual background item feature.
◆ IsSupportSmartVirtualBG()
virtual bool IVirtualBGSettingContext::IsSupportSmartVirtualBG |
( |
| ) |
|
|
pure virtual |
Determine if the smart virtual background feature can be supported by the machine.
- Returns
- TRUE indicates that the machine can supports to use smart virtual background feature.
◆ IsSupportVirtualBG()
virtual bool IVirtualBGSettingContext::IsSupportVirtualBG |
( |
| ) |
|
|
pure virtual |
Determine if the virtual background feature is supported by the meeting.
- Returns
- TRUE indicates that the meeting supports the virtual background feature.
◆ IsUsingGreenScreenOn()
virtual bool IVirtualBGSettingContext::IsUsingGreenScreenOn |
( |
| ) |
|
|
pure virtual |
Determine if the green screen is using for the virtual background feature in the meeting.
- Returns
- TRUE indicates to use the green screen for the virtual background feature.
◆ RemoveBGImage()
Remove an image from the virtual background image list.
- Parameters
-
pRemoveImage | Specify the image to remove. To get extended error information, see IVirtualBGImageInfo enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ RemoveBGVideo()
Remove a video from the virtual background video list.
- Parameters
-
pRemoveVideo | Specify the video to remove. To get extended error information, see IVirtualBGImageInfo enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetUsingGreenScreen()
virtual SDKError IVirtualBGSettingContext::SetUsingGreenScreen |
( |
bool |
bUse | ) |
|
|
pure virtual |
Set to use the green screen for the virtual background feature.
- Parameters
-
bUse | Specify to use the green screen or not.TRUE means using the green screen. FALSE means using smart virtual background feature. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetVirtualBGEvent()
Virtual background callback handler.
- Parameters
-
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ UseBGImage()
Specify an image to be the virtual background image.
- Parameters
-
pImage | Specify the image to use. To get extended error information, see IVirtualBGImageInfo enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ UseBGVideo()
Specify a video to be the virtual background video.
- Parameters
-
pVideo | Specify the video to use. To get extended error information, see IVirtualBGImageInfo enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
The documentation for this class was generated from the following file: