Package com.iabtcf.decoder
Class PPCString
java.lang.Object
com.iabtcf.decoder.PPCString
public class PPCString extends Object
Parses TCFv1 Publisher Purposes Consent String Format
-
Method Summary
Modifier and Type Method Description static PPCStringdecode(String consentString)booleanequals(Object obj)intgetCmpId()intgetCmpVersion()StringgetConsentLanguage()intgetConsentScreen()InstantgetCreated()IntIterablegetCustomPurposesBitField()InstantgetLastUpdated()intgetPublisherPurposesVersion()IntIterablegetStandardPurposesAllowed()intgetVendorListVersion()intgetVersion()inthashCode()StringtoString()
-
Method Details
-
decode
public static PPCString decode(String consentString) throws IllegalArgumentException, ByteParseException, UnsupportedVersionException -
getVersion
public int getVersion() -
getCreated
-
getLastUpdated
-
getCmpId
public int getCmpId() -
getCmpVersion
public int getCmpVersion() -
getConsentScreen
public int getConsentScreen() -
getConsentLanguage
-
getVendorListVersion
public int getVendorListVersion() -
getPublisherPurposesVersion
public int getPublisherPurposesVersion() -
getStandardPurposesAllowed
-
getCustomPurposesBitField
-
hashCode
public int hashCode() -
equals
-
toString
-