Class BaseTextPatternViewModel
-
- All Implemented Interfaces:
public abstract class BaseTextPatternViewModel extends ScanbotComposeCameraViewModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBaseTextPatternViewModel.TextPatternState
-
Field Summary
Fields Modifier and Type Field Description private final TextPatternScannerFrameHandlerframeHandlerprivate final <Error class: unknown class><CloseReason>closeActionprivate final <Error class: unknown class><TextPatternScannerResult>submitActionprivate final <Error class: unknown class><TextPatternScannerResult>scanningResultsprivate final <Error class: unknown class>showIntroDialogprivate final <Error class: unknown class>introDialogButtonEnabledprivate final <Error class: unknown class><BaseTextPatternViewModel.TextPatternState>uiStepsprivate final <Error class: unknown class><ScanbotDialogHandler>confirmationDialogprivate final <Error class: unknown class><Bitmap>bitmapprivate final AspectRatioaspectRatioprivate <Error class: unknown class>beepJobprivate final TextPatternScannerScreenConfigurationconfiguration
-
Constructor Summary
Constructors Constructor Description BaseTextPatternViewModel(TextPatternScannerScreenConfiguration configuration, TextPatternScanner textPatternScanner, CameraConfiguration cameraConfiguration, CoroutineContext dispatcher, Boolean flashAvailable, SoundController beeper)
-
Method Summary
Modifier and Type Method Description final TextPatternScannerFrameHandlergetFrameHandler()final <Error class: unknown class><CloseReason>getCloseAction()final <Error class: unknown class><TextPatternScannerResult>getSubmitAction()final <Error class: unknown class><TextPatternScannerResult>getScanningResults()final <Error class: unknown class>getShowIntroDialog()final <Error class: unknown class>getIntroDialogButtonEnabled()final <Error class: unknown class><BaseTextPatternViewModel.TextPatternState>getUiSteps()final <Error class: unknown class><ScanbotDialogHandler>getConfirmationDialog()final <Error class: unknown class><Bitmap>getBitmap()final AspectRatiogetAspectRatio()final <Error class: unknown class>getBeepJob()final Unit)>setBeepJob(<Error class: unknown class> beepJob)final TextPatternScannerScreenConfigurationgetConfiguration()final UnitonIntroClicked()final UnitonIntroDialogDismiss()UnitonCleared()final UnitregisterFrameHandlers(ScanbotCameraXView camera)-
-
Constructor Detail
-
BaseTextPatternViewModel
BaseTextPatternViewModel(TextPatternScannerScreenConfiguration configuration, TextPatternScanner textPatternScanner, CameraConfiguration cameraConfiguration, CoroutineContext dispatcher, Boolean flashAvailable, SoundController beeper)
-
-
Method Detail
-
getFrameHandler
final TextPatternScannerFrameHandler getFrameHandler()
-
getCloseAction
final <Error class: unknown class><CloseReason> getCloseAction()
-
getSubmitAction
final <Error class: unknown class><TextPatternScannerResult> getSubmitAction()
-
getScanningResults
final <Error class: unknown class><TextPatternScannerResult> getScanningResults()
-
getShowIntroDialog
final <Error class: unknown class> getShowIntroDialog()
-
getIntroDialogButtonEnabled
final <Error class: unknown class> getIntroDialogButtonEnabled()
-
getUiSteps
final <Error class: unknown class><BaseTextPatternViewModel.TextPatternState> getUiSteps()
-
getConfirmationDialog
final <Error class: unknown class><ScanbotDialogHandler> getConfirmationDialog()
-
getAspectRatio
final AspectRatio getAspectRatio()
-
getBeepJob
final <Error class: unknown class> getBeepJob()
-
setBeepJob
final Unit )>setBeepJob(<Error class: unknown class> beepJob)
-
getConfiguration
final TextPatternScannerScreenConfiguration getConfiguration()
-
onIntroClicked
final Unit onIntroClicked()
-
onIntroDialogDismiss
final Unit onIntroDialogDismiss()
-
registerFrameHandlers
final Unit registerFrameHandlers(ScanbotCameraXView camera)
-
-
-
-