SparkScan Feedback

Defined under the namespace Scandit.Datacapture.Barcode.Spark

SparkScanFeedback
class SparkScanFeedback

Added in version 6.23.0

Deprecated since version 6.23: This class is not used anymore. Use SparkScanBarcodeFeedback and SparkScanView.feedbackDelegate instead.

Determines what feedback (vibration, sound) should be emitted when scanning barcodes.

This class allows to configure the feedback that gets emitted when a barcode is read successfully through the success property and erroneously through the error property.

As of now, this class only allows to configure the feedback that gets emitted when a barcode is read successfully, through the success property.

See documentation on the SparkScan.feedback property for usage samples.

default()
static get default(): SparkScanFeedback

Added in version 6.23.0

Returns a SparkScan feedback with default configuration:

  • default beep sound is loaded,

  • beeping for the success event is enabled,

  • vibration for the success event is enabled.

success
success: Feedback

Added in version 6.23.0

A feedback for a success event.

error
error: Feedback

Added in version 6.23.0

A feedback for a error event.