Mobile API Reference  MicroStrategy 2019
BarcodeReaderView.h
Go to the documentation of this file.
1 //
2 // BarcodeReaderView.h
3 // MicroStrategyMobile
4 //
5 // Created by Li, Dai on 2/4/13.
6 // Copyright (c) 2013 Li, Dai. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import "Enums.h"
11 #import "MSIAlertView.h"
12 
13 @class BarcodeReaderView;
14 @protocol BarcodeReaderViewDelegate;
15 
16 @protocol BarcodeReaderViewDelegate <NSObject>
17 
18 -(void) barcodeReaderViewDidScanSuccess:(BarcodeReaderView*)barcodeReaderView barcode:(NSString*)barcode;
19 
20 @end
21 
22 @interface BarcodeReaderView : UIView
23 
24 + (NSInteger) iOSMainVersion;
25 
26 @property(nonatomic, weak) id<BarcodeReaderViewDelegate> delegate;
27 @property (nonatomic) ThemeType themeType;
28 @property (nonatomic, copy) UIColor* accentColor;
29 
30 -(void) displayMatchText:(NSString*)matchText;
31 
32 -(void) reset;
33 
34 -(void) enableUserInteraction:(BOOL)enabled;
35 
36 @end
37 
38 
39 
40 @interface DefaultNoMatchBarcodeHandler : NSObject <MSIAlertViewDelegate>
41 
42 -(id) initWithBarcodeReaderView:(BarcodeReaderView*) barcodeReaderView;
43 
44 -(void) displayAlert;
45 
46 -(void) dismissAlertEnforce;
47 
48 @end
signed char BOOL
Definition: PDCwtypes.h:101
NSInteger iOSMainVersion()
Definition: BarcodeReaderView.h:40
Definition: BarcodeReaderView.h:22
id< BarcodeReaderViewDelegate > delegate
Definition: BarcodeReaderView.h:26
ThemeType themeType
Definition: BarcodeReaderView.h:27
enum _ThemeType ThemeType
UIColor * accentColor
Definition: BarcodeReaderView.h:28