Class MultipleScanningMode
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class MultipleScanningMode extends BarcodeUseCase implements Parcelable
Configuration of the mode for scanning multiple barcodes.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
_type
private Integer
countingRepeatDelay
private Boolean
allowEmptySubmission
private MultipleBarcodesScanningMode
mode
private Sheet
sheet
private SheetContent
sheetContent
private ManualCountEditDialog
manualCountEditDialog
private BarcodeInfoMapping
barcodeInfoMapping
private ArOverlayGeneralConfiguration
arOverlay
-
Constructor Summary
Constructors Constructor Description MultipleScanningMode(Map<String, Object> source)
MultipleScanningMode(JSONObject json)
MultipleScanningMode(Integer countingRepeatDelay, Boolean allowEmptySubmission, MultipleBarcodesScanningMode mode, Sheet sheet, SheetContent sheetContent, ManualCountEditDialog manualCountEditDialog, BarcodeInfoMapping barcodeInfoMapping, ArOverlayGeneralConfiguration arOverlay)
-
Method Summary
Modifier and Type Method Description String
get_type()
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 Boolean
getAllowEmptySubmission()
Whether the user can submit an empty barcode list. final Unit
setAllowEmptySubmission(Boolean allowEmptySubmission)
Whether the user can submit an empty barcode list. final MultipleBarcodesScanningMode
getMode()
Mode used for scanning multiple barcodes. final Unit
setMode(MultipleBarcodesScanningMode mode)
Mode used for scanning multiple barcodes. final Sheet
getSheet()
Configuration of the preview mode for scanning multiple barcodes. final Unit
setSheet(Sheet sheet)
Configuration of the preview mode for scanning multiple barcodes. final SheetContent
getSheetContent()
Configuration of the list containing the barcodes that have already been scanned. final Unit
setSheetContent(SheetContent sheetContent)
Configuration of the list containing the barcodes that have already been 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 BarcodeInfoMapping
getBarcodeInfoMapping()
Appearance of the barcode info mapping. final Unit
setBarcodeInfoMapping(BarcodeInfoMapping barcodeInfoMapping)
Appearance of the barcode info mapping. final ArOverlayGeneralConfiguration
getArOverlay()
Configuration of the AR overlay. final Unit
setArOverlay(ArOverlayGeneralConfiguration arOverlay)
Configuration of the AR overlay. JSONObject
toJson()
final static MultipleScanningMode
default()
-
-
Constructor Detail
-
MultipleScanningMode
MultipleScanningMode(JSONObject json)
-
MultipleScanningMode
MultipleScanningMode(Integer countingRepeatDelay, Boolean allowEmptySubmission, MultipleBarcodesScanningMode mode, Sheet sheet, SheetContent sheetContent, ManualCountEditDialog manualCountEditDialog, BarcodeInfoMapping barcodeInfoMapping, ArOverlayGeneralConfiguration arOverlay)
-
-
Method Detail
-
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
-
getAllowEmptySubmission
final Boolean getAllowEmptySubmission()
Whether the user can submit an empty barcode list. Default is false
-
setAllowEmptySubmission
final Unit setAllowEmptySubmission(Boolean allowEmptySubmission)
Whether the user can submit an empty barcode list. Default is false
-
getMode
final MultipleBarcodesScanningMode getMode()
Mode used for scanning multiple barcodes. Default is COUNTING
-
setMode
final Unit setMode(MultipleBarcodesScanningMode mode)
Mode used for scanning multiple barcodes. Default is COUNTING
-
setSheet
final Unit setSheet(Sheet sheet)
Configuration of the preview mode for scanning multiple barcodes.
-
getSheetContent
final SheetContent getSheetContent()
Configuration of the list containing the barcodes that have already been scanned.
-
setSheetContent
final Unit setSheetContent(SheetContent sheetContent)
Configuration of the list containing the barcodes that have already been 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.
-
getBarcodeInfoMapping
final BarcodeInfoMapping getBarcodeInfoMapping()
Appearance of the barcode info mapping.
-
setBarcodeInfoMapping
final Unit setBarcodeInfoMapping(BarcodeInfoMapping barcodeInfoMapping)
Appearance of the barcode info mapping.
-
getArOverlay
final ArOverlayGeneralConfiguration getArOverlay()
Configuration of the AR overlay.
-
setArOverlay
final Unit setArOverlay(ArOverlayGeneralConfiguration arOverlay)
Configuration of the AR overlay.
-
toJson
JSONObject toJson()
-
default
final static MultipleScanningMode default()
-
-
-
-