SBSBarcodePickerView.h
Go to the documentation of this file.
1 //
2 // SBSBarcodePickerView.h
3 // ScanditBarcodeScanner
4 //
5 // Created by Moritz Hartmeier on 28/05/15.
6 // Copyright (c) 2015 Scandit AG. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 
11 #import "SBSBarcodePicker.h"
12 
13 
25 @interface SBSBarcodePickerView : UIView
26 
27 @property (nonatomic, assign) IBInspectable BOOL startOnLoad;
28 
29 @property (nonatomic, assign) IBInspectable BOOL EAN13;
30 @property (nonatomic, assign) IBInspectable BOOL UPC12;
31 @property (nonatomic, assign) IBInspectable BOOL UPCE;
32 @property (nonatomic, assign) IBInspectable BOOL EAN8;
33 @property (nonatomic, assign) IBInspectable BOOL code39;
34 @property (nonatomic, assign) IBInspectable BOOL code93;
35 @property (nonatomic, assign) IBInspectable BOOL code128;
36 @property (nonatomic, assign) IBInspectable BOOL PDF417;
37 @property (nonatomic, assign) IBInspectable BOOL datamatrix;
38 @property (nonatomic, assign) IBInspectable BOOL QR;
39 @property (nonatomic, assign) IBInspectable BOOL ITF;
40 @property (nonatomic, assign) IBInspectable BOOL MSIPlessey;
41 @property (nonatomic, assign) IBInspectable BOOL GS1Databar;
42 @property (nonatomic, assign) IBInspectable BOOL GS1DatabarExpanded;
43 @property (nonatomic, assign) IBInspectable BOOL codabar;
44 @property (nonatomic, assign) IBInspectable BOOL aztec;
45 @property (nonatomic, assign) IBInspectable BOOL twoDigitAddOn;
46 @property (nonatomic, assign) IBInspectable BOOL fiveDigitAddOn;
47 @property (nonatomic, assign) IBInspectable BOOL code11;
48 @property (nonatomic, assign) IBInspectable BOOL maxiCode;
49 @property (nonatomic, assign) IBInspectable BOOL microPDF417;
50 @property (nonatomic, assign) IBInspectable BOOL code25;
51 
52 @property (nonatomic, assign) IBInspectable BOOL uiBeep;
53 @property (nonatomic, assign) IBInspectable BOOL uiVibrate;
54 @property (nonatomic, assign) IBInspectable BOOL uiTorchButton;
55 @property (nonatomic, assign) IBInspectable BOOL uiCameraButton;
56 
57 @property (nonatomic, assign) IBInspectable BOOL frontCamera;
58 
59 @property (nullable, nonatomic, weak) IBOutlet id<SBSScanDelegate> scanDelegate;
60 
61 @property (nonnull, nonatomic, strong, readonly) SBSBarcodePicker *viewController;
62 
70 - (BOOL)isScanning;
71 
85 - (void)resumeScanning;
86 
98 - (void)pauseScanning;
99 
111 - (void)startScanning;
112 
128 - (void)startScanningInPausedState:(BOOL)paused;
129 
137 - (void)stopScanning;
138 
139 
140 @end
IBInspectable BOOL ITF
Definition: SBSBarcodePickerView.h:39
IBInspectable BOOL GS1Databar
Definition: SBSBarcodePickerView.h:41
IBInspectable BOOL microPDF417
Definition: SBSBarcodePickerView.h:49
IBInspectable BOOL EAN8
Definition: SBSBarcodePickerView.h:32
Controls the camera and orchestrates the barcode scanning process.
Definition: SBSBarcodePicker.h:145
IBInspectable BOOL EAN13
Definition: SBSBarcodePickerView.h:29
IBInspectable BOOL QR
Definition: SBSBarcodePickerView.h:38
IBInspectable BOOL uiTorchButton
Definition: SBSBarcodePickerView.h:54
BOOL isScanning()
Returns YES if scanning is in progress.
IBInspectable BOOL uiCameraButton
Definition: SBSBarcodePickerView.h:55
Wraps an SBSBarcodePicker instance, exposing simple settings through the Interface Builder...
Definition: SBSBarcodePickerView.h:25
IBInspectable BOOL uiBeep
Definition: SBSBarcodePickerView.h:52
void resumeScanning()
Resume scanning codes.
void stopScanning()
Stops the scanning process and closes the camera.
void pauseScanning()
Pause scanning but keep preview on.
IBInspectable BOOL code25
Definition: SBSBarcodePickerView.h:50
IBInspectable BOOL MSIPlessey
Definition: SBSBarcodePickerView.h:40
IBInspectable BOOL uiVibrate
Definition: SBSBarcodePickerView.h:53
IBInspectable BOOL code128
Definition: SBSBarcodePickerView.h:35
IBInspectable BOOL datamatrix
Definition: SBSBarcodePickerView.h:37
void startScanning()
Starts/restarts the scanning process.
IBInspectable BOOL frontCamera
Definition: SBSBarcodePickerView.h:57
IBInspectable BOOL maxiCode
Definition: SBSBarcodePickerView.h:48
IBInspectable BOOL UPC12
Definition: SBSBarcodePickerView.h:30
SBSBarcodePicker * viewController
Definition: SBSBarcodePickerView.h:61
IBInspectable BOOL code11
Definition: SBSBarcodePickerView.h:47
IBInspectable BOOL twoDigitAddOn
Definition: SBSBarcodePickerView.h:45
IBInspectable BOOL UPCE
Definition: SBSBarcodePickerView.h:31
IBInspectable BOOL code39
Definition: SBSBarcodePickerView.h:33
IBOutlet id< SBSScanDelegate > scanDelegate
Definition: SBSBarcodePickerView.h:59
IBInspectable BOOL aztec
Definition: SBSBarcodePickerView.h:44
IBInspectable BOOL fiveDigitAddOn
Definition: SBSBarcodePickerView.h:46
IBInspectable BOOL GS1DatabarExpanded
Definition: SBSBarcodePickerView.h:42
IBInspectable BOOL codabar
Definition: SBSBarcodePickerView.h:43
IBInspectable BOOL startOnLoad
Definition: SBSBarcodePickerView.h:27
IBInspectable BOOL PDF417
Definition: SBSBarcodePickerView.h:36
IBInspectable BOOL code93
Definition: SBSBarcodePickerView.h:34