Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
core/com.tealium.prism.core.api.data/ValueSource

ValueSource

sealed class ValueSource : DataItemConvertible

Represents a source of data used in a transformation operation, which can be either a reference to existing data or a constant value.

Inheritors

Reference
Constant

Types

Constant
Link copied to clipboard
data class Constant(val value: ValueContainer) : ValueSource

Represents a constant value to be used directly

Converter
Link copied to clipboard
object Converter : DataItemConverter<ValueSource>
Reference
Link copied to clipboard
data class Reference(val reference: ReferenceContainer) : ValueSource

A reference to existing data in the payload

Functions

asDataItem
Link copied to clipboard
open override fun asDataItem(): DataItem

Should return an instance of a DataItem that represents all required properties of the implementing class, such that it could be:

Generated by Dokka
(c) Tealium 2026