public class TJPrivacyPolicy
extends java.lang.Object
Constructor and Description |
---|
TJPrivacyPolicy() |
Modifier and Type | Method and Description |
---|---|
static TJPrivacyPolicy |
getInstance()
Returns the default instance of this class.
|
void |
setBelowConsentAge(boolean isBelowConsentAge)
In the US, the Children’s Online Privacy Protection Act (COPPA) imposes certain requirements on operators of online services that (a) have actual knowledge that the connected
user is a child under 13 years of age, or (b) operate services (including apps) that are directed to children under 13.
|
void |
setSubjectToGDPR(boolean gdprApplicable)
This can be used by the integrating App to indicate if the user falls in any of the GDPR applicable countries
(European Economic Area).
|
void |
setUserConsent(java.lang.String value)
This is used for sending User's consent to behavioral advertising such as in the context of GDPR
The consent value can be "0" (User has not provided consent), "1" (User has provided consent) or a daisybit string as suggested in IAB's Transparency and Consent Framework
|
void |
setUSPrivacy(java.lang.String privacyValue)
This is used for sending US Privacy value to behavioral advertising such as in the context of GDPR
The value can be in IAB's US Privacy String Format consists of specification version to encode the string in number, explicit notice or opportunity to opt out in enum, opt-out sale in enum, LSPA covered transaction in enum .
|
public static TJPrivacyPolicy getInstance()
public void setSubjectToGDPR(boolean gdprApplicable)
gdprApplicable
- True if GDPR applies to this user, false otherwisepublic void setUserConsent(java.lang.String value)
value
- The user consent stringpublic void setBelowConsentAge(boolean isBelowConsentAge)
isBelowConsentAge
- True if below consent age (COPPA) applies to this user, false otherwisepublic void setUSPrivacy(java.lang.String privacyValue)
privacyValue
- The us privacy value string