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

Collector

interface Collector : Module

A Collector is used to provide common data points to all Dispatch objects that are tracked through its collect method.

Properties

id
Link copied to clipboard
abstract val id: String

The unique id identifying this Module

version
Link copied to clipboard
abstract val version: String

A string describing the version of this Module.

Functions

collect
Link copied to clipboard
abstract fun collect(dispatchContext: DispatchContext): DataObject

Provides the common data as a DataObject that should be added to every Dispatch object.

onShutdown
Link copied to clipboard
open fun onShutdown()

Called when this Module has been determined to be shutdown. This could happen for the following reasons:

updateConfiguration
Link copied to clipboard
open fun updateConfiguration(configuration: DataObject): Module?

Called whenever updated configuration has been made available for this specific Module.

Generated by Dokka
(c) Tealium 2026