Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
contextapi/com.tealium.prism.contextapi

Package-level declarations

Root package and entry point for the Context API module

TODO

Types

ContextApi
Link copied to clipboard
interface ContextApi

The ContextApi module retrieves visitor profile data from Tealium AudienceStream.

ContextApiConfigurationException
Link copied to clipboard
class ContextApiConfigurationException(message: String? = null, cause: Throwable? = null) : TealiumException

Configuration exception for ContextApi module setup errors.

ContextApiRegion
Link copied to clipboard
sealed class ContextApiRegion : DataItemConvertible

Represents the available regions for the ContextApi.

ContextApiSettingsBuilder
Link copied to clipboard
class ContextApiSettingsBuilder : ModuleSettingsBuilder<ContextApiSettingsBuilder>

Builder for ContextApi module settings.

EngineResponse
Link copied to clipboard
data class EngineResponse(val audiences: List<String>? = null, val badges: List<String>? = null, val flags: Map<String, Boolean>? = null, val dates: Map<String, Long>? = null, val metrics: Map<String, Double>? = null, val properties: Map<String, String>? = null)

Represents the response structure from the ContextApi engine.

Properties

CONTEXT_API
Link copied to clipboard
val Modules.Types.CONTEXT_API: String

The Module.id of the ContextApi module.

contextApi
Link copied to clipboard
val Tealium.contextApi: ContextApi

Returns the ContextApi instance for a given Tealium instance

DEFAULT_FACTORY
Link copied to clipboard
@JvmField
val DEFAULT_FACTORY: ModuleFactory

Returns the default ModuleFactory implementation that will not create any instances unless there are settings provided from Local or Remote sources.

Functions

contextApi
Link copied to clipboard
@JvmOverloads
fun Modules.contextApi(enforcedSettings: (ContextApiSettingsBuilder) -> ContextApiSettingsBuilder? = { it }): ModuleFactory

Returns a configured ModuleFactory for enabling the ContextApi Module.

Generated by Dokka
(c) Tealium 2026