9 #import <Foundation/Foundation.h>
26 #import <UIKit/UIKit.h>
27 #import "AudioToolbox/AudioServices.h"
51 didCancelWithStatus:(nullable NSDictionary *)status;
97 @property (nullable, nonatomic, strong, readonly) UIToolbar *
toolBar;
104 @property (nullable, nonatomic, weak) id<SBSOverlayControllerDidCancelDelegate>
cancelDelegate;
131 - (void)setBeepEnabled:(BOOL)enabled;
143 - (void)setVibrateEnabled:(BOOL)enabled;
161 - (BOOL)setScanSoundResource:(nonnull NSString *)path ofType:(nonnull NSString *)extension;
180 - (void)setTorchEnabled:(BOOL)enabled;
194 - (BOOL)setTorchOnImage:(nonnull UIImage *)torchOnImage
195 pressed:(nonnull UIImage *)torchOnPressedImage;
215 - (BOOL)setTorchOnImageResource:(nonnull NSString *)fileName
216 pressedResource:(nonnull NSString *)pressedFileName
217 ofType:(nonnull NSString *)extension;
231 - (BOOL)setTorchOffImage:(nonnull UIImage *)torchOffImage
232 pressed:(nonnull UIImage *)torchOffPressedImage;
250 - (BOOL)setTorchOffImageResource:(nonnull NSString *)fileName
251 pressedResource:(nonnull NSString *)pressedFileName
252 ofType:(nonnull NSString *)extension;
266 - (void)setTorchButtonLeftMargin:(
float)leftMargin
267 topMargin:(
float)topMargin
269 height:(
float)height;
283 - (void)setTorchOffButtonAccessibilityLabel:(nonnull NSString *)label
284 hint:(nonnull NSString *)hint;
298 - (void)setTorchOnButtonAccessibilityLabel:(nonnull NSString *)label
299 hint:(nonnull NSString *)hint;
334 - (BOOL)setCameraSwitchImage:(nonnull UIImage *)cameraSwitchImage
335 pressed:(nonnull UIImage *)cameraSwitchPressedImage;
355 - (BOOL)setCameraSwitchImageResource:(nonnull NSString *)fileName
356 pressedResource:(nonnull NSString *)pressedFileName
357 ofType:(nonnull NSString *)extension;
374 - (void)setCameraSwitchButtonRightMargin:(
float)rightMargin
375 topMargin:(
float)topMargin
377 height:(
float)height;
392 - (void)setCameraSwitchButtonBackAccessibilityLabel:(nonnull NSString *)label
393 hint:(nonnull NSString *)hint;
408 - (void)setCameraSwitchButtonFrontAccessibilityLabel:(nonnull NSString *)label
409 hint:(nonnull NSString *)hint;
433 - (void)drawViewfinder:(BOOL)draw SBS_DEPRECATED;
455 - (void)setViewfinderHeight:(
float)h
457 landscapeHeight:(
float)lH
458 landscapeWidth:(
float)lW;
478 - (void)setViewfinderPortraitWidth:(
float)w
500 - (void)setViewfinderLandscapeWidth:(
float)w
516 - (void)setViewfinderColor:(
float)r green:(
float)g blue:(
float)b;
531 - (void)setViewfinderDecodedColor:(
float)r green:(
float)g blue:(
float)b;
558 - (void)showToolBar:(BOOL)show;
569 - (void)setToolBarButtonCaption:(nonnull NSString *)caption;
589 - (void)setMissingCameraPermissionInfoText:(nonnull NSString *)infoText;
Definition: SBSOverlayController.h:63
Controls the camera and orchestrates the barcode scanning process.
Definition: SBSBarcodePicker.h:118
controls the scan screen user interface.
Definition: SBSOverlayController.h:89
UIToolbar * toolBar
The tool bar that can be shown at the bottom of the scan screen.
Definition: SBSOverlayController.h:97
Definition: SBSOverlayController.h:64
Definition: SBSOverlayController.h:61
#define SBS_ENUM_END(name)
Definition: SBSCommon.h:17
SBSGuiStyle
Enumeration of different GUI styles.
Definition: SBSCommon.h:112
id< SBSOverlayControllerDidCancelDelegate > cancelDelegate
The overlay controller delegate that handles the didCancelWithStatus callback.
Definition: SBSOverlayController.h:104
Definition: SBSOverlayController.h:66
SBSGuiStyle guiStyle
The GUI style drawn to display the indicator where the code should be scanned and the visualization o...
Definition: SBSOverlayController.h:114
void resetUI()
Resets the scan screen user interface to its initial state.
#define SBS_DEPRECATED
Definition: SBSCommon.h:9
Protocol cancel events.
Definition: SBSOverlayController.h:39
Definition: SBSOverlayController.h:65
Definition: SBSOverlayController.h:62
SBSCameraSwitchVisibility
Definition: SBSOverlayController.h:60
#define SBS_ENUM_BEGIN(name)
Definition: SBSCommon.h:16