與隱私權和法規相關的 CAST DAI SDK 設定。這些設定可協助您決定在產生信號時要使用的 ID。
建構函式
ConsentSettings
new
ConsentSettings()
屬性
allowStorage
布林值
CAST DAI 是否具有目的 1 同意聲明,可使用 ID 和儲存空間。
您必須整合 CMP (同意聲明管理服務供應商),才能判斷這個值。預設為 false。如果指定為「是」,CAST DAI 就會取得使用者同意,可使用 Cookie、裝置 ID 和廣告 ID 等資訊。這個值必須設為符合 IAB 資訊公開和同意聲明架構第 2 版 (資訊公開和同意聲明架構) 的規定。
[[["容易理解","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"]],["上次更新時間: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."]]],[]]