GDTPrivacyConfiguration.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // GDTPrivacyConfiguration.h
  3. // GDTMediationApp
  4. //
  5. // Created by Nancy on 2022/8/12.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface GDTPrivacyConfiguration : NSObject
  10. /// the COPPA of the user, COPPA is the short of Children's Online Privacy Protection Rule,
  11. /// the interface only works in the United States.
  12. /// Coppa 0 adult, 1 child, 0:default
  13. /// You can change its value at any time
  14. @property (nonatomic, assign) NSInteger coppa;
  15. /// Custom set the CCPA of the user,CCPA is the short of General Data Protection Regulation,the interface only works in USA.
  16. /// CCPA 0: "sale" of personal information is permitted, 1: user has opted out of "sale" of personal information 0: default
  17. @property (nonatomic, assign) NSInteger CCPA;
  18. /// Custom set the GDPR of the user,GDPR is the short of General Data Protection Regulation,the interface only works in The European.
  19. /// GDPR 0 close privacy protection, 1 open privacy protection, 0:default
  20. /// You can change its value at any time
  21. @property (nonatomic, assign) NSInteger GDPR;
  22. /**
  23. User's consent for advertiser tracking.
  24. The setter API only works in iOS14 or above and won't take effect in iOS13 or below.
  25. */
  26. @property (nonatomic, assign) BOOL advertiserTrackingEnabled;
  27. + (instancetype)configuration;
  28. @end
  29. NS_ASSUME_NONNULL_END