ImageCaptureModel
data class ImageCaptureModel(val image: Image, val metadata: CaptureResult, val orientation: Int?, val format: Int) : Closeable
The captured image and supporting information.
Parameters
image
the image that was captured.
metadata
metadata including orientation information.
orientation
will be one of ExifInterface.ORIENTATION_UNDEFINED, ExifInterface.ORIENTATION_NORMAL, ExifInterface.ORIENTATION_FLIP_HORIZONTAL, ExifInterface.ORIENTATION_ROTATE_180, ExifInterface.ORIENTATION_FLIP_VERTICAL, ExifInterface.ORIENTATION_TRANSPOSE, ExifInterface.ORIENTATION_ROTATE_90, ExifInterface.ORIENTATION_TRANSVERSE, ExifInterface.ORIENTATION_ROTATE_270.
format