Kofax Mobile SDK API Reference
kfxKUILicenseCaptureControl.h
Go to the documentation of this file.
1 //
2 // API Reference
3 // kfxKUILicenseCaptureControl.h
4 // Framework: kfxLibUIControls
5 //
6 // Copyright (c) 2012 - 2017 Kofax. Use of this code is with permission pursuant to Kofax license terms.
7 //
8 
9 #import <UIKit/UIKit.h>
10 
13 
15 
19 
20 @optional
21 
23 
35 - (void)licenseCaptureControl:(kfxKUILicenseCaptureControl*)licenseCaptureControl
36  errorCode:(int)errorCode
37  daysRemaining:(int)daysRemaining
38  license:(NSString*)license;
39 
40 @end
41 
43 
47 @interface kfxKUILicenseCaptureControl : UIView
48 
50 
54 + (void)initializeControl;
55 
57 
62 @property (nonatomic, strong) IBOutlet id<kfxKUILicenseCaptureControlDelegate> delegate;
63 
65 
73 @property (nonatomic, assign) CGFloat viewfinderPaddingPercent;
74 
76 
83 @property (nonatomic, strong) UIColor* outerViewfinderColor;
84 
86 
102 @property (nonatomic, strong) kfxKUICaptureMessage* userInstruction;
103 
105 
114 - (void)readLicense;
115 
116 @end
This class renders the messages on the Imagecapturecontrol.
Definition: kfxKUICaptureMessage.h:21
UIColor * outerViewfinderColor
Outer viewfinder color.
Definition: kfxKUILicenseCaptureControl.h:83
IBOutlet id< kfxKUILicenseCaptureControlDelegate > delegate
A delegate to receive messages from the control.
Definition: kfxKUILicenseCaptureControl.h:62
This protocol must be implemented by classes whose objects are used as kfxKUILicenseCaptureControl de...
Definition: kfxKUILicenseCaptureControl.h:18
This class renders the camera preview to the screen and searches for an SDK license key in a QR code...
Definition: kfxKUILicenseCaptureControl.h:47
void readLicense()
Reads an SDK license from the camera preview.
CGFloat viewfinderPaddingPercent
The padding percent required between the viewfinder and camera preview frame.
Definition: kfxKUILicenseCaptureControl.h:73
kfxKUICaptureMessage * userInstruction
An instructional text box that is displayed to the user while trying to capture an SDK license...
Definition: kfxKUILicenseCaptureControl.h:102
void initializeControl()
This message initializes the control and must be sent to the class before it is used.
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.