FileImageCaptureCallback

abstract class FileImageCaptureCallback(outputFile: File) : ImageCaptureCallback

Convenience callback that persists the captured JPEG to outputFile before onImageCaptured is called.

Constructors

Link copied to clipboard
constructor(outputFile: File)

Functions

Link copied to clipboard
abstract fun onImageCaptured(imageOrientation: RotationAngle)

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

open override fun onImageCaptured(jpegImageBytes: ByteArray, imageOrientation: RotationAngle)

Called on the main thread when the capture has completed.