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

EngineResponse

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 MomentsApi engine.

Field names match the MomentsApi documentation:

  • flags: Boolean attributes

  • metrics: Number attributes

  • properties: String attributes

Constructors

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

Properties

audiences
Link copied to clipboard
val audiences: List<String>? = null
badges
Link copied to clipboard
val badges: List<String>? = null
dates
Link copied to clipboard
val dates: Map<String, Long>? = null
flags
Link copied to clipboard
val flags: Map<String, Boolean>? = null
metrics
Link copied to clipboard
val metrics: Map<String, Double>? = null
properties
Link copied to clipboard
val properties: Map<String, String>? = null
Generated by Dokka
(c) Tealium 2026