تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
ConsentSettings
classpublic
الإعدادات في حزمة تطوير البرامج (SDK) لعرض الإعلانات أثناء التشغيل في CAST ذات الصلة بالخصوصية واللوائح التنظيمية يمكن أن تساعد الإعدادات في اتخاذ قرارات بشأن الخيار المتعلق بالمعرّفات
المستخدَمة أثناء إنشاء الإشارات.
الشركة المصنِّعة
ConsentSettings
new
ConsentSettings()
الموقع
allowStorage
قيمة منطقية
ما إذا كان لدى CAST DAI موافقة الغرض 1 لاستخدام المعرّفات ومساحة التخزين
يجب تحديد القيمة من خلال الدمج مع منصّة إدارة الموافقة (CMP). يتم ضبط هذه القيمة على false تلقائيًا. إذا تم تحديده على أنّه
صحيح، تحصل ميزة CAST DAI على موافقة من المستخدِم لاستخدام معلومات مثل ملفات تعريف الارتباط
ومعرِّفات الأجهزة والمعرِّفات الإعلانية. يجب ضبط هذه القيمة لتتوافق مع الإصدار 2 من "إطار الشفافية والموافقة" الصادر عن مكتب IAB.
تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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."]]