QCameraControl Class
The QCameraControl class is an abstract base class for classes that control still cameras or video cameras. More...
| Header: | #include <QCameraControl> |
| qmake: | QT += multimedia |
| Inherits: | QMediaControl |
This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Public Types
| enum | PropertyChangeType { CaptureMode, ImageEncodingSettings, VideoEncodingSettings, Viewfinder, ViewfinderSettings } |
Macros
Detailed Description
This service is provided by a QMediaService object via QMediaService::control(). It is used by QCamera.
The interface name of QCameraControl is org.qt-project.qt.cameracontrol/5.0 as defined in QCameraControl_iid.
See also QMediaService::requestControl() and QCamera.
Member Type Documentation
enum QCameraControl::PropertyChangeType
| Constant | Value | Description |
|---|---|---|
QCameraControl::CaptureMode | 1 | Indicates the capture mode is changed. |
QCameraControl::ImageEncodingSettings | 2 | Image encoder settings are changed, including resolution. |
QCameraControl::VideoEncodingSettings | 3 | Video encoder settings are changed, including audio, video and container settings. |
QCameraControl::Viewfinder | 4 | Viewfinder is changed. |
QCameraControl::ViewfinderSettings | 5 | Viewfinder settings are changed. |
Macro Documentation
QCameraControl_iid
org.qt-project.qt.cameracontrol/5.0
Defines the interface name of the QCameraControl class.