diff options
Diffstat (limited to 'src/com/android/camera/one/OneCamera.java')
-rw-r--r-- | src/com/android/camera/one/OneCamera.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/com/android/camera/one/OneCamera.java b/src/com/android/camera/one/OneCamera.java index 593dea4cd..743be3726 100644 --- a/src/com/android/camera/one/OneCamera.java +++ b/src/com/android/camera/one/OneCamera.java @@ -17,7 +17,6 @@ package com.android.camera.one; import android.content.Context; -import android.graphics.Bitmap; import android.location.Location; import android.net.Uri; import android.view.Surface; @@ -159,7 +158,7 @@ public interface OneCamera { * Called when a thumbnail image is provided before the final image is * finished. */ - public void onThumbnailResult(Bitmap bitmap); + public void onThumbnailResult(byte[] jpegData); /** * Called when the final picture is done taking @@ -240,6 +239,10 @@ public interface OneCamera { public Flash flashMode = Flash.AUTO; /** The location of this capture. */ public Location location = null; + /** Zoom value. */ + public float zoom = 1f; + /** Timer duration in seconds or null for no timer. */ + public Float timerSeconds = null; /** Set this to provide a debug folder for this capture. */ public File debugDataFolder; |