diff options
-rw-r--r-- | api/current.xml | 36 | ||||
-rw-r--r-- | core/java/android/hardware/Camera.java | 3 |
2 files changed, 3 insertions, 36 deletions
diff --git a/api/current.xml b/api/current.xml index 7dd8b73..53ca959 100644 --- a/api/current.xml +++ b/api/current.xml @@ -67548,19 +67548,6 @@ <exception name="IOException" type="java.io.IOException"> </exception> </method> -<method name="setZoomCallback" - return="void" - abstract="false" - native="false" - synchronized="false" - static="false" - final="true" - deprecated="not deprecated" - visibility="public" -> -<parameter name="cb" type="android.hardware.Camera.ZoomCallback"> -</parameter> -</method> <method name="startPreview" return="void" abstract="false" @@ -68941,29 +68928,6 @@ > </field> </class> -<interface name="Camera.ZoomCallback" - abstract="true" - static="true" - final="false" - deprecated="not deprecated" - visibility="public" -> -<method name="onZoomUpdate" - return="void" - abstract="true" - native="false" - synchronized="false" - static="false" - final="false" - deprecated="not deprecated" - visibility="public" -> -<parameter name="zoomLevel" type="int"> -</parameter> -<parameter name="camera" type="android.hardware.Camera"> -</parameter> -</method> -</interface> <class name="GeomagneticField" extends="java.lang.Object" abstract="false" diff --git a/core/java/android/hardware/Camera.java b/core/java/android/hardware/Camera.java index a1da0e4..11c8b6f 100644 --- a/core/java/android/hardware/Camera.java +++ b/core/java/android/hardware/Camera.java @@ -469,6 +469,8 @@ public class Camera { /** * Handles the zoom callback. + * + * @hide */ public interface ZoomCallback { @@ -487,6 +489,7 @@ public class Camera { * Registers a callback to be invoked when the zoom * level is updated by the camera driver. * @param cb the callback to run + * @hide */ public final void setZoomCallback(ZoomCallback cb) { |