संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ConsentSettings
classसार्वजनिक
PAL SDK टूल में, निजता और नियमों से जुड़ी कई सेटिंग. इन सेटिंग की मदद से, नॉन्स सिग्नल जनरेट करते समय इस्तेमाल किए जाने वाले आइडेंटिफ़ायर के बारे में फ़ैसले लेने में मदद मिलती है.
निर्माता
ConsentSettings
नई
ConsentSettings()
प्रॉपर्टी
allowStorage
boolean
आइडेंटिफ़ायर और स्टोरेज का इस्तेमाल करने के लिए, पीएएल के पास मकसद 1 की सहमति है या नहीं. वैल्यू, सीएमपी (सहमति मैनेजमेंट
प्रोवाइडर) के साथ इंटिग्रेट करके तय की जानी चाहिए. यह डिफ़ॉल्ट रूप से 'गलत' पर सेट होता है. अगर 'सही' के तौर पर बताया गया है, तो पीएएल के पास उपयोगकर्ता से कुकी, डिवाइस आईडी,
और विज्ञापन आईडी जैसी जानकारी इस्तेमाल करने की सहमति होती है. यह वैल्यू, IAB टीसीएफ़ के 2 वर्शन
(पारदर्शिता और सहमति फ़्रेमवर्क) के मुताबिक सेट होनी चाहिए.
[null,null,["आखिरी बार 2025-08-21 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eConsentSettings\u003c/code\u003e manages privacy and regulation options within the PAL SDK, influencing identifier choices for nonce signals.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eallowStorage\u003c/code\u003e property, defaulting to false, dictates whether PAL has user consent (requiring CMP integration and IAB TCFv2 compliance) to utilize identifiers like cookies and device/advertising IDs for data storage.\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."]]