Interface ITextDataCameraView.ViewModel
-
- All Implemented Interfaces:
public interface ITextDataCameraView.ViewModel
Store view state and transport user interactions to it.
-
-
Method Summary
Modifier and Type Method Description abstract Unit
onCancelClicked()
User wants to cancel snapping. abstract Unit
onFlashClicked()
User wants to change flash mode. abstract Unit
genericTextScanned(FrameHandlerResult<GenericTextRecognitionResult, SdkLicenseError> result)
New frame was processed with generic recognizer. abstract GenericTextRecognizer
getScanner()
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><TextDataScannerStep>
getCurrentStep()
-
-
Method Detail
-
onCancelClicked
abstract Unit onCancelClicked()
User wants to cancel snapping.
-
onFlashClicked
abstract Unit onFlashClicked()
User wants to change flash mode.
-
genericTextScanned
abstract Unit genericTextScanned(FrameHandlerResult<GenericTextRecognitionResult, SdkLicenseError> result)
New frame was processed with generic recognizer.
- Parameters:
result
- GenericTextRecognitionResult with scanned data
-
getScanner
abstract GenericTextRecognizer getScanner()
-
getCameraOpened
abstract <Error class: unknown class><Boolean> getCameraOpened()
-
getStopNewFrames
abstract <Error class: unknown class><Boolean> getStopNewFrames()
-
getCurrentStep
abstract <Error class: unknown class><TextDataScannerStep> getCurrentStep()
-
-
-
-