Interface IGenericDocumentCameraView.ViewModel
-
- All Implemented Interfaces:
public interface IGenericDocumentCameraView.ViewModel
Notified about user interactions.
-
-
Method Summary
Modifier and Type Method Description abstract Unit
onActivateCameraPermission()
User wants to activate camera permission abstract Unit
onCancelClicked()
User wants to cancel snapping abstract Unit
onFlashClicked()
User wants to change flash mode abstract Unit
setAcceptedDocumentTypes(List<RootDocumentType> documentTypes)
Accepted document types. abstract Unit
documentScanned(FrameHandlerResult<GenericDocumentRecognitionResult, SdkLicenseError> result)
User have scanned document abstract <Error class: unknown class><Boolean>
getCameraOpened()
abstract <Error class: unknown class><Boolean>
getStopNewFrames()
abstract <Error class: unknown class><Boolean>
getFlash()
abstract <Error class: unknown class><DocumentRecognitionStep>
getScanningStep()
abstract GenericDocumentRecognizer
getScanner()
-
-
Method Detail
-
onActivateCameraPermission
abstract Unit onActivateCameraPermission()
User wants to activate camera permission
-
onCancelClicked
abstract Unit onCancelClicked()
User wants to cancel snapping
-
onFlashClicked
abstract Unit onFlashClicked()
User wants to change flash mode
-
setAcceptedDocumentTypes
abstract Unit setAcceptedDocumentTypes(List<RootDocumentType> documentTypes)
Accepted document types. All other document types will be ignored.
By default - GenericDocumentRecognizer.ACCEPTED_TYPES.
-
documentScanned
abstract Unit documentScanned(FrameHandlerResult<GenericDocumentRecognitionResult, SdkLicenseError> result)
User have scanned document
-
getCameraOpened
abstract <Error class: unknown class><Boolean> getCameraOpened()
-
getStopNewFrames
abstract <Error class: unknown class><Boolean> getStopNewFrames()
-
getScanningStep
abstract <Error class: unknown class><DocumentRecognitionStep> getScanningStep()
-
getScanner
abstract GenericDocumentRecognizer getScanner()
-
-
-
-