Class AppConfigurationKt
-
- All Implemented Interfaces:
public final class AppConfigurationKt
-
-
Method Summary
Modifier and Type Method Description final static StringcountryCode(AppConfiguration.App $self)Get computed country code final static LongconsentDuration(AppConfiguration.App $self)Get the consent duration final static LongdeniedConsentDuration(AppConfiguration.App $self)Get the denied consent duration final static List<String>essentialPurposes(AppConfiguration.App $self)Get filtered essential purpose list final static Set<InternalVendor>custom(AppConfiguration.App.Vendors $self)Get augmented custom vendor final static BooleanisTcfEnabled(AppConfiguration $self)Check if IAB Vendors are enabled and regulation is GDPR final static StringtcfVersion(AppConfiguration $self)Get the TCF framework version as major / minor version final static AppConfiguration.App.Vendors.IABVendors.PublisherRestriction.Typetype(AppConfiguration.App.Vendors.IABVendors.PublisherRestriction $self)Get PublisherRestriction type final static AppConfiguration.Theme.ButtonFormatdenyButton(AppConfiguration.Notice $self)Get deny button state return state as AppConfiguration.Theme.ButtonFormat final static BooleandenyCross(AppConfiguration.Notice $self)Get deny cross visibility return true if visible final static BooleandenyLink(AppConfiguration.Notice $self)Get deny link visibility return true if visible final static AppConfiguration.Notice.Positionposition(AppConfiguration.Notice $self)Get notice position final static AppConfiguration.Theme.ButtonFormatbutton(AppConfiguration.Notice.DenyOptions $self)final static StringtextOnColor(AppConfiguration.Theme $self)Get color to use when writing on a background that uses the accent color final static DateignoreConsentBefore(AppConfiguration.User $self)Get the date object invalidating the consent final static IntegercmpId(AppConfiguration $self)Get the CMP ID to encode in consent string final static Regulationregulation(AppConfiguration $self)Compute Regulation from configuration -
-
Method Detail
-
countryCode
final static String countryCode(AppConfiguration.App $self)
Get computed country code
-
consentDuration
final static Long consentDuration(AppConfiguration.App $self)
Get the consent duration
-
deniedConsentDuration
final static Long deniedConsentDuration(AppConfiguration.App $self)
Get the denied consent duration
-
essentialPurposes
final static List<String> essentialPurposes(AppConfiguration.App $self)
Get filtered essential purpose list
-
custom
final static Set<InternalVendor> custom(AppConfiguration.App.Vendors $self)
Get augmented custom vendor
-
isTcfEnabled
final static Boolean isTcfEnabled(AppConfiguration $self)
Check if IAB Vendors are enabled and regulation is GDPR
-
tcfVersion
final static String tcfVersion(AppConfiguration $self)
Get the TCF framework version as major / minor version
-
type
final static AppConfiguration.App.Vendors.IABVendors.PublisherRestriction.Type type(AppConfiguration.App.Vendors.IABVendors.PublisherRestriction $self)
Get PublisherRestriction type
-
denyButton
final static AppConfiguration.Theme.ButtonFormat denyButton(AppConfiguration.Notice $self)
Get deny button state return state as AppConfiguration.Theme.ButtonFormat
-
denyCross
final static Boolean denyCross(AppConfiguration.Notice $self)
Get deny cross visibility return true if visible
-
denyLink
final static Boolean denyLink(AppConfiguration.Notice $self)
Get deny link visibility return true if visible
-
position
final static AppConfiguration.Notice.Position position(AppConfiguration.Notice $self)
Get notice position
-
button
final static AppConfiguration.Theme.ButtonFormat button(AppConfiguration.Notice.DenyOptions $self)
-
textOnColor
final static String textOnColor(AppConfiguration.Theme $self)
Get color to use when writing on a background that uses the accent color
-
ignoreConsentBefore
final static Date ignoreConsentBefore(AppConfiguration.User $self)
Get the date object invalidating the consent
-
cmpId
final static Integer cmpId(AppConfiguration $self)
Get the CMP ID to encode in consent string
-
regulation
final static Regulation regulation(AppConfiguration $self)
Compute Regulation from configuration
-
-
-
-