Barcode Find View Settings
Defined under the namespace Scandit.Datacapture.Barcode.Find.Ui
- BarcodeFindViewSettings
class BarcodeFindViewSettings
Added in version 6.22.0
- withProgressBarColorAndHardwareTriggers(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode, progressBarStartColor, progressBarFinishColor)
static withProgressBarColorAndHardwareTriggers( inListItemColor: Color, notInListItemColor: Color, soundEnabled: boolean, hapticEnabled: boolean, hardwareTriggerEnabled: boolean, hardwareTriggerKeyCode: number, progressBarStartColor: Color, progressBarFinishColor: Color): BarcodeFindViewSettings
Added in version 7.4.0
Constructs a new BarcodeFind view settings to use when creating an instance of the BarcodeFindView.
- withProgressBarColor(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, progressBarStartColor, progressBarFinishColor)
static withProgressBarColor(inListItemColor: Color, notInListItemColor: Color, soundEnabled: boolean, hapticEnabled: boolean, progressBarStartColor: Color, progressBarFinishColor: Color): BarcodeFindViewSettings
Added in version 7.4.0
Constructs a new BarcodeFind view settings to use when creating an instance of the BarcodeFindView.
- withHardwareTriggers(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode)
static withHardwareTriggers(inListItemColor: Color, notInListItemColor: Color, soundEnabled: boolean, hapticEnabled: boolean, hardwareTriggerEnabled: boolean, hardwareTriggerKeyCode: number): BarcodeFindViewSettings
Added in version 7.1.0
Constructs a new BarcodeFind view settings to use when creating an instance of the BarcodeFindView.
- constructor(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode, progressBarStartColor, progressBarFinishColor)
constructor(inListItemColor: Color, notInListItemColor: Color, soundEnabled: boolean, hapticEnabled: boolean, hardwareTriggerEnabled?: boolean, hardwareTriggerKeyCode?: number, progressBarStartColor?: Color, progressBarFinishColor?: Color)
Added in version 6.22.0
Constructs a new BarcodeFind view settings to use when creating an instance of the BarcodeFindView.
- inListItemColor
get inListItemColor(): Color
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
get notInListItemColor(): Color
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
get progressBarStartColor(): Color
Added in version 7.4.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
get progressBarFinishColor(): Color
Added in version 7.4.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
get soundEnabled(): boolean
Added in version 6.22.0
Indicates whether audio feedback should be enabled.
Default is true.
- hapticEnabled
get hapticEnabled(): boolean
Added in version 6.22.0
Indicates whether haptic feedback should be enabled.
Default is true.
- hardwareTriggerKeyCode
get hardwareTriggerKeyCode(): number | null
Added in version 7.1.0
The button that acts as a scan trigger. Leave null to use the default button (The default button will be the dedicated HW button on XCover devices, and “volume down” key for other devices). This is only taken into consideration if hardwareTriggerEnabled is true.