CISAnalyticsCreator

@interface CISAnalyticsCreator : NSObject

/**
* Initialize Conviva Analytics SDK with the required settings.
* @param customerKey Customer Key.
* @return CISAnalytics instance.
*/
+ (CISAnalytics) createWithCustomerKey:(NSString *)customerKey;

/**
* Initialize Conviva Analytics SDK with the required settings.
* @param customerKey Customer Key.
* @param settings dictionary. Please refer "Settings" section decfined in CSSConstants.h for possible values.
* @return CISAnalytics instance.
*/
+ (CISAnalytics) createWithCustomerKey:(NSString *)customerKey
                              settings:(NSDictionary*)settings;

/**
* Initialize Conviva Analytics SDK with the required settings.
* @param customerKey Customer Key.
* @param systemInterface Object complies to CISSystemInterfaceProtocol .
* @return CISAnalytics instance.
*/
+ (CISAnalytics) createWithCustomerKey:(NSString *)customerKey
                         systemInterface:(id<CISSystemInterfaceProtocol>)systemInterface;

/**
* Initialize Conviva Analytics SDK with the required settings.
* @param customerKey Customer Key.
* @param settings dictionary. Please refer "Settings" section decfined in CSSConstants.h for possible values.
* @param systemInterface Object complies to CISSystemInterfaceProtocol.
* @return CISAnalytics instance.
*/
+ (CISAnalytics) createWithCustomerKey:(NSString *)customerKey
                              settings:(NSDictionary*)settings
                         systemInterface:(id<CISSystemInterfaceProtocol>)systemInterface;

/**
* Initialize Conviva Analytics SDK with the client object. This method is useful for backward compatability. Customer who already integrated EI and wanted to
* integrate AI using this new api, shall use this api.
* @param client Object conforms to CISClientProtocol.
* @return CISAnalytics instance.
*/
+ (CISAnalytics) createWithExistingClient:(id<CISClientProtocol>)client;

@end

Undocumented

  • Initialize Conviva Analytics SDK with the required settings.

    Declaration

    Objective-C

    + (CISAnalytics)createWithCustomerKey:(NSString *)customerKey;

    Swift

    class func create(withCustomerKey customerKey: String!) -> CISAnalytics!

    Parameters

    customerKey

    Customer Key.

    Return Value

    CISAnalytics instance.

  • Initialize Conviva Analytics SDK with the required settings.

    Declaration

    Objective-C

    + (CISAnalytics)createWithCustomerKey:(NSString *)customerKey
                                 settings:(NSDictionary *)settings;

    Swift

    class func create(withCustomerKey customerKey: String!, settings: [AnyHashable : Any]!) -> CISAnalytics!

    Parameters

    customerKey

    Customer Key.

    settings

    dictionary. Please refer “Settings” section decfined in CSSConstants.h for possible values.

    Return Value

    CISAnalytics instance.

  • Initialize Conviva Analytics SDK with the required settings.

    Declaration

    Objective-C

    + (CISAnalytics)createWithCustomerKey:(NSString *)customerKey
                          systemInterface:
                              (id<CISSystemInterfaceProtocol>)systemInterface;

    Swift

    class func create(withCustomerKey customerKey: String!, systemInterface: CISSystemInterfaceProtocol!) -> CISAnalytics!

    Parameters

    customerKey

    Customer Key.

    systemInterface

    Object complies to CISSystemInterfaceProtocol .

    Return Value

    CISAnalytics instance.

  • Initialize Conviva Analytics SDK with the required settings.

    Declaration

    Objective-C

    + (CISAnalytics)createWithCustomerKey:(NSString *)customerKey
                                 settings:(NSDictionary *)settings
                          systemInterface:
                              (id<CISSystemInterfaceProtocol>)systemInterface;

    Swift

    class func create(withCustomerKey customerKey: String!, settings: [AnyHashable : Any]!, systemInterface: CISSystemInterfaceProtocol!) -> CISAnalytics!

    Parameters

    customerKey

    Customer Key.

    settings

    dictionary. Please refer “Settings” section decfined in CSSConstants.h for possible values.

    systemInterface

    Object complies to CISSystemInterfaceProtocol.

    Return Value

    CISAnalytics instance.

  • Initialize Conviva Analytics SDK with the client object. This method is useful for backward compatability. Customer who already integrated EI and wanted to integrate AI using this new api, shall use this api.

    Declaration

    Objective-C

    + (CISAnalytics)createWithExistingClient:(id<CISClientProtocol>)client;

    Swift

    class func create(withExistingClient client: CISClientProtocol!) -> CISAnalytics!

    Parameters

    client

    Object conforms to CISClientProtocol.

    Return Value

    CISAnalytics instance.