MiniScannerView

class MiniScannerView : ConstraintLayout, IMiniScannerView

This class is the mini scanner view which include the preview/camera/analyzer for the barcode scanning. Please use it as UI component.

Since

1.1.0

Constructors

Link copied to clipboard
fun MiniScannerView(context: Context)
Link copied to clipboard
fun MiniScannerView(context: Context, attrs: AttributeSet?)
Link copied to clipboard
fun MiniScannerView(context: Context, attrs: AttributeSet?, @AttrRes defStyleAttr: Int)
Link copied to clipboard
fun MiniScannerView(context: Context, attrs: AttributeSet?, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int)

Functions

Link copied to clipboard
open override fun addMiniScannerCallback(callback: MiniScannerViewCallback)

add a callback for MiniScannerView

Link copied to clipboard

add a barcode result callback

Link copied to clipboard

remove a previously added callback for MiniScannerView