Class BatchBarcodeScannerJsonConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class BatchBarcodeScannerJsonConfiguration implements Parcelable
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BatchBarcodeScannerJsonConfiguration(String version, String screen, List<JsonBarcodeDocumentFormat> acceptedDocumentFormats, JsonBarcodesExtensionFilter barcodesExtensionFilter, JsonColor cameraOverlayColor, JsonCameraModule cameraModule, Double cameraZoomFactor, JsonZoomRange cameraZoomRange, String cancelButtonTitle, JsonEngineMode engineMode, JsonColor finderLineColor, Double finderLineWidth, String finderTextHint, JsonColor finderTextHintColor, JsonAspectRatio finderAspectRatio, Boolean flashEnabled, Boolean touchToFocusEnabled, JsonOrientationLockMode orientationLockMode, Integer minimumTextLength, Integer maximumTextLength, Integer minimum1DBarcodesQuietZone, Boolean minFocusDistanceLock, Boolean stripCheckDigits, Boolean useIATA2OF5Checksum, Boolean useCode11Checksum, Boolean successBeepEnabled, JsonColor topBarBackgroundColor, JsonColor topBarButtonsColor, JsonColor topBarButtonsInactiveColor, List<JsonBarcodeFormat> barcodeFormats, Boolean useButtonsAllCaps, JsonGs1HandlingMode gs1HandlingMode, JsonMSIPlesseyChecksumAlgorithm msiPlesseyChecksumAlgorithm, JsonAustraliaPostCustomerFormat australiaPostCustomerFormat, Boolean lowPowerMode, String barcodesCountText, JsonColor barcodesCountTextColor, String clearButtonTitle, JsonColor detailsActionColor, JsonColor detailsBackgroundColor, JsonColor detailsPrimaryColor, String enableCameraButtonTitle, String enableCameraExplanationText, String fetchingStateText, String noBarcodesTitle, String submitButtonTitle, Boolean replaceCancelButtonWithIcon, JsonCameraPreviewMode cameraPreviewMode, Integer autoCancelTimeout, Double initialScanningDelay, Boolean viewFinderEnabled, JsonSelectionOverlayConfiguration overlayConfiguration)
-
Method Summary
Modifier and Type Method Description final StringgetVersion()A version of the configuration object final UnitsetVersion(String version)A version of the configuration object final StringgetScreen()The configuration object should be applied for this screen final UnitsetScreen(String screen)The configuration object should be applied for this screen final List<JsonBarcodeDocumentFormat>getAcceptedDocumentFormats()An optional array of barcode document formats that act as a detection filter. final UnitsetAcceptedDocumentFormats(List<JsonBarcodeDocumentFormat> acceptedDocumentFormats)An optional array of barcode document formats that act as a detection filter. final JsonBarcodesExtensionFiltergetBarcodesExtensionFilter()The extension filter for EAN and UPC barcodes. final UnitsetBarcodesExtensionFilter(JsonBarcodesExtensionFilter barcodesExtensionFilter)The extension filter for EAN and UPC barcodes. final JsonColorgetCameraOverlayColor()Background color of the detection overlay. final UnitsetCameraOverlayColor(JsonColor cameraOverlayColor)Background color of the detection overlay. final JsonCameraModulegetCameraModule()Background color of the detection overlay. final UnitsetCameraModule(JsonCameraModule cameraModule)Background color of the detection overlay. final DoublegetCameraZoomFactor()The relative initial zoom level of the camera in the range (0,1), where 0 is zoomed out and 1 is zoomed in. final UnitsetCameraZoomFactor(Double cameraZoomFactor)The relative initial zoom level of the camera in the range (0,1), where 0 is zoomed out and 1 is zoomed in. final JsonZoomRangegetCameraZoomRange()The range of valid camera zoom factors. final UnitsetCameraZoomRange(JsonZoomRange cameraZoomRange)The range of valid camera zoom factors. final StringgetCancelButtonTitle()String being displayed on the cancel button. final UnitsetCancelButtonTitle(String cancelButtonTitle)String being displayed on the cancel button. final JsonEngineModegetEngineMode()The engine mode to be used for barcode scanning. final UnitsetEngineMode(JsonEngineMode engineMode)The engine mode to be used for barcode scanning. final JsonColorgetFinderLineColor()Foreground color of the detection overlay. final UnitsetFinderLineColor(JsonColor finderLineColor)Foreground color of the detection overlay. final DoublegetFinderLineWidth()Width of finder frame border. final UnitsetFinderLineWidth(Double finderLineWidth)Width of finder frame border. final StringgetFinderTextHint()String being displayed as description. final UnitsetFinderTextHint(String finderTextHint)String being displayed as description. final JsonColorgetFinderTextHintColor()Foreground color of the description label. final UnitsetFinderTextHintColor(JsonColor finderTextHintColor)Foreground color of the description label. final JsonAspectRatiogetFinderAspectRatio()Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. final UnitsetFinderAspectRatio(JsonAspectRatio finderAspectRatio)Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. final BooleangetFlashEnabled()Whether flash is toggled on or off. final UnitsetFlashEnabled(Boolean flashEnabled)Whether flash is toggled on or off. final BooleangetTouchToFocusEnabled()Whether touch-to-focus is enabled on camera preview. final UnitsetTouchToFocusEnabled(Boolean touchToFocusEnabled)Whether touch-to-focus is enabled on camera preview. final JsonOrientationLockModegetOrientationLockMode()UI Interface orientation lock mode final UnitsetOrientationLockMode(JsonOrientationLockMode orientationLockMode)UI Interface orientation lock mode final IntegergetMinimumTextLength()Optional minimum required text length of the detected barcode. final UnitsetMinimumTextLength(Integer minimumTextLength)Optional minimum required text length of the detected barcode. final IntegergetMaximumTextLength()Optional maximum text length of the detected barcode. final UnitsetMaximumTextLength(Integer maximumTextLength)Optional maximum text length of the detected barcode. final IntegergetMinimum1DBarcodesQuietZone()Optional minimum required quiet zone on the barcode. final UnitsetMinimum1DBarcodesQuietZone(Integer minimum1DBarcodesQuietZone)Optional minimum required quiet zone on the barcode. final BooleangetMinFocusDistanceLock()Lock focus distance withing minimum possible range final UnitsetMinFocusDistanceLock(Boolean minFocusDistanceLock)Lock focus distance withing minimum possible range final BooleangetStripCheckDigits()With this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. final UnitsetStripCheckDigits(Boolean stripCheckDigits)With this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. final BooleangetUseIATA2OF5Checksum()If true, the optional check digit for IATA_2_OF_5 codes is used in validation.final UnitsetUseIATA2OF5Checksum(Boolean useIATA2OF5Checksum)If true, the optional check digit for IATA_2_OF_5 codes is used in validation.final BooleangetUseCode11Checksum()If true, the optional check digit for CODE_11 codes is used in validation.final UnitsetUseCode11Checksum(Boolean useCode11Checksum)If true, the optional check digit for CODE_11 codes is used in validation.final BooleangetSuccessBeepEnabled()Whether scanner screen should make a sound on successful barcode or MRZ detection. final UnitsetSuccessBeepEnabled(Boolean successBeepEnabled)Whether scanner screen should make a sound on successful barcode or MRZ detection. final JsonColorgetTopBarBackgroundColor()Background color of the top bar. final UnitsetTopBarBackgroundColor(JsonColor topBarBackgroundColor)Background color of the top bar. final JsonColorgetTopBarButtonsColor()Foreground color of the cancel button. final UnitsetTopBarButtonsColor(JsonColor topBarButtonsColor)Foreground color of the cancel button. final JsonColorgetTopBarButtonsInactiveColor()Foreground color of the top bar buttons when disabled. final UnitsetTopBarButtonsInactiveColor(JsonColor topBarButtonsInactiveColor)Foreground color of the top bar buttons when disabled. final List<JsonBarcodeFormat>getBarcodeFormats()Accepted barcode formats final UnitsetBarcodeFormats(List<JsonBarcodeFormat> barcodeFormats)Accepted barcode formats final BooleangetUseButtonsAllCaps()Controls whether buttons should use all capitals style, as defined by the Android Material Design. final UnitsetUseButtonsAllCaps(Boolean useButtonsAllCaps)Controls whether buttons should use all capitals style, as defined by the Android Material Design. final JsonGs1HandlingModegetGs1HandlingMode()The GS1 handling mode. final UnitsetGs1HandlingMode(JsonGs1HandlingMode gs1HandlingMode)The GS1 handling mode. final JsonMSIPlesseyChecksumAlgorithmgetMsiPlesseyChecksumAlgorithm()The checksum algorithm for MSI Plessey barcodes. final UnitsetMsiPlesseyChecksumAlgorithm(JsonMSIPlesseyChecksumAlgorithm msiPlesseyChecksumAlgorithm)The checksum algorithm for MSI Plessey barcodes. final JsonAustraliaPostCustomerFormatgetAustraliaPostCustomerFormat()The customer format used in AUSTRALIA_POST codes. final UnitsetAustraliaPostCustomerFormat(JsonAustraliaPostCustomerFormat australiaPostCustomerFormat)The customer format used in AUSTRALIA_POST codes. final BooleangetLowPowerMode()If true, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed.final UnitsetLowPowerMode(Boolean lowPowerMode)If true, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed.final StringgetBarcodesCountText()The color for barcodes count text final UnitsetBarcodesCountText(String barcodesCountText)The color for barcodes count text final JsonColorgetBarcodesCountTextColor()The color for barcodes count text final UnitsetBarcodesCountTextColor(JsonColor barcodesCountTextColor)The color for barcodes count text final StringgetClearButtonTitle()Text of the button which clears the list of scanned barcodes. final UnitsetClearButtonTitle(String clearButtonTitle)Text of the button which clears the list of scanned barcodes. final JsonColorgetDetailsActionColor()The color of Submit button final UnitsetDetailsActionColor(JsonColor detailsActionColor)The color of Submit button final JsonColorgetDetailsBackgroundColor()The color of bottom sheet final UnitsetDetailsBackgroundColor(JsonColor detailsBackgroundColor)The color of bottom sheet final JsonColorgetDetailsPrimaryColor()The color of text elements in bottom sheet final UnitsetDetailsPrimaryColor(JsonColor detailsPrimaryColor)The color of text elements in bottom sheet final StringgetEnableCameraButtonTitle()Title of the button that opens the screen where the user can allow the usage of the camera by the app. final UnitsetEnableCameraButtonTitle(String enableCameraButtonTitle)Title of the button that opens the screen where the user can allow the usage of the camera by the app. final StringgetEnableCameraExplanationText()Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. final UnitsetEnableCameraExplanationText(String enableCameraExplanationText)Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera. final StringgetFetchingStateText()The text for the data fetching state of the barcode item in a list. final UnitsetFetchingStateText(String fetchingStateText)The text for the data fetching state of the barcode item in a list. final StringgetNoBarcodesTitle()Text of the message that there are no barcodes scanned final UnitsetNoBarcodesTitle(String noBarcodesTitle)Text of the message that there are no barcodes scanned final StringgetSubmitButtonTitle()Text of the button which finishes the flow final UnitsetSubmitButtonTitle(String submitButtonTitle)Text of the button which finishes the flow final BooleangetReplaceCancelButtonWithIcon()If true, replaces the cancel button in the top bar with a back arrow icon.final UnitsetReplaceCancelButtonWithIcon(Boolean replaceCancelButtonWithIcon)If true, replaces the cancel button in the top bar with a back arrow icon.final JsonCameraPreviewModegetCameraPreviewMode()Preview mode of the camera. final UnitsetCameraPreviewMode(JsonCameraPreviewMode cameraPreviewMode)Preview mode of the camera. final IntegergetAutoCancelTimeout()Sets auto close timer in seconds. final UnitsetAutoCancelTimeout(Integer autoCancelTimeout)Sets auto close timer in seconds. final DoublegetInitialScanningDelay()Scanning delay after scanner appearance in seconds. final UnitsetInitialScanningDelay(Double initialScanningDelay)Scanning delay after scanner appearance in seconds. final BooleangetViewFinderEnabled()Display the region of interest. final UnitsetViewFinderEnabled(Boolean viewFinderEnabled)Display the region of interest. final JsonSelectionOverlayConfigurationgetOverlayConfiguration()The selection overay configuration. final UnitsetOverlayConfiguration(JsonSelectionOverlayConfiguration overlayConfiguration)The selection overay configuration. -
-
Constructor Detail
-
BatchBarcodeScannerJsonConfiguration
BatchBarcodeScannerJsonConfiguration(String version, String screen, List<JsonBarcodeDocumentFormat> acceptedDocumentFormats, JsonBarcodesExtensionFilter barcodesExtensionFilter, JsonColor cameraOverlayColor, JsonCameraModule cameraModule, Double cameraZoomFactor, JsonZoomRange cameraZoomRange, String cancelButtonTitle, JsonEngineMode engineMode, JsonColor finderLineColor, Double finderLineWidth, String finderTextHint, JsonColor finderTextHintColor, JsonAspectRatio finderAspectRatio, Boolean flashEnabled, Boolean touchToFocusEnabled, JsonOrientationLockMode orientationLockMode, Integer minimumTextLength, Integer maximumTextLength, Integer minimum1DBarcodesQuietZone, Boolean minFocusDistanceLock, Boolean stripCheckDigits, Boolean useIATA2OF5Checksum, Boolean useCode11Checksum, Boolean successBeepEnabled, JsonColor topBarBackgroundColor, JsonColor topBarButtonsColor, JsonColor topBarButtonsInactiveColor, List<JsonBarcodeFormat> barcodeFormats, Boolean useButtonsAllCaps, JsonGs1HandlingMode gs1HandlingMode, JsonMSIPlesseyChecksumAlgorithm msiPlesseyChecksumAlgorithm, JsonAustraliaPostCustomerFormat australiaPostCustomerFormat, Boolean lowPowerMode, String barcodesCountText, JsonColor barcodesCountTextColor, String clearButtonTitle, JsonColor detailsActionColor, JsonColor detailsBackgroundColor, JsonColor detailsPrimaryColor, String enableCameraButtonTitle, String enableCameraExplanationText, String fetchingStateText, String noBarcodesTitle, String submitButtonTitle, Boolean replaceCancelButtonWithIcon, JsonCameraPreviewMode cameraPreviewMode, Integer autoCancelTimeout, Double initialScanningDelay, Boolean viewFinderEnabled, JsonSelectionOverlayConfiguration overlayConfiguration)
-
-
Method Detail
-
getVersion
final String getVersion()
A version of the configuration object
-
setVersion
final Unit setVersion(String version)
A version of the configuration object
-
setScreen
final Unit setScreen(String screen)
The configuration object should be applied for this screen
-
getAcceptedDocumentFormats
final List<JsonBarcodeDocumentFormat> getAcceptedDocumentFormats()
An optional array of barcode document formats that act as a detection filter. By default all supported document formats will be detected.
-
setAcceptedDocumentFormats
final Unit setAcceptedDocumentFormats(List<JsonBarcodeDocumentFormat> acceptedDocumentFormats)
An optional array of barcode document formats that act as a detection filter. By default all supported document formats will be detected.
-
getBarcodesExtensionFilter
final JsonBarcodesExtensionFilter getBarcodesExtensionFilter()
The extension filter for EAN and UPC barcodes.
-
setBarcodesExtensionFilter
final Unit setBarcodesExtensionFilter(JsonBarcodesExtensionFilter barcodesExtensionFilter)
The extension filter for EAN and UPC barcodes.
-
getCameraOverlayColor
final JsonColor getCameraOverlayColor()
Background color of the detection overlay.
-
setCameraOverlayColor
final Unit setCameraOverlayColor(JsonColor cameraOverlayColor)
Background color of the detection overlay.
-
getCameraModule
final JsonCameraModule getCameraModule()
Background color of the detection overlay.
-
setCameraModule
final Unit setCameraModule(JsonCameraModule cameraModule)
Background color of the detection overlay.
-
getCameraZoomFactor
final Double getCameraZoomFactor()
The relative initial zoom level of the camera in the range (0,1), where 0 is zoomed out and 1 is zoomed in. The default value is 0.
-
setCameraZoomFactor
final Unit setCameraZoomFactor(Double cameraZoomFactor)
The relative initial zoom level of the camera in the range (0,1), where 0 is zoomed out and 1 is zoomed in. The default value is 0.
-
getCameraZoomRange
final JsonZoomRange getCameraZoomRange()
The range of valid camera zoom factors. Default value is (1.0; 12.0).
-
setCameraZoomRange
final Unit setCameraZoomRange(JsonZoomRange cameraZoomRange)
The range of valid camera zoom factors. Default value is (1.0; 12.0).
-
getCancelButtonTitle
final String getCancelButtonTitle()
String being displayed on the cancel button.
-
setCancelButtonTitle
final Unit setCancelButtonTitle(String cancelButtonTitle)
String being displayed on the cancel button.
-
getEngineMode
final JsonEngineMode getEngineMode()
The engine mode to be used for barcode scanning. The default value is NEXT_GEN.
-
setEngineMode
final Unit setEngineMode(JsonEngineMode engineMode)
The engine mode to be used for barcode scanning. The default value is NEXT_GEN.
-
getFinderLineColor
final JsonColor getFinderLineColor()
Foreground color of the detection overlay.
-
setFinderLineColor
final Unit setFinderLineColor(JsonColor finderLineColor)
Foreground color of the detection overlay.
-
getFinderLineWidth
final Double getFinderLineWidth()
Width of finder frame border. Default is 2.
-
setFinderLineWidth
final Unit setFinderLineWidth(Double finderLineWidth)
Width of finder frame border. Default is 2.
-
getFinderTextHint
final String getFinderTextHint()
String being displayed as description.
-
setFinderTextHint
final Unit setFinderTextHint(String finderTextHint)
String being displayed as description.
-
getFinderTextHintColor
final JsonColor getFinderTextHintColor()
Foreground color of the description label.
-
setFinderTextHintColor
final Unit setFinderTextHintColor(JsonColor finderTextHintColor)
Foreground color of the description label.
-
getFinderAspectRatio
final JsonAspectRatio getFinderAspectRatio()
Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 1 - it is a square frame, which is good for QR capturing.
-
setFinderAspectRatio
final Unit setFinderAspectRatio(JsonAspectRatio finderAspectRatio)
Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 1 - it is a square frame, which is good for QR capturing.
-
getFlashEnabled
final Boolean getFlashEnabled()
Whether flash is toggled on or off.
-
setFlashEnabled
final Unit setFlashEnabled(Boolean flashEnabled)
Whether flash is toggled on or off.
-
getTouchToFocusEnabled
final Boolean getTouchToFocusEnabled()
Whether touch-to-focus is enabled on camera preview. Enabled by default. Android only.
-
setTouchToFocusEnabled
final Unit setTouchToFocusEnabled(Boolean touchToFocusEnabled)
Whether touch-to-focus is enabled on camera preview. Enabled by default. Android only.
-
getOrientationLockMode
final JsonOrientationLockMode getOrientationLockMode()
UI Interface orientation lock mode
-
setOrientationLockMode
final Unit setOrientationLockMode(JsonOrientationLockMode orientationLockMode)
UI Interface orientation lock mode
-
getMinimumTextLength
final Integer getMinimumTextLength()
Optional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
-
setMinimumTextLength
final Unit setMinimumTextLength(Integer minimumTextLength)
Optional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
-
getMaximumTextLength
final Integer getMaximumTextLength()
Optional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
-
setMaximumTextLength
final Unit setMaximumTextLength(Integer maximumTextLength)
Optional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
-
getMinimum1DBarcodesQuietZone
final Integer getMinimum1DBarcodesQuietZone()
Optional minimum required quiet zone on the barcode. Measured in modules (the size of minimal bar on the barcode). The default is 10. NOTE - This feature works on ITF barcodes only.
-
setMinimum1DBarcodesQuietZone
final Unit setMinimum1DBarcodesQuietZone(Integer minimum1DBarcodesQuietZone)
Optional minimum required quiet zone on the barcode. Measured in modules (the size of minimal bar on the barcode). The default is 10. NOTE - This feature works on ITF barcodes only.
-
getMinFocusDistanceLock
final Boolean getMinFocusDistanceLock()
Lock focus distance withing minimum possible range
-
setMinFocusDistanceLock
final Unit setMinFocusDistanceLock(Boolean minFocusDistanceLock)
Lock focus distance withing minimum possible range
-
getStripCheckDigits
final Boolean getStripCheckDigits()
With this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is
false
-
setStripCheckDigits
final Unit setStripCheckDigits(Boolean stripCheckDigits)
With this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is
false
-
getUseIATA2OF5Checksum
final Boolean getUseIATA2OF5Checksum()
If
true, the optional check digit for IATA_2_OF_5 codes is used in validation. The default istrue.
-
setUseIATA2OF5Checksum
final Unit setUseIATA2OF5Checksum(Boolean useIATA2OF5Checksum)
If
true, the optional check digit for IATA_2_OF_5 codes is used in validation. The default istrue.
-
getUseCode11Checksum
final Boolean getUseCode11Checksum()
If
true, the optional check digit for CODE_11 codes is used in validation. The default istrue.
-
setUseCode11Checksum
final Unit setUseCode11Checksum(Boolean useCode11Checksum)
If
true, the optional check digit for CODE_11 codes is used in validation. The default istrue.
-
getSuccessBeepEnabled
final Boolean getSuccessBeepEnabled()
Whether scanner screen should make a sound on successful barcode or MRZ detection.
-
setSuccessBeepEnabled
final Unit setSuccessBeepEnabled(Boolean successBeepEnabled)
Whether scanner screen should make a sound on successful barcode or MRZ detection.
-
getTopBarBackgroundColor
final JsonColor getTopBarBackgroundColor()
Background color of the top bar.
-
setTopBarBackgroundColor
final Unit setTopBarBackgroundColor(JsonColor topBarBackgroundColor)
Background color of the top bar.
-
getTopBarButtonsColor
final JsonColor getTopBarButtonsColor()
Foreground color of the cancel button.
-
setTopBarButtonsColor
final Unit setTopBarButtonsColor(JsonColor topBarButtonsColor)
Foreground color of the cancel button.
-
getTopBarButtonsInactiveColor
final JsonColor getTopBarButtonsInactiveColor()
Foreground color of the top bar buttons when disabled.
-
setTopBarButtonsInactiveColor
final Unit setTopBarButtonsInactiveColor(JsonColor topBarButtonsInactiveColor)
Foreground color of the top bar buttons when disabled.
-
getBarcodeFormats
final List<JsonBarcodeFormat> getBarcodeFormats()
Accepted barcode formats
-
setBarcodeFormats
final Unit setBarcodeFormats(List<JsonBarcodeFormat> barcodeFormats)
Accepted barcode formats
-
getUseButtonsAllCaps
final Boolean getUseButtonsAllCaps()
Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
-
setUseButtonsAllCaps
final Unit setUseButtonsAllCaps(Boolean useButtonsAllCaps)
Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
-
getGs1HandlingMode
final JsonGs1HandlingMode getGs1HandlingMode()
The GS1 handling mode. The default value is PARSE.
-
setGs1HandlingMode
final Unit setGs1HandlingMode(JsonGs1HandlingMode gs1HandlingMode)
The GS1 handling mode. The default value is PARSE.
-
getMsiPlesseyChecksumAlgorithm
final JsonMSIPlesseyChecksumAlgorithm getMsiPlesseyChecksumAlgorithm()
The checksum algorithm for MSI Plessey barcodes. The default value is MOD_10.
-
setMsiPlesseyChecksumAlgorithm
final Unit setMsiPlesseyChecksumAlgorithm(JsonMSIPlesseyChecksumAlgorithm msiPlesseyChecksumAlgorithm)
The checksum algorithm for MSI Plessey barcodes. The default value is MOD_10.
-
getAustraliaPostCustomerFormat
final JsonAustraliaPostCustomerFormat getAustraliaPostCustomerFormat()
The customer format used in AUSTRALIA_POST codes. Only relevant for format codes 59 and 62. The default value is
ALPHA_NUMERIC.
-
setAustraliaPostCustomerFormat
final Unit setAustraliaPostCustomerFormat(JsonAustraliaPostCustomerFormat australiaPostCustomerFormat)
The customer format used in AUSTRALIA_POST codes. Only relevant for format codes 59 and 62. The default value is
ALPHA_NUMERIC.
-
getLowPowerMode
final Boolean getLowPowerMode()
If
true, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed. Iffalse- mode is disabled. The default isfalse. Android only.
-
setLowPowerMode
final Unit setLowPowerMode(Boolean lowPowerMode)
If
true, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed. Iffalse- mode is disabled. The default isfalse. Android only.
-
getBarcodesCountText
final String getBarcodesCountText()
The color for barcodes count text
-
setBarcodesCountText
final Unit setBarcodesCountText(String barcodesCountText)
The color for barcodes count text
-
getBarcodesCountTextColor
final JsonColor getBarcodesCountTextColor()
The color for barcodes count text
-
setBarcodesCountTextColor
final Unit setBarcodesCountTextColor(JsonColor barcodesCountTextColor)
The color for barcodes count text
-
getClearButtonTitle
final String getClearButtonTitle()
Text of the button which clears the list of scanned barcodes.
-
setClearButtonTitle
final Unit setClearButtonTitle(String clearButtonTitle)
Text of the button which clears the list of scanned barcodes.
-
getDetailsActionColor
final JsonColor getDetailsActionColor()
The color of Submit button
-
setDetailsActionColor
final Unit setDetailsActionColor(JsonColor detailsActionColor)
The color of Submit button
-
getDetailsBackgroundColor
final JsonColor getDetailsBackgroundColor()
The color of bottom sheet
-
setDetailsBackgroundColor
final Unit setDetailsBackgroundColor(JsonColor detailsBackgroundColor)
The color of bottom sheet
-
getDetailsPrimaryColor
final JsonColor getDetailsPrimaryColor()
The color of text elements in bottom sheet
-
setDetailsPrimaryColor
final Unit setDetailsPrimaryColor(JsonColor detailsPrimaryColor)
The color of text elements in bottom sheet
-
getEnableCameraButtonTitle
final String getEnableCameraButtonTitle()
Title of the button that opens the screen where the user can allow the usage of the camera by the app.
-
setEnableCameraButtonTitle
final Unit setEnableCameraButtonTitle(String enableCameraButtonTitle)
Title of the button that opens the screen where the user can allow the usage of the camera by the app.
-
getEnableCameraExplanationText
final String getEnableCameraExplanationText()
Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
-
setEnableCameraExplanationText
final Unit setEnableCameraExplanationText(String enableCameraExplanationText)
Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
-
getFetchingStateText
final String getFetchingStateText()
The text for the data fetching state of the barcode item in a list. Smth "Fetching info…"
-
setFetchingStateText
final Unit setFetchingStateText(String fetchingStateText)
The text for the data fetching state of the barcode item in a list. Smth "Fetching info…"
-
getNoBarcodesTitle
final String getNoBarcodesTitle()
Text of the message that there are no barcodes scanned
-
setNoBarcodesTitle
final Unit setNoBarcodesTitle(String noBarcodesTitle)
Text of the message that there are no barcodes scanned
-
getSubmitButtonTitle
final String getSubmitButtonTitle()
Text of the button which finishes the flow
-
setSubmitButtonTitle
final Unit setSubmitButtonTitle(String submitButtonTitle)
Text of the button which finishes the flow
-
getReplaceCancelButtonWithIcon
final Boolean getReplaceCancelButtonWithIcon()
If
true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
-
setReplaceCancelButtonWithIcon
final Unit setReplaceCancelButtonWithIcon(Boolean replaceCancelButtonWithIcon)
If
true, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
-
getCameraPreviewMode
final JsonCameraPreviewMode getCameraPreviewMode()
Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
-
setCameraPreviewMode
final Unit setCameraPreviewMode(JsonCameraPreviewMode cameraPreviewMode)
Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
-
getAutoCancelTimeout
final Integer getAutoCancelTimeout()
Sets auto close timer in seconds. 0 = disabled and it is the default value. Android only
-
setAutoCancelTimeout
final Unit setAutoCancelTimeout(Integer autoCancelTimeout)
Sets auto close timer in seconds. 0 = disabled and it is the default value. Android only
-
getInitialScanningDelay
final Double getInitialScanningDelay()
Scanning delay after scanner appearance in seconds. Defaults to 0 secs.
-
setInitialScanningDelay
final Unit setInitialScanningDelay(Double initialScanningDelay)
Scanning delay after scanner appearance in seconds. Defaults to 0 secs.
-
getViewFinderEnabled
final Boolean getViewFinderEnabled()
Display the region of interest. The default value is TRUE.
-
setViewFinderEnabled
final Unit setViewFinderEnabled(Boolean viewFinderEnabled)
Display the region of interest. The default value is TRUE.
-
getOverlayConfiguration
final JsonSelectionOverlayConfiguration getOverlayConfiguration()
The selection overay configuration.
-
setOverlayConfiguration
final Unit setOverlayConfiguration(JsonSelectionOverlayConfiguration overlayConfiguration)
The selection overay configuration.
-
-
-
-