Deprecation warning

Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.

We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.

You'll find the updated documentation at: Data Capture SDK Documentation for iOS

SBSBarcodePickerBase.h
Go to the documentation of this file.
1 //
2 // SBSBarcodePicker.h
3 // ScanditBarcodeScanner
4 //
5 // Created by Marco Biasini on 09/06/15.
6 // Copyright (c) 2015 Scandit AG. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import <AVFoundation/AVFoundation.h>
11 #import <CoreGraphics/CoreGraphics.h>
12 #import <CoreVideo/CoreVideo.h>
13 #import <CoreMedia/CoreMedia.h>
14 
15 #import "SBSOverlayController.h"
16 #import "SBSScanSettings.h"
17 
18 
22 @interface SBSBarcodePickerBase : UIViewController
23 
26 
35 - (BOOL)isScanning;
36 
38 
41 
51 - (BOOL)supportsCameraFacing:(SBSCameraFacingDirection)facing;
52 
61 - (BOOL)changeToCameraFacing:(SBSCameraFacingDirection)facing;
62 
70 - (BOOL)switchCameraFacing;
72 
75 
88 - (void)switchTorchOn:(BOOL)on;
90 
91 
94 
103 - (BOOL)setRelativeZoom:(float)zoom;
105 
106 
112 @property (readonly, nonatomic) SBSCameraFacingDirection cameraFacingDirection;
113 
125 @property (nonatomic, assign) AVCaptureVideoOrientation cameraPreviewOrientation;
126 
133 @property (nonatomic, assign) BOOL autoFocusOnTapEnabled;
134 
144 @property (nonatomic, assign) BOOL pinchToZoomEnabled;
145 
146 
147 @end
BOOL pinchToZoomEnabled
Whether pinch to zoom is enabled.
Definition: SBSBarcodePickerBase.h:144
SBSCameraFacingDirection
Definition: SBSCommon.h:42
BOOL autoFocusOnTapEnabled
Whether tapping on the screen should trigger an auto-focus.
Definition: SBSBarcodePickerBase.h:133
AVCaptureVideoOrientation cameraPreviewOrientation
The orientation of the camera preview.
Definition: SBSBarcodePickerBase.h:125
BOOL isScanning()
Returns YES if scanning is in progress.
BOOL switchCameraFacing()
Changes to the opposite camera facing if it is supported.
SBSCameraFacingDirection cameraFacingDirection
The facing direction of the used camera.
Definition: SBSBarcodePickerBase.h:112
Implements the base functionality for the pre-4.7 and 4.7+ picker.
Definition: SBSBarcodePickerBase.h:22