BarcodeClusterEditor

Defined in package com.scandit.datacapture.barcode.count.capture

BarcodeClusterEditor
class BarcodeClusterEditor

Added in version 7.1.0

Allows edition of clusters. If BarcodeCountSettings.clusteringMode is set to ClusteringMode.DISABLED, the methods in this class will do nothing.

formCluster(barcodes)
fun formCluster(barcodes: List<Barcode>)

Added in version 7.1.0

Forms a cluster from the provided barcodes. This operation will fail if one of the barcodes is already part of a cluster.

dissolveCluster(cluster)
fun dissolveCluster(cluster: Cluster)

Added in version 7.1.0

Dissolves the cluster.

endEditing()
fun endEditing()

Added in version 7.1.0

Notifies the editor that the user has finished cluster edition. Calling this is required in order to resume manual clustering.