CroppingViewModel

class CroppingViewModel(val config: CroppingScreenConfiguration, val scanSession: ICroppingViewModel, val documentScanner: DocumentScanner, val documentAnalysisMode: DocumentAnalysisMode, val documentQualityAnalyzer: DocumentQualityAnalyzer, val bottomBarBackground: ScanbotColor, val topBarBackground: ScanbotColor, val ioDispatcher: CoroutineContext, val backgroundDispatcher: CoroutineContext, arguments: Bundle)

Constructors

Link copied to clipboard
constructor(config: CroppingScreenConfiguration, scanSession: ICroppingViewModel, documentScanner: DocumentScanner, documentAnalysisMode: DocumentAnalysisMode, documentQualityAnalyzer: DocumentQualityAnalyzer, bottomBarBackground: ScanbotColor, topBarBackground: ScanbotColor, ioDispatcher: CoroutineContext, backgroundDispatcher: CoroutineContext, arguments: Bundle)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val detectEnabled: <Error class: unknown class><Boolean>
Link copied to clipboard
Link copied to clipboard
val imageState: <Error class: unknown class><Bitmap?>
Link copied to clipboard
Link copied to clipboard
val progress: <Error class: unknown class>
Link copied to clipboard
val resetEnabled: <Error class: unknown class><Boolean>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun applyCrop()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun rotate()