FileImageCaptureCallback

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 fun onImageCaptured(jpegImageBytes: Array<Byte>, imageOrientation: RotationAngle)
Called on the main thread when the capture has completed.