Id Capture Feedback

Defined under the namespace Scandit.Datacapture.Id

IdCaptureFeedback
class IdCaptureFeedback

Added in version 6.21.0

Determines what feedback (vibration, sound) should be emitted during the ID Capture process.

The feedback is specified for each IdCapture instance separately and can be changed through the IdCapture.feedback property by either modifying an existing instance of this class, or by assigning a new one.

defaultFeedback
static get defaultFeedback(): IdCaptureFeedback

Added in version 6.21.0

Returns an id capture feedback with default configuration:

  • default beep sound is loaded,

  • beeping for the id captured event is enabled,

  • vibration for the id captured event is enabled,

  • beeping for the id rejected event is disabled,

  • vibration for the id rejected event is disabled,

  • beeping for the id capture timeout event is disabled,

  • vibration for the id capture timeout event is disabled.

idCaptured
idCaptured: Feedback

Added in version 6.21.0

A feedback that is emitted when IdCaptureListener.didCaptureId() event is triggered.

idRejected
idRejected: Feedback

Added in version 6.21.0

A feedback that is emitted when IdCaptureListener.didRejectId() event is triggered.

idCaptureTimeout
idCaptureTimeout: Feedback

Added in version 6.21.0

A feedback that is emitted when IdCaptureListener.didTimeoutInSession() event is triggered.