Class CCPAConsentStateNotification
java.lang.Object
com.mparticle.sdk.model.eventprocessing.notification.SystemNotification
com.mparticle.sdk.model.eventprocessing.notification.CCPAConsentStateNotification
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mparticle.sdk.model.eventprocessing.notification.SystemNotification
SystemNotification.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the consent purpose.void
setNewConsentState
(CCPAConsent newConsentState) void
setOldConsentState
(CCPAConsent oldConsentState) void
setPurpose
(String purpose) Optionally override the default consent purpose for CCPA.Methods inherited from class com.mparticle.sdk.model.eventprocessing.notification.SystemNotification
getRequest, getType, setRequest
-
Constructor Details
-
CCPAConsentStateNotification
public CCPAConsentStateNotification()
-
-
Method Details
-
getPurpose
Retrieve the consent purpose. It will be set to the default for CCPA, unless it's explicitly overridden via the setter.- Returns:
-
setPurpose
Optionally override the default consent purpose for CCPA.- Parameters:
purpose
-
-
getOldConsentState
-
setOldConsentState
-
getNewConsentState
-
setNewConsentState
-