SparkScan Feedback
Defined in framework ScanditBarcodeCapture
- SDCSparkScanFeedback
@interface SDCSparkScanFeedback : NSObject
Added in version 6.8.0
Determines what feedback (vibration, sound) should be emitted when scanning barcodes.
This class allows to configure the feedback that gets emitted when a barcode is read successfully through the success property and erroneously through the error property.
As of now, this class only allows to configure the feedback that gets emitted when a barcode is read successfully, through the success property.
See documentation on the SDCSparkScan.feedback property for usage samples.
- defaultFeedback
@property (class, nonatomic, readonly) SDCSparkScanFeedback *defaultFeedback
Added in version 6.8.0
Returns a SparkScan feedback with default configuration:
default beep sound is loaded,
beeping for the success event is enabled,
vibration for the success event is enabled.
- + sparkScanFeedbackFromJSONString:error:
+ (nullable
instancetype
)sparkScanFeedbackFromJSONString:(nonnull NSString *)JSONString error:(NSError **)errorAdded in version 6.8.0
Construct a new SparkScan feedback with the provided JSON serialization. See Serialization for details.
- success
@property (nonatomic, strong, nonnull) SDCFeedback *success
Added in version 6.8.0
A feedback for a success event.
- error
@property (nonatomic, strong, nonnull) SDCFeedback *error
Added in version 6.16.0
A feedback for a error event.