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 initialScanDelay, Boolean viewFinderEnabled, JsonSelectionOverlayConfiguration overlayConfiguration)
-
Method Summary
Modifier and Type Method Description final String
getVersion()
A version of the configuration object final Unit
setVersion(String version)
A version of the configuration object final String
getScreen()
The configuration object should be applied for this screen final Unit
setScreen(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 Unit
setAcceptedDocumentFormats(List<JsonBarcodeDocumentFormat> acceptedDocumentFormats)
An optional array of barcode document formats that act as a detection filter. final JsonBarcodesExtensionFilter
getBarcodesExtensionFilter()
The extension filter for EAN and UPC barcodes. final Unit
setBarcodesExtensionFilter(JsonBarcodesExtensionFilter barcodesExtensionFilter)
The extension filter for EAN and UPC barcodes. final JsonColor
getCameraOverlayColor()
Background color of the detection overlay. final Unit
setCameraOverlayColor(JsonColor cameraOverlayColor)
Background color of the detection overlay. final JsonCameraModule
getCameraModule()
Background color of the detection overlay. final Unit
setCameraModule(JsonCameraModule cameraModule)
Background color of the detection overlay. 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. 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. final JsonZoomRange
getCameraZoomRange()
The range of valid camera zoom factors. final Unit
setCameraZoomRange(JsonZoomRange cameraZoomRange)
The range of valid camera zoom factors. final String
getCancelButtonTitle()
String being displayed on the cancel button. final Unit
setCancelButtonTitle(String cancelButtonTitle)
String being displayed on the cancel button. final JsonEngineMode
getEngineMode()
The engine mode to be used for barcode scanning. final Unit
setEngineMode(JsonEngineMode engineMode)
The engine mode to be used for barcode scanning. final JsonColor
getFinderLineColor()
Foreground color of the detection overlay. final Unit
setFinderLineColor(JsonColor finderLineColor)
Foreground color of the detection overlay. final Double
getFinderLineWidth()
Width of finder frame border. final Unit
setFinderLineWidth(Double finderLineWidth)
Width of finder frame border. final String
getFinderTextHint()
String being displayed as description. final Unit
setFinderTextHint(String finderTextHint)
String being displayed as description. final JsonColor
getFinderTextHintColor()
Foreground color of the description label. final Unit
setFinderTextHintColor(JsonColor finderTextHintColor)
Foreground color of the description label. final JsonAspectRatio
getFinderAspectRatio()
Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. final Unit
setFinderAspectRatio(JsonAspectRatio finderAspectRatio)
Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. final Boolean
getFlashEnabled()
Whether flash is toggled on or off. final Unit
setFlashEnabled(Boolean flashEnabled)
Whether flash is toggled on or off. final Boolean
getTouchToFocusEnabled()
Whether touch-to-focus is enabled on camera preview. final Unit
setTouchToFocusEnabled(Boolean touchToFocusEnabled)
Whether touch-to-focus is enabled on camera preview. final JsonOrientationLockMode
getOrientationLockMode()
UI Interface orientation lock mode final Unit
setOrientationLockMode(JsonOrientationLockMode orientationLockMode)
UI Interface orientation lock mode final Integer
getMinimumTextLength()
Optional minimum required text length of the detected barcode. final Unit
setMinimumTextLength(Integer minimumTextLength)
Optional minimum required text length of the detected barcode. final Integer
getMaximumTextLength()
Optional maximum text length of the detected barcode. final Unit
setMaximumTextLength(Integer maximumTextLength)
Optional maximum text length of the detected barcode. final Integer
getMinimum1DBarcodesQuietZone()
Optional minimum required quiet zone on the barcode. final Unit
setMinimum1DBarcodesQuietZone(Integer minimum1DBarcodesQuietZone)
Optional minimum required quiet zone on the barcode. final Boolean
getMinFocusDistanceLock()
Lock focus distance withing minimum possible range final Unit
setMinFocusDistanceLock(Boolean minFocusDistanceLock)
Lock focus distance withing minimum possible range final Boolean
getStripCheckDigits()
With this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. final Unit
setStripCheckDigits(Boolean stripCheckDigits)
With this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. final Boolean
getUseIATA2OF5Checksum()
If true
, the optional check digit for IATA_2_OF_5 codes is used in validation.final Unit
setUseIATA2OF5Checksum(Boolean useIATA2OF5Checksum)
If true
, the optional check digit for IATA_2_OF_5 codes is used in validation.final Boolean
getUseCode11Checksum()
If true
, the optional check digit for CODE_11 codes is used in validation.final Unit
setUseCode11Checksum(Boolean useCode11Checksum)
If true
, the optional check digit for CODE_11 codes is used in validation.final Boolean
getSuccessBeepEnabled()
Whether scanner screen should make a sound on successful barcode or MRZ detection. final Unit
setSuccessBeepEnabled(Boolean successBeepEnabled)
Whether scanner screen should make a sound on successful barcode or MRZ detection. final JsonColor
getTopBarBackgroundColor()
Background color of the top bar. final Unit
setTopBarBackgroundColor(JsonColor topBarBackgroundColor)
Background color of the top bar. final JsonColor
getTopBarButtonsColor()
Foreground color of the cancel button. final Unit
setTopBarButtonsColor(JsonColor topBarButtonsColor)
Foreground color of the cancel button. final JsonColor
getTopBarButtonsInactiveColor()
Foreground color of the top bar buttons when disabled. final Unit
setTopBarButtonsInactiveColor(JsonColor topBarButtonsInactiveColor)
Foreground color of the top bar buttons when disabled. final List<JsonBarcodeFormat>
getBarcodeFormats()
Accepted barcode formats final Unit
setBarcodeFormats(List<JsonBarcodeFormat> barcodeFormats)
Accepted barcode formats final Boolean
getUseButtonsAllCaps()
Controls whether buttons should use all capitals style, as defined by the Android Material Design. final Unit
setUseButtonsAllCaps(Boolean useButtonsAllCaps)
Controls whether buttons should use all capitals style, as defined by the Android Material Design. final JsonGs1HandlingMode
getGs1HandlingMode()
The GS1 handling mode. final Unit
setGs1HandlingMode(JsonGs1HandlingMode gs1HandlingMode)
The GS1 handling mode. final JsonMSIPlesseyChecksumAlgorithm
getMsiPlesseyChecksumAlgorithm()
The checksum algorithm for MSI Plessey barcodes. final Unit
setMsiPlesseyChecksumAlgorithm(JsonMSIPlesseyChecksumAlgorithm msiPlesseyChecksumAlgorithm)
The checksum algorithm for MSI Plessey barcodes. final JsonAustraliaPostCustomerFormat
getAustraliaPostCustomerFormat()
The customer format used in AUSTRALIA_POST codes. final Unit
setAustraliaPostCustomerFormat(JsonAustraliaPostCustomerFormat australiaPostCustomerFormat)
The customer format used in AUSTRALIA_POST codes. final Boolean
getLowPowerMode()
If true
, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed.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.final String
getBarcodesCountText()
The color for barcodes count text final Unit
setBarcodesCountText(String barcodesCountText)
The color for barcodes count text final JsonColor
getBarcodesCountTextColor()
The color for barcodes count text final Unit
setBarcodesCountTextColor(JsonColor barcodesCountTextColor)
The color for barcodes count text final String
getClearButtonTitle()
Text of the button which clears the list of scanned barcodes. final Unit
setClearButtonTitle(String clearButtonTitle)
Text of the button which clears the list of scanned barcodes. final JsonColor
getDetailsActionColor()
The color of Submit button final Unit
setDetailsActionColor(JsonColor detailsActionColor)
The color of Submit button final JsonColor
getDetailsBackgroundColor()
The color of bottom sheet final Unit
setDetailsBackgroundColor(JsonColor detailsBackgroundColor)
The color of bottom sheet final JsonColor
getDetailsPrimaryColor()
The color of text elements in bottom sheet final Unit
setDetailsPrimaryColor(JsonColor detailsPrimaryColor)
The color of text elements in bottom sheet final String
getEnableCameraButtonTitle()
Title of the button that opens the screen where the user can allow the usage of the camera by the app. 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. 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. 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. final String
getFetchingStateText()
The text for the data fetching state of the barcode item in a list. final Unit
setFetchingStateText(String fetchingStateText)
The text for the data fetching state of the barcode item in a list. final String
getNoBarcodesTitle()
Text of the message that there are no barcodes scanned final Unit
setNoBarcodesTitle(String noBarcodesTitle)
Text of the message that there are no barcodes scanned final String
getSubmitButtonTitle()
Text of the button which finishes the flow final Unit
setSubmitButtonTitle(String submitButtonTitle)
Text of the button which finishes the flow final Boolean
getReplaceCancelButtonWithIcon()
If true
, replaces the cancel button in the top bar with a back arrow icon.final Unit
setReplaceCancelButtonWithIcon(Boolean replaceCancelButtonWithIcon)
If true
, replaces the cancel button in the top bar with a back arrow icon.final JsonCameraPreviewMode
getCameraPreviewMode()
Preview mode of the camera. final Unit
setCameraPreviewMode(JsonCameraPreviewMode cameraPreviewMode)
Preview mode of the camera. final Integer
getAutoCancelTimeout()
Sets auto close timer in seconds. final Unit
setAutoCancelTimeout(Integer autoCancelTimeout)
Sets auto close timer in seconds. final Double
getInitialScanDelay()
Scanning delay after scanner appearance in seconds. final Unit
setInitialScanDelay(Double initialScanDelay)
Scanning delay after scanner appearance in seconds. final Boolean
getViewFinderEnabled()
Display the region of interest. final Unit
setViewFinderEnabled(Boolean viewFinderEnabled)
Display the region of interest. final JsonSelectionOverlayConfiguration
getOverlayConfiguration()
The selection overay configuration. final Unit
setOverlayConfiguration(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 initialScanDelay, 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.
-
setAustraliaPostCustomerFormat
final Unit setAustraliaPostCustomerFormat(JsonAustraliaPostCustomerFormat australiaPostCustomerFormat)
The customer format used in AUSTRALIA_POST codes. Only relevant for format codes 59 and 62.
-
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
-
getInitialScanDelay
final Double getInitialScanDelay()
Scanning delay after scanner appearance in seconds. Defaults to 0 secs.
-
setInitialScanDelay
final Unit setInitialScanDelay(Double initialScanDelay)
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.
-
-
-
-