Barcode Filter Settings

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

BarcodeFilterSettings
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.

create()
fun BarcodeFilterSettings.create(): BarcodeFilterSettings

Added in version 6.24.0

Constructs a BarcodeFilterSettings object.

excludedSymbologies
var excludedSymbologies: Set<Symbology>

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.

excludedCodesRegex
var excludedCodesRegex: String

Added in version 6.15.0

A regular expression to be matched against ByteBuffer.

excludedSymbolCounts
var excludedSymbolCounts: Map<Symbology, Set<Short>>

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.

excludeEan13
var excludeEan13: Boolean

Added in version 6.15.0

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

excludeUpca
var excludeUpca: Boolean

Added in version 6.15.0

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