Barcode Sequence View Settings

Defined in framework ScanditBarcodeCapture

BarcodeSequenceViewSettings
open class BarcodeSequenceViewSettings : NSObject

Added in version 8.1.0

Configuration options for BarcodeSequenceView.

init
init()

Added in version 8.1.0

Constructs a new Barcode Sequence view settings to use when creating an instance of BarcodeSequenceView.

soundEnabled
open var soundEnabled: Bool { get, set }

Added in version 8.1.0

Indicates whether the feedback should have sound enabled.

Default is true.

hapticEnabled
open var hapticEnabled: Bool { get, set }

Added in version 8.1.0

Indicates whether the feedback should have haptics enabled.

Default is true.

shouldShowInitialGuidance
open var shouldShowInitialGuidance: Bool { get, set }

Added in version 8.1.0

Indicates whether an initial guidance UI should be presented when the view starts.

Default is true.

trayIndicatorLineColor
open var trayIndicatorLineColor: UIColor { get, set }

Added in version 8.1.0

Color used for the tray indicator line.

Default is #0062FF.

trayIndicatorLineSize
open var trayIndicatorLineSize: CGFloat { get, set }

Added in version 8.1.0

The thickness of the tray indicator line in device-independent pixels.

Default is 4.

trayIndicatorText
open var trayIndicatorText: String { get, set }

Added in version 8.1.0

The label text for the tray indicator. The value should contain a placeholder like "Row %d".

Default is "Row %d".

highlightBrush
open var highlightBrush: Brush { get, set }

Added in version 8.1.0

Brush used to render highlights for tracked and sequenced barcodes.

Default is a brush with #0062FF fill color, #FFFFFF stroke color and 2f stroke width.

highlightTextColor
open var highlightTextColor: UIColor { get, set }

Added in version 8.1.0

Text color used for highlight labels.

Default is #FFFFFF.

jsonString
open var jsonString: String { get }

Added in version 8.1.0

Serializes the settings to a JSON string.