@@ -3495,25 +3495,29 @@ public void setRecordingHint(boolean hint) {
34953495 }
34963496
34973497 /**
3498- * Returns true if video snapshot is supported. That is, applications
3498+ * <p> Returns true if video snapshot is supported. That is, applications
34993499 * can call {@link #takePicture(Camera.ShutterCallback,
3500- * Camera.PictureCallback, Camera.PictureCallback, Camera.PictureCallback)}
3501- * during recording. Applications do not need to call {@link
3502- * #startPreview()} after taking a picture. The preview will be still
3503- * active. Other than that, taking a picture during recording is
3504- * identical to taking a picture normally. All settings and methods
3505- * related to takePicture work identically. Ex: {@link
3506- * #getPictureSize()}, {@link #getSupportedPictureSizes()}, {@link
3507- * #setJpegQuality(int)}, {@link #setRotation(int)}, and etc. The
3508- * picture will have an EXIF header. {@link #FLASH_MODE_AUTO} and {@link
3509- * #FLASH_MODE_ON} also still work, but the video will record the flash.
3510- *
3511- * Applications can set shutter callback as null to avoid the shutter
3500+ * Camera.PictureCallback, Camera.PictureCallback,
3501+ * Camera.PictureCallback)} during recording. Applications do not need
3502+ * to call {@link #startPreview()} after taking a picture. The preview
3503+ * will be still active. Other than that, taking a picture during
3504+ * recording is identical to taking a picture normally. All settings and
3505+ * methods related to takePicture work identically. Ex:
3506+ * {@link #getPictureSize()}, {@link #getSupportedPictureSizes()},
3507+ * {@link #setJpegQuality(int)}, {@link #setRotation(int)}, and etc. The
3508+ * picture will have an EXIF header. {@link #FLASH_MODE_AUTO} and
3509+ * {@link #FLASH_MODE_ON} also still work, but the video will record the
3510+ * flash.</p>
3511+ *
3512+ * <p>Applications can set shutter callback as null to avoid the shutter
35123513 * sound. It is also recommended to set raw picture and post view
3513- * callbacks to null to avoid the interrupt of preview display.
3514+ * callbacks to null to avoid the interrupt of preview display.</p>
35143515 *
3515- * Field-of-view of the recorded video may be different from that of the
3516- * captured pictures.
3516+ * <p>Field-of-view of the recorded video may be different from that of the
3517+ * captured pictures. The maximum size of a video snapshot may be
3518+ * smaller than that for regular still captures. If the current picture
3519+ * size is set higher than can be supported by video snapshot, the
3520+ * picture will be captured at the maximum supported size instead.</p>
35173521 *
35183522 * @return true if video snapshot is supported.
35193523 */
0 commit comments