Bixby Developer Center

Guides

template

optionalvalue required

Text to be passed. You can specify a string and use Expression Language, as demonstrated in the examples below.

Examples

...
template ("This is my text")
...
... 
template("#{value(this.name)}") \\ Uses Expression Language to format a property value
...
...
\\ Invokes a dialog macro using an EL formatting function
\\ The first argument is the name of the macro
\\ The second argument is the parameter to pass
template(#{macro('Date', season.airDate)})

```bxb
...
template ("The gravity is #{value(this)}.") \\ Uses a combination of text and Expression Language
...

Child Keys

speech
optional
The client uses speech as the TTS string that corresponds to template text