Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
ConsentSettings
classpublic
Configurações no SDK do CAST DAI relacionadas à privacidade e aos regulamentos. As
configurações podem ajudar a tomar decisões sobre a escolha dos identificadores
usados ao gerar indicadores.
Construtor
ConsentSettings
new
ConsentSettings()
Propriedade
allowStorage
booleano
Se a DAI do CAST tem o consentimento da finalidade 1 para usar identificadores e armazenamento.
O valor precisa ser determinado pela integração com a CMP (provedor de
gestão de consentimento). Esse valor é definido como falso por padrão. Se especificado como
"true", o CAST DAI tem o consentimento do usuário para usar informações como cookies,
IDs de dispositivo e IDs de publicidade. Esse valor precisa ser definido para ser compatível com o TCFv2 (Estrutura de Transparência e Consentimento) do IAB.
[null,null,["Última atualização 2025-08-21 UTC."],[[["\u003cp\u003eConsentSettings class in CAST DAI SDK manages privacy and regulation settings, focusing on identifier usage for signal generation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eallowStorage\u003c/code\u003e 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.\u003c/p\u003e\n"]]],[],null,["# Class: ConsentSettings\n\nConsentSettings\n===============\n\nclass public\n\nSettings on CAST DAI SDK related to privacy and regulations. The\nsettings can help make decisions about the choice regarding the identifiers\nused while generating signals.\n\nConstructor\n-----------\n\n### ConsentSettings\n\nnew\nConsentSettings()\n\nProperty\n--------\n\n### allowStorage\n\nboolean\n\nWhether CAST DAI has purpose 1 consent to use identifiers and storage.\nThe value needs to be determined by integrating with CMP (Consent\nManagement Provider). This is set to false by default. If specified as\ntrue, CAST DAI has consent from the user to use information like cookies,\ndevice IDs and advertising IDs. This value needs to be set to be IAB\nTCFv2 (Transparency and Consent Framework) compliant."]]