mirror of
https://github.com/cubixle/iabtcfv2.git
synced 2026-04-29 23:58:46 +01:00
Add functions to get a list of publisher restrictions for purpose + check if vendor has consent or LI for a list of purposes
This commit is contained in:
@@ -141,6 +141,9 @@ To verify that a legal basis is established for a purpose or a vendor, use the f
|
||||
| IsPurposeLIAllowed | int | Returns `true` if legitimate interest is established for purpose id and user didn't exercise their right to object |
|
||||
| IsVendorAllowed | int | Returns `true` if user has given consent to vendor id processing their personal data |
|
||||
| IsVendorLIAllowed | int | Returns `true` if transparency for vendor id's legitimate interest is established and user didn't exercise their right to object |
|
||||
| IsVendorAllowedForPurposes | (int, ...int) | Returns `true` if user has given consent to vendor id processing all purposes ids and publisher hasn't set restrictions for them |
|
||||
| IsVendorAllowedForPurposesLI | (int, ...int) | Returns `true` if transparency for vendor id's legitimate interest is established for all purpose ids and publisher hasn't set restrictions for them |
|
||||
| GetPubRestrictionsForPurpose | int | Returns a list of publisher restrictions applied to purpose id |
|
||||
|
||||
NOTE: For convenience the `CoreString` functions are also available from the `TCData` structure.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user