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

setJsCode

fun setJsCode(jsCode: String): JavaScriptTransformationSettingsBuilder

Sets the JavaScript code to be executed by the transformer to modify the dispatch payload.

Parameters

jsCode

The JavaScript code as a string. This code should be designed to manipulate the payload.

Generated by Dokka
(c) Tealium 2026