Package io.scanbot.sdk.ui.view.check
Interface ICheckScannerView.ViewModel
-
- All Implemented Interfaces:
public interface ICheckScannerView.ViewModelStore view state and transport user interactions to it.
-
-
Method Summary
Modifier and Type Method Description abstract UnitsetAcceptedCheckStandards(List<RootDocumentType> acceptedCheckStandards)User wants to set a list of accepted Check standards for the scanning. abstract UnitonCancelClicked()User wants to cancel snapping. abstract UnitonFlashClicked()User wants to change flash mode. abstract UnitonSnapping()On snapping after check found successfully abstract UnitonCheckScanned(FrameHandlerResult<CheckScanningResult, SdkLicenseError> result)On result frames comes from detector abstract UnitonCheckSnapped(ByteArray image, CaptureInfo captureInfo)On Check snapped abstract CheckScannergetCheckScanner()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()
-
-
-
-