Class BarcodeTextLocalization
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class BarcodeTextLocalization implements Parcelable
Configuration of the all strings for barcode scanner.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BarcodeTextLocalization(Map<String, Object> source)
BarcodeTextLocalization(JSONObject json)
BarcodeTextLocalization(String cameraPermissionEnableCameraTitle, String cameraPermissionEnableCameraExplanation, String cameraPermissionEnableCameraButton, String cameraPermissionCloseButton, String topBarCancelButton, String topBarTitle, String userGuidance, String barcodeInfoMappingLoadingMessage, String barcodeInfoMappingErrorStateTitle, String barcodeInfoMappingErrorStateSubtitle, String barcodeInfoMappingErrorStateRetryButton, String barcodeInfoMappingErrorStateCancelButton, String manualCountEditDialogTitle, String manualCountEditDialogInfo, String manualCountEditDialogUpdateButton, String manualCountEditDialogCancelButton, String sheetResetButton, String sheetClearAllButton, String sheetSubmitButton, String sheetStartScanningButton, String sheetPlaceholderTitle, String sheetPlaceholderSubtitle, String singleModeConfirmationCancelButton, String multipleModeSheetTitle, String findAndPickSheetTitle, String findAndPickSheetBarcodeItemSubtitle, String findAndPickPartialAlertTitle, String findAndPickPartialAlertSubtitle, String findAndPickPartialAlertCancelButton, String findAndPickPartialAlertSubmitButton, String findAndPickCompleteAlertTitle, String findAndPickCompleteAlertSubtitle, String findAndPickCompleteAlertCancelButton, String findAndPickCompleteAlertSubmitButton)
-
Method Summary
Modifier and Type Method Description final String
getCameraPermissionEnableCameraTitle()
Title for the camera permission dialog. final Unit
setCameraPermissionEnableCameraTitle(String cameraPermissionEnableCameraTitle)
Title for the camera permission dialog. final String
getCameraPermissionEnableCameraExplanation()
Explanation for the camera permission dialog. final Unit
setCameraPermissionEnableCameraExplanation(String cameraPermissionEnableCameraExplanation)
Explanation for the camera permission dialog. final String
getCameraPermissionEnableCameraButton()
Button text for the camera permission dialog. final Unit
setCameraPermissionEnableCameraButton(String cameraPermissionEnableCameraButton)
Button text for the camera permission dialog. final String
getCameraPermissionCloseButton()
Close button text for the camera permission dialog. final Unit
setCameraPermissionCloseButton(String cameraPermissionCloseButton)
Close button text for the camera permission dialog. final String
getTopBarCancelButton()
Cancel button text for the top bar. final Unit
setTopBarCancelButton(String topBarCancelButton)
Cancel button text for the top bar. final String
getTopBarTitle()
Title for the top bar. final Unit
setTopBarTitle(String topBarTitle)
Title for the top bar. final String
getUserGuidance()
User guidance text. final Unit
setUserGuidance(String userGuidance)
User guidance text. final String
getBarcodeInfoMappingLoadingMessage()
Loading message for barcode info mapping. final Unit
setBarcodeInfoMappingLoadingMessage(String barcodeInfoMappingLoadingMessage)
Loading message for barcode info mapping. final String
getBarcodeInfoMappingErrorStateTitle()
Title for the barcode info mapping error state. final Unit
setBarcodeInfoMappingErrorStateTitle(String barcodeInfoMappingErrorStateTitle)
Title for the barcode info mapping error state. final String
getBarcodeInfoMappingErrorStateSubtitle()
Subtitle for the barcode info mapping error state. final Unit
setBarcodeInfoMappingErrorStateSubtitle(String barcodeInfoMappingErrorStateSubtitle)
Subtitle for the barcode info mapping error state. final String
getBarcodeInfoMappingErrorStateRetryButton()
Retry button text for the barcode info mapping error state. final Unit
setBarcodeInfoMappingErrorStateRetryButton(String barcodeInfoMappingErrorStateRetryButton)
Retry button text for the barcode info mapping error state. final String
getBarcodeInfoMappingErrorStateCancelButton()
Cancel button text for the barcode info mapping error state. final Unit
setBarcodeInfoMappingErrorStateCancelButton(String barcodeInfoMappingErrorStateCancelButton)
Cancel button text for the barcode info mapping error state. final String
getManualCountEditDialogTitle()
Title for the manual count edit dialog. final Unit
setManualCountEditDialogTitle(String manualCountEditDialogTitle)
Title for the manual count edit dialog. final String
getManualCountEditDialogInfo()
Info for the manual count edit dialog. final Unit
setManualCountEditDialogInfo(String manualCountEditDialogInfo)
Info for the manual count edit dialog. final String
getManualCountEditDialogUpdateButton()
Update button text for the manual count edit dialog. final Unit
setManualCountEditDialogUpdateButton(String manualCountEditDialogUpdateButton)
Update button text for the manual count edit dialog. final String
getManualCountEditDialogCancelButton()
Cancel button text for the manual count edit dialog. final Unit
setManualCountEditDialogCancelButton(String manualCountEditDialogCancelButton)
Cancel button text for the manual count edit dialog. final String
getSheetResetButton()
Reset button text for the barcode sheet. final Unit
setSheetResetButton(String sheetResetButton)
Reset button text for the barcode sheet. final String
getSheetClearAllButton()
Clear all button text for the barcode sheet. final Unit
setSheetClearAllButton(String sheetClearAllButton)
Clear all button text for the barcode sheet. final String
getSheetSubmitButton()
Submit button text for the barcode sheet. final Unit
setSheetSubmitButton(String sheetSubmitButton)
Submit button text for the barcode sheet. final String
getSheetStartScanningButton()
Start scanning button text for the barcode sheet. final Unit
setSheetStartScanningButton(String sheetStartScanningButton)
Start scanning button text for the barcode sheet. final String
getSheetPlaceholderTitle()
Title for the barcode sheet placeholder. final Unit
setSheetPlaceholderTitle(String sheetPlaceholderTitle)
Title for the barcode sheet placeholder. final String
getSheetPlaceholderSubtitle()
Subtitle for the barcode sheet placeholder. final Unit
setSheetPlaceholderSubtitle(String sheetPlaceholderSubtitle)
Subtitle for the barcode sheet placeholder. final String
getSingleModeConfirmationCancelButton()
Cancel button text for the single mode confirmation dialog. final Unit
setSingleModeConfirmationCancelButton(String singleModeConfirmationCancelButton)
Cancel button text for the single mode confirmation dialog. final String
getMultipleModeSheetTitle()
Title for the multiple mode barcode sheet. final Unit
setMultipleModeSheetTitle(String multipleModeSheetTitle)
Title for the multiple mode barcode sheet. final String
getFindAndPickSheetTitle()
Title for the find and pick barcode sheet. final Unit
setFindAndPickSheetTitle(String findAndPickSheetTitle)
Title for the find and pick barcode sheet. final String
getFindAndPickSheetBarcodeItemSubtitle()
Subtitle for the find and pick barcode sheet. final Unit
setFindAndPickSheetBarcodeItemSubtitle(String findAndPickSheetBarcodeItemSubtitle)
Subtitle for the find and pick barcode sheet. final String
getFindAndPickPartialAlertTitle()
Title for the find and pick partial alert. final Unit
setFindAndPickPartialAlertTitle(String findAndPickPartialAlertTitle)
Title for the find and pick partial alert. final String
getFindAndPickPartialAlertSubtitle()
Subtitle for the find and pick partial alert. final Unit
setFindAndPickPartialAlertSubtitle(String findAndPickPartialAlertSubtitle)
Subtitle for the find and pick partial alert. final String
getFindAndPickPartialAlertCancelButton()
Cancel button text for the find and pick partial alert. final Unit
setFindAndPickPartialAlertCancelButton(String findAndPickPartialAlertCancelButton)
Cancel button text for the find and pick partial alert. final String
getFindAndPickPartialAlertSubmitButton()
Submit button text for the find and pick partial alert. final Unit
setFindAndPickPartialAlertSubmitButton(String findAndPickPartialAlertSubmitButton)
Submit button text for the find and pick partial alert. final String
getFindAndPickCompleteAlertTitle()
Title for the find and pick complete alert. final Unit
setFindAndPickCompleteAlertTitle(String findAndPickCompleteAlertTitle)
Title for the find and pick complete alert. final String
getFindAndPickCompleteAlertSubtitle()
Subtitle for the find and pick complete alert. final Unit
setFindAndPickCompleteAlertSubtitle(String findAndPickCompleteAlertSubtitle)
Subtitle for the find and pick complete alert. final String
getFindAndPickCompleteAlertCancelButton()
Cancel button text for the find and pick complete alert. final Unit
setFindAndPickCompleteAlertCancelButton(String findAndPickCompleteAlertCancelButton)
Cancel button text for the find and pick complete alert. final String
getFindAndPickCompleteAlertSubmitButton()
Submit button text for the find and pick complete alert. final Unit
setFindAndPickCompleteAlertSubmitButton(String findAndPickCompleteAlertSubmitButton)
Submit button text for the find and pick complete alert. final JSONObject
toJson()
final static BarcodeTextLocalization
default()
-
-
Constructor Detail
-
BarcodeTextLocalization
BarcodeTextLocalization(JSONObject json)
-
BarcodeTextLocalization
BarcodeTextLocalization(String cameraPermissionEnableCameraTitle, String cameraPermissionEnableCameraExplanation, String cameraPermissionEnableCameraButton, String cameraPermissionCloseButton, String topBarCancelButton, String topBarTitle, String userGuidance, String barcodeInfoMappingLoadingMessage, String barcodeInfoMappingErrorStateTitle, String barcodeInfoMappingErrorStateSubtitle, String barcodeInfoMappingErrorStateRetryButton, String barcodeInfoMappingErrorStateCancelButton, String manualCountEditDialogTitle, String manualCountEditDialogInfo, String manualCountEditDialogUpdateButton, String manualCountEditDialogCancelButton, String sheetResetButton, String sheetClearAllButton, String sheetSubmitButton, String sheetStartScanningButton, String sheetPlaceholderTitle, String sheetPlaceholderSubtitle, String singleModeConfirmationCancelButton, String multipleModeSheetTitle, String findAndPickSheetTitle, String findAndPickSheetBarcodeItemSubtitle, String findAndPickPartialAlertTitle, String findAndPickPartialAlertSubtitle, String findAndPickPartialAlertCancelButton, String findAndPickPartialAlertSubmitButton, String findAndPickCompleteAlertTitle, String findAndPickCompleteAlertSubtitle, String findAndPickCompleteAlertCancelButton, String findAndPickCompleteAlertSubmitButton)
-
-
Method Detail
-
getCameraPermissionEnableCameraTitle
final String getCameraPermissionEnableCameraTitle()
Title for the camera permission dialog. Default is "Camera permission denied!"
-
setCameraPermissionEnableCameraTitle
final Unit setCameraPermissionEnableCameraTitle(String cameraPermissionEnableCameraTitle)
Title for the camera permission dialog. Default is "Camera permission denied!"
-
getCameraPermissionEnableCameraExplanation
final String getCameraPermissionEnableCameraExplanation()
Explanation for the camera permission dialog. Default is "Please allow the usage of the camera to start the scanning process."
-
setCameraPermissionEnableCameraExplanation
final Unit setCameraPermissionEnableCameraExplanation(String cameraPermissionEnableCameraExplanation)
Explanation for the camera permission dialog. Default is "Please allow the usage of the camera to start the scanning process."
-
getCameraPermissionEnableCameraButton
final String getCameraPermissionEnableCameraButton()
Button text for the camera permission dialog. Default is "Grant permission"
-
setCameraPermissionEnableCameraButton
final Unit setCameraPermissionEnableCameraButton(String cameraPermissionEnableCameraButton)
Button text for the camera permission dialog. Default is "Grant permission"
-
getCameraPermissionCloseButton
final String getCameraPermissionCloseButton()
Close button text for the camera permission dialog. Default is "Close"
-
setCameraPermissionCloseButton
final Unit setCameraPermissionCloseButton(String cameraPermissionCloseButton)
Close button text for the camera permission dialog. Default is "Close"
-
getTopBarCancelButton
final String getTopBarCancelButton()
Cancel button text for the top bar. Default is "Cancel"
-
setTopBarCancelButton
final Unit setTopBarCancelButton(String topBarCancelButton)
Cancel button text for the top bar. Default is "Cancel"
-
getTopBarTitle
final String getTopBarTitle()
Title for the top bar. Default is "Scan Item"
-
setTopBarTitle
final Unit setTopBarTitle(String topBarTitle)
Title for the top bar. Default is "Scan Item"
-
getUserGuidance
final String getUserGuidance()
User guidance text. Default is "Move the finder over a barcode"
-
setUserGuidance
final Unit setUserGuidance(String userGuidance)
User guidance text. Default is "Move the finder over a barcode"
-
getBarcodeInfoMappingLoadingMessage
final String getBarcodeInfoMappingLoadingMessage()
Loading message for barcode info mapping. Default is "Loading details..."
-
setBarcodeInfoMappingLoadingMessage
final Unit setBarcodeInfoMappingLoadingMessage(String barcodeInfoMappingLoadingMessage)
Loading message for barcode info mapping. Default is "Loading details..."
-
getBarcodeInfoMappingErrorStateTitle
final String getBarcodeInfoMappingErrorStateTitle()
Title for the barcode info mapping error state. Default is "Connection Error!"
-
setBarcodeInfoMappingErrorStateTitle
final Unit setBarcodeInfoMappingErrorStateTitle(String barcodeInfoMappingErrorStateTitle)
Title for the barcode info mapping error state. Default is "Connection Error!"
-
getBarcodeInfoMappingErrorStateSubtitle
final String getBarcodeInfoMappingErrorStateSubtitle()
Subtitle for the barcode info mapping error state. Default is "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan."
-
setBarcodeInfoMappingErrorStateSubtitle
final Unit setBarcodeInfoMappingErrorStateSubtitle(String barcodeInfoMappingErrorStateSubtitle)
Subtitle for the barcode info mapping error state. Default is "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan."
-
getBarcodeInfoMappingErrorStateRetryButton
final String getBarcodeInfoMappingErrorStateRetryButton()
Retry button text for the barcode info mapping error state. Default is "Retry"
-
setBarcodeInfoMappingErrorStateRetryButton
final Unit setBarcodeInfoMappingErrorStateRetryButton(String barcodeInfoMappingErrorStateRetryButton)
Retry button text for the barcode info mapping error state. Default is "Retry"
-
getBarcodeInfoMappingErrorStateCancelButton
final String getBarcodeInfoMappingErrorStateCancelButton()
Cancel button text for the barcode info mapping error state. Default is "Cancel"
-
setBarcodeInfoMappingErrorStateCancelButton
final Unit setBarcodeInfoMappingErrorStateCancelButton(String barcodeInfoMappingErrorStateCancelButton)
Cancel button text for the barcode info mapping error state. Default is "Cancel"
-
getManualCountEditDialogTitle
final String getManualCountEditDialogTitle()
Title for the manual count edit dialog. Default is "Update count"
-
setManualCountEditDialogTitle
final Unit setManualCountEditDialogTitle(String manualCountEditDialogTitle)
Title for the manual count edit dialog. Default is "Update count"
-
getManualCountEditDialogInfo
final String getManualCountEditDialogInfo()
Info for the manual count edit dialog. Default is "Adjust the number of items you scanned."
-
setManualCountEditDialogInfo
final Unit setManualCountEditDialogInfo(String manualCountEditDialogInfo)
Info for the manual count edit dialog. Default is "Adjust the number of items you scanned."
-
getManualCountEditDialogUpdateButton
final String getManualCountEditDialogUpdateButton()
Update button text for the manual count edit dialog. Default is "Update"
-
setManualCountEditDialogUpdateButton
final Unit setManualCountEditDialogUpdateButton(String manualCountEditDialogUpdateButton)
Update button text for the manual count edit dialog. Default is "Update"
-
getManualCountEditDialogCancelButton
final String getManualCountEditDialogCancelButton()
Cancel button text for the manual count edit dialog. Default is "Cancel"
-
setManualCountEditDialogCancelButton
final Unit setManualCountEditDialogCancelButton(String manualCountEditDialogCancelButton)
Cancel button text for the manual count edit dialog. Default is "Cancel"
-
getSheetResetButton
final String getSheetResetButton()
Reset button text for the barcode sheet. Default is "Reset"
-
setSheetResetButton
final Unit setSheetResetButton(String sheetResetButton)
Reset button text for the barcode sheet. Default is "Reset"
-
getSheetClearAllButton
final String getSheetClearAllButton()
Clear all button text for the barcode sheet. Default is "Clear all"
-
setSheetClearAllButton
final Unit setSheetClearAllButton(String sheetClearAllButton)
Clear all button text for the barcode sheet. Default is "Clear all"
-
getSheetSubmitButton
final String getSheetSubmitButton()
Submit button text for the barcode sheet. Default is "Submit"
-
setSheetSubmitButton
final Unit setSheetSubmitButton(String sheetSubmitButton)
Submit button text for the barcode sheet. Default is "Submit"
-
getSheetStartScanningButton
final String getSheetStartScanningButton()
Start scanning button text for the barcode sheet. Default is "Start scanning"
-
setSheetStartScanningButton
final Unit setSheetStartScanningButton(String sheetStartScanningButton)
Start scanning button text for the barcode sheet. Default is "Start scanning"
-
getSheetPlaceholderTitle
final String getSheetPlaceholderTitle()
Title for the barcode sheet placeholder. Default is "No barcodes here!"
-
setSheetPlaceholderTitle
final Unit setSheetPlaceholderTitle(String sheetPlaceholderTitle)
Title for the barcode sheet placeholder. Default is "No barcodes here!"
-
getSheetPlaceholderSubtitle
final String getSheetPlaceholderSubtitle()
Subtitle for the barcode sheet placeholder. Default is "The barcode list is currently empty. Close this sheet and scan your items to add them."
-
setSheetPlaceholderSubtitle
final Unit setSheetPlaceholderSubtitle(String sheetPlaceholderSubtitle)
Subtitle for the barcode sheet placeholder. Default is "The barcode list is currently empty. Close this sheet and scan your items to add them."
-
getSingleModeConfirmationCancelButton
final String getSingleModeConfirmationCancelButton()
Cancel button text for the single mode confirmation dialog. Default is "Close"
-
setSingleModeConfirmationCancelButton
final Unit setSingleModeConfirmationCancelButton(String singleModeConfirmationCancelButton)
Cancel button text for the single mode confirmation dialog. Default is "Close"
-
getMultipleModeSheetTitle
final String getMultipleModeSheetTitle()
Title for the multiple mode barcode sheet. Default is "%d items"
-
setMultipleModeSheetTitle
final Unit setMultipleModeSheetTitle(String multipleModeSheetTitle)
Title for the multiple mode barcode sheet. Default is "%d items"
-
getFindAndPickSheetTitle
final String getFindAndPickSheetTitle()
Title for the find and pick barcode sheet. Default is "%d/%d scanned"
-
setFindAndPickSheetTitle
final Unit setFindAndPickSheetTitle(String findAndPickSheetTitle)
Title for the find and pick barcode sheet. Default is "%d/%d scanned"
-
getFindAndPickSheetBarcodeItemSubtitle
final String getFindAndPickSheetBarcodeItemSubtitle()
Subtitle for the find and pick barcode sheet. Default is "%d/%d added"
-
setFindAndPickSheetBarcodeItemSubtitle
final Unit setFindAndPickSheetBarcodeItemSubtitle(String findAndPickSheetBarcodeItemSubtitle)
Subtitle for the find and pick barcode sheet. Default is "%d/%d added"
-
getFindAndPickPartialAlertTitle
final String getFindAndPickPartialAlertTitle()
Title for the find and pick partial alert. Default is "Incomplete scan!"
-
setFindAndPickPartialAlertTitle
final Unit setFindAndPickPartialAlertTitle(String findAndPickPartialAlertTitle)
Title for the find and pick partial alert. Default is "Incomplete scan!"
-
getFindAndPickPartialAlertSubtitle
final String getFindAndPickPartialAlertSubtitle()
Subtitle for the find and pick partial alert. Default is "Some codes are yet to be scanned. Proceed with submission anyway?"
-
setFindAndPickPartialAlertSubtitle
final Unit setFindAndPickPartialAlertSubtitle(String findAndPickPartialAlertSubtitle)
Subtitle for the find and pick partial alert. Default is "Some codes are yet to be scanned. Proceed with submission anyway?"
-
getFindAndPickPartialAlertCancelButton
final String getFindAndPickPartialAlertCancelButton()
Cancel button text for the find and pick partial alert. Default is "Cancel"
-
setFindAndPickPartialAlertCancelButton
final Unit setFindAndPickPartialAlertCancelButton(String findAndPickPartialAlertCancelButton)
Cancel button text for the find and pick partial alert. Default is "Cancel"
-
getFindAndPickPartialAlertSubmitButton
final String getFindAndPickPartialAlertSubmitButton()
Submit button text for the find and pick partial alert. Default is "Yes, Submit"
-
setFindAndPickPartialAlertSubmitButton
final Unit setFindAndPickPartialAlertSubmitButton(String findAndPickPartialAlertSubmitButton)
Submit button text for the find and pick partial alert. Default is "Yes, Submit"
-
getFindAndPickCompleteAlertTitle
final String getFindAndPickCompleteAlertTitle()
Title for the find and pick complete alert. Default is "All codes found!"
-
setFindAndPickCompleteAlertTitle
final Unit setFindAndPickCompleteAlertTitle(String findAndPickCompleteAlertTitle)
Title for the find and pick complete alert. Default is "All codes found!"
-
getFindAndPickCompleteAlertSubtitle
final String getFindAndPickCompleteAlertSubtitle()
Subtitle for the find and pick complete alert. Default is "You have successfully scanned all codes. Proceed with submission?"
-
setFindAndPickCompleteAlertSubtitle
final Unit setFindAndPickCompleteAlertSubtitle(String findAndPickCompleteAlertSubtitle)
Subtitle for the find and pick complete alert. Default is "You have successfully scanned all codes. Proceed with submission?"
-
getFindAndPickCompleteAlertCancelButton
final String getFindAndPickCompleteAlertCancelButton()
Cancel button text for the find and pick complete alert. Default is "Dismiss"
-
setFindAndPickCompleteAlertCancelButton
final Unit setFindAndPickCompleteAlertCancelButton(String findAndPickCompleteAlertCancelButton)
Cancel button text for the find and pick complete alert. Default is "Dismiss"
-
getFindAndPickCompleteAlertSubmitButton
final String getFindAndPickCompleteAlertSubmitButton()
Submit button text for the find and pick complete alert. Default is "Submit"
-
setFindAndPickCompleteAlertSubmitButton
final Unit setFindAndPickCompleteAlertSubmitButton(String findAndPickCompleteAlertSubmitButton)
Submit button text for the find and pick complete alert. Default is "Submit"
-
toJson
final JSONObject toJson()
-
default
final static BarcodeTextLocalization default()
-
-
-
-