-
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, and their consent to personalized advertisements based on user data.
Note that the consent for data usage and ads personalization pair is only applicable when the user is subject to GDPR guidelines. Therefore, the following factory methods should be used accordingly:
Use forGDPRUser when the user is subject to GDPR.
Use forNonGDPRUser when the user is not subject to GDPR.
-
-
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 BooleanhasConsentForAdsPersonalization
-
Method Summary
Modifier and Type Method Description final BooleangetIsUserSubjectToGDPR()final BooleangetHasConsentForDataUsage()final BooleangetHasConsentForAdsPersonalization()-
-
Method Detail
-
getIsUserSubjectToGDPR
final Boolean getIsUserSubjectToGDPR()
-
getHasConsentForDataUsage
final Boolean getHasConsentForDataUsage()
-
getHasConsentForAdsPersonalization
final Boolean getHasConsentForAdsPersonalization()
-
-
-
-