Package 

Class TCF2Handler

    • Constructor Summary

      Constructors 
      Constructor Description
      TCF2Handler()
    • Method Summary

      Modifier and Type Method Description
      final Boolean loadConsentString(Context context, String consentString, Long consentStringCookieMaxAge) Load IAB Consent string as a cookie WebView to make it available to the JS Player.
      • Methods inherited from class java.lang.Object

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

      • TCF2Handler

        TCF2Handler()
    • Method Detail

      • loadConsentString

         final Boolean loadConsentString(Context context, String consentString, Long consentStringCookieMaxAge)

        Load IAB Consent string as a cookie WebView to make it available to the JS Player. This method will try to read the consent string from the location described by IAB specs.

        Parameters:
        consentString - fallback value if the consent string found following IAB specs is not present
        consentStringCookieMaxAge - cookie max age (in seconds) if set otherwise it will default to 6 month