Video device test interface.
More...
#include <setting_service_interface.h>
Video device test interface.
◆ SetEvent()
Video device test callback event handler.
- Parameters
-
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetVideoPreviewParentWnd()
virtual SDKError ITestVideoDeviceHelper::SetVideoPreviewParentWnd |
( |
HWND |
hParentWnd, |
|
|
RECT |
rc = _SDK_TEST_VIDEO_INIT_RECT |
|
) |
| |
|
pure virtual |
Set the window and the rectangle to display the video preview.
- Parameters
-
hParentWnd | Specify the window to display the video preview. |
rc | Specify a rectangle on the window to display the video preview. The default value is {0,0,0,0}, which means the whole client area of the window. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ TestVideoRotate()
Rotate the video preview.
- Parameters
-
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ TestVideoStartPreview()
virtual SDKError ITestVideoDeviceHelper::TestVideoStartPreview |
( |
const wchar_t * |
deviceID = NULL | ) |
|
|
pure virtual |
Start to test the camera.
- Parameters
-
deviceID | Specify a camera device to test. If the param is a wrong camera ID, SDK returns an error. Otherwise SDK tests the specified device and sets it to be the selected one. The SDK will test the default device if no parameter is input. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ TestVideoStopPreview()
virtual SDKError ITestVideoDeviceHelper::TestVideoStopPreview |
( |
| ) |
|
|
pure virtual |
Stop testing the camera.
- 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: