BarcodeAccumulationConfiguration

data class BarcodeAccumulationConfiguration(var minConfirmationsStandaloneEAN: Int = 1, var accumulationTime: Int = 500, var removeUnconnectedResults: Boolean = true, var method: BarcodeAccumulationMethod = BarcodeAccumulationMethod.INTERPOLATE_BY_CAMERA) : Parcelable

Configuration for how to accumulate results.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(minConfirmationsStandaloneEAN: Int = 1, accumulationTime: Int = 500, removeUnconnectedResults: Boolean = true, method: BarcodeAccumulationMethod = BarcodeAccumulationMethod.INTERPOLATE_BY_CAMERA)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The time in milliseconds to accumulate barcodes across multiple frames.

Link copied to clipboard

The method how to display barcodes from previous frames.

Link copied to clipboard

In case that ean/upc both with and without extensions are allowed, we require confirmations to consider a standalone EAN or UPC (i.e. without extension) as valid.

Link copied to clipboard

If true, the results from previous frames that are not connected to results on the current frame will be removed. This is should be enabled when large camera movements are expected. For small camera movements, the option can be disabled.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject