BarcodeTextLocalization

data class BarcodeTextLocalization(var topBarCancelButton: String = "Cancel", var topBarTitle: String = "Scan Item", var userGuidance: String = "Move the finder over a barcode", var barcodeInfoMappingLoadingMessage: String = "Loading details...", var barcodeInfoMappingErrorStateTitle: String = "Connection Error!", var barcodeInfoMappingErrorStateSubtitle: String = "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan.", var barcodeInfoMappingErrorStateRetryButton: String = "Retry", var barcodeInfoMappingErrorStateCancelButton: String = "Cancel", var manualCountEditDialogTitle: String = "Update count", var manualCountEditDialogInfo: String = "Adjust the number of items you scanned.", var manualCountEditDialogUpdateButton: String = "Update", var manualCountEditDialogCancelButton: String = "Cancel", var sheetResetButton: String = "Reset", var sheetClearAllButton: String = "Clear all", var sheetSubmitButton: String = "Submit", var sheetStartScanningButton: String = "Start scanning", var sheetPlaceholderTitle: String = "No barcodes here!", var sheetPlaceholderSubtitle: String = "The barcode list is currently empty. Close this sheet and scan your items to add them.", var singleModeConfirmationCancelButton: String = "Close", var multipleModeSheetTitle: String = "%d items", var findAndPickSheetTitle: String = "%d/%d scanned", var findAndPickSheetBarcodeItemSubtitle: String = "%d/%d added", var findAndPickPartialAlertTitle: String = "Incomplete scan!", var findAndPickPartialAlertSubtitle: String = "Some codes are yet to be scanned. Proceed with submission anyway?", var findAndPickPartialAlertCancelButton: String = "Cancel", var findAndPickPartialAlertSubmitButton: String = "Yes, Submit", var findAndPickCompleteAlertTitle: String = "All codes found!", var findAndPickCompleteAlertSubtitle: String = "You have successfully scanned all codes. Proceed with submission?", var findAndPickCompleteAlertCancelButton: String = "Dismiss", var findAndPickCompleteAlertSubmitButton: String = "Submit", 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 barcode scanner.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(topBarCancelButton: String = "Cancel", topBarTitle: String = "Scan Item", userGuidance: String = "Move the finder over a barcode", barcodeInfoMappingLoadingMessage: String = "Loading details...", barcodeInfoMappingErrorStateTitle: String = "Connection Error!", barcodeInfoMappingErrorStateSubtitle: String = "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan.", barcodeInfoMappingErrorStateRetryButton: String = "Retry", barcodeInfoMappingErrorStateCancelButton: String = "Cancel", manualCountEditDialogTitle: String = "Update count", manualCountEditDialogInfo: String = "Adjust the number of items you scanned.", manualCountEditDialogUpdateButton: String = "Update", manualCountEditDialogCancelButton: String = "Cancel", sheetResetButton: String = "Reset", sheetClearAllButton: String = "Clear all", sheetSubmitButton: String = "Submit", sheetStartScanningButton: String = "Start scanning", sheetPlaceholderTitle: String = "No barcodes here!", sheetPlaceholderSubtitle: String = "The barcode list is currently empty. Close this sheet and scan your items to add them.", singleModeConfirmationCancelButton: String = "Close", multipleModeSheetTitle: String = "%d items", findAndPickSheetTitle: String = "%d/%d scanned", findAndPickSheetBarcodeItemSubtitle: String = "%d/%d added", findAndPickPartialAlertTitle: String = "Incomplete scan!", findAndPickPartialAlertSubtitle: String = "Some codes are yet to be scanned. Proceed with submission anyway?", findAndPickPartialAlertCancelButton: String = "Cancel", findAndPickPartialAlertSubmitButton: String = "Yes, Submit", findAndPickCompleteAlertTitle: String = "All codes found!", findAndPickCompleteAlertSubtitle: String = "You have successfully scanned all codes. Proceed with submission?", findAndPickCompleteAlertCancelButton: String = "Dismiss", findAndPickCompleteAlertSubmitButton: String = "Submit", 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.

Link copied to clipboard

Accessibility description for the zoom button.

Link copied to clipboard

Cancel button text for the barcode info mapping error state.

Link copied to clipboard

Retry button text for the barcode info mapping error state.

Link copied to clipboard

Subtitle for the barcode info mapping error state.

Link copied to clipboard

Title for the barcode info mapping error state.

Link copied to clipboard

Loading message for barcode info mapping.

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

Cancel button text for the find and pick complete alert.

Link copied to clipboard

Submit button text for the find and pick complete alert.

Link copied to clipboard

Subtitle for the find and pick complete alert.

Link copied to clipboard

Title for the find and pick complete alert.

Link copied to clipboard

Cancel button text for the find and pick partial alert.

Link copied to clipboard

Submit button text for the find and pick partial alert.

Link copied to clipboard

Subtitle for the find and pick partial alert.

Link copied to clipboard

Title for the find and pick partial alert.

Link copied to clipboard

Subtitle for the find and pick barcode sheet.

Link copied to clipboard

Title for the find and pick barcode sheet.

Link copied to clipboard

Cancel button text for the manual count edit dialog.

Link copied to clipboard

Info for the manual count edit dialog.

Link copied to clipboard

Title for the manual count edit dialog.

Link copied to clipboard

Update button text for the manual count edit dialog.

Link copied to clipboard

Title for the multiple mode barcode sheet.

Link copied to clipboard

Clear all button text for the barcode sheet.

Link copied to clipboard

Subtitle for the barcode sheet placeholder.

Link copied to clipboard

Title for the barcode sheet placeholder.

Link copied to clipboard

Reset button text for the barcode sheet.

Link copied to clipboard

Start scanning button text for the barcode sheet.

Link copied to clipboard

Submit button text for the barcode sheet.

Link copied to clipboard

Cancel button text for the single mode confirmation dialog.

Link copied to clipboard

Cancel button text for the top bar.

Link copied to clipboard

Title for the top bar.

Link copied to clipboard

User guidance text.

Functions

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