Barcode Check View
Defined in framework ScanditBarcodeCapture
- SDCBarcodeCheckViewUIDelegate
@protocol SDCBarcodeCheckViewUIDelegate <NSObject>
Added in version 7.1.0
- - barcodeCheck:didTapHighlightForBarcode:highlight:
- (
void
)barcodeCheck:(SDCBarcodeCheck *)barcodeCheck didTapHighlightForBarcode:(SDCBarcode *)barcode highlight:(UIView<SDCBarcodeCheckHighlight> *)highlightAdded in version 7.1.0
Callback method that is called when a barcode highlight is tapped in the view.
- SDCBarcodeCheckView
@interface SDCBarcodeCheckView : UIView
Added in version 7.1.0
BarcodeCheck comes with a ready-to-use UI that allows highlighting barcodes and displaying additional information over them. The BarcodeCheckView integrates with any app in just a few lines of code.
- - initWithParentView:barcodeCheck:settings:cameraSettings:
- (
instancetype
)initWithParentView:(nonnull UIView *)parentView barcodeCheck:(nonnull SDCBarcodeCheck *)barcodeCheck settings:(nonnull SDCBarcodeCheckViewSettings *)settings cameraSettings:(nullable SDCCameraSettings *)cameraSettingsAdded in version 7.1.0
Creates a new BarcodeCheckView with the provided mode, viewSettings and cameraSettings.
- UIDelegate
@property (nonatomic, weak, nullable)
id
<SDCBarcodeCheckViewUIDelegate> UIDelegateAdded in version 7.1.0
Sets the delegate which is called whenever a barcode highlight is tapped in the view.
- highlightProvider
@property (nonatomic, weak, nullable)
id
<SDCBarcodeCheckHighlightProvider> highlightProviderAdded in version 7.1.0
Sets the provider which supplies highlight information for barcodes in the view. If nil, a default provider is used, which returns a predefined highlight for each barcode.
- annotationProvider
@property (nonatomic, weak, nullable)
id
<SDCBarcodeCheckAnnotationProvider> annotationProviderAdded in version 7.1.0
Sets the provider which supplies annotation information for barcodes in the view. If nil, no annotation will be displayed for any barcode.
- shouldShowTorchControl
@property (nonatomic, assign, readwrite)
BOOL
shouldShowTorchControlAdded in version 7.1.0
Indicates whether the torch control button should be shown to the user.
Default is NO.
- torchControlPosition
@property (nonatomic, assign, readwrite) SDCAnchor torchControlPosition
Added in version 7.1.0
Updates the position of the torch control button.
Default is SDCAnchorTopLeft.
- shouldShowZoomControl
@property (nonatomic, assign, readwrite)
BOOL
shouldShowZoomControlAdded in version 7.1.0
Indicates whether the zoom control button should be shown to the user.
- zoomControlPosition
@property (nonatomic, assign, readwrite) SDCAnchor zoomControlPosition
Added in version 7.1.0
Updates the position of the zoom control button.
Default is SDCAnchorBottomRight.
- shouldShowCameraSwitchControl
@property (nonatomic, assign, readwrite)
BOOL
shouldShowCameraSwitchControlAdded in version 7.1.0
Indicates whether the camera switch control button should be shown to the user.
- cameraSwitchControlPosition
@property (nonatomic, assign, readwrite) SDCAnchor cameraSwitchControlPosition
Added in version 7.1.0
Updates the position of the camera switch control button.
Default is SDCAnchorTopRight.
- shouldShowMacroModeControl
@property (nonatomic, assign, readwrite)
BOOL
shouldShowMacroModeControlAdded in version 7.1.0
Indicates whether the macro mode control button should be shown to the user.
- macroModeControlPosition
@property (nonatomic, assign, readwrite) SDCAnchor macroModeControlPosition
Added in version 7.1.0
Updates the position of the macro mode control button.
Default is SDCAnchorTopRight.
- - start
- (
void
)startAdded in version 7.1.0
Starts the scanning process.
- - stop
- (
void
)stopAdded in version 7.1.0
Stops the scanning process.
- - pause
- (
void
)pauseAdded in version 7.1.0
Pauses the scanning process.
- - reset
- (
void
)resetAdded in version 7.1.0
Clears all highlights and annotations currently visible and calls highlightProvider and annotationProvider to supply new highlights and annotations.