Unhide MediaRecorder::setTimeLapseParameters()

This function is used to enable time lapse video capture
and set the related parameters.

Change-Id: Ib6c4c107a92942d8e8fcce935d2c8542f8006cfb
This commit is contained in:
Nipun Kwatra
2010-08-04 10:13:21 -07:00
parent 13f5b25c62
commit bf3699a558
2 changed files with 21 additions and 1 deletions

View File

@@ -95447,6 +95447,25 @@
<parameter name="profile" type="android.media.CamcorderProfile">
</parameter>
</method>
<method name="setTimeLapseParameters"
return="void"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="not deprecated"
visibility="public"
>
<parameter name="enableTimeLapse" type="boolean">
</parameter>
<parameter name="useStillCameraForTimeLapse" type="boolean">
</parameter>
<parameter name="timeBetweenTimeLapseFrameCaptureMs" type="int">
</parameter>
<parameter name="encoderLevel" type="int">
</parameter>
</method>
<method name="setVideoEncoder"
return="void"
abstract="false"

View File

@@ -283,9 +283,10 @@ public class MediaRecorder
* be called after setProfile().
*
* @param enableTimeLapse Pass true to enable time lapse capture, false to disable it.
* @param useStillCameraForTimeLapse Pass true to use still camera for capturing time lapse
* frames, false to use the video camera.
* @param timeBetweenTimeLapseFrameCaptureMs time between two captures of time lapse frames.
* @param encoderLevel the video encoder level.
* @hide
*/
public void setTimeLapseParameters(boolean enableTimeLapse,
boolean useStillCameraForTimeLapse,