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

putAny

fun putAny(key: String, any: Any?): DataObject.Builder

Unsafe shortcut to put any object into the DataObject. The any will attempt to be converted to a supported type. If no supported type is available, then an UnsupportedDataItemException will be thrown.

Return

The current Builder being operated on

Generated by Dokka
(c) Tealium 2026