Inherits UIView.
Instance Methods | |
(BOOL) | - isScanning |
(void) | - resumeScanning |
(void) | - pauseScanning |
(void) | - startScanning |
(void) | - startScanningInPausedState: |
(void) | - stopScanning |
Properties | |
IBInspectable BOOL | startOnLoad |
IBInspectable BOOL | EAN13 |
IBInspectable BOOL | UPC12 |
IBInspectable BOOL | UPCE |
IBInspectable BOOL | EAN8 |
IBInspectable BOOL | code39 |
IBInspectable BOOL | code93 |
IBInspectable BOOL | code128 |
IBInspectable BOOL | PDF417 |
IBInspectable BOOL | datamatrix |
IBInspectable BOOL | QR |
IBInspectable BOOL | ITF |
IBInspectable BOOL | MSIPlessey |
IBInspectable BOOL | GS1Databar |
IBInspectable BOOL | GS1DatabarExpanded |
IBInspectable BOOL | codabar |
IBInspectable BOOL | aztec |
IBInspectable BOOL | twoDigitAddOn |
IBInspectable BOOL | fiveDigitAddOn |
IBInspectable BOOL | code11 |
IBInspectable BOOL | maxiCode |
IBInspectable BOOL | microPDF417 |
IBInspectable BOOL | code25 |
IBInspectable BOOL | uiBeep |
IBInspectable BOOL | uiVibrate |
IBInspectable BOOL | uiTorchButton |
IBInspectable BOOL | uiCameraButton |
IBInspectable BOOL | frontCamera |
IBOutlet id< SBSScanDelegate > | scanDelegate |
SBSBarcodePicker * | viewController |
Detailed Description
Wraps an SBSBarcodePicker instance, exposing simple settings through the Interface Builder.
You can use this view directly in Interface Builder by creating a view and changing the class in the Identity Inspector to SBSBarcodePickerView. In the Attribute Inspector you can then adjust the enabled symbologies and other settings. By default all symbologies are turned off to avoid unnecessary processing.
- Since
- 4.7.0
Method Documentation
- (BOOL) isScanning |
Returns YES if scanning is in progress.
- Since
- 4.7.0
- Returns
- boolean indicating whether scanning is in progress.
- (void) resumeScanning |
Resume scanning codes.
Continue (resume) scanning barcodes after a previous call to pauseScanning, or pauseScanning (SBSScanSession). Calling resumeScanning on a picker that was stopped with stopScanning, will not resume the scanning process.
In contrast to startScanning, resumeScanning does not clear the current barcode scanner session. Thus if you want accumulate the codes, use pauseScanning/resumeScanning, if you want to start from an empty session, use pauseScanning/startScanning.
- Since
- 4.7.0
- (void) pauseScanning |
Pause scanning but keep preview on.
This method pauses barcode/2D recognition but continues streaming preview images. Use this method if you are interrupting barcode recognition for a short time and want to continue scanning barcodes/2D codes afterwards.
Use resumeScanning to continue scanning barcodes.
- Since
- 4.7.0
- (void) startScanning |
Starts/restarts the scanning process.
Start or continue scanning barcodes after the creation of the barcode picker or a previous call to pauseScanning, pauseScanning (SBSScanSession), stopScanning or stopScanning (SBSScanSession).
In contrast to resumeScanning, startScanning clears the current barcode scanner session.
- Since
- 4.7.0
- (void) startScanningInPausedState: | (BOOL) | paused |
Starts/restarts the camera and potentially the scanning process.
Start or continue scanning barcodes after the creation of the barcode picker or a previous call to pauseScanning, pauseScanning (SBSScanSession), stopScanning or stopScanning (SBSScanSession).
In contrast to resumeScanning, startScanning clears the current barcode scanner session.
- Parameters
-
paused If YES the barcode/2D recognition is paused but the streaming of preview images is started. If NO both the barcode/2D recognition and the streaming of preview images are started.
- Since
- 4.7.0
- (void) stopScanning |
Stops the scanning process and closes the camera.
- See also
- - stopScanning (SBSBarcodePicker):
- Since
- 4.7.0
Property Documentation
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomicweak |
|
readnonatomicstrong |
The documentation for this class was generated from the following file: