public class CCPA
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CCPA.CCPA_CONSENT
CCPA compliance settings:
OPT_IN_SALE(1NN-) means the user consents (Behavioral and Contextual Ads)
OPT_OUT_SALE(1NY-) means the user does not consent to targeting (Contextual ads)
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CCPA_STANDARD |
| Constructor and Description |
|---|
CCPA(CCPA.CCPA_CONSENT consent)
Use interface CCPA_CONSENT
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConsent() |
java.lang.String |
getPrivacyStandard() |
boolean |
isValidConsent(java.lang.String consent)
Check provided consent against expected values.
|
JSONObject |
toJson() |
public static final java.lang.String CCPA_STANDARD
public CCPA(CCPA.CCPA_CONSENT consent)
consent - public boolean isValidConsent(java.lang.String consent)
DataUseConsentisValidConsent in interface DataUseConsentpublic java.lang.String getPrivacyStandard()
getPrivacyStandard in interface DataUseConsentpublic java.lang.String getConsent()
getConsent in interface DataUseConsentpublic JSONObject toJson()
toJson in interface DataUseConsent