-
- All Implemented Interfaces:
public final class PublisherRestrictionsRepositoryThis class manages the publisher restrictions list and their application
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPublisherRestrictionsRepository.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<PublisherRestriction>publisherRestrictions
-
Constructor Summary
Constructors Constructor Description PublisherRestrictionsRepository(List<AppConfiguration.App.Vendors.IABVendors.PublisherRestriction> configRestrictions, IABConfiguration iabConfiguration, Map<String, Purpose> availablePurposes, Set<Vendor> requiredVendors)
-
Method Summary
Modifier and Type Method Description final List<PublisherRestriction>getPublisherRestrictions()Publisher restrictions to apply within the SDK final UnitapplyRestrictions()Apply the valid restrictions to vendors from the vendorRepository -
-
Constructor Detail
-
PublisherRestrictionsRepository
PublisherRestrictionsRepository(List<AppConfiguration.App.Vendors.IABVendors.PublisherRestriction> configRestrictions, IABConfiguration iabConfiguration, Map<String, Purpose> availablePurposes, Set<Vendor> requiredVendors)
-
-
Method Detail
-
getPublisherRestrictions
final List<PublisherRestriction> getPublisherRestrictions()
Publisher restrictions to apply within the SDK
-
applyRestrictions
final Unit applyRestrictions()
Apply the valid restrictions to vendors from the vendorRepository
-
-
-
-