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

getBoolean

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

Retrieves a Boolean value at the given key.

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