Barcode Ar Feedback

Defined in framework ScanditBarcodeCapture

SDCBarcodeArFeedback
@interface SDCBarcodeArFeedback : 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 BarcodeAr 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 SDCBarcodeAr.feedback property for usage samples.

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

Added in version 7.1.0

Returns a barcode ar feedback with default configuration:

  • default beep sound is loaded,

  • beeping for the success event is enabled,

  • vibration for the success event is enabled.

+ barcodeArFeedbackFromJSONString:error:
+ (nullable instancetype)barcodeArFeedbackFromJSONString:(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.