Barcode Find Feedback

Defined in framework ScanditBarcodeCapture

@interface SDCBarcodeFindFeedback : NSObject

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 property for usage samples.

@property (class, nonatomic, readonly) SDCBarcodeFindFeedback *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.

+ barcodeFindFeedbackFromJSONString:error:
+ (nullable instancetype)barcodeFindFeedbackFromJSONString:(nonnull NSString *)JSONString
                                                     error:(NSError **)error

Added in version 6.19.0

- init
- (instancetype)init

Added in version 6.18.0

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

@property (nonatomic, strong, nonnull) SDCFeedback *found

Added in version 6.18.0

A feedback for a barcode found event.

@property (nonatomic, nonnull, readonly) NSString *JSONString

Added in version 6.19.0

Returns the JSON representation of the feedback.