TextPatternScannerScreenTextLocalization

data class TextPatternScannerScreenTextLocalization(var topBarTitle: String = "Text Scanner", var topBarCancelButton: String = "Cancel", var topUserGuidance: String = "Locate the text you are looking for", var finderViewUserGuidance: String = "Scanning for text pattern...", var introScreenTitle: String = "How to scan text", var introScreenDoneButton: String = "Start Scanning", var introScreenText: String = "To scan a single line of text, please hold your device so that the camera viewfinder clearly captures the text you want to scan. Please ensure the text is properly aligned. Once the scan is complete, the text will be automatically extracted.", var completionOverlaySuccessMessage: String = "Scanned successfully", var accessibilityDescriptionOpenIntroScreenButton: String = "Open introduction screen.", var accessibilityDescriptionIntroScreenDoneButton: String = "Start scanning", var accessibilityDescriptionCancelButton: String = "Cancel", var textPatternConfirmationAlertTitle: String = "Text Detected!", var textPatternConfirmationAlertCancelButton: String = "Retry", var textPatternConfirmationAlertSubmitButton: String = "Submit", var accessibilityDescriptionConfirmationCancelButton: String = "Retry", var accessibilityDescriptionConfirmationSubmitButton: String = "Submit", 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 generic text scanner screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(topBarTitle: String = "Text Scanner", topBarCancelButton: String = "Cancel", topUserGuidance: String = "Locate the text you are looking for", finderViewUserGuidance: String = "Scanning for text pattern...", introScreenTitle: String = "How to scan text", introScreenDoneButton: String = "Start Scanning", introScreenText: String = "To scan a single line of text, please hold your device so that the camera viewfinder clearly captures the text you want to scan. Please ensure the text is properly aligned. Once the scan is complete, the text will be automatically extracted.", completionOverlaySuccessMessage: String = "Scanned successfully", accessibilityDescriptionOpenIntroScreenButton: String = "Open introduction screen.", accessibilityDescriptionIntroScreenDoneButton: String = "Start scanning", accessibilityDescriptionCancelButton: String = "Cancel", textPatternConfirmationAlertTitle: String = "Text Detected!", textPatternConfirmationAlertCancelButton: String = "Retry", textPatternConfirmationAlertSubmitButton: String = "Submit", accessibilityDescriptionConfirmationCancelButton: String = "Retry", accessibilityDescriptionConfirmationSubmitButton: String = "Submit", 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.

Accessibility description for the cancel button in the text pattern confirmation alert.

Accessibility description for the submit button in the text pattern confirmation alert.

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 text pattern confirmation alert.

Link copied to clipboard

Submit button text for the text pattern confirmation alert.

Link copied to clipboard

Title for the text pattern confirmation alert.

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

Uses reflection to access all String fields of class and write field name and its value as a key-value pair into a map.

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