The QCameraFlashControl class supplies a camera flash control. More...
#include <QCameraFlashControl>
This class is under development and is subject to change.
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.
The Camera API of Qt Mobility is still in Technology Preview. It has not undergone the same level of review and testing as the rest of the APIs.
The API exposed by the classes in this component are not stable, and will undergo modification or removal prior to the final release of Qt Mobility.
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.