Package com.geniusscansdk.camera
Interface ImageCaptureCallback
-
- All Known Implementing Classes:
FileImageCaptureCallback
public interface ImageCaptureCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(java.lang.Exception e)
void
onImageCaptured(byte[] jpegImageBytes, RotationAngle imageOrientation)
Method called when the capture has completed
-
-
-
Method Detail
-
onImageCaptured
void onImageCaptured(byte[] jpegImageBytes, RotationAngle imageOrientation)
Method called when the capture has completed- 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.
-
onError
void onError(java.lang.Exception e)
-
-