Package io.scanbot.sdk.ui.view.mc
Interface IMedicalCertificateRecognizerView
-
- All Implemented Interfaces:
public interface IMedicalCertificateRecognizerView
Represents camera screen for Medical Certificate recognizer screen of the application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
IMedicalCertificateRecognizerView.ViewModel
Store view state and transport user interactions to it.
-
Method Summary
Modifier and Type Method Description abstract Unit
attachViewModel(IMedicalCertificateRecognizerView.ViewModel viewModel)
abstract Unit
attachPermissionViewModel(IPermissionViewModel viewModel)
abstract Unit
setCameraOrientationMode(CameraOrientationMode cameraOrientationMode)
Sets camera orientation mode abstract Unit
setCameraModule(CameraModule cameraModule)
Set camera module -
-
Method Detail
-
attachViewModel
abstract Unit attachViewModel(IMedicalCertificateRecognizerView.ViewModel viewModel)
- Parameters:
viewModel
- which will receive callbacks on user interactions.
-
attachPermissionViewModel
abstract Unit attachPermissionViewModel(IPermissionViewModel viewModel)
- Parameters:
viewModel
- which will handle permissions
-
setCameraOrientationMode
abstract Unit setCameraOrientationMode(CameraOrientationMode cameraOrientationMode)
Sets camera orientation mode
- Parameters:
cameraOrientationMode
- CameraOrientationMode.LANDSCAPE or CameraOrientationMode.PORTRAIT
-
setCameraModule
abstract Unit setCameraModule(CameraModule cameraModule)
Set camera module
- Parameters:
cameraModule
- one of the supported modes - CameraModule
-
-
-
-