-
- All Implemented Interfaces:
-
java.io.Serializable
public class BarcodeScannerConfiguration implements Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private TextConfigurationtextConfigprivate BooleanbeepOnSuccessprivate BooleanshowDetectionAnimationprivate BooleanvibrateOnSuccessprivate BooleangenerateBarcodeImageprivate List<BarcodeFormat>codeFormatsprivate BarcodeTypebarcodeTypeprivate IntegerbottomImage
-
Constructor Summary
Constructors Constructor Description BarcodeScannerConfiguration()
-
Method Summary
Modifier and Type Method Description final TextConfigurationgetTextConfig()Configuration class used to alter the default text behaviour. final UnitsetTextConfig(TextConfiguration textConfig)Configuration class used to alter the default text behaviour. final BooleangetBeepOnSuccess()If set to true, the device will play a beep sound if barcode gets detected. final UnitsetBeepOnSuccess(Boolean beepOnSuccess)If set to true, the device will play a beep sound if barcode gets detected. final BooleangetShowDetectionAnimation()If set to true, the rectangular frame will be animated. final UnitsetShowDetectionAnimation(Boolean showDetectionAnimation)If set to true, the rectangular frame will be animated. final BooleangetVibrateOnSuccess()If set to true, the device will vibrate if barcode gets detected. final UnitsetVibrateOnSuccess(Boolean vibrateOnSuccess)If set to true, the device will vibrate if barcode gets detected. final BooleangetGenerateBarcodeImage()If set to true, the detected barcode will be saved as image which you can access for further processing. final UnitsetGenerateBarcodeImage(Boolean generateBarcodeImage)If set to true, the detected barcode will be saved as image which you can access for further processing. final List<BarcodeFormat>getCodeFormats()A list of barcode formats you want the scanner to detect. final UnitsetCodeFormats(List<BarcodeFormat> codeFormats)A list of barcode formats you want the scanner to detect. final BarcodeTypegetBarcodeType()Set this to the type of barcodes you want to detect. final UnitsetBarcodeType(BarcodeType barcodeType)Set this to the type of barcodes you want to detect. final IntegergetBottomImage()Possibility of displaying an image below the frame in SingleScan. final UnitsetBottomImage(Integer bottomImage)Possibility of displaying an image below the frame in SingleScan. -
-
Method Detail
-
getTextConfig
final TextConfiguration getTextConfig()
Configuration class used to alter the default text behaviour.
-
setTextConfig
final Unit setTextConfig(TextConfiguration textConfig)
Configuration class used to alter the default text behaviour.
-
getBeepOnSuccess
final Boolean getBeepOnSuccess()
If set to true, the device will play a beep sound if barcode gets detected.
-
setBeepOnSuccess
final Unit setBeepOnSuccess(Boolean beepOnSuccess)
If set to true, the device will play a beep sound if barcode gets detected.
-
getShowDetectionAnimation
final Boolean getShowDetectionAnimation()
If set to true, the rectangular frame will be animated.
-
setShowDetectionAnimation
final Unit setShowDetectionAnimation(Boolean showDetectionAnimation)
If set to true, the rectangular frame will be animated.
-
getVibrateOnSuccess
final Boolean getVibrateOnSuccess()
If set to true, the device will vibrate if barcode gets detected.
-
setVibrateOnSuccess
final Unit setVibrateOnSuccess(Boolean vibrateOnSuccess)
If set to true, the device will vibrate if barcode gets detected.
-
getGenerateBarcodeImage
final Boolean getGenerateBarcodeImage()
If set to true, the detected barcode will be saved as image which you can access for further processing.
-
setGenerateBarcodeImage
final Unit setGenerateBarcodeImage(Boolean generateBarcodeImage)
If set to true, the detected barcode will be saved as image which you can access for further processing.
-
getCodeFormats
final List<BarcodeFormat> getCodeFormats()
A list of barcode formats you want the scanner to detect. Defaults to a list containing all available formats. See BarcodeFormat for possible values.
-
setCodeFormats
final Unit setCodeFormats(List<BarcodeFormat> codeFormats)
A list of barcode formats you want the scanner to detect. Defaults to a list containing all available formats. See BarcodeFormat for possible values.
-
getBarcodeType
final BarcodeType getBarcodeType()
Set this to the type of barcodes you want to detect. See BarcodeType for possible values.
-
setBarcodeType
final Unit setBarcodeType(BarcodeType barcodeType)
Set this to the type of barcodes you want to detect. See BarcodeType for possible values.
-
getBottomImage
final Integer getBottomImage()
Possibility of displaying an image below the frame in SingleScan.
-
setBottomImage
final Unit setBottomImage(Integer bottomImage)
Possibility of displaying an image below the frame in SingleScan.
-
-
-
-