Barcode Batch

Defined under the namespace Scandit.Datacapture.Barcode.Batch

BarcodeBatch
class BarcodeBatch : DataCaptureMode

Added in version 6.19.0

Data capture mode that implements MatrixScan (Barcode Batch).

Learn more on how to use Barcode Batch in our Get Started guide.

setEnabled(enabled)
setEnabled(enabled: boolean): Promise<void>

Added in version 7.0.0

isEnabled()
isEnabled(): boolean

Added in version 7.0.0

forContext(context, settings)
static forContext(context: DataCaptureContext | null,
        settings: BarcodeBatchSettings): Promise<BarcodeBatch>

Added in version 7.0.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.

applySettings(settings)
applySettings(settings: BarcodeBatchSettings): Promise<void>

Added in version 7.0.0

addListener(listener)
addListener(listener: BarcodeBatchListener): void

Added in version 7.0.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)
removeListener(listener: BarcodeBatchListener): void

Added in version 7.0.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.

recommendedCameraSettings
static get recommendedCameraSettings(): CameraSettings

Added in version 7.0.0

Returns the recommended camera settings for use with Barcode Batch.

context
get context(): DataCaptureContext | null

Added in version 7.0.0

Implemented from DataCaptureMode. See DataCaptureMode.context.