Class DidomiInitializeParameters
-
- All Implemented Interfaces:
public final class DidomiInitializeParametersInitialization parameters for Didomi SDK
apiKey Your API key.
localConfigurationPath Path to client specific config file in the app assets in JSON format. By default, set as didomi_config.json.
remoteConfigurationUrl URL to client specific remote config file in JSON format.
providerId Your provider ID (if any).
disableDidomiRemoteConfig If set to true, disable remote configuration (only local config file will be used).
languageCode Language in which the consent UI should be displayed. By default, the consent UI is displayed in the language configured in the device settings, if language is available and enabled by your configuration. This property allows you to override the default setting and specify a language to display the UI in. String containing the language code e.g.: "es", "fr", etc.
noticeId ID of the notice configuration to load if your are not using app ID targeting (mobile devices).
tvNoticeId ID of the notice configuration to load on TV devices if you are not using app ID targeting.
androidTvEnabled If set to true, when launched on a AndroidTV device, the SDK will display TV notice.
countryCode Override user country code when determining the privacy regulation to apply.
regionCode Override user region code when determining the privacy regulation to apply.
isUnderage If set to true, the SDK will only display the underage notice (false by default).
-
-
Field Summary
Fields Modifier and Type Field Description public final StringapiKeypublic final StringlocalConfigurationPathpublic final StringremoteConfigurationUrlpublic final StringproviderIdpublic final BooleandisableDidomiRemoteConfigpublic final StringlanguageCodepublic final StringnoticeIdpublic final StringtvNoticeIdpublic final BooleanandroidTvEnabledpublic final StringcountryCodepublic final StringregionCodepublic final BooleanisUnderage
-
Constructor Summary
Constructors Constructor Description DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId, String tvNoticeId, Boolean androidTvEnabled, String countryCode, String regionCode, Boolean isUnderage)DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId, String tvNoticeId, Boolean androidTvEnabled, String countryCode, String regionCode)DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId, String tvNoticeId, Boolean androidTvEnabled, String countryCode)DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId, String tvNoticeId, Boolean androidTvEnabled)DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId, String tvNoticeId)DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId)DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode)DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig)DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId)DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl)DidomiInitializeParameters(String apiKey, String localConfigurationPath)DidomiInitializeParameters(String apiKey)
-
Method Summary
Modifier and Type Method Description -
-
Constructor Detail
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId, String tvNoticeId, Boolean androidTvEnabled, String countryCode, String regionCode, Boolean isUnderage)
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId, String tvNoticeId, Boolean androidTvEnabled, String countryCode, String regionCode)
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId, String tvNoticeId, Boolean androidTvEnabled, String countryCode)
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId, String tvNoticeId, Boolean androidTvEnabled)
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId, String tvNoticeId)
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode, String noticeId)
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig, String languageCode)
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId, Boolean disableDidomiRemoteConfig)
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl, String providerId)
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey, String localConfigurationPath, String remoteConfigurationUrl)
-
DidomiInitializeParameters
DidomiInitializeParameters(String apiKey)
-
-
-
-