Barcode Sequence

Defined in package com.scandit.datacapture.barcode.sequence

BarcodeSequence
class BarcodeSequence

Added in version 8.7.0

Capture mode that implements BarcodeSequence.

forContext(dataCaptureContext, settings)
fun BarcodeSequence.forContext(dataCaptureContext: DataCaptureContext,
        settings: BarcodeSequenceSettings): BarcodeSequence

Added in version 8.7.0

Constructs a new Barcode Sequence mode with the provided context and settings. The capture mode is automatically added to the context.

feedback
var feedback: BarcodeSequenceFeedback

Added in version 8.7.0

Instance of BarcodeSequenceFeedback that is used by the barcode scanner to notify users about sequence events.

The default instance of the Feedback will have both sound and vibration enabled. A default beep sound will be used for the sound.

createRecommendedCameraSettings()
fun BarcodeSequence.createRecommendedCameraSettings(): CameraSettings

Added in version 8.7.0

Returns the recommended camera settings for use with Barcode Sequence.

applySettings(settings)
fun applySettings(settings: BarcodeSequenceSettings)

Added in version 8.7.0

Applies the provided BarcodeSequenceSettings to BarcodeSequence.

addListener(listener)
fun addListener(listener: BarcodeSequenceListener)

Added in version 8.7.0

Adds the listener to this BarcodeSequence 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: BarcodeSequenceListener)

Added in version 8.7.0

Removes a previously added listener from this BarcodeSequence instance.

In case the listener is not currently observing this instance, calling this method has no effect.