Class: ConsentSettings

  • The ConsentSettings class manages privacy and regulation settings within the PAL SDK, influencing how identifiers are used.

  • allowStorage, determined by a Consent Management Provider (CMP), dictates whether PAL has consent to utilize identifiers and storage, defaulting to false for user privacy.

  • Setting allowStorage to true signifies user consent for PAL to use cookies, device IDs, and advertising IDs, requiring compliance with IAB Transparency and Consent Framework (TCFv2).

Constructor

ConsentSettings

new ConsentSettings()

Property

allowStorage

boolean

Whether PAL 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, PAL 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.