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

compile

@JvmStatic
fun compile(template: String): TemplateProcessor.Template

Compiles a reusable, partially processed Template from the given template text. Any substitutions are discovered ahead of time and can be inspected in Template.substitutions.

The returned object follows the same processing rules as the TemplateProcessor.process.

Parameters

template

the String to process for {{ }} substitution blocks

Generated by Dokka
(c) Tealium 2026