ImageCaptureModel

data class ImageCaptureModel(val image: Image, val metadata: CaptureResult, val orientation: Int?, val format: Int) : Closeable

The captured image and supporting information.

Parameters

Constructors

Link copied to clipboard
fun ImageCaptureModel(image: Image, metadata: CaptureResult, orientation: Int?, format: Int)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun getBitmap(context: Context, correctOrientation: Boolean, opts: BitmapFactory.Options? = null): Bitmap?

Transforms the image to a bitmap.

Properties

Link copied to clipboard
val format: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard