Class ConsentSettings
Stay organized with collections
Save and categorize content based on your preferences.
User consent and privacy settings. These settings help PAL SDK make decisions about the
identifiers used while generating nonce signals.
| Properties |
allowStorage
|
Whether PAL has IAB purpose 1 consent to use identifiers and storage.
|
Properties
allowStorage
allowStorage: boolean
Whether PAL has IAB purpose 1 consent to use identifiers and storage. For more
information, see
IAB Europe Transparency & Consent Framework Policies
You must use a Consent Management Provider (CMP) to determine the value of
allowStorage property. By default, the
allowStorage property
is a
false value. If specified as a
true value, PAL SDK has
consent from the user to use information like cookies, device IDs and advertising IDs.
You must set this value to comply with IAB TCFv2 (Transparency and Consent Framework).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-20 UTC."],[],[]]