setBarcodeFilter

Set implementation of IBarcodeFilter, that will be applied to every frame after scanning and filter frames with undesired data.

NOTE: here, for BarcodeScanner (as opposed to BatchBarcodeScanner) only IBarcodeFilter.acceptsBarcode filtering method will be used.

Parameters

filter

IBarcodeFilter implementation. Pass null to remove.