Package io.didomi.sdk.iab
Class IABNoOpRepository
-
- All Implemented Interfaces:
-
io.didomi.sdk.iab.IABStorageRepository
public final class IABNoOpRepository implements IABStorageRepository
A NoOp repository that does nothing and can be loaded when the IAB support is disabled
-
-
Constructor Summary
Constructors Constructor Description IABNoOpRepository()
-
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)Getter for user consent string -
-
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)
Getter for user consent string
-
-
-
-