withConsentFlow abstract method

ManagerBuilder withConsentFlow(
  1. ConsentFlow consentFlow
)

Create and attach the Consent flow configuration for initialization.

.withConsentFlow(
   ConsentFlow()
      .withPrivacyPolicy("https://url_to_privacy_policy")
)

By default, the consent flow will be shown to users who are protected by laws. You can prevent us from showing the consent dialog to the user ussing followed lines:

.withConsentFlow(ConsentFlow(isEnabled = false))

Implementation

ManagerBuilder withConsentFlow(ConsentFlow consentFlow);