BarcodeCounterFrameHandler

Performs barcode/QR code scanning on camera preview frames. Outputs results via BarcodeCounterFrameHandler.ResultHandler (addResultHandler).

Preview frame considered intercepted if at least one BarcodeCounterFrameHandler.ResultHandler returns true from BarcodeCounterFrameHandler.ResultHandler.handle

See also

Constructors

Link copied to clipboard
constructor(barcodeScanner: BarcodeScanner)

Types

Link copied to clipboard

Successor-class needed for cross-platform implementation.

Link copied to clipboard
object Companion
Link copied to clipboard

Continuously notified about barcode/QR code scanning results.

Properties

Link copied to clipboard
open override var isEnabled: Boolean

Set true to enable barcode/QR code scanning. false to disable barcode/QR code scanning is disabled, i.e. incoming frames are skipped.

Functions

Link copied to clipboard

Registers result handler which will be notified about barcode/QR code scanning results.

Link copied to clipboard
open override fun handleFrame(previewFrame: FrameHandler.Frame): Boolean

Invoked for every new camera preview frame.

Link copied to clipboard

Enable scanner to one time scan on Frame.

Link copied to clipboard
Link copied to clipboard

Reset subscribed view component to initial state.

Link copied to clipboard

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