Package io.scanbot.sdk.ui.view.check
Interface ICheckRecognizerView.ViewModel
-
- All Implemented Interfaces:
public interface ICheckRecognizerView.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 recognition. abstract UnitonCancelClicked()User wants to cancel snapping. abstract UnitonFlashClicked()User wants to change flash mode. abstract UnitonSnapping()On snapping after check found successfully abstract UnitonCheckRecognized(FrameHandlerResult<CheckRecognizerResult, SdkLicenseError> result)On result frames comes from detector abstract UnitonCheckSnapped(ByteArray image, CaptureInfo captureInfo)On Check snapped abstract CheckRecognizergetCheckRecognizer()abstract ContourDetectorgetContourDetector()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 recognition.
-
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
-
onCheckRecognized
abstract Unit onCheckRecognized(FrameHandlerResult<CheckRecognizerResult, SdkLicenseError> result)
On result frames comes from detector
-
onCheckSnapped
abstract Unit onCheckSnapped(ByteArray image, CaptureInfo captureInfo)
On Check snapped
-
getCheckRecognizer
abstract CheckRecognizer getCheckRecognizer()
-
getContourDetector
abstract ContourDetector getContourDetector()
-
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()
-
-
-
-