Atalasoft MobileImage API Reference
Instance Methods | List of all members
<KFXProjectProviderProtocol> Protocol Reference

Project Provider protocol. More...

#import <KFXProjectProviderProtocol.h>

Inheritance diagram for <KFXProjectProviderProtocol>:
KFXLocalBundleProjectProvider KFXServerProjectProvider

Instance Methods

(void) - getHighestVersion:sdkVersion:completionHandler:
 Get latest project data version. More...
 
(void) - getProject:version:completionHandler:
 Get project data. More...
 
(void) - getVariant:forProject:version:completionHandler:
 Get variant data. More...
 

Detailed Description

Project Provider protocol.

Specifies the protocol required to satisfy extraction dependencies.

Method Documentation

- (void) getHighestVersion: (NSString *)  projectName
sdkVersion: (NSString *)  sdkVersion
completionHandler: (void(^)(NSString *version, NSError *error))  completionHandler 

Get latest project data version.

Get the highest version string for the given project that is compatible with the given SDK version.

Parameters
projectName- project name.
sdkVersion- SDK version.
completionHandler- callback will be fired on completion. If nil no work will be done.
  • version: latest data version. May be nil in case of an error.
  • error: contains an error if there is one.
- (void) getProject: (NSString *)  projectName
version: (NSString *)  version
completionHandler: (void(^)(NSString *path, NSError *error))  completionHandler 

Get project data.

Get path to the project data for the given project and version.

Parameters
projectName- project name.
version- version.
completionHandler- callback will be fired on completion. If nil no work will be done.
  • path: path to project data. May be nil in case of an error.
  • error: contains an error if there is one.
- (void) getVariant: (NSString *)  variant
forProject: (NSString *)  projectName
version: (NSString *)  version
completionHandler: (void(^)(NSString *path, NSError *error))  completionHandler 

Get variant data.

Get path to the variant data for the given project and version.

Parameters
veriant- variant name.
projectName- project name.
version- version.
completionHandler- callback will be fired on completion. If nil no work will be done.
  • path: path to variant data. May be nil in case of an error.
  • error: contains an error if there is one.

The documentation for this protocol was generated from the following file:
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.