-
- All Implemented Interfaces:
public final class AppConfiguration.Noticenoticesection of the configuration file
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAppConfiguration.Notice.Companionpublic enumAppConfiguration.Notice.Positionpublic final classAppConfiguration.Notice.Contentnotice.contentsection of the configuration filepublic final classAppConfiguration.Notice.DenyOptionsnotice.denyOptionsection of the configuration file
-
Field Summary
Fields Modifier and Type Field Description private IntegerdaysBeforeShowingAgainprivate final Booleanenabledprivate final AppConfiguration.Notice.Contentcontentprivate final BooleandenyAppliesToLIprivate final BooleanshowNumberOfAllVendorsprivate final BooleanshowNumberOfIABVendors
-
Constructor Summary
Constructors Constructor Description AppConfiguration.Notice(Integer daysBeforeShowingAgain, Boolean enabled, AppConfiguration.Notice.Content content, String positionAsString, String type, Boolean denyAsPrimary, Boolean denyAsLink, AppConfiguration.Notice.DenyOptions denyOptions, Boolean denyAppliesToLI, Boolean showNumberOfAllVendors, Boolean showNumberOfIABVendors)
-
Method Summary
Modifier and Type Method Description final IntegergetDaysBeforeShowingAgain()final UnitsetDaysBeforeShowingAgain(@SerializedName(value = "daysBeforeShowingAgain") Integer daysBeforeShowingAgain)final BooleangetEnabled()Whether our notice is enabled or not If disabled, apps are expected to implement their own notice final AppConfiguration.Notice.ContentgetContent()Custom texts for the notice final BooleangetDenyAppliesToLI()Whether "deny" button also applies to legitimate interest final BooleangetShowNumberOfAllVendors()Whether count of vendors should be displayed in notice final BooleangetShowNumberOfIABVendors()Whether count of IAB vendors should be specified in notice -
-
Constructor Detail
-
AppConfiguration.Notice
AppConfiguration.Notice(Integer daysBeforeShowingAgain, Boolean enabled, AppConfiguration.Notice.Content content, String positionAsString, String type, Boolean denyAsPrimary, Boolean denyAsLink, AppConfiguration.Notice.DenyOptions denyOptions, Boolean denyAppliesToLI, Boolean showNumberOfAllVendors, Boolean showNumberOfIABVendors)
-
-
Method Detail
-
getDaysBeforeShowingAgain
final Integer getDaysBeforeShowingAgain()
-
setDaysBeforeShowingAgain
final Unit setDaysBeforeShowingAgain(@SerializedName(value = "daysBeforeShowingAgain") Integer daysBeforeShowingAgain)
-
getEnabled
final Boolean getEnabled()
Whether our notice is enabled or not If disabled, apps are expected to implement their own notice
-
getContent
final AppConfiguration.Notice.Content getContent()
Custom texts for the notice
-
getDenyAppliesToLI
final Boolean getDenyAppliesToLI()
Whether "deny" button also applies to legitimate interest
-
getShowNumberOfAllVendors
final Boolean getShowNumberOfAllVendors()
Whether count of vendors should be displayed in notice
-
getShowNumberOfIABVendors
final Boolean getShowNumberOfIABVendors()
Whether count of IAB vendors should be specified in notice
-
-
-
-