با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تنظیمات رضایت
عمومیکلاس
تنظیمات مختلف PAL SDK مربوط به حریم خصوصی و مقررات. تنظیمات می توانند به تصمیم گیری در مورد انتخاب مربوط به شناسه های مورد استفاده در هنگام تولید سیگنال های غیر مستقیم کمک کنند.
سازنده
تنظیمات رضایت
ConsentSettings () جدید
ویژگی
اجازه ذخیره سازی
بولی
آیا PAL رضایت هدف 1 را برای استفاده از شناسهها و ذخیرهسازی دارد یا خیر. مقدار باید با ادغام با CMP (ارائه دهنده مدیریت رضایت) تعیین شود. این به طور پیش فرض روی false تنظیم شده است. اگر درست مشخص شود، PAL از کاربر برای استفاده از اطلاعاتی مانند کوکیها، شناسههای دستگاه و شناسههای تبلیغاتی رضایت دارد. این مقدار باید مطابق با IAB TCFv2 (چارچوب شفافیت و رضایت) تنظیم شود.
تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe \u003ccode\u003eConsentSettings\u003c/code\u003e class manages privacy and regulation settings within the PAL SDK, influencing how identifiers are used.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eallowStorage\u003c/code\u003e, determined by a Consent Management Provider (CMP), dictates whether PAL has consent to utilize identifiers and storage, defaulting to false for user privacy.\u003c/p\u003e\n"],["\u003cp\u003eSetting \u003ccode\u003eallowStorage\u003c/code\u003e to true signifies user consent for PAL to use cookies, device IDs, and advertising IDs, requiring compliance with IAB Transparency and Consent Framework (TCFv2).\u003c/p\u003e\n"]]],[],null,["# Class: ConsentSettings\n\nConsentSettings\n===============\n\nclass public\n\nVarious settings to the PAL SDK related to privacy and regulations. The\nsettings can help make decisions about the choice regarding the identifiers\nused while generating nonce signals.\n\nConstructor\n-----------\n\n### ConsentSettings\n\nnew\nConsentSettings()\n\nProperty\n--------\n\n### allowStorage\n\nboolean\n\nWhether PAL has purpose 1 consent to use identifiers and storage. The\nvalue needs to be determined by integrating with CMP (Consent Management\nProvider). This is set to false by default. If specified as true, PAL has\nconsent from the user to use information like cookies, device IDs\nand advertising IDs. This value needs to be set to be IAB TCFv2\n(Transparency and Consent Framework) compliant."]]