Package io.didomi.sdk

Class DidomiInitializeParameters

  • All Implemented Interfaces:

    
    public final class DidomiInitializeParameters
    
                        

    Initialization 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).

    • Constructor Detail

      • 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, String localConfigurationPath)
      • DidomiInitializeParameters

        DidomiInitializeParameters(String apiKey)
    • Method Detail