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

ConsentConfigurationBuilder

class ConsentConfigurationBuilder

A builder that allows setting the configurable properties of the Consent module.

Constructors

ConsentConfigurationBuilder
Link copied to clipboard
constructor()

Functions

addPurpose
Link copied to clipboard
fun addPurpose(purposeId: String, dispatcherIds: Set<String>): ConsentConfigurationBuilder

Adds a purposeId that is required to be accepted in order for each of the given dispatcherIds to process a Dispatch

build
Link copied to clipboard
fun build(): DataObject
setRefireDispatcherIds
Link copied to clipboard
fun setRefireDispatcherIds(refireDispatchers: Set<String>): ConsentConfigurationBuilder

Sets the list of Dispatchers that support events being refired with updated consent purposes.

setTealiumPurposeId
Link copied to clipboard
fun setTealiumPurposeId(tealiumPurposeId: String): ConsentConfigurationBuilder

Sets the purpose used to give consent to the entire SDK

Generated by Dokka
(c) Tealium 2026