Package io.scanbot.sdk.ui.view.vin
Interface IVinScannerCameraView.ViewModel
-
- All Implemented Interfaces:
public interface IVinScannerCameraView.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
vinScanned(FrameHandlerResult<VinScanResult, SdkLicenseError> result)
New frame was processed with VIN scanner. abstract VinScanner
getScanner()
abstract <Error class: unknown class><Boolean>
getCameraOpened()
abstract <Error class: unknown class><Boolean>
getStopNewFrames()
abstract <Error class: unknown class><Boolean>
getFlash()
-
-
Method Detail
-
onCancelClicked
abstract Unit onCancelClicked()
User wants to cancel snapping.
-
onFlashClicked
abstract Unit onFlashClicked()
User wants to change flash mode.
-
vinScanned
abstract Unit vinScanned(FrameHandlerResult<VinScanResult, SdkLicenseError> result)
New frame was processed with VIN scanner.
- Parameters:
result
- VinScanResult with scanned data
-
getScanner
abstract VinScanner getScanner()
-
getCameraOpened
abstract <Error class: unknown class><Boolean> getCameraOpened()
-
getStopNewFrames
abstract <Error class: unknown class><Boolean> getStopNewFrames()
-
-
-
-