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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the consent purpose.voidsetNewConsentState(CCPAConsent newConsentState) voidsetOldConsentState(CCPAConsent oldConsentState) voidsetPurpose(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
-