Atalasoft MobileImage API Reference
KFXServerProjectProvider.h
Go to the documentation of this file.
1 //
2 // KFXServerProjectProvider.h
3 // kfxLibEngines
4 //
5 // Copyright (c) 2014-2017 Kofax. All rights reserved. Kofax Confidential.
6 // Unauthorized use, duplication, or distribution, or disclosure is strictly prohibited.
7 //
8 
9 #ifndef KFXSERVERPROJECTPROVIDER
10 #define KFXSERVERPROJECTPROVIDER 1
11 
12 #import <Foundation/Foundation.h>
14 
17 
18 extern NSString* const KFXInternalServerErrorKey;
19 
21 
34 
36 
41 @property (nonatomic, weak) id <kfxKUTCertificateValidatorDelegate> certificateValidatorDelegate;
42 
44 
51 - (instancetype)initWithURL:(NSURL*)serverUrl;
52 
54 
62 - (instancetype)initWithURL:(NSURL*)serverUrl cacheProvider:(id<KFXBundleCacheProviderProtocol>)cacheProvider;
63 
65 
73 - (void)loadAllVariantsForProject:(NSString*)projectName completionHandler:(void(^)(NSError* error))completionHandler;
74 
76 
83 - (void)cancelLoadAllVariants;
84 
86 
95 - (void)setRequestTimeout:(NSTimeInterval)requestTimeout;
96 
98 
104 - (NSString*)getLatestCachedModelDataInfo:(NSString*)projectName;
105 
106 
107 @end
108 
109 #endif
This protocol defines methods that your delegate object may implement for custom certificate pinning ...
Definition: kfxKUTCertificateValidatorDelegate.h:17
Project Provider protocol.
Definition: KFXProjectProviderProtocol.h:17
void cancelLoadAllVariants()
Cancel load all variants.
Bundle Cache Provider protocol.
Definition: KFXBundleCacheProviderProtocol.h:20
Server Project Provider.
Definition: KFXServerProjectProvider.h:33
NSString *const KFXInternalServerErrorKey
id< kfxKUTCertificateValidatorDelegate > certificateValidatorDelegate
Certificate validator delegate.
Definition: KFXServerProjectProvider.h:41
Untitled Document © 2017 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.