66//
77
88#import < Foundation/Foundation.h>
9- #import " CLSAttributes .h"
9+ #import " ANSCompatibility .h"
1010
1111NS_ASSUME_NONNULL_BEGIN
1212
@@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
2222 */
2323+ (void )logSignUpWithMethod : (nullable NSString *)signUpMethodOrNil
2424 success : (nullable NSNumber *)signUpSucceededOrNil
25- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
25+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
2626
2727/* *
2828 * 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
3434 */
3535+ (void )logLoginWithMethod : (nullable NSString *)loginMethodOrNil
3636 success : (nullable NSNumber *)loginSucceededOrNil
37- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
37+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
3838
3939/* *
4040 * Log a Share event to see users sharing from your app in real-time, letting you
@@ -50,7 +50,7 @@ NS_ASSUME_NONNULL_BEGIN
5050 contentName : (nullable NSString *)contentNameOrNil
5151 contentType : (nullable NSString *)contentTypeOrNil
5252 contentId : (nullable NSString *)contentIdOrNil
53- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
53+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
5454
5555/* *
5656 * Log an Invite Event to track how users are inviting other users into
@@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN
6060 * @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase.
6161 */
6262+ (void )logInviteWithMethod : (nullable NSString *)inviteMethodOrNil
63- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
63+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
6464
6565/* *
6666 * 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
8080 itemName : (nullable NSString *)itemNameOrNil
8181 itemType : (nullable NSString *)itemTypeOrNil
8282 itemId : (nullable NSString *)itemIdOrNil
83- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
83+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
8484
8585/* *
8686 * Log a Level Start Event to track where users are in your game.
@@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN
8989 * @param customAttributesOrNil A dictionary of custom attributes to associate with this level start event.
9090 */
9191+ (void )logLevelStart : (nullable NSString *)levelNameOrNil
92- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
92+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
9393
9494/* *
9595 * Log a Level End event to track how users are completing levels in your game.
@@ -102,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN
102102+ (void )logLevelEnd : (nullable NSString *)levelNameOrNil
103103 score : (nullable NSNumber *)scoreOrNil
104104 success : (nullable NSNumber *)levelCompletedSuccesfullyOrNil
105- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
105+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
106106
107107/* *
108108 * 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
121121 itemName : (nullable NSString *)itemNameOrNil
122122 itemType : (nullable NSString *)itemTypeOrNil
123123 itemId : (nullable NSString *)itemIdOrNil
124- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
124+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
125125
126126/* *
127127 * 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
136136+ (void )logStartCheckoutWithPrice : (nullable NSDecimalNumber *)totalPriceOrNil
137137 currency : (nullable NSString *)currencyOrNil
138138 itemCount : (nullable NSNumber *)itemCountOrNil
139- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
139+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
140140
141141/* *
142142 * 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
152152 contentName : (nullable NSString *)contentNameOrNil
153153 contentType : (nullable NSString *)contentTypeOrNil
154154 contentId : (nullable NSString *)contentIdOrNil
155- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
155+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
156156
157157/* *
158158 * 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
166166+ (void )logContentViewWithName : (nullable NSString *)contentNameOrNil
167167 contentType : (nullable NSString *)contentTypeOrNil
168168 contentId : (nullable NSString *)contentIdOrNil
169- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
169+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
170170
171171/* *
172172 * 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
176176 * @param customAttributesOrNil A dictionary of custom attributes to associate with this event.
177177 */
178178+ (void )logSearchWithQuery : (nullable NSString *)queryOrNil
179- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
179+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
180180
181181/* *
182182 * 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
199199 * engagement.
200200 */
201201+ (void )logCustomEventWithName : (NSString *)eventName
202- customAttributes : (nullable CLS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
202+ customAttributes : (nullable ANS_GENERIC_NSDICTIONARY (NSString *, id ) *)customAttributesOrNil;
203203
204204@end
205205
0 commit comments