From 83cc994ba40a7227c62a65ccb5addf3a23ff6350 Mon Sep 17 00:00:00 2001 From: Chong Zhang Date: Thu, 2 Jan 2014 12:10:04 -0800 Subject: MediaRecorder: add getSurface() api and SURFACE video source Bug: 12305192 Change-Id: If833c5ac8a738ffa284307e0435b5cbd1b7379b1 --- api/current.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index e6aebd23351d..951e5a8d432e 100644 --- a/api/current.txt +++ b/api/current.txt @@ -13188,6 +13188,7 @@ package android.media { ctor public MediaRecorder(); method public static final int getAudioSourceMax(); method public int getMaxAmplitude() throws java.lang.IllegalStateException; + method public android.view.Surface getSurface(); method public void prepare() throws java.io.IOException, java.lang.IllegalStateException; method public void release(); method public void reset(); @@ -13272,6 +13273,7 @@ package android.media { public final class MediaRecorder.VideoSource { field public static final int CAMERA = 1; // 0x1 field public static final int DEFAULT = 0; // 0x0 + field public static final int SURFACE = 2; // 0x2 } public class MediaRouter { -- cgit v1.2.3-59-g8ed1b