Description: decodes de consent of a given TCF vendor
Result expected: true if the vendor has been accepted / false if the vendor has been rejected
Description: decodes de consent of a given non TCF vendor
Result expected: true if the vendor has been accepted / false if the vendor has been rejected
Available vendor names (check if you have the vendor configured first):
[vendor_name]=google
[vendor_name]=charbeat
[vendor_name]=facebook
Result expected: true if the vendor has been accepted / false if the vendor has been rejected
Description: decodes the consent of Consent Purpose (for TCF vendors)
Result expected: true if the given consent purpose for TCF vendors has been accepted / false if has been rejected
Description: decodes the consent of a purpose as per legitimate interest (for TCF vendors)
Result expected: true if the given Legitimate interest purpose for TCF vendors has been accepted / false if has been rejected
Description: decodes the consent of Consent Purpose (for publisher)
Result expected: true if the given consent purpose for publisher has been accepted / false if has been rejected
Description: decodes the consent of a purpose as per legitimate interest (for publisher)
Result expected: true if the given Legitimate interest purpose publisher has been accepted / false if has been rejected
Description: decodes the consent of special features
Result expected: true if the given special feature has been accepted / false if has been rejected
Description: decodes the consent different items
It can contain 8 different lists (it can work with less than 8 lists)
Order of the list and parameters is as follows:
1. vendors: List<Int> = listOf(), //list of vendors consent TCF
2. vendorsLegitimateInterest: List<Int> = listOf(), //list of vendors LI TCF
3. thirdDataConsentVendors: List<String> = listOf(), //list of custom vendors
4. vendorsPurpose: List<Int> = listOf(), //list of consent to purposes TCF
5. vendorsPurposeLegitimateInterest: List<Int> = listOf(), // list of Legitimate interest purposes TCF
6. List<Int> = listOf(), // list of consent to purposes publisher
7. publishersLegitimateInterest: List<Int> = listOf(), // list of Legitimate interest purposes publisher
8. specialFeatures: List<Int> = listOf() //list of special features
Examples Kotlin:
List=1;
isAllAcceptedCustom(listOf(1,2))
List=1; List=3;
isAllAcceptedCustom(listOf(1,2), listOf(),listOf("googleConsent", "vendor1"))
List 2 need to be included but it should
be empty