BufferedBarcodeFilter

Use this filter if you need to pass the barcode with delayed time. ** Need to call getBufferedBarcodes, allowBarcodes properly to get barcode result. **

Since

1.0.0

See also

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
fun allowBarcodes(barcodes: Array<BarcodeInfo>)

You can get barcodes using getBufferedBarcodes and can pass them with delayed time.

Link copied to clipboard
open override fun filter(candidates: List<BarcodeInfo>, filteredList: MutableSet<BarcodeInfo>)

If you want to filter out from candidate barcodes, put them in filtered list. Excluded barcodes will not go to scan result, com.samsung.android.knox.smartscan.preview.feedback.ScanResultFeedback and PreviewResultHandlingCallback.

Link copied to clipboard

You can get barcodes from current camera frame.