onImageCaptured

open override fun onImageCaptured(jpegImageBytes: ByteArray)

Called on the main thread when the capture has completed.

Parameters

jpegImageBytes

an array containing the JPEG image bytes. The JPEG image can have an exif orientation.


Called on the main thread after the JPEG has been written to outputFile.


open fun onImageCaptured(imageOrientation: RotationAngle)

Deprecated

Use onImageCaptured() instead.

Called on the main thread after the JPEG has been written to outputFile.