Class: ConsentSettings

  • The ConsentSettings class provides settings related to privacy and regulations for the CAST DAI SDK.

  • These settings influence decisions about using identifiers when generating signals.

  • The allowStorage property, a boolean, indicates if CAST DAI has consent to use identifiers and storage, defaulting to false.

  • The value of allowStorage should be determined by integrating with a CMP and needs to be set for IAB TCFv2 compliance.

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.