Package 

Object AppsFlyerConsent.Companion

    • Method Summary

      Modifier and Type Method Description
      final AppsFlyerConsent forGDPRUser(Boolean hasConsentForDataUsage, Boolean hasConsentForAdsPersonalization) Factory method to create an instance for user who is subject to GDPR.
      final AppsFlyerConsent forNonGDPRUser() Factory method to create an instance for user who is not subject to GDPR.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • forGDPRUser

         final AppsFlyerConsent forGDPRUser(Boolean hasConsentForDataUsage, Boolean hasConsentForAdsPersonalization)

        Factory method to create an instance for user who is subject to GDPR.

        Parameters:
        hasConsentForDataUsage - Indicates the user's consent to general data usage.
        hasConsentForAdsPersonalization - Indicates the user's consent to personalized ad data usage.
      • forNonGDPRUser

         final AppsFlyerConsent forNonGDPRUser()

        Factory method to create an instance for user who is not subject to GDPR. Consent parameters are not applicable for these instances and are thus set to null.