CroppingViewModel

class CroppingViewModel(val config: CroppingScreenConfiguration, val scanSession: ICroppingViewModel, val documentScannerWrapper: Result<DocumentScanner>, val documentAnalysisMode: DocumentAnalysisMode, val documentQualityAnalyzerWrapper: Result<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, documentScannerWrapper: Result<DocumentScanner>, documentAnalysisMode: DocumentAnalysisMode, documentQualityAnalyzerWrapper: Result<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><ImageRef?>
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()