lpw
2021-01-26 207fead0b75994b11c48c185a703f07220c3a2ee
frameworks/Chartboost.framework/Versions/A/Headers/CBAnalytics.h
@@ -1,18 +1,19 @@
/*
 * CBAnalytics.h
 * Chartboost
 * 6.6.0
 *
 * Copyright 2011 Chartboost. All rights reserved.
 */
//
//  CBAnalytics.h
//  Chartboost
//
//  Copyright 2018 Chartboost. All rights reserved.
//
//
#import <Foundation/Foundation.h>
#import <StoreKit/StoreKit.h>
/*!
 @typedef NS_ENUM (NSUInteger, CBLevelType)
 
 @abstract
 Used with trackLevelInfo calls to describe meta information about the level value as it
 Used with trackLevelInfo calls to describe meta information about the level value as it
 pertains to the game's context.
 */
typedef NS_ENUM(NSUInteger, CBLevelType) {
@@ -42,7 +43,7 @@
/*!
 @abstract
 Track an In App Purchase Event.
 @param receipt The transaction receipt used to validate the purchase.
 
 @param productTitle The localized title of the product.
@@ -54,21 +55,22 @@
 @param productCurrency The localized currency of the product.
 
 @param productIdentifier The IOS identifier for the product.
 @discussion Tracks In App Purchases for later use with user segmentation
 and targeting.
*/
 */
+ (void)trackInAppPurchaseEvent:(NSData *)receipt
                   productTitle:(NSString *)productTitle
             productDescription:(NSString *)productDescription
                   productPrice:(NSDecimalNumber *)productPrice
                productCurrency:(NSString *)productCurrency
              productIdentifier:(NSString *)productIdentifier;
              productIdentifier:(NSString *)productIdentifier
DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
/*!
 @abstract
 Track an In App Purchase Event.
 @param receiptString The base64 encoded receipt string used to validate the purchase.
 
 @param productTitle The localized title of the product.
@@ -80,16 +82,17 @@
 @param productCurrency The localized currency of the product.
 
 @param productIdentifier The IOS identifier for the product.
 @discussion Tracks In App Purchases for later use with user segmentation
 and targeting.
*/
 */
+ (void)trackInAppPurchaseEventWithString:(NSString *)receiptString
                   productTitle:(NSString *)productTitle
             productDescription:(NSString *)productDescription
                   productPrice:(NSDecimalNumber *)productPrice
                productCurrency:(NSString *)productCurrency
              productIdentifier:(NSString *)productIdentifier;
                             productTitle:(NSString *)productTitle
                       productDescription:(NSString *)productDescription
                             productPrice:(NSDecimalNumber *)productPrice
                          productCurrency:(NSString *)productCurrency
                        productIdentifier:(NSString *)productIdentifier
DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
/*!
 @abstract
 Track an In App Purchase Event.
@@ -102,12 +105,13 @@
 and targeting.
 */
+ (void)trackInAppPurchaseEvent:(NSData *)receipt
                        product:(SKProduct *)product;
                        product:(SKProduct *)product
DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
/*!
 @abstract
 Track level information about your user. Can be sequential levelling, non-sequential levelling, character level, or other.
 Track level information about your user. Can be sequential levelling, non-sequential levelling, character level, or other.
 
 @param eventLabel A string that disambiguates the eventField. Use it to provides a human readable string to answer the question - What are we tracking ?
 
@@ -126,11 +130,12 @@
            eventField:(CBLevelType)eventField
             mainLevel:(NSUInteger)mainLevel
              subLevel:(NSUInteger)subLevel
           description:(NSString*)description;
           description:(NSString*)description
DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
/*!
 @abstract
 Track level information about your user. Can be sequential levelling, non-sequential levelling, character level, or other.
 Track level information about your user. Can be sequential levelling, non-sequential levelling, character level, or other.
 
 @param eventLabel A string that disambiguates the eventField. Use it to provides a human readable string to answer the question - What are we tracking ?
 
@@ -146,6 +151,7 @@
+ (void)trackLevelInfo:(NSString*)eventLabel
            eventField:(CBLevelType)eventField
             mainLevel:(NSUInteger)mainLevel
           description:(NSString*)description;
           description:(NSString*)description
DEPRECATED_MSG_ATTRIBUTE("This method is deprecated and will be removed in a future version.");
@end