Barcode Selection Feedback

Defined in framework ScanditBarcodeCapture

@interface SDCBarcodeSelectionFeedback : NSObject

Added in version 6.6.0

Determines what feedback (vibration, sound) should be emitted when reading barcodes. The feedback is specified for each SDCBarcodeSelection 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 selected, through the selection property.

See documentation on the property for usage samples.

@property (class, nonatomic, readonly) SDCBarcodeSelectionFeedback *defaultFeedback

Added in version 6.6.0

Returns a barcode selection feedback with default configuration:

  • default click sound

  • no vibration

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

Added in version 6.6.0

Constructs a new barcode selection feedback with the provided JSON serialization. See Serialization for details.

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

Added in version 6.6.0

A feedback for a selection event.

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

Added in version 6.9.0

Returns the JSON representation of the feedback.