Barcode Selection Feedback

Defined under the namespace Scandit.Datacapture.Barcode.Selection

BarcodeSelectionFeedback
class BarcodeSelectionFeedback

Added in version 6.10.0

Determines what feedback (vibration, sound) should be emitted when reading barcodes. The feedback is specified for each BarcodeSelection instance separately and can be changed through the feedback property by either modifying an existing instance of this class, or by assigning a new one.

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

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

constructor()
constructor()

Added in version 6.10.0

Creates new default barcode selection feedback instance.

This differs from the native platforms on purpose: on Android, iOS and KMP the empty constructor is silent, while here it returns the default feedback. The framework constructor has always behaved this way, and aligning it would silently drop the selection click for existing callers, so it is kept as is. For a silent feedback on these platforms, assign an empty Feedback to selection.

default()
static get default(): BarcodeSelectionFeedback

Added in version 6.10.0

Returns a barcode selection feedback with default configuration:

  • default click sound

  • no vibration

selection
selection: Feedback

Added in version 6.10.0

A feedback for a selection event.