VinScannerScreenTextLocalization constructor

VinScannerScreenTextLocalization({
  1. String topBarTitle = "VIN Scanner",
  2. String topBarCancelButton = "Cancel",
  3. String topUserGuidance = "Point the camera at the VIN",
  4. String finderViewUserGuidance = "Looking for VIN...",
  5. String introScreenTitle = "How to scan a VIN",
  6. String introScreenDoneButton = "Start Scanning",
  7. String introScreenText = "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. \n\nTo scan, simply point your camera at the VIN, ensuring it's within the frame. The VIN will be automatically extracted.\n\nTap 'Start Scanning' to begin.",
  8. String completionOverlaySuccessMessage = "Scanned successfully",
  9. String accessibilityDescriptionOpenIntroScreenButton = "Open VIN Scanner introduction",
  10. String accessibilityDescriptionIntroScreenDoneButton = "Start VIN scanning",
  11. String accessibilityDescriptionCancelButton = "Cancel VIN scanning",
  12. String vinConfirmationAlertTitle = "VIN detected",
  13. String vinConfirmationAlertCancelButton = "Cancel",
  14. String vinConfirmationAlertSubmitButton = "Submit",
  15. String accessibilityDescriptionConfirmationCancelButton = "Cancel VIN scanning",
  16. String accessibilityDescriptionConfirmationSubmitButton = "Submit VIN scan result",
  17. String accessibilityDescriptionFlashButton = "Toggle flash",
  18. String accessibilityDescriptionZoomButton = "Toggle camera zoom",
  19. String accessibilityDescriptionFlipCameraButton = "Flip camera",
  20. String cameraPermissionEnableCameraTitle = "Camera permission denied!",
  21. String cameraPermissionEnableCameraExplanation = "Please allow the usage of the camera to start the scanning process.",
  22. String cameraPermissionEnableCameraButton = "Grant permission",
  23. String cameraPermissionCloseButton = "Close",
  24. String accessibilityDescriptionCameraPermissionEnableCameraButton = "Tap to grant camera permission",
  25. String accessibilityDescriptionCameraPermissionCloseButton = "Close screen without granting permission",
})

Implementation

VinScannerScreenTextLocalization({
  this.topBarTitle = "VIN Scanner",
  this.topBarCancelButton = "Cancel",
  this.topUserGuidance = "Point the camera at the VIN",
  this.finderViewUserGuidance = "Looking for VIN...",
  this.introScreenTitle = "How to scan a VIN",
  this.introScreenDoneButton = "Start Scanning",
  this.introScreenText =
      "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. \n\nTo scan, simply point your camera at the VIN, ensuring it's within the frame. The VIN will be automatically extracted.\n\nTap 'Start Scanning' to begin.",
  this.completionOverlaySuccessMessage = "Scanned successfully",
  this.accessibilityDescriptionOpenIntroScreenButton =
      "Open VIN Scanner introduction",
  this.accessibilityDescriptionIntroScreenDoneButton = "Start VIN scanning",
  this.accessibilityDescriptionCancelButton = "Cancel VIN scanning",
  this.vinConfirmationAlertTitle = "VIN detected",
  this.vinConfirmationAlertCancelButton = "Cancel",
  this.vinConfirmationAlertSubmitButton = "Submit",
  this.accessibilityDescriptionConfirmationCancelButton =
      "Cancel VIN scanning",
  this.accessibilityDescriptionConfirmationSubmitButton =
      "Submit VIN scan result",
  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",
});