-
public final class TCF2Handler
-
-
Constructor Summary
Constructors Constructor Description TCF2Handler()
-
Method Summary
Modifier and Type Method Description final BooleanloadConsentString(Context context, String consentString, Long consentStringCookieMaxAge)Load IAB Consent string as a cookie WebView to make it available to the JS Player. -
-
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 presentconsentStringCookieMaxAge- cookie max age (in seconds) if set otherwise it will default to 6 month
-
-
-
-