Optional
source: DeepPartial<MrzScannerScreenConfiguration>Configuration of the action bar.
new ActionBarConfiguration({
"flipCameraButton": new RoundButton({
"visible": false,
"accessibilityDescription": "?accessibilityDescriptionFlipCameraButton",
"backgroundColor": "?sbColorSurfaceHigh",
"foregroundColor": "?sbColorOnPrimary",
"activeBackgroundColor": "?sbColorWarning",
"activeForegroundColor": "#1C1B1F"
})
});
The background color of the MRZ scanner screen.
"?sbColorSurfaceLow";
Configuration of the camera behavior.
new CameraConfiguration({});
Configuration of the dialog for requesting camera permissions.
new CameraPermissionScreen({
"background": "?sbColorSurface",
"iconBackground": "?sbColorOutline",
"icon": new IconStyle({
"visible": true,
"color": "?sbColorOnSurface"
}),
"closeButton": new ButtonConfiguration({
"visible": true,
"text": "?cameraPermissionCloseButton",
"accessibilityDescription": "?accessibilityDescriptionCameraPermissionCloseButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"iconVisible": false,
"color": "?sbColorPrimary",
"useShadow": false
})
}),
"enableCameraTitle": new StyledText({
"text": "?cameraPermissionEnableCameraTitle",
"color": "?sbColorOnSurface"
}),
"enableCameraExplanation": new StyledText({
"text": "?cameraPermissionEnableCameraExplanation",
"color": "?sbColorOnSurfaceVariant"
})
});
Configuration of the user guidance below finder view.
new UserGuidanceConfiguration({
"title": new StyledText({
"text": "?finderViewUserGuidance"
})
});
Configuration of the introduction screen for the MRZ scanner.
new MrzScannerIntroScreenConfiguration({});
Configuration of the all strings for MRZ scanner screen.
new MrzScannerScreenTextLocalization({});
Configuration of the overlay text inside finder.
new TwoLineMrzFinderLayoutPreset({});
Define the screen's base color values from which other colors are derived.
new Palette({});
Configuration of the MRZ scanner.
new MrzScannerConfiguration({});
Readonly
screenThe configuration object should be applied for this screen.
"MrzScanner";
Configuration of the scan confirmation sound.
new Sound({});
Configuration of the success overlay.
new ScanCompletionOverlay({});
Configuration of the top bar on the MRZ scanner screen.
new TopBarConfiguration({
"title": new StyledText({
"visible": true,
"text": "?topBarTitle"
}),
"cancelButton": new ButtonConfiguration({
"text": "?topBarCancelButton",
"accessibilityDescription": "?accessibilityDescriptionCancelButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"color": "?sbColorOnPrimary"
})
})
});
Configuration of the button in the top bar that opens the introduction screen.
new IconButton({
"color": "?sbColorOnPrimary",
"accessibilityDescription": "?accessibilityDescriptionOpenIntroScreenButton"
});
Configuration of the top user guidance.
new UserGuidanceConfiguration({
"title": new StyledText({
"text": "?topUserGuidance"
})
});
Readonly
versionVersion number of the configuration object.
"1.0";
Configuration of the vibration feedback.
new Vibration({});
Configuration of the view finder.
new PermanentViewFinderConfiguration({
"style": new FinderCorneredStyle({
"strokeColor": "?sbColorSurface",
"strokeWidth": 2.0
}),
"aspectRatio": new AspectRatio({
"width": -1.0,
"height": -1.0
}),
"minimumInsets": new EdgeInsets({
"top": 24.0,
"left": 24.0,
"bottom": 24.0,
"right": 24.0
})
});
Generated using TypeDoc
Configuration of the screen for detecting MRZ (Machine-readable zones) of various documents.