Kofax Mobile SDK 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 - 2017 Kofax. Use of this code is with permission pursuant to Kofax license terms.
7 //
8 
9 #import <Foundation/Foundation.h>
12 
13 #define KUT_MINIMUM_LICENSE_LENGTH 20
14 
15 typedef enum {
20  LIC_LOGISTICS = 3, //not used but to keep the same index as in Android
24 
26 
27 typedef enum {
31 
33 
39 
40 @optional
41 // ===================================================
43 
54 - (void)acquireVolumeLicenseDone:(int) licAcquired error: (NSError*) error;
55 
56 @end
57 
59 
60 @required
61 // ===================================================
63 
69 - (void)customAcquireVolumeLicenseWithData:(kfxKUTCustomAcquireVolumeLicenseRequestData*)data;
70 
71 @end
72 
73 
75 
77 
82 @interface kfxKUTLicensing : NSObject
83 
85 
86 @property (nonatomic, weak) id <kfxKUTAcquireVolumeLicenseDelegate> delegate;
87 
89 
97 @property (nonatomic, weak) id <kfxKUTCustomAcquireVolumeLicenseDelegate> customAcquireVolumeLicenseDelegate;
98 
99 // ===================================================
101 
106 @property (nonatomic, weak) id <kfxKUTCertificateValidatorDelegate> certificateValidatorDelegate;
108 
109 // ===================================================
111 
114 @property (readonly) int daysRemaining;
115 
116 // ===================================================
118 
153 - (int) setMobileSDKLicense: (NSString*) license;
154 
155 // ===================================================
157 
163 + (int) isSdkLicensed : (kfxKUTLicenseFeature)feature;
164 
166 // ===================================================
168 
187 - (void) setMobileSDKLicenseServer: (NSString*) licenseServerUrl type:(kfxKUTLicenseServerType) serverType;
188 
189 // ===================================================
191 
209 - (void) acquireVolumeLicenses: (kfxKUTLicenseFeature) licenseType withCount: (int) count;
210 
211 // ===================================================
213 
232 - (int) getRemainingLicenseCount: (kfxKUTLicenseFeature) licType;
234 @end
SERVER_TYPE_RTTI
Definition: kfxKUTLicensing.h:28
kfxKUTCustomAcquireVolumeLicenseRequestData
Definition: Common/API/kfxKUTCustomAcquireVolumeLicenseRequestData.h:13
kfxKUTLicensing::customAcquireVolumeLicenseDelegate
id< kfxKUTCustomAcquireVolumeLicenseDelegate > customAcquireVolumeLicenseDelegate
The custom acquire licenses delegate.
Definition: kfxKUTLicensing.h:97
LIC_IMAGE_PROCESSING
Definition: kfxKUTLicensing.h:16
kfxKUTCustomAcquireVolumeLicenseRequestData.h
LIC_LOGISTICS
Definition: kfxKUTLicensing.h:20
kfxKUTCustomAcquireVolumeLicenseDelegate-p
Definition: kfxKUTLicensing.h:58
SERVER_TYPE_TOTALAGILITY
Definition: kfxKUTLicensing.h:29
kfxKUTLicensing::daysRemaining
int daysRemaining
Indicates the number of days before the license expires.
Definition: kfxKUTLicensing.h:114
kfxKUTLicensing
License for unlocking library features.
Definition: kfxKUTLicensing.h:82
kfxKUTLicenseFeature
kfxKUTLicenseFeature
Definition: kfxKUTLicensing.h:15
kfxKUTLicenseServerType
kfxKUTLicenseServerType
Definition: kfxKUTLicensing.h:27
LIC_IMAGE_CAPTURE
Definition: kfxKUTLicensing.h:17
kfxKUTAcquireVolumeLicenseDelegate-p
This protocol must be implemented by classes whose objects are used as kfxKUTLicensing delegates.
Definition: kfxKUTLicensing.h:38
kfxKUTCertificateValidatorDelegate.h
LIC_BARCODE_CAPTURE
Definition: kfxKUTLicensing.h:18
LIC_ON_DEVICE_EXTRACTION
Definition: kfxKUTLicensing.h:21
kfxKUTLicensing::delegate
id< kfxKUTAcquireVolumeLicenseDelegate > delegate
Definition: kfxKUTLicensing.h:86
kfxKUTLicensing::certificateValidatorDelegate
id< kfxKUTCertificateValidatorDelegate > certificateValidatorDelegate
The certificate validator delegate.
Definition: kfxKUTLicensing.h:106
Untitled Document © 2021 Kofax, Inc. All rights reserved. Use is subject to license terms.