Barcode Pick View Settings

Defined in package com.scandit.datacapture.barcode.pick.ui

BarcodePickViewSettings
class BarcodePickViewSettings

Added in version 8.6.0

Settings used to configure BarcodePickView.

barcodePickViewSettings()
fun BarcodePickViewSettings.barcodePickViewSettings(): BarcodePickViewSettings

Added in version 8.6.0

Constructs a new BarcodePickViewSettings object with default values.

highlightStyle
var highlightStyle: BarcodePickViewHighlightStyle

Added in version 8.6.0

The highlight style used by the view. Default is RectangularWithIcons.

shouldShowScanAreaGuides
var shouldShowScanAreaGuides: Boolean

Added in version 8.6.0

Whether to show scan-area guides on top of the preview.

showLoadingDialog
var showLoadingDialog: Boolean

Added in version 8.6.0

Enables or disables the loading dialog. Default is true.

loadingDialogTextForPicking
var loadingDialogTextForPicking: String

Added in version 8.6.0

Configures the text shown by the loading dialog when picking.

loadingDialogTextForUnpicking
var loadingDialogTextForUnpicking: String

Added in version 8.6.0

Configures the text shown by the loading dialog when unpicking.

showGuidelines
var showGuidelines: Boolean

Added in version 8.6.0

Enables or disables the messages shown in the center of the view. Default is true.

initialGuidelineText
var initialGuidelineText: String

Added in version 8.6.0

Configures the text shown when the mode is first launched.

moveCloserGuidelineText
var moveCloserGuidelineText: String

Added in version 8.6.0

Configures the text shown when there are no barcodes detected on screen.

showHints
var showHints: Boolean

Added in version 8.6.0

Enables or disables the messages shown at the top of the view. Default is true.

onFirstItemToPickFoundHintText
var onFirstItemToPickFoundHintText: String

Added in version 8.6.0

Configures the text shown when the first item to pick is recognized and shown on screen.

onFirstItemPickCompletedHintText
var onFirstItemPickCompletedHintText: String

Added in version 8.6.0

Configures the text shown when the first item pick is completed.

onFirstUnmarkedItemPickCompletedHintText
var onFirstUnmarkedItemPickCompletedHintText: String

Added in version 8.6.0

Configures the text shown when the first item that was not a target is picked.

onFirstItemUnpickCompletedHintText
var onFirstItemUnpickCompletedHintText: String

Added in version 8.6.0

Configures the text shown when the user reverses a pick.

showFinishButton
var showFinishButton: Boolean

Added in version 8.6.0

Indicates whether the finish button should be shown to the user. Default is true.

showPauseButton
var showPauseButton: Boolean

Added in version 8.6.0

Indicates whether the pause button should be shown to the user. Default is true.

showZoomButton
var showZoomButton: Boolean

Added in version 8.6.0

Indicates whether the zoom button should be shown. The button lets the user toggle the camera zoom. Default is false.

zoomButtonPosition
var zoomButtonPosition: Anchor

Added in version 8.6.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.BOTTOM_RIGHT.

showTorchButton
var showTorchButton: Boolean

Added in version 8.6.0

Indicates whether the torch button should be shown to the user. Default is false.

torchButtonPosition
var torchButtonPosition: Anchor

Added in version 8.6.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.TOP_LEFT.

tapShutterToPauseGuidelineText
var tapShutterToPauseGuidelineText: String

Added in version 8.6.0

Configures the text shown to suggest the user to pause the scanning to pick items.

uiButtonsOffset
var uiButtonsOffset: FloatWithUnit

Added in version 8.6.0

Can be used to specify the vertical offset (for Portrait, horizontal for Landscape) for the UI buttons.

hardwareTriggerEnabled
var hardwareTriggerEnabled: Boolean

Added in version 8.6.0

Sets whether the BarcodePickView should react to the device’s hardware trigger button.

hardwareTriggerKeyCode
var hardwareTriggerKeyCode: Int?

Added in version 8.6.0

logoStyle
var logoStyle: LogoStyle

Added in version 8.6.0

The style of the logo, either the extended “Scanning By Scandit” or the minimal “Scandit”.

Default is LogoStyle.EXTENDED.

logoAnchor
var logoAnchor: Anchor

Added in version 8.6.0

The anchor point used to position the Scandit logo.

Default is Anchor.BOTTOM_RIGHT.