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

getString

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

Retrieves a String value at the given key.

The callback will receive the String value or null if the value was either not a String 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