קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ConsentSettings
classpublic
הגדרות ב-CAST DAI SDK שקשורות לפרטיות ולתקנות. ההגדרות יכולות לעזור לכם לקבל החלטות לגבי הבחירה לגבי המזהים שבהם נעשה שימוש בזמן יצירת האותות.
יצרן
ConsentSettings
new
ConsentSettings()
נכס
allowStorage
בוליאני
אם ל-CAST DAI יש הסכמה למטרה 1 לשימוש במזהים ובאחסון.
כדי לקבוע את הערך, צריך לשלב את הקוד עם פלטפורמת CMP (ספק לניהול הסכמה). כברירת מחדל, הערך מוגדר כ-false. אם הערך שצוין הוא true, ל-CAST DAI יש הסכמה מהמשתמש להשתמש במידע כמו קובצי cookie, מזהי מכשירים ומזהי פרסום. הערך הזה צריך להיות תואם ל-IAB
TCFv2 (מסגרת השקיפות וההסכמה).
[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."]]