SparkScan Toast Settings

Defined in framework ScanditBarcodeCapture

SDCSparkScanToastSettings
@interface SDCSparkScanToastSettings : NSObject

Added in version 6.18.0

Note

The SparkScan Toast APIs are still in beta and may change in future versions of Scandit Data Capture SDK.

toastEnabled
@property (nonatomic, assign, getter=isToastEnabled) BOOL toastEnabled

Added in version 6.18.0

Should toasts be shown or not.

Default is NO.

toastBackgroundColor
@property (nonatomic, strong, nullable) UIColor *toastBackgroundColor

Added in version 6.18.0

Background color of the toast. If this property is nil, a default color will be used.

Default is nil.

toastTextColor
@property (nonatomic, strong, nullable) UIColor *toastTextColor

Added in version 6.18.0

Text color of the toast. If this property is nil, a default color will be used.

Default is nil.

targetModeEnabledMessage
@property (nonatomic, strong, nullable) NSString *targetModeEnabledMessage

Added in version 6.18.0

Text of the toast when target mode enabled.

Default is nil. If this property is nil, a default message will be shown.

targetModeDisabledMessage
@property (nonatomic, strong, nullable) NSString *targetModeDisabledMessage

Added in version 6.18.0

Text of the toast when target mode disabled.

Default is nil. If this property is nil, a default message will be shown.

continuousModeEnabledMessage
@property (nonatomic, strong, nullable) NSString *continuousModeEnabledMessage

Added in version 6.18.0

Text of the toast when SDCSparkScanScanningBehaviorContinuous capturing mode enabled.

Default is nil. If this property is nil, a default message will be shown.

continuousModeDisabledMessage
@property (nonatomic, strong, nullable) NSString *continuousModeDisabledMessage

Added in version 6.18.0

Text of the toast when SDCSparkScanScanningBehaviorContinuous capturing mode disabled.

Default is nil. If this property is nil, a default message will be shown.

cameraTimeoutMessage
@property (nonatomic, strong, nullable) NSString *cameraTimeoutMessage

Added in version 6.18.0

Text of the toast when mini preview is hidden due to a timeout to save battery.

Default is nil. If this property is nil, a default message will be shown.

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

Added in version 6.18.0

Returns the JSON representation of the toast settings.