Kofax Mobile SDK API Reference
KFXCaptureServerProtocol.h
Go to the documentation of this file.
1 //
2 // KFXCaptureServerProtocol.h
3 // kfxLibLogistics
4 //
5 // Copyright (c) 2017 Kofax. Use of this code is with permission pursuant to Kofax license terms.
6 //
7 //
8 
9 #import "kfxKLOUserProfile.h"
10 #import "kfxKLODocument.h"
11 #import "kfxKLODocumentType.h"
12 #import <Foundation/Foundation.h>
13 
15 
18 @protocol KFXCaptureServerProtocol<NSObject>
19 
20 // ========================================================================================================
22 
62 -(void)registerDevice:(void(^)(int responseCode,NSError* error))completionHandler;
63 
64 
65 // ========================================================================================================
67 
92 -(void)login:(kfxKLOUserProfile*)userProfile completionHandler:(void(^)(int responseCode,NSArray* documentTypeNames,NSError* error))completionHandler;
93 
94 
95 // ========================================================================================================
97 
118 -(void)loginAnonymously:(void(^)(int responseCode,NSArray* documentTypeNames,NSError* error))completionHandler;
119 
120 
121 // ========================================================================================================
123 
153 -(void)getDocumentType:(NSString*) documentTypeName completionHandler:(void(^)(int responseCode,kfxKLODocumentType* documentTypeObject,NSError* error))completionHandler;
154 
155 
156 // ========================================================================================================
158 
181 -(void)submitDocument:(kfxKLODocument*)document completionHandler:(void(^)(int responseCode,NSError* error))completionHandler progressHandler:(void(^)(int progress,NSString* submissionJobId,NSError* error))progressHandler;
182 
183 
184 // ========================================================================================================
186 
199 -(int)cancelSubmission:(NSString*)submissionJobId;
200 
201 
202 // ========================================================================================================
204 
215 -(void)logout:(void(^)(int responseCode,NSError* error))completionHandler;
216 
217 // ========================================================================================================
219 
230 -(void)startJobService:(void(^)(NSString* jobID, int responseCode,NSError* error))completionHandler;
231 
232 // ========================================================================================================
234 
256 -(void)sendImageService:(kfxKLODocument*)document image:(kfxKEDImage*)image jobID:(NSString*) jobID imageIndex:(int) index lastImage: (BOOL) isLastImage completionHandler:(void(^)(int responseCode,NSError* error))completionHandler;
257 
258 @end
Server User Profile.
Definition: kfxKLOUserProfile.h:17
Document object is instantiated as a specific DocumentType.
Definition: kfxKLODocument.h:45
Capture Server protocol.
Definition: KFXCaptureServerProtocol.h:18
DocumentType object describes the attributes of a document.
Definition: kfxKLODocumentType.h:48
An Image object contains an image and associated data.
Definition: kfxKEDImage.h:157
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.