setBarcodeFilter

abstract fun setBarcodeFilter(filter: IBarcodeFilter?)

Set implementation of IBarcodeFilter, that will filter frames with undesired data.

NOTE: here, for BarcodeScanner (unlike in BatchBarcodeScanner) only IBarcodeFilter.acceptsBarcode filtering method will be used.

Parameters

filter

IBarcodeFilter implementation. Pass null to remove.