Atalasoft MobileImage API Reference
kfxKUTLicensing.h
Go to the documentation of this file.
1 //
2 // API Reference
3 // kfxKUTLicensing.h
4 // Framework: kfxLibUtilities
5 //
6 // Copyright (c) 2012 - 2016 Kofax. Use of this code is with permission pursuant to Kofax license terms.
7 //
8 
9 #import <Foundation/Foundation.h>
11 
12 #define KUT_MINIMUM_LICENSE_LENGTH 20
13 
14 typedef enum {
18  LIC_LOGISTICS = 3, //not used but to keep the same index as in Android
21 
22 typedef enum {
26 
27 
29 
35 
36 @optional
37 // ===================================================
39 
50 - (void)acquireVolumeLicenseDone:(int) licAcquired error: (NSError*) error;
51 
52 @end
53 
54 
56 
61 @interface kfxKUTLicensing : NSObject
62 
63 @property (nonatomic, weak) id <kfxKUTAcquireVolumeLicenseDelegate> delegate;
64 
65 // ===================================================
67 
72 @property (nonatomic, weak) id <kfxKUTCertificateValidatorDelegate> certificateValidatorDelegate;
73 
74 // ===================================================
76 
79 @property (readonly) int daysRemaining;
80 
81 // ===================================================
83 
118 - (int) setMobileSDKLicense: (NSString*) license;
119 
120 // ===================================================
122 
128 + (int) isSdkLicensed : (kfxKUTLicenseFeature)feature;
129 
130 // ===================================================
132 
151 - (void) setMobileSDKLicenseServer: (NSString*) licenseServerUrl type:(kfxKUTLicenseServerType) serverType;
152 
153 // ===================================================
155 
174 - (void) acquireVolumeLicenses: (kfxKUTLicenseFeature) licenseType withCount: (int) count;
175 
176 // ===================================================
178 
197 - (int) getRemainingLicenseCount: (kfxKUTLicenseFeature) licType;
198 
199 @end
Definition: kfxKUTLicensing.h:16
This protocol must be implemented by classes whose objects are used as kfxKUTLicensing delegates...
Definition: kfxKUTLicensing.h:34
int daysRemaining
Indicates the number of days before the license expires.
Definition: kfxKUTLicensing.h:79
Definition: kfxKUTLicensing.h:19
Definition: kfxKUTLicensing.h:23
kfxKUTLicenseFeature
Definition: kfxKUTLicensing.h:14
Definition: kfxKUTLicensing.h:17
kfxKUTLicenseServerType
Definition: kfxKUTLicensing.h:22
id< kfxKUTCertificateValidatorDelegate > certificateValidatorDelegate
The certificate validator delegate.
Definition: kfxKUTLicensing.h:72
Definition: kfxKUTLicensing.h:15
id< kfxKUTAcquireVolumeLicenseDelegate > delegate
Definition: kfxKUTLicensing.h:63
Definition: kfxKUTLicensing.h:24
Definition: kfxKUTLicensing.h:18
License for unlocking library features.
Definition: kfxKUTLicensing.h:61
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.