Class: ConsentSettings

  • ConsentSettings class in CAST DAI SDK manages privacy and regulation settings, focusing on identifier usage for signal generation.

  • The allowStorage property, defaulting to false, dictates whether CAST DAI has user consent to utilize identifiers like cookies and device IDs for data storage and processing, requiring integration with a Consent Management Provider (CMP) and compliance with IAB TCFv2 for a 'true' value.

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.