MrzScannerScreenTextLocalization

data class MrzScannerScreenTextLocalization(var topBarTitle: String = "MRZ Scanner", var topBarCancelButton: String = "Cancel", var topUserGuidance: String = "Scan your Identity Document", var finderViewUserGuidance: String = "Scan the MRZ", var introScreenTitle: String = "How to scan an MRZ", var introScreenDoneButton: String = "Start Scanning", var introScreenText: String = "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.", var completionOverlaySuccessMessage: String = "Scanned successfully", var accessibilityDescriptionOpenIntroScreenButton: String = "Open introduction screen.", var accessibilityDescriptionIntroScreenDoneButton: String = "Start scanning", var accessibilityDescriptionCancelButton: String = "Cancel", var accessibilityDescriptionFlashButton: String = "Toggle flash", var accessibilityDescriptionZoomButton: String = "Toggle camera zoom", var accessibilityDescriptionFlipCameraButton: String = "Flip camera", var cameraPermissionEnableCameraTitle: String = "Camera permission denied!", var cameraPermissionEnableCameraExplanation: String = "Please allow the usage of the camera to start the scanning process.", var cameraPermissionEnableCameraButton: String = "Grant permission", var cameraPermissionCloseButton: String = "Close", var accessibilityDescriptionCameraPermissionEnableCameraButton: String = "Tap to grant camera permission", var accessibilityDescriptionCameraPermissionCloseButton: String = "Close screen without granting permission") : Parcelable

Configuration of the all strings for MRZ scanner screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(topBarTitle: String = "MRZ Scanner", topBarCancelButton: String = "Cancel", topUserGuidance: String = "Scan your Identity Document", finderViewUserGuidance: String = "Scan the MRZ", introScreenTitle: String = "How to scan an MRZ", introScreenDoneButton: String = "Start Scanning", introScreenText: String = "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.", completionOverlaySuccessMessage: String = "Scanned successfully", accessibilityDescriptionOpenIntroScreenButton: String = "Open introduction screen.", accessibilityDescriptionIntroScreenDoneButton: String = "Start scanning", accessibilityDescriptionCancelButton: String = "Cancel", accessibilityDescriptionFlashButton: String = "Toggle flash", accessibilityDescriptionZoomButton: String = "Toggle camera zoom", accessibilityDescriptionFlipCameraButton: String = "Flip camera", cameraPermissionEnableCameraTitle: String = "Camera permission denied!", cameraPermissionEnableCameraExplanation: String = "Please allow the usage of the camera to start the scanning process.", cameraPermissionEnableCameraButton: String = "Grant permission", cameraPermissionCloseButton: String = "Close", accessibilityDescriptionCameraPermissionEnableCameraButton: String = "Tap to grant camera permission", accessibilityDescriptionCameraPermissionCloseButton: String = "Close screen without granting permission")

Types

Link copied to clipboard
object Companion

Properties

The accessibility hint for the 'close' button of the camera permission dialog.

The accessibility hint for the 'enable' button of the camera permission dialog.

Link copied to clipboard

Accessibility description for the 'cancel' button in the top bar.

Link copied to clipboard

Accessibility description for the flash button.

Link copied to clipboard

Accessibility description for the flip camera button.

Accessibility description for the 'done'/'start scanning' button in the introduction screen.

Accessibility description for the 'open introduction screen' button in top bar.

Link copied to clipboard

Accessibility description for the zoom button.

Link copied to clipboard

The 'close' button title of the camera permission dialog.

Link copied to clipboard

The 'enable' button title of the camera permission dialog.

Link copied to clipboard

The explanation text of the camera permission dialog.

Link copied to clipboard

The title of the camera permission dialog.

Link copied to clipboard

Caption for the success overlay.

Link copied to clipboard

Text for the user guidance caption below the finder view.

Link copied to clipboard

Start scanning button text for the introduction screen.

Link copied to clipboard

The text explanation for the introduction screen.

Link copied to clipboard

Title for the introduction screen.

Link copied to clipboard

Cancel button text for the top bar.

Link copied to clipboard

Title for the top bar.

Link copied to clipboard

Text for the top user guidance caption.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject