Barcode Find Feedback

Defined in package com.scandit.datacapture.barcode.find.feedback

BarcodeFindFeedback
class BarcodeFindFeedback

Added in version 6.18.0

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

The feedback is specified for each BarcodeFind 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 allows to configure the feedback that gets emitted when barcodes are found successfully, through the found property.

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

defaultFeedback()
static @NonNull BarcodeFindFeedback defaultFeedback()

Added in version 6.18.0

Returns a barcode find feedback with default configuration:

  • default beep sound is loaded,

  • beeping for the success event is enabled,

  • vibration for the success event is enabled.

BarcodeFindFeedback()
BarcodeFindFeedback()

Added in version 6.18.0

Empty constructor. Constructs a new feedback that will not emit any sound, nor vibration.

found
@NonNull Feedback getFound()
void setFound(@NonNull Feedback value)

Added in version 6.18.0

A feedback for a barcode found event.

itemListUpdated
@NonNull Feedback getItemListUpdated()
void setItemListUpdated(@NonNull Feedback value)

Added in version 6.24.0

A feedback for the item list updated event.

toJson()
@NonNull String toJson()

Added in version 6.19.0

Returns the JSON representation of the feedback.