Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
СогласиеНастройки
класспубличный
Настройки CAST DAI SDK, связанные с конфиденциальностью и правилами. Настройки могут помочь принять решение о выборе идентификаторов, используемых при генерации сигналов.
Конструктор
СогласиеНастройки
новый ConsentSettings()
Свойство
разрешитьХранение
булев
Имеет ли CAST DAI согласие цели 1 на использование идентификаторов и хранилища. Значение должно быть определено путем интеграции с CMP (Consent Management Provider). По умолчанию установлено значение false. Если указано значение true, CAST DAI имеет согласие пользователя на использование такой информации, как файлы cookie, идентификаторы устройств и рекламные идентификаторы. Это значение должно быть установлено в соответствии с IAB TCFv2 (Transparency and Consent Framework).
[null,null,["Последнее обновление: 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."]]