Configuration of the mode for scanning multiple barcodes.

Hierarchy

  • PartiallyConstructible
    • MultipleScanningMode

Constructors

Properties

_type: "MultipleScanningMode"

Configuration of the AR overlay.

Default Value

new ArOverlayGeneralConfiguration({
"visible": false,
"counterBadge": new BadgeStyle({
"visible": true,
"background": new BackgroundStyle({
"strokeColor": "#FF000000",
"fillColor": "?sbColorPositive",
"strokeWidth": 0.0
}),
"foregroundColor": "?sbColorOnSurface"
}),
"automaticSelectionEnabled": false,
"barcodeItemInfoPosition": "BELOW",
"polygon": new ArOverlayPolygonConfiguration({
"visible": true,
"deselected": new PolygonStyle({
"strokeColor": "?sbColorSurface",
"fillColor": "#00000000",
"strokeWidth": 3.0,
"cornerRadius": 5.0
}),
"selected": new PolygonStyle({
"strokeColor": "?sbColorPositive",
"fillColor": "#00000000",
"strokeWidth": 3.0,
"cornerRadius": 5.0
})
}),
"barcodeItemConfiguration": new BarcodeItemConfiguration({
"imageVisible": true,
"titleSelected": new StyledText({
"text": "BARCODE_TITLE",
"color": "?sbColorOnSurface"
}),
"subtitleSelected": new StyledText({
"visible": true,
"text": "BARCODE_SUBTITLE",
"color": "?sbColorOnSurfaceVariant",
"useShadow": false
}),
"titleDeselected": new StyledText({
"visible": true,
"text": "BARCODE_TITLE",
"color": "?sbColorOnSurface",
"useShadow": false
}),
"subtitleDeselected": new StyledText({
"text": "BARCODE_SUBTITLE",
"color": "?sbColorOnSurfaceVariant"
}),
"backgroundSelected": new PolygonStyle({
"strokeColor": "?sbColorPositive",
"fillColor": "?sbColorPositive",
"strokeWidth": 1.0,
"cornerRadius": 5.0
}),
"backgroundDeselected": new PolygonStyle({
"strokeColor": "?sbColorSurface",
"fillColor": "?sbColorSurface",
"strokeWidth": 1.0,
"cornerRadius": 5.0
})
})
});
barcodeInfoMapping: BarcodeInfoMapping

Appearance of the barcode info mapping.

Default Value

new BarcodeInfoMapping({
"sheetColor": "?sbColorSurface",
"dividerColor": "?sbColorOutline",
"modalOverlayColor": "?sbColorModalOverlay",
"loadingMessage": new StyledText({
"text": "?barcodeInfoMappingLoadingMessage",
"color": "?sbColorPrimary"
}),
"errorState": new BarcodeItemErrorState({
"title": new StyledText({
"text": "?barcodeInfoMappingErrorStateTitle",
"color": "?sbColorOnSurface"
}),
"subtitle": new StyledText({
"text": "?barcodeInfoMappingErrorStateSubtitle",
"color": "?sbColorOnSurfaceVariant"
}),
"retryButton": new ButtonConfiguration({
"visible": true,
"text": "?barcodeInfoMappingErrorStateRetryButton",
"background": new BackgroundStyle({
"strokeColor": "?sbColorPrimary",
"fillColor": "?sbColorPrimary",
"strokeWidth": 1.0
}),
"foreground": new ForegroundStyle({
"iconVisible": true,
"color": "?sbColorOnPrimary",
"useShadow": false
})
}),
"cancelButton": new ButtonConfiguration({
"visible": true,
"text": "?barcodeInfoMappingErrorStateCancelButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 1.0
}),
"foreground": new ForegroundStyle({
"iconVisible": false,
"color": "?sbColorPrimary",
"useShadow": false
})
})
})
});
countingRepeatDelay: number

Time interval in milliseconds before a barcode is counted again. 0 = no delay. The default value is 1000.

Default Value

1000;
manualCountEditDialog: ManualCountEditDialog

Configuration of the dialog to manually edit the barcode count.

Default Value

