Class BarcodeScannerJsonConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class BarcodeScannerJsonConfiguration implements Parcelable
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BarcodeScannerJsonConfiguration(String version, String screen, List<JsonBarcodeDocumentFormat> acceptedDocumentFormats, JsonBarcodesExtensionFilter barcodesExtensionFilter, JsonColor cameraOverlayColor, JsonCameraModule cameraModule, Double cameraZoomFactor, String cancelButtonTitle, JsonEngineMode engineMode, String enableCameraButtonTitle, String enableCameraExplanationText, JsonColor finderLineColor, Double finderLineWidth, String finderTextHint, JsonColor finderTextHintColor, JsonAspectRatio finderAspectRatio, JsonColor flashButtonInactiveColor, Boolean flashEnabled, Boolean touchToFocusEnabled, JsonOrientationLockMode orientationLockMode, Integer minimumTextLength, Integer maximumTextLength, Boolean minFocusDistanceLock, Integer minimum1DBarcodesQuietZone, Boolean stripCheckDigits, Boolean useIATA2OF5Checksum, Boolean useCode11Checksum, Boolean successBeepEnabled, JsonColor topBarBackgroundColor, JsonColor topBarButtonsColor, List<JsonBarcodeFormat> barcodeFormats, Boolean useButtonsAllCaps, Boolean replaceCancelButtonWithIcon, JsonCameraPreviewMode cameraPreviewMode, JsonZoomRange cameraZoomRange, Integer autoCancelTimeout, JsonGs1HandlingMode gs1HandlingMode, JsonMSIPlesseyChecksumAlgorithm msiPlesseyChecksumAlgorithm, JsonAustraliaPostCustomerFormat australiaPostCustomerFormat, Boolean lowPowerMode, JsonBarcodeImageGenerationType barcodeImageGenerationType, Double initialScanningDelay, Double delayAfterScan, Boolean viewFinderEnabled, JsonConfirmationDialogConfiguration confirmationDialogConfiguration, 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()The camera module to be used for barcode scanning. final UnitsetCameraModule(JsonCameraModule cameraModule)The camera module to be used for barcode scanning. 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 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 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 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 JsonColorgetFlashButtonInactiveColor()Foreground color of the flash button when flash is off. final UnitsetFlashButtonInactiveColor(JsonColor flashButtonInactiveColor)Foreground color of the flash button when flash is off. 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 BooleangetMinFocusDistanceLock()Lock focus distance withing minimum possible range final UnitsetMinFocusDistanceLock(Boolean minFocusDistanceLock)Lock focus distance withing minimum possible range final IntegergetMinimum1DBarcodesQuietZone()Optional minimum required quiet zone on the barcode. final UnitsetMinimum1DBarcodesQuietZone(Integer minimum1DBarcodesQuietZone)Optional minimum required quiet zone on the barcode. 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 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 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 JsonZoomRangegetCameraZoomRange()The range of valid camera zoom factors. final UnitsetCameraZoomRange(JsonZoomRange cameraZoomRange)The range of valid camera zoom factors. final IntegergetAutoCancelTimeout()Sets auto close timer in seconds. final UnitsetAutoCancelTimeout(Integer autoCancelTimeout)Sets auto close timer in seconds. 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 JsonBarcodeImageGenerationTypegetBarcodeImageGenerationType()The type of barcode image generation. final UnitsetBarcodeImageGenerationType(JsonBarcodeImageGenerationType barcodeImageGenerationType)The type of barcode image generation. final DoublegetInitialScanningDelay()Scanning delay after scanner appearance in seconds. final UnitsetInitialScanningDelay(Double initialScanningDelay)Scanning delay after scanner appearance in seconds. final DoublegetDelayAfterScan()Freezes a preview after a scan for a given amount of seconds. final UnitsetDelayAfterScan(Double delayAfterScan)Freezes a preview after a scan for a given amount of seconds. final BooleangetViewFinderEnabled()Display the region of interest. final UnitsetViewFinderEnabled(Boolean viewFinderEnabled)Display the region of interest. final JsonConfirmationDialogConfigurationgetConfirmationDialogConfiguration()The confirmation dialog configuration. final UnitsetConfirmationDialogConfiguration(JsonConfirmationDialogConfiguration confirmationDialogConfiguration)The confirmation dialog configuration. final JsonSelectionOverlayConfigurationgetOverlayConfiguration()The selection overlay configuration. final UnitsetOverlayConfiguration(JsonSelectionOverlayConfiguration overlayConfiguration)The selection overlay configuration. -
-
Constructor Detail
-
BarcodeScannerJsonConfiguration
BarcodeScannerJsonConfiguration(String version, String screen, List<JsonBarcodeDocumentFormat> acceptedDocumentFormats, JsonBarcodesExtensionFilter barcodesExtensionFilter, JsonColor cameraOverlayColor, JsonCameraModule cameraModule, Double cameraZoomFactor, String cancelButtonTitle, JsonEngineMode engineMode, String enableCameraButtonTitle, String enableCameraExplanationText, JsonColor finderLineColor, Double finderLineWidth, String finderTextHint, JsonColor finderTextHintColor, JsonAspectRatio finderAspectRatio, JsonColor flashButtonInactiveColor, Boolean flashEnabled, Boolean touchToFocusEnabled, JsonOrientationLockMode orientationLockMode, Integer minimumTextLength, Integer maximumTextLength, Boolean minFocusDistanceLock, Integer minimum1DBarcodesQuietZone, Boolean stripCheckDigits, Boolean useIATA2OF5Checksum, Boolean useCode11Checksum, Boolean successBeepEnabled, JsonColor topBarBackgroundColor, JsonColor topBarButtonsColor, List<JsonBarcodeFormat> barcodeFormats, Boolean useButtonsAllCaps, Boolean replaceCancelButtonWithIcon, JsonCameraPreviewMode cameraPreviewMode, JsonZoomRange cameraZoomRange, Integer autoCancelTimeout, JsonGs1HandlingMode gs1HandlingMode, JsonMSIPlesseyChecksumAlgorithm msiPlesseyChecksumAlgorithm, JsonAustraliaPostCustomerFormat australiaPostCustomerFormat, Boolean lowPowerMode, JsonBarcodeImageGenerationType barcodeImageGenerationType, Double initialScanningDelay, Double delayAfterScan, Boolean viewFinderEnabled, JsonConfirmationDialogConfiguration confirmationDialogConfiguration, 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()
The camera module to be used for barcode scanning. The default value is BACK.
-
setCameraModule
final Unit setCameraModule(JsonCameraModule cameraModule)
The camera module to be used for barcode scanning. The default value is BACK.
-
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. Default value is 0.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. Default value is 0.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.
-
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.
-
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.
-
getFlashButtonInactiveColor
final JsonColor getFlashButtonInactiveColor()
Foreground color of the flash button when flash is off.
-
setFlashButtonInactiveColor
final Unit setFlashButtonInactiveColor(JsonColor flashButtonInactiveColor)
Foreground color of the flash button when flash is off.
-
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.
-
getMinFocusDistanceLock
final Boolean getMinFocusDistanceLock()
Lock focus distance withing minimum possible range
-
setMinFocusDistanceLock
final Unit setMinFocusDistanceLock(Boolean minFocusDistanceLock)
Lock focus distance withing minimum possible range
-
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.
-
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.
-
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.
-
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
-
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).
-
getAutoCancelTimeout
final Integer getAutoCancelTimeout()
Sets auto close timer in seconds. 0 = disabled and it is the default value.
-
setAutoCancelTimeout
final Unit setAutoCancelTimeout(Integer autoCancelTimeout)
Sets auto close timer in seconds. 0 = disabled and it is the default value.
-
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.
-
getBarcodeImageGenerationType
final JsonBarcodeImageGenerationType getBarcodeImageGenerationType()
The type of barcode image generation.
-
setBarcodeImageGenerationType
final Unit setBarcodeImageGenerationType(JsonBarcodeImageGenerationType barcodeImageGenerationType)
The type of barcode image generation.
-
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.
-
getDelayAfterScan
final Double getDelayAfterScan()
Freezes a preview after a scan for a given amount of seconds. Defaults to 0 secs. Android only.
-
setDelayAfterScan
final Unit setDelayAfterScan(Double delayAfterScan)
Freezes a preview after a scan for a given amount of seconds. Defaults to 0 secs. Android only.
-
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.
-
getConfirmationDialogConfiguration
final JsonConfirmationDialogConfiguration getConfirmationDialogConfiguration()
The confirmation dialog configuration.
-
setConfirmationDialogConfiguration
final Unit setConfirmationDialogConfiguration(JsonConfirmationDialogConfiguration confirmationDialogConfiguration)
The confirmation dialog configuration.
-
getOverlayConfiguration
final JsonSelectionOverlayConfiguration getOverlayConfiguration()
The selection overlay configuration.
-
setOverlayConfiguration
final Unit setOverlayConfiguration(JsonSelectionOverlayConfiguration overlayConfiguration)
The selection overlay configuration.
-
-
-
-