ConsentSettings
Settings on CAST DAI SDK related to privacy and regulations. The settings can help make decisions about the choice regarding the identifiers used while generating signals.
Constructor
ConsentSettings
new ConsentSettings()
Property
allowStorage
boolean
Whether CAST DAI has purpose 1 consent to use identifiers and storage. The value needs to be determined by integrating with CMP (Consent Management Provider). This is set to false by default. If specified as true, CAST DAI has consent from the user to use information like cookies, device IDs and advertising IDs. This value needs to be set to be IAB TCFv2 (Transparency and Consent Framework) compliant.