Class DocumentCameraViewModel
-
- All Implemented Interfaces:
public final class DocumentCameraViewModel extends ScanbotComposeCameraViewModel
-
-
Field Summary
Fields Modifier and Type Field Description private final <Error class: unknown class>
introDialogButtonEnabled
private final <Error class: unknown class><FrameHandler.Frame>
frameSizeFlow
private final <Error class: unknown class><ScanningState>
uiSteps
private final <Error class: unknown class><Integer>
pagesCount
private final <Error class: unknown class><Uri>
lastPreviewUriToDisplay
private final <Error class: unknown class><ContourDetectorFrameHandler.DetectedFrame>
detectionResultFlow
private final <Error class: unknown class><PreviewBitmap>
snapPreviewBitmap
private final <Error class: unknown class>
showProgress
private final <Error class: unknown class><Boolean>
autoSnappingEnabled
private final <Error class: unknown class><Boolean>
drawPolygon
private final <Error class: unknown class><Boolean>
showPagePreviewCounter
private final CameraScreenConfiguration
config
private final DocumentFlowAppearanceConfiguration
appearance
private final ContourDetectorFrameHandler
frameHandler
private final ContourDetector
contourDetector
-
Constructor Summary
Constructors Constructor Description DocumentCameraViewModel(CameraScreenConfiguration config, DocumentFlowAppearanceConfiguration appearance, ParametricFilter defaultFilter, AcknowledgementMode acknowledgmentMode, ContentResolver contentResolver, IDocumentCameraSession cameraSession, ContourDetectorFrameHandler frameHandler, ContourDetector contourDetector, DocumentQualityAnalyzer documentQualityAnalyzer, Boolean flashAvailable, CoroutineContext ioDispatcher, CoroutineContext backgroundDispatcher, SoundController soundController, Bundle arguments)
-
Method Summary
-
-
Constructor Detail
-
DocumentCameraViewModel
DocumentCameraViewModel(CameraScreenConfiguration config, DocumentFlowAppearanceConfiguration appearance, ParametricFilter defaultFilter, AcknowledgementMode acknowledgmentMode, ContentResolver contentResolver, IDocumentCameraSession cameraSession, ContourDetectorFrameHandler frameHandler, ContourDetector contourDetector, DocumentQualityAnalyzer documentQualityAnalyzer, Boolean flashAvailable, CoroutineContext ioDispatcher, CoroutineContext backgroundDispatcher, SoundController soundController, Bundle arguments)
-
-
Method Detail
-
getIntroDialogButtonEnabled
final <Error class: unknown class> getIntroDialogButtonEnabled()
-
getFrameSizeFlow
final <Error class: unknown class><FrameHandler.Frame> getFrameSizeFlow()
-
getUiSteps
final <Error class: unknown class><ScanningState> getUiSteps()
-
getPagesCount
final <Error class: unknown class><Integer> getPagesCount()
-
getLastPreviewUriToDisplay
final <Error class: unknown class><Uri> getLastPreviewUriToDisplay()
-
getDetectionResultFlow
final <Error class: unknown class><ContourDetectorFrameHandler.DetectedFrame> getDetectionResultFlow()
-
getSnapPreviewBitmap
final <Error class: unknown class><PreviewBitmap> getSnapPreviewBitmap()
-
getShowProgress
final <Error class: unknown class> getShowProgress()
-
getAutoSnappingEnabled
final <Error class: unknown class><Boolean> getAutoSnappingEnabled()
-
getDrawPolygon
final <Error class: unknown class><Boolean> getDrawPolygon()
-
getShowPagePreviewCounter
final <Error class: unknown class><Boolean> getShowPagePreviewCounter()
-
getConfig
final CameraScreenConfiguration getConfig()
-
getAppearance
final DocumentFlowAppearanceConfiguration getAppearance()
-
getFrameHandler
final ContourDetectorFrameHandler getFrameHandler()
-
getContourDetector
final ContourDetector getContourDetector()
-
registerFrameHandlers
final Unit registerFrameHandlers(ScanbotCameraXView camera)
-
onPictureTaken
final Unit onPictureTaken(ByteArray image, CaptureInfo data)
-
onResultShown
final Unit onResultShown()
-
toggleSnap
Unit toggleSnap()
-
onImportClicked
final Unit onImportClicked()
-
onPermissionDeny
final Unit onPermissionDeny()
-
onSnapModeClicked
final Unit onSnapModeClicked()
-
onAutoSnappingTriggered
final Unit onAutoSnappingTriggered()
-
onSnapClicked
final Unit onSnapClicked()
-
onTorchClicked
final Unit onTorchClicked()
-
onPagesPreviewClicked
final Unit onPagesPreviewClicked()
-
onIntroIconClicked
final Unit onIntroIconClicked()
-
-
-
-