Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.modules/DataLayer/getDataObject

getDataObject

abstract fun getDataObject(key: String): Single<TealiumResult<DataObject?>>

Retrieves a DataObject value at the given key.

The callback will receive the DataObject value or null if the value was either not a DataObject or not present in the DataLayer. The result will be received on the Tealium thread.

Return

A Single which can be used to subscribe a block of code to receive the result

Parameters

key

The key to retrieve the value from

Generated by Dokka
(c) Tealium 2026