• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 13.1.0.48
BAFBlackberryAnalytics.h
Go to the documentation of this file.
1 /*
2  * Copyright 2023 BlackBerry Limited. All rights reserved.
3  *
4  */
5 
6 #import <Foundation/Foundation.h>
7 
13 typedef void (^BAFAnalyticsResponseCompletion)(NSError *__nullable error) API_AVAILABLE(ios(9.0));
14 
19 typedef NS_ENUM(NSUInteger, BAFAnalyticsEvent) {
24 
29 
34 };
35 
42 @interface BAFBlackberryAnalytics : NSObject
43 
44 
58 + (void)trackFeatureEvent:(BAFAnalyticsEvent)event
59  withFeatureName:(NSString *_Nonnull)featureName
60  completion:(_Nullable BAFAnalyticsResponseCompletion)completion;
61 
76 + (void)trackApplicationEvent:(BAFAnalyticsEvent)event
77  withValue:(NSString *_Nonnull)eventValue
78  forKey:(NSString *_Nonnull)eventKey
79  completion:(_Nullable BAFAnalyticsResponseCompletion)completion;
80 
81 @end
BAFBlackberryAnalytics
Class for BlackBerry Analytics.
Definition: BAFBlackberryAnalytics.h:42
BAFAdoptionEvent
@ BAFAdoptionEvent
Record events or actions which occur in your application.
Definition: BAFBlackberryAnalytics.h:33
BAFAnalyticsEvent
BAFAnalyticsEvent
Analytics Event Type.
Definition: BAFBlackberryAnalytics.h:19
BAFFeatureInactive
@ BAFFeatureInactive
Record the end of an event which has a specific start point.
Definition: BAFBlackberryAnalytics.h:28
BAFAnalyticsResponseCompletion
void(^ BAFAnalyticsResponseCompletion)(NSError *__nullable error) API_AVAILABLE(ios(9.0))
Invoked when the track event operation completes (optional).
Definition: BAFBlackberryAnalytics.h:13
BAFFeatureActive
@ BAFFeatureActive
Record the start of an event which has a specific end point.
Definition: BAFBlackberryAnalytics.h:23