new ManualCountEditDialog({
"sheetColor": "?sbColorSurface",
"dividerColor": "?sbColorOutline",
"modalOverlayColor": "?sbColorModalOverlay",
"title": new StyledText({
"text": "?manualCountEditDialogTitle",
"color": "?sbColorOnSurface"
}),
"info": new StyledText({
"text": "?manualCountEditDialogInfo",
"color": "?sbColorOnSurfaceVariant"
}),
"updateButton": new ButtonConfiguration({
"visible": true,
"text": "?manualCountEditDialogUpdateButton",
"background": new BackgroundStyle({
"strokeColor": "?sbColorPrimary",
"fillColor": "?sbColorPrimary",
"strokeWidth": 1.0
}),
"foreground": new ForegroundStyle({
"iconVisible": false,
"color": "?sbColorOnPrimary",
"useShadow": false
})
}),
"cancelButton": new ButtonConfiguration({
"visible": true,
"text": "?manualCountEditDialogCancelButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 1.0
}),
"foreground": new ForegroundStyle({
"iconVisible": false,
"color": "?sbColorPrimary",
"useShadow": false
})
}),
"clearTextButton": new IconStyle({
"visible": true,
"color": "?sbColorOnSurfaceVariant"
})
});

Mode used for scanning multiple barcodes.

Default Value

"COUNTING";
sheet: Sheet

Configuration of the preview mode for scanning multiple barcodes.

Default Value

new Sheet({
"mode": "COLLAPSED_SHEET",
"collapsedVisibleHeight": "SMALL",
"listButton": new BadgedButton({
"badgeBackgroundColor": "?sbColorSurface",
"badgeForegroundColor": "?sbColorPrimary",
"visible": true,
"backgroundColor": "?sbColorSurfaceHigh",
"foregroundColor": "?sbColorOnPrimary",
"activeBackgroundColor": "?sbColorSurfaceHigh",
"activeForegroundColor": "?sbColorOnPrimary"
})
});
sheetContent: SheetContent

Configuration of the list containing the barcodes that have already been scanned.

Default Value

new SheetContent({
"sheetColor": "?sbColorSurface",
"dividerColor": "?sbColorOutline",
"manualCountChangeEnabled": true,
"manualCountOutlineColor": "?sbColorOutline",
"manualCountChangeColor": "?sbColorPrimary",
"title": new StyledText({
"text": "?multipleModeSheetTitle",
"color": "?sbColorOnSurface"
}),
"clearAllButton": new ButtonConfiguration({
"visible": true,
"text": "?sheetClearAllButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 1.0
}),
"foreground": new ForegroundStyle({
"iconVisible": false,
"color": "?sbColorOnSurface",
"useShadow": false
})
}),
"barcodeItemTitle": new StyledText({
"visible": true,
"text": "BARCODE_TITLE",
"color": "?sbColorOnSurface",
"useShadow": false
}),
"barcodeItemSubtitle": new StyledText({
"visible": true,
"text": "BARCODE_SUBTITLE",
"color": "?sbColorOnSurfaceVariant",
"useShadow": false
}),
"barcodeItemImageVisible": true,
"submitButton": new ButtonConfiguration({
"visible": true,
"text": "?sheetSubmitButton",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 1.0
}),
"foreground": new ForegroundStyle({
"iconVisible": false,
"color": "?sbColorOnSurface",
"useShadow": false
})
}),
"startScanningButton": new ButtonConfiguration({
"visible": true,
"text": "?sheetStartScanningButton",
"background": new BackgroundStyle({
"strokeColor": "?sbColorPrimary",
"fillColor": "?sbColorPrimary",
"strokeWidth": 1.0
}),
"foreground": new ForegroundStyle({
"iconVisible": false,
"color": "?sbColorOnPrimary",
"useShadow": false
})
}),
"placeholderTitle": new StyledText({
"visible": true,
"text": "?sheetPlaceholderTitle",
"color": "?sbColorOnSurface",
"useShadow": false
}),
"placeholderSubtitle": new StyledText({
"visible": true,
"text": "?sheetPlaceholderSubtitle",
"color": "?sbColorOnSurfaceVariant",
"useShadow": false
}),
"placeholderIconBackground": "?sbColorOutline",
"placeholderIcon": new IconStyle({
"visible": true,
"color": "?sbColorOnSurface"
}),
"swipeToDelete": new SwipeToDelete({
"enabled": true,
"backgroundColor": "?sbColorNegative",
"iconColor": "?sbColorOnPrimary"
})
});

Generated using TypeDoc