MRZScanner Configuration
Class which is used to configure io.scanbot.sdk.ui.view.mrz.MRZScannerActivity Contains settings indicating views Behaviour, Texts and Appearance
Functions
Set supported camera module: CameraModule.BACK, CameraModule.FRONT or others. Optional. By default is CameraModule.BACK.
Background color outside of the finder window.
Preview mode of the camera: CameraPreviewMode.FIT_IN or CameraPreviewMode.FIT_IN. Optional, default is CameraPreviewMode.FILL_IN.
Icon of the cancel button.
Title of the cancel button.
Title of the button that opens the screen where the user can allow the usage of the camera by the app.
Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
Aspect ratio of the finder window.
Color of the finder window's outline.
Thickness of the finder window's outline in Px.
Text hint shown under the finder window.
Color of the text hint under the finder window.
Controls whether the flash should be initially enabled. The default value is FALSE.
Orientation lock mode of the camera: CameraOrientationMode.PORTRAIT or CameraOrientationMode.LANDSCAPE. By default the camera orientation is not locked.
Controls whether to play a beep sound after a successful detection. Default value is TRUE.
Background color of the top toolbar.
Color of the titles of all buttons in the top toolbar.
Controls whether the touch to focus feature should be enabled. Default is true
.
Controls whether buttons should use all capitals style.