Barcode Pick View Settings
Defined in package com.scandit.datacapture.barcode.pick.ui
Note
Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.
- BarcodePickViewSettings
class BarcodePickViewSettingsAdded in version 6.19.0
Settings used to configure BarcodePickView.
- BarcodePickViewSettings()
BarcodePickViewSettings()Added in version 6.19.0
Constructs a new BarcodePickViewSettings object with default values.
- highlightStyle
@NonNull BarcodePickViewHighlightStyle getHighlightStyle()
voidsetHighlightStyle(@NonNull BarcodePickViewHighlightStyle value)Added in version 6.19.0
The highlight style used by the view. Default is RectangularWithIcons.
- showLoadingDialog
booleangetShowLoadingDialog()voidsetShowLoadingDialog(booleanvalue)Added in version 6.19.0
Enables or disables the loading dialog. Default is true.
- loadingDialogText
@NonNull String getLoadingDialogText()
voidsetLoadingDialogText(@NonNull String value)Added in version 6.19.0
Configures the text shown by the loading dialog.
- showGuidelines
booleangetShowGuidelines()voidsetShowGuidelines(booleanvalue)Added in version 6.19.0
Enables or disables the messages shown in the center of the view. Default is true.
- initialGuidelineText
@NonNull String getInitialGuidelineText()
voidsetInitialGuidelineText(@NonNull String value)Added in version 6.19.0
Configures the text shown when the mode is first launched.
- moveCloserGuidelineText
@NonNull String getMoveCloserGuidelineText()
voidsetMoveCloserGuidelineText(@NonNull String value)Added in version 6.19.0
Configures the text shown when there are no barcodes detected on screen.
- showHints
booleangetShowHints()voidsetShowHints(booleanvalue)Added in version 6.19.0
Enables or disables the messages shown at the top of the view. Default is true.
- onFirstItemToPickFoundHintText
@NonNull String getOnFirstItemToPickFoundHintText()
voidsetOnFirstItemToPickFoundHintText(@NonNull String value)Added in version 6.19.0
Configures the text shown when the first item to pick is recognized and shown on screen.
- onFirstItemPickCompletedHintText
@NonNull String getOnFirstItemPickCompletedHintText()
voidsetOnFirstItemPickCompletedHintText(@NonNull String value)Added in version 6.19.0
Configures the text shown when the first item pick is completed.
- onFirstUnmarkedItemPickCompletedHintText
@NonNull String getOnFirstUnmarkedItemPickCompletedHintText()
voidsetOnFirstUnmarkedItemPickCompletedHintText( @NonNull String value)Added in version 6.19.0
Configures the text shown when the first item that was not a target is picked.
- onFirstItemUnpickCompletedHintText
@NonNull String getOnFirstItemUnpickCompletedHintText()
voidsetOnFirstItemUnpickCompletedHintText( @NonNull String value)Added in version 6.19.0
Configures the text shown when the user reverses a pick.
- showFinishButton
booleangetShowFinishButton()voidsetShowFinishButton(booleanvalue)Added in version 6.20.0
Indicates whether the finish button should be shown to the user. Default is true.
- showPauseButton
booleangetShowPauseButton()voidsetShowPauseButton(booleanvalue)Added in version 6.20.0
Indicates whether the pause button should be shown to the user. Default is true.
- showZoomButton
booleangetShowZoomButton()voidsetShowZoomButton(booleanvalue)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
Anchor getZoomButtonPosition()
voidsetZoomButtonPosition(Anchor value)Added in version 6.25.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_LEFT.
- showTorchButton
booleangetShowTorchButton()voidsetShowTorchButton(booleanvalue)Added in version 6.25.0
Indicates whether the torch button should be shown to the user. Default is false.
- torchButtonPosition
Anchor getTorchButtonPosition()
voidsetTorchButtonPosition(Anchor value)Added in version 6.25.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.
- onStatusIconShownWhilePausedHintText
@NonNull String getOnStatusIconShownWhilePausedHintText()
voidsetOnStatusIconShownWhilePausedHintText( @NonNull String value)Added in version 6.23.0
Configures the text shown when the user freezes the mode while there are status icons in view.
- tapShutterToPauseGuidelineText
@NonNull String getTapShutterToPauseGuidelineText()
voidsetTapShutterToPauseGuidelineText(@NonNull String value)Added in version 6.23.0
Configures the text shown to suggest the user to pause the scanning to pick items.
- uiButtonsOffset
@NonNull FloatWithUnit getUiButtonsOffset()
voidsetUiButtonsOffset(@NonNull FloatWithUnit value)Added in version 6.22.0
Can be used to specify the vertical offset (for Portrait, horizontal for Landscape) for the UI buttons.
Default value is 32dp.
- hardwareTriggerEnabled
booleangetHardwareTriggerEnabled()voidsetHardwareTriggerEnabled(booleanvalue)Added in version 6.23.0
Sets whether the BarcodePickView should react to clicks on the hardware button specified in hardwareTriggerKeyCode. Disabled by default.
Note
This feature is only available on devices with api >= 28. Whether a device supports this can be checked at runtime with the BarcodePickView.hardwareTriggerSupported flag.
- hardwareTriggerKeyCode
@Nullable Integer getHardwareTriggerKeyCode()
voidsetHardwareTriggerKeyCode(@Nullable Integer value)Added in version 6.23.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 KeyEvent.KEYCODE_VOLUME_DOWN for other devices). This is only taken into consideration if hardwareTriggerEnabled is true.
- filterHighlightSettings
@Nullable BarcodeFilterHighlightSettings getFilterHighlightSettings()
voidsetFilterHighlightSettings(@Nullable BarcodeFilterHighlightSettings value)Added in version 6.24.0
Use this property to configure the appearance of the barcodes that are filtered. Default is null, filtered barcodes won’t be visualized.