The QCameraImageCaptureControl class provides a control interface for image capture services. More...
#include <QCameraImageCaptureControl>
Inherits: QMediaControl.
This class was introduced in Qt Mobility 1.1.
~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 | imageAvailable ( int requestId, const QVideoFrame & buffer ) |
void | imageCaptured ( int requestId, const QImage & preview ) |
void | imageExposed ( int requestId ) |
void | imageMetadataAvailable ( int id, QtMultimediaKit::MetaData key, const QVariant & value ) |
void | imageMetadataAvailable ( int id, const QString & key, const QVariant & value ) |
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.
See also QMediaService::requestControl().
Constructs a new image capture control object with the given parent
Destroys an image capture control.
Cancel pending capture requests.
This function was introduced in Qt Mobility 1.1.
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.
This function was introduced in Qt Mobility 1.1.
Returns the current camera drive mode.
This function was introduced in Qt Mobility 1.1.
See also setDriveMode().
Signals the capture request id failed with error code and message errorString.
This function was introduced in Qt Mobility 1.1.
See also QCameraImageCapture::Error.
Signals that a captured buffer with a requestId is available.
This function was introduced in Qt Mobility 1.2.
Signals that an image with it requestId has been captured and a preview is available.
This function was introduced in Qt Mobility 1.1.
Signals that an image with it requestId has just been exposed. This signal can be used for the shutter sound or other indicaton.
This function was introduced in Qt Mobility 1.1.
Signals that a metadata for an image with request id is available. This signal is emitted for metadata value with a key listed in QtMultimediaKit::MetaData enum.
This signal should be emitted between imageExposed and imageSaved signals.
This function was introduced in Qt Mobility 1.2.
Signals that a metadata for an image with request id is available. This signal is emitted for extended metadata value with a key not listed in QtMultimediaKit::MetaData enum.
This signal should be emitted between imageExposed and imageSaved signals.
This function was introduced in Qt Mobility 1.2.
Signals that a captured image with a requestId has been saved to fileName.
This function was introduced in Qt Mobility 1.1.
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.
This function was introduced in Qt Mobility 1.1.
Signals that a capture control's ready state has changed.
This function was introduced in Qt Mobility 1.1.
Sets the current camera drive mode.
This function was introduced in Qt Mobility 1.1.
See also driveMode().
com.nokia.Qt.QCameraImageCaptureControl/1.0
Defines the interface name of the QCameraImageCaptureControl class.