Detailed Description
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.
Member Function Documentation
QCameraImageCaptureControl::QCameraImageCaptureControl ( QObject * parent = 0 ) [protected]
Constructs a new image capture control object with the given parent
QCameraImageCaptureControl::~QCameraImageCaptureControl ()
Destroys an image capture control.
void QCameraImageCaptureControl::cancelCapture () [pure virtual]
Cancel pending capture requests.
int QCameraImageCaptureControl::capture ( const QString & fileName ) [pure virtual]
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.
QCameraImageCapture::DriveMode QCameraImageCaptureControl::driveMode () const [pure virtual]
Returns the current camera drive mode.
See also setDriveMode().
void QCameraImageCaptureControl::error ( int id, int error, const QString & errorString ) [signal]
Signals the capture request id failed with error code and message errorString.
See also QCameraImageCapture::Error.
void QCameraImageCaptureControl::imageCaptured ( int requestId, const QImage & preview ) [signal]
Signals that an image with it requestId has been captured and a preview is available.
void QCameraImageCaptureControl::imageExposed ( int requestId ) [signal]
Signals that an image with it requestId has just been exposed. This signal can be used for the shutter sound or other indicaton.
void QCameraImageCaptureControl::imageSaved ( int requestId, const QString & fileName ) [signal]
Signals that a captured image with a requestId has been saved to fileName.
bool QCameraImageCaptureControl::isReadyForCapture () const [pure virtual]
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.
void QCameraImageCaptureControl::readyForCaptureChanged ( bool ready ) [signal]
Signals that a capture control's ready state has changed.
void QCameraImageCaptureControl::setDriveMode ( QCameraImageCapture::DriveMode mode ) [pure virtual]
Sets the current camera drive mode.
See also driveMode().