KConsentPreferences
data class KConsentPreferences(val selections: Map<KConsentCategoryType, Boolean> = mapOf(
KConsentCategoryType.NECESSARY to true,
KConsentCategoryType.ANALYTICS to false,
KConsentCategoryType.MARKETING to false,
KConsentCategoryType.FUNCTIONAL to false
))(source)
Holds user choices for consent categories.
Constructors
Link copied to clipboard
constructor(selections: Map<KConsentCategoryType, Boolean> = mapOf(
KConsentCategoryType.NECESSARY to true,
KConsentCategoryType.ANALYTICS to false,
KConsentCategoryType.MARKETING to false,
KConsentCategoryType.FUNCTIONAL to false
))