Classes

The following classes are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    @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;
    
    
    @end

    Swift

    class CISAnalyticsCreator : NSObject
  • Declares Conviva constants required for a client and video sessions for Conviva SDK.

    See more

    Declaration

    Objective-C

    @interface CISConstants : NSObject

    Swift

    class CISConstants : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface CISUtility : NSObject
    
    +(int) NumberToUnsignedInt:(NSNumber *)number result:(int)defaultResult;
    +(BOOL) isValidString:(NSString *)string;
    +(double)timeBetweenTimeEarlier:(double)timeEarlier andTimeLater:(double)timeLater;
    + (dispatch_queue_t)cisSharedQueue;
    + (BOOL)isCISSharedQueue;
    + (void)dispatchAsyncToCISSharedQueue:(dispatch_block_t)block;
    + (void)dispatchSyncToCISSharedQueue:(dispatch_block_t)block;
    + (void)optionalDispatchAsyncToCISSharedQueue:(dispatch_block_t)block;
    + (void)sanitiseTag:(NSMutableDictionary *)custom;
    + (NSString *)describeError:(NSError *)error;
    
    + (BOOL) isError:(NSError*)error1 equalTo:(NSError*)error2;
    
    + (id)getClientId;
    + (void)setClientId:(NSString *)newClientId;
    + (BOOL)isNotEmpty:(NSString *)string;
    + (BOOL)isNilOrEmpty:(NSString *)string;
    @end

    Swift

    class CISUtility : NSObject
  • Conviva provided helper class which manages timers required by Conviva SDK.
    This class is used by Conviva provided iOSTimerInterface to create this class instance for each timer activity.
    As this is conforming to CISCancelProtocol, the timer cancellation activity are also handled here.

    See more

    Declaration

    Objective-C

    @interface IOSSystemTimer : NSObject <CISCancelProtocol>

    Swift

    class IOSSystemTimer : NSObject, CISCancelProtocol