Package com.geniusscansdk.camera
Class FileImageCaptureCallback
- java.lang.Object
-
- com.geniusscansdk.camera.FileImageCaptureCallback
-
- All Implemented Interfaces:
ImageCaptureCallback
public abstract class FileImageCaptureCallback extends java.lang.Object implements ImageCaptureCallback
-
-
Constructor Summary
Constructors Constructor Description FileImageCaptureCallback(java.io.File outputFile)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
onImageCaptured(byte[] jpegImageBytes, RotationAngle imageOrientation)
Method called when the capture has completedabstract void
onImageCaptured(RotationAngle imageOrientation)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.geniusscansdk.camera.ImageCaptureCallback
onError
-
-
-
-
Method Detail
-
onImageCaptured
public void onImageCaptured(byte[] jpegImageBytes, RotationAngle imageOrientation)
Description copied from interface:ImageCaptureCallback
Method called when the capture has completed- Specified by:
onImageCaptured
in interfaceImageCaptureCallback
- Parameters:
jpegImageBytes
- an array containing the JPEG image bytes. The JPEG image can have an exif orientation.imageOrientation
- the rotation that needs to be applied to the image to make it up-oriented. This angle needs to be applied in addition to the exif orientation.
-
onImageCaptured
public abstract void onImageCaptured(RotationAngle imageOrientation)
-
-