QCamera capture documentation fixes

Added documentation for camera capture queue behavior.

Change-Id: I4989f94c5de0edb3ac99135dcb3e11d76195a880
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
Dmytro Poplavskiy
2012-03-12 13:27:42 +10:00
committed by Qt by Nokia
parent 2b73f92a7f
commit a15b9d3ce8
3 changed files with 33 additions and 1 deletions

View File

@@ -124,6 +124,12 @@ QDeclarativeCameraCapture::~QDeclarativeCameraCapture()
\property QDeclarativeCameraCapture::ready
Indicates camera is ready to capture photo.
It's permissible to call capture() while the camera is active
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.
*/
bool QDeclarativeCameraCapture::isReadyForCapture() const
{
@@ -139,6 +145,10 @@ bool QDeclarativeCameraCapture::isReadyForCapture() const
The image will be captured to the default system location.
Camera saves 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.
CameraCapture::capture returns the capture requestId parameter, used with
imageExposed(), imageCaptured(), imageMetadataAvailable() and imageSaved() signals.
*/