Package io.scanbot.sdk.ui.view.check
Interface ICheckRecognizerView.ViewModel
-
- All Implemented Interfaces:
public interface ICheckRecognizerView.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 recognition. 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
onCheckRecognized(FrameHandlerResult<CheckRecognizerResult, SdkLicenseError> result)
On result frames comes from detector abstract Unit
onCheckSnapped(ByteArray image, CaptureInfo captureInfo)
On Check snapped abstract CheckRecognizer
getCheckRecognizer()
abstract ContourDetector
getContourDetector()
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()
-
-
-
-