-
public final class AppsFlyerConsentData class representing a user's consent for data processing in accordance with GDPR and DMA (Digital Markets Act) compliance, specifically regarding advertising preferences.
This class should be used to notify and record the user's applicability under GDPR, their general consent to data usage, their consent to personalized advertisements based on user data, and their consent to ad storage.
Any of these consent fields—data usage, ads personalization, and ad storage— can be used regardless of whether the user is subject to GDPR. The applicability of each field depends on the specific regulatory requirements or business policies.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAppsFlyerConsent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisUserSubjectToGDPRprivate final BooleanhasConsentForDataUsageprivate final BooleanhasConsentForAdsPersonalizationprivate final BooleanhasConsentForAdStorage
-
Constructor Summary
Constructors Constructor Description AppsFlyerConsent(Boolean isUserSubjectToGDPR, Boolean hasConsentForDataUsage, Boolean hasConsentForAdsPersonalization, Boolean hasConsentForAdStorage)AppsFlyerConsent(Boolean isUserSubjectToGDPR, Boolean hasConsentForDataUsage, Boolean hasConsentForAdsPersonalization)AppsFlyerConsent(Boolean isUserSubjectToGDPR, Boolean hasConsentForDataUsage)AppsFlyerConsent(Boolean isUserSubjectToGDPR)AppsFlyerConsent()
-
Method Summary
Modifier and Type Method Description final BooleangetIsUserSubjectToGDPR()final BooleangetHasConsentForDataUsage()final BooleangetHasConsentForAdsPersonalization()final BooleangetHasConsentForAdStorage()-
-
Constructor Detail
-
AppsFlyerConsent
AppsFlyerConsent(Boolean isUserSubjectToGDPR, Boolean hasConsentForDataUsage, Boolean hasConsentForAdsPersonalization, Boolean hasConsentForAdStorage)
-
AppsFlyerConsent
AppsFlyerConsent(Boolean isUserSubjectToGDPR, Boolean hasConsentForDataUsage, Boolean hasConsentForAdsPersonalization)
-
AppsFlyerConsent
AppsFlyerConsent(Boolean isUserSubjectToGDPR)
-
AppsFlyerConsent
AppsFlyerConsent()
-
-
Method Detail
-
getIsUserSubjectToGDPR
final Boolean getIsUserSubjectToGDPR()
-
getHasConsentForDataUsage
final Boolean getHasConsentForDataUsage()
-
getHasConsentForAdsPersonalization
final Boolean getHasConsentForAdsPersonalization()
-
getHasConsentForAdStorage
final Boolean getHasConsentForAdStorage()
-
-
-
-