The QCameraImageCaptureControl class provides a control interface for image capture services. More...
#include <QCameraImageCaptureControl>
This class is under development and is subject to change.
Inherits QMediaControl.
~QCameraImageCaptureControl () | |
virtual void | cancelCapture () = 0 |
virtual int | capture ( const QString & fileName ) = 0 |
virtual QCameraImageCapture::DriveMode | driveMode () const = 0 |
virtual bool | isReadyForCapture () const = 0 |
virtual void | setDriveMode ( QCameraImageCapture::DriveMode mode ) = 0 |
void | error ( int id, int error, const QString & errorString ) |
void | imageCaptured ( int requestId, const QImage & preview ) |
void | imageExposed ( int requestId ) |
void | imageSaved ( int requestId, const QString & fileName ) |
void | readyForCaptureChanged ( bool ready ) |
QCameraImageCaptureControl ( QObject * parent = 0 ) |
QCameraImageCaptureControl_iid |
The QCameraImageCaptureControl class provides a control interface for image capture services.
The interface name of QCameraImageCaptureControl is com.nokia.Qt.QCameraImageCaptureControl/1.0 as defined in QCameraImageCaptureControl_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 QMediaService::requestControl().
Constructs a new image capture control object with the given parent
Destroys an image capture control.
Cancel pending capture requests.
Initiates the capture of an image to fileName. The fileName can be relative or empty, in this case the service should use the system specific place and file naming scheme.
Returns the capture request id number, which is used later with imageExposed(), imageCaptured() and imageSaved() signals.
Returns the current camera drive mode.
See also setDriveMode().
Signals the capture request id failed with error code and message errorString.
See also QCameraImageCapture::Error.
Signals that an image with it requestId has been captured and a preview is available.
Signals that an image with it requestId has just been exposed. This signal can be used for the shutter sound or other indicaton.
Signals that a captured image with a requestId has been saved to fileName.
Identifies if a capture control is ready to perform a capture immediately (all the resources necessary for image capture are allocated, hardware initialized, flash is charged, etc).
Returns true if the camera is ready for capture; and false if it is not.
Signals that a capture control's ready state has changed.
Sets the current camera drive mode.
See also driveMode().
com.nokia.Qt.QCameraImageCaptureControl/1.0
Defines the interface name of the QCameraImageCaptureControl class.