summaryrefslogtreecommitdiffstats
path: root/src/multimedia/controls/qcameraimagecapturecontrol.cpp
diff options
context:
space:
mode:
authorDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2012-03-12 13:27:42 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-12 07:36:06 +0100
commita15b9d3ce88037c973f868fdf6959eea4e157f68 (patch)
treeea55ab6234609d50d05eaa1deb74d82c64e6c30d /src/multimedia/controls/qcameraimagecapturecontrol.cpp
parent2b73f92a7ff0068ebb9453f5fdb09305a2561799 (diff)
QCamera capture documentation fixes
Added documentation for camera capture queue behavior. Change-Id: I4989f94c5de0edb3ac99135dcb3e11d76195a880 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/multimedia/controls/qcameraimagecapturecontrol.cpp')
-rw-r--r--src/multimedia/controls/qcameraimagecapturecontrol.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/multimedia/controls/qcameraimagecapturecontrol.cpp b/src/multimedia/controls/qcameraimagecapturecontrol.cpp
index 3609479fa..5a731682d 100644
--- a/src/multimedia/controls/qcameraimagecapturecontrol.cpp
+++ b/src/multimedia/controls/qcameraimagecapturecontrol.cpp
@@ -95,6 +95,12 @@ QCameraImageCaptureControl::~QCameraImageCaptureControl()
hardware initialized, flash is charged, etc).
Returns true if the camera is ready for capture; and false if it is not.
+
+ It's permissible to call capture() while the camera status is QCamera::ActiveStatus
+ regardless of isReadyForCapture property value.
+ If camera is not ready to capture image immediately,
+ the capture request is queued with all the related camera settings
+ to be executed as soon as possible.
*/
/*!
@@ -111,6 +117,11 @@ QCameraImageCaptureControl::~QCameraImageCaptureControl()
in this case the service should use the system specific place
and file naming scheme.
+ The Camera service should save all the capture parameters
+ like exposure settings or image processing parameters,
+ so changes to camera paramaters after capture() is called
+ do not affect previous capture requests.
+
Returns the capture request id number, which is used later
with imageExposed(), imageCaptured() and imageSaved() signals.
*/