Package 

Class Camera1Engine

  • All Implemented Interfaces:
    android.hardware.Camera.ErrorCallback , android.hardware.Camera.PreviewCallback , com.otaliastudios.cameraview.frame.ByteBufferFrameManager.BufferCallback , com.otaliastudios.cameraview.picture.PictureRecorder.PictureResultListener , com.otaliastudios.cameraview.preview.CameraPreview.SurfaceCallback , com.otaliastudios.cameraview.video.VideoRecorder.VideoResultListener

    
    public class Camera1Engine
    extends CameraBaseEngine implements Camera.PreviewCallback, Camera.ErrorCallback, ByteBufferFrameManager.BufferCallback
                        
    • Method Summary

      Modifier and Type Method Description
      void onError(int error, Camera camera)
      void onVideoResult(@Nullable() VideoResult.Stub result, @Nullable() Exception exception) The operation was completed, either with success or with an error.
      void setFlash(@NonNull() Flash flash)
      void setLocation(@Nullable() Location location)
      void setWhiteBalance(@NonNull() WhiteBalance whiteBalance)
      void setHdr(@NonNull() Hdr hdr)
      void setZoom(float zoom, @Nullable() Array<PointF> points, boolean notify)
      void setExposureCorrection(float EVvalue, @NonNull() Array<float> bounds, @Nullable() Array<PointF> points, boolean notify)
      void setPlaySounds(boolean playSounds)
      void setPreviewFrameRate(float previewFrameRate)
      void setPictureFormat(@NonNull() PictureFormat pictureFormat)
      ByteBufferFrameManager getFrameManager()
      void setHasFrameProcessors(boolean hasFrameProcessors)
      void setFrameProcessingFormat(int format)
      void onBufferAvailable(@NonNull() Array<byte> buffer)
      void onPreviewFrame(Array<byte> data, Camera camera)
      void startAutoFocus(@Nullable() Gesture gesture, @NonNull() MeteringRegions regions, @NonNull() PointF legacyPoint)
      • Methods inherited from class com.otaliastudios.cameraview.engine.CameraBaseEngine

        getAngles, getAudio, getAudioBitRate, getAudioCodec, getAutoFocusResetDelay, getCameraOptions, getExposureCorrectionValue, getFacing, getFlash, getFrameManager, getFrameProcessingFormat, getFrameProcessingMaxHeight, getFrameProcessingMaxWidth, getFrameProcessingPoolSize, getHdr, getLocation, getMode, getOverlay, getPictureFormat, getPictureMetering, getPictureSize, getPictureSizeSelector, getPictureSnapshotMetering, getPreview, getPreviewFrameRate, getPreviewFrameRateExact, getPreviewStreamSize, getPreviewStreamSizeSelector, getSnapshotMaxHeight, getSnapshotMaxWidth, getUncroppedSnapshotSize, getVideoBitRate, getVideoCodec, getVideoMaxDuration, getVideoMaxSize, getVideoSize, getVideoSizeSelector, getWhiteBalance, getZoomValue, hasFrameProcessors, isTakingPicture, isTakingVideo, onPictureResult, onPictureShutter, onSurfaceChanged, onVideoRecordingEnd, onVideoRecordingStart, setAudio, setAudioBitRate, setAudioCodec, setAutoFocusResetDelay, setFacing, setFrameProcessingMaxHeight, setFrameProcessingMaxWidth, setFrameProcessingPoolSize, setMode, setOverlay, setPictureMetering, setPictureSizeSelector, setPictureSnapshotMetering, setPreview, setPreviewFrameRateExact, setPreviewStreamSizeSelector, setSnapshotMaxHeight, setSnapshotMaxWidth, setVideoBitRate, setVideoCodec, setVideoMaxDuration, setVideoMaxSize, setVideoSizeSelector, stopVideo, takePicture, takePictureSnapshot, takeVideo, takeVideoSnapshot
      • Methods inherited from class com.otaliastudios.cameraview.engine.CameraEngine

        destroy, getPictureSize, getState, getTargetState, getVideoSize, isChangingState, onSurfaceAvailable, onSurfaceDestroyed, restart, setExposureCorrection, setZoom, start, startAutoFocus, stop, takePicture, takeVideo, takeVideoSnapshot
      • Methods inherited from class android.hardware.Camera.PreviewCallback

        onPreviewFrame
      • Methods inherited from class android.hardware.Camera.ErrorCallback

        onError
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait