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

getDouble

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

Retrieves a Double value at the given key.

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