getContent
tip
_scriptEngine.startString {
setContent(
"""
import com.m8test.script.core.api.config.ScriptStringConfig
_console.log("message from executeString", (_script.getConfig() as ScriptStringConfig).getContent())
""".trimIndent()
)
setName("startString")
setLanguage {
setName("Kotlin")
setUrl("https://github.com/m8test/language-release/releases/download/kotlin-0.1.0/com.m8test.kotlin-release_0.1.0.apk")
setVersion("0.1.0")
}
}
_console.log("message from main script")
tip