Barcode Batch
Defined in package com.scandit.datacapture.barcode.batch
- BarcodeBatch
class BarcodeBatch : DataCaptureMode
Added in version 8.6.0
Data capture mode that implements MatrixScan (Barcode Batch).
- forContext(dataCaptureContext, settings)
fun BarcodeBatch.forContext(dataCaptureContext: DataCaptureContext?, settings: BarcodeBatchSettings): BarcodeBatch
Added in version 8.6.0
Constructs a new Barcode Batch mode with the provided context and settings. When the context is not null, the capture mode is automatically added to the context.
- isEnabled
var isEnabled:
BooleanAdded in version 8.6.0
Implemented from DataCaptureMode. See DataCaptureMode.isEnabled.
- applySettings(settings)
fun applySettings(settings: BarcodeBatchSettings)
Added in version 8.6.0
Applies the provided BarcodeBatchSettings to BarcodeBatch.
- addListener(listener)
fun addListener(listener: BarcodeBatchListener)
Added in version 8.6.0
Adds the listener to observe this barcode capture instance.
In case the same listener is already observing this instance, calling this method will not add the listener again.
- removeListener(listener)
fun removeListener(listener: BarcodeBatchListener)
Added in version 8.6.0
Removes a previously added listener from this Barcode Batch instance.
In case the listener is not currently observing this instance, calling this method has no effect.
- createRecommendedCameraSettings()
fun BarcodeBatch.createRecommendedCameraSettings(): CameraSettings
Added in version 8.6.0
Returns the recommended camera settings for use with Barcode Batch.
- dataCaptureContext
val dataCaptureContext: DataCaptureContext?
Added in version 8.6.0
Implemented from DataCaptureMode. See DataCaptureMode.dataCaptureContext.
- barcodeBatchLicenseInfo
val barcodeBatchLicenseInfo: BarcodeBatchLicenseInfo?
Added in version 8.6.0
The object containing information about Barcode Batch licensing.
Note
This value is available with a small delay. To make sure it is available, set a DataCaptureContextListener and, as soon as DataCaptureContextListener.onModeAdded() is called, this license object is available.
- reset()
fun reset()Added in version 8.6.0
Resets the object tracker.