consentModule

fun consentModule(): Module(source)

Binds the stored consent choices, consent persistence coordination and the UMP remote source. Requires foundation providers.

One source holds the choices: the consent flow reads them through ConsentPreferencesDataSource, and the diagnostics settings write them through UsageAndDiagnosticsPreferencesDataSource.