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

        @Deprecated(message = Deprecated since v6.16.1. Please use direct constructor invocation., replaceWith = @ReplaceWith(imports = {}, expression = AppsFlyerConsent()), level = DeprecationLevel.WARNING) 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

        @Deprecated(message = Deprecated since v6.16.1. Please use direct constructor invocation., replaceWith = @ReplaceWith(imports = {}, expression = AppsFlyerConsent()), level = DeprecationLevel.WARNING) 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.