Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf3699a5 authored by Nipun Kwatra's avatar Nipun Kwatra
Browse files

Unhide MediaRecorder::setTimeLapseParameters()

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

Change-Id: Ib6c4c107a92942d8e8fcce935d2c8542f8006cfb
parent 13f5b25c
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -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"
+2 −1
Original line number Diff line number Diff line
@@ -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,