@Deprecated public class VendorConsent extends Object
VendorConsentDecoder to decode vendor consent string
Use VendorConsentBuilder to build version 1 consent string
Use VendorConsentEncoder to encode vendor consent to string| Modifier and Type | Class | Description |
|---|---|---|
static class |
VendorConsent.Builder |
Deprecated.
|
static class |
VendorConsent.RangeEntry |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
arePurposesAllowed(List<Integer> purposeIds) |
Deprecated.
|
boolean |
equals(Object o) |
Deprecated.
|
static VendorConsent |
fromBase64String(String consentString) |
Deprecated.
Constructor.
|
List<Integer> |
getAllowedPurposes() |
Deprecated.
|
int |
getAllowedPurposesBits() |
Deprecated.
|
String |
getBinaryString() |
Deprecated.
|
List<Boolean> |
getBitfield() |
Deprecated.
|
int |
getCmpId() |
Deprecated.
|
int |
getCmpVersion() |
Deprecated.
|
String |
getConsentLanguage() |
Deprecated.
|
Date |
getConsentRecordCreated() |
Deprecated.
|
Date |
getConsentRecordLastUpdated() |
Deprecated.
|
int |
getConsentScreen() |
Deprecated.
|
String |
getConsentString() |
Deprecated.
|
int |
getMaxVendorId() |
Deprecated.
|
List<VendorConsent.RangeEntry> |
getRangeEntries() |
Deprecated.
|
int |
getVendorEncodingType() |
Deprecated.
|
int |
getVendorListVersion() |
Deprecated.
|
int |
getVersion() |
Deprecated.
|
int |
hashCode() |
Deprecated.
|
boolean |
isDefaultConsent() |
Deprecated.
|
boolean |
isPurposeAllowed(int purposeId) |
Deprecated.
|
boolean |
isVendorAllowed(int vendorId) |
Deprecated.
|
String |
toString() |
Deprecated.
|
public static VendorConsent fromBase64String(String consentString) throws GdprException
consentString - (required). The binary user consent data encoded as url and filename safe base64 stringGdprException - if the consent string cannot be parsedpublic String getConsentString()
public Date getConsentRecordCreated()
Date at which the consent record was createdpublic Date getConsentRecordLastUpdated()
Date at which the cookie was last updatedpublic int getVersion()
public int getCmpId()
public int getCmpVersion()
public int getConsentScreen()
public String getConsentLanguage()
public int getMaxVendorId()
public boolean isDefaultConsent()
public int getVendorEncodingType()
public List<VendorConsent.RangeEntry> getRangeEntries()
public String getBinaryString()
public List<Integer> getAllowedPurposes()
public int getAllowedPurposesBits()
public int getVendorListVersion()
public boolean isPurposeAllowed(int purposeId)
public boolean isVendorAllowed(int vendorId)
isPurposeAllowed(int) fully describes the user consent for a particular
action by a given vendor.