Barcode Pick View Settings
Defined under the namespace Scandit.Datacapture.Barcode.Pick.Ui
- BarcodePickViewSettings
class BarcodePickViewSettingsAdded in version 6.22.0
Settings used to configure BarcodePickView.
- constructor()
constructor()Added in version 6.22.0
Constructs a new BarcodePickViewSettings object with default values.
- highlightStyle
highlightStyle: BarcodePickViewHighlightStyle
Added in version 6.22.0
The highlight style used by the view. Default is RectangularWithIcons.
- showLoadingDialog
showLoadingDialog: boolean
Added in version 6.22.0
Enables or disables the loading dialog. Default is true.
- loadingDialogTextForPicking
loadingDialogTextForPicking: string
Added in version 7.3.0
Configures the text shown by the loading dialog when picking.
- loadingDialogTextForUnpicking
loadingDialogTextForUnpicking: string
Added in version 7.3.0
Configures the text shown by the loading dialog when unpicking.
- showGuidelines
showGuidelines: boolean
Added in version 6.22.0
Enables or disables the messages shown in the center of the view. Default is true.
- initialGuidelineText
initialGuidelineText: string
Added in version 6.22.0
Configures the text shown when the mode is first launched.
- moveCloserGuidelineText
moveCloserGuidelineText: string
Added in version 6.22.0
Configures the text shown when there are no barcodes detected on screen.
- showHints
showHints: boolean
Added in version 6.22.0
Enables or disables the messages shown at the top of the view. Default is true.
- onFirstItemToPickFoundHintText
onFirstItemToPickFoundHintText: string
Added in version 6.22.0
Configures the text shown when the first item to pick is recognized and shown on screen.
- onFirstItemPickCompletedHintText
onFirstItemPickCompletedHintText: string
Added in version 6.22.0
Configures the text shown when the first item pick is completed.
- onFirstUnmarkedItemPickCompletedHintText
onFirstUnmarkedItemPickCompletedHintText: string
Added in version 6.22.0
Configures the text shown when the first item that was not a target is picked.
- onFirstItemUnpickCompletedHintText
onFirstItemUnpickCompletedHintText: string
Added in version 6.22.0
Configures the text shown when the user reverses a pick.
- showFinishButton
showFinishButton: boolean
Added in version 6.22.0
Indicates whether the finish button should be shown to the user. Default is true.
- showPauseButton
showPauseButton: boolean
Added in version 6.22.0
Indicates whether the pause button should be shown to the user. Default is true.
- showZoomButton
showZoomButton: boolean
Added in version 6.22.0
Indicates whether the zoom button should be shown to the user. When clicked, it will switch between CameraSettings.zoomFactor and CameraSettings.zoomGestureZoomFactor, which default to 1x and 2x respectively when using BarcodePick.createRecommendedCameraSettings(). Default is false.
- zoomButtonPosition
zoomButtonPosition: Anchor
Added in version 8.2.0
Indicates the position where the zoom button will be shown to the user. If this position is shared with other controls, all of them will be shown in a row. Default is Anchor.BottomLeft.
- showTorchButton
showTorchButton: boolean
Added in version 8.2.0
Indicates whether the torch button should be shown to the user. Default is false.
- torchButtonPosition
torchButtonPosition: Anchor
Added in version 8.2.0
Indicates the position where the torch button will be shown to the user. If this position is shared with other controls, all of them will be shown in a row. Default is Anchor.TopLeft.
- tapShutterToPauseGuidelineText
tapShutterToPauseGuidelineText: string
Added in version 8.2.0
Configures the text shown to suggest the user to pause the scanning to pick items.
- uiButtonsOffset
uiButtonsOffset: NumberWithUnit | null
Added in version 8.2.0
Can be used to specify the vertical offset (for Portrait, horizontal for Landscape) for the UI buttons.
Will be applied only when running on Android. Default value is 32dp.
- hardwareTriggerKeyCode
hardwareTriggerKeyCode: number | null
Added in version 8.2.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.
- filterHighlightSettings
filterHighlightSettings: BarcodeFilterHighlightSettings | null
Added in version 8.2.0
Use this property to configure the appearance of the barcodes that are filtered. Default is null, filtered barcodes won’t be visualized.