Inherits from LimeObject : NSObject
Declared in LimeAnalyticsEvent.h
LimeAnalyticsEvent.m

Overview

A class representing a single analytic event to be logged.

Tasks

Other Methods

Other Methods

Properties

eventName

Name of the analytics event, should be unique for the given event type.

@property (nonatomic, strong) NSString *eventName

Discussion

Name of the analytics event, should be unique for the given event type.

Declared In

LimeAnalyticsEvent.h

parameters

Parameters to the analytics event. Parameters dictionary has to be “flat” (no structured values) and only NSString and NSNumber values are allowed.

@property (nonatomic, strong) NSDictionary *parameters

Discussion

Parameters to the analytics event. Parameters dictionary has to be “flat” (no structured values) and only NSString and NSNumber values are allowed.

Declared In

LimeAnalyticsEvent.h

timeStamp

Timestamp string in ISO 8601 format (with time).

@property (nonatomic, strong) NSString *timeStamp

Discussion

Timestamp string in ISO 8601 format (with time).

Declared In

LimeAnalyticsEvent.h

Instance Methods

initWithDictionary:

Initialize an object with the contents of the dictionary.

- (id)initWithDictionary:(NSDictionary *)dictionary

Parameters

dictionary

An NSDictionary to be used for initializing object properties.

Return Value

This implementation of method alway raises an exception - subclass must override this method.

Discussion

Initialize an object with the contents of the dictionary.

WARNING: The default implementation in LimeObject class raises an exception. Make sure you override the method in your subclasses.

Declared In

LimeObject.h