Barcode AR View
Defined in namespace Scandit.DataCapture.Barcode.Ar.UI
- HighlightForBarcodeTappedEventArgs
class HighlightForBarcodeTappedEventArgs : EventArgs
Added in version 7.2.0
Provides data for the BarcodeArView.HighlightForBarcodeTapped event.
- Highlight
IBarcodeArHighlight Highlight { get; }
Added in version 7.2.0
- BarcodeArView
class BarcodeArView : IDisposable
Added in version 7.2.0
Barcode AR comes with a ready-to-use UI that allows highlighting barcodes and displaying additional information over them. The BarcodeArView integrates with any app in just a few lines of code.
- Create()
static BarcodeArView Create(View parentView, BarcodeAr barcodeAr, DataCaptureContext dataCaptureContext, BarcodeArViewSettings settings, CameraSettings cameraSettings)
Added in version 7.2.0
Creates a new BarcodeArView with the provided mode, viewSettings and default camera settings from BarcodeAr.RecommendedCameraSettings.
- HighlightProvider
IBarcodeArHighlightProvider HighlightProvider { get;set; }
Added in version 7.2.0
Sets the provider which supplies highlight information for barcodes in the view. If null, a default provider is used, which returns a predefined highlight for each barcode.
- AnnotationProvider
IBarcodeArAnnotationProvider AnnotationProvider { get;set; }
Added in version 7.2.0
Sets the provider which supplies annotation information for barcodes in the view. If null, no annotation will be displayed for any barcode.
- ShouldShowTorchControl
boolShouldShowTorchControl { get;set; }Added in version 7.2.0
Indicates whether the torch control button should be shown to the user.
Default is false.
- TorchControlPosition
Anchor TorchControlPosition { get;set; }
Added in version 7.2.0
Updates the position of the torch control button.
Default is Anchor.TopLeft.
- ShouldShowZoomControl
boolShouldShowZoomControl { get;set; }Added in version 7.2.0
Indicates whether the zoom control button should be shown to the user.
- ZoomControlPosition
Anchor ZoomControlPosition { get;set; }
Added in version 7.2.0
Updates the position of the zoom control button.
Default is Anchor.BottomRight.
- ZoomControlOrientation
ZoomSwitchOrientation ZoomControlOrientation { get;set; }
Added in version 8.6.0
Sets the orientation of the zoom control button.
Default is ZoomSwitchOrientation.Default.
- ShouldShowCameraSwitchControl
boolShouldShowCameraSwitchControl { get;set; }Added in version 7.2.0
Indicates whether the camera switch control button should be shown to the user.
- CameraSwitchControlPosition
Anchor CameraSwitchControlPosition { get;set; }
Added in version 7.2.0
Updates the position of the camera switch control button.
Default is Anchor.TopRight.
- 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. To shift the logo relative to the anchor, use LogoOffset.
Default is Anchor.BottomRight.
- LogoOffset
PointWithUnit LogoOffset { get;set; }
Added in version 8.6.0
The offset applied to the Scandit logo relative to the logo anchor. When specified in pixels (MeasureUnit.Pixel) the offset is used as-is. When specified as a fraction (MeasureUnit.Fraction) the offset is computed relative to the view size minus the scan area margins.
Default is a zero offset.
- ShouldShowMacroModeControl
boolShouldShowMacroModeControl { get;set; }Added in version 7.2.0
Indicates whether the macro mode control button should be shown to the user.
- MacroModeControlPosition
Anchor MacroModeControlPosition { get;set; }
Added in version 7.2.0
Updates the position of the macro mode control button.
Default is Anchor.TopRight.
- Start()
voidStart()Added in version 7.2.0
Starts the scanning process.
- Stop()
voidStop()Added in version 7.2.0
Stops the scanning process.
- Pause()
voidPause()Added in version 7.2.0
Pauses the scanning process.
- Reset()
voidReset()Added in version 7.2.0
Removes all current highlights and annotations.
- HighlightForBarcodeTapped
event EventHandler<HighlightForBarcodeTappedEventArgs> HighlightForBarcodeTapped
Added in version 7.2.0
Occurs when a barcode highlight is tapped in the view.
- GetNotificationPresenter()
INotificationPresenter GetNotificationPresenter()
Added in version 8.5.0
Returns a INotificationPresenter instance that can be used to present notifications to the user.