Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.consent/ConsentDecision

ConsentDecision

data class ConsentDecision(val decisionType: ConsentDecision.DecisionType, val purposes: Set<String>)

Describes a decision by the user as to their chosen consent preferences. This is expected to be provided by a Consent Management Provider.

Parameters

decisionType

What type of decision this is.

purposes

The purposes that have been consented to

Constructors

ConsentDecision
Link copied to clipboard
constructor(decisionType: ConsentDecision.DecisionType, purposes: Set<String>)

Types

DecisionType
Link copied to clipboard
enum DecisionType : Enum<ConsentDecision.DecisionType> , DataItemConvertible

The type of consent decision that has been made.

Properties

decisionType
Link copied to clipboard
val decisionType: ConsentDecision.DecisionType
purposes
Link copied to clipboard
val purposes: Set<String>
Generated by Dokka
(c) Tealium 2026