Barcode Filter Settings

Defined in package com.scandit.datacapture.barcode.filter.capture

class BarcodeFilterSettings

Added in version 6.15.0

These settings are used to select barcodes that will be filtered out in the view. Any barcode that matches any of the provided settings will be covered by a colored layer.

@NonNull Set<Symbology> getExcludedSymbologies()
void setExcludedSymbologies(@NonNull Set<Symbology> value)

Added in version 6.15.0

A set of Symbology to exclude. If an excluded Symbology is not part of the set of active symbologies in the mode, this setting will have no effect on that Symbology.

@NonNull String getExcludedCodesRegex()
void setExcludedCodesRegex(@NonNull String value)

Added in version 6.15.0

A regular expression to be matched against ByteBuffer.

@NonNull Map<Symbology, @NonNull Set<@NonNull Short>> getExcludedSymbolCounts()
void setExcludedSymbolCounts(@NonNull Map<Symbology, @NonNull Set<@NonNull Short>> value)

Added in version 6.15.0

A map of excluded symbol counts, indexed by Symbology. Each Symbology will have assigned a set of all the character counts for the barcode’s ByteBuffer that will be matched.

boolean getExcludeEan13()
void setExcludeEan13(boolean value)

Added in version 6.15.0

When set to true, EAN 13 barcodes will be excluded.

boolean getExcludeUpca()
void setExcludeUpca(boolean value)

Added in version 6.15.0

When set to true, UPC-A barcodes will be excluded.