Barcode Find View Settings
Defined under the namespace Scandit.Datacapture.Barcode.Find.Ui
- BarcodeFindViewSettings
class BarcodeFindViewSettings
Added in version 6.22.0
- withHardwareTriggers(inListItemColor, notInListItemColor, soundEnabled, hapticEnabled, hardwareTriggerEnabled, hardwareTriggerKeyCode)
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)
constructor(inListItemColor: Color, notInListItemColor: Color, soundEnabled: boolean, hapticEnabled: boolean, hardwareTriggerEnabled?: boolean, hardwareTriggerKeyCode?: number)
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 n the list of items to find.
Default is #FFFFFF.
- 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.