Kofax Mobile SDK API Reference
|
Bundle Cache Provider protocol. More...
#import <KFXBundleCacheProviderProtocol.h>
Instance Methods | |
(NSString *) | - getProjectWithName:version: |
Get project path. More... | |
(NSString *) | - cacheProjectWithName:bundle:version:error: |
Cache project. More... | |
(NSString *) | - getVariantWithName:forProject:version: |
Get variant path. More... | |
(NSString *) | - cacheVariantWithName:forProject:bundle:version:error: |
Cache project. More... | |
(NSString *) | - latestVersionForProject: |
Get latest cached version. More... | |
(NSString *) | - getLatestModelDataBuildInfo: |
Get latest cached model data build information. More... | |
Bundle Cache Provider protocol.
This protocol defines the methods that should be implemented by cache provider.
- (NSString*) cacheProjectWithName: | (NSString *) | projectName | |
bundle: | (id< KFXBundleProtocol >) | bundle | |
version: | (NSString *) | version | |
error: | (NSError **) | error | |
Cache project.
Use this method to cache project data.
projectName | - project name. |
bundle | - bundle object which generalize file container. |
version | - project data version. |
error | - error object instance which will contain error info if cache failed. |
- (NSString*) cacheVariantWithName: | (NSString *) | variantName | |
forProject: | (NSString *) | projectName | |
bundle: | (id< KFXBundleProtocol >) | bundle | |
version: | (NSString *) | version | |
error: | (NSError **) | error | |
Cache project.
Use this method to cache variant data.
variantName | - variant name. This must be the full variant name that contains the Project and Category names. For example: "United States|Alabama|AL_2010". |
projectName | - variant Solution name. |
bundle | - bundle object which generalize file container. |
version | - variant data version. |
error | - error object instance which will contain error info if cache failed. |
- (NSString*) getLatestModelDataBuildInfo: | (NSString *) | projectName |
Get latest cached model data build information.
Use this method to get the latest cached model data build information for the given project.
projectName | - project name. |
- (NSString*) getProjectWithName: | (NSString *) | projectName | |
version: | (NSString *) | version | |
Get project path.
Use this method to get the path to specified project files.
projectName | - project name. |
version | - project data version. |
- (NSString*) getVariantWithName: | (NSString *) | variantName | |
forProject: | (NSString *) | projectName | |
version: | (NSString *) | version | |
Get variant path.
Use this method to get the path to specified variant files.
variantName | - variant name. This must be the full variant name that contains the Project and Category names. For example: "United States|Alabama|AL_2010". |
projectName | - variant Solution name. |
version | - variant data version. |
- (NSString*) latestVersionForProject: | (NSString *) | projectName |
Get latest cached version.
Use this method to get the latest cached version for the given project.
projectName | - project name. |