与隐私权和法规相关的 CAST DAI SDK 设置。这些设置有助于您就生成信号时要使用的标识符做出选择。
构造函数
ConsentSettings
new
ConsentSettings()
属性
allowStorage
布尔值
CAST DAI 是否已就使用标识符和存储功能征得目的 1 同意。
此值需要通过与 CMP(意见征求管理提供方)集成来确定。默认情况下,此值设置为 false。如果指定为 true,则表示 CAST DAI 已征得用户同意,可以使用 Cookie、设备 ID 和广告 ID 等信息。此值需要设置为符合 IAB TCFv2(透明度和用户意见征求框架)标准。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-06-04。"],[[["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."]]],[]]