123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 |
- #import <Foundation/Foundation.h>
- #import "ANSCompatibility.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface Answers : NSObject
- + (void)logSignUpWithMethod:(nullable NSString *)signUpMethodOrNil
- success:(nullable NSNumber *)signUpSucceededOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logLoginWithMethod:(nullable NSString *)loginMethodOrNil
- success:(nullable NSNumber *)loginSucceededOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logShareWithMethod:(nullable NSString *)shareMethodOrNil
- contentName:(nullable NSString *)contentNameOrNil
- contentType:(nullable NSString *)contentTypeOrNil
- contentId:(nullable NSString *)contentIdOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logInviteWithMethod:(nullable NSString *)inviteMethodOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logPurchaseWithPrice:(nullable NSDecimalNumber *)itemPriceOrNil
- currency:(nullable NSString *)currencyOrNil
- success:(nullable NSNumber *)purchaseSucceededOrNil
- itemName:(nullable NSString *)itemNameOrNil
- itemType:(nullable NSString *)itemTypeOrNil
- itemId:(nullable NSString *)itemIdOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logLevelStart:(nullable NSString *)levelNameOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logLevelEnd:(nullable NSString *)levelNameOrNil
- score:(nullable NSNumber *)scoreOrNil
- success:(nullable NSNumber *)levelCompletedSuccesfullyOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logAddToCartWithPrice:(nullable NSDecimalNumber *)itemPriceOrNil
- currency:(nullable NSString *)currencyOrNil
- itemName:(nullable NSString *)itemNameOrNil
- itemType:(nullable NSString *)itemTypeOrNil
- itemId:(nullable NSString *)itemIdOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logStartCheckoutWithPrice:(nullable NSDecimalNumber *)totalPriceOrNil
- currency:(nullable NSString *)currencyOrNil
- itemCount:(nullable NSNumber *)itemCountOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logRating:(nullable NSNumber *)ratingOrNil
- contentName:(nullable NSString *)contentNameOrNil
- contentType:(nullable NSString *)contentTypeOrNil
- contentId:(nullable NSString *)contentIdOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logContentViewWithName:(nullable NSString *)contentNameOrNil
- contentType:(nullable NSString *)contentTypeOrNil
- contentId:(nullable NSString *)contentIdOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logSearchWithQuery:(nullable NSString *)queryOrNil
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- + (void)logCustomEventWithName:(NSString *)eventName
- customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
- @end
- NS_ASSUME_NONNULL_END
|