Barcode Find View Settings

Defined in library scandit_datacapture_barcode_find_ui

BarcodeFindViewSettings
class BarcodeFindViewSettings

Added in version 6.22.0

BarcodeFindViewSettings.withProgressBarColorAndHardwareTriggers(inListItemColor, notInListItemColor, progressBarStartColor, progressBarFinishColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode)
BarcodeFindViewSettings.withProgressBarColorAndHardwareTriggers(
        Color inListItemColor,
        Color notInListItemColor,
        Color progressBarStartColor,
        Color progressBarFinishColor,
        bool soundEnabled,
        bool hapticEnabled,
        bool hardwareTriggerEnabled,
        int? hardwareTriggerKeyCode)

Added in version 8.5.0

Constructs a new BarcodeFind view settings to use when creating an instance of the BarcodeFindView.

BarcodeFindViewSettings.withProgressBarColor(inListItemColor, notInListItemColor, progressBarStartColor, progressBarFinishColor, soundEnabled, hapticEnabled)
BarcodeFindViewSettings.withProgressBarColor(
        Color inListItemColor,
        Color notInListItemColor,
        Color progressBarStartColor,
        Color progressBarFinishColor,
        bool soundEnabled,
        bool hapticEnabled)

Added in version 8.5.0

Constructs a new BarcodeFind view settings to use when creating an instance of the BarcodeFindView.

BarcodeFindViewSettings.withHardwareTriggers(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode)
BarcodeFindViewSettings.withHardwareTriggers(
        Color inListItemColor,
        Color notInListItemColor,
        bool soundEnabled,
        bool hapticEnabled,
        bool hardwareTriggerEnabled,
        int? hardwareTriggerKeyCode)

Added in version 8.5.0

Constructs a new BarcodeFind view settings to use when creating an instance of the BarcodeFindView.

BarcodeFindViewSettings(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled)
 BarcodeFindViewSettings(Color inListItemColor,
        Color notInListItemColor,
        bool soundEnabled,
        bool hapticEnabled)

Added in version 6.22.0

Constructs a new BarcodeFind view settings to use when creating an instance of the BarcodeFindView.

inListItemColor
Color get inListItemColor

Added in version 6.22.0

The color for the overlay of an item that is in the list of items to find.

Default is #2EC1CE.

notInListItemColor
Color get notInListItemColor

Added in version 6.22.0

The color for the overlay of an item that is not in the list of items to find.

Default is #FFFFFF.

progressBarStartColor
Color get progressBarStartColor

Added in version 8.5.0

The color used at the start of the progress bar. The progress bar will diplay a gradient from progressBarStartColor to progressBarFinishColor.

Default is #2EC1CE.

progressBarFinishColor
Color get progressBarFinishColor

Added in version 8.5.0

The color used at the end of the progress bar. The progress bar will diplay a gradient from progressBarStartColor to progressBarFinishColor.

Default is #97e0e6.

soundEnabled
bool get soundEnabled

Added in version 6.22.0

Indicates whether audio feedback should be enabled.

Default is true.

hapticEnabled
bool get hapticEnabled

Added in version 6.22.0

Indicates whether haptic feedback should be enabled.

Default is true.

hardwareTriggerEnabled
bool get hardwareTriggerEnabled

Added in version 8.5.0

hardwareTriggerKeyCode
int? get hardwareTriggerKeyCode

Added in version 8.5.0