From 02be5892b45a9ebbeb74e6697e712be999d5d0f8 Mon Sep 17 00:00:00 2001
From: hank <hank.zhang@proficientcity.com>
Date: Tue, 22 Jan 2019 11:01:53 +0800
Subject: [PATCH] 添加V3.8.0

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

diff --git a/frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h b/frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h
index e9c3861..8f2705d 100644
--- a/frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h
+++ b/frameworks/Chartboost.framework/Versions/A/Headers/Chartboost.h
@@ -397,15 +397,22 @@
 
 /*!
  @abstract
- Set to restrict Chartboost's ability to collect personal data from the device. When this is set to YES. IDFA and ip address will not
- be collected by the SDK or the server. Use this to communicate an EEU Data Subject's preference regarding data collection.
+ 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 restrict: Whether to restrict data collection or not
- @discussion Default value is NOT
+ @param consent: set the consent level
+ @discussion Default value is Unknown
  */
-+ (void)restrictDataCollection:(BOOL)shouldRestrict;
++ (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

--
Gitblit v1.8.0