Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
core/com.tealium.prism.core.api.misc/TealiumResult/Companion

Companion

object Companion

Functions

failure
Link copied to clipboard
@JvmStatic
fun <T> failure(throwable: Throwable): TealiumResult<T>

Creates a TealiumResult that was a failure with the given throwable as the cause of the failure.

success
Link copied to clipboard
@JvmStatic
fun <T> success(value: T): TealiumResult<T>

Creates a TealiumResult that was successful with the given result value

Generated by Dokka
(c) Tealium 2026