Package io.didomi.sdk.config.app
Class AppConfiguration.Preferences
-
- All Implemented Interfaces:
public final class AppConfiguration.PreferencesConfiguration for the Preferences popup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAppConfiguration.Preferences.Contentpreferences.contentsection of the configuration file
-
Field Summary
Fields Modifier and Type Field Description private final BooleancanCloseWhenConsentIsMissingprivate AppConfiguration.Preferences.Contentcontentprivate BooleandisableButtonsUntilScrollprivate BooleandenyAppliesToLIprivate final BooleanshowWhenConsentIsMissingprivate final List<PurposeCategory>purposeCategoriesprivate final SensitivePersonalInformationsensitivePersonalInformation
-
Constructor Summary
Constructors Constructor Description AppConfiguration.Preferences(Boolean canCloseWhenConsentIsMissing, AppConfiguration.Preferences.Content content, Boolean disableButtonsUntilScroll, Boolean denyAppliesToLI, Boolean showWhenConsentIsMissing, List<PurposeCategory> purposeCategories, SensitivePersonalInformation sensitivePersonalInformation)
-
Method Summary
Modifier and Type Method Description final BooleangetCanCloseWhenConsentIsMissing()Whether to display the close button or not if consent is not fully given final AppConfiguration.Preferences.ContentgetContent()final UnitsetContent(@SerializedName(value = "content") AppConfiguration.Preferences.Content content)final BooleangetDisableButtonsUntilScroll()disableButtonsUntilScroll; final UnitsetDisableButtonsUntilScroll(@SerializedName(value = "disableButtonsUntilScroll") Boolean disableButtonsUntilScroll)disableButtonsUntilScroll; final BooleangetDenyAppliesToLI()Whether "disagree to all" button also applies to legitimate interest final UnitsetDenyAppliesToLI(@SerializedName(value = "denyAppliesToLI") Boolean denyAppliesToLI)Whether "disagree to all" button also applies to legitimate interest final BooleangetShowWhenConsentIsMissing()Whether to display of not the preferences popup on load final List<PurposeCategory>getPurposeCategories()final SensitivePersonalInformationgetSensitivePersonalInformation()-
-
Constructor Detail
-
AppConfiguration.Preferences
AppConfiguration.Preferences(Boolean canCloseWhenConsentIsMissing, AppConfiguration.Preferences.Content content, Boolean disableButtonsUntilScroll, Boolean denyAppliesToLI, Boolean showWhenConsentIsMissing, List<PurposeCategory> purposeCategories, SensitivePersonalInformation sensitivePersonalInformation)
-
-
Method Detail
-
getCanCloseWhenConsentIsMissing
final Boolean getCanCloseWhenConsentIsMissing()
Whether to display the close button or not if consent is not fully given
-
getContent
final AppConfiguration.Preferences.Content getContent()
-
setContent
final Unit setContent(@SerializedName(value = "content") AppConfiguration.Preferences.Content content)
-
getDisableButtonsUntilScroll
final Boolean getDisableButtonsUntilScroll()
disableButtonsUntilScroll;
-
setDisableButtonsUntilScroll
final Unit setDisableButtonsUntilScroll(@SerializedName(value = "disableButtonsUntilScroll") Boolean disableButtonsUntilScroll)
disableButtonsUntilScroll;
-
getDenyAppliesToLI
final Boolean getDenyAppliesToLI()
Whether "disagree to all" button also applies to legitimate interest
-
setDenyAppliesToLI
final Unit setDenyAppliesToLI(@SerializedName(value = "denyAppliesToLI") Boolean denyAppliesToLI)
Whether "disagree to all" button also applies to legitimate interest
-
getShowWhenConsentIsMissing
final Boolean getShowWhenConsentIsMissing()
Whether to display of not the preferences popup on load
-
getPurposeCategories
final List<PurposeCategory> getPurposeCategories()
-
getSensitivePersonalInformation
final SensitivePersonalInformation getSensitivePersonalInformation()
-
-
-
-