Class ConsentState


  • public final class ConsentState
    extends java.lang.Object
    • Field Detail

      • DEFAULT_CCPA_CONSENT_PURPOSE

        public static final java.lang.String DEFAULT_CCPA_CONSENT_PURPOSE
        The default consent purpose for CCPA. For more, reference: https://docs.mparticle.com/guides/consent-management#consent-properties
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConsentState

        public ConsentState()
    • Method Detail

      • getGDPR

        public java.util.Map<java.lang.String,​GDPRConsent> getGDPR()
      • setGDPR

        public void setGDPR​(java.util.Map<java.lang.String,​GDPRConsent> GDPR)
      • getCCPA

        public java.util.Map<java.lang.String,​CCPAConsent> getCCPA()
      • setCCPA

        public void setCCPA​(CCPAConsent CCPA)
        Set-up the map with the default CCPA consent purpose.
        Parameters:
        CCPA -
      • setCCPA

        public void setCCPA​(java.util.Map<java.lang.String,​CCPAConsent> CCPA)