Barcode Sequence View
Defined in namespace Scandit.DataCapture.Barcode.Sequence.UI
- BarcodeSequenceState
Added in version 8.6.0
The possible states of the BarcodeSequenceView.
- Initialized
Added in version 8.6.0
The view has been initialized and is ready to start sequencing.
- InitializedWithWrongOrientation
Added in version 8.6.0
The view has been initialized but not ready to begin sequencing because the device is held in the wrong orientation.
- InitializedWithDeviceNotFacingShelf
Added in version 8.6.0
The view has been initialized but not ready to begin sequencing because the device is not held facing the shelf.
- Sequencing
Added in version 8.6.0
The view is actively sequencing.
- Paused
Added in version 8.6.0
The sequencing process has been paused.
- PausedDueToInactivity
Added in version 8.6.0
The sequencing process has been paused automatically due to user inactivity.
- PausedDueToOrientationChange
Added in version 8.6.0
The sequencing process has been paused due to the device being held in the wrong orientation.
- PausedDueToDeviceNotFacingShelf
Added in version 8.6.0
The sequencing process has been paused due to the device not being held facing the shelf.
- Stopped
Added in version 8.6.0
The sequencing process has been stopped.
- Error
Added in version 8.6.0
The sequencing process encountered an error. The error will be displayed on the view.
- IBarcodeSequenceViewUIListener
interface IBarcodeSequenceViewUIListenerAdded in version 8.6.0
- OnNextButtonTapped()
voidOnNextButtonTapped(BarcodeSequenceView view, SequencedShelfModule sequencedShelfModule)Added in version 8.6.0
Callback method that is called when the next button is tapped in the view with the sequenced shelf module. Module may be null.
- OnViewListButtonTapped()
voidOnViewListButtonTapped(BarcodeSequenceView view, SequencedShelfModule sequencedShelfModule)Added in version 8.6.0
Callback method that is called when the view list button is tapped in the view with the sequenced shelf module. Module may be null.
- OnStateChanged()
voidOnStateChanged(BarcodeSequenceView view, BarcodeSequenceState state)Added in version 8.6.0
Callback method that is called when the BarcodeSequenceView state changes.
- BarcodeSequenceView
class BarcodeSequenceView : IDisposable
Added in version 8.6.0
Barcode Sequence comes with a ready-to-use UI that allows highlighting barcodes and trays and building a shelf module. The BarcodeSequenceView integrates with any app in just a few lines of code.
- Create()
static BarcodeSequenceView Create(View parentView, BarcodeSequence mode, CameraSettings cameraSettings)
Added in version 8.6.0
Creates a new BarcodeSequenceView with the provided mode and camera settings. The view settings can be configured directly on the view.
- Create()
static BarcodeSequenceView Create(View parentView, BarcodeSequence mode)
Added in version 8.6.0
Creates a new BarcodeSequenceView with the provided mode and default camera settings from BarcodeSequence.RecommendedCameraSettings. The view settings can be configured directly on the view.
- SoundEnabled
boolSoundEnabled { get;set; }Added in version 8.6.0
Indicates whether the feedback should have sound enabled. Can be changed while the view is in use.
Default is true.
- HapticEnabled
boolHapticEnabled { get;set; }Added in version 8.6.0
Indicates whether the feedback should have haptics enabled. Can be changed while the view is in use.
Default is true.
- ShouldShowInitialGuidance
boolShouldShowInitialGuidance { get;set; }Added in version 8.6.0
Indicates whether an initial guidance UI should be presented when the view starts. Disabling the setting right after creating the view prevents the guidance from appearing; disabling it while the guidance is visible hides it. Re-enabling it after the guidance has been dismissed has no effect.
Default is true.
- TrayIndicatorLineColor
intTrayIndicatorLineColor { get;set; }Added in version 8.6.0
Color used for the tray indicator line. Can be changed while the view is in use; visible tray indicators are updated immediately.
Default is #0062FF.
- TrayIndicatorLineSize
floatTrayIndicatorLineSize { get;set; }Added in version 8.6.0
The thickness of the tray indicator line in device-independent pixels. Can be changed while the view is in use; visible tray indicators are updated immediately.
Default is 4.
- TrayIndicatorText
stringTrayIndicatorText { get;set; }Added in version 8.6.0
The label text for the tray indicator. The value should contain a placeholder like
"Row %d". Can be changed while the view is in use; visible tray indicators are updated immediately.Default is
"Row %d".
- HighlightBrush
Brush HighlightBrush { get;set; }
Added in version 8.6.0
Brush used to render highlights for tracked and sequenced barcodes. Can be changed while the view is in use; visible highlights are updated immediately.
Default is a brush with #0062FF fill color, #FFFFFF stroke color and 2f stroke width.
- HighlightTextColor
intHighlightTextColor { get;set; }Added in version 8.6.0
Text color used for highlight labels. Can be changed while the view is in use; visible highlights are updated immediately.
Default is #FFFFFF.
- UiListener
IBarcodeSequenceViewUIListener UiListener { get;set; }
Added in version 8.6.0
Sets the listener which is called whenever buttons are tapped in the view.
- State
BarcodeSequenceState State { get; }
Added in version 8.6.0
The current state of the BarcodeSequenceView.
- SequencedShelfModule
SequencedShelfModule SequencedShelfModule { get; }
Added in version 8.6.0
The current sequenced shelf module.
Note
For performance reasons, this property is updated only when the sequencing process is paused, and should be accessed only after pausing.
- ShouldShowTorchControl
boolShouldShowTorchControl { get;set; }Added in version 8.6.0
Indicates whether the torch control button should be shown.
Default is true.
- TorchControlPosition
Anchor TorchControlPosition { get;set; }
Added in version 8.6.0
Updates the position of the torch control button.
Default is Anchor.TopLeft.
- InitialGuidanceTitleText
stringInitialGuidanceTitleText { get;set; }Added in version 8.6.0
The title text for the initial guidance tutorial dialog.
Default is “Scan all codes in a shelf”.
- InitialGuidanceDescriptionText
stringInitialGuidanceDescriptionText { get;set; }Added in version 8.6.0
The description text for the initial guidance tutorial dialog.
Default is “For best results, use landscape mode and scan each row from left to right pausing in between rows.”.
- InitialGuidanceButtonText
stringInitialGuidanceButtonText { get;set; }Added in version 8.6.0
The button text for the initial guidance tutorial dialog.
Default is “OK”.
- RotateDeviceToCaptureText
stringRotateDeviceToCaptureText { get;set; }Added in version 8.6.0
- PointShelfToCaptureText
stringPointShelfToCaptureText { get;set; }Added in version 8.6.0
The text displayed in the rotation prompt when the device is not facing the shelf and needs to be rotated towards it for sequencing.
Default is “Point the shelf to capture”.
- ShouldShowViewListButton
boolShouldShowViewListButton { get;set; }Added in version 8.6.0
Whether the View List button is shown.
Default is true.
- ShouldShowNextButton
boolShouldShowNextButton { get;set; }Added in version 8.6.0
Whether the Next button is shown.
Default is true.
- ShouldShowRedoButton
boolShouldShowRedoButton { get;set; }Added in version 8.6.0
Whether the Redo button is shown.
Default is true.
- ShouldShowShutterButton
boolShouldShowShutterButton { get;set; }Added in version 8.6.0
Whether the shutter button is shown.
Default is true.
- ShouldShowTrayIndicatorText
boolShouldShowTrayIndicatorText { get;set; }Added in version 8.6.0
Whether the per-row tray indicator label (for example “Row 1”) is drawn on top of each captured tray. The tray indicator line itself is unaffected.
Default is true.
- NextButtonText
stringNextButtonText { get;set; }Added in version 8.6.0
The text for the Next button.
Default is “Next”.
- RedoButtonText
stringRedoButtonText { get;set; }Added in version 8.6.0
The text for the Redo button.
Default is “Redo”.
- ViewListButtonText
stringViewListButtonText { get;set; }Added in version 8.6.0
The text for the View List button.
Default is “View List”.
- RedoShelfDialogTitleText
stringRedoShelfDialogTitleText { get;set; }Added in version 8.6.0
The title text for the redo confirmation dialog.
Default is “Redo Shelf”.
- RedoShelfDialogDescriptionText
stringRedoShelfDialogDescriptionText { get;set; }Added in version 8.6.0
The description text for the redo confirmation dialog.
Default is “Your current capture will be cleared. Do you want to start a new capture?”.
- RedoShelfDialogAcceptButtonText
stringRedoShelfDialogAcceptButtonText { get;set; }Added in version 8.6.0
The accept button text for the redo confirmation dialog.
Default is “Redo”.
- RedoShelfDialogCancelButtonText
stringRedoShelfDialogCancelButtonText { get;set; }Added in version 8.6.0
The cancel button text for the redo confirmation dialog.
Default is “Cancel”.
- RemoveBarcodeButtonText
stringRemoveBarcodeButtonText { get;set; }Added in version 8.6.0
The text for the remove barcode button in popover annotation.
Default is “Remove”.
- AddBarcodeButtonText
stringAddBarcodeButtonText { get;set; }Added in version 8.6.0
The text for the add barcode button in popover annotation.
Default is “Add”.
- LogoStyle
LogoStyle LogoStyle { get;set; }
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
Anchor LogoAnchor { get;set; }
Added in version 8.6.0
The anchor point used to position the Scandit logo.
Default is Anchor.BottomRight.
- Start()
voidStart()Added in version 8.6.0
This method starts the camera but does not begin the sequencing process. The sequencing process will start when the user taps the shutter button.
- StartSequencing()
voidStartSequencing()Added in version 8.6.0
This method starts the sequencing process. It can be paused using PauseSequencing().
- PauseSequencing()
voidPauseSequencing()Added in version 8.6.0
Pauses the sequencing process but keeps the camera running. It can be started again using StartSequencing().
- Stop()
voidStop()Added in version 8.6.0
Stops the camera and the sequencing process. It can be started again using Start().
- Reset()
voidReset()Added in version 8.6.0
Clears UI state and resets the view.