Mrz Scanner Json Configuration
Constructors
Properties
Preferred camera module (Default: BACK).
Background color outside of the finder window.
Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only.
Title of the cancel button.
Title of the button that opens the screen where the user can allow the app to use the camera.
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 frame (width to height), which is used to build the actual finder frame. Default is 7, which is good for standard machine readable zones.
Foreground color of the detection overlay.
Width of the finder frame border. Default is 2.
String being displayed as a description.
Foreground color of the description label.
Whether the flash should be initially enabled. The default value is FALSE.
Lock mode for the UI's orientation.
Whether to replace the cancel button in the top bar with a back arrow icon. Default is FALSE. Android only.
Whether to play a beep sound after a successful detection. Default value is TRUE.
Background color of the top toolbar.
Color of all active toggle buttons in the toolbar.
Color of all inactive toggle buttons in the toolbar.
Whether touch-to-focus is enabled on the camera preview. Enabled by default. Android only.
Whether buttons should use all-capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.