am 40057ce7: Document that stopPreview is not needed before takePicture.

Merge commit '40057ce749c8c4d274db0352a2af4344bda92dba' into eclair-mr2

* commit '40057ce749c8c4d274db0352a2af4344bda92dba':
  Document that stopPreview is not needed before takePicture.
This commit is contained in:
Wu-cheng Li
2009-12-03 00:16:35 -08:00
committed by Android Git Automerger

View File

@@ -477,6 +477,10 @@ public class Camera {
* application does not need a particular callback, a null can be passed
* instead of a callback method.
*
* This method will stop the preview. Applications should not call {@link
* #stopPreview()} before this. After jpeg callback is received,
* applications can call {@link #startPreview()} to restart the preview.
*
* @param shutter callback after the image is captured, may be null
* @param raw callback with raw image data, may be null
* @param jpeg callback with jpeg image data, may be null
@@ -500,6 +504,10 @@ public class Camera {
* application does not need a particular callback, a null can be passed
* instead of a callback method.
*
* This method will stop the preview. Applications should not call {@link
* #stopPreview()} before this. After jpeg callback is received,
* applications can call {@link #startPreview()} to restart the preview.
*
* @param shutter callback after the image is captured, may be null
* @param raw callback with raw image data, may be null
* @param postview callback with postview image data, may be null