Package io.scanbot.sdk.ui.view.check
Interface ICheckScannerView.ViewModel
-
- All Implemented Interfaces:
public interface ICheckScannerView.ViewModel
Store view state and transport user interactions to it.
-
-
Method Summary
Modifier and Type Method Description abstract Unit
setAcceptedCheckStandards(List<RootDocumentType> acceptedCheckStandards)
User wants to set a list of accepted Check standards for the scanning. abstract Unit
onCancelClicked()
User wants to cancel snapping. abstract Unit
onFlashClicked()
User wants to change flash mode. abstract Unit
onSnapping()
On snapping after check found successfully abstract Unit
onCheckScanned(FrameHandlerResult<CheckScanningResult, SdkLicenseError> result)
On result frames comes from detector abstract Unit
onCheckSnapped(ByteArray image, CaptureInfo captureInfo)
On Check snapped abstract CheckScanner
getCheckScanner()
abstract <Error class: unknown class><Boolean>
getCameraOpened()
abstract <Error class: unknown class><String>
getHint()
abstract <Error class: unknown class><Boolean>
getFlash()
abstract <Error class: unknown class><Boolean>
getShouldProcessFrames()
abstract <Error class: unknown class><Boolean>
getPictureProcessing()
abstract <Error class: unknown class><Boolean>
getCaptureHighResolutionImage()
-
-
Method Detail
-
setAcceptedCheckStandards
abstract Unit setAcceptedCheckStandards(List<RootDocumentType> acceptedCheckStandards)
User wants to set a list of accepted Check standards for the scanning.
-
onCancelClicked
abstract Unit onCancelClicked()
User wants to cancel snapping.
-
onFlashClicked
abstract Unit onFlashClicked()
User wants to change flash mode.
-
onSnapping
abstract Unit onSnapping()
On snapping after check found successfully
-
onCheckScanned
abstract Unit onCheckScanned(FrameHandlerResult<CheckScanningResult, SdkLicenseError> result)
On result frames comes from detector
-
onCheckSnapped
abstract Unit onCheckSnapped(ByteArray image, CaptureInfo captureInfo)
On Check snapped
-
getCheckScanner
abstract CheckScanner getCheckScanner()
-
getCameraOpened
abstract <Error class: unknown class><Boolean> getCameraOpened()
-
getShouldProcessFrames
abstract <Error class: unknown class><Boolean> getShouldProcessFrames()
-
getPictureProcessing
abstract <Error class: unknown class><Boolean> getPictureProcessing()
-
getCaptureHighResolutionImage
abstract <Error class: unknown class><Boolean> getCaptureHighResolutionImage()
-
-
-
-