For Developers / Instrument your app |
It is possible to listen to the Localytics services and to respond to certain events. This is done by implementing an interface and registering it with the Localytics library.
To listen to analytics events, implement the AnalyticsDelegate interface with the following methods.
+ (void)addAnalyticsDelegate:(id<LLAnalyticsDelegate>)delegate; + (void)removeAnalyticsDelegate:(id<LLAnalyticsDelegate>)delegate;
To listen to messaging events, implement the MessagingDelegate interface with the following methods.
+ (void)addMessagingDelegate:(id<LLMessagingDelegate>)delegate; + (void)removeMessagingDelegate:(id<LLMessagingDelegate>)delegate;