Package io.didomi.sdk.iab
Class CCPAStorageRepository
-
- All Implemented Interfaces:
-
io.didomi.sdk.iab.IABStorageRepository
public final class CCPAStorageRepository implements IABStorageRepository
Repository to handle CCPA IAB String (US Privacy String)
-
-
Constructor Summary
Constructors Constructor Description CCPAStorageRepository()
-
Method Summary
Modifier and Type Method Description IntegergetVersion()TCF version implemented by the repository UnitsaveConsentInformation(SharedPreferences sharedPreferences, ConsentToken consentToken, AppConfiguration appConfiguration, IABConfiguration vendorList, List<PublisherRestriction> publisherRestrictions, String languageCode)Method used to store consent information based on the io.didomi.sdk.iab TCF version that's associated to the IABStorageRepository that implements this interface. StringgetUserConsentString(SharedPreferences sharedPreferences)-
-
Method Detail
-
getVersion
Integer getVersion()
TCF version implemented by the repository
-
saveConsentInformation
Unit saveConsentInformation(SharedPreferences sharedPreferences, ConsentToken consentToken, AppConfiguration appConfiguration, IABConfiguration vendorList, List<PublisherRestriction> publisherRestrictions, String languageCode)
Method used to store consent information based on the io.didomi.sdk.iab TCF version that's associated to the IABStorageRepository that implements this interface.
- Parameters:
appConfiguration- instance of AppConfiguration
-
getUserConsentString
String getUserConsentString(SharedPreferences sharedPreferences)
-
-
-
-