Class FindAndPickScanningMode
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class FindAndPickScanningMode extends BarcodeUseCase implements Parcelable
Configuration of the Find and Pick barcode scanning mode.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
_type
private ScanbotColor
scanningCompletedColor
private ScanbotColor
scanningPartiallyColor
private ScanbotColor
scanningNotScannedColor
private Boolean
allowPartialScan
private List<ExpectedBarcode>
expectedBarcodes
private Integer
countingRepeatDelay
private Sheet
sheet
private SheetContent
sheetContent
private ManualCountEditDialog
manualCountEditDialog
private ArOverlayFindAndPickConfiguration
arOverlay
private Boolean
partialScannedAlertDialogEnabled
private ScanbotAlertDialog
partialScannedAlertDialog
private Boolean
confirmationAlertDialogEnabled
private ScanbotAlertDialog
confirmationAlertDialog
-
Constructor Summary
Constructors Constructor Description FindAndPickScanningMode(Map<String, Object> source)
FindAndPickScanningMode(JSONObject json)
FindAndPickScanningMode(ScanbotColor scanningCompletedColor, ScanbotColor scanningPartiallyColor, ScanbotColor scanningNotScannedColor, Boolean allowPartialScan, List<ExpectedBarcode> expectedBarcodes, Integer countingRepeatDelay, Sheet sheet, SheetContent sheetContent, ManualCountEditDialog manualCountEditDialog, ArOverlayFindAndPickConfiguration arOverlay, Boolean partialScannedAlertDialogEnabled, ScanbotAlertDialog partialScannedAlertDialog, Boolean confirmationAlertDialogEnabled, ScanbotAlertDialog confirmationAlertDialog)
-
Method Summary
Modifier and Type Method Description String
get_type()
final ScanbotColor
getScanningCompletedColor()
Color of the selected barcode. final Unit
setScanningCompletedColor(ScanbotColor scanningCompletedColor)
Color of the selected barcode. final ScanbotColor
getScanningPartiallyColor()
Color of the partially scanned barcode. final Unit
setScanningPartiallyColor(ScanbotColor scanningPartiallyColor)
Color of the partially scanned barcode. final ScanbotColor
getScanningNotScannedColor()
Color of the not scanned barcode . final Unit
setScanningNotScannedColor(ScanbotColor scanningNotScannedColor)
Color of the not scanned barcode . final Boolean
getAllowPartialScan()
If the user is allowed to finish the scanning process without scanning all the expected barcodes. final Unit
setAllowPartialScan(Boolean allowPartialScan)
If the user is allowed to finish the scanning process without scanning all the expected barcodes. final List<ExpectedBarcode>
getExpectedBarcodes()
List of barcodes that the user has to find and scan. final Unit
setExpectedBarcodes(List<ExpectedBarcode> expectedBarcodes)
List of barcodes that the user has to find and scan. final Integer
getCountingRepeatDelay()
Time interval in milliseconds before a barcode is counted again. final Unit
setCountingRepeatDelay(Integer countingRepeatDelay)
Time interval in milliseconds before a barcode is counted again. final Sheet
getSheet()
Configuration of the preview mode for the barcodes required to be found and scanned. final Unit
setSheet(Sheet sheet)
Configuration of the preview mode for the barcodes required to be found and scanned. final SheetContent
getSheetContent()
Configuration of the list of barcodes required to be found and scanned. final Unit
setSheetContent(SheetContent sheetContent)
Configuration of the list of barcodes required to be found and scanned. final ManualCountEditDialog
getManualCountEditDialog()
Configuration of the dialog to manually edit the barcode count. final Unit
setManualCountEditDialog(ManualCountEditDialog manualCountEditDialog)
Configuration of the dialog to manually edit the barcode count. final ArOverlayFindAndPickConfiguration
getArOverlay()
Configuration of the AR overlay. final Unit
setArOverlay(ArOverlayFindAndPickConfiguration arOverlay)
Configuration of the AR overlay. final Boolean
getPartialScannedAlertDialogEnabled()
If the partial scanned alert dialog is enabled. final Unit
setPartialScannedAlertDialogEnabled(Boolean partialScannedAlertDialogEnabled)
If the partial scanned alert dialog is enabled. final ScanbotAlertDialog
getPartialScannedAlertDialog()
Configuration of the partial scanned alert dialog. final Unit
setPartialScannedAlertDialog(ScanbotAlertDialog partialScannedAlertDialog)
Configuration of the partial scanned alert dialog. final Boolean
getConfirmationAlertDialogEnabled()
If the confirmation alert dialog is enabled. final Unit
setConfirmationAlertDialogEnabled(Boolean confirmationAlertDialogEnabled)
If the confirmation alert dialog is enabled. final ScanbotAlertDialog
getConfirmationAlertDialog()
Configuration of the confirmation alert dialog. final Unit
setConfirmationAlertDialog(ScanbotAlertDialog confirmationAlertDialog)
Configuration of the confirmation alert dialog. JSONObject
toJson()
final static FindAndPickScanningMode
default()
-
-
Constructor Detail
-
FindAndPickScanningMode
FindAndPickScanningMode(JSONObject json)
-
FindAndPickScanningMode
FindAndPickScanningMode(ScanbotColor scanningCompletedColor, ScanbotColor scanningPartiallyColor, ScanbotColor scanningNotScannedColor, Boolean allowPartialScan, List<ExpectedBarcode> expectedBarcodes, Integer countingRepeatDelay, Sheet sheet, SheetContent sheetContent, ManualCountEditDialog manualCountEditDialog, ArOverlayFindAndPickConfiguration arOverlay, Boolean partialScannedAlertDialogEnabled, ScanbotAlertDialog partialScannedAlertDialog, Boolean confirmationAlertDialogEnabled, ScanbotAlertDialog confirmationAlertDialog)
-
-
Method Detail
-
getScanningCompletedColor
final ScanbotColor getScanningCompletedColor()
Color of the selected barcode. Default is "?sbColorPositive"
-
setScanningCompletedColor
final Unit setScanningCompletedColor(ScanbotColor scanningCompletedColor)
Color of the selected barcode. Default is "?sbColorPositive"
-
getScanningPartiallyColor
final ScanbotColor getScanningPartiallyColor()
Color of the partially scanned barcode. Default is "?sbColorWarning"
-
setScanningPartiallyColor
final Unit setScanningPartiallyColor(ScanbotColor scanningPartiallyColor)
Color of the partially scanned barcode. Default is "?sbColorWarning"
-
getScanningNotScannedColor
final ScanbotColor getScanningNotScannedColor()
Color of the not scanned barcode . Default is "?sbColorOutline"
-
setScanningNotScannedColor
final Unit setScanningNotScannedColor(ScanbotColor scanningNotScannedColor)
Color of the not scanned barcode . Default is "?sbColorOutline"
-
getAllowPartialScan
final Boolean getAllowPartialScan()
If the user is allowed to finish the scanning process without scanning all the expected barcodes. Default is false
-
setAllowPartialScan
final Unit setAllowPartialScan(Boolean allowPartialScan)
If the user is allowed to finish the scanning process without scanning all the expected barcodes. Default is false
-
getExpectedBarcodes
final List<ExpectedBarcode> getExpectedBarcodes()
List of barcodes that the user has to find and scan.
-
setExpectedBarcodes
final Unit setExpectedBarcodes(List<ExpectedBarcode> expectedBarcodes)
List of barcodes that the user has to find and scan.
-
getCountingRepeatDelay
final Integer getCountingRepeatDelay()
Time interval in milliseconds before a barcode is counted again. 0 = no delay. The default value is 1000. Default is 1000
-
setCountingRepeatDelay
final Unit setCountingRepeatDelay(Integer countingRepeatDelay)
Time interval in milliseconds before a barcode is counted again. 0 = no delay. The default value is 1000. Default is 1000
-
getSheet
final Sheet getSheet()
Configuration of the preview mode for the barcodes required to be found and scanned.
-
setSheet
final Unit setSheet(Sheet sheet)
Configuration of the preview mode for the barcodes required to be found and scanned.
-
getSheetContent
final SheetContent getSheetContent()
Configuration of the list of barcodes required to be found and scanned.
-
setSheetContent
final Unit setSheetContent(SheetContent sheetContent)
Configuration of the list of barcodes required to be found and scanned.
-
getManualCountEditDialog
final ManualCountEditDialog getManualCountEditDialog()
Configuration of the dialog to manually edit the barcode count.
-
setManualCountEditDialog
final Unit setManualCountEditDialog(ManualCountEditDialog manualCountEditDialog)
Configuration of the dialog to manually edit the barcode count.
-
getArOverlay
final ArOverlayFindAndPickConfiguration getArOverlay()
Configuration of the AR overlay.
-
setArOverlay
final Unit setArOverlay(ArOverlayFindAndPickConfiguration arOverlay)
Configuration of the AR overlay.
-
getPartialScannedAlertDialogEnabled
final Boolean getPartialScannedAlertDialogEnabled()
If the partial scanned alert dialog is enabled. Default is true
-
setPartialScannedAlertDialogEnabled
final Unit setPartialScannedAlertDialogEnabled(Boolean partialScannedAlertDialogEnabled)
If the partial scanned alert dialog is enabled. Default is true
-
getPartialScannedAlertDialog
final ScanbotAlertDialog getPartialScannedAlertDialog()
Configuration of the partial scanned alert dialog.
-
setPartialScannedAlertDialog
final Unit setPartialScannedAlertDialog(ScanbotAlertDialog partialScannedAlertDialog)
Configuration of the partial scanned alert dialog.
-
getConfirmationAlertDialogEnabled
final Boolean getConfirmationAlertDialogEnabled()
If the confirmation alert dialog is enabled. Default is false
-
setConfirmationAlertDialogEnabled
final Unit setConfirmationAlertDialogEnabled(Boolean confirmationAlertDialogEnabled)
If the confirmation alert dialog is enabled. Default is false
-
getConfirmationAlertDialog
final ScanbotAlertDialog getConfirmationAlertDialog()
Configuration of the confirmation alert dialog.
-
setConfirmationAlertDialog
final Unit setConfirmationAlertDialog(ScanbotAlertDialog confirmationAlertDialog)
Configuration of the confirmation alert dialog.
-
toJson
JSONObject toJson()
-
default
final static FindAndPickScanningMode default()
-
-
-
-