All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.hardware.Camera Maven / Gradle / Ivy

package android.hardware;
public class Camera
{
public static interface PreviewCallback
{
public abstract  void onPreviewFrame(byte[] data, android.hardware.Camera camera);
}
public static interface AutoFocusCallback
{
public abstract  void onAutoFocus(boolean success, android.hardware.Camera camera);
}
public static interface ShutterCallback
{
public abstract  void onShutter();
}
public static interface PictureCallback
{
public abstract  void onPictureTaken(byte[] data, android.hardware.Camera camera);
}
public static interface ErrorCallback
{
public abstract  void onError(int error, android.hardware.Camera camera);
}
public class Size
{
public  Size(int w, int h) { throw new RuntimeException("Stub!"); }
public int width;
public int height;
}
public class Parameters
{
Parameters() { throw new RuntimeException("Stub!"); }
public  java.lang.String flatten() { throw new RuntimeException("Stub!"); }
public  void unflatten(java.lang.String flattened) { throw new RuntimeException("Stub!"); }
public  void remove(java.lang.String key) { throw new RuntimeException("Stub!"); }
public  void set(java.lang.String key, java.lang.String value) { throw new RuntimeException("Stub!"); }
public  void set(java.lang.String key, int value) { throw new RuntimeException("Stub!"); }
public  java.lang.String get(java.lang.String key) { throw new RuntimeException("Stub!"); }
public  int getInt(java.lang.String key) { throw new RuntimeException("Stub!"); }
public  void setPreviewSize(int width, int height) { throw new RuntimeException("Stub!"); }
public  android.hardware.Camera.Size getPreviewSize() { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedPreviewSizes() { throw new RuntimeException("Stub!"); }
public  void setJpegThumbnailSize(int width, int height) { throw new RuntimeException("Stub!"); }
public  android.hardware.Camera.Size getJpegThumbnailSize() { throw new RuntimeException("Stub!"); }
public  void setJpegThumbnailQuality(int quality) { throw new RuntimeException("Stub!"); }
public  int getJpegThumbnailQuality() { throw new RuntimeException("Stub!"); }
public  void setJpegQuality(int quality) { throw new RuntimeException("Stub!"); }
public  int getJpegQuality() { throw new RuntimeException("Stub!"); }
public  void setPreviewFrameRate(int fps) { throw new RuntimeException("Stub!"); }
public  int getPreviewFrameRate() { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedPreviewFrameRates() { throw new RuntimeException("Stub!"); }
public  void setPreviewFormat(int pixel_format) { throw new RuntimeException("Stub!"); }
public  int getPreviewFormat() { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedPreviewFormats() { throw new RuntimeException("Stub!"); }
public  void setPictureSize(int width, int height) { throw new RuntimeException("Stub!"); }
public  android.hardware.Camera.Size getPictureSize() { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedPictureSizes() { throw new RuntimeException("Stub!"); }
public  void setPictureFormat(int pixel_format) { throw new RuntimeException("Stub!"); }
public  int getPictureFormat() { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedPictureFormats() { throw new RuntimeException("Stub!"); }
public  void setRotation(int rotation) { throw new RuntimeException("Stub!"); }
public  void setGpsLatitude(double latitude) { throw new RuntimeException("Stub!"); }
public  void setGpsLongitude(double longitude) { throw new RuntimeException("Stub!"); }
public  void setGpsAltitude(double altitude) { throw new RuntimeException("Stub!"); }
public  void setGpsTimestamp(long timestamp) { throw new RuntimeException("Stub!"); }
public  void removeGpsData() { throw new RuntimeException("Stub!"); }
public  java.lang.String getWhiteBalance() { throw new RuntimeException("Stub!"); }
public  void setWhiteBalance(java.lang.String value) { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedWhiteBalance() { throw new RuntimeException("Stub!"); }
public  java.lang.String getColorEffect() { throw new RuntimeException("Stub!"); }
public  void setColorEffect(java.lang.String value) { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedColorEffects() { throw new RuntimeException("Stub!"); }
public  java.lang.String getAntibanding() { throw new RuntimeException("Stub!"); }
public  void setAntibanding(java.lang.String antibanding) { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedAntibanding() { throw new RuntimeException("Stub!"); }
public  java.lang.String getSceneMode() { throw new RuntimeException("Stub!"); }
public  void setSceneMode(java.lang.String value) { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedSceneModes() { throw new RuntimeException("Stub!"); }
public  java.lang.String getFlashMode() { throw new RuntimeException("Stub!"); }
public  void setFlashMode(java.lang.String value) { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedFlashModes() { throw new RuntimeException("Stub!"); }
public  java.lang.String getFocusMode() { throw new RuntimeException("Stub!"); }
public  void setFocusMode(java.lang.String value) { throw new RuntimeException("Stub!"); }
public  java.util.List getSupportedFocusModes() { throw new RuntimeException("Stub!"); }
public static final java.lang.String WHITE_BALANCE_AUTO = "auto";
public static final java.lang.String WHITE_BALANCE_INCANDESCENT = "incandescent";
public static final java.lang.String WHITE_BALANCE_FLUORESCENT = "fluorescent";
public static final java.lang.String WHITE_BALANCE_WARM_FLUORESCENT = "warm-fluorescent";
public static final java.lang.String WHITE_BALANCE_DAYLIGHT = "daylight";
public static final java.lang.String WHITE_BALANCE_CLOUDY_DAYLIGHT = "cloudy-daylight";
public static final java.lang.String WHITE_BALANCE_TWILIGHT = "twilight";
public static final java.lang.String WHITE_BALANCE_SHADE = "shade";
public static final java.lang.String EFFECT_NONE = "none";
public static final java.lang.String EFFECT_MONO = "mono";
public static final java.lang.String EFFECT_NEGATIVE = "negative";
public static final java.lang.String EFFECT_SOLARIZE = "solarize";
public static final java.lang.String EFFECT_SEPIA = "sepia";
public static final java.lang.String EFFECT_POSTERIZE = "posterize";
public static final java.lang.String EFFECT_WHITEBOARD = "whiteboard";
public static final java.lang.String EFFECT_BLACKBOARD = "blackboard";
public static final java.lang.String EFFECT_AQUA = "aqua";
public static final java.lang.String ANTIBANDING_AUTO = "auto";
public static final java.lang.String ANTIBANDING_50HZ = "50hz";
public static final java.lang.String ANTIBANDING_60HZ = "60hz";
public static final java.lang.String ANTIBANDING_OFF = "off";
public static final java.lang.String FLASH_MODE_OFF = "off";
public static final java.lang.String FLASH_MODE_AUTO = "auto";
public static final java.lang.String FLASH_MODE_ON = "on";
public static final java.lang.String FLASH_MODE_RED_EYE = "red-eye";
public static final java.lang.String FLASH_MODE_TORCH = "torch";
public static final java.lang.String SCENE_MODE_AUTO = "auto";
public static final java.lang.String SCENE_MODE_ACTION = "action";
public static final java.lang.String SCENE_MODE_PORTRAIT = "portrait";
public static final java.lang.String SCENE_MODE_LANDSCAPE = "landscape";
public static final java.lang.String SCENE_MODE_NIGHT = "night";
public static final java.lang.String SCENE_MODE_NIGHT_PORTRAIT = "night-portrait";
public static final java.lang.String SCENE_MODE_THEATRE = "theatre";
public static final java.lang.String SCENE_MODE_BEACH = "beach";
public static final java.lang.String SCENE_MODE_SNOW = "snow";
public static final java.lang.String SCENE_MODE_SUNSET = "sunset";
public static final java.lang.String SCENE_MODE_STEADYPHOTO = "steadyphoto";
public static final java.lang.String SCENE_MODE_FIREWORKS = "fireworks";
public static final java.lang.String SCENE_MODE_SPORTS = "sports";
public static final java.lang.String SCENE_MODE_PARTY = "party";
public static final java.lang.String SCENE_MODE_CANDLELIGHT = "candlelight";
public static final java.lang.String FOCUS_MODE_AUTO = "auto";
public static final java.lang.String FOCUS_MODE_INFINITY = "infinity";
public static final java.lang.String FOCUS_MODE_MACRO = "macro";
public static final java.lang.String FOCUS_MODE_FIXED = "fixed";
}
Camera() { throw new RuntimeException("Stub!"); }
public static  android.hardware.Camera open() { throw new RuntimeException("Stub!"); }
protected  void finalize() { throw new RuntimeException("Stub!"); }
public final  void release() { throw new RuntimeException("Stub!"); }
public final native  void lock();
public final native  void unlock();
public final  void setPreviewDisplay(android.view.SurfaceHolder holder) throws java.io.IOException { throw new RuntimeException("Stub!"); }
public final native  void startPreview();
public final native  void stopPreview();
public final  void setPreviewCallback(android.hardware.Camera.PreviewCallback cb) { throw new RuntimeException("Stub!"); }
public final  void setOneShotPreviewCallback(android.hardware.Camera.PreviewCallback cb) { throw new RuntimeException("Stub!"); }
public final  void autoFocus(android.hardware.Camera.AutoFocusCallback cb) { throw new RuntimeException("Stub!"); }
public final  void cancelAutoFocus() { throw new RuntimeException("Stub!"); }
public final  void takePicture(android.hardware.Camera.ShutterCallback shutter, android.hardware.Camera.PictureCallback raw, android.hardware.Camera.PictureCallback jpeg) { throw new RuntimeException("Stub!"); }
public final  void takePicture(android.hardware.Camera.ShutterCallback shutter, android.hardware.Camera.PictureCallback raw, android.hardware.Camera.PictureCallback postview, android.hardware.Camera.PictureCallback jpeg) { throw new RuntimeException("Stub!"); }
public final  void setErrorCallback(android.hardware.Camera.ErrorCallback cb) { throw new RuntimeException("Stub!"); }
public  void setParameters(android.hardware.Camera.Parameters params) { throw new RuntimeException("Stub!"); }
public  android.hardware.Camera.Parameters getParameters() { throw new RuntimeException("Stub!"); }
public static final int CAMERA_ERROR_UNKNOWN = 1;
public static final int CAMERA_ERROR_SERVER_DIED = 100;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy