6
6
//
7
7
8
8
#import < Foundation/Foundation.h>
9
- #import " CLSAttributes .h"
9
+ #import " ANSCompatibility .h"
10
10
11
11
NS_ASSUME_NONNULL_BEGIN
12
12
@@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
22
22
*/
23
23
+ (void )logSignUpWithMethod : (nullable NSString *)signUpMethodOrNil
24
24
success : (nullable NSNumber *)signUpSucceededOrNil
25
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
25
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
26
26
27
27
/* *
28
28
* Log an Log In event to see users logging into your app in real-time, understand how many
@@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN
34
34
*/
35
35
+ (void )logLoginWithMethod : (nullable NSString *)loginMethodOrNil
36
36
success : (nullable NSNumber *)loginSucceededOrNil
37
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
37
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
38
38
39
39
/* *
40
40
* Log a Share event to see users sharing from your app in real-time, letting you
@@ -50,7 +50,7 @@ NS_ASSUME_NONNULL_BEGIN
50
50
contentName : (nullable NSString *)contentNameOrNil
51
51
contentType : (nullable NSString *)contentTypeOrNil
52
52
contentId : (nullable NSString *)contentIdOrNil
53
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
53
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
54
54
55
55
/* *
56
56
* Log an Invite Event to track how users are inviting other users into
@@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN
60
60
* @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase.
61
61
*/
62
62
+ (void )logInviteWithMethod : (nullable NSString *)inviteMethodOrNil
63
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
63
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
64
64
65
65
/* *
66
66
* Log a Purchase event to see your revenue in real-time, understand how many users are making purchases, see which
@@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN
80
80
itemName : (nullable NSString *)itemNameOrNil
81
81
itemType : (nullable NSString *)itemTypeOrNil
82
82
itemId : (nullable NSString *)itemIdOrNil
83
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
83
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
84
84
85
85
/* *
86
86
* Log a Level Start Event to track where users are in your game.
@@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN
89
89
* @param customAttributesOrNil A dictionary of custom attributes to associate with this level start event.
90
90
*/
91
91
+ (void )logLevelStart : (nullable NSString *)levelNameOrNil
92
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
92
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
93
93
94
94
/* *
95
95
* Log a Level End event to track how users are completing levels in your game.
@@ -102,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN
102
102
+ (void )logLevelEnd : (nullable NSString *)levelNameOrNil
103
103
score : (nullable NSNumber *)scoreOrNil
104
104
success : (nullable NSNumber *)levelCompletedSuccesfullyOrNil
105
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
105
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
106
106
107
107
/* *
108
108
* Log an Add to Cart event to see users adding items to a shopping cart in real-time, understand how
@@ -121,7 +121,7 @@ NS_ASSUME_NONNULL_BEGIN
121
121
itemName : (nullable NSString *)itemNameOrNil
122
122
itemType : (nullable NSString *)itemTypeOrNil
123
123
itemId : (nullable NSString *)itemIdOrNil
124
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
124
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
125
125
126
126
/* *
127
127
* Log a Start Checkout event to see users moving through the purchase funnel in real-time, understand how many
@@ -136,7 +136,7 @@ NS_ASSUME_NONNULL_BEGIN
136
136
+ (void )logStartCheckoutWithPrice : (nullable NSDecimalNumber *)totalPriceOrNil
137
137
currency : (nullable NSString *)currencyOrNil
138
138
itemCount : (nullable NSNumber *)itemCountOrNil
139
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
139
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
140
140
141
141
/* *
142
142
* Log a Rating event to see users rating content within your app in real-time and understand what
@@ -152,7 +152,7 @@ NS_ASSUME_NONNULL_BEGIN
152
152
contentName : (nullable NSString *)contentNameOrNil
153
153
contentType : (nullable NSString *)contentTypeOrNil
154
154
contentId : (nullable NSString *)contentIdOrNil
155
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
155
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
156
156
157
157
/* *
158
158
* Log a Content View event to see users viewing content within your app in real-time and
@@ -166,7 +166,7 @@ NS_ASSUME_NONNULL_BEGIN
166
166
+ (void )logContentViewWithName : (nullable NSString *)contentNameOrNil
167
167
contentType : (nullable NSString *)contentTypeOrNil
168
168
contentId : (nullable NSString *)contentIdOrNil
169
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
169
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
170
170
171
171
/* *
172
172
* Log a Search event allows you to see users searching within your app in real-time and understand
@@ -176,7 +176,7 @@ NS_ASSUME_NONNULL_BEGIN
176
176
* @param customAttributesOrNil A dictionary of custom attributes to associate with this event.
177
177
*/
178
178
+ (void )logSearchWithQuery : (nullable NSString *)queryOrNil
179
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
179
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
180
180
181
181
/* *
182
182
* Log a Custom Event to see user actions that are uniquely important for your app in real-time, to see how often
@@ -199,7 +199,7 @@ NS_ASSUME_NONNULL_BEGIN
199
199
* engagement.
200
200
*/
201
201
+ (void )logCustomEventWithName : (NSString *)eventName
202
- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
202
+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
203
203
204
204
@end
205
205
0 commit comments