The QCameraFlashControl class supplies a camera flash control. More...
#include <QCameraFlashControl>
Inherits QMediaControl.
~QCameraFlashControl () | |
virtual QCameraExposure::FlashModes | flashMode () const = 0 |
virtual bool | isFlashModeSupported ( QCameraExposure::FlashModes mode ) const = 0 |
virtual bool | isFlashReady () const = 0 |
virtual void | setFlashMode ( QCameraExposure::FlashModes mode ) = 0 |
void | flashReady ( bool ready ) |
QCameraFlashControl ( QObject * parent = 0 ) |
QCameraFlashControl_iid |
The QCameraFlashControl class supplies a camera flash control.
The interface name of QCameraFlashControl is com.nokia.Qt.QCameraFlashControl/1.0 as defined in QCameraFlashControl_iid.
See also QCamera.
Constructs a camera flash control object with parent.
Destruct the camera control object.
Returns the current flash mode.
See also setFlashMode().
Signal emitted when flash state changes to ready.
Return true if reqested flash mode is supported. Some QCameraExposure::FlashMode values can be combined, for example QCameraExposure::FlashManual | QCameraExposure::FlashSlowSyncRearCurtain
Returns true if flash is charged.
Set the current flash mode.
Usually the single QCameraExposure::FlashMode flag is used, but some non conflicting flags combination are also allowed, like QCameraExposure::FlashManual | QCameraExposure::FlashSlowSyncRearCurtain.
See also flashMode().
com.nokia.Qt.QCameraFlashControl/1.0
Defines the interface name of the QCameraFlashControl class.