Kofax Mobile SDK API Reference
kfxKLOServerExtractor.h
Go to the documentation of this file.
1 //
2 // kfxKLOServerExtractor.h
3 // kfxLibLogistics
4 //
5 // Copyright (c) 2017 Kofax. All rights reserved. Kofax Confidential.
6 // Unauthorized use, duplication, or distribution, or disclosure is strictly prohibited.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
13 
14 
15 
17 
21 @protocol KFXServerExtractorDelegate<NSObject>
22 
23 @required
24 
26 
35 -(void)extractionSucceded:(NSData*)extractionData response:(NSURLResponse *)response;
36 
37 
39 
50 -(void)extractionFailed : (NSError*)error response:(NSURLResponse *)response errorData:(NSData*)data;
51 
52 @end
53 
54 
55 @interface kfxKLOServerExtractor : NSObject
56 
58 
63 @property(nonatomic, weak) id<KFXServerExtractorDelegate> delegate;
64 
65 
67 
74 -(instancetype)initWithConnection : (id<KFXServerConnectionProtocol>)requestProvider;
75 
77 
87 -(void)extract : (KFXServerExtractionParameters*)parameters;
88 
90 
97 -(void)cancelExtraction;
98 
99 @end
void cancelExtraction()
Use this method to cancel the extraction.
id< KFXServerExtractorDelegate > delegate
KFXServerExtractorDelegate notifies about extraction completion.
Definition: kfxKLOServerExtractor.h:63
Definition: KFXServerExtractionParameters.h:12
Server Extraction Protocol.
Definition: kfxKLOServerExtractor.h:21
Definition: KFXServerConnectionProtocol.h:12
Definition: kfxKLOServerExtractor.h:55
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.