SparkScan Barcode Feedback

Defined in framework ScanditBarcodeCapture

SDCSparkScanBarcodeFeedback
@interface SDCSparkScanBarcodeFeedback : NSObject

Added in version 6.23.0

Used to emit feedback when capturing barcodes.

JSONString
@property (nonatomic, readonly) NSString *JSONString

Added in version 6.23.0

Returns string representation of this object.

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

Added in version 6.23.0

Construct a new spark scan barcode feedback with the provided JSON serialization.

SDCSparkScanBarcodeErrorFeedback
@interface SDCSparkScanBarcodeErrorFeedback : SDCSparkScanBarcodeFeedback

Added in version 6.23.0

Used to display and emit an error feedback when capturing barcodes.

- initWithMessage:resumeCapturingDelay:
- (instancetype)initWithMessage:(nonnull NSString *)message
           resumeCapturingDelay:(NSTimeInterval)resumeCapturingDelay

Added in version 6.23.0

Constructs an error feedback.

- initWithMessage:resumeCapturingDelay:visualFeedbackColor:brush:feedback:
- (instancetype)initWithMessage:(nonnull NSString *)message
           resumeCapturingDelay:(NSTimeInterval)resumeCapturingDelay
            visualFeedbackColor:(nullable UIColor *)visualFeedbackColor
                          brush:(nullable SDCBrush *)brush
                       feedback:(nullable SDCFeedback *)feedback

Added in version 6.23.0

Constructs an error feedback.

Passing nil for a nullable parameter results in using the default value.

message
@property (nonatomic, readonly) NSString *message

Added in version 6.23.0

The error message to display when a wrong barcode was captured.

resumeCapturingDelay
@property (nonatomic, readonly) NSTimeInterval resumeCapturingDelay

Added in version 6.23.0

The time interval after which to resume the capturing process.

visualFeedbackColor
@property (nonatomic, readonly) UIColor *visualFeedbackColor

Added in version 6.23.0

The color of the visual error feedback.

brush
@property (nonatomic, readonly) SDCBrush *brush

Added in version 6.23.0

The brush used for the error feedback.

feedback
@property (nonatomic, readonly) SDCFeedback *feedback

Added in version 6.23.0

The feedback used for the error feedback.

SDCSparkScanBarcodeSuccessFeedback
@interface SDCSparkScanBarcodeSuccessFeedback : SDCSparkScanBarcodeFeedback

Added in version 6.23.0

Used to display and emit a success feedback when capturing barcodes.

- init
- (instancetype)init

Added in version 6.23.0

Constructs a success feedback.

- initWithVisualFeedbackColor:feedback:brush:
- (instancetype)initWithVisualFeedbackColor:(nullable UIColor *)visualFeedbackColor
                                   feedback:(nullable SDCFeedback *)feedback
                                      brush:(nullable SDCBrush *)brush

Added in version 6.23.0

Constructs a success feedback.

Passing nil for a nullable parameter results in using the default value.

visualFeedbackColor
@property (nonatomic, readonly) UIColor *visualFeedbackColor

Added in version 6.23.0

The color of the visual success feedback.

brush
@property (nonatomic, readonly) SDCBrush *brush

Added in version 6.23.0

The brush used for the success feedback.

feedback
@property (nonatomic, readonly) SDCFeedback *feedback

Added in version 6.23.0

The feedback used for the success feedback.