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_typeprivate IntegercountingRepeatDelayprivate BooleanallowEmptySubmissionprivate MultipleBarcodesScanningModemodeprivate Sheetsheetprivate SheetContentsheetContentprivate ManualCountEditDialogmanualCountEditDialogprivate BarcodeInfoMappingbarcodeInfoMappingprivate ArOverlayGeneralConfigurationarOverlay
-
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 Stringget_type()final IntegergetCountingRepeatDelay()Time interval in milliseconds before a barcode is counted again. final UnitsetCountingRepeatDelay(Integer countingRepeatDelay)Time interval in milliseconds before a barcode is counted again. final BooleangetAllowEmptySubmission()Whether the user can submit an empty barcode list. final UnitsetAllowEmptySubmission(Boolean allowEmptySubmission)Whether the user can submit an empty barcode list. final MultipleBarcodesScanningModegetMode()Mode used for scanning multiple barcodes. final UnitsetMode(MultipleBarcodesScanningMode mode)Mode used for scanning multiple barcodes. final SheetgetSheet()Configuration of the preview mode for scanning multiple barcodes. final UnitsetSheet(Sheet sheet)Configuration of the preview mode for scanning multiple barcodes. final SheetContentgetSheetContent()Configuration of the list containing the barcodes that have already been scanned. final UnitsetSheetContent(SheetContent sheetContent)Configuration of the list containing the barcodes that have already been scanned. final ManualCountEditDialoggetManualCountEditDialog()Configuration of the dialog to manually edit the barcode count. final UnitsetManualCountEditDialog(ManualCountEditDialog manualCountEditDialog)Configuration of the dialog to manually edit the barcode count. final BarcodeInfoMappinggetBarcodeInfoMapping()Appearance of the barcode info mapping. final UnitsetBarcodeInfoMapping(BarcodeInfoMapping barcodeInfoMapping)Appearance of the barcode info mapping. final ArOverlayGeneralConfigurationgetArOverlay()Configuration of the AR overlay. final UnitsetArOverlay(ArOverlayGeneralConfiguration arOverlay)Configuration of the AR overlay. JSONObjecttoJson(ToJsonConfiguration config)MultipleScanningModeclone()final static MultipleScanningModedefault()-
-
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(ToJsonConfiguration config)
-
clone
MultipleScanningMode clone()
-
default
final static MultipleScanningMode default()
-
-
-
-