QCameraFlashControl Class
The QCameraFlashControl class allows controlling a camera's flash. More...
| Header: | #include <QCameraFlashControl> |
| 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.
Macros
Detailed Description
You can set the type of flash effect used when an image is captured, and test to see if the flash hardware is ready to fire.
You can retrieve this control from the camera object in the usual way:
Some camera devices may not have flash hardware, or may not be configurable. In that case, there will be no QCameraFlashControl available.
The interface name of QCameraFlashControl is org.qt-project.qt.cameraflashcontrol/5.0 as defined in QCameraFlashControl_iid.
See also QCamera.
Macro Documentation
QCameraFlashControl_iid
org.qt-project.qt.cameraflashcontrol/5.0
Defines the interface name of the QCameraFlashControl class.