Class FileImageCaptureCallback

    • Constructor Detail

      • FileImageCaptureCallback

        public FileImageCaptureCallback​(java.io.File outputFile)
    • 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 interface ImageCaptureCallback
        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)