Barcode Pick View
Defined in framework ScanditBarcodeCapture
Note
Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.
- SDCBarcodePickViewUIDelegate
@protocol SDCBarcodePickViewUIDelegate <NSObject>
Added in version 6.20.0
- - barcodePickViewDidTapFinishButton:
- (
void
)barcodePickViewDidTapFinishButton:(SDCBarcodePickView *)viewAdded in version 6.20.0
Callback method that can be used to define an action that should be performed when the finish button is tapped from the view. Called from the main thread.
- SDCBarcodePickView
@interface SDCBarcodePickView : UIView
Added in version 6.19.0
BarcodePickView.
- - initWithFrame:context:barcodePick:settings:
- (
instancetype
)initWithFrame:(CGRect)frame context:(SDCDataCaptureContext *)context barcodePick:(SDCBarcodePick *)barcodePick settings:(SDCBarcodePickViewSettings *)viewSettingsAdded in version 6.19.0
Initializes a BarcodePickView
- - initWithFrame:context:barcodePick:settings:cameraSettings:
- (
instancetype
)initWithFrame:(CGRect)frame context:(SDCDataCaptureContext *)context barcodePick:(SDCBarcodePick *)barcodePick settings:(SDCBarcodePickViewSettings *)viewSettings cameraSettings:(nullable SDCCameraSettings *)cameraSettingsAdded in version 6.19.0
Initializes a BarcodePickView
- - start
- (
void
)startAdded in version 6.19.0
Starts the camera and the scanning process. Can be stopped by calling pause.
For instance, it can be called when the view controller containing the view is presented (i.e., UIViewController’s viewWillAppear).
- - pause
- (
void
)pauseAdded in version 6.19.0
Pauses the camera and the scanning process. It can be started again using start.
- - freeze
- (
void
)freezeAdded in version 6.20.0
Freezes the camera and the highlights position to make the selection easier. The scanning can be started again using start.
- - reset
- (
void
)resetAdded in version 7.0.0
Reset the picking flow. This will clear all picked items and restore the initial state.
- - addActionListener:
- (
void
)addActionListener:(nonnullid
<SDCBarcodePickActionListener>)listenerAdded in version 6.19.0
Add a SDCBarcodePickActionListener to the mode. User actions will be notified to the listener.
- - stop
- (
void
)stopAdded in version 6.19.0
Stops the camera and the scanning process. After this call the view should not be used anymore.
- - removeActionListener:
- (
void
)removeActionListener:(nonnullid
<SDCBarcodePickActionListener>)listenerAdded in version 6.19.0
Removes a SDCBarcodePickActionListener.
- UIDelegate
@property (nonatomic, weak, nullable)
id
<SDCBarcodePickViewUIDelegate> UIDelegateAdded in version 6.20.0
Sets the delegate which is called whenever the finish button is tapped from the view.
- - addListener:
- (
void
)addListener:(nonnullid
<SDCBarcodePickViewListener>)listenerAdded in version 6.20.0
Add a SDCBarcodePickViewListener to the mode. User actions will be notified to the listener.
- - removeListener:
- (
void
)removeListener:(nonnullid
<SDCBarcodePickViewListener>)listenerAdded in version 6.20.0
Removes a SDCBarcodePickViewListener.