Barcode Check Feedback

Defined in framework ScanditBarcodeCapture

SDCBarcodeCheckFeedback
@interface SDCBarcodeCheckFeedback : NSObject

Added in version 7.1.0

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

The feedback is specified for each BarcodeCheck 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.

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

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

Added in version 7.1.0

Returns a barcode check feedback with default configuration:

  • default beep sound is loaded,

  • beeping for the success event is enabled,

  • vibration for the success event is enabled.

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

Added in version 7.1.0

- init
- (instancetype)init

Added in version 7.1.0

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

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

Added in version 7.1.0

A feedback for a barcode scanned event.

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

Added in version 7.1.0

A feedback for an element tapped event.

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

Added in version 7.1.0

Returns the JSON representation of the feedback.