public interface TCFRepository
| Modifier and Type | Method and Description |
|---|---|
void |
clearCMPKeys(android.content.SharedPreferences sharedPreferences)
Clear keys in SharedPreferences that do not belong to the current TCF version
|
java.lang.String |
getUserConsentString(android.content.SharedPreferences sharedPreferences) |
int |
getVersion()
TCF version implemented by the repository
|
void |
saveConsentInformation(android.content.SharedPreferences sharedPreferences,
int vendorListMaxVendorId,
int vendorListVersion,
ConsentToken consentToken,
AppConfiguration appConfiguration,
IABConfiguration vendorList,
java.util.List<io.didomi.sdk.publisherrestrictions.PublisherRestriction> publisherRestrictions,
java.lang.String languageCode)
Method used to store consent information based on the io.didomi.sdk.TCF version that's associated to the TCFRepository that implements this interface.
|
void |
setCMPPresent(android.content.SharedPreferences sharedPreferences)
Create the required keys in SharedPreferences to indicate that a CMP is present in the app
|
void |
setSubjectToGDPR(android.content.SharedPreferences sharedPreferences,
boolean subjectToGDPR)
Method used to set the flag associated to the io.didomi.sdk.TCF version being implemented and indicate that the user is subject to GDPR.
|
int getVersion()
void clearCMPKeys(android.content.SharedPreferences sharedPreferences)
sharedPreferences - void saveConsentInformation(android.content.SharedPreferences sharedPreferences,
int vendorListMaxVendorId,
int vendorListVersion,
ConsentToken consentToken,
AppConfiguration appConfiguration,
IABConfiguration vendorList,
java.util.List<io.didomi.sdk.publisherrestrictions.PublisherRestriction> publisherRestrictions,
java.lang.String languageCode)
sharedPreferences - vendorListMaxVendorId - vendorListVersion - consentToken - appConfiguration - instance of AppConfigurationvendorList - languageCode - void setCMPPresent(android.content.SharedPreferences sharedPreferences)
sharedPreferences - void setSubjectToGDPR(android.content.SharedPreferences sharedPreferences,
boolean subjectToGDPR)
sharedPreferences - subjectToGDPR - java.lang.String getUserConsentString(android.content.SharedPreferences sharedPreferences)