-
- All Implemented Interfaces:
public final class AppConfiguration.Appappsection of the configuration file
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAppConfiguration.App.Vendorsapp.vendorssection of the configuration file
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final StringprivacyPolicyURLprivate final AppConfiguration.App.Vendorsvendorsprivate final BooleangdprAppliesGloballyprivate final BooleangdprAppliesWhenUnknownprivate final List<CustomPurpose>customPurposesprivate final List<String>essentialPurposesprivate final ObjectconsentDurationprivate final ObjectdeniedConsentDurationprivate final StringlogoUrlprivate final BooleanshouldHideDidomiLogoprivate final StringdeploymentId
-
Constructor Summary
Constructors Constructor Description AppConfiguration.App(String name, String privacyPolicyURL, AppConfiguration.App.Vendors vendors, Boolean gdprAppliesGlobally, Boolean gdprAppliesWhenUnknown, List<CustomPurpose> customPurposes, List<String> essentialPurposes, Object consentDuration, Object deniedConsentDuration, String logoUrl, Boolean shouldHideDidomiLogo, String country, String deploymentId)
-
Method Summary
Modifier and Type Method Description final StringgetName()App name (used in texts displayed in the UI) final StringgetPrivacyPolicyURL()Privacy policy URL final AppConfiguration.App.VendorsgetVendors()Vendors configuration final BooleangetGdprAppliesGlobally()Does GDPR apply globally or only to EU-based users? final BooleangetGdprAppliesWhenUnknown()Should we apply GDPR when we have not been able to determine the user country code? final List<CustomPurpose>getCustomPurposes()app.customPurposessection of the configuration filefinal List<String>getEssentialPurposes()app.essentialPurposessection of the configuration filefinal ObjectgetConsentDuration()'app. final ObjectgetDeniedConsentDuration()'app. final StringgetLogoUrl()Method used to get the name of the logo image file (without extension). final BooleangetShouldHideDidomiLogo()Flag used to determine if the Didomi logo should be hidden or not. final StringgetDeploymentId()String that contains the consent notice Deployment ID. -
-
Constructor Detail
-
AppConfiguration.App
AppConfiguration.App(String name, String privacyPolicyURL, AppConfiguration.App.Vendors vendors, Boolean gdprAppliesGlobally, Boolean gdprAppliesWhenUnknown, List<CustomPurpose> customPurposes, List<String> essentialPurposes, Object consentDuration, Object deniedConsentDuration, String logoUrl, Boolean shouldHideDidomiLogo, String country, String deploymentId)
-
-
Method Detail
-
getPrivacyPolicyURL
final String getPrivacyPolicyURL()
Privacy policy URL
-
getVendors
final AppConfiguration.App.Vendors getVendors()
Vendors configuration
-
getGdprAppliesGlobally
final Boolean getGdprAppliesGlobally()
Does GDPR apply globally or only to EU-based users?
-
getGdprAppliesWhenUnknown
final Boolean getGdprAppliesWhenUnknown()
Should we apply GDPR when we have not been able to determine the user country code?
-
getCustomPurposes
final List<CustomPurpose> getCustomPurposes()
app.customPurposessection of the configuration file
-
getEssentialPurposes
final List<String> getEssentialPurposes()
app.essentialPurposessection of the configuration file
-
getConsentDuration
final Object getConsentDuration()
'app.consentDuration' defines the consent duration
-
getDeniedConsentDuration
final Object getDeniedConsentDuration()
'app.deniedConsentDuration' defines the denied consent duration
-
getLogoUrl
final String getLogoUrl()
Method used to get the name of the logo image file (without extension).
-
getShouldHideDidomiLogo
final Boolean getShouldHideDidomiLogo()
Flag used to determine if the Didomi logo should be hidden or not.
-
getDeploymentId
final String getDeploymentId()
String that contains the consent notice Deployment ID. If present it will be sent along with API Events. This value comes from the notice_deployment_id field in the DynamoDB table.
-
-
-
-