From 8fa52d6d93a9c60f5a09b5fd1c80b3a9c35046d0 Mon Sep 17 00:00:00 2001 From: lpw Date: Mon, 15 Apr 2024 11:25:12 +0800 Subject: [PATCH] 提交3.18.0 --- frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h | 26 ++++++++++++++++++++++---- 1 files changed, 22 insertions(+), 4 deletions(-) diff --git a/frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h b/frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h index 7f89831..7758390 100644 --- a/frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h +++ b/frameworks/FirebaseAnalytics.xcframework/tvos-arm64_x86_64-simulator/FirebaseAnalytics.framework/Headers/FIRAnalytics+Consent.h @@ -4,16 +4,33 @@ NS_ASSUME_NONNULL_BEGIN -/// The type of consent to set. Supported consent types are `ConsentType.adStorage` and -/// `ConsentType.analyticsStorage`. Omitting a type retains its previous status. +/// The type of consent to set. Supported consent types are `ConsentType.adStorage`, +/// `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and `ConsentType.adPersonalization`. +/// Omitting a type retains its previous status. typedef NSString *FIRConsentType NS_TYPED_ENUM NS_SWIFT_NAME(ConsentType); + +/// Enables storage (such as device identifiers) related to advertising. extern FIRConsentType const FIRConsentTypeAdStorage; + +/// Enables storage (such as app identifiers) related to analytics, e.g. visit duration. extern FIRConsentType const FIRConsentTypeAnalyticsStorage; + +/// Sets consent for sending user data to Google for advertising purposes. +extern FIRConsentType const FIRConsentTypeAdUserData; + +/// Sets consent for personalized advertising. +extern FIRConsentType const FIRConsentTypeAdPersonalization; /// The status value of the consent type. Supported statuses are `ConsentStatus.granted` and /// `ConsentStatus.denied`. typedef NSString *FIRConsentStatus NS_TYPED_ENUM NS_SWIFT_NAME(ConsentStatus); + +/// Consent status indicating consent is denied. For an overview of which data is sent when consent +/// is denied, see [SDK behavior with consent +/// mode](https://developers.google.com/tag-platform/security/concepts/consent-mode#tag-behavior). extern FIRConsentStatus const FIRConsentStatusDenied; + +/// Consent status indicating consent is granted. extern FIRConsentStatus const FIRConsentStatusGranted; /// Sets the applicable end user consent state. @@ -24,8 +41,9 @@ /// persisted across app sessions. By default consent types are set to `ConsentStatus.granted`. /// /// @param consentSettings A Dictionary of consent types. Supported consent type keys are -/// `ConsentType.adStorage` and `ConsentType.analyticsStorage`. Valid values are -/// `ConsentStatus.granted` and `ConsentStatus.denied`. +/// `ConsentType.adStorage`, `ConsentType.analyticsStorage`, `ConsentType.adUserData`, and +/// `ConsentType.adPersonalization`. Valid values are `ConsentStatus.granted` and +/// `ConsentStatus.denied`. + (void)setConsent:(NSDictionary<FIRConsentType, FIRConsentStatus> *)consentSettings; @end -- Gitblit v1.8.0