From 96a95cc223e075b9c5222611237d637d5c8459fa Mon Sep 17 00:00:00 2001
From: hank <hank.zhang@proficientcity.com>
Date: Thu, 20 Jun 2019 09:45:54 +0800
Subject: [PATCH] 添加V3.8.2

---
 frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h |   50 +++++++++++++++++++++++++++++++++-----------------
 1 files changed, 33 insertions(+), 17 deletions(-)

diff --git a/frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h b/frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h
index bb3b0bd..ceddebd 100644
--- a/frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h
+++ b/frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h
@@ -9,6 +9,7 @@
 #import <UIKit/UIKit.h>
 #import "ChartboostDelegate.h"
 @class CBInPlay;
+FOUNDATION_EXPORT BOOL ChartboostInitialized(const char* function);
 @interface Chartboost : NSObject
 #pragma mark - Main Chartboost API
 
@@ -109,6 +110,7 @@
  the method will attempt to fetch data from the Chartboost API server.
  */
 + (void)cacheInterstitial:(CBLocation)location;
+
 /*!
  @abstract
  Present an interstitial for the given CBLocation.
@@ -135,8 +137,6 @@
  the method will attempt to fetch data from the Chartboost API server.
  */
 + (void)cacheRewardedVideo:(CBLocation)location;
-
-
 
 /*!
  @abstract
@@ -294,14 +294,15 @@
 /*!
  @abstract
  Set a custom mediation library to append to the POST body of every request.
- example setMediation:CBMediationMoPub withVersion:@"3.8.0"
+ example setMediation:CBMediationMoPub withLibraryVersion:@"3.8.0" adapterVersionn:@"2.0"
  
  @param library The constant for the name of the mediation library.
- @param libraryVersion The version sent as a string.
+ @param libraryVersion The mediation library version sent as a string.
+ @param adapterVersion The adapter version sent as a string.
  
  @discussion This is an internal method used by mediation partners to track their usage.
  */
-+ (void)setMediation:(CBMediation)library withVersion:(NSString*)libraryVersion;
++ (void)setMediation:(CBMediation)library withLibraryVersion:(NSString*)libraryVersion adapterVersion:(NSString*)adapterVersion;
 
 /*!
  @abstract
@@ -368,18 +369,6 @@
 
 /*!
  @abstract
- Set to control how the fullscreen ad units should interact with the status bar. (CBStatusBarBehaviorIgnore by default).
- 
- @param statusBarBehavior The param to set if fullscreen video should respect the status bar.
- 
- @discussion See the enum value comments for descriptions on the values and their behavior.  Only use this feature if your
- application has the status bar enabled.
- */
-+ (void)setStatusBarBehavior:(CBStatusBarBehavior)statusBarBehavior;
-
-
-/*!
- @abstract
  returns YES if auto IAP tracking is enabled, NO if it isn't.
  
  @discussion Call to check if automatic tracking of in-app purchases is enabled.
@@ -387,12 +376,39 @@
  */
 + (BOOL)getAutoIAPTracking;
 
+/*!
+ @abstract
+ Mute/unmute chartboost ads.
+ @param mute YES all sounds, NO activates them. Default is NO
+ @discussion default value is NO
+ */
++ (void)setMuted:(BOOL)mute;
+
+/*!
+ @abstract
+ Set to restrict Chartboost's ability to collect personal data from the device. See CBPIDataUseConsent declaration for details
+ Note: This method should be called before starting the Chartboost SDK with startWithAppId:appSignature:delegate.
+ @param consent: set the consent level
+ @discussion Default value is Unknown
+ */
++ (void)setPIDataUseConsent:(CBPIDataUseConsent)consent;
+
+/*!
+ @abstract
+ Get the current consent setting
+ */
++ (CBPIDataUseConsent)getPIDataUseConsent;
+
 #pragma mark - Deprecated
++ (void)restrictDataCollection:(BOOL)shouldRestrict __attribute__((deprecated("Use setPIDataUseConsent:(CBPIDataUseConsent)consent instead")));
+
 + (BOOL)hasMoreApps:(CBLocation)location  __attribute__((deprecated("This method is deprecated will always return false")));
 + (void)showMoreApps:(CBLocation)location __attribute__((deprecated("This method is deprecated and is a no-op")));
 + (void)showMoreApps:(UIViewController *)viewController
             location:(CBLocation)location  __attribute__((deprecated("This method is deprecated and is a no-op")));
 + (void)setShouldDisplayLoadingViewForMoreApps:(BOOL)shouldDisplay __attribute__((deprecated("This method is deprecated and is a no-op")));
 + (void)cacheMoreApps:(CBLocation)location __attribute__((deprecated("This method is deprecated and is a no-op")));
++ (void)setStatusBarBehavior:(CBStatusBarBehavior)statusBarBehavior __attribute__((deprecated("This method is deprecated and is a no-op")));
++ (void)setMediation:(CBMediation)library withVersion:(NSString*)libraryVersion DEPRECATED_MSG_ATTRIBUTE("Please use setMediation:withLibraryVersion:adapterVersion: instead.");
 
 @end

--
Gitblit v1.8.0