MrzScannerScreenTextLocalization constructor
MrzScannerScreenTextLocalization({ - String topBarTitle = "MRZ Scanner",
- String topBarCancelButton = "Cancel",
- String topUserGuidance = "Scan your Identity Document",
- String finderViewUserGuidance = "Scan the MRZ",
- String introScreenTitle = "How to scan an MRZ",
- String introScreenDoneButton = "Start Scanning",
- String introScreenText = "The Machine Readable Zone (MRZ) is a special code on your ID document (such as a passport or ID card) that contains your personal information in a machine-readable format.\n\nTo scan it, simply hold your camera over the document, so that it aligns with the MRZ section. Once scanned, the data will be automatically processed, and you will be directed to the results screen.\n\nPress 'Start Scanning' to begin.",
- String completionOverlaySuccessMessage = "Scanned successfully",
- String accessibilityDescriptionOpenIntroScreenButton = "Open introduction screen.",
- String accessibilityDescriptionIntroScreenDoneButton = "Start scanning",
- String accessibilityDescriptionCancelButton = "Cancel",
- String accessibilityDescriptionFlashButton = "Toggle flash",
- String accessibilityDescriptionZoomButton = "Toggle camera zoom",
- String accessibilityDescriptionFlipCameraButton = "Flip camera",
- String cameraPermissionEnableCameraTitle = "Camera permission denied!",
- String cameraPermissionEnableCameraExplanation = "Please allow the usage of the camera to start the scanning process.",
- String cameraPermissionEnableCameraButton = "Grant permission",
- String cameraPermissionCloseButton = "Close",
- String accessibilityDescriptionCameraPermissionEnableCameraButton = "Tap to grant camera permission",
- String accessibilityDescriptionCameraPermissionCloseButton = "Close screen without granting permission",
})
Implementation
MrzScannerScreenTextLocalization({
this.topBarTitle = "MRZ Scanner",
this.topBarCancelButton = "Cancel",
this.topUserGuidance = "Scan your Identity Document",
this.finderViewUserGuidance = "Scan the MRZ",
this.introScreenTitle = "How to scan an MRZ",
this.introScreenDoneButton = "Start Scanning",
this.introScreenText =
"The Machine Readable Zone (MRZ) is a special code on your ID document (such as a passport or ID card) that contains your personal information in a machine-readable format.\n\nTo scan it, simply hold your camera over the document, so that it aligns with the MRZ section. Once scanned, the data will be automatically processed, and you will be directed to the results screen.\n\nPress 'Start Scanning' to begin.",
this.completionOverlaySuccessMessage = "Scanned successfully",
this.accessibilityDescriptionOpenIntroScreenButton =
"Open introduction screen.",
this.accessibilityDescriptionIntroScreenDoneButton = "Start scanning",
this.accessibilityDescriptionCancelButton = "Cancel",
this.accessibilityDescriptionFlashButton = "Toggle flash",
this.accessibilityDescriptionZoomButton = "Toggle camera zoom",
this.accessibilityDescriptionFlipCameraButton = "Flip camera",
this.cameraPermissionEnableCameraTitle = "Camera permission denied!",
this.cameraPermissionEnableCameraExplanation =
"Please allow the usage of the camera to start the scanning process.",
this.cameraPermissionEnableCameraButton = "Grant permission",
this.cameraPermissionCloseButton = "Close",
this.accessibilityDescriptionCameraPermissionEnableCameraButton =
"Tap to grant camera permission",
this.accessibilityDescriptionCameraPermissionCloseButton =
"Close screen without granting permission",
});