VinScannerScreenTextLocalization

data class VinScannerScreenTextLocalization(var topBarTitle: String = "VIN Scanner", var topBarCancelButton: String = "Cancel", var topUserGuidance: String = "Point the camera at the VIN", var finderViewUserGuidance: String = "Looking for VIN...", var introScreenTitle: String = "How to scan a VIN", var introScreenDoneButton: String = "Start Scanning", var introScreenText: String = "A VIN (Vehicle Identification Number) is a unique code you'll find on a vehicle's windshield or on the inside of the driver's door. ", var completionOverlaySuccessMessage: String = "Scanned successfully", var accessibilityDescriptionOpenIntroScreenButton: String = "Open VIN Scanner introduction", var accessibilityDescriptionIntroScreenDoneButton: String = "Start VIN scanning", var accessibilityDescriptionCancelButton: String = "Cancel VIN scanning", var vinConfirmationAlertTitle: String = "VIN detected", var vinConfirmationAlertCancelButton: String = "Cancel", var vinConfirmationAlertSubmitButton: String = "Submit", var accessibilityDescriptionConfirmationCancelButton: String = "Cancel VIN scanning", var accessibilityDescriptionConfirmationSubmitButton: String = "Submit VIN scan result", 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 = "VIN Scanner", topBarCancelButton: String = "Cancel", topUserGuidance: String = "Point the camera at the VIN", finderViewUserGuidance: String = "Looking for VIN...", introScreenTitle: String = "How to scan a VIN", introScreenDoneButton: String = "Start Scanning", introScreenText: String = "A VIN (Vehicle Identification Number) is a unique code you'll find on a vehicle's windshield or on the inside of the driver's door. ", completionOverlaySuccessMessage: String = "Scanned successfully", accessibilityDescriptionOpenIntroScreenButton: String = "Open VIN Scanner introduction", accessibilityDescriptionIntroScreenDoneButton: String = "Start VIN scanning", accessibilityDescriptionCancelButton: String = "Cancel VIN scanning", vinConfirmationAlertTitle: String = "VIN detected", vinConfirmationAlertCancelButton: String = "Cancel", vinConfirmationAlertSubmitButton: String = "Submit", accessibilityDescriptionConfirmationCancelButton: String = "Cancel VIN scanning", accessibilityDescriptionConfirmationSubmitButton: String = "Submit VIN scan result", 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 top bar.

Link copied to clipboard

Title for the top bar.

Link copied to clipboard

Text for the top user guidance caption.

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.

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