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

DataItemConvertible

fun interface DataItemConvertible

Classes that implement this interface should be able to convert themselves successfully to an instance of DataItem. Typically this can be achieved by using DataItem.convert.

More complex cases can use DataList or DataObject to represent their properties in a more structured way, and can therefore be recreated if necessary from those data types using a reciprocal DataItemConverter

See also

DataItem
DataItemConverter

Inheritors

BarrierScope
DecisionType
DataItem
DataList
DataObject
DataObjectConvertible
JsonPath
LogLevel
Condition
Operator
Rule
DispatchType
TransformationScope

Functions

asDataItem
Link copied to clipboard
abstract 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