Mobile API Reference  MicroStrategy 2019
BarcodeScannerController Class Reference

#import <BarcodeScannerController.h>

Inheritance diagram for BarcodeScannerController:

Instance Methods

(void) - cancelScan
 

Class Methods

(BOOL+ isAvailable
 

Protected Attributes

< KeypadInputControllerDelegate > NSTimer * timer
 
NSString * codes [10]
 
int codeIndex
 
BOOL isVertical
 
UIView * originalView
 
BOOL cameraActive
 
UIToolbar * toolBar
 
UIButton * cancelButton
 
UIImageView * scanView
 
UIImageView * lensCover
 
UITextField * textField
 
KeypadInputControllervwKeypadInput
 
UISegmentedControl * toggleCamera
 
UIBarButtonItem * segmentButton
 
UIView * keypadView
 
id< BarcodeScannerControllerDelegate > __weak delegate
 
CGRect scanCrop
 
ZBarImageScanner * scanner
 
NSInteger maxScanDimension
 
ZBarSymbol * symbol
 
CALayer * boxLayer
 
UIView * boxView
 
BOOL scanSuccess
 
BOOL isOS4Available
 
BOOL statusBarHidden
 

Properties

id< BarcodeScannerControllerDelegate > delegate
 
NSString * currentValue
 
CGRect customFrame
 

Method Documentation

◆ cancelScan()

- (void) cancelScan

◆ isAvailable()

+ (BOOL) isAvailable

Member Data Documentation

◆ boxLayer

- (CALayer*) boxLayer
protected

◆ boxView

- (UIView*) boxView
protected

◆ cameraActive

- (BOOL) cameraActive
protected

◆ cancelButton

- (UIButton*) cancelButton
protected

◆ codeIndex

- (int) codeIndex
protected

◆ codes

- (NSString* codes[10])
protected

◆ delegate

- (id<BarcodeScannerControllerDelegate> __weak) delegate
protected

◆ isOS4Available

- (BOOL) isOS4Available
protected

◆ isVertical

- (BOOL) isVertical
protected

◆ keypadView

- (UIView*) keypadView
protected

◆ lensCover

- (UIImageView*) lensCover
protected

◆ maxScanDimension

- (NSInteger) maxScanDimension
protected

◆ originalView

- (UIView*) originalView
protected

◆ scanCrop

- (CGRect) scanCrop
protected

◆ scanner

- (ZBarImageScanner*) scanner
protected

◆ scanSuccess

- (BOOL) scanSuccess
protected

◆ scanView

- (UIImageView*) scanView
protected

◆ segmentButton

- (UIBarButtonItem*) segmentButton
protected

◆ statusBarHidden

- (BOOL) statusBarHidden
protected

◆ symbol

- (ZBarSymbol*) symbol
protected

◆ textField

- (UITextField*) textField
protected

◆ timer

- (<KeypadInputControllerDelegate> NSTimer*) timer
protected
Initial value:
{
BarCodeCB *readerCB

◆ toggleCamera

- (UISegmentedControl*) toggleCamera
protected

◆ toolBar

- (UIToolbar*) toolBar
protected

◆ vwKeypadInput

- (KeypadInputController*) vwKeypadInput
protected

Property Documentation

◆ currentValue

- (NSString *) currentValue
readwritenonatomiccopy

◆ customFrame

- (CGRect) customFrame
readwriteatomic

◆ delegate

- (id<BarcodeScannerControllerDelegate>) delegate
readwritenonatomicweak