Barcode Capture Feedback
Defined in library scandit_datacapture_barcode
- BarcodeCaptureFeedback
class BarcodeCaptureFeedback
Added in version 6.7.0
Determines what feedback (vibration, sound) should be emitted when reading barcodes. The feedback is specified for each BarcodeCapture 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 read successfully, through the success property.
See documentation on the BarcodeCapture.feedback property for usage samples.
- defaultFeedback
static BarcodeCaptureFeedback get defaultFeedback
Added in version 6.7.0
Returns a barcode capture feedback with default configuration:
default beep sound is loaded,
beeping for the success event is enabled,
vibration for the success event is enabled.
- BarcodeCaptureFeedback()
BarcodeCaptureFeedback()
Added in version 6.7.0
Empty constructor. Constructs a new feedback that will not emit any sound, nor vibration.