KConsentProvider

fun KConsentProvider(initialPreferences: KConsentPreferences? = null, categories: List<KConsentCategory> = KDefaultConsentCategories, onConsentChange: (KConsentPreferences) -> Unit = {}, content: @Composable () -> Unit)(source)

Top-level Provider that manages state and exposes it down the tree.