Atalasoft MobileImage API Reference
|
This class renders the camera preview to the screen and searches for an SDK license key in a QR code. More...
#import <kfxKUILicenseCaptureControl.h>
Instance Methods | |
(void) | - readLicense |
Reads an SDK license from the camera preview. More... | |
Class Methods | |
(void) | + initializeControl |
This message initializes the control and must be sent to the class before it is used. More... | |
Properties | |
IBOutlet id< kfxKUILicenseCaptureControlDelegate > | delegate |
A delegate to receive messages from the control. More... | |
CGFloat | viewfinderPaddingPercent |
The padding percent required between the viewfinder and camera preview frame. More... | |
UIColor * | outerViewfinderColor |
Outer viewfinder color. More... | |
kfxKUICaptureMessage * | userInstruction |
An instructional text box that is displayed to the user while trying to capture an SDK license. More... | |
This class renders the camera preview to the screen and searches for an SDK license key in a QR code.
This class is responsible for rendering the camera preview and provides guidance to capture the SDK license from a QR code. Once the view has been asked to read an SDK license, it will search continuously until one is found.
+ (void) initializeControl |
This message initializes the control and must be sent to the class before it is used.
This message initializes the control for use and must be sent to the class before it is used. It is ok to send the message more than once. A common way to do this is in your UIViewController subclasses initialize or init methods.
- (void) readLicense |
Reads an SDK license from the camera preview.
This call returns immediately and starts asynchronously searching for an SDK license. The search will continue indefinitely until an SDK license is found.
Once an SDK license is positively read, the delegate will receive a licenseCaptureControl:errorCode:daysRemaining:license: message.
If license string is valid it will be set into SDK for licensing.
|
readwritenonatomicstrong |
A delegate to receive messages from the control.
A delegate that will be notified with found SDK license.
|
readwritenonatomicstrong |
Outer viewfinder color.
Specifies the color that will be used for the outer viewfinder background.
The default color is transparent grey.
|
readwritenonatomicstrong |
An instructional text box that is displayed to the user while trying to capture an SDK license.
The following kfxKUICaptureMessage properties are not supported for this message:
Default configuration:
|
readwritenonatomicassign |
The padding percent required between the viewfinder and camera preview frame.
This value determines how much percentage the viewfinder needs to be positioned inside the camera preview frame. Valid values are [0-50].
The default value is 10.