Barcode Sequence View Settings
Defined in package com.scandit.datacapture.barcode.sequence.ui
- BarcodeSequenceViewSettings
class BarcodeSequenceViewSettingsAdded in version 8.0.0
Configuration options for BarcodeSequenceView.
- BarcodeSequenceViewSettings()
BarcodeSequenceViewSettings()Added in version 8.0.0
Constructs a new Barcode Sequence view settings to use when creating an instance of BarcodeSequenceView.
- soundEnabled
booleangetSoundEnabled()voidsetSoundEnabled(booleanvalue)Added in version 8.0.0
Indicates whether the feedback should have sound enabled.
Default is true.
- hapticEnabled
booleangetHapticEnabled()voidsetHapticEnabled(booleanvalue)Added in version 8.0.0
Indicates whether the feedback should have haptics enabled.
Default is true.
- shouldShowInitialGuidance
booleangetShouldShowInitialGuidance()voidsetShouldShowInitialGuidance(booleanvalue)Added in version 8.0.0
Indicates whether an initial guidance UI should be presented when the view starts.
Default is true.
- trayIndicatorLineColor
intgetTrayIndicatorLineColor()voidsetTrayIndicatorLineColor(intvalue)Added in version 8.0.0
Color used for the tray indicator line.
Default is #0062FF.
- trayIndicatorLineSize
floatgetTrayIndicatorLineSize()voidsetTrayIndicatorLineSize(floatvalue)Added in version 8.0.0
The thickness of the tray indicator line in device-independent pixels.
Default is 4.
- trayIndicatorText
@NonNull String getTrayIndicatorText()
voidsetTrayIndicatorText(@NonNull String value)Added in version 8.0.0
The label text for the tray indicator. The value should contain a placeholder like
"Row %d".Default is
"Row %d".
- highlightBrush
@NonNull Brush getHighlightBrush()
voidsetHighlightBrush(@NonNull Brush value)Added in version 8.0.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
intgetHighlightTextColor()voidsetHighlightTextColor(intvalue)Added in version 8.0.0
Text color used for highlight labels.
Default is #FFFFFF.