Text Capture Feedback

Defined under the namespace Scandit.Datacapture.Text

class TextCaptureFeedback

Added in version 6.4.0

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

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

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

static get default(): TextCaptureFeedback

Added in version 6.4.0

Returns a text capture feedback with default configuration:

  • default beep sound is loaded,

  • beeping for the success event is enabled,

  • vibration for the success event is enabled.

success: Feedback

Added in version 6.4.0

A feedback for a success event.